Update the iOS template from Obj-C to Swift

Summary:
Before this PR gets controversial, i just want to preface it by saying that i understand that moving EVERYTHING over from Obj-C to Swift is not viable, and I understand why it has not been done till now, but i think we can have a nice path forward if we just update the bits that are facing OSS, and leave everything else for later.
As mentioned in https://github.com/react-native-community/discussions-and-proposals/issues/253#issuecomment-1850337202 Apple will enforce Xcode 15 (Swift 5.9) from around April of 2024 for sending new apps to appstore connect, so the stuff we will need to add support for directly wiring up the C++ sections of RN to the Swift parts can be migrated soon, but that is not the scope of this PR.
This PR is inspired by the recent migration of the Android Template from Java to Kotlin. In that migration, we updated the tests, and the primary template, but we left everything else untouched.
The reasoning is also similar to that of the Android migration: Most developers would prefer to create the native bits of their apps using more modern languages. These languages are easier to debug and problems in them can be discovered much quicker.
The update to the template also ensures the users who have done these migrations on their own that they can still use the react native upgrade helper to update their apps every time a new version of React Native is released.
The end goal is to at least have a conversation, and see how viable it is to do this. I tried this on a test repository before hand to make sure it worked fine in both debug mode and release
Changelog:
[IOS] [BREAKING] - update the iOS app template from Objective-C to Swift. Also add the DEBUG Active compilation conditions flag for the Swift compiler so:
#if DEBUG
return RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index")
#else
return Bundle.main.url(forResource: "main", withExtension: "jsbundle")!
#endif

is read correctly.
Test Plan:
My test repository:
https://github.com/TheRogue76/React-Native-Template-With-Swift
Screenshot:

And the CI being green

The failed test had simply timed out. And i signed the CLA. Let's hope it picks it up correctly.

Does anything depend on the hello world template being created in Obj-C? I think it's a good approach. Could you summarize a bit more on what might break and how to mitigate the risk?

Does anything depend on the hello world template being created in Obj-C? I think it's a good approach. Could you summarize a bit more on what might break and how to mitigate the risk?

I don't believe it does, since it is the top of the app and since it consumes everything, any dependency on it might cause a dependency cycle, but i also admit i am not aware of all the details on the iOS side of the repo (Please feel free to add anyone you think might know more). I did double check that the bundle URLs were the correct values for debug/release. Only things i felt were noteworthy were:

If you want to use #if DEBUG in Swift, the variant the flavour that you are targeting needs to have that flag added to it for the Swift Compiler (see here for an example of me adding it. This will be important if you have a lot of flavours of the app and want some of them to be run in debug mode and some in release mode). The mitigation could be a simple doc update since it is not a case everyone has, and this update to the template should cover the normal userbases use-case.
In order for Swift and Obj-C to work next together nicely, you will need a Bridging header file, included in the PR. I am not sure how the template renames the files from HelloWorld to whatever the CLI input is when creating the project, but if there is anything specific, it should consider renaming this bit as well.

