"Module 'FirebaseUI' not found" ('FirebaseCore' also not found)

Step 2: Describe your environment

Objective C or Swift: Objective C
iOS version: 10.3
Firebase SDK version: 5.8.0
FirebaseUI version: 5.2.2
CocoaPods Version: 1.5.3

Step 3: Describe the problem:
I added the Firebase framework to my podfile with no issue. I followed that up with trying to add the FirebaseUI framework. When I try to run my project, I receive an error in AppDelegate.m (Module 'FirebaseUI' not found), and in FUIAuthStrings.m (Module 'FirebaseCore' not found).
Steps to reproduce:

add "pod 'FirebaseUI/Auth'" to podfile

$ pod install
add "@import FirebaseUI" to AppDelegate.m
Cmd R

Observed Results:
Build Failed with two errors:

Expected Results:
Build Succeeded

FirebaseUI should have a lowercase b and you should be specifying use_frameworks! in your Podfile.

Neither of those worked, I am going to post a new issue

@msaia35 did you open a new issue???? M facing the same issue.  @morganchen12  Need a solution for this..

I wasn't able to reproduce the issue you're describing. Consider asking on StackOverflow, since it seems like this may not be a FirebaseUI-specific issue.


pythonPackages.flake8: 3.7.9 -> 3.8.3

Also updated deps that didn't much flake8 requirements
Motivation for this change
https://gitlab.com/pycqa/flake8/-/blob/master/docs/source/release-notes/3.8.3.rst
Things done

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

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

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

since this change causes over 500 rebuilds, do you mind targeting the staging branch
git rebase --onto=staging HEAD~1
git push .. ... --force

then change the base branch in the github PR from master -> staging
See https://nixos.org/nixpkgs/manual/#submitting-changes-staging-branch for more details on staging branch

that being said, staging is at 3.8.2

and now staging is at 3.8.3 as well 8bbc4b0361fbf103eb293bf229368aebc83192b3

Somehow I completely missed staging part of nixpkgs, thanks!


Esnya UI not interacting with pool table ?

Describe the bug in detail:
Using the Esnya UI on the metallic table (didn't check the others) seem to not be working even tho the UI seem to work fine.
It also seem like the prefab UI is missing some references ?
Provide steps/code to reproduce the bug:
Import latest sdk, latest udon sharp, latest package of VRCBCE, put the prefab called "VRCBCE Metal (Esnya).prefab" and try to play a game of it alone.
I can't record right now, but MOON UI work flawlessly.

Fixed in https://github.com/VRCBilliards/vrcbce/commit/932a10f796f0828f681bffb1117259a7f6e78492


Analog Joystick?

I noticed you had some non-functional Javascript for making the Joystick behave analogly. It just makes whatever you're controlling jiggle around. Any ideas on why it doesn't work or what steps should be taken to implement it correctly?

Never mind; I figured it out already! Only took 15 minutes! You pretty much had it complete save for an incorrect scale. I'm going to perfect the analog joystick capability, add it to the config, and submit a pull request.
Thanks for your awesome work on this project!


DOC: add changelog for Shapely 2.0

Closes #1280
~This is a start for a changelog overview for Shapely 2.0. Many of the section still need to be written out. For now I mostly tried to start a possible outline. And I already copied all relevant parts of the PyGEOS changelog here (and removed that file), but those entries will still need to be rewritten for Shapely / integrated.~
We also still need to decide where/how to integrate this in the existing CHANGES.txt or docs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 84.221%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2087

Relevant Lines:
2478

💛  - Coveralls

@brendan-ward thanks a lot for this comprehensive review! The textual edits are very much appreciated, that improved the text a lot

One open question is where to put this file / integrate it in the documentation.
Currently I wrote the content in a new file in the docs/ directory. I think it is important to have this inside the docs, as the rendered version of it has much added value compared to a plain text view. But we currently also have CHANGES.txt top-level in the repo. This also gets included in the documentation: https://shapely.readthedocs.io/en/latest/changelog.html.
I could include it all in CHANGES.txt as well, but my feeling is that this will make CHANGES.txt on GitHub less useful, given the current changelog is that long / elaborate (and you don't have the table of contents like on the online docs).
So another option could be to only include a short notice of the 2.0.0 release in CHANGES.txt with maybe just a repetition of the highlights / first paragraph, and then refer to the online docs for more details?

only include a short notice of the 2.0.0 release in CHANGES.txt with maybe just a repetition of the highlights / first paragraph, and then refer to the online docs for more details

I like this option

For the online docs, do we prefer one file / page per release? (eg pandas does this: https://pandas.pydata.org/docs/dev/whatsnew/, numpy as well: https://numpy.org/doc/stable/release.html, but both of those examples are bigger projects) Or still gather everything in a single file? (eg what we do in geopandas: https://geopandas.org/en/stable/docs/changelog.html) Or single file per set of release (eg all 1.x notes, all 2.x notes) ?

Perhaps we can start with one single file per major release, and reconsider if we find each set of release notes needs more space?  Presumably 2.x releases will require much smaller notes than the initial 2.0.0 release.

A single page per major release feels good to me. About CHANGES.txt: its only good properties are 1) that it listed changes that were important to users, 2) it was accessible from GitHub and was included in dists, and 3) that it was relatively easy to keep up to date. As long as the new changelog satisfies 3, and doesn't become a point of friction, I think we could end edits to CHANGES.txt and note there that we have a new changelog for 2.0.

I updated how this is included in the docs now: we have a /release.rst that gathers the pages for 1.x and 2.x (release/1.x.rst and release/2.x.rst; if someone has a better idea for filename (url), let me know).
We might want to copy the content of CHANGES.txt to 1.x.rst once, to have more consistent title for the page.

We might want to copy the content of CHANGES.txt to 1.x.rst once (instead of automatically including it), to have more consistent title for the page.

Yes, definitely should; it shows up as "Changes" in the TOC / sidebar.
One idea: move the current CHANGES.txt to 1.x.rst.  Then update CHANGES.txt to have a summary of changes for 2.0 with a crossreference to the new docs here for more information, and cut out anything pre 1.8 with a crosslink to the 1.x.rst document for more information.  This makes the docs the primary location for full details, and helps make the top-level changes a bit more focused on recent version changes in 1.8.x and 2.0.x (to keep it from getting too long).
I'm not seeing that CHANGES.txt includes changes >= 1.8.0; these appear to only be present on the releases instead (so, would be a good idea to copy them into the 1.x.rst above for the 1.8.x series).

One idea: move the current CHANGES.txt to 1.x.rst. Then update CHANGES.txt to have a summary of changes for 2.0 with a crossreference to the new docs here for more information, and cut out anything pre 1.8 with a crosslink to the 1.x.rst document for more information

Sounds good.

I'm not seeing that CHANGES.txt includes changes >= 1.8.0; these appear to only be present on the releases instead (so, would be a good idea to copy them into the 1.x.rst above for the 1.8.x series).

Yes, I noticed that as well, and was planning to port the file from the maint-1.8 branch to main.

Given that I would like to have an actual url to point to for my FOSS4G talk about Shapely 2, I am going to merge this, but will do follow up PRs to:

address Casper's comment about the internal details
move content of CHANGES.txt to 1.x.txt, and update CHANGES.txt with some highlights

Opened https://github.com/shapely/shapely/pull/1520 as first follow-up to move the content of CHANGES.txt


Regex routing not working for following example.

I'm trying to create generic route for category page,
My current Regex for evaluation,
\/[\w\/\-\%]+-c(\d+)(?:\/(\d{1,2}))?$

Controller code,
Get[@"\/[\w\/\-\%]+-c(?<id>\d+)(?:\/(?<page>\d{1,2}))?$", true] = async (x, ct) =>
{
  ...
}

I'm trying with RegExr tool and it seems to be passing all possible permutation and combinations for the regex,
i.e /anytgc123423/test/c123323/niec454stest/mystery-123-4534-thriller-suspense-c79/11

Result:
Group 1: 79
Group 2: 11

The same regex is not able to parse the url suggested in example with NancyFx Get function.
To be sure on my code, I have tried to test below sample code,
var categoryRegex = @"\/[\w\/\-\%]+-c(?<id>\d+)(?:\/(?<page>\d{1,2}))?$";
var categoryURL = "/anytgc123423/test/c123323/niec454stest/mystery-123-4534-thriller-suspense-c79/11";

var match = Regex.Match(categoryURL, categoryRegex);
var id = match.Groups["id"];
var page = match.Groups["page"];

The code worked like charm.
It would be great help if anyone can throw some light.
Apologies for my bad English, and thanks in advance.

The example above wouldn't work because it doesn't conform to the way we handle regular expressions in routes.
Greedy Regex routes need to begin with ^( and end with )$ or ), while Regex routes must start with ( and end with ).
https://github.com/NancyFx/Nancy/wiki/Defining-routes
At a glance I would assume your route needs to look like;
^(?:\/[\w\/\-\%]+-c(?<id>\d+)(?:\/(?<page>\d{1,2}))?)$


Error while running the code

When I try to run the main.cpp I get the following error-
g++ main.cpp
In file included from main.cpp:3:0:
graphql.h:11:8: error: ‘void GraphQL::Query(std::__cxx11::string, Resolver ...) [with T = Custumer; Resolver = {main()::<lambda(std::__cxx11::string)>}; std::__cxx11::string = std::__cxx11::basic_string]’, declared using local type ‘main()::<lambda(std::__cxx11::string)>’, is used but never defined [-fpermissive]
void Query(string name, Resolver... resolver);

the same problem. why there was no implementation of that?

It's just an initial concept,. At last week I try the first implementations, but the desired implementation depends on non intrusive reflection (maybe on language standard C++20).
Thank's by the interest, now that it's seems something useful, I'll apply more time to implement.
However any help are welcome.


fix: fix bug in mysql probe

Related Issue(s) & Descriptions

Checklist

[x] Tests were added or are not required
[x] Documentation was added or is not required

/cherry-pick release-0.3


Track overwrites

Once the basics of #14 are implemented, I would like to see if its fessable to track witch mod is overwriting what resource. To potentially log a warning if 2 mods overwrite the same thing.
To do this with the implementation from #74 the overwrites.gd or the overwrites folder has all the information we need to do this. If the mod creator followed the recommendation to mirror the games folder structure inside the overwrites folder.
So 2 possibilities I can think of:
A) Regex the overwrites.gd for paths starting with res://
B) Use get_flat_view_dict(overwrites_folder)
Then save the paths to the original resources in mod_data and compare.

For both of these solutions there will be a performance cost involved, and caveats.

a) We also need to keep in mind that the regex will need to be perfect and would need to account to variation in how people code things.
b) That would be dependent on modders having a standardised setup, and I've seen first-hand that they sometimes don't, so I don't this this option is viable.

So with just option A available, is the benefit worth the performance cost? And can we ensure that whatever regex we create could handle all user cases?

This has been open for quite some time, and currently, we don't have a need for this functionality, so I will close it for now.


