If type is .loading, its background parent view is still clickable

How to prevent it and make it modal? At least have it dim the background. or is this a feature request since it is not  available?

Hey @chitgoks ,
You can always use the .disable view modifier on the parent view and put the binding variable that loading in the parameter.
VStack{
   /// some view with alert toast view modifier...
}
.disable(isLoading)

Thanks. still a newbie. I didnt know about the .disable modifier.

@elai950 the .disable works. my other question is how to apply a dimmed background from this
.toast(isPresenting: $showProgressToast) {
            AlertToast(type: .loading, subTitle: Optional(StringTool.localize("downloading_tide_details")))
        }

i tried it like this
ZStack {
                AlertToast(type: .loading, subTitle: Optional("downloading...")))
            }
            .frame(maxWidth: .infinity, maxHeight: .infinity)
            .background(Color.primary.opacity(0.2))

But it says Cannot convert value of type 'some View' to closure result type 'AlertToast'
Thoughts?

@elai950 followup. how can i add a full screen blurred background?
.toast(isPresenting: $showProgressToast) {
            VStack {
                AlertToast(type: .loading, subTitle: Optional(StringTool.localize("downloading_city_weather")))
            }
            .frame(maxWidth: .infinity, minHeight: .infinity)
            .background(.black.opacity(0.5))
        }

This shows an error. Cannot convert value of type 'some View' to closure result type 'AlertToast'


Style tweak: Give headers more breathing room on home page

Makes it look nicer imo. Feel free to close if you disagree :)

I like this change, but I will let others comment too.

👍  Thanks @mindeavor. New version published but it might take a second to show up.


RPCS3 plugin not tracking time on GOG v<IP_ADDRESS>

I ran the RPCS3 game from GOG 2 client as said from previous issue posted here.
It did not also record achievement.
Logs
GalaxyClient.txt
plugin-vision-80F9D16B-5D72-4B95-9D46-2A1EF417C1FC.txt
config.py.txt

There seems to be an issue with game time recording for sure:
2019-12-11 18:05:53,316 - root - ERROR - Unexpected exception raised in plugin tick
Traceback (most recent call last):
  File "C:\Users\engr\AppData\Local\GOG.com\Galaxy\plugins\installed\vision_80F9D16B-5D72-4B95-9D46-2A1EF417C1FC\galaxy\api\plugin.py", line 201, in _pass_control
    self.tick()
  File "C:\Users\engr\AppData\Local\GOG.com\Galaxy\plugins\installed\vision_80F9D16B-5D72-4B95-9D46-2A1EF417C1FC\plugin.py", line 167, in tick
    int(time.time()))
  File "C:\Users\engr\AppData\Local\GOG.com\Galaxy\plugins\installed\vision_80F9D16B-5D72-4B95-9D46-2A1EF417C1FC\plugin.py", line 223, in update_json_game_time
    game_times_json = json.load(game_times_file)
  File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\__init__.py", line 296, in load
  File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\__init__.py", line 348, in loads
  File "D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\decoder.py", line 337, in decode
  File "**D:\obj\Windows-Release\37win32_Release\msi_python\zip_win32\decoder.py**", line 355, in raw_decode
json.decoder.JSONDecodeError: Expecting value: line 2 column 18 (char 19)

But I'm not sure what that indicates. Can you tell me about the nature of your python installation? Is it on a separate volume (e.g. D:) than Windows (C:)?
However, it seems achievements are being recorded:
2019-12-11 16:29:51,514 - root - INFO - Sending notification: method=game_achievements_import_success, params={'game_id': 'NPUA80637', 'unlocked_achievements': [Achievement(unlock_time=0, achievement_id=None, achievement_name='Swing Batter'), Achievement(unlock_time=0, achievement_id=None, achievement_name='Two Girls One Spartan'), Achievement(unlock_time=0, achievement_id=None, achievement_name='Man Overboard'), Achievement(unlock_time=0, achievement_id=None, achievement_name='Persian History X'), Achievement(unlock_time=0, achievement_id=None, achievement_name='All Beam Walks Completed')]}

Can you tell me what game and achievement you're having trouble with? That might help me narrow down where in your logs it could be.

I do not remember installing any python on my computer. I just downloaded your plugin and I also tried to trace "D:\obj.." and I do not see any "obj" folder on my drive D:. Also, this will help for sure, I am not a coding guy.
On recording of achievements on GOG 2.. I opened the library and it seems the achievements does not display especially when I clicked the "My Progress". It does not show any game time and achievements.. so maybe it is another issue.


azure-mgmt-authorization 0.30.0rc6

No content difference, but doc + licence update.
Possible since the Swagger has been fixed: https://github.com/Azure/azure-rest-api-specs/pull/542

Coverage remained the same at 55.852% when pulling 48460d38147038377fe6c5dd00f4534357b7f8e3 on lmazuel:new_authorization into 696f6efc128ceb6af0b9acfbde56013c4aa8e451 on Azure:master.

Coverage remained the same at 55.852% when pulling 48460d38147038377fe6c5dd00f4534357b7f8e3 on lmazuel:new_authorization into 696f6efc128ceb6af0b9acfbde56013c4aa8e451 on Azure:master.

Coverage remained the same at 55.852% when pulling 48460d38147038377fe6c5dd00f4534357b7f8e3 on lmazuel:new_authorization into 696f6efc128ceb6af0b9acfbde56013c4aa8e451 on Azure:master.

Coverage remained the same at 55.852% when pulling 48460d38147038377fe6c5dd00f4534357b7f8e3 on lmazuel:new_authorization into 696f6efc128ceb6af0b9acfbde56013c4aa8e451 on Azure:master.


Regenerate Media with latest Autorest

Codecov Report

Merging #1262 into master will decrease coverage by <.01%.
The diff coverage is 92.85%.

@@            Coverage Diff             @@
##           master    #1262      +/-   ##
==========================================
- Coverage   56.36%   56.35%   -0.01%
==========================================
  Files        2565     2565
  Lines       68330    68324       -6
==========================================
- Hits        38512    38507       -5
+ Misses      29818    29817       -1

Impacted Files
Coverage Δ

azure-mgmt-media/azure/mgmt/media/version.py
100% <100%> (ø)
:arrow_up:

...ure/mgmt/media/media_services_management_client.py
100% <100%> (+2.7%)
:arrow_up:

.../mgmt/media/operations/media_service_operations.py
88.57% <90%> (+0.06%)
:arrow_up:

Continue to review full report at Codecov.

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


Add PHP 5.6 and PHP 7 to Travis builds

Builds on PHP 7 are allowed to fail since that version is not stable yet.

Duplicate of pull request https://github.com/kriswallsmith/spork/pull/34. Still would be nice to have one of these being accepted.


Message Service support for Rust

https://github.com/emoon/ProDBG/blob/master/api/include/pd_host.h#L14

Implemented


Align eval output with render

Align the output of fn eval with fn render.
Example output:
$ kpt fn eval --image gcr.io/kpt-fn/set-namespace:v0.1 -- namespace=staging
[RUNNING] "gcr.io/kpt-fn/set-namespace:v0.1"
[PASS] "gcr.io/kpt-fn/set-namespace:v0.1"

$ kpt fn eval --image gcr.io/kpt-fn/set-namespace:v0.1
[RUNNING] "gcr.io/kpt-fn/set-namespace:v0.1"
[FAIL] "gcr.io/kpt-fn/set-namespace:v0.1"
  Stderr:
    "failed to configure function: input namespace cannot be empty"
  Exit Code: 1

$ kpt fn source | kpt fn eval - --image gcr.io/kpt-fn/set-namespace:v0.1 -- namespace=staging
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apps/v1
kind: Deployment
metadata:
...

$ kpt fn eval --image gcr.io/kpt-fn/set-namespace:v0.1 --dry-run -- namespace=staging
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: apps/v1
kind: Deployment
metadata:
...

$ kpt fn eval --image gcr.io/kpt-fn/kubeval:v0.1
[RUNNING] "gcr.io/kpt-fn/kubeval:v0.1"
[FAIL] "gcr.io/kpt-fn/kubeval:v0.1"
  Stderr:
    "[ERROR] Failed to parse raw kubeval output:"
    "Unexpected token E in JSON at position 0"
    ""
    "ERR  - stdin: Failed initializing schema file:///tmp/master-standalone/deploymen-apps-v1.json: open /tmp/master-standalone/deploymen-apps-v1.json: no such file or directory"
    ...(2 line(s) truncated)
  Exit Code: 1

$ kpt fn eval --image gcr.io/kpt-fn/kubeval:v0.1 --truncate-output=false
[RUNNING] "gcr.io/kpt-fn/kubeval:v0.1"
[FAIL] "gcr.io/kpt-fn/kubeval:v0.1"
  Stderr:
    "[ERROR] Failed to parse raw kubeval output:"
    "Unexpected token E in JSON at position 0"
    ""
    "ERR  - stdin: Failed initializing schema file:///tmp/master-standalone/deploymen-apps-v1.json: open /tmp/master-standalone/deploymen-apps-v1.json: no such file or directory"
    " in object 'apps/v1/Deploymen//my-nginx' in file deployment.yaml"
    ""
  Exit Code: 1

close #1861

Align the output of fn eval with fn render.
Example output:
$ kpt fn eval --image gcr.io/kpt-fn/set-namespace:v0.1 -- namespace=staging
[RUNNING] "gcr.io/kpt-fn/set-namespace:v0.1"
[PASS] "gcr.io/kpt-fn/set-namespace:v0.1"

$ kpt fn eval --image gcr.io/kpt-fn/set-namespace:v0.1
[RUNNING] "gcr.io/kpt-fn/set-namespace:v0.1"
[FAIL] "gcr.io/kpt-fn/set-namespace:v0.1"
  Stderr:
    "failed to configure function: input namespace cannot be empty"
  Exit Code: 1

$ kpt fn source | kpt fn eval - --image gcr.io/kpt-fn/set-namespace:v0.1 -- namespace=staging

Why does this show the resources instead of the PASS/FAIL? Per discussion, we need a document
on how render and fn will work when piped.

Copyright 2021 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
apiVersion: apps/v1
kind: Deployment
metadata:
...

$ kpt fn eval --image gcr.io/kpt-fn/set-namespace:v0.1 --dry-run -- namespace=staging
Copyright 2021 Google LLC

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
apiVersion: apps/v1
kind: Deployment
metadata:
...

$ kpt fn eval --image gcr.io/kpt-fn/kubeval:v0.1
[RUNNING] "gcr.io/kpt-fn/kubeval:v0.1"
[FAIL] "gcr.io/kpt-fn/kubeval:v0.1"
Stderr:
"[ERROR] Failed to parse raw kubeval output:"
"Unexpected token E in JSON at position 0"
""
"ERR  - stdin: Failed initializing schema file:///tmp/master-standalone/deploymen-apps-v1.json: open /tmp/master-standalone/deploymen-apps-v1.json: no such file or directory"
...(2 line(s) truncated)
Exit Code: 1

