Creating from_xarray_delft3d methods

This is a PR to create a FieldSet.from_xarray_delft3d method. Will be testing it before merging it

Hey @vesnaber , not sure how far along you are in with your implementation, but I'll point to my branch in https://github.com/OceanParcels/parcels/pull/1228 which has a rudimentary implementation which might help.
My work on that PR grew stale as other areas in the codebase took my interest. Happy for you to take lead and I can help in any way you see fit 😁 (eg. reviewing PRs, stress-testing implementations etc.)

Hey @vesnaber , not sure how far along you are in with your implementation, but I'll point to my branch in #1228 which has a rudimentary implementation which might help.
My work on that PR grew stale as other areas in the codebase took my interest. Happy for you to take lead and I can help in any way you see fit 😁 (eg. reviewing PRs, stress-testing implementations etc.)
EDIT: "rudimentary" meaning that it didn't use the parcels API, and was capped to certain mesh geometries. Basically the minimum requirements to do the work that I was wanting to 😅

Hey @VeckoTheGecko thank you for pointing me to your branch - I will check it out in detail and try to implement it to the parcels API! My application at the moment is non-rotational equidistant rectangular grid. So far I have been changing the Delft3D mesh output locally (land masks from NaNs to lon/lat) but I will soon make it a part of the FieldSet function. The next step will be to implement it to different grid geometries.
Thank you for your offer to help! It is great to see that more people are interested in D3D-Parcels implementation. Will surely contact you about the progress/reviewing! :grin:

My application at the moment is non-rotational equidistant rectangular grid... The next step will be to implement it to different grid geometries.

Looks like we have the same implementation! I was only working in a rectangular grid as well. I think quite a lot of nuance (which I wasn't able to dig much in to) is introduced from supporting arbitrary geometries due to the ways D3D and parcels deal with grids.

Will surely contact you about the progress/reviewing! 😁

Sounds good to me. Let me know, I'll be tuned into this PR 🙂

My application at the moment is non-rotational equidistant rectangular grid... The next step will be to implement it to different grid geometries.

Looks like we have the same implementation! I was only working in a rectangular grid as well. I think quite a lot of nuance (which I wasn't able to dig much in to) is introduced from supporting arbitrary geometries due to the ways D3D and parcels deal with grids.

Will surely contact you about the progress/reviewing! 😁

Sounds good to me. Let me know, I'll be tuned into this PR 🙂

I just implemented a few lines from your branch - the ones that deal with getting D3D output to 'look like' mitgcm indexing. With this change I was able to run Parcels with my D3D output (rectangular grid - both non-rotational and rotational, with depth averaged flow fields) without changing the grid. I left the land values as 0 (zeros) like they are originally in D3D and I got no issues so far, so maybe this code could even work with different geometries - we'll see!
At the moment I don't have any D3D outputs with other grid geometries ready, so it might take some time before I continue with testing.:)

Sounds good. I'm quite busy this coming week, so won't really be able to take a closer look. Happy to put some time aside this weekend to provide feedback.

Since we have a near-working implementation of this for a cartesian grid, I think it would be great to slowly* work towards getting this incorporated into the main package. Even if the coverage for different grid geometries is limited at the moment, I think it will be beneficial to the community.
Things needing doing:

[ ] Resync with master
[ ] Writing unit tests and correcting implementation along the way
[ ] Writing documentation

Re. the documentation, I think giving some good code examples in the docstring is sufficient. I don't think its worth creating a dedicated notebook (and I also can't be bothered doing so 😅). We can shout out the method in another notebook if we want to bring attention to it
@vesnaber would it be alright if I pushed to this branch? Or should I open another PR?
cc @erikvansebille
*I have quite a few projects going on at the moment, and am away Jan-Jun 2024, so it will be slow from my side :)

Since we have a near-working implementation of this for a cartesian grid, I think it would be great to slowly* work towards getting this incorporated into the main package. Even if the coverage for different grid geometries is limited at the moment, I think it will be beneficial to the community.
Things needing doing:

[ ]  Resync with master
[ ]  Writing unit tests and correcting implementation along the way
[ ]  Writing documentation

Re. the documentation, I think giving some good code examples in the docstring is sufficient. I don't think its worth creating a dedicated notebook (and I also can't be bothered doing so 😅). We can shout out the method in another notebook if we want to bring attention to it
@vesnaber would it be alright if I pushed to this branch? Or should I open another PR?
cc @erikvansebille
*I have quite a few projects going on at the moment, and am away Jan-Jun 2024, so it will be slow from my side :)

@VeckoTheGecko My apologies for the late reply! Unfortunately, I put this PR on hold as I switched to another model, but I hear quite some interests from other users to push this PR with the current developments. So it will indeed be very beneficial to getting it incorporated into the main package!
I'm completely fine if you push it to this branch. I am also absent quite a lot in the upcoming months, but after March I can also work on one of the tasks (e.g. documentation).