Bitcoin UTXO db has changed

Bringing a bug fix and improving performance.
We need to look at the possibility of adopting this.
https://github.com/bitcoin/bitcoin/pull/10195

This will also consider and fix #5


[upgrade-openshift] Adding pip upgrade and missing dependencies

Signed-off-by: Vicente Zepeda Mas<EMAIL_ADDRESS>Description
Adding pip upgrade to Dockerfiles and missing dependencies due to build failures.
Fixes

Codecov Report

Merging #388 (d97f965) into master (92ca28a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #388   +/-   ##
=======================================
  Coverage   39.35%   39.35%
=======================================
  Files          15       15
  Lines         869      869
=======================================
  Hits          342      342
  Misses        527      527

Flag
Coverage Δ

gha
39.35% <ø> (ø)

python-3.6
39.35% <ø> (ø)

unit
39.35% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out 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 92ca28a...d97f965. Read the comment docs.

Results for SNAFU CI Test

Test
Result
Runtime

snafu/upgrade_openshift_wrapper
PASS
00:00:00


Contact Information

[ ] Name (including first and last) Email, phone, address, city, zip code.
[ ] Assure these fields are properly completed with form validation.
[ ] Collect when the participant would like to be contacted, if we need to reach them by phone.
[ ] Gather how the participant learned about the site.

Is this information needed for all users, or just study participants (professionals vs. study participants and caregivers)? Should this be part of user registration or study enrollment?


"Contact Us" Page to the Website(hacktoberfest)

Description:
Create a new "Contact Us" page for the website that allows visitors to get in touch easily. The page should include a contact form and additional contact details.
Contact Form:
Fields: Name, Email, Subject, Message.
A submit button that sends the data to the backend or triggers an email.
Basic form validation (e.g., required fields, valid email format).
Contact Information Section:
Display contact details like an email address, phone number, and office address (if applicable).
Optionally include social media links/icons for easy access.
Design Considerations:
The layout should be responsive and mobile-friendly.
Consistent design with the rest of the website (color scheme, fonts, etc.).
Include clear error and success messages for the form submission.

Assign me

Hey @MARKASCHARAN!  Go ahead with triggering the email. I am assigning it to you

Hey @MARKASCHARAN! As I didn't get any response from your end I closed the issue. Do you want me to open it again?

Please open, I have exams till today that's why I haven't replied back. Please open remaining issues also if possible. I will complete them as soon as possible.

@Aneeshaik can I use FormSubmit to send contact form's details on our email? If no, then please share which service provider should I use for this?


Tricksaber 1.1.2 is 1.1.1 when I download it, also my plasma katana isnt spinning nor throwing

yes, I have deleted old version and tried over and over. I also do have saber factory.
also when i throw the saber it doesnt throw the custom saber it just makes a normal beat saber saber appear and get thrown in the direction i threw.

Please see if the newest version fixes your issues.

Is there a dll file to download? The releases last updated in December and only go up to 1.19; v1.1.2. I don't think you can download from the master, as it needs to compile to dll too, right?


[Android] com.meizu.widget.OverScrollerExt cannot be cast to android.widget.OverScroller

Hi, I have a problem with my app on Meizu MX2 (Android 4.4.4).
After my app launches and I'm trying to open menu or do any other action in my app, I've got this error:

It's in debug mode, in release mode my app just silently crashes.
I googled a lot and here are the things I have tried:

add android:overScrollMode="never" to maps.xml:

<fragment xmlns:android="http://schemas.android.com/apk/res/android"
    ...
    android:overScrollMode="never"
    ... />

It doesn't helps.

add the following to styles.xml:

<resources>
    <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
        <item name="android:overScrollMode">never</item>
        <item<EMAIL_ADDRESS>        <item<EMAIL_ADDRESS>    </style>

    <style name="Widget.AppTheme.ListView" parent="android:Widget.ListView">
        <item name="android:overScrollMode">never</item>
    </style>

    <style name="Widget.AppTheme.ScrollView" parent="android:Widget.ScrollView">
        <item name="android:overScrollMode">never</item>
    </style>
</resources>