$ kpt fn eval --image gcr.io/kpt-fn/kubeval:v0.1 --truncate-output=false
[RUNNING] "gcr.io/kpt-fn/kubeval:v0.1"
[FAIL] "gcr.io/kpt-fn/kubeval:v0.1"
Stderr:
"[ERROR] Failed to parse raw kubeval output:"
"Unexpected token E in JSON at position 0"
""
"ERR  - stdin: Failed initializing schema file:///tmp/master-standalone/deploymen-apps-v1.json: open /tmp/master-standalone/deploymen-apps-v1.json: no such file or directory"
" in object 'apps/v1/Deploymen//my-nginx' in file deployment.yaml"
""
Exit Code: 1

close #1861

Why does this show the resources instead of the PASS/FAIL? Per discussion, we need a document
on how render and fn will work when piped.

The output destination here is controlled by - and it's added in #1710. So actually fn eval doesn't know is it in a pipeline but read from stdin and write to stdout if there is an argument -.

Why does this show the resources instead of the PASS/FAIL? Per discussion, we need a document
on how render and fn will work when piped.

The output destination here is controlled by - and it's added in #1710. So actually fn eval doesn't know is it in a pipeline but read from stdin and write to stdout if there is an argument -.

- controls reading from stdin, not necessarily the output behavior.

Why does this show the resources instead of the PASS/FAIL? Per discussion, we need a document
on how render and fn will work when piped.

The output destination here is controlled by - and it's added in #1710. So actually fn eval doesn't know is it in a pipeline but read from stdin and write to stdout if there is an argument -.

- controls reading from stdin, not necessarily the output behavior.

Makes sense, but controlling both reading from stdin and writing to stdout keeps consistent with fn run. fn run will read from stdin and write to stdout if no directory specified.

Per discussion, we need a document
on how render and fn will work when piped.

We need to prioritized this, filed an issue https://github.com/GoogleContainerTools/kpt/issues/1915, will start working on hashing these details out otherwise it will be hard to make progress on these PRs.

To unblock this, we can address the piping behavior. For now, this output lgtm:
$ kpt fn eval --image gcr.io/kpt-fn/set-namespace:v0.1 -- namespace=staging
[RUNNING] "gcr.io/kpt-fn/set-namespace:v0.1"
[PASS] "gcr.io/kpt-fn/set-namespace:v0.1"


Configure a Pod to Use a PersistentVolume for Storage

When I create the pod with pv and pvc as guided by the instructions, the actual directory it mounts on the host node is not in /mnt/data but rather in the /host/mnt/data location.
https://kubernetes.io/docs/tasks/configure-pod-container/configure-persistent-volume-storage/
As per instructions  created /mnt/data folder and then index.html file inside. Then noticed that nginx on the pod cannot find this file. Then created arbitrary file from the pod and observed the same file under: /host/mnt/data folder on the node.
Version: Client Version: v1.29.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.0
Note: using killercoda virtual machine, have controlplane and node01 nodes as setup for CKAD certification exam.

/language en
/sig storage

@ramil600  provided link is having the information and following that information in each step  result in the output as expected. As I see , There is no any issue in the information provided in the doc.

From here you can find the output It working fine for me on minikube.

@ramil600  It may trigger error sometimes because of misconfiguration of PV and PVC. You can Verify that the PV and PVC definitions specify the correct mount path (/mnt/data) and that they match each other properly.  in that case it will not trigger the error.

I don't think that this is a documentation issue, so I'm closing this. @ramil600 if you're running in the Killercoda playground, make sure that you're sshing to the worker node to create the index file. I think the killercoda playground puts you in the controlplane by default

/close


infinite MM tutorial

This tutorial explains the use of the CRP in Turing.

Ready to be reviewed.
@cpfiffer: should I add links to the figures and animations? What is the approach for this now?

I have only been adding links to animations, since they tend to get lost in translation when the notebook is converted to markdown. If it's just a regular image or plot, you can let them plot as normal.

Actually, I'll experiment and see if I can't get the gifs in there without linking anything.

Awesome, let me know if I will need to change something regarding the image. I'm also happy for any kind of feedback regarding the content of the tutorial.

I really like it. I've made a couple minor changes on grammar and stuff, and tidied up the latex so it works better on the site. You can see it in the commit I pushed. I'm not quite done yet formatting the math, because there's some funkiness with the \begin{align} stuff that needs work in the weaving script. I'll get to it a bit more tomorrow.

I had to remove the ? DirichletProcess line at the end of the notebook since Weave throws all kinds of errors with that. I pasted in the docstring from the source code instead.

Thanks!

Cool, looks good to me! Fantastic tutorial. I'll let you look over my changes if you like before I merge this over.


Analyze 15N dataset

data associated with 15NLabeling_MG experiment.

This analysis should be done using both the hyperfrag model and the plain model.
Given the current state of the code, this means that the executable should be built out of issue-11.


exposed_derived_secrets dramatically increases hash_tree_root time

This issue is for visibility purposes. It is not a problem per se as it can be handled with intelligent caches, but its impact on test running-times is so large that I feel it is worth noting. (Also the caches in the tests are not this intelligent yet.)
In phase 1, an exposed_derived_secrets vector is added to the BeaconState:
'exposed_derived_secrets': [['uint64'], EARLY_DERIVED_SECRET_PENALTY_MAX_FUTURE_EPOCHS], where EARLY_DERIVED_SECRET_PENALTY_MAX_FUTURE_EPOCHS = 2**14.
Basically, this list is huge and pushes tests from ~55 second run time to ~300 seconds. (This can be partially mitigated by reducing 2**14 to 2**12 in the constant_presets, but exposed_derived_secrets still takes long to be list-comprehended.)

Huh. Is this dominated by the hashing time? Would this be fixed by reintroducing the hash cache?

Nope, this is with a hash cache implemented. The majority of the time is spent doing list comprehension in hash_tree_root.

At the danger of introducing a kitchen sink into SSZ, I wonder if it is feasible to have a dict structure at reasonable cost/complexity... that would remove the need for a very long static list to store these values.

At the danger of introducing a kitchen sink into SSZ, I wonder if it is feasible to have a dict structure at reasonable cost/complexity... that would remove the need for a very long static list to store these values.

Hmm, interesting idea. While this would be the perfect use case and I think we could benefit in other places too, the added complexity may not be worth it.
Adding dicts also means we need to add the cleanup/pruning logic which is currently handled elegantly by circular arrays.
This may be a time to revert to design goal 0:

to minimize complexity, even at the cost of some losses in efficiency

Alternatively, we could also just rename SSZ to Complex SerialiZe.

to minimize complexity, even at the cost of some losses in efficiency
I agree. I actually don't know what the most reasonable dict structure in a Merkle tree looks like, was just wondering if someone would contribute it. But yes, the current construction has a very elegent cleanup logic and losing it is probably not worth it.

I am closing this issue as I believe it has served its purpose of bringing awareness to this problem.


Fix: onPathsChange() callback no longer fires on iOS after update to 0.7.0

Fixes #95
I have found the source of the problem; addPath() and more specifically the onLayout() callback in the render function of SketchCanvas.js is no longer triggered except at launch, where no paths exist. This is probably due to some of the optimizations done in 0.7.0, but I actually couldn't deduce the exact cause--the rendering code on iOS has grown outside of my expertise!
The result is that addPath:strokeColor:strokeWidth:points: is no longer being called. As a workaround (but also maybe a better fix), I have added a call to the onPathsChange() event when endPath() is triggered.
Additional suggestion @terrylinla - we should probably pull out the entire addPath:strokeColor:strokeWidth:points: function, as well as its up & downstream stuff. I just didn't want to do this because I am a little out of date on the repo in general

Followed the procedure to merge the original PR to the branch. Closing this PR.


Downloaded video is split and out of order

When trying to download one of the example videos python3.8 twitter-video-dl.py https://twitter.com/crabcrawler1/status/1460400562176987145 output_file_name, the output comes in four parts, and they are not in the correct order of the original video.

@raphsilva Should be fixed now.
Took a fair bit of refactoring.  My previous method just downloaded all associated videos because there are many ways for a video to be posted.  I think this will work correctly now.  It at least works in all cases in the test_videos file.


Typo: Docker requires one argument

(n/t)

Thanks!

Thank you! Following this guide worked beautifully. To use Automatic HTTPS I edited the caddy download link in the Dockerfile to include my DNS provider (Cloudflare) since Caddy doesn't compile that in by default. I added the environment variables described in https://caddyserver.com/docs/automatic-https with the ENV directive in the Dockerfile. Great work!

That's great to know! I might extend to guide to mention that. Thank you.

I can also report that changing the version of image: mattermost/mattermost-prod-app:3 and image: mattermost/mattermost-prod-db:3 to 3.5.1 (currently latest stable) works great.


Basic IDE integration for Swift projects

Investigate options for XCode integration for Swift and C++ projects.

Closing this as delivered.


[GEODE-2381] make complex enums more readable

Change the style XML file to insert a line break after each constant
of an enum.

There may be a better way to do this and allow simple enums to be all on
one line, but this looks better than what we have to me.

@jaredjstewart you know more about this than I do.
Do you know why we decided to go with the Eclipse formatter rather than Google's java formatter?

I don't really understand what the 48 means, but it's used elsewhere and looks something like "put everything on its own line".

+1, this looks much better!

PS: I'm all for making more improvements to our format (including longer lines) and either making the eclipse+intellij formatters consistent (they produce different results presently) or moving to Google's java formatter if it's better and used in either IDE in some way.

I squashed your 2 commits into 1 and then realized you did that on purpose. I'm going to leave it since I already pushed it.

@kirklund no problem, the change is what counts. 👍


my side of the story

Hi! Thanks for your submission.
Unfortunately it seems that there were changes in the main that conflict with yours.
Could you please perform a merge as described in Tutorial 3 slides 90-103 and integrate those changes?
Start with synchronizing your local main with my upstream main as described in slide 98.
We do not want to lose any existing content, so you should keep what others have written and add yours.
You're free to reorganize the content blocks so that it still makes a story, but please do minimal changes
to the content of what others have written to integrate them with yours.
The merges will be approved according to arrival time starting from October 23th, 22:00,
so expect that you need to merge several times after that time.
If I do not approve the changes you will be asked to update the content.

Hi @TheMood13
I think your merge worked and the changes were fine, but in a collaborative environment things change very quickly. Some of your colleagues where faster and now there are new conflicts due to changes you colleagues made (you can see the closed pull request timeline to verify my claims).
This is the main reason for which I allocate some time for each student, so that they have time to merge before other changes come to be. Unfortunately if it is many students we don't always manage to be fair.
My suggestion is that you do another merge, I liked your lines, I would recommend that you find a spot in the new story to add it again.
Remember to update your local main with my upstream main to get the latest changes!! What you did was just to remove the lines I requested, but when doing a merge you need to remember slide 94 (always pull upstream first then merge to development branch)

Thanks for your contribution! Task 2 completed! See canvas for results


ModuleNotFoundError: No module named 'account_league'