The imports might look a bit weird (For example React_RCTAppDelegate which in ObjC land is #import <RCTAppDelegate.h> and gives you access to RCTAppDelegate) but that shouldn't be too much of a problem
I tried to keep the structure of files the same as the original (AppDelegate.mm/h -> AppDelegate.swift, main.m -> main.swift) but the truth is that it is not really needed. Simply annotating the AppDelegate with @UIApplicationMain is enough

This is a picture of where that value needs to be added in the Swift compiler flags in XCode

Hi @TheRogue76, thanks for submitting the PR.
I haven't had the time to test it properly, as I came back from PTO yesterday and I have to catch up several other things.
On the technical side, I can tell you already that there are several things missing: for example, there are no changes to the cocoapod infra to pass over all the Cxx flags that we pass and we would have to pass them to Swift as well, in the form of "Active Compilation Condition" and OTHER_SWIFT_FLAGS with the -Xcc modifier before them.
Also, the approach of modifying the pbxproj is discouraged, as it is very hard to maintain and to update. Instead, we can handle all those changes internally, modifying the cocoapods scripts.
I don't want to discourage you, as this is an amazing starting point.
React Native ecosystem is huge and we need to keep multiple things into consideration.
Context
To share more context on the complexity of this change, changing from Objective-C to Swift is not as straightforward as from Java to Kotlin, unfortunately.
Kotlin offer 1-o-1 support for all the Java features, but Swift and Objective-C (and worse Objective-C++) are two completely different languages.
I tried myself the migration a couple of time in the past and always encountered issues which would have taken a non negligible amount of time to be fixed.
The most relevant ones:

not all the feature that we need to from C++ are supported by the Swift-C++ interop. For example, to create a custom component in the New Architecture, you'll have to subclass a virtual C++ class and that can't be done in Swift as of today
the internal structure of ReactCommon is not a Clang module. As soon as a Swift library need to import some file from ReactCommon, it won't build anymore.

Moreover, there are several subtleties that we need to consider. Just to mention some of them:

Template must work with the Old Architecture
Template must work with the New Architecture, with Bridge.
Template must work with the New Architecture, with Bridgeless.
We need to coordinate with Expo to make sure not to break their config-plugin (and if we can't mitigate that, at least let them know).
This change in the template will break the integration with libraries that requires to modify the App Delegate. Moving to Swift will "break" at least all the READMEs for those libraries. Therefore, we need to provide some form of migration documentation.

Talking about the auxiliary tools:

We have to make sure the CLI still works with Swift files, otherwise we can't create a working project
We need to check how it will look like in the upgrade helper and if we can do something to make it better looking than a "remove objc files/add the new swift file".
we need to update all the documentation in the website.

Next Steps
So, yeah, although this is a great starting point, I think that a better approach would be to:

revamp the "Transition to Swift" RFC, probably rewrite it
list all the required changes, including all the tooling. This will help all the partners (Microsoft, Expo, Callstack...) to chime in and make sure we don't forget about anything
sequence all the changes with "tasks"
once we get approval from everyone, we can start with the implementation, with more insurance that it will end up well.

I haven't read the RFC yet, but as I can see is from 2020... and multiple things have changed since then! 😄
So, I'd probably start by taking the RFC and by rewriting it. This will help to remove the bits that are not valid anymore and to add all the considerations I added above.
The second part of the RFC would list all the changes (at a high-level) that we need to apply:

changes in the iOS files
changes in the cocoapods infra
changes in the doc
changes in the CLI
changes in the  update helper.

This helps in identifying dependencies and make sure we can involve all the people that might have opinions or knowledge about it.
The last part should be related to Adoption and Communication: what users should expect when a new version of React Native with this changes is released. This probably implies writing a migration guide from Obj-C to Swift.
As a reference for the RFC structure, you can take the Wide Gamut RFC.


[freetype] Update to 2.13.2

Fixes #34307, update freetype to 2.13.2.
All features are tested successfully in the following triplet:
x86-windows
x64-windows
x64-windows-static

The usage test passed on x64-windows (header files found):
freetype is compatible with built-in CMake targets:

    find_package(Freetype REQUIRED)
    target_link_libraries(main PRIVATE Freetype::Freetype) # since CMake 3.10

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[ ] The "supports" clause reflects platforms that may be fixed by this new version
[ ] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

You probably also need to apply suggestions from this comment: https://github.com/microsoft/vcpkg/pull/31382#discussion_r1193414743

Pinging @MonicaLiu0311  for response. Is work still being done for this PR?

Duplicate of #36303.


Fix typos for typ and IP address list

Just fixing a couple of typos.

Creating a new pull request to fix the typos of the typos fix.  Branch deleted


Publish signing key fingerprint

Hello
Do you publish the fingerprints of your signing keys somewhere?
We [1] need to be able to do independent verification that the certificate and key we're verifying against for cbor 4.5.2 from Maven Central [2] is indeed the one you intend so that we don't find ourselves incorrectly verifying against a key that isn't yours. It was signed using RSA key 1A82 D514 0700 3717 A417  1AAC 8752 2D61 8F2B 2338.
[1] https://shibboleth.atlassian.net/wiki/spaces/DEV/pages/3269918721/Supply+Chain+Defence+for+the+Shibboleth+Java+Products
[2] https://mvnrepository.com/artifact/com.upokecenter/cbor/4.5.2

I just noticed that you posted your issue in the .NET version of the library rather than the Java version, so I have transferred it to the correct repository, but I have now mentioned the signing key for the Java version:

https://github.com/peteroupc/cbor-java

I now consider it done.

Ah, sorry. Thanks!


GoXLR App's GUI won't open

I just installed the latest available version of the utility. During installation, I set the UI Handler to Browser. I then started up the utility from the start menu (I'm on Windows 11). Then in the browser-based utility I changed the setting System > Utility Settings > UI Handler from Browser to App.
Then I closed the utility from the system tray and re-launched the utility again from the start menu. But the App never launches. The utility is visible in the system tray, but the App's window never opened. I then tried to right-click on the system tray icon > Configure GoXLR and yet the App never opened or became visible. So I re-opened the browser-based utility and changed the UI Handler back to Browser.
Does anyone have any clue as to why the XLR App itself won't open while I have the UI Handler enabled?

Did the app work fine with the previous version of the utility?

I've been able to reproduce the problem (although it seems to be wildly inconsistent), I've re-released the 1.1.0 installer with a fix for the problem. Could you redownload the installer from here, reinstall, then give it another try please?

I guess that's the reason why the v1.1.0 vanished from the releases?
Btw the winget release is still there and when using wingetui it regularly tries to install the version which is not there. Just wanted to mention that - maybe while the v1.1 is being revised it would be better to also remove the winget version to reduce confusion on this end.

You're correct, due to this issue (which ended up being more widespread than originally thought), 1.1.0 has been pulled until it can be solved.
We have a PR open with winget to remove the version from there, but we're waiting for acceptance:
https://github.com/microsoft/winget-pkgs/pull/148856

Back to the original issue, 1.1.1 has been released which contains a fix for this problem. It should all work properly again now.
Thanks!

Closing as complete.

@FrostyCoolSlug, thanks for looking into this. I just updated from version 1.1.0 to 1.1.1. During installation I set the UI Handler to Browser. After installation, I opened launched GoXLR-Utility, opened the utility in the browser, went to the settings, and changed the UI Handler from Browser to App. Then I completely closed GoXLR-Utility from the system tray, confirmed that both goxlr-utility-ui.exe and goxlr-daemon.exe had both stopped, and then launched the utility again from the start menu. the utility started in the system tray but the utility's App GUI never opened. I then right-clicked the system tray icon and clicked Configure GoXLR but still nothing happened. I then went back into the Browser GUI to make sure that the UI Handler setting was still set to App and it was.
So by all appearances, the upgrade from version 1.1.0 to 1.1.1 made no difference at all for me.

Ok, I'll reopen this.. do you have a regular install of Windows, or have you run a tool that strips out various features (often referred to as 'bloat')?

The only thing I've done to de-bloat is forcefully remove Edge and Edge Webview (or something like that). I used CrystalIdea's Uninstall Tool to do so.

That's unfortunate, the Utility's app uses Webview to render the UI. There are two reasons for this decision:

Using a browser that's expected to be present on an OS removes the need to bundle one with the Utility, massively reducing file size..

Important security updates (as well as performance improvements) are handled with OS updates, saving the need to have to repeatedly issue utility releases to keep things up-to-date.

Unfortunately there's really nothing I can do to fix this that would result in a satisfactory conclusion, as a single Dev the overheads and management of bundeling and managing a browser to display the interface are just too high.
Given that Edge (or at least) WebView are 'expected' components of Windows, I can't really support edge cases where people are forcefully removing them.
Sorry I couldn't give a better answer.

I can't really support edge cases where people are forcefully removing them.

No pun intended?🤣
I understand, though. Thank you for your help, sir.🫡

Do you think you'd consider adding a notice to the main Readme stating that Webview is a requirement if one desires to use the app on Windows?

I manually reinstalled Webview2 and now the GoXLR Utility's App gui works perfectly. Thanks for your help!

Do you think you'd consider adding a notice to the main Readme stating that Webview is a requirement if one desires to use the app on Windows?

I honestly don't think that's necessary. Webview is a required, and default, component of Windows. I consider people removing it as people who are intentionally breaking their Windows installation, and it's ultimately not my responsibility to make sure they don't do that. People running tools which remove critical components from their windows installation should do so with the understanding that it may cause problems with certain applications, which in this case it does.
The utility installer tries to install Webview2 as part of the process, so these tools are not only removing webview, but leaving it flagged as installed, preventing the installer's attempt to fix it from correctly running.
This isn't my problem, and I don't intend on making it my problem, so closing this as complete.


exceptions not set on pending futures

Basically I have the same issue as this @hartytp in https://github.com/harvimt/quamash/issues/109 , which is already fixed in https://github.com/harvimt/quamash/pull/113
Am I supposed to use quamash over asyncqt? Is asyncqt dead?
Also possibly related: https://github.com/harvimt/quamash/issues/91

Fixed by 651f9227e8f50f3742ff61d291e7a2b30dd0fadc


frontend homepage does not open

Thank you for uploading such a detailed repo.
There's so much best practice features using modern web technologies.
I've tried to run this repo with docker on my machine and I can access the backend but cannot open page verbose equals true.
I have a click wheel running trying to get the frontend homepage open but it does not finish building the container it seems.
In the logs it gets this far for frontend when I restart the container.
frontend           | You may use special comments to disable some warnings.
frontend           | Use // eslint-disable-next-line to ignore the next line.
frontend           | Use /* eslint-disable */ to ignore all warnings in a file.
frontend           | ℹ ｢wds｣: Project is running at http://<IP_ADDRESS>:8080/
frontend           | ℹ ｢wds｣: webpack output is served from /
frontend           | ℹ ｢wds｣: 404s will fallback to /index.html
What I basically did was edit the .env-template in root to .env
and run
docker-compose up
The page never loads.
Do you know what's causing this?
Thanks for such a great repo too!

Hi @Cally99 , thanks for the compliments and also for reporting the issue! I'm going to make some changes that should fix any local issues. In the meantime, you can try this other repo that has a similar setup for local development that I have been working with recently:
https://gitlab.com/verbose-equals-true/digital-ocean-docker-swarm
This repo should have more up-to-date dependencies, but it doesn't yet have the authentication flow built in yet, because I'm thinking of using DRF's Token authentication in favor of JWT, but I haven't implemented that yet.
It also has more straightforward hot-reloading for celery workers if that is important to you in local development. Also, it uses a much more straightforward docker swarm setup for production compared to the AWS CDK/Fargate solution.
Please let me know if you have any other question or issues with any aspect of this repo or the other linked repo.

Hi Brian. No worries at all. This repo is packed with tech, frameworks and features. The reason I was trying to use this for my own project is that I was trying to implement django channel websockets. I've got a docker app containerised using DRF, Django, Celery and nuxt with Nginx. I actually used a repo called "spacenews" on github as my boilerplate. My app's architecture hasn't changed much from that repo but I've built my app based on that repo's structure. I've being trying to host my app on AWS just on an ec2 instance pushing code to the instance but I've had a few things in the tracker I wanted done, mainly websockets and another few things. What I've struggled to get working was the websockets feature with channels. I spend about a week back and forth trying to figure out why I'm not getting any feed in the browser. 403's and 500 errors. I seen this repo and thought maybe I'd figure out how your implementation of websockets would work since it's a well structured repo with many stars. Trying to combine webockets with nginix docker and channels is challenging since you have to read 5 different frameworks docs.
I'd happily like to give some time to help figure out the initial issue with this issue I spotted. I think it could be due to nginx not serving the frontend.
If you do have a repo with a working example of a dockerize django app with websockets and a seperate fronted that would be great! Sorry about the crazy ask!

Hi @Cally99 , i do have a repo that uses docker, Django and channels running in "production". It is hosted on DigitalOcean and uses docker swarm. Here's the repo link: https://gitlab.com/emojirama/game, it is deployed on https://superme.ga. It have had some issues with 'group_send', but for the most part it works pretty well and all in costs about $5/month to host. DigitalOcean might be a lot simpler to start with compared to AWS if you are trying to run things in swarm.
I would be happy to look at it together with you to work through any issues with deployment. It should be pretty easy to spin up with docker-compose locally, so I would try that first. The nginx for dev and prod are almost the same, but I don't use traefik locally.
I'll try to find the spacenews repo, I'm curious how that repo has set things up.


Install debugger to work with extension when running from source

Currently if you build and debug the extension from source, you won;t have ptvsd installed in the extension directory (which is the directory you git check out). The extension will look for the debugger under that directory. Since it is not installed there it will fail to run.
Workaround:
Suppose you have extension code checked out in this location: C:\GIT\vscode-python, then Run these two commands. You will need both.
Install without wheels:
python -m pip --disable-pip-version-check install -t C:\GIT\vscode-python\pythonFiles
\lib\python\new_ptvsd\no_wheels --no-cache-dir --implementation py --no-deps --upgrade --pre

Install with wheels:
python -m pip --disable-pip-version-check install -t C:\GIT\vscode-python\pythonFiles
\lib\python\new_ptvsd\wheels --no-cache-dir --no-deps --upgrade --pre

The commands you mentioned seems incomplete. It's missing what to install.

@karrtikr Ah. Updated the commands. sorry.

This used to be possible via the gulp command installPythonLibs.
I think it was removed, hence IMHO its a regression.
Please note, you have the exact same issue with Jedi, Sorting Imports and the like. I.e. there are other Python libraries required for running from source.
Hence it should all be done the same way (one line command, & preferably something available easily from VS Code tasks or similar - yes I'm leaning towards gulp, as thats easy for CLI and VS Code task integration).


The native http_archive rule is deprecated

I think this is a new error with bazel 0.20.0.
To reproduce, have a fully clean build with bazel 0.20.0.
bazel build //src
Starting local Bazel server and connecting to it...
INFO: Invocation ID: 5117a0e6-2b7f-4686-8902-7e221232a490
ERROR: error loading package '': Encountered error while reading extension file 'packages/bazel/package.bzl': no such package '@angular//packages/bazel': The native http_archive rule is deprecated. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement.
Use --incompatible_remove_native_http_archive=false to temporarily continue using the native rule.
ERROR: error loading package '': Encountered error while reading extension file 'packages/bazel/package.bzl': no such package '@angular//packages/bazel': The native http_archive rule is deprecated. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement.
Use --incompatible_remove_native_http_archive=false to temporarily continue using the native rule.
INFO: Elapsed time: 1.296s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

you simply need to add this to your WORKSPACE file before calling the http_archive rules:
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")


Feedback from client

Welcome to chatur - your intelligent assistant.
I can help you in some ways.

Check the status of your train ticket with PNR ?
Hindu calendar information (English or Telugu)
Horoscope chart information (English or Telugu)
Daily Horoscope (English or Telugu)
Numerology (in progress)
Matchmaking (coming soon)
ChaturAI statistics (for system information)
Help  (this information)
Select an option from above to continue.

8

BOT DOCUMENTATION
Start chatting with bot by saying hi,hello or hey.
It gives three options to choose-stats,panchangam and pnr.
1.When pnr is selected.It asked you to enter the pnr number.After         entering pnr number it will reply with text message with pnr status.
2.Panchnagam-It will ask first choose language english and telugu.
After selecting english or telugu it  gives  four  options  from which to choose.Horoscope, basic panchangam, numerology, match making.after selecting any one of them.
Horoscope-for horoscope it asked you to enter the date or birth and time of birth then it will reply with matched result.
Basic Panchangam-for basic panchangam it will asked you to enter same as date of birth and time of birth and it will reply
with matched result.
Numerology- Wip.
Matchmaking- WIP.
This is the flow below :

Say Hello or Hi to chaturbots
Hello
Welcome to chatur - your intelligent assistant.
I can help you in some ways.
Check the status of your train ticket with PNR ?
Hindu calendar information (English or Telugu)
Horoscope chart information (English or Telugu)
Daily Horoscope (English or Telugu)
Numerology (in progress)
Matchmaking (coming soon)
ChaturAI statistics (for system information)
Help  (this information)
Select an option from above to continue.
8


Needs Fixes

Missile Turrets cannot see you if you're slightly above or below their line of sight
Missiles, if possible, only home in on targets if they're visible, otherwise they travel in a straight line. That way, they won't redirect themselves into the wall the player is behind.
attacking the turret should cause the missile to explode.

One more thing: if you're not close enough to the turret, it will constantly lock on and "lock off" of the target.

Sending a followup. I'm hoping you can address these issues, as I like the mod

I will look into this - no guarantees that fixes will come quickly

I found an issue where the turrets will lock onto you through walls, but never fire.


Documentation for CSP requirements

With Content-Security-Policy becoming more common, it would be great if the documentation could have a section about the necessary CSP rules to be able to use the SDK.
From what I can tell, here is a minimum:

https://cdn.amplitude.com in the script-src rule (if using the CDN installation)
https://api.amplitude.com in the connect-src

But I may have missed some stuff for now.

That should cover it when loading amplitude with from the CDN with the snippet. And if its loaded as an npm module, just the api.aplitude.com connect-src rule would do.
Thanks for the suggestion. We'll add some clear official documentation about this soon.

Officially documented here: https://developers.amplitude.com/docs/javascript-setup#content-security-policy-csp


Multiplication of colors in DrawModelEx which can be simplified

The multiplication of colors in DrawModelEx can be simplified by performing 4 integer divisions rather than 8 float conversions/divisions.

I suppose that the cast back down to unsigned char already truncates the values so this seems like a good simplification to me. Since the implicit conversion of integer promotion will be signed int, it will most likely hold the value of 255 * 255 in any scenario, which makes the division also fit within the truncation.
Explicit conversion of color.r * tint.r to unsigned int is up to preference.
TL;DR: LGTM FWIW :+1:
(Set up a little GodBolt link to check the various cast and div outputs.)

@Bigfoot71 @JayLCypher I'm afraid I don't understand this change... color.r*tint.r clearly overflows, just letting the CPU handle that overflow. Seems dangerous for the potential performance improvement...

@raysan5, as mentioned by @JayLCypher, the expression color.r*tint.r undergoes integer promotion and is thus implicitly converted to a signed integer. Afterwards, the result is divided by 255. A simple demonstration (255*255)/255 == 255 shows that no overflow of type unsigned char is possible as long as color.r and tint.r are of this type.
To maintain the same level of "clarity" as the previous version, we can write (unsigned char)((int)(color.r*tint.r)/255) to explicitly indicate what will be implicitly done.

To maintain the same level of "clarity" as the previous version, we can write (unsigned char)((int)(color.r*tint.r)/255) to explicitly indicate what will be implicitly done.

@Bigfoot71 Personally I think is clearer: (unsigned char)(((int)color.r*(int)tint.r)/255), the cast CPU is supposed to do is implicit in the code.

@Bigfoot71 Personally I think is clearer: (unsigned char)(((int)color.r*(int)tint.r)/255), the implicit cast CPU is supposed to be doing is explicit in the code.

@raysan5 Indeed, I wanted to quickly write my response, sorry. The change has been made. Personally, I have never seen any criticism of this method. It's up to you whether to choose it or not.
I would choose it personally, however the clarity of understanding of raylib is also very important, and you are the best to choose from that! :)

@Bigfoot71 Thanks for the review! Actually avoiding float usage is a good optimization, wondering if it can be applied in some other raylib functions doing similar color processing, maybe in textures module...

To maintain the same level of "clarity" as the previous version, we can write (unsigned char)((int)(color.r*tint.r)/255) to explicitly indicate what will be implicitly done.

@Bigfoot71 Personally I think is clearer: (unsigned char)(((int)color.r*(int)tint.r)/255), the implicit cast CPU is supposed to be doing is explicit in the code.

Casting is more of a compiler/language operation for the most part, until you hit certain CPU specifications on register loading. Some types of CPUs (iirc ARM) only has one register width, and so there are no "implicit upcasting" theoretically. Signed integers also don't "exist" for CPUs. This is where the types type_fastwidth_t, type_leastwidth_t and other vendor-implementation-defined type variables came into place around C99. See Fixed Width Integer Types.
Other than that, implicit casts should be guaranteed compatible, so making them explicit comes up to preference (I prefer implicit because I get warned when I do bad incorrect stuff). Remember that in C, these are All-Powerful C-style casts, so there are potential dangers where you may end up writing an explicit conversion where none was required or the original type changed and suddenly you have a silent bug. The compilers should be able to optimize for wasted casts, but errant casts are mostly silent errors. Old advice said to always cast the result of malloc, but it turns out that was a cause for more bugs, and letting the compiler handle all pointer implicit casts from void * is better.
If implicit conversions are of note, I also recommend (for debug builds) of Raylib to add -Wconversion flags (for GCC and Clang). This flag is not covered by -Wall, -Wextra or -Wpedantic. (I also personally roll -Wshadow just in case).
This will highlight many implicit conversions.
Good merge @Bigfoot71 ! :)


set portrait after exiting full screen landscape

This is useful when your app supports only portrait orientation (excepting youtube video fullscreen, of course)

Thank you for the PR. Not valid after v7.0.0.

Thanks for the PR. Could you please resolve the conflicts ?


[Leaving IBM] update visual specs

As a designer I need to update the visual specs, and check the functional spec dependencies, so the specs match the upcoming changes to the component.

[ ]   Update label to use $label-02 token
[ ] Update link to use Link large variant from Carbon core

Additional information
Dev story to update component #6205
Acceptance criteria

[ ] visual spec are updated and saved to Box
[ ] functional spec dependencies have been cross checked and updated

Boxnotes folder for review: https://ibm.box.com/s/p7l9hs3hht4zlcu3ipaqbwqngqtdcdhi


Missing dependencies in pip package - Pygments, pyzmq

From<EMAIL_ADDRESS>on 2014-11-19T11:02:59Z
The pip package does not install the spyder dependencies Pygments or pyzmq.
As stated below, this is occurring in Mac OS X; however, I think the problem is with the pip package and should impact all platforms, not just Mac OS X.
My environment:

Mac OS X Mavericks
Homebrew
Python 2.7.8 install via Homebrew
All python packages are installed with pip

Initial environment state:
Pygments - not installed
pyzmq - not installed
Steps to repeat are:

Install spider using pip - pip install spyder
Run spyder - issue spyder command from bash prompt
Receive error that pygments.token is not available
Install pygments using pip - pip install Pygments
Run spyder with reset switch - spyder --reset from bash prompt
Run spyder - issue spyder command from bash prompt
Receive error that pyzmq is not available.
Install Homebrew zeromq package - brew install zeromq
Install pymzq - pip install pymzq
Run spyder with reset switch - spyder --reset from bash prompt
Run spyder - issue spyder command from bash prompt

Result:
Spyder starts with no error messages
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=2059

From ccordoba12 on 2014-11-19T10:52:02Z
Thanks for your interest in improving Spyder. I just tested Spyder in a virtualenv with no additional dependencies besides PyQt4 and everything is running without problems.
We don't depend directly on pygments and pyzmq but IPython does. To install IPython and these dependencies with pip you need to run
pip install ipython[qtconsole]
To prevent this in the future, I already added a further check on pyzmq to avoid an error if IPython is installed by pyzmq isn't.
Status: Duplicate
Mergedinto: 1892


Packages specified as URLs break version_check_cmd in python_pip Resource

Per https://github.com/poise/python/blob/master/providers/pip.rb#L111:
version_check_cmd = "#{which_pip(new_resource)} freeze | grep -i '^#{new_resource.package_name}=='"

Given a package_name of git+ssh://git@github.com/ampledata/kiss.git@master#egg=kiss:
url = 'git+ssh://git@github.com/ampledata/kiss.git@master#egg=kiss'
python_pip url do
  action :install
end

...version_check_cmd will always fail to match.
Here's the output from pip install and pip freeze on the command line:
$ pip install git+ssh://git@github.com/ampledata/kiss.git@master#egg=kiss
$ pip freeze|grep kiss
kiss==1.0.1

I've not implemented a work-around yet, but one idea is groking the package name from the URL and using that to match pip freeze's output.
Tested using python Cookbook 1.4.6 and pip 1.5.2 w/ Python 2.7

This is better supported in https://github.com/poise/poise-python via the python_requirements resource or python_execute %w{-m pip install git+ssh://...} if you want to do it inline.


⚠ Mobitopup has degraded performance

In a6d1873, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 7978 ms

Resolved: Mobitopup performance has improved in f89ee5a.


fix logging of the connection ID for PUBLIC_RESETs

Codecov Report

Merging #1465 into master will increase coverage by 0.13%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1465      +/-   ##
==========================================
+ Coverage   89.19%   89.32%   +0.13%
==========================================
  Files         121      121
  Lines        8491     8579      +88
==========================================
+ Hits         7573     7663      +90
+ Misses        615      614       -1
+ Partials      303      302       -1

Impacted Files
Coverage Δ

session.go
71.37% <100%> (ø)
:arrow_up:

internal/flowcontrol/stream_flow_controller.go
98.67% <0%> (-1.33%)
:arrow_down:

internal/flowcontrol/connection_flow_controller.go
100% <0%> (ø)
:arrow_up:

internal/flowcontrol/base_flow_controller.go
100% <0%> (ø)
:arrow_up:

send_stream.go
98.6% <0%> (+2.05%)
:arrow_up:

Continue to review full report at Codecov.

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


core-utils: ethsign signature hashing

Description
Moves the ethsign utils to into core-utils so that they can be used in other repos more easily. They currently live in the provider, the provider should import them from here
This needs tests
Metadata
Fixes

Fixes # [Link to Issue]

Contributing Agreement

[x] I have read and understood the Optimism Contributing Guide and Code of Conduct and am following those guidelines in this pull request.

This should be moved to the new core-utils repo

Can this be closed?


feat(poller): lodash template preprocess for template field

Details: https://github.com/external-secrets/kubernetes-external-secrets/issues/625

Leeets go! Thanks @intpp  and @eshepelyuk for your contribution!
I didn't get to play with it yet, but from a first glance it looks good!
Could you please add e2e tests (take a look here for reference)? That would be really valuable.
For now only template.stringData is supported. Do you think it makes sense to also support template.data in scope of this PR?

@moolen please review examples in #625, they should explain everything by example.
Entire ExtSec.template is suported, i.e. stringData, data, labels, annotations etc
I.e. resulting K8S Secret is completely customizable with lodash templating.

@intpp is it OK to add e2e tests and taking the input data from #625 ?

I see now. looks good!
What about package-lock.json, why was it removed?

Not sure, let's wait for @intpp :)

@moolen i'll revert package-lock.json (it's maybe my settings removed it)
i'll try to add e2e

@moolen README is updated.

@moolen could you plz help to debug e2e test ?
I've added a very sample case and Secret is not created, i.e. test return undefined
You could check this PR
https://github.com/intpp/kubernetes-external-secrets/pull/1
How to understand what is the error ?

I took a quick look. It basicially boils down to this line: https://github.com/external-secrets/kubernetes-external-secrets/pull/626/files#diff-17502f4c1fbf75e34c5969bc001d3f582249700e55e4902264c3ba55a8e15d3fR98
if template.stringData would be defined then it would work as expected in the test scenario.
RN it copies over the <%= "Hello" %> to the actual secret. This value is not a valid label value (must be alphanumeric + _-.) - because of that the secret won't be created.
By the way You can run the tests locally with ./run-e2e-test.sh from the e2e dir.

I took a quick look. It basicially boils down to this line: https://github.com/external-secrets/kubernetes-external-secrets/pull/626/files#diff-17502f4c1fbf75e34c5969bc001d3f582249700e55e4902264c3ba55a8e15d3fR98
if template.stringData would be defined then it would work as expected in the test scenario.
RN it copies over the <%= "Hello" %> to the actual secret. This value is not a valid label value (must be alphanumeric + _-.) - because of that the secret won't be created.

Thnx a lot for the clarification. !

By the way You can run the tests locally with ./run-e2e-test.sh from the e2e dir.

Unfortunately I cant because

had no luck installing kind on windows, so only able to test PR via GitHub actions.

@moolen @intpp e2e test is added.

Hi @moolen
Thnx for accepting our contribution !
Obvious question, any plan to release a new version soon ?

@eshepelyuk I think it makes sense to create one. I'll try to find some time to figure it out or maybe @Flydiverny can you help us?

Thnx for the explanation.

A 6.4.0 release has been made :) thanks for the contribution!