It doesn't helps.
Maybe someone can help me.
There is custom firmware installed by default on Meizu phones - Flyme OS (on MX2 it's Flyme OS <IP_ADDRESS>i).
I think the problem is connected with it.
I'm using RN 0.33.0.RC.0, MacOS 10.11.6.

i have the same problem. have you solved?

I have this problem too.
It seems that this error occurs only on Meizu devices, My code run well on simulator.

I still have no solution for this :(
I think we need sombody from RN developers to solve this problem.

I have the same problem when I upgrade 0.33 from 0.31

It's also on 0.34.RC.0.

I have the same problem

Same issue.

@janicduplessis this problem seems still exist on v0.34.0-rc.0.

It should be irrelevant with the RN, most likely the Flyme OS extends the official ScrollView (for bouncing?) I don't have a device by Meizu to verify though.

You can contact some Flyme OS developers to investigate this issue: https://github.com/flymeOS.
cc @duanqz

@nihgwu but version 0.31 is ok, so i think it could be modify something what  cause this problem

@zackteng then you can compare the branches to locate the commit which result this regression, since witch release

It was fixed by this commit: https://github.com/facebook/react-native/commit/5deb528695a8a47156a331b2a0182fabef0253d7

Closing this since it was fixed.

mark


Added DuckDuckGo support and create a common interface for search engines

This PR introduces DuckDuckGo support and refactored the code in src/browser/search.py file to create a common interface for accessing search engines.
Changes Made:

Added duckduckgo_search dependency in requirements.txt

src/browser/search_engines/Bing.py : Contains the BingSearch class for Bing search functionality.

src/browser/search_engines/DuckDuckGo.py : Contains the DuckDuckGoSearch class for DuckDuckGo search functionality.

Removed previous BingSearch implementation from src/browser/search.py.

Introduced WebSearch class into src/browser/search.py as the common interface for web search.

This PR fixes these issues : #186 #97 #65 #38

Hey @Vishnuxx, thanks for the PR! Looks good to me, would you be able to resolve the merge conflicts? Will merge this right away! Also, this collides with #99 and #70 right? Can you please take a look into that as well? 🙌

Hello @mufeedvh, thank you for your response! The conflicts have been resolved, and this pull request is now ready for merging. Please review once again and proceed with the merge.

Hii @Tineshnehete , thanks for reviewing the PR!

how to use this in devika?

@Tineshnehete Thanks once again for reviewing. I've made these changes. Now you can set the default search engine in config.toml file.

how to use this in devika?

Hii @nityavp , you can use this feature right after the moderators merges this PR.

hey already these functionalities are been merged into the main so can we close this.


Inline Buttons not working in tables

Hi,
I have inline buttons placed in tables. Until today, they all worked just fine, but have stopped working. Any chance this is due to the plugin?

Can you provide more information about your usecase and what behaviors are not working as expected?

Background:
The buttons plugin has an option for embedding inline buttons by enclosing the button id in backticks.
Use case:
In my Obsidian setup, I have a table of inline buttons in the side panel to easily create templates.

Expected behavior:
When loading Obsidian, the side-panel table with inline buttons loads automatically and clicking on a button executes the associated command, e.g. creates a new template note as it does outside of a table.
Current behavior:
When loading Obsidian, the table does not load automatically, but requires me to remove it from the side panel, close the file, and then reopen the file to load properly and when I click on an inline button in a table, nothing happens.

Is this problem still present?

Because buttons are a critical part of my workflow, unfortunately, I had to stop using the plugin


no kernel module package kmod-nvidia-470.57.02-4.18.0-305.19.1 for kernel version 4.18.0-305.19.1.el8_4 and NVIDIA driver 470.57.02 could be found

It might be that I am a bit early, but maybe a CI machine has not act as it should, as in #27 so I post this already today
following the recommendation in this discussion,
https://access.redhat.com/solutions/4134401#comment-2124501
I am reporting this issue here since I just got
NOTE: Skipping kernel installation since no kernel module package kmod-nvidia-470.57.02-4.18.0-305.19.1 for kernel version 4.18.0-305.19.1.el8_4 and NVIDIA driver 470.57.02 could be found
Error:
 Problem 1: package kernel-modules-4.18.0-305.19.1.el8_4.x86_64 requires kernel-uname-r = 4.18.0-305.19.1.el8_4.x86_64, but none of the providers can be installed
  - cannot install the best update candidate for package kernel-modules-4.18.0-305.7.1.el8_4.x86_64
  - package kernel-core-4.18.0-305.19.1.el8_4.x86_64 is filtered out by exclude filtering
 Problem 2: package kernel-modules-4.18.0-305.19.1.el8_4.x86_64 requires kernel-uname-r = 4.18.0-305.19.1.el8_4.x86_64, but none of the providers can be installed
  - cannot install the best update candidate for package kernel-modules-4.18.0-305.12.1.el8_4.x86_64
  - package kernel-core-4.18.0-305.19.1.el8_4.x86_64 is filtered out by exclude filtering
 Problem 3: package kernel-modules-4.18.0-305.19.1.el8_4.x86_64 requires kernel-uname-r = 4.18.0-305.19.1.el8_4.x86_64, but none of the providers can be installed
  - cannot install the best update candidate for package kernel-modules-4.18.0-305.17.1.el8_4.x86_64
  - package kernel-core-4.18.0-305.19.1.el8_4.x86_64 is filtered out by exclude filtering
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Hi Harald, the CI/CD pipelines are working through 4.18.0-305.19.1 but it's a multi-step process, with each validation step taking several hours to complete; for the four driver branches currently supported. This is why we give an estimate of about 24 hours turn-around time. I will update again, once it is posted (ETA ~ 06:00 UTC+2)

Okay kmod packages are live now: https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/precompiled/

Date
Component
Driver version
Kernel version
Kernel suffix

2021-09-15
kmod-nvidia
470.57.02
4.18.0-305.19.1
el8_4.x86_64

2021-09-15
kmod-nvidia
460.91.03
4.18.0-305.19.1
el8_4.x86_64

2021-09-15
kmod-nvidia
450.142.00
4.18.0-305.19.1
el8_4.x86_64

2021-09-15
kmod-nvidia
418.211.00
4.18.0-305.19.1
el8_4.x86_64

Thanks you, I can confirm it works!
Too sad that the experience RedHat + Nvidia is not as user friendly as it could be, like , say on Ubuntu.
My T480 gets dated, and for the next Thinkpad I will either have to decide to skip the Nvidia card, or switch away from RH.
What is sad, since CentOS Stream looks actually appealing to me, but for Stream is no user friendly solution at all, or is it?


Custom block categories

Alternative to #1498, but without the magic. Supports custom category order as well

[x] Add changeset (if necessary)

This is still missing validation of the custom block categories (duplicates, overlaps with default categories),  but I like it a lot better than the other version. 🙂

This is still missing validation of the custom block categories (duplicates, overlaps with default categories)

Added validation in 05514280b680184a06072718fe59462e9a3c8761 and 2ae5c902f2d1c868132718c6f9fb31f207e8ad30.

@nsams @thomasdax98 this PR is ready for review now


Update credentials package

TODO: Fill out

Considering refactoring the existing Did and DidMethod constructs to this:
public abstract class Did(public val uri: String, public val km: KeyManager) {
  public companion object {
    // static helper methods here
  }
}

public interface CreateDidOpts

public interface ResolveDidOpts

public interface DidMethod<T : Did> {
  public val methodName: String

  public fun create(km: KeyManager, options: CreateDidOpts? = null): T

  public fun resolve(didUrl: String, opts: ResolveDidOpts? = null): DidResolutionResult
}

here's what an example concrete implementation would look like:
public class CreateDidKeyOpts(public val algorithm: Algorithm, public val curve: Curve? = null) : CreateDidOpts

public class DidKey(uri: String, km: KeyManager) : Did(uri, km) {
  public fun resolve(): DidResolutionResult {
    return resolve(this.uri)
  }

  public companion object : DidMethod<DidKey> {
    override val methodName: String = "key"

    override fun create(km: KeyManager, options: CreateDidOpts?): DidKey {
      val opts = options as? CreateDidKeyOptions ?: throw IllegalArgumentException("Invalid options provided")

      return create(km, opts)
    }

    public fun create(km: KeyManager, options: CreateDidKeyOptions): DidKey {
      TODO("Not implemented yet")
    }

    override fun resolve(didUrl: String, resolveDadOpts: ResolveDidOpts?): DidResolutionResult {
      TODO("Not yet implemented")
    }
  }
}

Rationale:

Current approach is fragmented. ^ allows us to keep everything related to DidKey under one roof.
instantiating concrete implementations is a bit odd with how stuff is currently implemented.
an instance of a concrete implementation can make use of resolve

Thoughts?

Codecov Report

Merging #63 (f763c42) into main (6901ced) will decrease coverage by 2.51%.
The diff coverage is 35.32%.

@@            Coverage Diff             @@
##             main      #63      +/-   ##
==========================================
- Coverage   13.09%   10.59%   -2.51%
==========================================
  Files          15       18       +3
  Lines         443      557     +114
  Branches       54       71      +17
==========================================
+ Hits           58       59       +1
- Misses        380      490     +110
- Partials        5        8       +3

Files
Coverage Δ

.../kotlin/web5/credentials/PresentationDefinition.kt
0.00% <ø> (ø)

...lin/web5/credentials/utils/XmlSchema112DateUtil.kt
0.00% <ø> (ø)

...ypto/src/main/kotlin/web5/sdk/crypto/KeyManager.kt
0.00% <ø> (ø)

...rypto/src/main/kotlin/web5/sdk/crypto/Secp256k1.kt
0.00% <ø> (ø)

.../main/kotlin/web5/sdk/crypto/InMemoryKeyManager.kt
0.00% <0.00%> (ø)

dids/src/main/kotlin/web5/sdk/dids/DidMethod.kt
0.00% <0.00%> (-100.00%)
:arrow_down:

dids/src/main/kotlin/web5/sdk/dids/DidResolvers.kt
0.00% <0.00%> (ø)

...in/kotlin/web5/credentials/PresentationExchange.kt
0.00% <0.00%> (ø)

...in/kotlin/web5/credentials/VerifiableCredential.kt
69.41% <69.41%> (ø)

dids/src/main/kotlin/web5/sdk/dids/DidKey.kt
0.00% <0.00%> (-79.49%)
:arrow_down:

... and 1 file with indirect coverage changes


Display randomly stopped appearing in display settings but is still in device manager

My display randomly stopped appearing in display settings even though it is still in device manager. Also when i try and delete and reinstall, it doesnt do that zoom in zoom out thing that you usually get when adding a display.

Did you be sure to choose Display Adapters at this step?


Add scripts for building rawpy from source locally

The current scripts are supposed to work in a CI environment.
On trying these on a local machine; if the build fails due to some reason, subsequent attempts to build rawpy won't work and you might see errors like:
+ source .github/scripts/retry.sh
+ export MACOSX_DEPLOYMENT_TARGET=10.9
+ MACOSX_DEPLOYMENT_TARGET=10.9
+ export PYTHON_INSTALLER_MACOS_VERSION=10.9
+ PYTHON_INSTALLER_MACOS_VERSION=10.9
+ '[' 3.7 == 3.5 ']'
+ git clone https://github.com/matthew-brett/multibuild.git
fatal: destination path 'multibuild' already exists and is not an empty directory.

We need to have new scripts that take this case into account and add some documentation to the Readme on how to use them as well.

Instead of having new mostly copied scripts I would rather try to make the CI scripts more generic so that they also work locally well.

Sure thing, doing that makes more sense.
On Fri, 10 Apr 2020, 21:28 Maik Riechert<EMAIL_ADDRESS>wrote:

Instead of having new mostly copied scripts I would rather try to make the
CI scripts more generic so that they also work locally well.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/letmaik/rawpy/issues/108#issuecomment-612094546, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALLWCVEZM23C62LVOEQJD4TRL462ZANCNFSM4MFQK5XA
.


CSDS: add new config status ACKED

Signed-off-by: Lidi Zheng<EMAIL_ADDRESS>Signed-off-by: Lidi Zheng<EMAIL_ADDRESS>Commit Message: Add new config status for CSDS: ACKED.
Additional Description: As the CSDS service definition described, it has the potential to be used to expose xDS config from a client or proxy. gRPC wants to utilize this service to improve its debuggability. But the ConfigStatus is designed from the control plane point of view. Especially, the client cannot predict if there is new config on its way, so it can't accurately claim any xDS config status as SYNCED. We need another config status to indicate the status that the client received the status and sent out ACK. The actual wording is up to debate.
Risk Level: Low
Testing: Not needed
Docs Changes: Inline with proto definition
Release Notes: New config status for CSDS: ACKED.
CC @fuqianggao @markdroth @menghanl

Let's split this out as a separate enum. I feel it's going to be necessary for any CSDS client to have some logic to make sense of whether they are interpreting a management or client status here.

Please also change the comment on line 23-26 to indicate that we are now going to use this on the xDS client side.  Thanks!

(Whoops -- I didn't realize that my approving the PR would satisfy the API approval requirement; I thought I had to say "/lgtm api".  But since one of the maintainers has to review before merging anyway, that's probably okay.)

@htuch PTALAA. All tests are passing, and the mentioned behavior is documented.


Problem in running Mininet in docker

Hello,
I am trying to run the mininet within an ubuntu container using docker. However, I cannot run any of the examples successfully. These are the commands I have used:

sudo docker run -it --name="ubuntu_ovs" ubuntu:latest /bin/bash
root@66167533a128:/# sudo apt-get update
root@66167533a128:/# sudo apt-get install mininet
root@66167533a128:/# sudo apt-get install git
root@66167533a128:/# git clone git://github.com/mininet/mininet.git
root@66167533a128:/# cd mininet/examples
root@66167533a128:/mininet/examples# sudo python nat.py

I get the following errors for all examples in the folder. Do you have any idea what the problem is?
*** Error setting resource limits. Mininet's performance may be affected.
*** Creating network
*** Adding controller
*** Adding hosts:
h1 h2 h3 h4
*** Adding switches:
s1
*** Adding links:
Traceback (most recent call last):
File "nat.py", line 104, in
net = TreeNet( depth=1, fanout=4 )
File "/usr/lib/python2.7/dist-packages/mininet/topolib.py", line 36, in TreeNet
return Mininet( topo, *_kwargs )
File "/usr/lib/python2.7/dist-packages/mininet/net.py", line 164, in init
self.build()
File "/usr/lib/python2.7/dist-packages/mininet/net.py", line 357, in build
self.buildFromTopo( self.topo )
File "/usr/lib/python2.7/dist-packages/mininet/net.py", line 344, in buildFromTopo
self.addLink( src, dst, srcPort, dstPort, *_params )
File "/usr/lib/python2.7/dist-packages/mininet/net.py", line 287, in addLink
return cls( node1, node2, *_defaults )
File "/usr/lib/python2.7/dist-packages/mininet/link.py", line 362, in init
link=self, *_params1  )
File "/usr/lib/python2.7/dist-packages/mininet/link.py", line 45, in init
node.addIntf( self, port=port )
File "/usr/lib/python2.7/dist-packages/mininet/node.py", line 355, in addIntf
moveIntf( intf.name, self )
File "/usr/lib/python2.7/dist-packages/mininet/util.py", line 202, in moveIntf
srcNode=srcNode, printError=printError )
File "/usr/lib/python2.7/dist-packages/mininet/util.py", line 167, in retry
while not fn( _args, *_keywords ) and tries < retries:
File "/usr/lib/python2.7/dist-packages/mininet/util.py", line 186, in moveIntfNoRetry
links = dstNode.cmd( 'ip link show' )
File "/usr/lib/python2.7/dist-packages/mininet/node.py", line 283, in cmd
self.sendCmd( _args, *_kwargs )
File "/usr/lib/python2.7/dist-packages/mininet/node.py", line 229, in sendCmd
self.write( cmd + '\n' )
File "/usr/lib/python2.7/dist-packages/mininet/node.py", line 182, in write
os.write( self.stdin.fileno(), data )
OSError: [Errno 32] Broken pipe
These are also the outputs after running ovs service start and restart. I can manually add ovs instances without any problem.
root@66167533a128:/mininet/examples# sudo service openvswitch-switch restart

Killing ovs-vswitchd (788)
Killing ovsdb-server (778)
nice: cannot set niceness: Permission denied
Starting ovsdb-server
Configuring Open vSwitch system IDs
nice: cannot set niceness: Permission denied
Starting ovs-vswitchd
Enabling remote OVSDB managers

It's likely there is something deficient in your container environment.

It works fine for me in a container.
The nat.py example is a bit obsolete - please try
sudo mn --nat
To debug the problem, please try
sudo mn --nat -v debug
Please confirm that the following works correctly
sudo mn --test pingall
sudo mn --nat -v debug

Thank you.

Thanks Bob.
I have tried this on other machines and were able to reproduce the same problem. I installed a fresh docker and ran the latest official container from DockerHub.  Given the sudo mn --nat was not available in the Mininet 2.1. I got a new container and compiled Mininet by  mininet/util/install.sh -fnv.
Now the output of sudo mn --nat -v debug is:
root@d3d74b08aebb:/# sudo mn -v debug
0*** Setting resource limits
*** Error setting resource limits. Mininet's performance may be affected.
*** Creating network
*** Adding controller
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ifconfig']
/sbin/ifconfig
0*** c0 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
*** errRun: ['which', 'telnet']
/usr/bin/telnet
0*** c0 : ('echo A | telnet -e A <IP_ADDRESS> 6633',)
Telnet escape character is 'A'.
Trying <IP_ADDRESS>...
telnet: Unable to connect to remote host: Connection refused
*** Adding hosts:
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ifconfig']
/sbin/ifconfig
0