import account_league
ModuleNotFoundError: No module named 'account_league'
Can you help me?
Thanks

import account_league
ModuleNotFoundError: No module named 'account_league'
Can you help me?
Thanks

Hi, yes you simply need to make a file account_league.py in the same folder and add these two string variables:
login
password
which are used on line 329 and 332.
keyboard_write(account_league.login)
keyboard_write(account_league.password)
but that's only if you want it to be typing your login and password.

import account_league
ModuleNotFoundError: No module named 'account_league'
Can you help me?
Thanks

Hi, yes you simply need to make a file account_league.py in the same folder and add these two string variables:
login
password
which are used on line 329 and 332.
keyboard_write(account_league.login)
keyboard_write(account_league.password)
but that's only if you want it to be typing your login and password.


Close RESULT

Hi,
on pages with small content area, the code is not really visible. You have to scroll sideways on order to see something. It would be nice to have the possibility to hide the result completely.
Greets
Kristof

hey @kristofzerbe thank u for your feedback. Maybe we could allow people to preconfigure this behavior in the generator? I would like to avoid adding more UI to the embed by default. What do you think about that?
Cheers
André

Hi @andrew-secret ... yes, something like 'AlwaysShowResultTab'. because it is shown beneath 568 pixels. An alternative would be to use the complete NAV for the buttons (and a brand icon link if you have one) in all sizes and having a FOOTER with a link to the INDIEPEN project site like "This code is presented to you via Indiepen", because on small sizes there is no hint to the project.
Greets
Kristof


Tell the user that Hyperv could cause VBox to fail

Sometimes we can't check if VTX is disabled but we should fail anyway if hyperv is installed because we know it'll fail.
Signed-off-by: David Gageot<EMAIL_ADDRESS>

LGTM


[BUG] Wrong z-index of SfQuantitySelector

@filrak removed in https://github.com/DivanteLtd/storefront-ui/pull/638 although IMO I think this issue is more #632 related - after merging this one all those z-index issues shouldn't appear.


bugfix kube exists method

The exists method would check if the results were not a single
row and assume exists is false. For pod and service that could
be correct, but for an replicationController that is rarely the
case.
Removed the check to avoid false assumptions.

Worked as expected, thank you!


Adjust tags's order in Schema

This PR moves the tags property to the last of a schema.

It solves the issue #54


temporal trends functionality for CohortSymmetry

count of subject_Id increase or decrease, overtime year_part(cohort_definition_start_date).
parameter for slope.
option = increasing/decreasing/uniform over time.

It would be nice to have a function called BespokeCohort() has the functionality to create these more complex cohorts that have trends etc and return as a list of Tibble. Then, that could feed into mockCdmFromTables() to create the cdm for them. @edward-burn @catalamarti


Can't upload a video which goes over 70 MB.

Describe the bug
I can't upload a video that which goes over 70 MB. I can upload only small videos that are less then 30 MB.
Steps to reproduce
I can't upload a video that which goes over 70 MB. I can upload only small videos that are less then 30 MB.
Screenshots or additional context
No response

The maximum size of resource is now 32MB.
https://github.com/usememos/memos/blob/main/server/resource.go#L20

thanks!


Add statement::finalize method and use it

Fixes #153

Codecov Report

Merging #198 into master will decrease coverage by 1.35%.
The diff coverage is 100%.

@@            Coverage Diff            @@
##           master    #198      +/-   ##
=========================================
- Coverage   97.65%   96.3%   -1.36%
=========================================
  Files         145     145
  Lines        2989    3003      +14
=========================================
- Hits         2919    2892      -27
- Misses         70     111      +41

Impacted Files
Coverage Δ

cpp/cpp_odbc/Library/cpp_odbc/statement.h
100% <ø> (ø)
:arrow_up:

cpp/turbodbc/Library/turbodbc/cursor.h
100% <ø> (ø)
:arrow_up:

cpp/turbodbc/Library/src/command.cpp
100% <100%> (ø)
:arrow_up:

...odbc_python/Library/src/python_bindings/cursor.cpp
100% <100%> (ø)
:arrow_up:

cpp/cpp_odbc/Library/src/statement.cpp
100% <100%> (ø)
:arrow_up:

python/turbodbc/cursor.py
98.97% <100%> (ø)
:arrow_up:

cpp/cpp_odbc/Library/src/level3/raii_statement.cpp
100% <100%> (ø)
:arrow_up:

cpp/turbodbc/Library/src/cursor.cpp
87.5% <100%> (+1.78%)
:arrow_up:

...urbodbc_numpy/Library/src/set_numpy_parameters.cpp
78.44% <0%> (-20.36%)
:arrow_down:

...urbodbc_arrow/Library/src/set_arrow_parameters.cpp
91.91% <0%> (-3.54%)
:arrow_down:

Continue to review full report at Codecov.

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

@byjott Can you please add a changelog entry?

I am missing an integration test that checks the high-level bug is fixed

I am missing an integration test that checks the high-level bug is fixed