Great 🚀 👍 ❕ ❕ ❕

@moolen @Flydiverny could I request to post an release announcement to Slack channel ?


How can I run python script in the path of the .py file

If there are two files in a floder: 1.py and 1.txt. In python Idle, I can use:
f = open('1.txt')
to direct open file. But in VS2017, it tells me that 1.txt can't be found. Using os.getcwd(), VS tells me the path is C:\Program Files\Python36. So what can I do if I want to open the file just Idle does?
(I didn't build a project and just used Alt+Shift+F5 to run the 1.py)

As a workaround, adding the following code snippet at the top of your file should help:
import os, os.path
os.chdir(os.path.dirname(__file__))

Otherwise, this is the same issue as #2451, so I'll close this as a duplicate and we'll continue tracking it there.


3.3.5a doesn't recognize it as an addon

I downloaded this addon and put it in addon folder, but client does not recognize it as an addon, but the one that this project is forked: Karl-HeinzSchneider is recognized but doesn't work properly (glitches a lot)

Are you deleting "WoW-" and "-main" from the addon folder name?
I think it's not mentioned in the mod description but if you rename the folder to just be "DragonflightUI" the game should recognize it


Make StarlightBlog work with StarlightImageZoom

Hello!
I'm not sure if you are aware of this, but the Starlight Blog is not able to override the MarkdownContent.astro Page, which means that all blog sites dont show author infos and so on...
Fortunately for you, I have implemented a fix in this Pull Request, which should fix this for you...
The reason it doesn't work is the Starlight Image Zoom plugin, which overrides the MarkdownContent.astro file before the Starlight Blog can do it...
Have a nice day, bye!

@trueberryless thank you for pointing it out. I have never really given thought about it. the patch works.


[!] invalid byte sequence in UTF-8 (ArgumentError)

Hello
I'm currently experiencing an issue about UTF-8 error with Fastlane on Bitrise for building my RN app

Fastlane: 3.5.2
Ruby 3.2.0

here's my log
> bundler: failed to load command: fastlane (/Users/vagrant/git/vendor/bundle/ruby/3.2.0/bin/fastlane)
/Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/cell.rb:51:in `split': [!] invalid byte sequence in UTF-8 (ArgumentError)
        @value.to_s.split(/\n/)
                          ^^^^
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/cell.rb:51:in `lines'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/cell.rb:71:in `value_for_column_width_recalc'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/table.rb:233:in `block (2 levels) in recalc_column_widths'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/table.rb:232:in `each'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/table.rb:232:in `block in recalc_column_widths'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/table.rb:230:in `each'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/table.rb:230:in `recalc_column_widths'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/table.rb:368:in `column_widths'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/table.rb:97:in `column_width'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/separator.rb:33:in `block in render'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/separator.rb:32:in `each'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/separator.rb:32:in `render'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/table.rb:171:in `block in render'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/table.rb:171:in `map'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/terminal-table-3.0.2/lib/terminal-table/table.rb:171:in `render'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/lane_manager_base.rb:74:in `puts'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/lane_manager_base.rb:74:in `puts'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/lane_manager_base.rb:74:in `print_lane_context'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/lane_manager.rb:56:in `rescue in cruise_lane'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/lane_manager.rb:45:in `cruise_lane'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/command_line_handler.rb:34:in `handle'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/commands_generator.rb:354:in `run'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/commands_generator.rb:43:in `start'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/bin/fastlane:23:in `<top (required)>'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/bin/fastlane:25:in `load'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/bin/fastlane:25:in `<top (required)>'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:58:in `load'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:58:in `kernel_load'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:23:in `run'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/cli.rb:492:in `exec'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/cli.rb:34:in `dispatch'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/cli.rb:28:in `start'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/exe/bundle:45:in `block in <top (required)>'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/exe/bundle:33:in `<top (required)>'
	from /Users/vagrant/.asdf/installs/ruby/3.2/bin/bundle:25:in `load'
	from /Users/vagrant/.asdf/installs/ruby/3.2/bin/bundle:25:in `<[REDACTED]>'
/Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/google-apis-core-0.11.3/lib/google/apis/core/http_command.rb:244:in `check_status': Invalid request (Google::Apis::ClientError)
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/google-apis-core-0.11.3/lib/google/apis/core/http_command.rb:207:in `process_response'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/google-apis-core-0.11.3/lib/google/apis/core/http_command.rb:326:in `execute_once'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/google-apis-core-0.11.3/lib/google/apis/core/http_command.rb:131:in `block (2 levels) in do_retry'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/google-apis-core-0.11.3/lib/google/apis/core/http_command.rb:128:in `block in do_retry'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/retriable-3.1.2/lib/retriable.rb:61:in `block in retriable'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `times'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/retriable-3.1.2/lib/retriable.rb:56:in `retriable'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/google-apis-core-0.11.3/lib/google/apis/core/http_command.rb:118:in `do_retry'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/google-apis-core-0.11.3/lib/google/apis/core/http_command.rb:109:in `execute'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/google-apis-core-0.11.3/lib/google/apis/core/base_service.rb:418:in `execute_or_queue_command'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/google-apis-core-0.11.3/lib/google/apis/core/base_service.rb:265:in `http'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-plugin-firebase_app_distribution-0.8.1/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb:264:in `upload_binary'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-plugin-firebase_app_distribution-0.8.1/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb:55:in `run'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
	from Fastfile:67:in `block (2 levels) in parsing_binding'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/lane.rb:41:in `call'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/lane_manager.rb:46:in `cruise_lane'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/command_line_handler.rb:34:in `handle'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/commands_generator.rb:110:in `block (2 levels) in run'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:187:in `call'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/commander-4.6.0/lib/commander/command.rb:157:in `run'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/commander-4.6.0/lib/commander/runner.rb:444:in `run_active_command'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:124:in `run!'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/commander-4.6.0/lib/commander/delegates.rb:18:in `run!'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/commands_generator.rb:354:in `run'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/commands_generator.rb:43:in `start'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/fastlane/lib/fastlane/cli_tools_distributor.rb:123:in `take_off'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/gems/fastlane-2.219.0/bin/fastlane:23:in `<top (required)>'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/bin/fastlane:25:in `load'
	from /Users/vagrant/git/vendor/bundle/ruby/3.2.0/bin/fastlane:25:in `<top (required)>'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:58:in `load'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:58:in `kernel_load'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/cli/exec.rb:23:in `run'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/cli.rb:492:in `exec'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/cli.rb:34:in `dispatch'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/cli.rb:28:in `start'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/exe/bundle:45:in `block in <top (required)>'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
	from /Users/vagrant/.asdf/installs/ruby/3.2.2/lib/ruby/gems/3.2.0/gems/bundler-2.4.10/exe/bundle:33:in `<top (required)>'
	from /Users/vagrant/.asdf/installs/ruby/3.2/bin/bundle:25:in `load'
	from /Users/vagrant/.asdf/installs/ruby/3.2/bin/bundle:25:in `<[REDACTED]>'
Running Fastlane failed. If you want to send an issue report to Fastlane (https://github.com/fastlane/fastlane/issues/new),
you can find the output of fastlane env in the following log file: /Users/vagrant/deploy/fastlane_env.log
$ bundle "_2.4.10_" "exec" "fastlane" "env"
Failed to execute Step:
  running Fastlane failed:
    command failed with exit status 1 (bundle "_2.4.10_" "exec" "fastlane" "android" "ci_beta"):
      check the command's output for details
Failed to execute Step:
  running Fastlane failed:
    command failed with exit status 1 (bundle "_2.4.10_" "exec" "fastlane" "android" "ci_beta"):
      check the command's output for details

Hello, thanks for the report.
An encoding issue seems prevents the contents of the Actions.lane_context to be displayed within a Terminal::Table object.
Can you try to invoke fastlane in verbose mode using the --verbose argument? It skips this part of the code that fails and maybe it will give more insights into why it fails?
https://github.com/fastlane/fastlane/blob/cbed194df9feaafa5689647dfec93fb9dd03c5e8/fastlane/lib/fastlane/lane_manager_base.rb#L59-L78

Hello @lacostej !
Thank you for your reply, the log I link with my first message has already activated the Verbose Log on bitrise interface... I think it is the most that i can show you..
I think my error maybe related to this issues: https://github.com/fastlane/fastlane/pull/20539
Can you look into it ? I maybe not the only that have encountered this issues.
Thanks !

Hei @wyiz94 if --verbose is passed, the software will behave differently. It might fail but it might not. Can you try? Thanks

I have a potential fix for you to try. It's better if you are able to run in verbose mode as well to see where those non unicode characters come from. The other issue you pointed to is probably not related to your problem. Thanks.

@lacostej As you can see I already activate it from the first log from Bitrise CI/CD

@wyiz94 I am not a bitrise specialist, so I don't know how "verbose_log" does,
Given that the code failed in line 74 of fastlane/fastlane/lib/fastlane/lane_manager_base.rb, FastlaneCore::Globals.verbose? returns false. So the --verbose argument wasn't passed.

@wyiz94 according to https://github.com/bitrise-steplib/steps-fastlane/blob/42c448941ca40fc364c4dacdee04269d2caed843/config.go#L28 and https://github.com/bitrise-steplib/steps-fastlane/blob/42c448941ca40fc364c4dacdee04269d2caed843/config.go#L57, verbose_log only makes the bitrise logger verbose.
Pass --verbose to your lane in your bitrise config. It should be passed to fastlane command line.
Taken from lane here
https://github.com/bitrise-steplib/steps-fastlane/blob/42c448941ca40fc364c4dacdee04269d2caed843/step.yml#L43-L50
parsed into LaneOptions here
https://github.com/bitrise-steplib/steps-fastlane/blob/42c448941ca40fc364c4dacdee04269d2caed843/config.go#L85
and passed into the executed command here:
https://github.com/bitrise-steplib/steps-fastlane/blob/42c448941ca40fc364c4dacdee04269d2caed843/run.go#L63-L76

Well now the firebase action fails and fastlane isn't involved at all.
When your upload fails, fastlane tries to terminate gracefully and display the lane context in your terminal. This failed earlier  because you have used the download action to download a java keystore and it added the keystore into the lane context under the DOWNLOAD_CONTENT key. Fastlane currently doesn't support displaying a lane context with this type of binary content and crashed.
The firebase upload still fails. We should investigate why. You should maybe ask Google if they have an idea why it fails here:
https://github.com/firebase/fastlane-plugin-firebase_app_distribution/blob/master/lib/fastlane/plugin/firebase_app_distribution/actions/firebase_app_distribution_action.rb#L278

This should be fixed in the next release. In the meantime use the HEAD of the master branch if you can't ifx the firebase_app_distribution_action. Thanks!

Hello thanks for the fix !!!
Do you when the next release will be out ?


bootstrap-manifest.json variables are not interpolated?

I was looking for the  flynn cluster add... command output after bootstrap and I found this json golang template my cluster node:
$ cat /etc/flynn/bootstrap-manifest.json | tail
    "id": "cluster-monitor",
    "action": "cluster-monitor",
    "enabled": true
  },
  {
    "id": "log-complete",
    "action": "log",
    "output": "\n\nFlynn bootstrapping complete. Install the Flynn CLI (see https://flynn.io/docs/cli for instructions) and paste the line below into a terminal window:\n\nflynn cluster add -p {{ (index .StepData \"controller-cert\").Pin }} default {{ getenv \"CLUSTER_DOMAIN\" }} {{ (index .StepData \"controller-key\").Data }}\n\nThe built-in dashboard can be accessed at http://dashboard.{{ getenv \"CLUSTER_DOMAIN\" }} and your login token is {{ (index .StepData \"dashboard-login-token\").Data }}"
  }
]

Is this by design?
How can I find auth key and controller cert tls pin after I have bootstrapped?

@onnimonni the bootstrap manifest does have some Go templates which are interpolated when you run flynn-host bootstrap, so they are expected yes.
You can get the TLS pin by running:
$ openssl s_client -connect controller.$CLUSTER_DOMAIN:443 -servername controller.$CLUSTER_DOMAIN 2>/dev/null </dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | openssl x509 -inform PEM -outform DER | openssl dgst -binary -sha256 | openssl base64

and the auth key by running flynn-host inspect for the controller web job on a host in your cluster:
$ flynn-host inspect "$(flynn-host ps | grep controller | grep web | awk '{print $1}')" | grep AUTH_KEY


How do a create query sensors?

In O365 I ad created 3 query sensors in YAML but I fail to see how to do this with this integration which is/will be the successor to O365.
  accounts:
    - account_name: Daniel # Do not use email address or spaces
      client_id: "<redacted>"
      client_secret: "<redacted>"
      alt_auth_method: False
      enable_update: True

      email_sensor:
        - name: "Inbox"
          max_items: 5
          is_unread: True
          download_attachments: True

      query_sensors:
        - name: "Home Assistant Notifications"
          folder: "Inbox"
          from: "d*************a"
          subject_contains: "Notification from Home Assistant"
          has_attachment: True
          max_items: 5
          is_unread: True

        - name: "BC Hydro Higher Rate"
          folder: "Bills/BC Hydro"
          subject_contains: "now paying a higher rate"
          max_items: 2
          is_unread: True

        - name: "BC Hydro Bill is Ready"
          folder: "Bills/BC Hydro"
          subject_contains: "bill is ready"
          max_items: 1
          is_unread: True

      todo_sensors:
        enabled: True
        enable_update: True # set this to true if you want to be able to create new tasks

Yaounde would just install the integration three times, once for each query.

Ah!  Thank you!


FreeRTOS timer interface: deleted timers started after shutdown lead to null pointer dereference

As in issue https://github.com/aws/ota-for-aws-iot-embedded-sdk/issues/412, timers that are started before the OTA agent runs the shutdownHandler (which zeros pOtaInterface) will enter OTA_SignalEvent from otaTimerCallback and then attempt to dereference otaAgent.pOtaInterface->os.event.send( NULL, pEventMsg, 0 );
This issue was marked as resolved following the merging of https://github.com/aws/ota-for-aws-iot-embedded-sdk/pull/413, however the issue still persists in the special case where timers are started after OTA_Shutdown is called.
I was able to reproduce this like so:

update to patch: https://github.com/aws/ota-for-aws-iot-embedded-sdk/pull/413
request and receive a bunch of file blocks
before all blocks are digested, call OTA_Shutdown

note that all timers are stopped and "deleted" here

on processing the last requested block, processDataHandler calls otaAgent.pOtaInterface->os.timer.start

os.timer.start calls OtaStartTimer_FreeRTOS which will re-create the timer that was deleted in OTA_Shutdown

the OtaAgentEventShutdown event gets processed and the ota agent is zeroed
timer callback expires and dereferences a null pointer.

This may be a problem with the way the FreeRTOS os interface is set up, but also hints that there is some ambiguity with how OTA timer interface APIs should be implemented.

Hi,
This issue can be solved by PR #440 because we don't clear the function pointer even after OTA_Shutdown.
And OTA drops all the events in the next OTA_Init to make sure there is no remaining events inside the event queue.
Thanks for your contribution.

Thanks @ActoryOu, has there been any attempt to reproduce the issue on the new patch (#440)?


Separately check ternary branches for assignability

🔍 Search Terms
ternary, conditional expression, recursion,
✅ Viability Checklist

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
[x] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

⭐ Suggestion
I propose that the following code should error
declare const b: boolean;
declare const a: any;
const s: string = b ? a : 42;

because number is not assignable to string.
This is already the case for the equivalent return statement "assignment", as of https://github.com/microsoft/TypeScript/pull/56941.
function foo(b: boolean, a: any): string {
  return b ? a : 42
}

So I think it would make sense to be consistent.
📃 Motivating Example
My real world code looked something like this
declare const x: unknown;
const s: string = x != null ? (x as any).prop : undefined

Another related example, is that this code should be an error
declare const a: any;
const s: string = a ?? 24;

Which relates to https://github.com/microsoft/TypeScript/issues/51665#issuecomment-2339260806, where an error should/would occur if the RHS of the ?? were checked separately.
💻 Use Cases

What do you want to use this for?

Making less errors

What shortcomings exist with current approaches?

TS lets me make errors

What workarounds are you using in the meantime?

being sad
avoiding any as much as possible

Duplicate of #31518.

Duplicate of #31518.

Gotcha 👍 Would just say that the only difference with this issue is that the context has now changed, due to #59641.


Does/Will WinUI 3 have support for movable/dockable panels

As the title says, does or will WinUI 3 have support for movable/dockable panels. I would like make a 3D engine project and one of the features I would like would be the ability to resize move and dock the various panels as the user sees fit. Moving the panels to a separate window would be a bonus, but not necessarily required.

This should be possible to do today with windowed popups and drag and drop. But we don't have a control designed to do this. I think it is a possibility, you should open a feature request :) @ranjeshj and @MikeHillberg and @ryandemopoulos


Support for 3rd Party RADIUS Servers

[Enter feedback here]
It will be great if you can provide some details on integrating Azure AD with 3rd party RADIUS Servers in a hybrid setup, with AD on-prem (either in PHS/PTS or Federated) authentication models.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a61a7e9a-44bf-7bdc-f810-87e2fd6792e1
Version Independent ID: 71d11105-b83e-952e-d107-1ff9a7c8d107
Content: Provide Azure MFA capabilities using NPS - Azure Active Directory
Content Source: articles/active-directory/authentication/howto-mfa-nps-extension.md
Service: active-directory
Sub-service: authentication
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@knssub Thank you for your query. We will investigate and update the thread.

@knssub The documentation with 3rd party integration will be coming soon, which MFA provider are you talking about here ?
We have stopped taking request for any new MFA provider for on prem integration for now. The steps with the existing once will be available soon.
Let me know if you have any questions.

@knssub  We will close this now, if you have any questions please tag me in your comment.


Attempting to update setup.py

Trying to get it up to date.  Copied mock regarding getting pretty output on PyPi

LGTM


Add gym-schiff.de

@oliverschneider First stage of verification passed, official domain is joomla.gym-schiff.de as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://joomla.gym-schiff.de/cms/

@oliverschneider Thank you for your patience while waiting for a review and processing your request. Pull request merged.


io::Result

changed return type of Dictionary::new() from Result<Dictionary, &str> -> io::Result<Dictionary> to be more consistent with other libraries and make error handling easier.
use whitelisting of c_api methods, to avoid generating code for C included standard library files and related unused code warnings.

Coverage remained the same at 96.19% when pulling 84eb9ee45429f63ed7c63e83e6deef9eca312496 on narekgharibyan:io_result into 273e9da627c704fe1fd9a8ae1b3726cb16e75904 on KeyviDev:master.


[WIP]: Fix/async channel view

Summary
Change channel view to be dependent on user/channel object async call.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[ ] Ran make check-style to check for style errors (required for all pull requests)
[ ] Ran make test to ensure unit and component tests passed
[ ] Added or updated unit tests (required for all new features)
[ ] Has server changes (please link)
[ ] Has redux changes (please link)
[ ] Has UI changes
[ ] Includes text changes and localization file (.../i18n/en.json) updates
[ ] Touches critical sections of the codebase (auth, posting, etc.)

While I personally use only one team currently, I am looking forward to these changes 👍

@koxen This PR improves the performance for loading post and the perceived difference is more for channels than teams so, you might notice it as well :)
With network throttle here is before and after comparison(Subjected to change though) with network throttle.

i fon't see at what point this code could improve performance of in-team channel switching. could you explain?

@koxen I posted about this in pre-release. Calling loadPosts API on a parent component give the perf benefit

but these calls are async away? so if the channel is loaded in memory, it will be rendered instantly and loadPosts is called async to refresh data

@koxen Yes, that is the reason in both the screenshots above I posted with a just loaded instance of the window. I shouldn't have steered the discussion on perf here, my bad. I might not even consider those changes for final PR though.

@sudheerDev Are there any next steps on this one?

@jasonblais Just started working on this. Need to address the review comments and add test cases. This would require a thorough testing as well as it touches some critical parts of the app. Faster in the release cycle the better.

Closing this in favor of https://github.com/mattermost/mattermost-webapp/pull/1352.
@jasonblais I will be splitting this into a couple of PR's

Fix duplicate calls of post API and async channel view.
Call post API higher in call stack for faster loading.

@sudheerDev Sounds good 👍


Add tooltips to Radar Chart

Is your feature request related to a problem? Please describe.
Currently, RadarChart doesn't support tooltips. It would be a great feature if it were possible, like in LineChart, to have a tooltip when a data item is touched.
Example of a tooltip on a RadarChart

Please don't create duplicate issues, you can find this issue with a simple search: #866
So you can put your sample image there and thumb up the issue.
Thanks!


Imported CSS files were ignored

Hi there,
I just tried out vogue and it just does not work. So I looked at the code of the current project I'm working on saw that there is one main CSS file which includes all neccessary css files by @import-statement. But when I change something in one of these imported css files, no change were made by vogue.
If I change the main css file, everything works fine.
Try it out: create a main css file and import another css by placing @import "another.css" into the main css. Then change something in another.css and you will see, no change in the browser.
Martin

@import statements are sadly needed if you want to avoid IEs stylesheet limit. I hit that one all the time when I am doing css at work since we are using very modular code and stylesheets come from all over the place.


Feature request: "envFile" attribute

Feature request
Implement envFile attribute in launch.json dap configuration.
Possible profits
A more convenient way to manage dotenvs while debugging complex projects.
Description
According to VSCode debugger config  there is a very useful attribute envFile that helps manage big Dotenv files while debugging complex projects. Without this attribute, there is only one way to use .env files – env attribute.
Now it works properly, but after editing variables, we should constantly reload nvim-dap. A workflow like this is painful in my point of view
Possible solutions
It would be possible to support envFile in a nvim-dap extension by using the enrich_config hook supported for adapters. See :h dap-adapter
It would need to check if there is a envFile property on the config, if so replace it with env with the content from the file and then call on_config with the modified configuration.

It seems this is a feature for https://github.com/yriveiro/dap-go.nvim instead of this one?
Can you please confirm?

@leoluz Yep, seems like. I'll ask dap-go.nvim


rebase master pr #238 onto sumo

Suggest this be done as otherwise the sumo branch has questionable licensing for bluez5.

Thanks, @pabigot - merged to sumo.


Security issue

Profiler/app/google-services.json should not be syncronized. This file contains all your API settings and credentials.
You should add it to .ignore file, revoke all the credentials, create new ones and make a new commit without this file.
Hope it helped.

I've remade the Firebase project so hopefully someone tries to use the old credentials before I have time to remove them from the Repo.
Thank you, I appreciate your help!


More queue-time variables

Allows us to set the version dependencies communicated to Maestro at queue-time.

I confirmed setting this vars at queue time gives the desired effect by queueing with fake numbers - .NET Runtime = 5.2.0 and WindowsSdkPackage = 30. We can verify by seeing these values used in the post to maestro:
{"id":1239,"commit":"0308655ff66c5e481c66fca1eccf066042de31ad", ...{"id":1565,"name":"CsWinRT.Dependency.DotNetCoreRuntime","version":"5.2.0","buildId":1239,"nonShipping":false,"locations":[]},{"id":1566,"name":"CsWinRT.Dependency.WindowsSdkPackage","version":"30","buildId":1239,"nonShipping":false,"locations":[]} ...


Cannot read properties of undefined (reading '$$')

Hi, I'm trying to setup a quick demo project using this plugin in Vue 3 and am following the ES6 module approach.
When doing this I'm finding that it throws an error on when reading the root config property:

Here's a codesandbox with the issue:
https://codesandbox.io/p/sandbox/q2ydvz
I've followed the 'Usage' / getting started guide in the read me but this approach doesn't seem to work. How can I get a basic implementation running in Vue?

I'm running into the same problem.

Here's a codesandbox with the issue:
https://codesandbox.io/p/sandbox/q2ydvz

Can you make it publicly available?

@vkurko Apologies, I shared the wrong link.
Here you go: https://codesandbox.io/p/sandbox/qkqp4z

It's something with the codesandbox. I copied your code to Stack Blitz and the problem does not reproduce there https://stackblitz.com/edit/vitejs-vite-zweske?file=src%2Fcomponents%2FHelloWorld.vue

@vkurko - You're correct, I can confirm it works outside of codesandbox. I think we can close this as a non-issue. Thank you for your time investigating!


Running several kiosk-browser processes may result in crashes

It seems that Electron does not natively support running multiple instances. Sometimes one of the kiosk-browser processes would just crash when files and folders required for caching are accessed by more than one process.

Here are the logs of such a crash. Three kiosk-browsers are started simultaneously on a clean install (where no cache is present yet). The logs are obtained using the environment variables ELECTRON_ENABLE_LOGGING and ELECTRON_LOG_FILE.
First instance:
[1841:1114/113702.258222:ERROR:simple_version_upgrade.cc(152)] Failed to write a new fake index.
[1948:0100/000000.326945:WARNING:sandbox_linux.cc(380)] InitializeSandbox() called with multiple threads in process gpu-process.

Seconds instance:
[1842:1114/113702.258183:ERROR:simple_version_upgrade.cc(165)] Disk cache backend fake index file has wrong size.
[1842:1114/113702.258435:ERROR:simple_file_enumerator.cc(21)] opendir /home/kiosk/.config/kiosk-browser/Code Cache/wasm: No such file or directory (2)
[1842:1114/113702.258475:ERROR:simple_index_file.cc(614)] Could not reconstruct index from disk
[1842:1114/113702.258514:ERROR:simple_file_enumerator.cc(21)] opendir /home/kiosk/.config/kiosk-browser/Code Cache/js: No such file or directory (2)
[1842:1114/113702.258526:ERROR:simple_index_file.cc(614)] Could not reconstruct index from disk
[1842:1114/113702.261858:ERROR:block_files.cc(441)] Failed to open /home/kiosk/.config/kiosk-browser/GPUCache/data_3
[1842:1114/113702.276082:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
[1950:1114/113702.327304:WARNING:sandbox_linux.cc(380)] InitializeSandbox() called with multiple threads in process gpu-process.

Third instance:
[1843:1114/113702.258211:ERROR:simple_version_upgrade.cc(165)] Disk cache backend fake index file has wrong size.
[1843:1114/113702.258223:ERROR:simple_version_upgrade.cc(152)] Failed to write a new fake index.
[1843:1114/113702.258335:ERROR:simple_backend_impl.cc(739)] Simple Cache Backend: wrong file structure on disk: 8 path: /home/kiosk/.config/kiosk-browser/Code Cache/wasm
[1843:1114/113702.258367:ERROR:simple_backend_impl.cc(739)] Simple Cache Backend: wrong file structure on disk: 10 path: /home/kiosk/.config/kiosk-browser/Code Cache/js
[1843:1114/113702.262252:ERROR:block_files.cc(441)] Failed to open /home/kiosk/.config/kiosk-browser/DawnCache/data_3
[1949:1114/113702.333782:WARNING:sandbox_linux.cc(380)] InitializeSandbox() called with multiple threads in process gpu-process.

It was the first instance that crashed.


github-scraper to download all issues/PRs and keep them in sync

aka "live mirror" of github issues and PRs
better than the online version, because we can use custom search
should be a daemon = run continuously, watch github events, fetch incremental updates
should use the official github API (dont scrape html)
different than #1 (webhooks, push events) because use polling (pull events)
for clients with no access to the nixos org (to configure webhooks)
https://docs.github.com/en/rest/activity/events
question: how fine-grained are pull events?
keywords

github sync issues
github issues downloader
github scraper
github watcher
github archiver
github offline mirror
github proxy
github bot
github client

https://docs.github.com/en/rest/guides/scripting-with-the-rest-api-and-javascript
incremental web scraping
https://stackoverflow.com/questions/2576785/web-crawler-update-strategy
keywords

event driven web scraping
web scraping live data
real time web scraping

similar tools
https://github.com/Xiphe/github-sync-labels-milestones
https://github.com/jessfraz/gitable
https://github.com/evanp/github-todotxt
https://github.com/Souvikns/Notion-Board/blob/main/src/adapters/github_adapter.ts
https://github.com/vtambourine/github-events-watcher


Probot dev server running Nodemon

👋
Is it possible to run the local probot server through Nodemon? If this isn't supported, how much effort would be required to add it?
Thanks!

Hey @ismail-syed, great question!  You should be able to use nodemon by running nodemon --exec npm start. I just tested it locally and it seems to work, but I don't know if there are any quirks. Try it out and let me know if it works for you!


Fix coded index sorting of metadata tokens

In the CustomAttribute table Parent=0x06000FA7 comes before Parent=0x02000FA7

It looks like the sorting key is only the row index, without considering the table id:

Ah those are actually sorted by raw codedindex value, which differs from the metadata token.

Done as of https://github.com/tristanlabelle/swift-dotnetmetadata/commit/9ba9a59c65e07133a063feec069662a245556188


fix : add tools for recovery & fixes for run3

New features
scripts, helper/func, workflow:

[x] add processed info dumper in workflows
[x] scripts to get jsons(lumi.json, failed_files.json

helper/func:

[x] get memory info

plot/utils:

[x] add k-factor info if exist in xsection.py #59

histogram:

[x] add new taggers(including neg taggers)

Fixes
workflow:

[x] fix none padding
[x] array output directory restructure.
[x] correction always set to be exists(no flags need to be specified), if one wants to skip correction, remove in AK4_parameters.py

helper/func:

[x] skip IdxG when store info, irregular shape compare to other info

utils/correction,workflow:

[x] move to PuppiMET

Improvements
runner, ci, workflow, readme:

[x] modify default to run3 &
[x] remove redundant flags

runner:

[x] create directory for root file & propagate name to workflows

plot:

[x] change default under/overflow with display mode
[x] skip zero entry hists

utils/histogram:

[x] not create histograms for non-exist variables in tree

readme:

[x] linked to btv-twiki
[x] put custom condor submission in scaleout info, collapse long submission info
[x] add new modules info(dump_processed.py) usage

Hi @Ming-Yan thanks a lot for your PR! I have mainly comments for the README file Concerning the changes in the CI pipelines: did they run successfully in your forked repo?

Hi @demuller thanks for the quick review, indeed the CI works well :)
https://github.com/Ming-Yan/BTVNanoCommissioning
For the default value of the campaign, I would like to wait the Summer22EERun3 campaign ready then update(maybe we can wait a bit for the files and then merge?)


bugfix: destroy unused test groups

Motivation and Context

Currently, if there is a test group associated with a criterion, but that test group is not part of an active test, set_autotest_marks will set the mark for that criterion to 0, regardless of the current mark.
Your Changes

Description:
This PR changes update_test_groups_from_specs such that it will destroy any test groups which are not active tests.
Type of change (select all that apply):

[x] Bug fix (non-breaking change which fixes an issue)
[ ] Other (please specify):

Testing

Added a test for unused test groups.
Questions and Comments (if applicable)

Checklist

[x] I have performed a self-review of my own code.
[x] I have verified that the pre-commit.ci checks have passed.
[x] I have verified that the CI tests have passed.
[x] I have reviewed the test coverage changes reported on Coveralls.
[x] I have added tests for my changes.
[x] I have updated the Changelog.md file.

Pull request to make documentation changes (if applicable)

@david-yz-liu Thanks for digging that up! Agreed, I'll close this PR and make a new one with that approach.


Provide a way for sparkctl to authenticate when run inside a pod

I have a use case where I need to have sparkctl run from inside a pod at runtime.  Ideally, it could grab a token from a serviceaccount's secret that is mounted in the pod and use that to authenticate and be able to create/delete SparkApplication objects.
I would be happy to do the work, if necessary, and submit a PR, but before I do that, I figured that I'd create an issue and get feedback in case anyone may have objections or insight on this.

Are you able to use the kubeconfig flag of sparkctl for this?

I don't think the kubeconfig flag is an option for us since I don't think (definitely correct me if I'm wrong) that there is a .kube/config available from within the pod.  If the required credentials are indeed already available from within the running pod, then the --kubeconfig flag would probably work for us.

There's a service account under /var/run/secrets/kubernetes.io/serviceaccount/ within the pod, which can be used to build an in-cluster config using clientcmd.InClusterConfig. The code for building the kube client in sparkctl needs to be fixed to make it work. Definitely a PR is appreciated.

Thanks for the tip.  I was indeed looking at making a tweak to use InClusterConfig.  Glad to know I was on the right path.  Hopefully, I'll have a PR soon.

Ah, perhaps we won't need a PR for this.
I hadn't tried passing --kubeconfig="" before.  It seems that when we do this, it may trigger the InClusterConfig on our behalf.  That might be sufficient for our use.  I'll verify this and close the issue if no change is required.
// BuildConfigFromFlags is a helper function that builds configs from a master
// url or a kubeconfig filepath. These are passed in as command line flags for cluster
// components. Warnings should reflect this usage. If neither masterUrl or kubeconfigPath
// are passed in we fallback to inClusterConfig. If inClusterConfig fails, we fallback
// to the default config.

Closing this issue since it looks like we can already get InClusterConfig() called from sparkctl.  Thanks for the help.


report various qualifier anomalies in logs

This annotation:
/GO="aspect=F; qualifier=NOT; term=adenosine deaminase activity; GOid=GO:0004000; evidence=IKR; with=; db_xref=PMID:14643670; date=20120927"
is not visible in PomBase. could you check that iti s in chado.
It might be the empty with statement (which I can delete), but things with "with=;" should appear in the logs for fixing.
VAl
Original comment by: ValWood

i) Empty with field with=;
ii) Absent "with" field for ISS

I've done these bits because they were easy.  I'll test them tomorrow.

iii) Incorrect SGD ID in with field (I think we stoer these in chado so, anything
which does not match SGD:stored_id

That's harder because we currently only store the "Y" IDs like "YJR076C".  We could get the SGD: IDs from Ensembl too but we haven't needed them so far.

transferred to
https://github.com/pombase/pombase-chado/issues/527
for odd bod log reporting


Support for non-standard data directories.

Should fix a couple of issues raised here: https://github.com/AUTOMATIC1111/stable-diffusion-webui-extensions/pull/53

No longer crashes the extension if directories are missing.
No longer assumes the default model folders and takes the location from the runtime config.
Fixed issue with empty embeddings list on startup when sd_hijack/TI loads later than this extension.
get_X_dirs() is now get_X_dir() as underlying platform doesn't seem to allow multiple directories for models and can lead to an inconsistency between what the platform believes are the total set of model files and what the extension does.

I couldn't see a use-case for the multiple directory scanning within the extension given that the platform only allows a single data directory per model-type. Let me know if there's a reason for that multiplicity and I'll update to add it back in.

thanks, sorry been away for the week.
I will go over this now, but one thing I'm hesitant about is "No longer assumes the default model folders and takes the location from the runtime config." ...it did take the location from the run time config before (or at least it should have been) but it was also adding the default locations. This way people could put their model files outside the install directory and their preview files in the default folders to avoid the issues that come with putting your files outside the install directory. I get that I might not have been checking if the directory existed before accessing it.... but beyond that I dont see why someone would have an issue with having extra options.
But I will get back to you after I look over the code.

So, after looking over the code... yes there is a reason I was adding in the default directories on top of the directories set in the config.
As I half explained earlier, the webserver only serves content from within the install directory. So if you set the paths in the config for your models to something outside of the a1111 install directory the extension needs to do some extra work to try and support that (like converting image previews and HTML pages to base64 strings instead of linking to the files directly). There is some basic support for having your preview files outside of the a1111 install directory but it can make things more complicated specifically with HTML and Markdown preview files if you want to link to other local files like images, etc.
Lets say you have this set up:
/model/lora/mymodel.safetensors
/model/lora/myModelPreview/mymodel.html
/model/lora/myModelPreview/filelinkedtofromHTMLpreview.file

where the mymodel.html file has an internal link to filelinkedtofromHTMLpreview.file. If the myModelPreview folder is inside the a1111 directory it will work as expected. But if its outside of the a1111 directory it will not be able to locate filelinkedtofromHTMLpreview.file because when I convert the html file to base64 it doesn't dig through the code to also convert anything the page links to. Meaning filelinkedtofromHTMLpreview.file isn't being served up by the web server and thus will be inaccessible.
So a way to fix that was to allow the preview files to be put in the default directory regardless of where your config says the actual model is located.
Its a bit of a niche use case but that's why I don't just use the directory from the config alone.
I do agree I should have been checking to see if the folder existed before adding it to the list. I thought I was tbh, but I guess not.
So if you want to adjust that I will merge the pull request or I can just manually add in the embedding fix and the directory checks myself. Either way thanks for your contributions.

No problems, and that makes sense. I had a feeling it might be something like that, but opted to go the nuclear route to start with, since having multiple directories can lead to weird scenarios where previews will load from both, but models will only load from one... but anyone in that situation has put themselves there intentionally 😂
It's probably neater if I close this PR off and you cherry-pick those changes, but let me know if you want me to raise another with just those two fixes.

Yea its an odd behaviour but I couldn't think of any better way to do get around the file server being limited to the a1111 install directory.
I'll just add the lines myself and push later tonight, but thank you again.


Removing '=' between option and argument

I will merge this before the next release if the removal of start.sh does not happen. However, removal of start.sh probably will happen, and refactor this out of the code that way.

PR #61 made it in.


[WIP]RouteOperator idempotency

…hange
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #(issue)
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

[ ] Test A
[ ] Test B

Pull Request Test Coverage Report for Build 269017098

181 of 461 (39.26%)  changed or added relevant lines in 5 files are covered.
585 unchanged lines in 29 files lost coverage.
Overall coverage decreased (-1.5%) to 50.044%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/liqonet/iptables.go
1
2
50.0%

pkg/liqonet/route_mock.go
0
1
0.0%

pkg/liqonet/route.go
0
2
0.0%

internal/liqonet/route-operator.go
178
454
39.21%

Files with Coverage Reduction
New Missed Lines
%

api/config/v1alpha1/clusterconfig_types.go
1
88.89%

api/discovery/v1alpha1/foreigncluster_types.go
1
88.89%

api/discovery/v1alpha1/peeringrequest_types.go
1
88.89%

api/discovery/v1alpha1/searchdomain_types.go
1
88.89%

pkg/liqonet/iptables_mock.go
1
77.32%

api/config/v1alpha1/clusterConfigClient.go
2
77.14%

internal/peering-request-operator/peering-request-controller.go
3
73.68%

pkg/crdClient/api.go
4
83.19%

internal/advertisement-operator/remote-watcher.go
5
73.47%

internal/discovery/txtData.go
5
90.67%

Totals

Change from base Build 268911018:
-1.5%

Covered Lines:
6791

Relevant Lines:
13570

💛  - Coveralls

/rebase


Mojave and later support TLS 1.3

Minor update on the note about Safari TLS 1.3 support being limited to Mojave and later.

Thanks!


support for fuzzy intervals

Verbose Fuzzy
import TimeAgo from 'react-timeago'
import fuzzyStrings from 'react-timeago/lib/language-strings/en-fuzzy'
import buildFormatter from 'react-timeago/lib/formatters/buildFormatter'

const formatter = buildFormatter(fuzzyStrings)

// "a moment ago" -> "about a minute ago" -> "2 minutes ago" -> ...
<TimeAgo date={Date.now()} formatter={formatter} />

Short Fuzzy
import TimeAgo from 'react-timeago'
import fuzzyShortStrings from 'react-timeago/lib/language-strings/en-fuzzy-short' // "just now"
import buildFormatter from 'react-timeago/lib/formatters/buildFormatter'

const formatter = buildFormatter(fuzzyShortStrings)

// "just now" -> "1m" -> "2m" -> ...
<TimeAgo date={Date.now()} formatter={formatter} />

see: #172

For en-fuzzy-short we might consider changing "just now" to simply "now" as it is fewer characters and might fit better with the use-cases of those who would otherwise be choosing shorter output anyway. I could imagine someone picking the short version so it fits inside a small widget but the string "just now" might not fit in a small widget like that.


Pkg.add(PyCall) should be Pkg.add("PyCall")

For the Julia setup in the README,
Pkg.add(PyCall) should be Pkg.add("PyCall")

Thanks. We will fix this asap.

Also, for Step 4 of the "Import from Julia" section, you need to be using PyCall. So in the README this should be
using PyPlot using PyCall @pyimport localgraphclustering
Instead of the current
`using PyPlot
@pyimport localgraphclustering`
Thanks!


[Robustness] handle an overridden type

Fixes #2352

Looks like the tests are failing on this one.

@ljharb Let me know if you need help to push this one over the line

@sladyn98 still failing; happy to get some help on this one :-)

Yeah now all of the zsh tests are unhappy :(

i think maybe the reason i didn't have command type in nvm_has before was because it doesn't work in zsh :-/


Patch no working- CID is still lock

Hi. I have Seat Ibiza IV 2017 with unit MST2_EU_SE_ZR_P0368T, I install you toolbox and try done CID UNLOCK. It was done but navigation still no read card. Only read original cards. I try do again patch but tell me that patch is now done and no change.
How i can revert patch to original from manufacturer ? How by your software i can restore backup to try do again patch witch maybe resolved problem ?

you at least need to show screens which patch produces and compare the file it patches before patch and after.


Remove clippy tests.

Clippy was removed in #7533, but a stale file was left behind.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit 6dcc25c9a6fc9ed6ef0d2a18e0bbd7d9a96be509 has been approved by alexcrichton

:hourglass: Testing commit 6dcc25c9a6fc9ed6ef0d2a18e0bbd7d9a96be509 with merge 0c0231e61c80ee71cc10e617145a0f09f70f9bef...

:sunny: Test successful - checks-azure
Approved by: alexcrichton
Pushing 0c0231e61c80ee71cc10e617145a0f09f70f9bef to master...


Create Harry Pottter

What type of PR is this? (check all applicable)

[x] 🚀 Added Name
[ ] ✨ Feature
[ ] 🌟 stared the repo
[ ] 🐛 Grammatical Error
[ ] 📝 Documentation Update
[ ] 🚩 Other

Description
Add Link of GitHub Profile

Na


Hover actions not working with VS Code  1.46.0 with Vue I18n

Describe the bug
After upgrading to VS Code  1.46.0 the Hover actions not working (a very small box appears - see screenshot)
Thanks for the great work !!
Extension Version

i18n Ally (v2.2.4)
Framework/i18n package you are using

vue-i18n
To Reproduce
Steps to reproduce the behavior:

Go to 'a vue file'
hover on a translation
See error :a very small box appears - see screenshot

Device Infomation

OS: Mac Os
Version: 10.15.5
VS Code Version: 1.46.0

Extension Log
Go to View -> Output -> i18n Ally, and paste the content below. You should mask any sensitive information
🈶 Activated, v2.2.4

――――――

💼 Workspace root changed to  "/Users/xxxx"
📦 Packages file "package.json" found
🕳 Packages file "pubspec.yaml" not exists
🕳 Packages file "composer.json" not exists
🕳 Packages file "Gemfile" not exists
🌞 Enabled
🧩 Enabled frameworks: Vue, Vue SFC
🧬 Enabled parsers: json, yaml, json5

🚀 Initializing loader "/Users/xxxx"
📂 Directory structure: file
🗃 Path Matcher Regex: /^(?<locale>[\w-_]+)\.(?<ext>json|ya?ml|json5)$/

📂 Loading locales under  /Users/xxxx/locales
	📑 Loading (en) en.json [1591947337754.1016]
	📑 Loading (es) es.json [1591947347034.714]
	📑 Loading (fr) fr.json [1591947353839.4094]
	📑 Loading (pt) pt.json [1591947406784.4443]

👀 Watching change on /Users/xxxx/locales
✅ Loading finished

――――――

📑 Loading sfc /Users/xxxx/src/components/library/library.vue

Screenshots

Confirmed. Investigating.

Thanks a lot :) let me know if I can be of any help

This might be a problem with VSCode. Made an issue there.

Thanks it's working now on the latest VSCode Insider version.

it works now on VSCode Version: 1.46.1 :)


WrapLayoutGroup.cs bottom padding isn't functional

Duplicate of #47

WrapLayoutGroup isn't a complete solution. A better version with Text Mesh Pro is in the works, see #47


I am facing issue while install pods for apple sign in flutter

Ignoring ffi-1.15.1 because its extensions are not built. Try: gem pristine ffi --version 1.15.1
ERROR:  While executing gem ... (Errno::EPERM)
Operation not permitted @ rb_sysopen - /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/gem

Hi @dipak1267,  could you please paste the output of flutter doctor -v.
Thank you.

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


feat: avoid updating release PR if no additional changes

currently, whenever we land a PR we update a release PR, even if there have been no additional changes.
fixes #158

@ofrobots @JustinBeckwith I think this will address the annoyance of PRs being updated overnight and whenever another patch is landed.


Line length marker difficult to see

I absolutely love this theme but I find that the line length marker is a bit difficult to see. The same is true to the indentation guides to some degree. Compare your theme:

with one of the implementations of Monokai which I also use:

Could you consider brightening a bit those lines?

Also, I just noticed that the line length marker collides with the character just preceeding it:

Here is a close up:

@siamak sorry for bumping this, but could you consider taking a look at this when you get a chance?