Why are you not using the latest Mininet?
That isn't the complete output from mn --nat -v debug
You should try mn --nat -v debug --test pingpair or something

I am using the latest Mininet and compiled it successfully based on INSTAL file. I can also confirm OVS works perfectly without any problem.
root@a3c769c17cbd:/# mn --version ---->2.2.1

The following is the complete output of "mn --nat v debug". The output freezes at the last line and never goes forward and I have to stop the code with "Ctrl+C".

root@a3c769c17cbd:/# mn --nat -v debug
*** errRun: ['which', 'controller']
/usr/local/bin/controller
0*** errRun: ['grep', '-c', 'processor', '/proc/cpuinfo']
32
0*** Setting resource limits
*** Error setting resource limits. Mininet's performance may be affected.
*** Creating network
*** Adding controller
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ifconfig']
/sbin/ifconfig
0*** c0 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
*** errRun: ['which', 'telnet']
/usr/bin/telnet
0*** c0 : ('echo A | telnet -e A <IP_ADDRESS> 6633',)
Telnet escape character is 'A'.
Trying <IP_ADDRESS>...
telnet: Unable to connect to remote host: Connection refused
*** Adding hosts:
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ifconfig']
/sbin/ifconfig
0

The complete output for mn --nat -v debug --test pingpair is similar to the above output:

root@a3c769c17cbd:/# mn --nat -v debug --test pingpair
*** errRun: ['which', 'controller']
/usr/local/bin/controller
0*** errRun: ['grep', '-c', 'processor', '/proc/cpuinfo']
32
0*** Setting resource limits
*** Error setting resource limits. Mininet's performance may be affected.
*** Creating network
*** Adding controller
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ifconfig']
/sbin/ifconfig
0*** c0 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
*** errRun: ['which', 'telnet']
/usr/bin/telnet
0*** c0 : ('echo A | telnet -e A <IP_ADDRESS> 6633',)
Telnet escape character is 'A'.
Trying <IP_ADDRESS>...
telnet: Unable to connect to remote host: Connection refused
*** Adding hosts:
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ifconfig']
/sbin/ifconfig
0
4. I meant I am using the latest official ubuntu container from dockerhub not Mininet.
Thanks.

That doesn't look like the complete output. Are you saying it's hanging at ifconfig?