Please advice where that should go and what exactly it tests. I cannot test the original bug directly without exasol. One probably could mock the "finalize" method at a certain level (either turbodbc::command or cpp_odbc::statement or the level2 api's close statement handle) to raise an error and check that the intended use of turbodbc::cursor (i.e. a call to turbodbc::cursor::reset) actually throws that error. However, the details of setting up this test is beyond what simple for me.
Note that I did manually test with exasol that the bug is not longer rpesent.

I am missing an integration test that checks the high-level bug is fixed

Please see the commit I just added: 71375ce
Note that I could test the tests only with postgres and mysql, so the syntax of the added test fixtures for exasol and mssql where an educated guess, but not tested yet.

thanks @byjott for your contribution, and sorry for the long wait!


make env --download-reference inserting into non existing table?

When setting TEST_ENVIRONMENT = FALSE the command qiita-env make --no-load-ontologies --download-reference fails with errors
(qiita) qiita@vbox-stefan:~$ qiita-env make --no-load-ontologies --download-reference
Creating database
Inserting database metadata
Building SQL layout
	Applying patch 0.sql...
	Applying patch 1.sql...
	Applying patch 2.sql...
	Applying patch 3.sql...
	Applying patch 4.sql...
	Applying patch 5.sql...
	Applying patch 6.sql...
		Applying python patch 6.py...
	Applying patch 7.sql...
		Applying python patch 7.py...
	Applying patch 8.sql...
	Applying patch 9.sql...
	Applying patch 10.sql...
	Applying patch 11.sql...
	Applying patch 12.sql...
	Applying patch 13.sql...
	Applying patch 14.sql...
		Applying python patch 14.py...
	Applying patch 15.sql...
		Applying python patch 15.py...
	Applying patch 16.sql...
	Applying patch 17.sql...
	Applying patch 18.sql...
	Applying patch 19.sql...
	Applying patch 20.sql...
	Applying patch 21.sql...
	Applying patch 22.sql...
	Applying patch 23.sql...
		Applying python patch 23.py...
	Applying patch 24.sql...
	Applying patch 25.sql...
		Applying python patch 25.py...
	Applying patch 26.sql...
	Applying patch 27.sql...
	Applying patch 28.sql...
	Applying patch 29.sql...
	Applying patch 30.sql...
		Applying python patch 30.py...
	Applying patch 31.sql...
		Applying python patch 31.py...
	Applying patch 32.sql...
	Applying patch 33.sql...
	Applying patch 34.sql...
		Applying python patch 34.py...
	Applying patch 35.sql...
	Applying patch 36.sql...
		Applying python patch 36.py...
	Applying patch 37.sql...
	Applying patch 38.sql...
		Applying python patch 38.py...
	Applying patch 39.sql...
	Applying patch 40.sql...
	Applying patch 41.sql...
	Applying patch 42.sql...
	Applying patch 43.sql...
		Applying python patch 43.py...
	Applying patch 44.sql...
	Applying patch 45.sql...
		Applying python patch 45.py...
	Applying patch 46.sql...
		Applying python patch 46.py...
	Applying patch 47.sql...
		Applying python patch 47.py...
	Applying patch 48.sql...
		Applying python patch 48.py...
	Applying patch 49.sql...
	Applying patch 50.sql...
	Applying patch 51.sql...
		Applying python patch 51.py...
	Applying patch 52.sql...
	Applying patch 53.sql...
		Applying python patch 53.py...
	Applying patch 54.sql...
		Applying python patch 54.py...
None: /home/qiita/Git/qiita-spots/qiita/qiita_db/support_files/production_data/per_sample_FASTQ/2000
None: /home/qiita/Git/qiita-spots/qiita/qiita_db/support_files/production_data/Demultiplexed/2001
None: /home/qiita/Git/qiita-spots/qiita/qiita_db/support_files/production_data/Demultiplexed/2002
None: /home/qiita/Git/qiita-spots/qiita/qiita_db/support_files/production_data/Demultiplexed/2004
None: /home/qiita/Git/qiita-spots/qiita/qiita_db/support_files/production_data/Demultiplexed/2003
	Applying patch 55.sql...
		Applying python patch 55.py...
	Applying patch 56.sql...
	Applying patch 57.sql...
	Applying patch 58.sql...
		Applying python patch 58.py...
	Applying patch 59.sql...
	Applying patch 60.sql...
	Applying patch 61.sql...
		Applying python patch 61.py...
	Applying patch 62.sql...
		Applying python patch 62.py...
	Applying patch 63.sql...
	Applying patch 64.sql...
		Applying python patch 64.py...
	Applying patch 65.sql...
	Applying patch 66.sql...
		Applying python patch 66.py...
	Applying patch 67.sql...
	Applying patch 68.sql...
	Applying patch 69.sql...
	Applying patch 70.sql...
	Applying patch 71.sql...
		Applying python patch 71.py...
	Applying patch 72.sql...
	Applying patch 73.sql...
	Applying patch 74.sql...
		Applying python patch 74.py...
	Applying patch 75.sql...
		Applying python patch 75.py...
	Applying patch 76.sql...
	Applying patch 77.sql...
	Applying patch 78.sql...
	Applying patch 79.sql...
	Applying patch 80.sql...
	Applying patch 81.sql...
		Applying python patch 81.py...
	Applying patch 82.sql...
	Applying patch 83.sql...
	Applying patch 84.sql...
	Applying patch 85.sql...
	Applying patch 86.sql...
	Applying patch 87.sql...
	Applying patch 88.sql...
	Applying patch 89.sql...
Downloading reference files
SKIPPING tree: file already exists at /home/qiita/Git/qiita-spots/qiita/qiita_db/support_files/production_data/reference/gg_13_8-97_otus.tree. To download the file again, erase the existing file first
SKIPPING taxonomy: file already exists at /home/qiita/Git/qiita-spots/qiita/qiita_db/support_files/production_data/reference/gg_13_8-97_otu_taxonomy.txt. To download the file again, erase the existing file first
SKIPPING sequence: file already exists at /home/qiita/Git/qiita-spots/qiita/qiita_db/support_files/production_data/reference/gg_13_8-97_otus.fasta. To download the file again, erase the existing file first
HIER <qiita_db.reference.Reference object at 0x7fe2335f6bb0>
stefan error  Error running SQL query: Error running SQL: UNDEFINED_TABLE. MSG: relation "qiita.processed_params_sortmerna" does not exist
LINE 1: INSERT INTO qiita.processed_params_sortmerna
                    ^

Traceback (most recent call last):
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/qiita_db/sql_connection.py", line 256, in _execute
    cur.execute(sql, sql_args)
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/psycopg2/extras.py", line 146, in execute
    return super().execute(query, vars)
psycopg2.errors.UndefinedTable: relation "qiita.processed_params_sortmerna" does not exist
LINE 1: INSERT INTO qiita.processed_params_sortmerna
                    ^

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/qiita_db/sql_connection.py", line 199, in _raise_execution_error
    raise ValueError(
ValueError: Error running SQL: UNDEFINED_TABLE. MSG: relation "qiita.processed_params_sortmerna" does not exist
LINE 1: INSERT INTO qiita.processed_params_sortmerna
                    ^

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/qiita/miniforge3/envs/qiita/bin/qiita-env", line 113, in <module>
    env()
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/home/qiita/miniforge3/envs/qiita/bin/qiita-env", line 38, in make
    qdb.environment_manager.make_environment(
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/qiita_db/environment_manager.py", line 228, in make_environment
    _download_reference_files()
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/qiita_db/environment_manager.py", line 127, in _download_reference_files
    _insert_processed_params(ref)
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/qiita_db/environment_manager.py", line 92, in _insert_processed_params
    qdb.sql_connection.TRN.execute()
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/qiita_db/sql_connection.py", line 49, in wrapper
    return func(self, *args, **kwargs)
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/qiita_db/sql_connection.py", line 313, in execute
    return self._execute()
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/qiita_db/sql_connection.py", line 260, in _execute
    self._raise_execution_error(sql, sql_args, e)
  File "/home/qiita/miniforge3/envs/qiita/lib/python3.9/site-packages/qiita_db/sql_connection.py", line 205, in _raise_execution_error
    raise ValueError("Error running SQL query: %s" % str(error))
ValueError: Error running SQL query: Error running SQL: UNDEFINED_TABLE. MSG: relation "qiita.processed_params_sortmerna" does not exist
LINE 1: INSERT INTO qiita.processed_params_sortmerna

I think this happens because this function:
https://github.com/qiita-spots/qiita/blob/57b84cf1d866b0d7f3cc84693c0e4eca894bb1c4/qiita_db/environment_manager.py#L84-L92
does not reflect the change in database layout of patch 33:
https://github.com/qiita-spots/qiita/blob/57d1b146729223da9daa286a1cc75db6f2923746/qiita_db/support_files/patches/33.sql#L352-L371

shouldn't these parameters be set when the qp-target-gene plugin get registered? https://github.com/qiita-spots/qp-target-gene/blob/858436ee6d4a1fccd35faee0b156a12953b5774a/qp_target_gene/init.py#L138-L151

To be honest, I haven't started a non-test environment in a long time.
Anyway, I think the problem is that you are not patching (via qiita-env patch) the newly created system.

Closing this as it has been superseded by https://github.com/qiita-spots/qiita/issues/3374.


feat(nx-plugin): Cypress generator CI setup and improve caching in CI

Resolves #183

Sure. Technically this does two things. One of them is fixing how we cache node_modules, which is based on the additional reading I did around cypress caching (plus noticing I was using some bogus values in the cache keys).
The other part of this is inserting the relevant steps for Cypress in the GitHub Actions CI workflow when Cypress is added - notice the updateGitHubActions call in both Cypress generators. What that does is insert three steps in the appropriate sections of the workflow:

Caching the cypress binary
Installing OS dependencies for cypress
Configuring X server manually to prevent against intermittent test failures

Inserting these steps require parsing the existing CI yaml file and inserting the steps in the correct locations (ie to keep the cache steps together, the install steps together, and making sure everything happens before the e2e tests are actually run). The yaml utils I created help manage that logic - we're able to pass in the step we want to insert, what step we want to insert it relative to, and whether we want to insert it before/after said step. I should probably add docstrings to those functions.


Shipping address as well as normal address

Hello,
The API is working great for me. I just want to know if there is anyway to set a shipping address separately to the billing address? I really need this functionality! The below code works for address great, but if users ship to a different address how can I achieve this?
// ### Address
// Base Address object used as shipping or billing
// address in a payment. [Optional]
$addr = Paypalpayment::address();
$addr->setLine1($billing_address1);
$addr->setLine2($billing_address2);
$addr->setCity($billing_city_district);
$addr->setPostalCode($billing_postcode);
$addr->setCountryCode('GB');
$addr->setPhone($billing_contact_number);

Just to add I know you can do it through the API, just not sure if your Laravel extension supports it with a specific function?
You can do this with the default API syntax:
$shipping_address = new ShippingAddress();
$shipping_address->setCity('City');
$shipping_address->setCountryCode('AR');
$shipping_address->setPostalCode('200');
$shipping_address->setLine1('Adress Line1');
$shipping_address->setState('State');
$shipping_address->setRecipientName('Recipient Name');

$itemList->setShippingAddress($shipping_address);

Can you let me know if your API supports it?
Kind Regards,
Nick.

Just to add I know you can do it through the API, just not sure if your Laravel extension supports it with a specific function.
You can do this with default API:
$shipping_address = new ShippingAddress();
$shipping_address->setCity('City');
$shipping_address->setCountryCode('AR');
$shipping_address->setPostalCode('200');
$shipping_address->setLine1('Adress Line1');
$shipping_address->setState('State');
$shipping_address->setRecipientName('Recipient Name');

$itemList->setShippingAddress($shipping_address);

Kind Regards,
Nick.

Just had a good browse through the API's core functions! there is a shippingAddress(); function which works great!
$shipping_address = Paypalpayment::shippingAddress();
$shipping_address->setRecipientName('TEST NAME');
$shipping_address->setLine1($shipping_address1);
$shipping_address->setLine2($shipping_address2);
$shipping_address->setCity($shipping_city_district);
$shipping_address->setPostalCode($shipping_postcode);
$shipping_address->setCountryCode('GB');
$shipping_address->setPhone($shipping_contact_number);
Hope this helps anyone, facing the issue.
Kind Regards,
Nick.

@nickbluestone98  thanks for posting the solution here. yes sometimes you just need to check the package core to get answers.


Add support for generic interfaces

Closes #3160
Adds support for generic interfaces. This is very work in progress, the actual implementation
is in a test :"D
The general idea is that we can add a __class_getitem__ to generic interfaces, so that when specialized,
we can create a concrete copy based on the types passed (like when doing MyInterface[str]), this
might break in some cases, but should work for most of them.
We could this to standard types, but I think we handle these cases already, so it might
not be worth doing it (?)
One thing I needed to do to make this work is to replace annotations and dataclasses fields' types
with the actual types, I don't think this should break anything, in fact maybe we should have done this
earlier :)

Apollo Federation Subgraph Compatibility Results

Federation 1 SupportFederation 2 Support

_service🟢@key (single)🟢@key (multi)🟢@key (composite)🟢repeatable @key🟢@requires🟢@provides🟢federated tracing🔲@link🟢@shareable🟢@tag🟢@override🟢@inaccessible🟢@composeDirective🟢@interfaceObject🟢

Learn more:

Apollo Federation Subgraph Specification
Compatibility Tests

/pre-release

Pre-release
:wave:
Releasing commit [6d2773c8bfa479182fdcedfe98f662b89736552b] to PyPi as pre-release! :package:

Pre-release
:wave:
Pre-release 0.212.0.dev.1698770659 [6d2773c8bfa479182fdcedfe98f662b89736552b] has been released on PyPi! :rocket:
You can try it by doing:
poetry add strawberry-graphql==0.212.0.dev.1698770659

/pre-release

@kkom can you test this new pre-release (the comment here should be updated in a few minutes)
this should support your use case, if that's the case I can split this PR in two so we add initial generic support for "generic" interfaces

@kkom apologies, I think it is still not working properly, trying to find a better implementation :)

No worries, thanks so much for working on this so actively @patrick91 :)
If I don't get a chance to test it out today, I'll definitely do it tomorrow - or whenever you have an updated version!

ok, so the check I was doing is a bit more complex than I wanted it to be, I was trying to skip any generic type that didn't expose GraphQL fields from the generic machinery, but it's not only fields that can be generic, also arguments. I need to think about this a bit more.
I'm off tomorrow, but will be back on it as soon as possible 😊

going to close this for now, we fixed the main issue in another PR 😊

For sure! What's the use that #3202 doesn't address that you have on your mind?

For sure! What's the use case that #3202 doesn't address which you have on your mind?

GraphQL Generic interfaces, like this
@strawberry.interface
class GenericInterface[T]:
    this_is_exposed_on_graphql: T

@strawberry.type
class MyType(GenericInterface[int]):  # this would create a IntGenericInterface at runtime
    ...


HHH-11464: Backport HHH-9655 to fix memory leak

See HHH-11464

Closing because 4.3 is no longer maintained.


Issue Guide wiki entry does not exist, README references it