I'm currently engaged on a different project, so I don't know my capacity to dedicate time to this (especially since I've had to remove my Delft installation for technical reasons). I'm travelling from end Jan to end Jun 2024 without a laptop, so that further complicates things.
If someone else wants to contribute to this PR please comment.


Adding the reload page event

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Test URLs:

Before: https://main--{repo}--{owner}.hlx.live/
After: https://--{repo}--{owner}.hlx.live/

Removing the experimentation code.


XML entities not converted for attribute value

Please ensure you have given all the following requested information in your report.
Issue details
XML entities like ' are not converted for attribute values. It is for text nodes but not attribute values.
XML standard allow it : https://www.w3.org/TR/WD-xml-lang-970630#sec3.3.3
Reproduction steps/code
just run this code :
new XmlReader().parse("it doesn't bug :-)")
result :

	it doesn't bug :-)

Version of LibGDX and/or relevant dependencies
1.9.6 and master I guess since Ragel code didn't change
Stacktrace
N/A
Please select the affected platforms

[x] Android
[x] iOS (robovm)
[x] iOS (MOE)
[x] HTML/GWT
[x] Windows
[x] Linux
[x] MacOS

I don't know how to generate this file. I think we need documentation about how to deal with Ragel generated code (how to use it, which version to use, etc).

After editing the .rl file, you just run Ragel using the parameters at the top of the file, eg:
https://github.com/libgdx/libgdx/blob/master/gdx/res/com/badlogic/gdx/utils/XmlReader.rl#L2
The latest version of Ragel should be fine.

Just want to comment here that the XmlReader.java file has been manually modified now (adding @Null annotations), so just running Ragel won't be sufficient. As I commented in a duplicate issue #6462 , you can get a working binary of Ragel from https://github.com/sci-bots/ragel/releases/tag/ragel-6.10 ; the official site only provides source. I've looked into modifying the .rl file, but I really don't have much idea what's going on.


Feat relativepath

fix #175
WIP

Coverage remained the same at 100.0% when pulling 29b7e3f1ae46463895c47d1452fc980a71b5648a on feat-relativepath into f12c638cf3b11e1d2ddd70943759a671133e6711 on master.


Issue and Pulls lists rework

Reorganized and restyled the issue and pull request lists.

This looks great could these be incorporated into https://github.com/go-gitea/gitea/blob/master/templates/user/dashboard/issues.tmpl too?

@mrsdizzie did just that:

The link for issue creator is not differ from other texts?

It's following GitHub design where those links are also not colored unless hovered but I guess we could diverge from that design a bit as I generally think links should be distinguishable. Will think about it.

what about using different octicons on pulls?

what about using different octicons on pulls, so you know if it's a pull or an issue?

That should already be the case, see:
https://github.com/go-gitea/gitea/pull/13594/files#diff-511ca3487e2c8c1cb1c144ad5cfe6189bceb0da2ee7ae47d7ae578fa92e12cc3R13-R29

@lunny I think it's fine if we not color those links for aesthetic reason and to draw the attention to the  title instead.

@silverwind I think only one thing is missing: fix/refactor issue-pull list of milestones:

Milestone list fixed as well:

While diffing the milestone list I found two differences to issue lists:

Milestones don't render
The link on labels does not include the milestone=id query

I fixed those differences now by introducing a new merge template helper which is basically a superiour version of the dict helper which preserves the root "dict" and merges additional values into it. This will allow us to more easily consolidate slightly differing templates into the future.

🚀


Bump WorldID Contract ABI

This PR bumps the contract ABI to the version in https://github.com/worldcoin/world-id-contracts/pull/65 and corrects the mock chain setup to correctly spawn with the new contract architecture.

Codecov Report

Merging #430 (741117f) into batching/main (f09d9cf) will decrease coverage by 0.03%.
The diff coverage is 11.11%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@                Coverage Diff                @@
##           batching/main     #430      +/-   ##
=================================================
- Coverage          45.83%   45.80%   -0.03%
=================================================
  Files                 31       31
  Lines               8304     8309       +5
=================================================
  Hits                3806     3806
- Misses              4498     4503       +5

Flag
Coverage Δ

test
45.80% <11.11%> (-0.03%)
:arrow_down:

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

Impacted Files
Coverage Δ

src/contracts/abi.rs
0.00% <0.00%> (ø)

src/ethereum/write/mod.rs
7.82% <ø> (ø)

src/utils.rs
9.77% <ø> (+0.03%)
:arrow_up:

tests/abi/mod.rs
10.20% <0.00%> (-0.11%)
:arrow_down:

tests/integration_tests.rs
96.60% <33.33%> (-0.83%)
:arrow_down:

Continue to review full report in Codecov by Sentry.

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


Improve GraphIndexBuilder#cleanup doc for concurrent searches

Added that GraphIndexBuilder#cleanup should not be called concurrently with searches on graph.
Closes #188

Thanks!


form validation regression

What Angular MDC version are you using?
0.41.0-pre1
What browser(s) is this bug affecting?
Chromium
What OS are you using?
Debian sid
What are the steps to reproduce the bug?
$ git clone https://github.com/rapropos/mdc-validation
$ cd mdc-validation
read README.md
$ npm i
$ ng serve
type in text field
notice that "eat" button remains disabled
click randomly on page backdrop
notice that "eat" button becomes enabled
$ npm i --save "<EMAIL_ADDRESS>type in text field
notice that "eat" button instantly becomes enabled

What is the expected behavior?
Form becoming valid instantly enables button depending on that.
What is the actual behavior?
Some other user action is required to enable elements dependent on form validation.
Any other information you believe would be useful?
I am fairly confident that this problem was introduced by this commit.

Thanks for reporting this!
Duplicated, and fixing.

PR submitted #1506, thanks again for reporting this.
I've very happy with validations for mdc-text-field in this PR. I hope you find the same...


api_docs: Fix realm_export_consent event type docs.

Commit 1: A small fix to the zulip.yaml changes made in #32055
Commit 2: A small improvement. Explained in the commit message.

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

I merged the second commit; left the first one as-is pending our designing how we want to handle corporate organizations where consent for data export must be accepted as part of signing up.


feature requests

This library is a huge help for me.
I'm trying to make curves that go through an intermediate point.  (Speed at some distance ahead must be matched but not at zero acceleration.)  I can see how to do this if I could generate curves with non-zero accelerations at the beginning and end.  Is that feasible?
Also, it'd be nice to be able to specify both the minimum and maximum acceleration and jerk (instead of assuming minimum = -maximum).
Thank you for sharing this work!

Hi @kylerlaird, sorry for the long time feedback.
It is hard to tell right now. For the first feature I may come up with some ideas in the nearest future, however the second one requires replenishing some memory on the internals and I am not sure how long may it take.


[Cosmos DB] Added line 41 with version 4.2

Version 4.2 was missing.  I added it.

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

for testing purposes.  closing PR


can't deploy or run the server

Describe the bug
I can't run bolt.new or deploy. also not on stackblitz.
feels very unstable right now..
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-npoqao
Steps to reproduce
try to deploy or run
Expected behavior
stable system
Screen Recording / Screenshot

Platform
Browser name = Chrome
Full version = <IP_ADDRESS>
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 182046853,
  "usedJSHeapSize": 171161617,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Username = aaaalabs
Chat ID = 4b144db87de8

Additional context
Error:
An error occured while streaming this message.

Appreciate the feedback! We are aware of this message and are tracking it here: #1022.


frame work not found SwiftyJSON for architecture x86_64

Hi,
I looked through some of the other issues that had similar problems such as #52 but I haven't been able to find an answer.
I have a project that uses SwiftyJSON (along with a few others installed through CocoaPods). I installed Injection through Alcatraz, and when I tried following the instructions (building the Injection project) I receive the error: framework not found SwifyJSON for architecture x86_64.
In order to fix this , I tried the following, but I received same error.

Do you have any ideas how to fix this?

Can you paste in your Podfile please.

It is as follows.

Hi, I’m unable to replicate this this end. You probably shouldn’t be adding pods to the injection project, it should find them in your app executable. To look at this further can you send the link command of your main app and the link command listed in the injection console just before the error to support at injectionforxcode.com.

It is output in the injection console just before error as follows.
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -bundle -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/***MYNAME***/Documents/iPhoneApp/OstomateNaviSwift/iOSInjectionProject/build/Debug-iphonesimulator -F/Users/***MYNAME***/Documents/iPhoneApp/OstomateNaviSwift/iOSInjectionProject/build/Debug-iphonesimulator -F/Users/***MYNAME***/Documents/iPhoneApp/OstomateNaviSwift/iOSInjectionProject -filelist /Users/***MYNAME***/Documents/iPhoneApp/OstomateNaviSwift/iOSInjectionProject/build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/Objects-normal/x86_64/InjectionBundle.LinkFileList -mios-simulator-version-min=8.3 -Xlinker -objc_abi_version -Xlinker 2 x86_64/injecting_class.o -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -F/Users/***MYNAME***/Library/Developer/Xcode/DerivedData/OstomateNaviSwift-ewzvxxetvqseisgxzvzbfifivfbj/Logs/Build/../../Build//Products/Debug-iphonesimulator -undefined dynamic_lookup -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/***MYNAME***/Documents/iPhoneApp/OstomateNaviSwift/iOSInjectionProject/build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/Objects-normal/x86_64/InjectionBundle.swiftmodule -framework GoogleMaps -framework UIKit -framework QuartzCore -framework OpenGLES -framework Foundation -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/***MYNAME***/Documents/iPhoneApp/OstomateNaviSwift/iOSInjectionProject/build/InjectionBundle.build/Debug-iphonesimulator/InjectionBundle.build/Objects-normal/x86_64/InjectionBundle_dependency_info.dat -o /Users/***MYNAME***/Documents/iPhoneApp/OstomateNaviSwift/iOSInjectionProject/build/Debug-iphonesimulator/InjectionBundle.bundle/InjectionBundle
ld: warning: directory not found for option '-F/Users/***MYNAME***/Library/Developer/Xcode/DerivedData/OstomateNaviSwift-ewzvxxetvqseisgxzvzbfifivfbj/Logs/Build/../../Build//Products/Debug-iphonesimulator'
ld: framework not found SwiftyJSON for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

real	0m0.077s
user	0m0.038s
sys	0m0.050s

*** Build Failed with status: 1. You may need to open and edit the bundle project to resolve issues with either header include paths or Frameworks the bundle links against. ***

at /Users/***MYNAME***/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/common.pm line 55.
	main::error('Build Failed with status: 1. You may need to open and edit th...') called at /Users/***MYNAME***

/Library/Application Support/Developer/Shared/Xcode/Plug-ins/InjectionPlugin.xcplugin/Contents/Resources/injectSource.pl line 445

*** Bundle build failed ***
I can't understand what "link command" means.
So I paste my project information for your refference.

HI, what you have pastes contains the link command I need for the bundle thanks. What I need now is the link command for your app. You’lll find it in the build logs (right hand tab on the left hand panel where if says “”Link …”

Hi, I think below is "link command", will this do?
Ld /Users/MY NAME/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/OstomateNaviSwift.app/OstomateNaviSwift normal x86_64
cd /Users/MY NAME/Documents/iPhoneApp/OstomateNaviSwift
export IPHONEOS_DEPLOYMENT_TARGET=8.0
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk -L/Users/MY NAME/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator -F/Users/MY NAME/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator -F/Users/MY NAME/Documents/iPhoneApp/OstomateNaviSwift/Pods/GoogleMaps/Frameworks -F/Users/MY NAME/Documents/iPhoneApp/OstomateNaviSwift -filelist /Users/MY NAME/Library/Developer/Xcode/DerivedData/Build/Intermediates/OstomateNaviSwift.build/Debug-iphonesimulator/OstomateNaviSwift.build/Objects-normal/x86_64/OstomateNaviSwift.LinkFileList -Xlinker -rpath -Xlinker @loader_path/Frameworks -mios-simulator-version-min=8.0 -Xlinker -objc_abi_version -Xlinker 2 -ObjC -lAXRatingView -lFontAwesomeKit -lQBImagePickerController -lSDWebImage -lc++ -licucore -lz -framework AVFoundation -framework Accelerate -framework CoreBluetooth -framework CoreData -framework CoreGraphics -framework CoreLocation -framework CoreText -framework GLKit -framework GoogleMaps -framework ImageIO -framework OpenGLES -framework Photos -framework QuartzCore -framework Security -framework SystemConfiguration -framework UIKit -fobjc-arc -fobjc-link-runtime -L/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator -Xlinker -add_ast_path -Xlinker /Users/MY NAME/Library/Developer/Xcode/DerivedData/Build/Intermediates/OstomateNaviSwift.build/Debug-iphonesimulator/OstomateNaviSwift.build/Objects-normal/x86_64/OstomateNaviSwift.swiftmodule -framework CFNetwork -framework Accelerate -framework CoreBluetooth /Users/MY NAME/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/SwiftyJSON.framework/SwiftyJSON /Users/MY NAME/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/Alamofire.framework/Alamofire -lPods -Xlinker -dependency_info -Xlinker /Users/MY NAME/Library/Developer/Xcode/DerivedData/Build/Intermediates/OstomateNaviSwift.build/Debug-iphonesimulator/OstomateNaviSwift.build/Objects-normal/x86_64/OstomateNaviSwift_dependency_info.dat -o /Users/MY NAME/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphonesimulator/OstomateNaviSwift.app/OstomateNaviSwift

You seem to have a non-default build preference set up in Xcode as the build driectory is not what I expect. Can you try “Locations”/DerivedData/Advanced/Unique” in you Xcode preferences and it should work. Out of curiosity at the top of the “Injection Console” it should  print the “buildRoot:” and “logDir:” can you tell me what they are?

@johnno1962
hi, i have the same question
build the InjectionBundle project
ld: framework not found IQKeyboardManagerSwift for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

ok，I solve this question.
just build the pod-Project~~~

I may have found the answer to this with another user. It can crop up if you use a scheme name other than “Debug” for running your project.


Replace isort/flake8/black with ruff: tickets/DM-42231B

This builds on top of https://github.com/datopian/giftless/pull/129, and once that one is merged I'll rebase this one.
It's another huge but fairly basic changeset: ruff has a LOT of opinions, and the great majority of the last commit "Ruff for all test files" is mechanical application of what ruff wants.  In some cases I've reworded comments to make the line length happier or to clean up grammar.  I've done ruff's recommendations of replacing all the os file operations with Path operations.  I've changed all the type stuff for Optional and Union to using pipe-separated typing declarations.  It still passes its unit tests (although I have not rolled up my sleeves to attempt replacing pytest-vcr with something more maintainable).

#129 is merged now ...

cf https://github.com/datopian/giftless/issues/126


problem in users.php, how to insert an if and not show admins in table

hello, I would like to hide in the table all the admins, to do so I would like with a condition, example:
if($SimpleUsers->getInfo('reseller ')){
//hide admins in table (as a parameter)..
}else{}
I can not understand, I chew recently php, I'm only getting this problem in your whole project.
You called the users in the table, via:

I can't do what I want XD
Would you be so kind as to give me some tips? thanks in advance and nice project!

You called the users in the table, via:

hello, I would like to hide in the table all the admins, to do so I would like with a condition, example:
if($SimpleUsers->getInfo('reseller ')){
//hide admins in table (as a parameter)..
}else{}
I can not understand, I chew recently php, I'm only getting this problem in your whole project.
You called the users in the table, via:
echo $userId['uUsername']; ?>

I can't do what I want XD

Would you be so kind as to give me some tips? thanks in advance and nice project!


optimize doc translation

/check-cla

Pls sign the CLA in order for the PR to be reviewed.
more info
https://github.com/kubernetes/community/blob/master/CLA.md

I already signed, but commit with wrong github user, so...

Hey there! @eatjeff, looks like you haven't signed the CLA yet. Could I please have you do that? https://github.com/kubernetes/community/blob/master/CLA.md


Conflicts during installation

While trying to install MauiMTAdmob NuGet package, I get the following conflicts:

Error NU1107
Version conflict detected for Xamarin.AndroidX.Collection.Jvm. Install/reference Xamarin.AndroidX.Collection.Jvm <IP_ADDRESS> directly to project MyApp to resolve this issue.
MyApp -> Xamarin.Google.UserMessagingPlatform <IP_ADDRESS> -> Xamarin.GooglePlayServices.Basement <IP_ADDRESS> -> Xamarin.AndroidX.Collection <IP_ADDRESS> -> Xamarin.AndroidX.Collection.Jvm (>= <IP_ADDRESS>)
MyApp -> Plugin.MauiMTAdmob 1.4.5 -> Xamarin.AndroidX.Collection.Ktx <IP_ADDRESS> -> Xamarin.AndroidX.Collection.Jvm (>= <IP_ADDRESS> && < 1.3.1).

The AndroidX packages are dependencies.
Xamarin.Google.UserMessagingPlatform  is a package needed for showing the Google CMP message and its installation can not be avoided.

Hi.
Check the versions installed in the sample (there are both .net and 7 and .net 8 versions).
It will tell you which version to use to solve this.

Hello!
Easier said than done...
Just tried to downgrade Xamarin.Google.UserMessagingPlatform to <IP_ADDRESS> and that lead to knew conflicts...

Error	NU1605
Warning As Error: Detected package downgrade: Xamarin.Google.UserMessagingPlatform from <IP_ADDRESS> to <IP_ADDRESS>. Reference the package directly from the project to select a different version.
MyApp -> Xamarin.GooglePlayServices.Ads <IP_ADDRESS> -> Xamarin.GooglePlayServices.Ads.Lite <IP_ADDRESS> -> Xamarin.Google.UserMessagingPlatform (>= <IP_ADDRESS>)
MyApp -> Xamarin.Google.UserMessagingPlatform (>= <IP_ADDRESS>)

Try this:
    <ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android'">
            <PackageReference Include="Xamarin.GooglePlayServices.Ads.Lite" Version="<IP_ADDRESS>" />
            <PackageReference Include="Xamarin.Google.UserMessagingPlatform" Version="<IP_ADDRESS>" />
            <PackageReference Include="Xamarin.AndroidX.Collection" Version="<IP_ADDRESS>" />
            <PackageReference Include="Xamarin.AndroidX.Collection.Ktx" Version="<IP_ADDRESS>" />
    </ItemGroup>

No luck! I had already tried adding <PackageReference Include="Xamarin.Google.UserMessagingPlatform" Version="<IP_ADDRESS>" />
The same error persists.

Could you copy the android csproj section of your project?
Also just in case, clean your solution and remove the bin and obj folders
On Sun, 14 Jul 2024, 10:47 CostasAthan, @.***> wrote:

No luck! I had already tried adding
The same error
https://github.com/marcojak/MauiMTAdmob/issues/83#issuecomment-2227282110
persists.
—
Reply to this email directly, view it on GitHub
https://github.com/marcojak/MauiMTAdmob/issues/83#issuecomment-2227284783,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUIPIWWXTWO4IUOD5KHGATZMJCM3AVCNFSM6AAAAABK3AXGO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGI4DINZYGM
.
You are receiving this because you commented.Message ID:
@.***>

I had already tried cleaning the solution, but it didn't solve the problem. I also now deleted obj and bin directories following your suggestion and I rebuilt the project. Same error continues to appear.
Here is the relevant code from the .csproj file:
	<ItemGroup>
	   <PackageReference Include="CommunityToolkit.Mvvm" Version="8.2.2" />
	   <PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="8.0.0" />
	   <PackageReference Include="Plugin.StoreReview" Version="6.2.0" />
	   <PackageReference Include="Microsoft.Maui.Controls" Version="8.0.70" />
	   <PackageReference Include="Microsoft.Maui.Controls.Compatibility" Version="8.0.70" />
	   <PackageReference Include="Microsoft.NET.ILLink.Tasks" Version="8.0.7" />
	   <PackageReference Include="Xamarin.Google.UserMessagingPlatform" Version="<IP_ADDRESS>" />
	</ItemGroup>

	<ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android'">
            <PackageReference Include="Xamarin.GooglePlayServices.Ads.Lite" Version="<IP_ADDRESS>" />
            <PackageReference Include="Xamarin.Google.UserMessagingPlatform" Version="<IP_ADDRESS>" />
            <PackageReference Include="Xamarin.AndroidX.Collection" Version="<IP_ADDRESS>" />
            <PackageReference Include="Xamarin.AndroidX.Collection.Ktx" Version="<IP_ADDRESS>" />
        </ItemGroup>

        <ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android34.0'">
	     <PackageReference Include="Xamarin.GooglePlayServices.Ads">
	     <Version><IP_ADDRESS></Version>
	     </PackageReference>
         </ItemGroup>

Remove this part:

<IP_ADDRESS>

If I remember I had the same issues using the latest version of the
ads.lite.
For now use version 0.4
On Sun, 14 Jul 2024, 10:59 CostasAthan, @.***> wrote:

I had already tried cleaning the solution, but it didn't solve the
problem. I also now deleted obj and bin directories following your
suggestion and I rebuilt the project. Same error continues to appear.
Here is the relevant code from the .csproj file:

    <ItemGroup Condition="'$(TargetFramework)' == 'net8.0-android34.0'">
   <PackageReference Include="Xamarin.GooglePlayServices.Ads">
   <Version><IP_ADDRESS></Version>
   </PackageReference>
     </ItemGroup>

—
Reply to this email directly, view it on GitHub
https://github.com/marcojak/MauiMTAdmob/issues/83#issuecomment-2227287364,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUIPIUJEW27UEI5WGSYMSDZMJDZXAVCNFSM6AAAAABK3AXGO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGI4DOMZWGQ
.
You are receiving this because you commented.Message ID:
@.***>

Version 0.4 of what?

On Sun, 14 Jul 2024, 11:14 CostasAthan, @.***> wrote:

Version 0.4 of what?
—
Reply to this email directly, view it on GitHub
https://github.com/marcojak/MauiMTAdmob/issues/83#issuecomment-2227291866,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAUIPIS4XIPFVSOGISGKPRDZMJFRJAVCNFSM6AAAAABK3AXGO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRXGI4TCOBWGY
.
You are receiving this because you commented.Message ID:
@.***>

OK! It actually did work. Thanks for your support!


update the script for making labs from lab keys

in PR #176 I updated the R script for making labs from the lab keys to ignore the RStudio lab, because the use case doesn't align as well.

currently want people to change things in a chunk, so it would be nice if the key showed the change
want people to learn how to add chunks, the blank empty chunks make that kinda odd
people got confused by the empty chunks last time because they aren't as response -like as the other labs

maybe we can update the script to instead of ignore the RStudio lab, it only copies the text and ignores the chunks or something?

hmmm actually that would also mess up the extra header that I add in the key - but maybe we could have it ignore that

if you just put {r} instead of {r 1.1response} it will ignore the chunk!

hmmm it will still make the new header...

Just tried this.. and the answer of creating a new chunk shows like the chunks that have code in them like the initial installing packages, which is what I thought would happen but not actually what I want... also shows the answer for the new header. I think it might be best to revert all those changes and going back to not rendering the lab from the key? Maybe we can come up with a better solution though later.


Invalid output for structs with pointer members

type Y struct {
	Y1 *string
	Y2 *int32
}

Gives:
(Y)(Y{
	Y1: (*string)(&"str"),
	Y2: (*int32)(&42),
})

This is not valid Go. A trick to make it work is:
(Y)(Y{
	Y1: (*string)(&[]string{"str"}[0]),
	Y2: (*int32)(&[]int32{42}[0]),
})

Hi, thanks for reporting this. It's a duplicate of a long-standing issue #4, let's continue conversation there.


Fix dependency declarations

Fixes the rest of failures when running mvn dependency:analyze -DfailOnWarning=true

We'll get to this after the repo split


App crashes for invalid googleApId

Fatal Exception: com.firebase.core
Configuration fails. It may be caused by an invalid GOOGLE_APP_ID in GoogleService-Info.plist or set in the customized options.
FirebaseApp.configure(options: secondaryOptions)
Why doesn't this function throws a exception so that we can gracefully handle this instead of crashing the app.

Hi @maipalr, thanks for the report.
There are a few reasons for this:

googleAppID is required for all Firebase functionality and cannot continue without it
We expect a specific format for googleAppIDs, and this validation is what's causing a failure. We have no way to validate server side that the appID is valid during startup (without making a network request) so this is the best we can do to tell developers that the configuration is incorrect
Based on the two comments above, we do not expect developers passing in remotely configured googleAppID or generating them at all. These are string constants that should be used in a non-modified GoogleService-Info.plist file downloaded from the Firebase console, or copied directly without modification from the console
FirebaseCore is written in Objective-C so we cannot mark a call as throws, the only thing we can do is raise an NSException (link below for where this code is) and unfortunately that can't be wrapped in a Swift do/catch block. We raise an exception because we consider this a programming error and want to let the developer know right away instead of silently failing

https://github.com/firebase/firebase-ios-sdk/blob/8b23a3266d96859fad3d7d3fa83bc2aeeab192b0/Firebase/Core/FIRApp.m#L278
I hope that helps, let us know if there's any confusion over this. Thanks again!

is there any function to check for the format validity of googleAppID so that we can check before initializing the sdk?

There is no public API for this. May I ask what your use case is? This will help us evaluate if this is functionality missing that we want to support in the future.

use case is this params are configured from backend api, the reason for this we have different firebase projects and in future this projects may change. Sometimes if we get wrong data there is no way to revert back this the app keep crashes whenever it opened users has to delete the app and reinstall it.

It's unlikely we'll add support for this use case since we don't want people to be dynamically provisioning Google app IDs at runtime.


new 0.9.X release to update OPAM package

With recent patches to v8.4 branch we fixed build under MacOS. Now we need to update OPAM package in Coq OPAM repository. For this I need to have a new released version of ExtLib to build from.
Current OPAM package is referencing https://github.com/coq-ext-lib/coq-ext-lib/archive/v0.9.0.tar.gz
Perhaps you can release 0.9.1?  I will be glad to submit an update to Coq OPAM package.

I just made a 0.8.0 release for 8.4. It is a different feature set from 0.9.0 so it has a different minor version number.

What about 0.9.0 which is currently in OPAM? Should we update it to compile on Mac?
Alternatively I can submit an additional package for 0.8.0 which looks like a downgrade...

https://github.com/coq-ext-lib/coq-ext-lib/archive/v0.8.0.tar.gz does not work. I need download URL to build OPAM package.

I have submitted new package version to OPAM https://github.com/coq/opam-coq-archive/pull/43

I'm not sure if I just clobbered this release. Does it still work?

0.9.1 just made into official OPAM repo and now generally available. Thanks!

Thanks so much!


No module named 'transformers.models.gemma', transformers==4.34

RuntimeError: Failed to import swift.tuners.base because of the following error (look up to see its traceback): No module named 'transformers.models.gemma'

pip uninstall autoawq


Update Azure job store constructor invocation (resolves #1097)

@benedictpaten can you merge this? I don't have permission and this is blocking @cmarkello

This is the first nasty side effect of not having Azure under test, we should try to get the other jobstores back under testing v. shortly.

Minor correction: Azure is under test:
http://jenkins.cgcloud.info/job/toil-branches-experimental/


Array unions make method find into a field instead of method

Bug Report
types that are unions of two types of arrays, ie string[] | number[] will make the find method go from a method to a field.
if type is just string[] or if i type it as number[] or if i type it by (string | number)[] in the example below find is a method.
🔎 Search Terms
find array method
🕗 Version & Regression Information
Started seeing it today

Cannot compile TSC

⏯ Playground Link
TSPlayground Example
💻 Code
function wut(events: string[] | number[]) {
  events.find((e) => typeof e === "string" ? e === "foo" : e === 69);
  // --------^  find is not a method
}

🙁 Actual behavior
TSC has hurt feelings (build fails)
🙂 Expected behavior
TSC says this is great (just like map, or other array methods)

Duplicate of #44373.


Add 'connection.setAutoCommit(false)' to JdbcTokenStore

Fixes #250.
The change to JdbcUtils.executeUpdates is to accommodate the JdbcTokenStoreTest#testClaimTokenConcurrentlyAfterRelease test that failed when autoCommit was set to false. For reference, the exception stacktrace was:
  org.axonframework.eventhandling.tokenstore.UnableToClaimTokenException: Unable to claim token 'concurrent[0]'. It is owned by<EMAIL_ADDRESS>
	at org.axonframework.eventhandling.tokenstore.jdbc.JdbcTokenStore.claimToken(JdbcTokenStore.java:200)
	at org.axonframework.eventhandling.tokenstore.jdbc.JdbcTokenStore.loadOrInsertToken(JdbcTokenStore.java:229)
	at org.axonframework.eventhandling.tokenstore.jdbc.JdbcTokenStore.lambda$fetchToken$6(JdbcTokenStore.java:120)
	at org.axonframework.common.jdbc.JdbcUtils.executeQuery(JdbcUtils.java:61)
	at org.axonframework.eventhandling.tokenstore.jdbc.JdbcTokenStore.fetchToken(JdbcTokenStore.java:119)
	at org.axonframework.eventhandling.tokenstore.jdbc.JdbcTokenStoreTest.lambda$testClaimTokenConcurrentlyAfterRelease$8(JdbcTokenStoreTest.java:110)

and a corresponding change to JdbcUtils.executeBatch and JdbcEventStorageEngine to prevent:
Caused by: java.sql.SQLException: Can't call commit when autocommit=true
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:868) ~[mysql-connector-java-5.1.40.jar:5.1.40]
	at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:864) ~[mysql-connector-java-5.1.40.jar:5.1.40]
	at com.mysql.jdbc.ConnectionImpl.commit(ConnectionImpl.java:1606) ~[mysql-connector-
...
org.axonframework.spring.jdbc.SpringDataSourceConnectionProvider$SpringConnectionCloseHandler.commit(SpringDataSourceConnectionProvider.java:71) ~[classes/:na]
	at org.axonframework.common.jdbc.ConnectionWrapperFactory.lambda$wrap$1(ConnectionWrapperFactory.java:109) ~[classes/:na]
	at com.sun.proxy.$Proxy133.commit(Unknown Source) ~[na:na]
	at org.axonframework.common.jdbc.JdbcUtils.lambda$executeUpdates$0(JdbcUtils.java:93) ~[classes/:na]
	... 81 common frames omitted

Hi @donovanmuller,
I'm afraid calling commit() in the JdbcUtils may cause unwanted side-effects. The methods sending queries shouldn't be involved in dealing with transactions.
I have managed to reproduce the scenario in a test case. However, I do wonder where you have disabled autocommit. Was that deliberate? What is the reason you don't want to use transaction.
While debugging, I have also identified a fix for this issue, which doesn't change these utility methods.

See fix in 4fb23a78a1e9ffce5a3d5b4cd276034cdbb185c2.
@donovanmuller could you let me know if this also fixes your specific case?

@abuijze Fixed, thanks!


‘set’ variable causes a bug

{% set bodyCls = 'sss' %}
If have one template set this, all template render this while all template have the same layout

I don't completely understand. Can you post example code, or make a https://twigfiddle.com/ to demo the problem?

@olets  If have a template set this, all template render the same ClassName while all template extends the same layout, I also the  option.extend (Twig.extend ) to rewite the Twig.token.definitions

@example
index.page

{% extends 'layout.html' %}
{% set bodyCls = 'fixed-sidebar full-height-layout gray-bg skin-1' %}
{% block style %}
{% endblock %}
{% block body %}
{% endblock %}

other.page
i never set the bodyCls, but this page also have the bodyCls like the index.page
{% extends 'layout.html' %}
{% block style %}
{% endblock %}
{% block body %}
{% endblock %}

@olets
here is the task code

var twig = require('gulp-twig');
return gulp.src(['./views/**/*.html', '!./views/error.html', '!./views/layout.html'])
    .pipe(twig({
        extend: function(Twig) {
            require('./config/twig')(Twig);
            // twigConfig(Twig);
        },
        base: './views/',
        data: {
            // title: 'Express'
        }
    }))
    .pipe(gulp.dest(opt.tmp));

Don't know what your layout.twig is like, so guessing a little here. Are you saying this?
For
{# main.twig #}

{% extends 'extended.twig' %}

{# other.twig #}

{% extends 'extended.twig' %}
{% set x = 1 %}

{# extended.twig #}
{{ x }}

main.twig compiles to
1

I tried that with the latest gulp-twig, and main.twig is compiling as empty.
@icai can you make a minimal example that reproduces your problem? I wonder if the problem might be something in your templates or your ./config/twig

https://github.com/zimmen/gulp-twig/issues/44

Are you saying #44 replaces this issue? If so, go ahead and close this one


ffi_2/function_callbacks_test crashing on dartk-msan-linux-release-x64

MemorySanitizer thinks that std::cout is not initialized in the tests ffi_2/function_callbacks_test/0 .. ffi_2/function_callbacks_test/8
The crashes disappear if the line printing to std::cout is commented out:
https://github.com/dart-lang/sdk/blob/master/runtime/bin/ffi_test/ffi_test_functions.cc#L1009
The crashes also disappear if this flag is removed when building the test:
--exclude-libs=libc++.a
Note that this flag was added here: https://dart-review.googlesource.com/c/sdk/+/115403
Repro steps:
./tools/build.py -v --mode=release --sanitizer=msan -ax64 runtime
python tools/test.py -n dartk-msan-linux-release-x64 ffi_2/function_callbacks_test

Here is an output example:
DART_CONFIGURATION=ReleaseMSANX64 out/ReleaseMSANX64/dart --use-bare-instructions=false --ignore-unrecognized-flags --packages=/usr/local/google/home/regis/dart2/sdk/.packages /usr/local/google/home/regis/dart2/sdk/tests/ffi_2/function_callbacks_test.dart

exit code:
-6

stdout:
simpleAddition(10, 20)
intComputation(125, 250, 500, 1000)
intComputation(0, 0, 0,<PHONE_NUMBER>854775807)
intComputation(0, 0, 0, -9223372036854775808)
uintComputation(0, 0, 0,<PHONE_NUMBER>854775807)
uintComputation(0, 0, 0, -9223372036854775808)
uintComputation(0, 0, 0, -1)
simpleMultiply(2.0)
simpleMultiplyFloat(2.0)
manyInts(1, 2, 3, 4, 5, 6, 7, 8, 9, 10
manyDoubles(1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0
manyArgs( 1, 2.0, 3, 4.0, 5, 6.0, 7, 8.0, 9, 10.0,11, 12.0, 13, 14.0, 15, 16.0, 17, 18.0, 19, 20.0)
takeMaxUint8x10(255, 255, 255, 255, 255, 255, 255, 255, 255, 255)
takeMaxUint8x10(255, 255, 255, 255, 255, 255, 255, 255, 255, 255)

stderr:
==96121==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x7f5c41ead9bc in std::__2::basic_ostream<char, std::__2::char_traits<char> >& std::__2::__put_character_sequence<char, std::__2::char_traits<char> >(std::__2::basic_ostream<char, std::__2::char_traits<char> >&, char const*, unsigned long) ../../out/ReleaseMSANX64/../../buildtools/linux-x64/clang/bin/../include/c++/v1/ostream:727:13
    #1 0x7f5c41ead371 in std::__2::basic_ostream<char, std::__2::char_traits<char> >& std::__2::operator<<<std::__2::char_traits<char> >(std::__2::basic_ostream<char, std::__2::char_traits<char> >&, char const*) ../../out/ReleaseMSANX64/../../buildtools/linux-x64/clang/bin/../include/c++/v1/ostream:869:12
    #2 0x7f5c41ead371 in TestReturnMaxUint8 ../../out/ReleaseMSANX64/../../runtime/bin/ffi_test/ffi_test_functions.cc:1009:13

SUMMARY: MemorySanitizer: use-of-uninitialized-value ../../out/ReleaseMSANX64/../../buildtools/linux-x64/clang/bin/../include/c++/v1/ostream:727:13 in std::__2::basic_ostream<char, std::__2::char_traits<char> >& std::__2::__put_character_sequence<char, std::__2::char_traits<char> >(std::__2::basic_ostream<char, std::__2::char_traits<char> >&, char const*, unsigned long)
Exiting

--- Re-run this test:
python tools/test.py -n dartk-msan-linux-release-x64 ffi_2/function_callbacks_test/8
[00:02 | 100% | +   10 | -    9]

The crashes also disappear if this flag is removed when building the test:
--exclude-libs=libc++.a

I cannot reproduce this locally @crelier. Commenting out the following lines does not make the false positives disappear.
https://github.com/dart-lang/sdk/blob/master/build/config/linux/BUILD.gn#L11-L14
Is there something I'm missing @crelier?
According to the documentation we need to actually make sure we use a msan instrumented version of libc++.

If you want MemorySanitizer to work properly and not produce any false positives, you must ensure that all the code in your program and in libraries it uses is instrumented (i.e. built with -fsanitize=memory). In particular, you would need to link against MSan-instrumented C++ standard library.

https://github.com/google/sanitizers/wiki/MemorySanitizerLibcxxHowTo

@dcharkes you are right. Removing the flag --exclude-libs=libc++.a does not help anymore. Something must have changed since this issue was filed.

This is caused by the clang toolchain that we pull in through DEPS, it doesn't provide an MSAN instrumented libc++.

We don't currently ship MSan instrumented libc++ in our toolchain (not even for the host) so this is working as expected. We could but it's not entirely trivial because we would have to figure out the sanitizer multilib support for platforms other than Fuchsia.

Closing in favor of https://github.com/dart-lang/sdk/issues/50271


Need to add synth.metadata to all directories

Synthtool is spitting out errors saying the file is missing. I'm not sure if this is having downstream effects like incomplete autogen.

We now have an open PR on autosynth to fix the output directory. Then we will want to remove the .gitignore entry to allow the synth.metadata file to be added to git.

Confirmed that autosynth is correctly
From #1436

synthtool > Wrote metadata to clients/service_control/synth.metadata.


Plan for mocha-parallel-tests release v2

All of these thing are subject to v2 release of mocha-parallel-tests. Some of these things can be postponed however this is a core of release.

[x] Support mocha peerDependencies 3-5 (#122)
[x] Specify concurrency behaviour (#89, #108, #110, #115, #116)
[x] Parallel mode: running mocha tests on multiple cores (#66, #80, #96)
[x] Mimic mocha CLI behaviour by passing flags (#84)
[x] Investigate current behaviour with retries: it(), describe() etc
[x] TypeScript code

Would be great to have these things done however not a reason to postpone new major release.

[x] Comparison with other similar libraries (#52)
[x] Flaky Selenium tests (#99)
[x] Investigate install errors on windows (#111)

@1999  , Does the latest release contains support to mochawesome? I still have same empty html issue.

Not sure, I haven't checked it yet. Let's track this down in #113


OSError: work_dir/relation-net_conv4_1xb105_cub_5way-1shot/best_accuracy_mean.pth is not a checkpoint file

base training:python ./tools/classification/train.py configs/classification/relation_net/cub/relation-net_conv4_1xb105_cub_5way-1shot.py

meta testing:python ./tools/classification/test.py configs/classification/relation_net/cub/relation-net_conv4_1xb105_cub_5way-1shot.py work_dir/relation-net_conv4_1xb105_cub_5way-1shot/best_accuracy_mean.pth --metrics  accuracy

Here is the error information :
load checkpoint from local path: work_dir/relation-net_conv4_1xb105_cub_5way-1shot/best_accuracy_mean.pth
Traceback (most recent call last):
File "./tools/classification/test.py", line 200, in
main()
File "./tools/classification/test.py", line 161, in main
load_checkpoint(model, args.checkpoint, map_location='cpu')
File "/home/sqjin/envs/openmmlab/lib/python3.7/site-packages/mmcv/runner/checkpoint.py", line 531, in load_checkpoint
checkpoint = _load_checkpoint(filename, map_location, logger)
File "/home/sqjin/envs/openmmlab/lib/python3.7/site-packages/mmcv/runner/checkpoint.py", line 470, in _load_checkpoint
return CheckpointLoader.load_checkpoint(filename, map_location, logger)
File "/home/sqjin/envs/openmmlab/lib/python3.7/site-packages/mmcv/runner/checkpoint.py", line 249, in load_checkpoint
return checkpoint_loader(filename, map_location)
File "/home/sqjin/envs/openmmlab/lib/python3.7/site-packages/mmcv/runner/checkpoint.py", line 265, in load_from_local
raise IOError(f'{filename} is not a checkpoint file')

The same error occurs when i try to download the official checkpoint file.

the problem solved following this issue

work_dir should be work_dirs


Bootstrap fails with 2 health checks. Also Issues with Strimizi Operator

Hello
We are trying to bootstrap flux CD with our git repository and for some reason the bootstap fails with 2 health checks.  When we are looking at the pods that are being deployed in the flux-system namespace we see that the `kustomization controller``` goes into crashback loop. Also when flux is trying to deploy the strimzi operator it shows the following error:
{"level":"error","ts":"2023-03-28T17:19:50.126Z","msg":"Reconciliation failed after 612.402757ms, next try in 10m0s","controller":"kustomization","controllerGroup":"[kustomize.toolkit.fluxcd.io](http://kustomize.toolkit.fluxcd.io/)","controllerKind":"Kustomization","Kustomization":{"name":"apps","namespace":"flux-system"},"namespace":"flux-system","name":"apps","reconcileID":"208d153b-ee19-469e-bdca-281ace1e641c","revision":"master@sha1:99aea66a26cf45820aa3414f081085675d6ed8d3","error":"Kafka/strimzi/kafka dry-run failed, error: no matches for kind \"Kafka\" in version \"[kafka.strimzi.io/v1beta2](http://kafka.strimzi.io/v1beta2)\"\nNamespace/seldon-system created\nNamespace/strimzi created\n"}```

Flux version: 0.41.2
Cluster details: k3s cluster with ARM64 architecture
[combined_cert_and_trans.pdf](https://github.com/fluxcd/flux2-kustomize-helm-example/files/11119687/combined_cert_and_trans.pdf)
[combined_certificate.pdf](https://github.com/fluxcd/flux2-kustomize-helm-example/files/11119688/combined_certificate.pdf)
[Contract_SUBLET.pdf](https://github.com/fluxcd/flux2-kustomize-helm-example/files/11119689/Contract_SUBLET.pdf)
[CV-EN-22364.docx](https://github.com/fluxcd/flux2-kustomize-helm-example/files/11119690/CV-EN-22364.docx)
[CV-Rachit.pdf](https://github.com/fluxcd/flux2-kustomize-helm-example/files/11119691/CV-Rachit.pdf)
[Dummy_Charger_for_customer_demo_bak.xlsx](https://github.com/fluxcd/flux2-kustomize-helm-example/files/11119692/Dummy_Charger_for_customer_demo_bak.xlsx)
[Dummy_Charger_for_customer_demo(1).xlsx](https://github.com/fluxcd/flux2-kustomize-helm-example/files/11119694/Dummy_Charger_for_customer_demo.1.xlsx)
![image (1)](https://user-images.githubusercontent.com/51020974/229063839-94e6cfca-4072-41cf-bb8f-e79db6edad35.png)
![image](https://user-images.githubusercontent.com/51020974/229063842-aae7d9fb-3758-46ad-9fac-fa54e27fd9fb.png)

Link to duplicate report:

https://github.com/fluxcd/flux2/issues/3738


The "space" dropdown height limit is not appropriately displayed as per Scratch

from the flyout area, drag a block "When space key pressed" to workspace.

As per Scratch,

I don't think the exact number of items shown is too important, but having the extra space between & around items is probably important for tablets & touchscreens.

Working as expected.


oci_conmon: not make accessible dirs if not needed

do not change the permissions mask for the rundir and the tmpdir when running a container with a user namespace and the current user is mapped inside the user namespace.
The change was introduced with 849548ffb8e958e901317eceffdcc2d918cafd8d, that dropped the intermediate mount namespace in favor of allowing root into the user namespace to access these directories.
Closes: https://github.com/containers/libpod/issues/4846
Signed-off-by: Giuseppe Scrivano<EMAIL_ADDRESS>

Very cool if this works.
LGTM

Very cool if this works.
LGTM

so now I remember where it was failing.  If the user is not mapped inside of the user namespace, it won't have access to any temporary file we create (such as hostname, .containerenv, passwd) and the OCI runtime will fail.
The correct check is to verify if the current user is mapped inside the user namespace.

Huh. Neat. LGTM once this goes green.

/lgtm
/hold


Find an alternative to bronum

Try a more inclusive term like:

friend + enum = frinum
hug + enum = hugum or hugnum

… uh, that's all I got (and it's not great) but I'm sure you get the idea.

That's the whole point of sarcasm. Making fun of #perfmatters but also making fun of the tshirt thing, and pointing out that #enumsmatter is a little bit of a cult thing as well.

BTW, thanks for being willing to have a conversation on this.
The tech industry has a problem with inclusion and diversity. Even joking around using satire can hurt efforts to turn things around. Maybe the intent of the sarcasm is to criticize "bro" culture but it's a slippery slope to being misunderstood and ultimately defeating the purpose of the sarcasm.
Also, some people don't get sarcasm or are slower picking up on it. Maybe a good comedy writer could layer in a message that is both sarcastic but clearly critical of non-inclusiveness but I don't think that  happened here.
Maybe the bug I should've file is that the "bronum" sarcasm is broken, it can be misinterpreted. And if you put it on a t-shirt then it's definitely broken. An "inside" (Android devs) joke will not be understood on the outside and will just make the community seem non-inclusive.

:+1:


Limit overall execution time

This seems known but timeout in the .get() function only works if the server doesn't respond. Is there a way to have this also apply to the entire request? (grab a MP3 stream, file too large, site is responding but is too slow?) I'm utilizing requests in an application that grabs only 1MB of each page via .iter_content() for detecting MIME but have some issues where sites are so entirely slow that grabbing the 1MB (or whatever the page is until it completes) can easily take >60s.

Given that there is no schedule on this feature, having an issue open to track it feels messy.

+1

Further discussion belongs over on https://github.com/sigmavirus24/requests-toolbelt/issues/51


Remove units from pay and stake commands

Update commands to be correct with https://github.com/solana-labs/solana/pull/8306

Since all these values are SOL, this is backwards compatible with current v0.23 release


Is not possible to add a paragraph in the first section of the Introduction

When you try to add a new paragraph in the folder "1. Introduction", it appears in the bottom of the section.
If you try to move up the paragraph to the section between "1. Introduction" and "1.1. Project Scope", Proteus gives an error message. We had to write the introduction of the company in the Project Scope.

I could not reproduce the error locally using different projects (new project and old test projects). Looking at the provided screenshoot, I think the problem is related to where the item is being dropped. In order to illustrate the different positions where and object can be dropped, I will share some screenshots (Look how the object borders change):

Object dropped inside another object. Object is surrounded by a box. The dropped object will be added as a child of the destination object. It will show an error message if the object is already a child of the destination object (I think this is your case)

Object dropped below another object. Only bottom black border will be set. The dropped object will be included in the destination object´s parent as a child, its position will be just next to the destination object.

Look how the paragraph is now in the same level as the top level sections. Now its parent is the document and not the section 1 Introduction. This case also applies if the item is dropped above the item, just the position and border while moving will be above.
So, what you need to do in order to drop the paragraph as first child of section 1 is this scenario:

Look how the border is above section 1,1 instead of below section 1 (previous case). This will just move the object (paragraph) inside its parent (section 1) in order to get the first position (above section 1.1).
Another solution is using the context menu buttons to manipulate position inside parent, you will need to move it 3 times:

This issue is not a bug itself but a UX/UI design flaw. It is strongly dependant on Qt framework implementation and It will be addressed in future version by increasing the size of the items in the tree or making it more obvious.
Confirm you are able to move the paragraph to the desired position so we can close the issue. In case you cannot peform the movement, share the status bar message when the paragraph is selected and when the section is selected in order to see classes conflicts.
Take note that this might be tricky if you are using a high resolution screen(4k) or high DPI mouse.

Closed due to inactivity, if the issue persist, please re-open this ticket.


feat(gsoc'24): update post assignment (#4805)

updates from main repo
ref PR - #4805

Do we use this file in the vue simulator ?

i think its not required here, just that it was under the simulator folder


A few minor spelling errors and slight rewording

Very minor spelling corrections (+1 minor rewording) I made while reading through the documentation.

Thanks!


How to use the close method for custom event modal?

I wanted to add a close button in my custom event modal. However, I have no idea to do that as the documentation about that is not really clear. Hope you can assist me, thanks!

or can I use something like this for the custom event modal? but how?

I added an example here: https://github.com/schedule-x/vue-example/blob/main/src/App.vue


Setting "terminal.integrated.cwd": "${fileDirname}" makes fallback to workspace not working

VSCode Version:

Version: 1.37.1 (user setup)
Commit: f06011ac164ae4dc8e753a3fe7f9549844d15e35
Date: 2019-08-15T16:17:55.855Z
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.18362

OS Version: Microsoft Windows [Version 10.0.18362.295]

Steps to Reproduce:

Follow "Variables resolved in settings" guide (from release notes) and set: "terminal.integrated.cwd": "${fileDirname}"
Press CTRL+N (New File)
Press CTRL+<backtick> (View: Toggle Integrated Terminal)
Observer error: The terminal shell CWD "${fileDirname}" does not exist

Expected behaviour:
If the path does not exist, fallback to default ${workspaceFolder} / ${workspaceRoot} location?

Does this issue occur when all extensions are disabled?: Yes

Good idea 😄


[BUG] "enableCaption: false" still displays a caption on the video.

Describe the bug
When the argument of enableCaption is set to false for YoutubePlayerFlags, the youtube video still shows the caption on the video.
To Reproduce
the code below is the set up for the controller of YoutubePlayer
_controller = YoutubePlayerController(
initialVideoId: _ids.first,
flags: const YoutubePlayerFlags(
enableCaption: false,
captionLanguage: 'en',
mute: false,
autoPlay: true,
disableDragSeek: false,
loop: false,
isLive: false,
forceHD: false,
startAt: 0,
),
Expected behavior
The controller with "enableCaption: false" is not supposed to put a caption on the youtube video.
Screenshots
If applicable, add screenshots to help explain your problem.
Technical Details:

Device: Android emulator, Galaxy s10+
OS: Android 10
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Got same issue.

Will look into it.

Got Same issue. Not yet?

As I can tell from the youtube Iframe API https://developers.google.com/youtube/player_parameters?hl=es-419#Parameters. the cc_load_policy only accepts one parameter 1, to force the video to show always the CC, however if cc_load_policy is not set or it's value is different from 1, youtube decides whether to show the subtitles or not ("based on the user's preferences", I think they do it for accessibility reasons though). So maybe the only way to hide them it's by javascript manipulation...

Same issue for me. Only happened on some iOS devices.


Scan hangs when getting build settings

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I have read the Contribution Guidelines

Issue Description
Scan hangs when getting the build settings:
xcrun xcodebuild -showBuildSettings -workspace './App.xcworkspace' -scheme 'AppTests'

A couple things to note:

I thought that it was related to https://github.com/fastlane/fastlane/issues/1844 since it was the last command showing up in the logs, but after looking at the stacktrace when I force quite fastlane, it seems that it's actually hanging on showBuildSettings.
I can reproduce the freeze by running the -showBuildSettings command manually, though it only happens one time out of five, something like that.
It happens consistently when running in a CI environment (circleci 7.3)
It started happening after I removed all files in the App target from the AppTests target. Instead, I now have @testable import App everywhere. This change required to modify my Podfile to have different pods for the AppTests target (see below)
DerivedData is relative to my project directory.

Complete output when running fastlane, including the stack trace and command used
Please note that I modified fastlane_core's sources to show the build settings command, which is why it shows up in the logs. If I hadn't, only the -list command would appear.
ldiqual@ldiqual-mbp ~/S/App-ios-test1> bundle exec fastlane test --verbose
/Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/user_interaction.rb:334: warning: constant ::TimeoutError is deprecated
INFO [2016-04-04 15:18:48.74]: ---------------------------
INFO [2016-04-04 15:18:48.74]: --- Step: opt_out_usage ---
INFO [2016-04-04 15:18:48.74]: ---------------------------
INFO [2016-04-04 15:18:48.74]: Disabled upload of used actions
INFO [2016-04-04 15:18:48.74]: -------------------------------------------------
INFO [2016-04-04 15:18:48.74]: --- Step: Verifying required fastlane version ---
INFO [2016-04-04 15:18:48.74]: -------------------------------------------------
INFO [2016-04-04 15:18:48.74]: fastlane version valid
INFO [2016-04-04 15:18:48.74]: ------------------------------
INFO [2016-04-04 15:18:48.74]: --- Step: default_platform ---
INFO [2016-04-04 15:18:48.74]: ------------------------------
INFO [2016-04-04 15:18:48.91]: Driving the lane 'ios test' 🚀
INFO [2016-04-04 15:18:48.91]: ------------------
INFO [2016-04-04 15:18:48.91]: --- Step: scan ---
INFO [2016-04-04 15:18:48.91]: ------------------
WARN [2016-04-04 15:18:48.93]: xcrun xcodebuild -list -workspace './App.xcworkspace'
2016-04-04 15:18:50.261 xcodebuild[94625:3349109] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-04-04 15:18:50.265 xcodebuild[94625:3349109] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FixCode.xcplugin' not present in DVTPlugInCompatibilityUUIDs
INFO [2016-04-04 15:18:51.94]: $ xcrun xcodebuild -showBuildSettings -workspace './App.xcworkspace' -scheme 'AppTests'
2016-04-04 15:18:52.174 xcodebuild[94629:3349189] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-04-04 15:18:52.176 xcodebuild[94629:3349189] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FixCode.xcplugin' not present in DVTPlugInCompatibilityUUIDs
^C/Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane_core-0.41.1/lib/fastlane_core/helper.rb:51:in ``': Interrupt
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane_core-0.41.1/lib/fastlane_core/helper.rb:51:in `backticks'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane_core-0.41.1/lib/fastlane_core/project.rb:203:in `build_settings'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane_core-0.41.1/lib/fastlane_core/project.rb:168:in `mac?'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane_core-0.41.1/lib/fastlane_core/project.rb:180:in `ios?'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/scan-0.5.2/lib/scan/detect_values.rb:23:in `set_additional_default_values'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/scan-0.5.2/lib/scan.rb:27:in `config='
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/scan-0.5.2/lib/scan/manager.rb:4:in `work'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/lib/fastlane/actions/scan.rb:10:in `run'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/lib/fastlane/runner.rb:143:in `block (2 levels) in execute_action'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/lib/fastlane/runner.rb:129:in `block in execute_action'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/lib/fastlane/runner.rb:128:in `chdir'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/lib/fastlane/runner.rb:128:in `execute_action'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/lib/fastlane/fast_file.rb:149:in `method_missing'
    from Fastfile:16:in `block (2 levels) in parsing_binding'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/lib/fastlane/lane.rb:36:in `call'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/lib/fastlane/runner.rb:52:in `block in execute'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/lib/fastlane/runner.rb:46:in `chdir'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/lib/fastlane/runner.rb:46:in `execute'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/lib/fastlane/command_line_handler.rb:30:in `handle'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/bin/fastlane:38:in `block (2 levels) in run'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/command.rb:178:in `call'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/command.rb:153:in `run'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in `run_active_command'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane_core-0.41.1/lib/fastlane_core/ui/fastlane_runner.rb:23:in `run!'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in `run!'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/bin/fastlane:156:in `run'
    from /Users/ldiqual/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/fastlane-1.70.0/bin/fastlane:162:in `<top (required)>'
    from /Users/ldiqual/.rbenv/versions/2.3.0/bin/fastlane:23:in `load'
    from /Users/ldiqual/.rbenv/versions/2.3.0/bin/fastlane:23:in `<main>'

ldiqual@ldiqual-mbp ~/S/App-ios-test1> xcrun xcodebuild -showBuildSettings -workspace './App.xcworkspace' -scheme 'AppTests'
2016-04-04 15:31:51.235 xcodebuild[94673:3360581] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SparkInspectorXcodePlugin.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-04-04 15:31:51.238 xcodebuild[94673:3360581] [MT] PluginLoading: Required plug-in compatibility UUID ACA8656B-FEA8-4B6D-8E4A-93F4C95C362C for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/FixCode.xcplugin' not present in DVTPlugInCompatibilityUUIDs
Build settings for action build and target AppTests:

Note that the command above doesn't exit (1 time out of 5), I have to force kill it.
Configuration Files
Please copy the complete content of your Fastfile and any other configuration files you use below:
Fastfile:
opt_out_usage
fastlane_version "1.49.0"
default_platform :ios

platform :ios do
  desc "Runs all the tests"
  lane :test do
    scan(scheme: "AppTests")
  end
end

Podfile:
source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '9.0'
use_frameworks!
inhibit_all_warnings!

abstract_target 'Common' do

    target 'App'

    target 'AppTests' do
        pod 'SomePod'
    end

    pod 'SomeOtherPod'
end

Environment
fastlane 1.70.0
Bundler + rbenv
ruby 2.3.0
xcode 7.3
cocoapods 1.0.0.beta.6

Looks like carthage had the same issue and added a timeout: https://github.com/Carthage/Carthage/pull/1120. And also on xctool: https://github.com/facebook/xctool/issues/295

Hi @ldiqual Hope you are doing well! Can you let me know if this is a duplicate of #3886? Thanks!

I solved this by having fewer targets in the scheme, I'm not sure if this applies to you. Oddly enough I was only experiencing this inside a VM, there is definitely something sketchy but after some investigation I blame xcodebuild

@TKBurner Thanks for getting back to me. I'm not too sure why you're thinking those issues could be related, I don't see any mention of -showBuildSettings hanging.
@stepanhruda Turns out that I worked around the issue by using scan on the main scheme instead of the test scheme. To be more specific, I had two schemes: App and AppTests, and was running scan ... -scheme AppTests, which was hanging during the -showBuildSettings step. Using scan ... - scheme App fixed the issue. As a result, I deleted the AppTests scheme to avoid future confusion.
I'll close the issue since I won't be able to reproduce it anyway, but @TKBurner I believe fastlane should have a timeout+retry on the showBuildSettings step, as implemented by other tools (see links above).
Thanks and have a great day!

@ldiqual Thanks for following up. I'm going to mark this as a feature request so we can triage your idea:
I believe fastlane should have a timeout+retry on the showBuildSettings step, as implemented by other tools (see links above).'
Really glad to have you using Fastlane :+1:

We sorted this by moving the test schema up in the list of Manage Schemes. We had some schemes with spaces in - not sure if that could be part of the problem? We moved it above them and it started working.
Similar environment, CI (Jenkins) with rbenv.
Although - might have just been coincidental...

@bencollier Thanks for documenting your fix!

I'm having the same problem with a similar environment, my CI is TeamCity and I don't use rbenv (only Bundler). +1000 for timeout+retry
Also the logs should print the command that is being run, instead of the previous one.

Should this issue be closed since it is now a feature request?

@fcy Thanks for following up. We'll review this as a team and reply to it as a feature request. Hope that you have a wonderful week!

Forgot to mention that none of the fixes worked for me. It happens constantly I the only that works for me is re-run the CI build.

@fcy Thanks for following up 👍 We'll follow up here with relevant updates.

One more thing for when you guys discuss it. If adding the auto-retry if not a good idea for you, at least add the timeout to make it fail fast so CI builds don't hang for 10 minutes or more before getting killed.

@fcy Thanks for following up! Good point 👍

We hit this again in a different project, again running on Jenkins. Trying all these things fixed it;

Unticking show on all of the schemes that aren't actively used (for example, all the pods)
Unticking Shared on all the shared schemes
Reticking Shared on all the shared schemes
Changing some of the Scheme settings (like the targets that should be built)

It seems that sometimes the project / scheme files just needs something to change to fix this, these steps above seem to somehow kick it into action.

Hi @bencollier Thanks for following up. Can you let me know if it works consistently if you only have one target per scheme? Thanks!

Thanks for sharing @bencollier. FWIW I tried and none of that solved it for me.

Finally! PR #4492 fixes the problem once and for all. I hope it gets merged.

Thanks @fcy! I'm going to bump that pull request internally so we can hopefully merge soon 👍

Any news or plans to create a new PR?

Any updates on this? I am also seeing this happen once we upgraded to Xcode 7.3.1

Our CI environment suffers from the same, since I upgraded it to Xcode 7.3.1
To be more exact, something strange is happening:
We are using rvm with ruby 2.2.3. It seems that everything is fine with fastlane version 1.81.0, but this problem occurs with fastlane version 1.98.0
I also thougth that maybe rvm/rbenv is causing this somehow, since @ldiqual said, that they are using rbenv.

FWIW we don't use rvm/rbenv, we use the system Ruby. And we keep OS X up to date.

 I found out that the real command in my case was xcrun xcodebuild -showBuildSettings ... despite that last message was xcodebuild -list -workspace .... (lack of logging).

Oh, I see :)
It was just the last message on the console log

Hi @ilsinszkibal and @dragvs can you share your full input and output? I want to take a look into this. Hope you have a great day! 👍

Thanks a lot, it is on my list to collect everything to be able to reproduce this!

Sorry for the late response. I've tried out a number of things. Currently I realised, that this script will also get stuck without using fastlane. I am currently checking out if this only occures for all of our iOS projects -even the smaller ones- or if this has to do something with the project settings/size.
#!/bin/bash

set -ex

for i in `seq 1 10`;
do
	currentDate=`date`
	echo "Try:$i Date:$currentDate"
	xcodebuild -showBuildSettings -workspace ...xcworkspace -scheme ...iOSTests
done

Update: we've managed to figure out what is causing the problem for us:
In our project the shared unit test scheme was set to Analyze Test and Build(Edit Scheme, on the Build section). Once we removed Analyze and Build the problem went away.
The way we figured this out, in case any poor soul needs to solve this:

Modified the script above to run 30 times. Started running on the local project.
Figured out that the problem occurred for our test scheme and not our main scheme.
Confirmed that a new unit test target and scheme was fine.
Started to delete everything and reset all settings on the test scheme and target in question and checked if the problem is still there.

@ilsinszkibal thanks for sharing your workaround, unfortunately it does not work with my projects :'(

Xcode 8 beta 4 still has the same problem #5163
PR #5188 seems to fix the issue

@hotbott We'll work with you on those issues. Thanks!

Closed? Has it been fixed (I mean a fix merged and released)?

@fcy What version of Xcode are you still experiencing this in? Thanks!

@TKBurner 7.3.1, I have been using #5188 to solve the problem but simce it isn't merged I asked to see if there were an official merged fix already.

FWIW I am still experiencing this issue with XCode 8 Beta 5. It seems to me that fastlane does sometimes retry once, but that retry may also hang so I have to retry manually.

@TKBurner I can see this issue on several App and Library projects. That leads to a hanging build server.
PR #5188 solves the issue. What's the reason not to accept it?
I don't want to remove fastlane from our projects, but that workaround is currently under discussion in my team.

Hi @hotbott Are you using Xcode 7 or 8? We are working on merging our PRs, so you'll see this in master soon.
Thanks!

I'm having the same issue (using Xcode 7), this is getting pretty frustrating.

@revile Have you checked out the PR to see if it clears things up for you? Thanks!

@TKBurner We're using Xcode 7.3.1 but Xcode 8 beta still has the same problem.
Thanks

@TKBurner The PR will definitely help. Like others I can reproduce the issue manually in the command line by running the command in question, roughly 20% of the time this will hang in Terminal. Retrying will fix it.

@revile Thanks! Are you able to run it locally. We are working to merge our PRs but as you can see there are about 30 right now so it'll be faster for you to use that version until we are able to merge.
Thanks!

Hi all, we've shipped a workaround (#5626) and timeout/retry solution (#5188) as part of fastlane_core 0.51.0 🚀
Thanks very much for your help! Please let us know how it looks 👍

To test the latest release, please run [sudo] gem update fastlane_core or if you have a Gemfile, bundle update

Thanks for merging! It works :)

Hi all, gym 1.9.0 💪 and scan 0.12.0 🔍 have been released to pick up these fastlane_core improvements.
To get updated and try them out, please run [sudo] gem update gym scan :rocket:

I'm going to close this for now, but please feel free to continue the conversation and we can reopen as needed! 👍


Readme.md file has link to 'medium' (medium.com) site

Hi,
This is about the readme file having link to Medium (medium.com) website instead of direct link to Netflix engineering blog (netflixtechblog.com)
Medium is a site where content is not freely viewable. For a particular user, apart from initial few articles being freely available to view the rest are not freely viewable. Once you exhaust your free quota, you need to pay to view anymore articles that you want to view.
Given above, I see that readme.md @ https://github.com/Netflix/Hystrix has following link: https://medium.com/@NetflixTechBlog/performance-under-load-3e6fa9a60581
Is it not better to have direct link to the Netflix engineering blog  (https://netflixtechblog.com/toward-a-better-quality-metric-for-the-video-community-7ed94e752a30) embedded in the readme file instead of the link to Medium site?
Thanks if you have change the readme file accordingly.

Pavi

Hi @Pavitrag
I see that "Netflix Technology Blog" user blog posts in Medium are all free to view. I also see that Netflix Tech Blog website is also served under Medium and free too.

Hi @emrecosar
I'm happy as long as all the engineering blogs are all freely viewable.
Thanks! for letting me know.


How to enable this feature for Windows phone application ?

I am developing ionic application and planning to implement this feature for Android, iOS and Windows phone. Android & iOS works fine but how to do for Windows phone apps. ?

Right now this plugin doesn't support Windows Phone. And how it is done there - honestly, I have no idea... I'm not a WP developer.


Fix definition of Action message in Table Entry section

Fixes #140

Action is also used in ActionProfileMember, too, yes?  So the use of Action doesn't seem to be unique to the one-shot for indirect tables.

Hmm that's correct. Then I really don't know where the sentence came from in the first place. I'll use your siuggestion from #140.


Npm release without github release & changelog

I'm maintaining a monorepo with about 50 packages and a lot of internal dependencies.
We don't get a lot of value to generate both github releases and changelogs when there is only internal dependency update (patch). So to minimize notification spam, I would like to disable both but still want to publish the new releases to npm though.
Here is a PR release example.

q: do you only want to skip over "internal dependency updates" - like, you'd only want to publish a release for packages with explicit changesets for them?

I still want to publish those packages only concerned by "internal dependency updates". To avoid GitHub notifications/changelog spam, I would like to disable both "github releases" and changelog updates for these events.
The best I could do is to write a plugin to remove the text content, looking to:

Cleaner but I would love to remove these headings as well


Fix production URL

Coverage remained the same at 100.0% when pulling e7300070b4486c05e399bfca44b4bcde37828381 on fix_production_url into d30f219960a8d9b0b25fe2a3eee6635c89daa8ce on master.


k_busy_wait exits early on Nordic chips

A k_busy_wait(20) in driver code to wait for a reset to complete was proceeding in 13 us, causing a hardware failure.  While investigating I discovered that for Nordic NRF51 k_busy_wait delays:

12.38 us for an argument of 1, 2, 5, 10, 15, or 20 us
26 to 51 us for an argument of 50 us
54 to 57 us for an argument of 75 us
83 to 86 us for an argument of 100 us

Further, for NRF52840 k_busy_wait delays:

3.9 to 4.58 us for an argument of 1, 2, 5, 10, 15, or 20 us
18 to 31 us for an argument of 50 us
61 us for an argument of 75 us
89 to 91 us for an argument of 100 us

Timings derived from a custom application with a GPIO toggle before and after the delay, duration measured with Saleae Logic Pro-8.
That really short delays take much longer than they should is unfortunate.  That longer delays take shorter than they should is simply unacceptable.  We must have a reliable usleep functionality to satisfy hardware timing requirements.
I did find issue #6498 which was enlightening but did not provide a solution.
Some improvement might be accomplished by fixing k_busy_wait to account for cycles lost to integer truncation, though a 10% error in a 100 us delay is difficult to understand.  However, I'm fixing it another way in a PR to be submitted next.

@carlescufi As a consequence of #14991 reverting this change the misbehavior is again present in Zephyr 1.14 and current master.  Re-testing on nRF52840 shows 50 us delays complete in 24 to 32 us, 75 us delays in 55 us, and 100 us delays in 86 us tested on 1.14.0.
@pizi-nordic FWIW the alternative timer infrastructure in my fork has no effect on the behavior of k_busy_wait.

The diagnosis supporting #14991 is not correct.  The error between the system clock (counting 10 ms ticks) and the cycle clock (counting 32 KiHz ticks) is not due to RC vs LFXT variation, but the fact that using CONFIG_SYS_CLOCK_TICKS_PER_SEC=100 results in a system clock 1 s that corresponds to 32700 cycles of a 32768 Hz clock.
If CONFIG_SYS_CLOCK_TICKS_PER_SEC=128 is used for this test, then 1.14 passes when bd24b31139c1946bd9fe4c336c697b69608fac5e is reverted, restoring the precise k_busy_wait implementation.
I've added #15707 which upstreams my patch to changes the default ticks-per-second on all Nordic platforms, and also restores the original fix for this problem.

~The diagnosis supporting #14991 is not correct.~

I'm going to retract that: it's not so simple.
Here's instrumentation on the test that failed in #14186 when CONFIG_SYS_CLOCK_TICKS=100:
starting test - test_kernel_systick
33670 - 920 = 32750 ticks = 999450 ns

    Assertion failed at ../src/kernel_apis.c:55: test_kernel_systick: diff >= WAIT_TIME_US is false

When CONFIG_SYS_CLOCK_TICKS=128 on the same hardware I get:
starting test - test_kernel_systick
33705 - 919 = 32786 ticks = 1000549 ns
PASS - test_kernel_systick

Both of these taken from the branch used in #15707, with prj.conf updated to override the default, running on a Particle Xenon (nRF52840).
I don't understand why this succeeds and fails the way it does, since in both cases the cycle timer---which should not be affected by the tick truncation---is used to measure the duration of the delay.
What I have observed is two things:

Runs of the test immediately after flashing a new image have a shorter measured wait time in cycles than runs initiated by resetting a programmed device.  The difference is generally about 20 cycles (from 32718 to 32739), or 610 us.  This is consistent with an unstable RC clock starting up over the first couple seconds, assuming something about a reset speeds stabilization.
Runs of the test with 100 ticks per second have a shorter measured wait time in cycles than runs with 128 ticks per second (32675 for 100 t/s versus 32718 for 128 t/s).  The same first-versus-reset increase applies (32675 to 32696).

The result is that the first run after flashing with 100 t/s almost always fails, while subsequent runs after a reset usually pass.  The first run after flashing with 128 t/s usually succeeds, and subsequent runs after a reset almost always succeed.
So there's just something really weird about the way the timing infrastructure works.

The diagnosis supporting #14991 is not correct. The error between the system clock (counting 10 ms ticks) and the cycle clock (counting 32 KiHz ticks) is not due to RC vs LFXT variation, but the fact that using CONFIG_SYS_CLOCK_TICKS_PER_SEC=100 results in a system clock 1 s that corresponds to 32700 cycles of a 32768 Hz clock.

I missed that.... Due to fact that on some board test passed and on others not as well as measurement results fixated my mind. Thank you @pabigot for pointing this out!


Use new generator to generate stubs and publish to PyPI

Description

This PR updates the Travis CI configuration so that it uses the new Python stubs generator at QuantConnect/quantconnect-stubs-generator to generate stubs and so that these stubs are published to PyPI. This is done whenever a new tag is published, and the value of the tag is used as the new version to publish to PyPI.
This PR is marked as a breaking change because:

I have removed the functionality which uploads the stubs to S3. The new stubs will be installable with pip install quantconnect-stubs, which doesn't require Skylight to be installed and works with basically all editors (not just the ones Skylight supports installing the stubs for). Please let me know if you'd like this to stay, I can revert removing the code that is responsible for this (but I cannot test it, because I don't have S3 credentials).
I have removed the pushing of the stubs to the Algorithm.Python/stubs directory, because it is no longer needed to maintain this directory if you can also install the stubs with pip. As with the previous item, let me know if you'd like this to stay.

Important: Before merging it is important to set the PYPI_API_TOKEN environment variable on Travis to a PyPI API token that can be used to publish packages from the QuantConnect account. An API token can be created on https://pypi.org/manage/account/.
Related Issue

N/A
Motivation and Context

The new stubs generator replaces the IronPython-based generator because the stubs generated by the new generator provide a better developer experience.
Requires Documentation Change

It may be useful to add some information about the new stubs along with information on Skylight and the CLI to the Developing in the IDE > Local Development page.
How Has This Been Tested?

I have tested this change in jmerle/Lean/feature-new-stubs-generator-tmp. The latest Travis build that published a new package to TestPyPI is #13.
To test whether the stubs actually work when installing from PyPI I installed them as per the instructions on https://test.pypi.org/project/quantconnect-stubs/ and then opened some example strategies in PyCharm and in VS Code (with the Pylance extension) to verify everthing works as expected.
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Refactor (non-breaking change which improves implementation)
[ ] Performance (non-breaking change which improves performance. Please add associated performance test and results)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/etc)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description> or feature-<issue#>-<description>

It's not feasible to automate testing these changes, the new stubs generator got its own tests though.

Thank you @jmerle -- PYPI_API_TOKEN token set in Travis