Thanks Bob for your help. I really appreciate it. Unfortunately, the code hangs at ifconfig. If I do hit Control+C, it stays there forever.
1- After I hit Control-C, I get the following output:
root@a3c769c17cbd:/# mn --test pingall -v debug
*** errRun: ['which', 'controller']
/usr/local/bin/controller
0*** errRun: ['grep', '-c', 'processor', '/proc/cpuinfo']
32
0*** Setting resource limits
*** Error setting resource limits. Mininet's performance may be affected.
*** Creating network
*** Adding controller
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ifconfig']
/sbin/ifconfig
0*** c0 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
*** errRun: ['which', 'telnet']
/usr/bin/telnet
0*** c0 : ('echo A | telnet -e A <IP_ADDRESS> 6633',)
Telnet escape character is 'A'.
Trying <IP_ADDRESS>...
telnet: Unable to connect to remote host: Connection refused
*** Adding hosts:
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ifconfig']
/sbin/ifconfig
0^C
Keyboard Interrupt. Shutting down and cleaning up...
*** Removing excess controllers/ofprotocols/ofdatapaths/pings/noxes
killall controller ofprotocol ofdatapath ping nox_core lt-nox_core ovs-openflowd ovs-controller udpbwtest mnexec ivs 2> /dev/null
killall -9 controller ofprotocol ofdatapath ping nox_core lt-nox_core ovs-openflowd ovs-controller udpbwtest mnexec ivs 2> /dev/null
pkill -9 -f "sudo mnexec"
*** Removing junk from /tmp
rm -f /tmp/vconn* /tmp/vlogs* /tmp/.out /tmp/.log
*** Removing old X11 tunnels
*** errRun: ['pkill', '-9', '-f', 'mnexec.socat']
1** Removing excess kernel datapaths
ps ax | egrep -o 'dp[0-9]+' | sed 's/dp/nl:/'
***  Removing OVS datapaths
ovs-vsctl --timeout=1 list-br
ovs-vsctl --timeout=1 list-br
*** Removing all links of the pattern foo-ethX
ip link show | egrep -o '([-_.[:alnum:]]+-eth[[:digit:]]+)'
ip link show
*** Killing stale mininet node processes
pkill -9 -f mininet:
*** Shutting down stale tunnels
pkill -9 -f Tunnel=Ethernet
pkill -9 -f .ssh/mn
rm -f ~/.ssh/mn/*
*** Cleanup complete.
2- Similarly this command (mn --test pingall -v debug) also does not run properly. It seems Mininet cannot completely create the topology to perform the ping operation (take a look at the above output).
3- These are my kernel information: Linux a3c769c17cbd 3.13.0-53-generic #89-Ubuntu SMP Wed May 20 10:34:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux / Distributor ID:Ubuntu Description:	Ubuntu 14.04.2 LTS Release:	14.04 Codename:	trusty.
4-  It seems the output of the command is not what we expect (see below). Do you have any pointer why this happens?
root@a3c769c17cbd:/# sudo mnexec -n ip link show
unshare: Operation not permitted
Thanks a lot!

Thanks Bob. I was able to address the above problem.  I have uploaded my mininet container in dockerhub:
sudo docker pull imehrdad2012/mininet
sudo docker run –privileged=true -it imehrdad2012/mininet

That's your problem. Please use a different kernel that has CONFIG_NET_NS enabled.
$ uname -r
3.16.0-26-generic
$ grep CONFIG_NET_NS  /boot/config-`uname -r`
CONFIG_NET_NS=y

@imehrdad2012 I see that you deleted your minnet container from docker hub? Why? And also i would like to know if its a sensible idea to run mininet on docker at this time, ora completely waste of time?

@imehrdad2012 What was the solution for this behavior? I'd like to reproduce this test environment and keep getting the same error...

Similar problem experienced here.
Solution for connecting mininet to internet in docker would be much appreciated.

This problem caused when mininet can't set below kernels parameters in docker container.
#Increase arp cache size
sysctlTestAndSet( 'net.ipv4.neigh.default.gc_thresh1', 4096 )
sysctlTestAndSet( 'net.ipv4.neigh.default.gc_thresh2', 8192 )
sysctlTestAndSet( 'net.ipv4.neigh.default.gc_thresh3', 16384 )

You can fix this problem by sharing host kernel parameters with docker container.
Dockerfile and docker-compose file provided here

I am also getting the same error in the ubuntu terminal in Windows machine:
Please fine below the logs:
sudo mn --version
2.3.0d6
uname -r
4.4.0-17134-Microsoft
sudo mn --nat -v debug
*** errRun: ['which', 'controller']
/usr/local/bin/controller
0*** errRun: ['grep', '-c', 'processor', '/proc/cpuinfo']
8
0*** Setting resource limits
*** Error setting resource limits. Mininet's performance may be affected.
*** Creating network
*** Adding controller
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ifconfig']
/sbin/ifconfig
0_popen ['mnexec', '-cd', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:c0'] 540*** c0 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
*** errRun: ['which', 'telnet']
/usr/bin/telnet
0*** c0 : ('echo A | telnet -e A <IP_ADDRESS> 6653',)
Telnet escape character is 'A'.
Trying <IP_ADDRESS>...
telnet: Unable to connect to remote host: Connection refused
*** Adding hosts:
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ifconfig']
/sbin/ifconfig
0_popen ['mnexec', '-cdn', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:h1'] 547
sudo mn --test pingall -v debug
*** errRun: ['which', 'controller']
/usr/local/bin/controller
0*** errRun: ['grep', '-c', 'processor', '/proc/cpuinfo']
8
0*** Setting resource limits
*** Error setting resource limits. Mininet's performance may be affected.
*** Creating network
*** Adding controller
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ifconfig']
/sbin/ifconfig
0_popen ['mnexec', '-cd', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:c0'] 587*** c0 : ('unset HISTFILE; stty -echo; set +m',)
unset HISTFILE; stty -echo; set +m
*** errRun: ['which', 'telnet']
/usr/bin/telnet
0*** c0 : ('echo A | telnet -e A <IP_ADDRESS> 6653',)
Telnet escape character is 'A'.
Trying <IP_ADDRESS>...
telnet: Unable to connect to remote host: Connection refused
*** Adding hosts:
*** errRun: ['which', 'mnexec']
/usr/bin/mnexec
0*** errRun: ['which', 'ifconfig']
/sbin/ifconfig
0_popen ['mnexec', '-cdn', 'env', 'PS1=\x7f', 'bash', '--norc', '--noediting', '-is', 'mininet:h1'] 594

Please suggest the solution for the above issue.

This issue has been closed; if you think there is a bug, please open a bug report issue. However, the behavior you are showing doesn't appear to be a bug.

*** Error setting resource limits. Mininet's performance may be affected.
*** Creating network
*** Adding controller
*** Adding hosts:
h1 h2
*** Adding switches:
s1
*** Adding links:
(h1, s1) (h2, s1)
*** Configuring hosts
h1 h2
*** Starting controller
c0
*** Starting 1 switches
I got the above error after setting up my mininet on Ubuntu 18.04. I am working on a remote server and I have been stuck on this for 3 days, please help me. How may I solve this?

@alkaneseries did you checked the following repository? What is your docker file? How do you run it?
https://github.com/iwaseyusuke/docker-mininet

I tried everything, still did not work
On Tue, May 25, 2021 at 9:41 AM Sina Kashipazha @.***>
wrote:

@alkaneseries https://github.com/alkaneseries did you checked the
following repository? What is your docker file? How do you run it?
https://github.com/iwaseyusuke/docker-mininet
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mininet/mininet/issues/529#issuecomment-847630595,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATHFFA6SGTTDTI6Y6DK4ECLTPNIDLANCNFSM4BJBR7XQ
.


INSTALL_FAILED_CONFLICTING_PROVIDER

Installation failed with message Failed to finalize session : INSTALL_FAILED_CONFLICTING_PROVIDER: Package couldn't be installed in /data/app/com.karanm.scandemo-1: Can't install because provider name com.scanlibrary.provider (in package com.karanm.scandemo) is already used by com.scanner.demo.
It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?

Looks like you have first installed the application and then changed the package name and tried to install it again. Please try by uninstalling the first installed app and then install the one with new package name.


Allow unsafe-eval CSP for jointjs

"Generate Database Diagram" was broken on the inclusion of a CSP (#623) as it requires the unsafe-eval policy. This policy is not recommended for security reasons, but is necessary until we can upgrade to jointjs (#533). Given that we do not load external webpages, the risk here is somewhat minimal until we can resolve it.
This does re-introduce the warning in #617, but the alternatives are fix the upgrade to JointJS 3.x (which is beyond my time constraints at the moment) or just disable the diagram rendering altogether.

As we discussed on Slack, upgrading JointJS to the latest version would require too much work and it is in none of our scopes to work on that. Also, we are not sure if anyone is even using that feature. So, it seems it would be better to disable or remove the diagram feature for now and keep the app in a good security state. Once we have time to add the diagram back again, we could upgrade JointJS or even use a different framework.


chore: upgrade yarn from v1 to v4.5

Summary of changes

yarn v1 has been deprecated for years: https://yarnpkg.com/migration/overview
Changes introduced in this pull request:

upgrade yarn
update .gitignore files accordingly

CI log: https://github.com/ChainSafe/forest/actions/runs/11005487857/job/30558223981?pr=4789#step:3:5
corepack enable && yarn && yarn md-check
! Corepack is about to download https://repo.yarnpkg.com/4.[5](https://github.com/ChainSafe/forest/actions/runs/11005487857/job/30558223981?pr=4789#step:3:6).0/packages/yarnpkg-cli/bin/yarn.js
➤ YN0000: Yarn detected that the current workflow is executed from a public pull request. For safety the hardened mode has been enabled.
➤ YN0000: It will prevent malicious lockfile manipulations, in exchange for a slower install time. You can opt-out if necessary; check our documentation for more details.

➤ YN0000: · Yarn 4.5.0
➤ YN0000: ┌ Resolution step
Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
Fetch step
➤ YN0000: └ Completed in 0s 210ms
➤ YN0000: ┌ Link step
Link step
➤ YN0000: └ Completed
➤ YN0000: · Done in 0s 38[6](https://github.com/ChainSafe/forest/actions/runs/11005487857/job/30558223981?pr=4789#step:3:7)ms
Checking formatting...
All matched files use Prettier code style!

Reference issue to close (if applicable)

Closes
Other information and links

https://yarnpkg.com/getting-started/install
https://yarnpkg.com/migration/guide
https://yarnpkg.com/corepack
Change checklist

[x] I have performed a self-review of my own code,
[x] I have made corresponding changes to the documentation. All new code adheres to the team's documentation standards,
[x] I have added tests that prove my fix is effective or that my feature works (if possible),
[x] I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

@hanabi1224 unfortunately there is a link checker problem due to https://docs.forest.chainsafe.io/rustdoc/ 404 response.


When to implement abstract class?

I have submitted my solution for lab 4 which included a service class that was a parent class for the various cab services provided. The service class did not have any constructors and upon submission did I then realize that actually I could have submitted an abstract class instead, which in this case would have seemed to be more appropriate. I was just wondering if there are any particular conditions for us to look out for as to when to implement an abstract class?

Yeah I also came up on the same realization when I was working on my JustRide and TakeACab code. I think cases where you can create one abstract code (like the Service code for Lab 4) and extend different calculations in other classes (like JustRide and TakeACab) is the best time to use it.

Hi! Good question! I was also wondering the same thing. I have used abstract class "service" as the parent and the services as child, but only had an abstract method which all classes will Override differently. But at the same time, I heard it can be made such that it is a concrete class with a method that is smart enough to calculate for different service. haha. And from online sources, some conditions to keep in mind is that Abstract classes cannot be instantiated and abstract methods are used for overriding purpose. I guess use abstract class when we want to create abstract methods for child?

Hi guys! For me, I felt like because the fare computation was very different across various services (and possibly other services that can be implemented but not within the scope of the question), I decided to just go ahead with an interface for Service. Not too sure in this case, what's the significant difference between using an abstract class or interface? In the case for a Driver class, I decided to go with abstract class because different drivers offer different services so I would like to include a serviceList in this driver class that can be overriden and obtain the correct services offered by different drivers. However, it wouldn't make sense to return an empty list in the main Driver class also. Then my thought would be not to make it a normal class. Additionally, for compareTo() in Booking class, if fare is the same, waiting time will be the next factor for consideration. So to obtain the waiting time, i will have to access it from the driver classes (NormalCab and PrivateCar). But then because the attributes have to be private final, I will therefore need get methods. Since get() will be applicable to all drivers, it can be listed as public methods in the Driver class. In conclusion, an abstract class seems necessary for Driver. I'm not sure if this is a reasonable thought process also...Maybe someone can advise?

Hi, I am not too certain but my understanding was that it is a matter of preference and discretion, where interfaces are simpler to implement but abstract classes are more useful if there is functionality intrinsic among all the child classes and/or the parent makes sense to exist by itself.
E.g.
A square is a special type of rectangle, but a rectangle can exist alone. Methods like getArea and getPerimeter work for both classes, so by implementing them in rectangle, they would work for both.
A driver, however, is useless if it exists alone (abstract class). It cannot "promise" methods that call Service::computeFare since the base driver class does not have any services.
If driver has a method bestService() that calls Service::computeFare, and you were to do
for driver in list of drivers
       driver.bestService()

then there is a chance that if the client manages to pass a driver from the base driver class, the code will break.
You could always try and make sure that the base driver class is never added to the list, but it seems better practice and logical sense to implement it as an interface. Thus, I think its a matter of preference and discretion which is used.

I would say there is a degree of flexibility to how you implement your solution. However, take note that abstract classes cannot be instantiated on its own. Hence, the purpose is to provide a template for their child classes.
I feel that abstract classes are suitable for scenarios where multiple child classes have the methods in common, with a mix of a few which are identical and a few which contents are unique to the child class.
Abstract classes is an in between implementation of both interfaces and classes:
For interfaces, it is suitable if there are methods in the child class in common, but with different contents (e.g diff way of calculating fare). But the method contents are unfixed.
For classes, it is suitable if there are methods in the child class in common with the same contents (e.g same way of doing something).


[Bug]: Unable to change BG color of Modal

Is there an existing issue for this?

[X] I have searched the existing issues

Description
Unable to change BG color of Modal
Steps To Reproduce

DnD a modal
try changing the bg color

Public Sample App
No response
Issue video log
No response
Version
release

@riodeuno to check this


How do I get the HTTP Header for the image?

Issue Info

Info
Value

SDWebImage Version
3.7.2

Integration Method
cocoapods

Xcode Version
Xcode 9

How do I get the HTTPHeader for the image?

If you means you need to specify some HTTP headers before image request, using Headers filter or Headers set/get method. These two are the dynamic/static way to specify HTTP headers.
If you means to get the HTTP response's header information, this feature is not available in 4.x. But is already done in the 5.x via #2261 . If you need this, you can wait for 5.x release


Blank or Ghost Tile

Symptom
Krohnkite always seems to have blank tile on my layout. When my layout is tiling, it is the master tile. Then if I move a window to the master tile it moves the blank space somewhere else.
This only seems to happen on the first Virtual Desktop, any other desktops work fine.
How to Reproduce

Launch 'A terminal or any window'
Launch a second window
See error
Move the second window to the main tile
See error

Expected behavior
When you open the first window it opens in the main tile fullscreen, then the second window opens in the second half, so each window takes up half the screen.

What happens is the first window opens in the second half the screen, then the second window takes up a quarter of the screen. The first half is blank.
Environment

Distro: Fedora 40
KWin version: 6.1.3
Krohnkite version: 0.9.7
List of KWin scripts in use: Krohnkite

Notes
I previously installed Mudeer and Polonium, but have since removed them. I also tried removing and re-adding Krohnkite

read this
OR if you not using the latest git version you can rename this file (just delete .zip in name) and try install it.
krohnkite-0.9.7.kwinscript.zip

I do have xwaylandvideobridge in the ignore windows rules and it still didn't work. I have created a window rule to minimize it for now.
I will download and try to reinstall the zip above and see if that works

Okay installed version from the zip file seems to have worked.
Thanks


Add force_batch to utility pallet

Add force_batch to utility pallet which is useful for you wanna batch a bunch of calls that some of them may failed but failed can be ignored.
polkadot address: 13asnZw4BnT2dsTYU4YTm3GMXySF6ocNov96493SPMNrVd2c
polkadot companion: https://github.com/paritytech/polkadot/pull/5452

Very cool! You already have this deployed on the Khala testnet, right? For what are you using it, if I may ask?
A cargo +nightly fmt is needed for the CI and we need to re-benchmark it.
The code is very close the the original batch extrinsic. Any general ideas on this @bkchr ?

Very cool! You already have this deployed on the Khala testnet, right? For what are you using it, if I may ask? A cargo +nightly fmt is needed for the CI and we need to re-benchmark it.
The code is very close the the original batch extrinsic. Any general ideas on this @bkchr, @shawntabrizi ? PS: Does this break the API?

I forgot to click "comment" 😄

You already have this deployed on the Khala testnet, right?

Yes! we use this for a long time, I forgot to contribute to Substrate...

For what are you using it

We have serveral usecase, for example:

Khala chain is a control plane for off-chain workers (aka pruntime or miner), so people will group control their workers, some of miners already stopped or can't start for some reason (e.g. stake isn't enough), so some of calls fail is OKay for users, just pick those failed and retry
Workers should respond messages, they will submit their responses to the chain, sometimes workers duplicate respond a message, it's OK, and we don't want other responses drop

A cargo +nightly fmt is needed for the CI and we need to re-benchmark it.

Done
Overrall, this is another version of batch, now we have 3 types of batch:

batch  run calls until meets an error
batch_all like transaction that all calls should success
batch_try run calls and don't care error

The naming isn't great. Try implies that you try to execute something and bail on an error. So, this naming would fit better to the original dispatchable. We should rename the new one to convey its implementation details better to the user.

The naming isn't great. Try implies that you try to execute something and bail on an error. So, this naming would fit better to the original dispatchable. We should rename the new one to convey its implementation details better to the user.

could you give a suggest? it's should useful for batch a bunch of discrate calls, we also not satisfied its naming, but I don't have better idea.

Name changed.

bot merge

could you give me some direction?

We just need to add the weight info for that extrinsic since it is already deployed on Polkadot.
It would probably be enough to open an "empty" companion MR and then call the bench bot. There is an explanation here https://github.com/paritytech/substrate/blob/master/docs/CONTRIBUTING.adoc#updating-polkadot-as-well

could you give me some direction?

We just need to add the weight info for that extrinsic since it is already deployed on Polkadot. It would probably be enough to open an "empty" companion MR and then call the bench bot. There is an explanation here https://github.com/paritytech/substrate/blob/master/docs/CONTRIBUTING.adoc#updating-polkadot-as-well

Understood, thank you, I'll do this tomorrow

@bkchr companion added.

bot merge

@jasl if you would like a small tip in KSM or DOT, please include your address in the PR description.

bot merge

@jasl if you would like a small tip in KSM or DOT, please include your address in the PR description.

wow thanks!

bot merge

maybe I do things wrong...
follow the guide (https://github.com/paritytech/substrate/blob/master/docs/CONTRIBUTING.adoc#updating-polkadot-as-well) I've done step 1 - 4
use diener patch --crates-to-patch ../substrate --substrate to patch Polkadot, so the PR includes patch dependencies redirect to my local folder.

bot merge

/tip small

bot merge

bot merge


Help me create "Cumulative Returns" chart.

Dear Sir.
I am a developer from Japan.
I am very interested in your pyfolio repository.
I'd like to create "Cumulative Returns" chart but I have a difficult to understand your whole code.
Which file contains algorithm for "Cumulative Returns" and Bayesian cone.
I have data for the chart on my local machine.
Looking forward to your quick reply.
Best Regards,
Your follower.

https://github.com/quantopian/empyrical/blob/master/empyrical/stats.py#L103 and https://github.com/quantopian/pyfolio/blob/master/pyfolio/bayesian.py#L614


Added schema URL for all packages lower than 1.0.0

Added schema URL inclusion for all packages listed below that are in a version lower than 1.0.0.

open-telemetry/opentelemetry-auto-cakephp v0.0.1
open-telemetry/opentelemetry-auto-codeigniter v0.0.7
open-telemetry/opentelemetry-auto-ext-amqp v0.0.3
open-telemetry/opentelemetry-auto-guzzle v0.0.2
open-telemetry/opentelemetry-auto-io v.0.0.11
open-telemetry/opentelemetry-auto-laravel v.0.0.25
open-telemetry/opentelemetry-auto-mongodb v.0.0.5
open-telemetry/opentelemetry-auto-openai-php v.0.0.1
open-telemetry/opentelemetry-auto-pdo v0.0.13
open-telemetry/opentelemetry-auto-psr14 v.0.0.2
open-telemetry/opentelemetry-auto-psr3 v.0.0.6
open-telemetry/opentelemetry-auto-wordpress v.0.0.15
open-telemetry/opentelemetry-auto-yii v.0.0.4

I had understood in https://github.com/open-telemetry/opentelemetry-php/issues/1312#issuecomment-2118658228 that we should update to the latest semantic version which is currently 1.25.

I did say latest in that comment, but in a subsequent discussion (it might have been at SIG), we decided that we should favour getting a 1.0 release of all auto-instrumentation modules with 8.0 support, if possible. Going with semconv 1.25 would block 8.0.

I did say latest in that comment, but in a subsequent discussion (it might have been at SIG), we decided that we should favour getting a 1.0 release of all auto-instrumentation modules with 8.0 support, if possible. Going with semconv 1.25 would block 8.0.

Thank you for clarifying my doubt

LGTM :+1:


Extract triples (also an example of extracting obj-verb-obj)

sent = 'He just finished his undergraduate degree in genealogy at a university known for its Greek life, Southern Axolotl University (SAU).'

triples = grammatical_triples.extract(sent, TripleExtractorOptions(prep_phrase = True))

for triple in triples:
    print(triple)

Returns:
He finished degree
He finished just
He finished at university

But should return:
He finished degree in genealogy
He finished at university known for greek life
Southern Axolotl University known for greek life # example of obj-verb-obj

@stephbuon -- any other verb types?

@stephbuon
|He||||finished||at|||university||| |0
|He||||finished|||||degree||| |0
|He||||finished|||||just||| |0
|degree||||finish||at|||university||| |0
|degree||||finish|||||degree||| |0
|degree||||finish|||||just||| |0
|just||||finished||at|||university||| |0
|just||||finished|||||degree||| |0
|just||||finished|||||just||| |0
|He||||known||at|||university||| |0
|He||||known||for|||life||| |0
|university||||known||at|||univer


Support new API in getServices()

See getServices() implementation in accessories/Http.js for an
example of how to use.
Fixes #114
Fixes #57
/cc @madmod, @volschin

Looks very nice. I will try it today.

My first shim using the new API > FhemSwitchN.js:
https://gist.github.com/cflurin
The value for callback(null, value) inside getPowerState has to be a string, I don't know the reason, it should be a boolean.

@cflurin Very cool! You shouldn't have to coerce values to string - did you try true/false instead of 0/1?

Yes, I did. Using true/false or 0/1 EVE delivers N/A
I also get 0/1 instead of false/true from EVE, Insteon+ sends false/true!
.on('get', this.getPowerState.bind(this));

Nick, is there a reason why do you inherit from a special service and not from Accessory? Normally an acessory willl have at least two services, Service.AccessoryInformation and a specific one. Or did I missed up something?

@volschin Don't 100% follow - you mean why don't we inherit from Accessory class in HAP-NodeJS?

@nfarina In your HAP temperature example you require
var Accessory = require('HAP-NodeJS').Accessory;
and then work with new Accessory() and addService(Service.TemperatureSensor)
in http.js you dont do so and return directly the service.
So in HAP I can combine multiple services in one accessory.
Can this be done also in Homebridge?

Yes, I tried to simplify things in Homebridge's API - especially since we're already calling our objects "accessories" even though they don't inherit from HAP-NodeJS's Accessory class (and I'd like to not inherit from that). So this way you can just return an array of (possibly multiple) services in getServices(). And you can ignore AccessoryInformation service since it's added for you. Idea is to make things as easy as possible.

Means no chance to set serial numbers, firmware versions ... ?

What if you were optionally able to return an AccessoryInformation service as well?

This sounds good.

OK try that!

@cflurin When I use true/false in the Http sample, it works in Eve, MyTouchHome, and HomeKit Catalog - all show "On" correctly.  Might want to check one of your callbacks… should be callback(err) not callback(err, null)

@nfarina, Thanks I'll fix it.
I'm trying the Service.AccessoryInformation, the Manufacturer, Model and SeriaNumber are OK
but I'm not sure how to implement the Identify Service:
    var informationService = new Service.AccessoryInformation();

    informationService
      .setCharacteristic(Characteristic.Manufacturer, "FHEM Manufacturer")
      .setCharacteristic(Characteristic.Model, "FHEM Model")
      .setCharacteristic(Characteristic.SerialNumber, "FHEM Serial Number");

    informationService
      .getCharacteristic(Characteristic.Identify)
      .on('set', function(paired, callback) {
        this.log("setIdentify: " + paired);
        callback();
      }.bind(this));

What is wrong?

@cflurin check the http sample on the PR - just implement identify()

Great! I think my example is now almost completed. https://gist.github.com/cflurin

The temperature is not sent to the iOS device:
  getServices: function() {

    var informationService = new Service.AccessoryInformation();

    informationService
      .setCharacteristic(Characteristic.Manufacturer, "FHEM Manufacturer")
      .setCharacteristic(Characteristic.Model, "FHEM Model")
      .setCharacteristic(Characteristic.SerialNumber, "FHEM Serial Number")
      .setCharacteristic(Characteristic.Name, this.name);

    var FhemTemperatureSensorService = new Service.TemperatureSensor();

    this.currentCharacteristic = FhemTemperatureSensorService
      .getCharacteristic(Characteristic.CurrentTemperature)
      .on('get', function(callback) {
        this.log('Temperature requested');
        callback(null, 22.2);
        }.bind(this));

    return [informationService, FhemTemperatureSensorService];
  }

The Message 'Temperature requested' is OK but EVE shows 0.0

Are you running iOS 9? Temperature sensor is a new service type and iOS 8 may not be handling it correctly.

No, I'm running iOS 8.4.1 but with the Master Branch (old API) it works. There is an example on my Gist.

I updated the HAP-NodeJS today, so it may be the difference?

@nfarina
The difference is in Accessory.js, removing "status=0" works:
  characteristic.getValue(function(err, value) {

    debug('[%s] Got Characteristic "%s" value: %s', this.displayName, characteristic.displayName, value);

    if (err) {
      debug('[%s] Error getting value for Characteristic "%s": %s', this.displayName, characteristic.displayName, err.message);
      callback(err);
    }

    // all done - compose the response and send it to the callback
    callback(null, {
      aid: aid,
      iid: iid,
      value: value,
      // status: 0
    });

  }.bind(this), context);

@KhaosT what is status used for here?

Test results:  (new API) Lightbulb including dim, hue and setValue() working properly:
https://gist.github.com/cflurin

Status is used to indicate if this read is success or not but I guess iOS 8.4 doesn't like we return status if HTTP status is 200…

In a month I'll update to iOS 9. There is no need to change anything, I've removed "status: 0" and it's OK for me.

OK merging this, let's move forward!


Fix accidental downgrades in Bundler PRs

Dependabot monkeypatches Bundler to allow resolving for arbitrary rubies, not just for the running Ruby. However, when no Ruby information is provided via either gemspec files or ruby Gemfile directive, Dependabot was only allowing to resolve either to Ruby 2.5, or to the running Ruby 3.1.
In some situations, it can happen that resolving on Ruby 3.1 is not possible, while resolving on Ruby 2.5 is possible but requires downgrading some lock file dependencies.
To avoid this problem, let's add the missing rubies to our list of rubies Dependabot can resolve to.
NOTE: I spent some time trying to write specs for this, but it turned out pretty tricky. In the end, I added a note in the Dockerfile to avoid falling out of sync again here. Also, I will look into porting this functionality to Bundler so that Dependabot does not need to monkey patch it, and thus leads to more consistent results.
Fixes https://github.com/dependabot/dependabot-core/issues/5926.

Thanks for having a look @jurre!

Also, I will look into porting this functionality to Bundler so that Dependabot does not need to monkey patch it, and thus leads to more consistent results.

Is there any issue I can track about this feature? I'd love Bundler to be able to bundler for other Ruby versions than the one it's currently running in.

No, sorry, I never opened an upstream issue about it!


Fix reset acces token

@HaoK
Porting fix from 2.2 Adding test that verifies that store method is not called when the token value is zero.
https://github.com/aspnet/Identity/issues/398

:shipit:


updated EBS boot volume space to 40 GB

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/do-e2e-tests


Update build-and-test.yml: Enable PR trigger

This PR enables the PR trigger in the build-and-test.yml workflow.
The first manually triggered workflow ran successfully, as seen here.
Once this PR is merged, the build.yml workflow will be disabled. In the next upcoming PR we should then only see this new workflow.
Thanks to @MikeMcC399 for initially providing this workflow and his extensive Cypress efforts in general. This will greatly improve the process of contributing to the project.

Internal Tracking ID: EXPOSUREAPP-14535

@larswmh
Thank you for the acknowledgement! 🙂 Also from my side thanks for the teamwork!


Microsoft.Logic/workflows (2017-07-01)

Describe the noise
Logic App deployments showing outgoing IP addresses, which I believe are read-only properties.
Resource type (i.e. Microsoft.Storage/storageAccounts)
Microsoft.LogicApp/workflows
apiVersion (i.e. 2019-04-01)
2017-07-01
Client (PowerShell, Azure CLI, or API)
PowerShell
Relevant ARM Template code (we only need the resource object for the above resourceType and apiVersion, but if it's easier you can include the entire template
    {
      "apiVersion": "2016-06-01",
      "type": "Microsoft.Web/connections",
      "name": "[variables('storageAccountConnectorName')]",
      "location": "[resourceGroup().location]",
      "dependsOn": [
        "[resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName'))]"
      ],
      "properties": {
        "displayName": "[concat('Azure Table Storage (', variables('storageAccountName'), ')')]",
        "parameterValues": {
          "storageAccount": "[variables('storageAccountName')]",
          "sharedKey": "[listKeys(resourceId('Microsoft.Storage/storageAccounts', variables('storageAccountName')), '2019-06-01').keys[0].value]"
        },
        "api": {
          "id": "[concat(subscription().id, '/providers/Microsoft.Web/locations/', resourceGroup().location, '/managedApis/azuretables')]"
        }
      }
    },
    {
      "apiVersion": "2016-06-01",
      "type": "Microsoft.Web/connections",
      "name": "[variables('sendGridConnectorName')]",
      "location": "[resourceGroup().location]",
      "properties": {
        "displayName": "SendGrid",
        "parameterValues": {
          "apiKey": "[parameters('sendGridApiKey')]"
        },
        "api": {
          "id": "[concat(subscription().id, '/providers/Microsoft.Web/locations/', resourceGroup().location, '/managedApis/sendgrid')]"
        }
      }
    },
    {
      "type": "Microsoft.Logic/workflows",
      "apiVersion": "2017-07-01",
      "name": "[variables('weeklyEmailLogicAppName')]",
      "location": "[resourceGroup().location]",
      "dependsOn": [
        "[resourceId('Microsoft.Web/connections', variables('storageAccountConnectorName'))]",
        "[resourceId('Microsoft.Web/connections', variables('sendGridConnectorName'))]"
      ],
      "properties": {
        "state": "Enabled",
        "definition": "[parameters('weeklyEmailDefinition').definition]",
        "parameters": {
          "$connections": {
            "value": {
              "azuretables": {
                "connectionId": "[resourceId('Microsoft.Web/connections', variables('storageAccountConnectorName'))]",
                "connectionName": "azuretables",
                "id": "[concat(subscription().id, '/providers/Microsoft.Web/locations/', resourceGroup().location, '/managedApis/azuretables')]"
              },
              "sendgrid": {
                "connectionId": "[resourceId('Microsoft.Web/connections', variables('sendGridConnectorName'))]",
                "connectionName": "sendgrid",
                "id": "[concat(subscription().id,'/providers/Microsoft.Web/locations/', resourceGroup().location, '/managedApis/sendgrid')]"
              }
            }
          }
        }
      }
    }

Expected response (i.e. "I expected no noise since the template has not been modified since the resources were deployed)
Template hasn't changed, see current noise
Current (noisy) response (either include a screenshot of the what-if output, or copy/paste the text)
Looks like some read-only properties are getting marked as changed, e.g.  - properties.endpointsConfiguration.connector.outgoingIpAddresses.
- properties.endpointsConfiguration:

        connector.outgoingIpAddresses: [
          0:

            address: "<IP_ADDRESS>/28"

          1:

            address: "<IP_ADDRESS>"

          2:

            address: "<IP_ADDRESS>"

          3:

            address: "<IP_ADDRESS>"

          4:

            address: "<IP_ADDRESS>"

        ]
        workflow.accessEndpointIpAddresses: [
          0:

            address: "<IP_ADDRESS>"

          1:

            address: "<IP_ADDRESS>"

          2:

            address: "<IP_ADDRESS>"

          3:

            address: "<IP_ADDRESS>"

        ]
        workflow.outgoingIpAddresses: [
          0:

            address: "<IP_ADDRESS>"

          1:

            address: "<IP_ADDRESS>"

          2:

            address: "<IP_ADDRESS>"

          3:

            address: "<IP_ADDRESS>"

          4:

            address: "<IP_ADDRESS>"

          5:

            address: "<IP_ADDRESS>"

          6:

            address: "<IP_ADDRESS>"

          7:

            address: "<IP_ADDRESS>"

        ]

Additional context
Add any other context about the problem here.

[w21].

This fix should be fully deployed. Please let us know if you still see this issue.

@alex-frankel This is the second issue which seems reported as fixed but it is not. Example of all things that should not be noise.
  ~ Microsoft.Logic/workflows/dk1 [2017-07-01]
    - properties.endpointsConfiguration:

        connector.outgoingIpAddresses: [
          0:

            address: "<IP_ADDRESS>/28"

          1:

            address: "<IP_ADDRESS>"

          2:

            address: "<IP_ADDRESS>"

          3:

            address: "<IP_ADDRESS>"

          4:

            address: "<IP_ADDRESS>"

        ]
        workflow.accessEndpointIpAddresses: [
          0:

            address: "<IP_ADDRESS>"

          1:

            address: "<IP_ADDRESS>"

          2:

            address: "<IP_ADDRESS>"

          3:

            address: "<IP_ADDRESS>"

        ]
        workflow.outgoingIpAddresses: [
          0:

            address: "<IP_ADDRESS>"

          1:

            address: "<IP_ADDRESS>"

          2:

            address: "<IP_ADDRESS>"

          3:

            address: "<IP_ADDRESS>"

          4:

            address: "<IP_ADDRESS>"

          5:

            address: "<IP_ADDRESS>"

          6:

            address: "<IP_ADDRESS>"

          7:

            address: "<IP_ADDRESS>"

        ]

    + properties.parameters.salaApiKey:

        value: "*******"

    + properties.parameters.serviceNowUserPassword:

        value: "*******"

    ~ properties.definition.parameters.customerName.type:              "String" => "string"
    ~ properties.definition.parameters.salaApiKey.type:                "SecureString" => "securestring"
    ~ properties.definition.parameters.salaUri.type:                   "String" => "string"
    ~ properties.definition.parameters.serviceNowApiUrl.type:          "String" => "string"
    ~ properties.definition.parameters.serviceNowAssignmentGroup.type: "String" => "string"
    ~ properties.definition.parameters.serviceNowUserName.type:        "String" => "string"
    ~ properties.definition.parameters.serviceNowUserPassword.type:    "SecureString" => "securestring"
    ~ properties.definition.parameters.tenantId.type:                  "String" => "string"
    ~ properties.definition.parameters.timeZoneName.type:              "String" => "string"

I'm having a similar issue. Running az deployment group what-if on a template that has no changes produces the list of IP addresses as 'Delete'.

I can confirm I am seeing this. @alex-frankel your name pops up from the resolution last time - do you know if something has changed?


chore: adjust dependabot labels

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


[VMWare Workstation] vmrest process error

Operating System Version:  WIN 10
Deploying via (VirtualBox/VMWare/AWS/Azure/ESXi):  VMWare
Vagrant Version (if applicable):  2.2.10

Please verify that you are building from an updated Master branch before filing an issue.
Description of the issue:
I have install all prerequisites and have the all clear when using prepare.ps1.  When I start "vagrant up", I encounter this issue.
==> logger: Verifying vmnet devices are healthy...
Vagrant failed to create a new VMware networking device. The following
error message was generated while attempting to create a new device:

  unknown error encountered with vmrest process

@jwb4k3r  Does this occur even after a reboot of your machine?

@clong Yes, it persists after reboot and reinstallation of the VMWare Desktop Vagrant plugin and Vagrant VMWare Utility.

@jwb4k3r which version of VMware Workstation? I have to be honest, I've never seen this before and it looks like a Vagrant or VMware bug. I'd try re-installing VMware (I know, I know, but sometimes it fixes things) and also make sure you're using the latest Vagrant VMware Utility (https://www.vagrantup.com/docs/providers/vmware/vagrant-vmware-utility) and the latest vagrant-vmware-desktop plugin (just run vagrant plugin update assuming it's already installed)

Oh, it looks like something related to zombie vmrest processes got fixed with the latest VMware utility: https://github.com/hashicorp/vagrant-plugin-changelog/blob/master/vagrant-vmware-utility-changelog.md#1014

@clong To give some background, just incase it may help, I am running this setup on the following:
SuperMicro (Xeon 2.3GHz, 64 GB Ram, 1TB M.2)
Win10 Build 19041 Host
I reinstalled the whole setup below to try and resolve the issue:
VMWare Workstation 16 Pro (16.0.0 build-16894299)
Vagrant (2.2.13)
Vagrant VMware Utility (1.0.16)
vmware-desktop-plugin (2.1.5)
Sadly, even after the reinstalls, I receive the same error.

@jwb4k3r unfortunately at this point it appears to be some sort of issue with the VMware vagrant plugin. I recommend opening an issue here: https://github.com/hashicorp/vagrant - I don't see any existing issue online where other people have had the same problem
The only other thing I could suggest trying is making sure all the VMware services are running:

I checked my VMware services as you suggested and all are running.  I've submitted as ticket to hashicorp as you suggested.  Thanks @clong

Thanks @jwbaker-mitre , I hope they're able to sort things out for you! I'm going to close this issue out since I don't think there's anything I can do to help, but feel free to re-open if that changes.


When a concept note's screening status is set, carry that same status over to the proposal

This is already working so closing.


adding webiste UI designs

adding webiste UI designs for:
-login page
-home page
-question page

Codecov Report

Merging #49 (d7a1a21) into pre (69d3263) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              pre      #49   +/-   ##
=======================================
  Coverage   51.27%   51.27%
=======================================
  Files          29       29
  Lines        2356     2356
=======================================
  Hits         1208     1208
  Misses       1148     1148

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 69d3263...d7a1a21. Read the comment docs.


Automatically Destroying Bodies, etc in Collision/Dynamics World's Destructors

As title, I'm curious what the reason is for requiring the user to manually destroy all Bodies and Joints. The objects are created by using methods of a World object, and immediately added to it - they can never live longer than the World object. Thus, it makes no sense to require the user to manually delete them. In many cases, it requires a great deal of effort to keep track of them. To make things worse, the sets of pointers that the World objects already store are protected, making it impossible to destroy them in the destructor of the object containing the World.
This also applies to Bodies and Shapes, in that a ProxyShape can never outlive the Body, so requiring that it be destroyed manually is pointless.
I propose that CollisionWorld and DynamicsWorld both be modified to automatically destroy all of their Bodies and Joints, and Bodies their Shapes. This would be a far more reasonable design that would allow immense amount more flexibility for end users.

Actually, I just noticed that RigidBody actually already does this, I misread the documentation. Sorry! However, it certainly does still apply to Collision / Dynamics World, Bodies and Joints.

Yes, you are right. A body or a joint cannot outlive the World in which they have been added. However, they life can be shorter. A user should be able to call the destroyBody() or destroyJoint() methods if he wants to remove a body or a joint from the world before the end of the application for instance (for optimization because the object is not visible anymore, etc). Therefore,  we need to keep those two methods to manually remove a body or a joint from the world.
I agree with you, the world destructor should be smarter. I propose to change the CollisionWorld and DynamicsWorld destructors so that they call the destroyBody() or destroyJoint() methods on every bodies or joints that have not been removed from the World yet.
It means that the user will still be able to manually remove a body (or joint) but if he doesn't, the World destructor will remove it automatically at the end.

Yes, that is exactly what I meant. Of course we still need to keep the destroy methods, for that reason. Splendid! :)

OK perfect. I will take care of this for the next release. Thanks a lot for reporting this.

I have implemented this in the commit 345afc1a1dc61e42b0a93dcf1e3696b1a84d6ec0 in the develop branch.
This will be available in the next release of the library.


Increasing batch size negatively impacts mAP, is it because of padding ?

Hello,
I have noticed that running evaluations with batch size > 1 leads to much lower mAP, so I was wondering if the reason is because the model (large fl4 with 5scale DINO) was trained with only 1 image per GPU ? It is not specified in focal-dino's README and I would like to make sure this is indeed the reason.
And as an additional question, does someone know why increasing the batch size does not improve the inference speed / image ? I just know that it is not because of focalnet backbone, because I have observed the same effect with resnet50 and swin backbones.

Yes, it is mainly because of the padding for different images of different sizes. For inference, please always use bs=1 per GPU to ensure the evaluation is correct.
It might be attributed to that bs=1 already uses up all the GPU computations on one GPU, as such it is not necessary to improve the inference speed using bs=2 but still one GPU.


Code no longer readable since UI upgrade

Hi,
since the latest upgrade (including UI improvements for tablets) I can no longer view the codes on my phone because they are displayed into two columns and each column only displays half of the code. So I have to copy the code to the clipboard and paste it into some other app (editor), read it from there, type it into the 2FA screen on the device (usually a computer) where I need it and finally delete it again on the phone (clear clipboard, close "helper" app).
I searched for an option to disable this but found nothing. Is there a way to get the old UI back or at least disable the columns?
Version: FreeOTP+ 2.4 (15) via F-Droid
Kind regards,

Duplicate of #151 and already fixed in version 2.5, we just need to wait a bit for F-Droid to build and deploy.

Nice! Thank you very much. :heart:


Feature Request: Add scroll helper on indent line after some delay

Background: After coding for hours, and dealing with long file, especially with multiple-level indent file... life become uneasy...
Feature Request:

Hover on the indent line
Wait for 0.5 second
Two tiny button appear around the cursor, "^" and "v", i.e. (going top), and (going down).
Click on "^", document will scroll automatically to the beginning of the current indent line, within 0.5 second, no matter how long the line is.

If you don't mind keyboard based controls, you can try this: https://marketplace.visualstudio.com/items?itemName=CoenraadS.column-jump


Please add opportunity to use system LUA

Not sure if there is anything specific to the packages in this request (if not, it should have been opened in ZeroBraneStudio repository instead), but it's already available using path.lua option (and its variants for other lua versions) as described in the documentation.

thx


[ci] CUDA builds failing to start

Description
For the last day, I've observed that CUDA builds (defined in https://github.com/microsoft/LightGBM/blob/b674439aec933e0c1b72efc7dda482a9c7e75283/.github/workflows/cuda.yml) are failing without logs.
Jobs just failed with "This check failed".

Reproducible example
I've seen this across several pull requests so I don't think it's specific to any one PR's changes. See https://github.com/microsoft/LightGBM/actions/workflows/cuda.yml.
The most recent successful run was 23 hours ago, the first failed run was 21 hours ago.

Additional Comments
I can't debug this because I don't think I have access to wherever the machine for this job is managed (https://github.com/microsoft/LightGBM/issues/3402#issuecomment-699198779).
I've labeled this blocking because it seems to be happening across all recent PRs.

I can't find linux-gpu-pool anymore. I guess it was removed...

ah!! @shiyu1994 is it something you can help us with?

I came back to this and based on the URL in that screenshot, I do actually have permissions to see those agent pools! Just didn't notice it in the UI before.
But I do see the same as you...the linux-gpu-pool pool is gone.

I'll ask @guolinke in email today.

Guolin replied in email that he asked his colleagues fix this issue.

Hi @StrikerRUS and @jameslamb
I think the GPU agent is hosted in github actions, not the azure pipeline, right?

The VM of that agent is down, we just restart it.

@guolinke Yes you are right!
Could you please wipe everything on that runner, install just GitHub Actions agent and NVIDIA driver and restart the agent?
Right now jobs fail with
docker: Error response from daemon: OCI runtime create failed: container_linux.go:367: starting container process caused: process_linux.go:495: container init caused: Running hook #0:: error running hook: exit status 1, stdout: , stderr: nvidia-container-cli: initialization error: nvml error: driver not loaded: unknown.

@StrikerRUS oh, sure, it seems the driver is dead, as the kernel upgraded.

@guolinke Thank you very much!


when use python2,  there is a serialization and deserialization error，due to unstable initialization order of class members in python2

class PinOptions(Flag):
    ArraySupported = auto()
    DictSupported = auto()
    Dynamic = auto()

like this,  in python2. this time PinOptions.Dynamic.value may is 2, next time may is 4. it caused some serialization and deserialization error.
i am poor in english，can you understand me .

Droping py2 Support soon


[as2_simulation_assets] GZ Harmonic launch issues with AS2 1.1.0 built from source

ROS2 Version
humble
Version
main
Installation
source
What happened?
There don't seem to be any errors in the terminal but Gazebo doesn't launch from the launch scripts mentioned on https://aerostack2.github.io/_03_aerial_platforms/_gazebo_simulation/index.html#installation
using:
# Source AS2
source /media/mayank/HDD1/3_MJ_Projects/5_ROS_Aerial/2_Indoor_Nav/2_Aerostack2/aerostack2_ws/install/setup.bash --extend

# go to project gazebo repo
cd /media/mayank/HDD1/3_MJ_Projects/5_ROS_Aerial/2_Indoor_Nav/2_Aerostack2/project_gazebo

# Platform launch
ros2 launch as2_platform_gazebo platform_gazebo_launch.py namespace:=drone0 simulation_config_file:=sim_config/world.json

# Simulation launch
ros2 launch as2_gazebo_assets launch_simulation.py headless:=true verbose:=true run_on_start:=false  use_sim_time:=true simulation_config_file:=sim_config/world.json

However, when I launch Gazebo manually and then open any project, the drone then shows up properly.
Another gap I've observed in the docs above is that the parameter config_file should be simulation_config_file in the commands for launch.
I do want to mention that my install seems to be fine since when I launch via the project_gazebo repo's launch scripts, things are launching perfectly and teleop also works using ./launch_as2.bash -t
How to reproduce your issue?
I use Ubuntu 22.04, Gazebo Harmonic, ROS2 Humble and followed
Aersostack GZ Harmonic Setup
and Aerostack Source Install
Relevant log output
No response

@miferco97 Opened https://github.com/aerostack2/aerostack2.github.io/pull/73

Hi @botmayank,
It seems that when you launch Gazebo, you set the headless parameter to true. This means that the graphical interface will not be launched. If you prefer to have a graphical interface, you can set headless to false, which is the default value.
However, can you verify if the drone completes the mission correctly using RViz or the alphanumeric viewer?

@RPS98 thanks for pointing it out :facepalm:  :face_in_clouds: Everything looks fine. Also, thanks for merging the PR I opened for fixing the docs
https://github.com/aerostack2/aerostack2.github.io/pull/73
Closing the issue. :sweat_smile:


After upgrading to v1.6.0, tooltip can't be displayed properly in some scenarios.

Describe the bug
A clear and concise description of what the bug is.
Affected platforms

Desktop

Versions

Kotlin version*:
Compose Multiplatform version: versions after v1.5.11
OS version(s)* (required for Desktop and iOS issues): windows 11

To Reproduce
@OptIn(ExperimentalComposeUiApi::class, ExperimentalFoundationApi::class)
fun main() = application {
    Window(onCloseRequest = ::exitApplication) {
        var activeMenu by remember { mutableStateOf(false) }
        Box(Modifier.fillMaxSize()){
            Column (
                horizontalAlignment = Alignment.CenterHorizontally,
                modifier = Modifier
                .width(100.dp)
                .align(Alignment.Center)
                .onPointerEvent(PointerEventType.Enter){activeMenu = true}
                .onPointerEvent(PointerEventType.Exit){activeMenu = false}
            ){
                if(activeMenu){
                    Row{
                        TooltipArea(
                            tooltip = {
                                Surface(
                                    elevation = 4.dp,
                                    border = BorderStroke(1.dp, MaterialTheme.colors.onSurface.copy(alpha = 0.12f)),
                                    shape = RectangleShape
                                ) {
                                    Text(text = "Delete", modifier = Modifier.padding(10.dp))
                                }
                            },
                            delayMillis = 300,
                            tooltipPlacement = TooltipPlacement.ComponentRect(
                                anchor = Alignment.TopCenter,
                                alignment = Alignment.TopCenter,
                                offset = DpOffset.Zero
                            )
                        ) {
                            IconButton(onClick = { println("delete")}){
                                Icon(
                                    Icons.Filled.Delete,
                                    contentDescription = "Localized description",
                                    tint = MaterialTheme.colors.primary
                                )
                            }
                        }

                        IconButton(onClick = {println("edit")}){
                            Icon(
                                Icons.Filled.Edit,
                                contentDescription = "Localized description",
                                tint = MaterialTheme.colors.primary
                            )
                        }
                    }
                }
                Text("item 1", fontSize = 20.sp)
                Text("item 2", fontSize = 20.sp)
                Text("item 3", fontSize = 20.sp)

            }
        }

    }

}

v1.5.11
https://github.com/JetBrains/compose-multiplatform/assets/16540656/2c3d9767-7c5d-490b-bdec-3c7cc6d15a17
1.6.0-dev1347
https://github.com/JetBrains/compose-multiplatform/assets/16540656/6d653cbf-a811-4b9b-b0f5-5e81542364bc

Thanks for the report; I'll look into it.

@MatkovIvan The problem here is that when the tooltip is shown (via Popup), the currently hovered element receives a pointer-exit event, even if the tooltip is not under the pointer.

When the popup is shown, the boundsInWindow of its AttachedComposeSceneLayer spans the entire window. So when processMove is called, hoveredOwner detects it as the owner , and this causes a pointer-exit event to be sent to the lastHoverOwner.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Autouse Max Elemental Damage or Reflect Damage whenever we would nuke

Ideal conditions for these two abilities might not exactly match the nuke, but it's close enough to make sure they don't get wasted.

Should not be necessary anymore, as there are now handlers for these abilities.


Remove fallback restore keys from build cache

Description
Cache seems to be in a bad state and isn't being regenerated due to fallback keys loading older caches. I'm not sure why the cache is in a bad state to begin with (does this need to be an issue upstream?) but this workaround should do the trick for now.
Issues Resolved
N/A
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Lets get more reviews and close this. cc @mengweieric @ps48 @joshuali925

@Swiddis @RyanL1997 Does this need to be backported to 2.x?