* [Issue Guide](https://github.com/Microsoft/msbuild/wiki/Issue-Guide)
See https://github.com/Microsoft/msbuild/blob/master/README.md

Fixed, thanks!


Are the ms useful?

For me the millisecond part of the displayed time is a bit eye catchy as it is moving constantly and the only benefit I see is to feel that the time is running. What if they were removed or replaced by something else?

I feel it motivating by making me feel that time is running faster than it is, but it's a completely personal opinion indeed. It could be optioned in a new setting session from where sound notifications could also be turned on/off.


[Issue] CVE-2023-23397.ps1 'Unable to create the Azure application password'

Latest script is unable to create Azure application password even when running script with GA- or AA-account.
PS C:\TEMP\CVE> Get-EXOMailbox -ResultSize Unlimited | .\CVE-2023-23397.ps1 -Environment "Online" -UseSearchFolders
CVE-2023-23397 script version <IP_ADDRESS>8
Trying to find Microsoft.Exchange.WebServices.dll in the script folder
Microsoft.Exchange.WebServices.dll was found in the script folder
Invoke-WebRequest : The remote server returned an error: (400) Bad Request.
At C:\TEMP\CVE\CVE-2023-23397.ps1:515 char:5
+     Invoke-WebRequest @params
+     ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
   eption
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Unable to create the Azure application password

Tried to delete previous application, but still same error.

@nurminens can you please try the following and let me know if this works with the current version of the script?

Delete the application by running: .\CVE-2023-23397.ps1 -DeleteAzureApplication
Re-create the application by running: .\CVE-2023-23397.ps1 -CreateAzureApplication

Does it work or does the script hit a similar error as described in this issue?

Already updated the script, can't remember what errors I got, when tried with previous version of the script.
I have been deleting app and re-creating using two different accounts (GA and AA), but whatever account I use, I get same error.
Step-by-step when already deleted old application; (Also hard-deleted from deleted apps)
PS C:\TEMP\CVE> .\CVE-2023-23397.ps1 -CreateAzureApplication
CVE-2023-23397 script version <IP_ADDRESS>8

Did you know?
The new asynchronous search feature is now general available (GA)!
We recommend using it because the search performance is significantly increased.
You can enable it by using the the following parameters:

UseSearchFolders: Enable deep-traversal SearchFolders search to significantly improve performance
SearchFolderCleanup: Clean up any SearchFolders left behind by the -UseSearchFolders switch

This version of the script also supports Certificate Based Authentication (CBA)

More information: https://aka.ms/CVE-2023-23397ScriptDocFAQ

User<EMAIL_ADDRESS>is already an owner of application: CVE-2023-23397Application
Application: CVE-2023-23397Application created with required permissions. Client ID: _CLIENTID_
#
PS C:\TEMP\CVE> Get-EXOMailbox -ResultSize Unlimited | .\CVE-2023-23397.ps1 -Environment "Online" -UseSearchFolders
CVE-2023-23397 script version <IP_ADDRESS>8
Trying to find Microsoft.Exchange.WebServices.dll in the script folder
Microsoft.Exchange.WebServices.dll was found in the script folder
Invoke-WebRequest : The remote server returned an error: (400) Bad Request.
At C:\TEMP\CVE\CVE-2023-23397.ps1:515 char:5
+     Invoke-WebRequest @params
+     ~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebException
    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Unable to create the Azure application password

When running audit script, it prompts to browsers and asks me to sign-in to that specific tenant with application owner account and after that I'll get that last error.
In debug txt file;
[04/12/2023 13:21:48] : Calling Invoke-GraphApiRequest
[04/12/2023 13:21:48] : Graph API request failed - no response
[04/12/2023 13:21:48] : Unable to create the Azure application password

Thanks, can you please try to run the script from a new PS session (without the Exchange Online Management module loaded) and run it like this (it's enough to provide just one mailbox as this is only for script troubleshooting):
.\CVE-2023-23397.ps1 -Environment "Online" -UserMailboxes<EMAIL_ADDRESS>-UseSearchFolders
Does it also fail with?

No matter if running script without EOM -module - same error.
No matter which account I use - same error.

Update on this:
Created cert for CBA and script started like there was never any problems.
There might be problem in our systems / proxy which block such scripts. Don't really know, doesn't have that kind of knowledge nor time to investigate any further.
Script is now creating search folders to users so we will see, what happens.

@nurminens yes, I expected this to work as the "problematic" call to generate a secret for the app will not be performed when doing CBA.
One more thing that you could double-check: Are there already any app secrets assigned to the application? I would not expect any as the app was newly created as you said before, but please have a look and let us know.
Thanks in advance.

There isn't any secrets in app besides my own cert. And running script with AA -account, so that was never the problem.

Have the exact same issue.
Started getting this error after last script update, until then everything worked fine.
Recreated the application, no difference.
Get-EXOMailbox -ResultSize Unlimited | .\CVE-2023-23397.ps1 -Environment "Online" -UseSearchFolders
CVE-2023-23397 script version <IP_ADDRESS>8
Trying to find Microsoft.Exchange.WebServices.dll in the script folder
Microsoft.Exchange.WebServices.dll was found in the script folder
Invoke-WebRequest : The remote server returned an error: (400) Bad Request.
At C:\Temp\CVE-2023-23397.ps1:515 char:5

Invoke-WebRequest @params

~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-WebRequest], WebExc
eption
FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

Unable to create the Azure application password

Try to create new self-signed certificate (CBA) https://microsoft.github.io/CSS-Exchange/Security/CVE-2023-23397/FAQ/
and run
Get-EXOMailbox -ResultSize unlimited | .\CVE-2023-23397.ps1 -Environment "Online" -UseSearchFolders -CertificateThumbprint <CertThumbprint>

Try to create new self-signed certificate (CBA) https://microsoft.github.io/CSS-Exchange/Security/CVE-2023-23397/FAQ/ and run Get-EXOMailbox -ResultSize unlimited | .\CVE-2023-23397.ps1 -Environment "Online" -UseSearchFolders -CertificateThumbprint <CertThumbprint>

Thanks!
That work a round did the trick!

@HuuhaaPete can you please answer these questions:

Do you use a proxy server on the machine where the script was executed and failed to create the new application secret?
Are you running the script by using an account who is a Global Administrator or Application Administrator?

@HuuhaaPete can you please answer these questions:

Do you use a proxy server on the machine where the script was executed and failed to create the new application secret?
Are you running the script by using an account who is a Global Administrator or Application Administrator?

It ran successfully and unsuccessfully from home and company LAN. No proxy, only NAT.
I'm running with Global Admin.

@HuuhaaPete we've just released an updated version (v<IP_ADDRESS>4) of the script. It would be great if you could test it and let us know if the (400) Bad Request error when creating the application secrets.

@HuuhaaPete we've just released an updated version (v<IP_ADDRESS>4) of the script. It would be great if you could test it and let us know if the (400) Bad Request error still occurs when creating the application secrets.

Script version <IP_ADDRESS> wouldn't auto update, so tried it manually:
CVE-2023-23397.ps1 -ScriptUpdateOnly
CVE-2023-23397 script version <IP_ADDRESS>8
No update of the script performed
Downloaded it manually and now it seems to work on the LAN server with no workaround attempted.


Suggestion: generate token from clientID & secret

Hello,
I've been really struggling setting up the plugin but succeed by looking a tutorial on how to generate a user based token that has access to the pages.
Suggestion would be to have this process accessToken generated from the clientID and secret and appID. Would this be possible?
Also, accessToken tend to expire over the time so it might be useful to re-generate one once it expires and to put in cache the full content.
Thank you

Hi there,
thanks for your feedback! Your idea to generate the Token automatically is definitely on my toDos.
You have to extend your token for it to never expire. Have a look at this maybe it'll help with your problem
https://stackoverflow.com/questions/53510296/never-expiring-facebook-page-access-token.

It indeed helped a bit but it only extends for 2 months for now. Can't wait to have this built in and also in addition of the generate Token have a refresh mechanism for keeping alive the Token before expiration.
Thanks for your positive reaction.

Glad i could help for now. I'll add an refresh mechanism to my toDos, thanks again for your input :)


Created solution to problem Lucky Sum of Digits

Description
This pull request contains the solution to the problem "Lucky Sum of Digits".
Fixes #140
Replace issue_no with the issue number which is fixed in this PR
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Documentation Update

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

@Amit366 @Ayush7614 please merge this pull request.


[Solarflare] Color tweaks for in curly brackets

Fixes DEVX-649
What this PR solves / how to test:

Associated docs issue(s)/PR(s): Follow quickstart steps in packages/solarflare-theme
Author has included the following, where applicable:

[x] Changeset (Changeset guidelines)

Reviewer has performed the following, where applicable:

Checked for inclusion of relevant tests
Checked for inclusion of a relevant changeset
Checked for creation of associated docs updates
Manually pulled down the changes and spot-tested

@JacobMGEvans Could you include screenshots of the change in the PR description?

@JacobMGEvans Could you include screenshots of the change in the PR description?

Done.


Remove Twitter badge from README.md.

Related commit in farmOS: https://github.com/farmOS/farmOS/commit/8c816e835b3cd5a4d1a10d72d6d2c24e5f8dbf94

THANK YOUUUUU!!!!!!!!!!!!!


[RESOURCE]     Total : 0 resources, 0 bytes.

Hello! Amazing project! Thanks. I'm trying your project on some data visualization tasks. Install went well on my MacBook Air; the only small hitch was that I had reboot into recovery mode and run csrutil disable from a terminal window before I could pip the libs in. However, after that, all when well.
Then I ran the binary to run a demo, but it shows there are no resources (see below). There were no errors during the install or compilation.
Tims-MacBook-Air-2:graphiti Tim$ find * | grep json
Tims-MacBook-Air-2:graphiti Tim$ ./graphiti
[CLOCK] Clock created at<PHONE_NUMBER> s, 877268 us).
[CLOCK] Clock created at<PHONE_NUMBER> s, 877307 us).
[CLOCK] Clock created at<PHONE_NUMBER> s, 877326 us).
--- Welcome in OpenGraphiti (Alpha) ---
[API] create(1, 0x7fff5540cbf0)
[__INIT__]

Usage: ./graphiti <view>
   Available views : dashboard demo diff leap world

[RESOURCE]
    Total : 0 resources, 0 bytes.
Tims-MacBook-Air-2:graphiti Tim$

What did I do wrong?   Thanks!

More info... cannot find any .json files associated with this app, FYI:
Tims-MacBook-Air-2:/ root# find / | grep .json | grep -i graphiti
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory
Tims-MacBook-Air-2:/ root# find / | grep .json | grep -i dataviz
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory
/Users/Tim/dataviz/raindance/Lib/picojson.h
Tims-MacBook-Air-2:/ root#

Have confirmed there is no "dataset.json" example resources in both the OSX and Linux distribution.

Try downloading one of these:
https://github.com/ThibaultReuille/semanticnet/tree/master/examples/sample
And then run:
$ ./graphiti demo <filename.json>
On Sun, Nov 13, 2016 at 10:41 AM, unixneo<EMAIL_ADDRESS>wrote:

Have confirmed there is no "dataset.json" example resources in both the
OSX and Linux distribution.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ThibaultReuille/graphiti/issues/13#issuecomment-260203647,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB0oMiwW6N18-RpjTzD5Cmm6diAcCjmnks5q91nwgaJpZM4KwmXo
.

--
Andrew Hay
email<EMAIL_ADDRESS>mobile: +1.415.940.9660
blog: http://www.andrewhay.ca
linkedin: http://www.linkedin.com/in/andrewhay
wickr/skype/twitter: andrewsmhay
schedule a meeting: https://ahay.youcanbook.me/

Thanks.


Disable tracking during tests

Disable tracking during tests

Codecov Report
Base: 53.35% // Head: 48.47% // Decreases project coverage by -4.88% :warning:

Coverage data is based on head (aa2efd6) compared to base (cc80f25).
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2049      +/-   ##
==========================================
- Coverage   53.35%   48.47%   -4.88%
==========================================
  Files         180      180
  Lines       14605    14605
==========================================
- Hits         7792     7080     -712
- Misses       5800     6547     +747
+ Partials     1013      978      -35

Flag
Coverage Δ

acceptance-api
27.95% <ø> (-5.95%)
:arrow_down:

acceptance-apps
36.45% <ø> (ø)

acceptance-cli
36.27% <ø> (-6.22%)
:arrow_down:

unittests
8.40% <ø> (ø)

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

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Documentation on Usage & Compilation?

Is any documentation available on how to configure this, as in what values are to be put in the textboxes etc?  Also is there any documentation on how to create the install package?  It doesn't look like any MSBuild or otherwise is used?

Hi Mitchel,
The final documentation is still not ready, but there is a document in process, I'm attaching the document here, and I'll include the url to the final version when ready.
Requirements for SAML SSO.pdf
The fields section is not yet in the documentation because it was the latest addition, let me know if you have more questions.
Thanks
Javier

Looks ok, but I haven't got it working yet.
So I'm trying to test this agains a kind of test-saml-website: https://stubidp.sustainsys.com/
I'm filling in:

IDP URL: https://stubidp.sustainsys.com/
IDP Logout URL: https://stubidp.sustainsys.com/Logout
Service Consumer URL: https://[mydnn804websiteurl]/login
Our Entity ID: empty
DNN Auth Name: SAML
X509 Certificate: the one that can be found on the testsite

So it redirects me to the testsite, and the I can see some values are filled, coming from DNN, like:

Assertion Consumer Service Url: https://[mydnn804websiteurl]/login
Relay state: &TabId=81&returnurl=%2f&language=nl-NL

So then I need to select a dummy user, and click login.
The site will redirect me back to the DNN site, but it does not log me in....
So what am I doing wrong?

Hi Marnix,
I just tried using the same test-saml site, and I'm getting a strange error in the test site:

anyway, that can be caused by my test site, that is in fact internal, not sure.
About your configuration, looks good, logout is not required, but should work, Our Entity ID, please type a unique string there, you can use your sites URL without the protocol, be careful with the cert, must be in base64, that is not the format the site is providing, probably you already figured this out, but just in case, here the text:
-----BEGIN CERTIFICATE-----
MIICFTCCAYKgAwIBAgIQzfcJCkM1YahDtRGYsLphrDAJBgUrDgMCHQUAMCExHzAd
BgNVBAMTFnN0dWJpZHAuc3VzdGFpbnN5cy5jb20wHhcNMTcxMjE0MTE1NDUwWhcN
MzkxMjMxMjM1OTU5WjAhMR8wHQYDVQQDExZzdHViaWRwLnN1c3RhaW5zeXMuY29t
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDSSq8EX46J1yprfaBdh4pWII+/
E7ypHM1NjG7mCwFwbkjq2tpSBuoASrQftbjIKqjVzxtxETw802VJu5CJR4d3Zdy5
jD8NRTesfaQDazX7iiqisfnxmIdDhtJS0lXeBlj4MipoUW6l8Qsjx7ltZSwdfFLy
h+bMqIrwOhMWGs82vQIDAQABo1YwVDBSBgNVHQEESzBJgBCBBNba7KNF5wnXqmYc
ejn6oSMwITEfMB0GA1UEAxMWc3R1YmlkcC5zdXN0YWluc3lzLmNvbYIQzfcJCkM1
YahDtRGYsLphrDAJBgUrDgMCHQUAA4GBAHonBGahlldp7kcN5HGGnvogT8a0nNpM
7GMdKhtzpLO3Uk3HyT3AAIKWiSoEv2n1BTalJ/CY/+te/JZPVGhWVzoi5JYytpj5
gM0O7RH0a3/yUE8S8YLV2h0a2gsdoMvTRTnTm9CnXezCKqhjYjwsmOZtiCIYuFqX
71d/pg5uoJfs
-----END CERTIFICATE-----
If everything looks correct, but still not working, after trying the login, check your DNN Admin logs, and let me know what you found.
Thanks
Javier

Thanks for your help.
I will try and see…
Van: Javier<EMAIL_ADDRESS>Verzonden: maandag 14 oktober 2019 16:57
Aan: AccordLMS/AccordLMS.SAML<EMAIL_ADDRESS>CC: Marnix Bouwman<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Onderwerp: Re: [AccordLMS/AccordLMS.SAML] Documentation on Usage & Compilation? (#2)
Hi Marnix,
I just tried using the same test-saml site, and I'm getting a strange error in the test site:
[samlerror]https://user-images.githubusercontent.com/3584741/66760605-d5aece00-ee78-11e9-87e5-3b914f41336d.JPG
anyway, that can be caused by my test site, that is in fact internal, not sure.
About your configuration, looks good, logout is not required, but should work, Our Entity ID, please type a unique string there, you can use your sites URL without the protocol, be careful with the cert, must be in base64, that is not the format the site is providing, probably you already figured this out, but just in case, here the text:
-----BEGIN CERTIFICATE-----
MIICFTCCAYKgAwIBAgIQzfcJCkM1YahDtRGYsLphrDAJBgUrDgMCHQUAMCExHzAd
BgNVBAMTFnN0dWJpZHAuc3VzdGFpbnN5cy5jb20wHhcNMTcxMjE0MTE1NDUwWhcN
MzkxMjMxMjM1OTU5WjAhMR8wHQYDVQQDExZzdHViaWRwLnN1c3RhaW5zeXMuY29t
MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDSSq8EX46J1yprfaBdh4pWII+/
E7ypHM1NjG7mCwFwbkjq2tpSBuoASrQftbjIKqjVzxtxETw802VJu5CJR4d3Zdy5
jD8NRTesfaQDazX7iiqisfnxmIdDhtJS0lXeBlj4MipoUW6l8Qsjx7ltZSwdfFLy
h+bMqIrwOhMWGs82vQIDAQABo1YwVDBSBgNVHQEESzBJgBCBBNba7KNF5wnXqmYc
ejn6oSMwITEfMB0GA1UEAxMWc3R1YmlkcC5zdXN0YWluc3lzLmNvbYIQzfcJCkM1
YahDtRGYsLphrDAJBgUrDgMCHQUAA4GBAHonBGahlldp7kcN5HGGnvogT8a0nNpM
7GMdKhtzpLO3Uk3HyT3AAIKWiSoEv2n1BTalJ/CY/+te/JZPVGhWVzoi5JYytpj5
gM0O7RH0a3/yUE8S8YLV2h0a2gsdoMvTRTnTm9CnXezCKqhjYjwsmOZtiCIYuFqX
71d/pg5uoJfs
-----END CERTIFICATE-----
If everything looks correct, but still not working, after trying the login, check your DNN Admin logs, and let me know what you found.
Thanks
Javier
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/AccordLMS/AccordLMS.SAML/issues/2?email_source=notifications&email_token=AAN6FZ7AEXJTNH3A26HKXWTQOSCERA5CNFSM4IL25IGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBFCCOQ#issuecomment-541729082, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAN6FZ63DNCO5ODFWYQJOVLQOSCERANCNFSM4IL25IGA.

Just tried this on another demo site, so it looks like I can get into the idp, however, when I click on the link back to dnn it does not log me in.
So there are some log entries that might say something to you?
I can see that is makes some kind of request.
Then it says:

DNN.Authentication.SAML.DNN.Authentication.SAML.OnLoad(tae) : 10-15-2019 09:11:24:607:samlResponse is:

Then it says:

DNN.Authentication.SAML.DNN.Authentication.SAML.OnLoad(tae) : 10-15-2019 09:11:24:623:saml valid

Then it says:

DNN.Authentication.SAML.DNN.Authentication.SAML.OnLoad(tae) : 10-15-2019 09:11:24:639:USER IS EMPTY

Then it gives a loooong xml response:

DNN.Authentication.SAML.DNN.Authentication.SAML.OnLoad(tae) : 10-15-2019 09:11:24:639:samlResponse is: <samlp:Response ID="_5510C565E5F8C ...etc etc...

Then it says:

DNN.Authentication.SAML.DNN.Authentication.SAML.OnLoad(tae) : 10-15-2019 09:11:24:654:Username is:

And finally it say:

DNN.Authentication.SAML.DNN.Authentication.SAML.OnLoad() : 10-15-2019 09:11:24:686:Exception The conversion of a nvarchar data type to a datetime data type resulted in an out-of-range value. The statement has been terminated.

I managed to get this working using this free SAML IDP https://mocksaml.com/

Is any documentation available on how to configure this, as in what values are to be put in the textboxes etc? Also is there any documentation on how to create the install package? It doesn't look like any MSBuild or otherwise is used?

@mitchelsellers it looks like you were able to contribute, do you have any insight on how to create a build for the module that can be installed in DNN?

@joshgk00 Well.....I did the not great process, but essentially built it and manually updated the install package


dependencies in package.json

I deleted some (as far as I know) unneeded dependencies from package.json - these being: lodash, jsonview, underscore, mocha.
package.json also declares dependencies on d3.js  and colorbrewer.js. These are also reffered to in the source files (e.g. Controller.js) by statements like: require(../../../vendor/d3.js).
Is this how its meant to be? It feels wrong having it two different places.
Also, the viewer code doesn't use jquery but the build process does. Do we still need jquery and jquery.browserify in package.json?

I deleted some (as far as I know) unneeded dependencies from package.json - these being: lodash, jsonview, underscore, mocha.

Yes, none of those are needed at the moment. Mocha will probably reappear when I write tests but there's no sense in defining it if we're not yet using it.

package.json also declares dependencies on d3.js and colorbrewer.js. These are also reffered to in the source files (e.g. Controller.js) by statements like: require(../../../vendor/d3.js).

Good catch. It looks like the dependency management needs some attention.
When possible, convention says to use bower for front-end libraries (d3, colorbrewer) and npm for node modules (browserify, grunt). The deciding factor is how well the libraries play with browserify which is something on the back of my mind for BioJS.
Looking through /vendor/ folder, here's what's available via bower:
FileSaver [https://github.com/Teleborder/FileSaver.js]
D3 [https://github.com/mbostock/d3]
ColorBrewer [https://github.com/jeanlauliac/colorbrewer/blob/master/colorbrewer.js]
RGBColor [https://github.com/ariutta/rgb-color]
I can't locate Point2D or Intersection and I think it's appropriate for them to stay in the repository if they're not source controlled.

Also, the viewer code doesn't use jquery but the build process does. Do we still need jquery and jquery.browserify in package.json?

jQuery can be removed! At this point we won't have any dependencies in package.json.
Are you okay with me adding bower dependencies back to the project? I can set up a branch to see how it looks before we commit to anything.

On 15/06/15 12:13, joshkh wrote:

I can't locate Point2D or Intersection and I think it's appropriate
for them to stay in the repository if they're not source controlled.

Agreed.

Are you okay with me adding bower dependencies back to the project? I
can set up a branch to see how it looks before we commit to anything.

Yes, go for it,
C
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

Closing - task completed by Josh.
(I think there is still a dependency on RGBColor that we don't need, its only used by the legend in the demo file, not the viewer itself.)


Missing commit information in just-built 3.0 SDK

I just built commit d789550 in source-build. The generated SDK (dotnet-sdk-3.0.100-preview6-012264-fedora.29-x64.tar.gz) is missing commit information for corefx and coreclr:
$ find -iname '*.so' -exec sh -c "echo {} ; strings {} | grep '@(#)'" \;
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/System.Native.so
@(#)Version 4.700.19.26409 @Commit: unknown
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/libsos.so
@(#)No version information produced
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/libdbgshim.so
@(#)No version information produced
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/libcoreclr.so
@(#)No version information produced
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/System.Security.Cryptography.Native.OpenSsl.so
@(#)Version 4.700.19.26409 @Commit: unknown
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/libsosplugin.so
@(#)No version information produced
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/libcoreclrtraceptprovider.so
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/System.IO.Compression.Native.so
@(#)Version 4.700.19.26409 @Commit: unknown
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/libmscordaccore.so
@(#)No version information produced
@(#)No version information produced
@(#)No version information produced
@(#)No version information produced
@(#)No version information produced
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/System.Globalization.Native.so
@(#)No version information produced
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/libhostpolicy.so
@(#)Version 3.0.27804.01 @BuiltBy: omajid-trull @Branch: release/3.0 @SrcCode: https://github.com/dotnet/core-setup/tree/fdf81c6faf7c7e0463d191a3a1d36c25c201e5cb
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/libclrjit.so
@(#)No version information produced
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/System.Net.Http.Native.so
@(#)Version 4.700.19.26409 @Commit: unknown
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/System.Net.Security.Native.so
@(#)Version 4.700.19.26409 @Commit: unknown
./shared/Microsoft.NETCore.App/3.0.0-preview6-27804-01/libmscordbi.so
@(#)No version information produced
./packs/Microsoft.NETCore.App.Host.fedora.29-x64/3.0.0-preview6-27804-01/runtimes/fedora.29-x64/native/libnethost.so
@(#)Version 3.0.27804.01 @BuiltBy: omajid-trull @Branch: release/3.0 @SrcCode: https://github.com/dotnet/core-setup/tree/fdf81c6faf7c7e0463d191a3a1d36c25c201e5cb
./host/fxr/3.0.0-preview6-27804-01/libhostfxr.so
@(#)Version 3.0.27804.01 @BuiltBy: omajid-trull @Branch: release/3.0 @SrcCode: https://github.com/dotnet/core-setup/tree/fdf81c6faf7c7e0463d191a3a1d36c25c201e5cb

This looks like a repeat of #651

Once https://github.com/dotnet/source-build/pull/1124 is merged we'll be able to change around our method of embedding the build info to match how all our contributing repos do it, so I think that might take care of the issue (hopefully for good this time).

Possibly related: https://github.com/dotnet/core-setup/issues/7635

(Saw the backlink) If there's a common thread, maybe it's that sourcelink was being disabled--when Arcade generates the header file that sticks the versions into the binaries, it depends on sourcelink to figure out what the repo state is.

Is this fixed in Preview8?  source-link was added there.

It still seems to be missing for some files on my end:
/usr/lib64/dotnet/packs/Microsoft.NETCore.App.Host.linux-x64/3.0.0-preview8-28405-07/runtimes/linux-x64/native/libnethost.so
@(#)No version information produced
/usr/lib64/dotnet/host/fxr/3.0.0-preview8-28405-07/libhostfxr.so
@(#)No version information produced
/usr/lib64/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/System.Native.so
@(#)Version 4.700.19.40503 @Commit: 1bb52e6a3db7f3673a3825f3677b9f27b9af99aa
/usr/lib64/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/libcoreclr.so
@(#)No version information produced
/usr/lib64/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/System.IO.Compression.Native.so
@(#)Version 4.700.19.40503 @Commit: 1bb52e6a3db7f3673a3825f3677b9f27b9af99aa
/usr/lib64/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/libhostpolicy.so
@(#)No version information produced
/usr/lib64/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/System.Globalization.Native.so
@(#)No version information produced
/usr/lib64/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/System.Net.Http.Native.so
@(#)Version 4.700.19.40503 @Commit: 1bb52e6a3db7f3673a3825f3677b9f27b9af99aa
/usr/lib64/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/System.Net.Security.Native.so
@(#)Version 4.700.19.40503 @Commit: 1bb52e6a3db7f3673a3825f3677b9f27b9af99aa
/usr/lib64/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/libclrjit.so
@(#)No version information produced
/usr/lib64/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/libmscordaccore.so
@(#)No version information produced
@(#)No version information produced
@(#)No version information produced
@(#)No version information produced
@(#)No version information produced
/usr/lib64/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/libmscordbi.so
@(#)No version information produced
/usr/lib64/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/libcoreclrtraceptprovider.so
/usr/lib64/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/System.Security.Cryptography.Native.OpenSsl.so
@(#)Version 4.700.19.40503 @Commit: 1bb52e6a3db7f3673a3825f3677b9f27b9af99aa
/usr/lib64/dotnet/shared/Microsoft.NETCore.App/3.0.0-preview8-28405-07/libdbgshim.so
@(#)No version information produced

A bunch of files have @(#)No version information produced. Mostly seems to be from coreclr?
Not sure what the deal is with libcoreclrtraceptprovider.so, it has no commit information, not even @(#)No version information produced`.

Hmm, are there any IL assemblies with missing info or are they all native?  It looks like native sourcelink is handled a bit differently so we might have missed something there.

@crummel Any tips on how to find version information for IL assemblies on Linux?

Usually I use exiftool, or just strings if that's not available.  Sorry, not at my machine right now or I would check on it myself.

For the Core-Setup binaries in the list (libnethost.so, libhostfxr.so, libhostpolicy.so), we still don't have version info in our main build, so it's not surprising it's missing for those files in source-build too: https://github.com/dotnet/core-setup/issues/7635.
The other ones do look like CoreCLR. (Only the CoreFX ones look good.)

This should be fixed in RC1.  @crummel to verify

3.0 is out of support and the problem appears to be fixed on 3.1:
$ /usr/lib64/dotnet/dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.1.104
 Commit:    0cf4df563a

Runtime Environment:
 OS Name:     fedora
 OS Version:  32
 OS Platform: Linux
 RID:         fedora.32-x64
 Base Path:   /usr/lib64/dotnet/sdk/3.1.104/

Host (useful for support):
  Version: 3.1.4
  Commit:  0c2e69caa6

.NET Core SDKs installed:
  3.1.104 [/usr/lib64/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.1.4 [/usr/lib64/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.1.4 [/usr/lib64/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download
$ find /usr/lib64/dotnet -iname '*.so' -exec sh -c "echo {} ; strings {} | grep '@(#)'" \; | grep -i unknown
$ echo $?
1
$ find /usr/lib64/dotnet -iname '*.so' -exec sh -c "echo {} ; strings {} | grep '@(#)'" \; | grep -i No
$ echo $?
1


Disjoint Set Union

Description
I will work on this topic in documentation format . I will explain the Disjoint Set Union  with the code and also i will discuss its applications .
Domain
Competitive Programming
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

please review my pr


Increase timeout to 4 hours

Bigger Migrations need more time to handle the import

Hello,
thank you for creating this pull request.
I have opened an issue on our Issue Tracker for you. See the issue link: https://issues.shopware.com/issues/PT-7514.
Please use this issue to track the state of your pull request.

thanks @shyim :+1:


Unsure how to have .app retain both EVS and OSX signing

I have an app being built with the Castlabs Electron release using electron-forge. I can run the electron-package script and I will get a working myApp.app file at the end. I'm then able to successfully EVS sign myApp.app and I'm able to execute it, and stream the DRM content that my app is handling.
At this point I would like to OSX sign the app, then pack it up in a DMG and have someone be able to use it. However, when I do the OSX signing with my Apple Distribution credentials, myApp.app no longer works for streaming DRM content. If I check the EVS signing status, it still shows as valid. Is this an entitlements issue? Or am I completely missing something?

More clear steps as to what I'm experiencing:

Ran electron-package from electron-forge to give me a basic version of my app
Manually EVS signed with python3 -m castlabs_evs.vmp /app/output/dir
Ran the app and verified streaming works
Manually MacOS signed with electron-osx-sign /path/to/app/myApp.app --identity="My Apple Identity (APPID###)" --provisioning-profile="my.provisionprofile"
Ran the app. Now streaming doesn't work.
Run EVS signing verification, it claims it's still EVS signed

In macOS Catalina or later, you will need to disable library validation when notarizing your application. This is because your app and the Widevine CDM will be signed by different entities (you and Google).
From your description this is likely the problem you are seeing.

I still think this is the issue (although the FAQ may be inconsistently using terminology for notarization/entitlements). The entitlement needs to be applied to the helper app (e.g. the equivalent of Electron.app/Contents/Frameworks/Electron\ Helper.app for your application), not the main app itself.

Interesting! I wasn't aware that the Helper.app was what needed to be signed. I went ahead and did the electron-osx-sign with that entitlement on electron-osx-sign ./out/appOutDir/appName.app/Contents/Frameworks/appName\ Helper.app --identity="Apple Distribution: Company Name (######)" --entitlements="./src/electron/entitlements.plist"
Now when I launch the app, I get a blank Electron main window. Any other thoughts or what I might be missing? Again, I really appreciate you having taken the time to reply.

I'm not very familiar with electron-osx-sign, but it probably works on the main app level (and signs all enclosed binaries), so in this case you might end up with a broken application since it is partially signed.
It might be possible to tell tell it to apply differing entitlements to the enclosed helper apps somehow, or you can execute codesign yourself to do it. To check which entitlements are applied to an app you can use something like:
% codesign -d --entitlements - --xml /Applications/Google\ Chrome.app | xmllint --format -
Executable=/Applications/Google Chrome.app/Contents/MacOS/Google Chrome
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
  <dict>
    <key>com.apple.application-identifier</key>
    <string>EQHXZ8M8AV.com.google.Chrome</string>
    <key>com.apple.developer.associated-domains.applinks.read-write</key>
    <true/>
    <key>com.apple.security.device.audio-input</key>
    <true/>
    <key>com.apple.security.device.bluetooth</key>
    <true/>
    <key>com.apple.security.device.camera</key>
    <true/>
    <key>com.apple.security.device.print</key>
    <true/>
    <key>com.apple.security.device.usb</key>
    <true/>
    <key>com.apple.security.personal-information.location</key>
    <true/>
    <key>keychain-access-groups</key>
    <array>
      <string>EQHXZ8M8AV.com.google.Chrome.devicetrust</string>
      <string>EQHXZ8M8AV.com.google.Chrome.webauthn</string>
    </array>
  </dict>
</plist>

I think we've got it...? I did the entitlement check like you suggested and it showed a default set of entitlements, which I'm not using. So obviously it wasn't applying them. I ran code signing again but gave it a full path to the entitlements file instead of a relative path, and now if I do an entitlement inspection, it shows correctly. I've packaged it up into a DMG and uploaded it, and my tester was able to download and install and run it.
I really appreciate the help!


Document service invocation spec

Describe the proposal
This is to document service invocation specification to explains how bridge the data between dapr sidecars.

Created the proposal - https://github.com/dapr/dapr/issues/1409


Correcting a small typo: Last in place of Past

This looks like a very small typo in PagedListLinks.cs.
The JSON for this object returned by the Harvest API looks like this:
"links": {
    "first": "https://api.harvestapp.com/v2/users?is_active=true\u0026page=1\u0026per_page=100\u0026ref=first",
    "next": null,
    "previous": null,
    "last": "https://api.harvestapp.com/v2/users?is_active=true\u0026page=1\u0026per_page=100\u0026ref=last"
  }

I suspect that the property name should be Last rather than Past.
I tried to create a pull request, but it seems to be in my fork rather than in the upstream, sorry this is a bit new to me.
https://github.com/boinst/Harvest.Api/pull/1

Thanks for reporting. Fixed in version 0.0.26.


fix: productdetailpage color variant selector

Task: https://phabricator.sirclo.com/T36910
The reason for the previously broken variant selector on prod was because the variant id was naively selected through SCSS so it only handles variants with ID of "size" and "warna". This issue has been fixed with this PR.

Another issue is it is not possible to differentiate variants type. There exists two types of variants on prius

So the color variant is selected naively through ID on CSS. This is a bug found in other templates too (tested onmelodika, merlin). Not yet tested on other templates.

This is because the color variant is hardcoded through nexus

that results in a jsx element like so:

On this PR only color type variant with ID "colors" is handled meant to be temporary fix.
This PR variant selection:
Figma:
https://www.figma.com/file/AMtQECMzDn4EXf4geUmzUI/[VENDOR]-Framic?node-id=29%3A1363
Mobile
https://user-images.githubusercontent.com/8079082/186859878-6c247e1c-d3ef-4ef5-ab25-a211497f9165.mp4
Desktop
https://user-images.githubusercontent.com/8079082/186859884-7a60f2ee-c67c-4ff6-834e-245fff3b48e3.mp4

boleh request ss nya tidak hasil yang di sini bagaimana mba?
Related Product dan warna warnanyaa


Add scss/function-no-unknown rule

Closes #581
Closes #589

I've bumped stylelint to 14.5.1. Now the CI is all green!

@ybiquitous Does this rule now depend on stylelint version 14.5.1 or newer or is there backwards compatibility?

@kristerkari

Does this rule now depend on stylelint version 14.5.1 or newer

Yes. The new rule requires<EMAIL_ADDRESS>or newer.

is there backwards compatibility?

Yes. Unless users don't enable the new rule, their stylelint analysis should not change.

Thanks @ybiquitous ! Released now in https://github.com/stylelint-scss/stylelint-scss/releases/tag/v4.2.0

@kristerkari Thank you! 😊

@kristerkari Hi, any plan to include this rule to stylelint-config-recommended-scss?

@chalkygames123 Here is a reason not to include this rule to stylelint-config-recommended-scss:
https://github.com/stylelint-scss/stylelint-config-recommended-scss/issues/92#issuecomment-1068882019

I see. Thanks for letting me know!


Updating usage examples, contributor's guide, fixing some bugs

I added docs about adding new corpora and updated feature extraction examples in the notebooks to use the new storage mechanism and do in directly on the cuts.
I also made sure that the LibriSpeech 100h example works smoothly with a DataLoader and resolved a number of bugs I found on the way (mismatching dtypes, off-by-one frames in padding, and a bunch of others).

Codecov Report

Merging #95 into master will decrease coverage by 0.46%.
The diff coverage is 77.27%.

@@            Coverage Diff             @@
##           master      #95      +/-   ##
==========================================
- Coverage   93.66%   93.20%   -0.47%
==========================================
  Files          40       40
  Lines        3093     3030      -63
==========================================
- Hits         2897     2824      -73
- Misses        196      206      +10

Impacted Files
Coverage Δ

lhotse/dataset/speech_recognition.py
47.36% <0.00%> (-2.64%)
:arrow_down:

lhotse/supervision.py
91.17% <37.50%> (-7.19%)
:arrow_down:

lhotse/audio.py
96.85% <66.66%> (-0.67%)
:arrow_down:

lhotse/features/base.py
95.81% <66.66%> (-0.51%)
:arrow_down:

lhotse/cut.py
87.01% <86.66%> (-0.28%)
:arrow_down:

lhotse/dataset/__init__.py
100.00% <100.00%> (ø)

lhotse/features/fbank.py
100.00% <100.00%> (ø)

lhotse/features/mixer.py
100.00% <100.00%> (ø)

lhotse/features/spectrogram.py
100.00% <100.00%> (ø)

test/cut/test_padding_cut.py
100.00% <100.00%> (ø)

... and 27 more

Continue to review full report at Codecov.

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


check error when opening shard DBs.

Doing the initial work on #3516, I suspect that it's an issue where
we're throwing away an opening error and then accessing the database
to cause the panic. Since we threw away this error before, let's log
it so that we can see what's happening.
It doesn't fix the error proper, since the shard will still not be
accessible, but it will give us a better idea what's going on.

I have a suspicion that #3603 is a result of this error not being checked.

+1, I will disable the failing test and open a bug.


virtual number

hi
when using virtual number with this program, it will be deleted and after that telegram banned that number

yes telegram detect virtual account, you should use it on your own account. these are telegram advance systematic


Pre-Tenant Authentication with JwtBearerOptions Not Working

I am using Okta IDP provider, and it works with both static implementation and multitenancy using Finbuckle. However, the Pre-tenant authentication with JwtBearerOptions flow does not function correctly on Finbuckle multitenancy with pre-tenant authentication.
I have followed all the provided steps, and without pre-tenant authentication, the tenant is resolved properly. Tenant information is obtained based on the Host Strategy. In JwtBearerEvents, during MessageReceived, I receive all options resolved by the ConfigurePerTenant method. However, during the Challenge method, I encounter an unusual result with no error message or description. I have included a screenshot of this issue.

Added code for reference:
Program.cs:
using Finbuckle.MultiTenant;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.OpenApi.Models;
using PreTenantAuthTest;

var builder = WebApplication.CreateBuilder(args);
builder.Services.AddControllers();
builder.Services.AddEndpointsApiExplorer();

builder.Services.AddSwaggerGen(options =>
{
    options.AddSecurityDefinition("oauth2", new OpenApiSecurityScheme
    {
        Type = SecuritySchemeType.OAuth2,
        Flows = new OpenApiOAuthFlows
        {
            AuthorizationCode = new OpenApiOAuthFlow
            {
                AuthorizationUrl = new Uri("https://okta-tenant-id.okta.com/oauth2/default/v1/authorize"),
                TokenUrl = new Uri("https://okta-tenant-id.okta.com/oauth2/default/v1/token"),
                Scopes = new Dictionary<string, string>
                        {
                            { "Application.FullAccess", "Access API" }
                        }
            }
        }
    });
    options.OperationFilter<AuthorizeCheckOperationFilter>();
});

builder.Services.AddMultiTenant<MyTenantInfo>()
    .WithHostStrategy("__tenant__")
    .WithConfigurationStore(builder.Configuration, "Tenant:Stores:ConfigurationStore")
.WithPerTenantAuthentication();

builder.Services.AddAuthentication().AddJwtBearer();

builder.Services.ConfigurePerTenant<JwtBearerOptions, MyTenantInfo>(JwtBearerDefaults.AuthenticationScheme,
    (options, tenantInfo) =>
    {
        options.Authority = tenantInfo.Authority;
        options.Audience = "api://default";
        options.RequireHttpsMetadata = false;
        options.SaveToken = true;
        options.TokenValidationParameters = new Microsoft.IdentityModel.Tokens.TokenValidationParameters
        {
            RequireAudience = true,
            ValidateAudience = true,
        };
        options.Events = new MultitenantJwtBearerEvents();
    });

var app = builder.Build();

app.UseMiddleware<ExceptionHandlingMiddleware>();

if (app.Environment.IsDevelopment())
{
    app.UseSwagger();
    app.UseSwaggerUI(options =>
    {
        options.DefaultModelsExpandDepth(-1);
        options.DocExpansion(Swashbuckle.AspNetCore.SwaggerUI.DocExpansion.None);
        options.OAuthAppName("ApplicationName");
        options.OAuthClientId("ClientId");
        options.OAuthUsePkce();
    });
}

app.UseHttpsRedirection();

app.UseMultiTenant();

app.UseAuthentication();

app.UseAuthorization();

app.MapControllers();

app.Run();

MultitenantJwtBearerEvents.cs:
using Microsoft.AspNetCore.Authentication.JwtBearer;

namespace PreTenantAuthTest;

public class MultitenantJwtBearerEvents : JwtBearerEvents
{
    public override Task AuthenticationFailed(AuthenticationFailedContext context)
    {
        return base.AuthenticationFailed(context);
    }
    public override Task MessageReceived(MessageReceivedContext context)
    {
        return base.MessageReceived(context);
    }
    public override async Task TokenValidated(TokenValidatedContext context)
    {
        await base.TokenValidated(context);
    }

    public override Task Challenge(JwtBearerChallengeContext context)
    {
        context.HandleResponse();
        if (!context.Response.HasStarted)
        {
            throw new UnauthorizedAccessException($"{context.Error!} {context.ErrorDescription!}");
        }

        return Task.CompletedTask;
    }

    public override Task Forbidden(ForbiddenContext context)
    {
        throw new Exception();
    }
}

Hi, this looks like a tough one. Just to check, do you mean to say "pre" tenant authentication or "per" tenant authentication? And the issue is only on validating the JWT token AFTER the whole oauth2 workflow has completed?
One quick thing to try, place your AddAuthentication line before the AddMultiTenant in your setup-- MultiTenant overrides some of the authentication related DI which might be why you are seeing this.

So looking at this again, in the jwt scheme handler the challenge method doesn’t really do much before calling the event handler. If you tell it you handled the event (via your call to context HandledResponse) it will not generate the 401 challenge response because it assumes you have done so. Is that what you intended?
In your top screenshot I can’t tell if the options passed to the challenge event were resolved correctly for the tenant. can you include that part in the screenshot?


Discovery operator - ocp 4.6 is no longer supported in 2.5

Signed-off-by: eemurphy<EMAIL_ADDRESS>stolostron/backlog#20594

/hold

/assign @jamestalton @KevinFCormier

/lgtm

/unhold


DFP Visualization Example

Production DFP pipeline that uses new post-processing stage to generate input for DFP Visualization UI:

DFPVizPostprocStage that selects columns from DFP output required by UI. Post-processing output is saved to multiple files where each corresponds to a specified time period (default is day).
Python scripts for running viz pipeline for Azure and Duo.
README with instructions for setting up environment and running DFP viz pipelines and UI for Azure and Duo.

Closes #321

Closing this and creating new PR tied to branch that does not include the starter DFP updates.


Services component

Create a component that's used to render services.
Used on My data page to show services that user is NOT yet using.
Same component should be used to render services on wagtail Services page. A new entry point for react (ReactDOM.render()) is needed for this page.

For MVP: services that have descriptions in Tunnistamo. At the moment 4 services.

On Wagtail services page we should also show services when the user is not logged in.
This might need a new component (show all services).


Add CircleCI & Danger

Description
Add CircleCI & Danger
Check List

[ ] All tests pass. See https://github.com/sous-chefs/apache2/blob/master/TESTING.md
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable

          1 Error

:no_entry_sign:
Please add labels to this Pull Request

          1 Warning

:warning:
This is a big Pull Request.

  Generated by :no_entry_sign: Danger