Prompt before execution

Hi, this looks very cool!
However, instead of prompts for the input, I'm looking for a prompt that is shown after options parsing but before actual execution of the script. Obviously I could do this with an option that must be set to true, but I want to do it interactively. Is this even the right library for this?

Thank you!
I might be able to help you better if you share a small code snippet on what you're trying to do.
Also, you might find my other library, parse-my-command useful for parsing the args. Then you can implement the logic for showing the prompt yourself.

Hi @fardjad thanks for the quick response. I figured out that what I want to do doesn't require your lib. Basically I just want to prompt before doing something like this:
import { confirm } from '@inquirer/prompts';
import { program } from 'commander';

program.command('command<data>').action(async (data, options, command) => {
  await confirm({ message: 'Run the command?' });

  console.log('success', data);
});

I didn't think it was that easy ;)


Storing scripts within areas instead ~/Scripts folder

Hi
It would be cool if there was a way to store the scripts within an MVC Area so they are more in context. For example:

Cheers
Philip

Please update to 2.1 and check this out. Let me know if you managed to get it working.

Hi
Thank you. Works for me! Here is my current implementation.
https://gist.github.com/philipooo/2aea22f1ff64182e7a7b
Cheers

Very nice @philipooo, I'll reference you're gist in the docs. Thanks

Feel free to reference. I also updated the gist formatting.


use fastlane cert create cert  , can not get cert by spaceship

Question Checklist
fastlane version: 2.137.0
create cert
fastlane cert -u xxxx

will get three file ,   XXX.cer   XXX.p12 XXX.certSigningRequest
in developer.appple.com, will create a cert
when I use spaceship
Spaceship::Portal.login(user, passwd)
cert = Spaceship::Portal.certificate.production.all.first  # cert is nil
I have try
cert = Spaceship::Portal.certificate.production_push.all.first  # cert is nil too

I will use cert to create provisioning profiles
cert = Spaceship::Portal.provisioning_profile.production.create!(bundle_id: "xxx", certificate: cert, name: "xxx")

and I tried  get cert from file
cert = File.readlines("XXX.cer")
cert = Spaceship::Portal.provisioning_profile.production.create!(bundle_id: "xxx", certificate: cert, name: "xxx")

error log
1: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.137.0/spaceship/lib/spaceship/portal/provisioning_profile.rb:277:in `create!'
/Library/Ruby/Gems/2.6.0/gems/fastlane-2.137.0/spaceship/lib/spaceship/portal/provisioning_profile.rb:277:in `collect': undefined method `id' for #<String:0x00007fcdbb435270> (NoMethodError)

thanks

canderdeAir:Desktop cander$ fastlane env
[✔] 🚀
[12:05:11]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[12:05:15]: Generating fastlane environment output, this might take a few seconds...
✅ fastlane environment ✅

### Stack

| Key                         | Value                                                          |
| --------------------------- | -------------------------------------------------------------- |
| OS                          | 10.15.1                                                        |
| Ruby                        | 2.6.3                                                          |
| Bundler?                    | false                                                          |
| Git                         | git version 2.21.0 (Apple Git-122.2)                           |
| Installation Source         | /usr/local/bin/fastlane                                        |
| Host                        | Mac OS X 10.15.1 (19B88)                                       |
| Ruby Lib Dir                | /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib |
| OpenSSL Version             | LibreSSL 2.8.3                                                 |
| Is contained                | false                                                          |
| Is homebrew                 | false                                                          |
| Is installed via Fabric.app | false                                                          |
| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/                    |
| Xcode Version               | 11.2.1                                                         |

### System Locale

| Variable | Value       |   |
| -------- | ----------- | - |
| LANG     | zh_CN.UTF-8 | ✅ |
| LC_ALL   |             |   |
| LANGUAGE |             |   |

### fastlane files:

**No Fastfile found**

**No Appfile found**

### fastlane gems

| Gem      | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.137.0 | ✅ Up-To-Date  |

### Loaded fastlane plugins:

**No plugins Loaded**

Loaded gems

| Gem                       | Version      |
| ------------------------- | ------------ |
| did_you_mean              | 1.3.0        |
| slack-notifier            | 2.3.2        |
| atomos                    | 0.1.3        |
| CFPropertyList            | 2.3.6        |
| claide                    | 1.0.3        |
| colored2                  | 3.1.2        |
| nanaimo                   | 0.2.6        |
| xcodeproj                 | 1.13.0       |
| rouge                     | 2.0.7        |
| xcpretty                  | 0.3.0        |
| terminal-notifier         | 2.0.0        |
| unicode-display_width     | 1.6.0        |
| terminal-table            | 1.8.0        |
| plist                     | 3.5.0        |
| addressable               | 2.7.0        |
| multipart-post            | 2.0.0        |
| word_wrap                 | 1.0.0        |
| public_suffix             | 2.0.5        |
| tty-screen                | 0.7.0        |
| tty-cursor                | 0.7.0        |
| tty-spinner               | 0.9.1        |
| babosa                    | 1.0.3        |
| colored                   | 1.2          |
| highline                  | 1.7.10       |
| commander-fastlane        | 4.4.6        |
| excon                     | 0.68.0       |
| faraday                   | 0.17.0       |
| unf_ext                   | <IP_ADDRESS>      |
| unf                       | 0.1.4        |
| domain_name               | 0.5.20190701 |
| http-cookie               | 1.0.3        |
| faraday-cookie_jar        | 0.0.6        |
| faraday_middleware        | 0.13.1       |
| fastimage                 | 2.1.7        |
| gh_inspector              | 1.1.3        |
| mini_magick               | 4.9.5        |
| multi_xml                 | 0.6.0        |
| rubyzip                   | 1.3.0        |
| security                  | 0.1.3        |
| xcpretty-travis-formatter | 1.0.0        |
| dotenv                    | 2.7.5        |
| naturally                 | 2.2.0        |
| simctl                    | 1.6.6        |
| jwt                       | 2.1.0        |
| uber                      | 0.1.0        |
| declarative               | 0.0.10       |
| declarative-option        | 0.1.0        |
| representable             | 3.0.4        |
| retriable                 | 3.1.2        |
| mime-types-data           | 3.2019.1009  |
| mime-types                | 3.3          |
| multi_json                | 1.14.1       |
| signet                    | 0.12.0       |
| memoist                   | 0.16.1       |
| os                        | 1.0.1        |
| googleauth                | 0.6.7        |
| httpclient                | 2.8.3        |
| google-api-client         | 0.23.9       |
| google-cloud-env          | 1.3.0        |
| google-cloud-core         | 1.4.1        |
| digest-crc                | 0.4.1        |
| google-cloud-storage      | 1.16.0       |
| emoji_regex               | 1.0.1        |
| json                      | 2.2.0        |
| bundler                   | 2.0.2        |
| forwardable               | 1.2.0        |
| logger                    | 1.3.0        |
| stringio                  | 0.0.2        |
| ipaddr                    | 1.2.2        |
| openssl                   | 2.1.2        |
| ostruct                   | 0.1.0        |
| strscan                   | 1.0.0        |
| date                      | 2.0.0        |
| fileutils                 | 1.1.0        |
| etc                       | 1.0.1        |
| io-console                | 0.4.7        |
| zlib                      | 1.0.0        |
| libxml-ruby               | 3.1.0        |
| rexml                     | 3.1.9        |
| psych                     | 3.1.0        |
| mutex_m                   | 0.1.0        |

Are you sure you are not mixing push certificates with provisioning profiles? What exactly are you trying to achieve?

just create p12 file and  certSigningRequest file,  and I had use spaceship to create it,  thanks


Check mediators for 'Mediate' capability when initiating transfer

Based on top of #2853
Short description
PFS doesn't handle capabilities, so it's up to us as initiators to validate that all mediators are able to mediate transfers, by checking they've truthy Capabilities.Mediate. Fortunately, PFS sends all hops metadata in address_metadata, which allows us to inspect and validate received route's capabilities. This should prevent us from even starting a transfer where some mediator doesn't want to mediate, but the best fix is to have this handled also in the PFS side.
Definition of Done

[x] Steps to manually test the change have been documented
[x] Acceptance criteria are met
[ ] Change has been manually tested by the reviewer (dApp)

Steps to manually test the change (dApp)

Trying to mediate through a node which doesn't want to (e.g. another dApp) should fail before starting transfer

Created the PFS issue: https://github.com/raiden-network/raiden-services/issues/1044


Missing computed properties on expando functions

Bug Report
🔎 Search Terms
expando functions computed properties
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ

⏯ Playground Link

Playground link with relevant code
💻 Code

const c = "C"
export function decl () {}
// decl.foo = ""
decl["B"] = 0
decl[c] = 0

🙁 Actual behavior
Properties "B"  and "C" are not present in the generated declarations unless decl.foo is uncommented.
🙂 Expected behavior
Properties "B"  and "C" should be present in the generated declaration regardless of the presence of foo.

Found this while trying to emulate the behavior in isolated declarations

Can I work on this one? I’m interviewing for a company, which wants me to contribute to some open source project in the form of PR? I’m looking to contribute for 2-4 hours.

@aditya1 You don’t have to ask anyone ;) Just fork the repo, fix the bug, and then open a pull request

Can I work on this one? I’m interviewing for a company, which wants me to contribute to some open source project in the form of PR? I’m looking to contribute for 2-4 hours.

@aditya1  I would look in isExpandoFunctionDeclaration the check there seems different from what is happening in the declaration emitter at https://github.com/microsoft/TypeScript/blob/dd3e81a6752401f1656e2d02354bf35c3baac3ea/src/compiler/transformers/declarations.ts#L1528


Refine integration between other Apps and Scheduler App

Right now, while an event is created by other Apps, such as SDK Release App, it needs to be filled in with a few columns: Workflow, Service Profile, Product to pass along the data into Scheduler App.
Service Profile and Product seems redundant with Workflow in place. Workflow ID is deprecated, should be removed.

With Workflow in Event table, here is the steps to retrieve corresponding data from SDK Release Workflow

Workflow is a lookup column of table Base Workflow in table SDK Release Workflow, and it is unique for each SDK release workflow, we can query the record from SDK Release Workflow filtering on it.

Once get the record of SDK Release Workflow, we can get the service from column Service Profile and product from column Service Product And also the API Specs PR link via column Pull Request Url

If we want to get the ADO work item corresponding to the workflow, we can get it from table Product Profile using column Work Item Id

@JonathanCrd  could you please look into this and tell us where we are and what we need to do to get to a better place?

@live1206 :

Workflow ID is deprecated, should be removed.

It seems as the field is still tied to the Workflow table. Is it ok to remvoe that relationship so then we can remove this column from the Event table?

@JonathanCrd could you please look into this and tell us where we are and what we need to do to get to a better place?

We would have to change our logic so when the app is called with the event parameter, we look into the Workflow column and follow the recommnedations from @live1206 on how to get the information for: Service name, Product name, ADO number, API link.
I recommend not to populate the Event fields until the meeting is scheduled.

@live1206 :

Workflow ID is deprecated, should be removed.

It seems as the field is still tied to the Workflow table. Is it ok to remvoe that relationship so then we can remove this column from the Event table?

Workflow table is not in use anymore, feel free to remove any corresponding relationships.
It's hard to remove the table for now due to the existing relationships.

Workflow is a lookup column of table Base Workflow in table SDK Release Workflow, and it is unique for each SDK release workflow, we can query the record from SDK Release Workflow filtering on it.

@live1206 could you give me an example with code on how from the Event table I can get the Product ?  I wasn't able to get past event.Workflow pointing to Base Workflow and not SDK Release Workflow

I tried using the workflow column but I can't get to load the properties of Service or Product withouth having to look into the table and doing a direct lookup there.

Hi @maririos  can you try this code
UpdateContext({baseWorkflowID: "mockID"}); UpdateContext(     {         myReleaseWorkflow: LookUp(             'SDK Release Workflows',             Workflow.Id = GUID(baseWorkflowID)         )     } ); UpdateContext(     {         myProduct: myReleaseWorkflow.'Service Product',         myService: myReleaseWorkflow.'Service Profile'     } )
@live1206   Is the example looks good for you？

Hi @maririos can you try this code UpdateContext({baseWorkflowID: "mockID"}); UpdateContext( { myReleaseWorkflow: LookUp( 'SDK Release Workflows', Workflow.Id = GUID(baseWorkflowID) ) } ); UpdateContext( { myProduct: myReleaseWorkflow.'Service Product', myService: myReleaseWorkflow.'Service Profile' } ) @live1206 Is the example looks good for you？

Thanks @zzvswxy, this has been sorted out offline.

What is the purpose of the Base Workflow table?
I want to understand why we don't have a direct relationship between the Base Workflow and SDK Release Workflow, or even between Event and SDK Release Workflow.

The purpose of Base Workflow is to abstract the base functionalities of Workflow, such as Workflow Status, Current Step of the workflow. There might be multiple kinds of Workflow with the functionalities.
The same goes for Base Step, common properties like Required and Step Status.
The Workflow column in SDK Release Workflow is a lookup column to Base Workflow.

[ ] Informational
[ ] API
[ ] SDK


chore: release 1.1.28

:robot: I have created a release *beep* *boop*
1.1.28 (2021-12-16)
Features

deprecation: add deprecation warning for werf v1.1 (95718ad)
multiwerf: print multiwerf deprecation warning if multiwerf outdated (fe083e1)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/werf/werf/releases/tag/v1.1.28 :sunflower:


lint, prod build

Ran a final lint, added one explanatory sentence to the dust bowl narrative re: Joe's comment in IPDS, and ran npm run build to build the dist/ folder.

Closed because these changes were addressed in #44.


ListView items stop responding as Drag and Drop targets

Describe the bug
List view items are no longer receiving drag events after a few manipulations.
In the repro attached below, there is a long list of items that can be dragged and are re-parented when dropped on top of another item (simulating a file explorer type view where a folder is dragged onto another folder, moving it inside the folder, etc.).
Steps to reproduce the bug
Dragging items within the initial view works as expected, however, when dragging and scrolling other items into view (using the mousewheel, etc.) the new items no longer react as drop targets.
DragAndDrop-Cleaned.zip
Expected behavior
Dropping on items keeps working.
Screenshots

NuGet package version
WinUI 3 - Windows App SDK 1.4.2: 1.4.231008000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response

@jeromelaban I'm not able to repro this with WinUI3 Gallery sample app (ListView with drag and drop sample). Can you give it a try there and provide the specific set of steps you perform to get into this state?

Thanks. I can repro it with the app.

@ranjeshj Are there any updates on this? Thanks.


FREQUENCY_HERTZ was used from victron,

Logger: homeassistant.const
Source: helpers/deprecation.py:205
First occurred: 2:01:49 PM (17 occurrences)
Last logged: 2:02:09 PM
FREQUENCY_HERTZ was used from victron, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfFrequency.HERTZ instead, please create a bug report at https://github.com/sfstar/hass-victron/issues
TIME_SECONDS was used from victron, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfTime.SECONDS instead, please create a bug report at https://github.com/sfstar/hass-victron/issues
IRRADIATION_WATTS_PER_SQUARE_METER was used from victron, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfIrradiance.WATTS_PER_SQUARE_METER instead, please create a bug report at https://github.com/sfstar/hass-victron/issues
ENERGY_KILO_WATT_HOUR was used from huawei_solar, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfEnergy.KILO_WATT_HOUR instead, please create a bug report at https://github.com/wlcrs/huawei_solar/issues
POWER_WATT was used from huawei_solar, this is a deprecated constant which will be removed in HA Core 2025.1. Use UnitOfPower.WATT instead, please create a bug report at https://github.com/wlcrs/huawei_solar/issues

Hello @AnKloss,
Thank you for opening this issue.
It should be fixed in release v0.1.6 thanks to the PR made by @ChristophCaina.
Therefore, closing this issue.
Feel free to re-open the issue if the warnings persist after upgrading to v0.1.6


Some drag-and-drop interactions fail within iframe in extension's webview

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

VS Code Version: 1.66.0
OS Version: MacOS Big Sur 11.6.1

Steps to Reproduce:

Create a new vscode extension (or use one that you already have)
Create a Webview that contains an HTML document with an iframe loading the GrapesJS demo (see example code below)
Run the extension and webview to load the GrapesJS demo
Try to drag a Grapes Block in the canvas

Further information
I am coding a vscode extension for enabling visual building of HTML pages, using GrapesJS framework. Grapesjs allows you, as a user, to compose web pages by dragging components ("blocks") from a library into your page, then editing properties, moving them around, arrangin layouts, etc... All of this works flawlesly in a web browser (have a quick look at their demo).
I am trying to use this inside a webview in a vscode extension, using an iframe. Most interactions work as expected, including dragging existing elements in the page to change their position. However, there's one particular (an important) interaction that fails when the application is used within the extension webview: dragging blocks from the right-side panel (the "library") to the web page. Looks like some drag events are being blocked.
I already opened an issue at GrapesJS repo but after investing quite many hours trying to debug the problem source, I strongly believe I need to look at the vscode side of my setup. My understanding is that HTML/JS content loaded in a webview's iframe is expected to behave as it would in a regular web browser (and, indeed, that's what happens with all other interactions in my app. They just work fine within the extension). But apparently vscode is blocking some events, or changing some other piece of the system, causing this problem to occur.
GrapesJS makes use of an iframe itself to host the content being edited, which means that my extension is dealing in this case with 2 levels of nested iframes. The first level is the iframe created directly in the webview, containing the GrapesJS instance. And then this GrapesJS instance contains itself another iframe for the edited contents. The failing interaction happens when dragging elements from the first-level iframe into the second one.
Here's a video showing the problem: https://www.protozoo.com/tests/grapesjs/vscode_extension_grapes.mov
And here's a simplified code example (an actual vscode extension) to try it out: http://www.protozoo.com/tests/grapesjs/visualEditor_vscode_extension.zip
As a quick reference, here's how I'm creating the webview:
const vscode = require('vscode');

/**
 * @param {vscode.ExtensionContext} context
 */
function activate(context) {
	console.log('Congratulations, your extension "visualEditor" is now active!');
	let disposable = vscode.commands.registerCommand('visualeditor.openVisualEditor', function () {
		const panel = vscode.window.createWebviewPanel(
			'visualEditor',
			'Visual Editor',
			vscode.ViewColumn.One,
			{	enableScripts: true	}
		  );

		  panel.webview.html = `<!DOCTYPE html>
		  <html lang="en">
		  <head>
			  <meta charset="UTF-8">
			  <meta name="viewport" content="width=device-width, initial-scale=1.0">
			  <title>Visual Editor</title>
		  </head>
		  <body style="padding: 0 0px;">
			  <iframe src="https://grapesjs.com/demo.html" style="position: fixed; width: 100%; height: 100%;">
			</iframe>
		  </body>
		  </html>`
	});

	context.subscriptions.push(disposable);
}

function deactivate() {}

module.exports = {
	activate,
	deactivate
}

Any solution or even just a hint on possible causes for this would be greatly appreciated. I.e. Is there any known caveat on using nested iframes within an extension's webview?
Many thanks.

Thanks for the sample
Have you tried seeing if this also happens outside of VS Code. Try creating a normal webpage with  same html content and then see if you the see the same issue when testing it on Chrome

Hi @mjbvz , thanks for the reply.
Yes, I tried outside VS Code with the same code and the error did not happen. It only happens in VS Code, using a webView.
I opened this issue/discussion at the GrapesJS repo, where they indicated that the problem probably comes from VS Code capturing or blocking the iFrame's native drag and drop functionality.  I checked the VS Code documentation but couldn't find anything relevant.
Does this give you any hint about where the problem may be happening and how to solve it?
Thanks!

Thanks for testing. A good starting point would be to create a minimal extension that demonstrates the issue. There are too many factors at play right now
You can build on the https://github.com/microsoft/vscode-extension-samples/tree/main/webview-sample for this
Try adding a minimal iframe inside the webview which demonstrates drag not working as expected

Hi @mjbvz , thanks for the reply.
I think you missed the part in my initial post above where I mentioned I did actually build this "minimal extension" demonstrating the issue. The relevant part of the code is quoted there, and the complete code for the minimal extension can be found here.
Thanks again

Hi again @mjbvz .
Did you have a chance to review the example code I provided?
Thanks!

Thanks for the example code. TBH I likely won't have time to investigate this myself but have marked it as help wanted

O thanks

Hello, is there any update on this?
Last time I asked I was able to get my case working with a workaround (basically disabling the native draggable property of my element) but I am now in a different situation where this workaround won't work.
Do you have any news about this issue?
Thanks

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!

@mjbvz Honestly surprised this has been closed after 8 months since I posed the question/issue and, apparently, nobody looked into it despite me providing code examples and an elaborated description of the problem so it's easy to reproduce. I would appreciate someone having a look and giving some response, even if it doesn't include a solution but points to workarounds or suggestions on how to handle it. Thanks.

I looked into it and determined this is something we don't plan to address it in the foreseeable future. The rational is that it's been open eight months without any other user reports

Thanks for the response and for looking into it. I guess mine is quite of an edge case, which makes it pretty difficult to troubleshoot. That said, I would appreciate any insight you got from looking into it.


Question abouthe offset in preprocess_elect.py function - is this an error?

Hello. Thanks so much for creating this repository. I was going through the preprocessing code, and it
seems like there is an error in the code. But I wanted to check with you, in case I was just misinterpreting it.
So in the preprocess_elect.py module, in the prep_data() function there is a set of lines like:
            x_input[count, 1:, 0] = data[window_start:window_end-1, series]  # <--- QUESTION
            x_input[count, :, 1:1+num_covariates] = covariates[window_start:window_end, :]
            x_input[count, :, -1] = series

The problem is that the x_input[count, 1:, 0] begins at index 1 instead of 0. So that will actually make the window size 191 instead of 192. And it is not clear what the benefit of starting every window with 0 will be. But further, the other arrays, such as labels goes from window_start to window_end. If that is the case, then the x_input array and the labels array is off by an increment.
So I was not sure which is the right way to do it, or whether this is written accurately. Would you mind clarifying if you have a chance. Thanks.

Hi, that is the correct setting for DeepAR and some other autoregressive models. At every time step, z_t is given and the goal is to predict z_{t+1}. In this way, if the window size is 192, we actually need 193 timesteps to cover both given and labels. Therefore, we let the first timestep in the window be 0. There are other setups too. See Figure 2 of the DeepAR paper for details.

@zhykoties Okay, that helps a lot. Thanks so much. Now I understand what you were looking to do. Thanks again.


Yandex map resize works incorrectly

Hi.
Yandex map pane changes its size incorrectly since release 3.1.0 (see gif)

As i can see, it's because you removed _resize function call from _update function (it was there in previous versions).
At least, i solved this problem by returning _resize function back.
_update: function () {
    this._resize(); // RETURNED THIS

    var map = this._map;
    var center = map.getCenter();
    this._yandex.setCenter([center.lat, center.lng], map.getZoom());
    var offset = L.point(0,0).subtract(L.DomUtil.getPosition(map.getPane('mapPane')));
    L.DomUtil.setPosition(this._container, offset); // move to visible part of pane
},

_resize: function (force) {
    var size = this._map.getSize(), style = this._container.style;
    if (style.width === size.x + 'px' && style.height === size.y + 'px')
        if (force !== true) return;
    this.setElementSize(this._container, size);
    this._yandex.container.fitToViewport();
},

And after that:

Thx for the report, ping @johnd0e ;)

Hi.

Yandex map pane changes its size incorrectly since release 3.1.0 (see gif)

I see gif, but I cannot reproduce this with standard example yandex.html.
Could you provide your code?

@dark-gray
@all
Is there someone who can tell me how to reproduce the issue?
I'd like to fix it, in proper way (that code sample above is not good).

I've run into the similair issue, resizing the container and then executing map.invalidateSize(); doesnt update the map/tiles, though objects are getting redrawn:

To reproduce the issue:

Change the width of the map container dynamically
Run map.invalidateSize();
Updates the map properly for other providers (like OSM, or using yandex maps direcly through L.tileLayer), but doesnt work for L.yandex()

map.invdalidateSize() works as expected on 3.0.3

@belazz
Could you provide complete sample using some sandbox (like jsfiddle or similar)?
And what if you skip step 2?

@johnd0e
Sorry for not providing jsfiddle right away: https://jsfiddle.net/tsdp7j4r/3/ (1500ms timeout for container resize)
Skipping step 2 doesnt affect L.yandex in any way, but it affects others - they are not getting updated. You can try it in the jsfiddle I provided (try commenting out map.invalidateSize() and see the difference)

Ok, I see now.
Perhaps we need to reintroduce _resize method.
	_resize: function () {
		this._yandex.container.fitToViewport();
	}

I will check this later (or feel free to do it yourself).


docs: add requires go version in README.md

I'd like go-openai to declare that 1.18 or greater is required because it uses generics internally.

@sashabaranov Please check it.
On a separate note, it might be beneficial to create a CONTRIBUTING.md file, issue templates, and pull request templates. These could potentially reduce communication overhead.


Missing transactions payload

Missing additional transaction data was found in the database, the blockchain is not affected.
Presumably the loss is caused by incorrect logic of cleaning the mempool: https://github.com/pocketnetteam/pocketnet.core/commit/0b0494ffd9fc2f3aaf41cebcfa6cf7f8ec1faf02
To check the consistency of the database, you can use the following query in the pocketdb/main.sqlite3 database:
select *
from Transactions
where Height>1021
group by Height
having count() != max(BlockNum)

Nodes remain in the network without leaks, so it remains possible to restore data from backup snapshots.
To solve the problem, I propose to perform a complete database reindexation to make sure the consistency of the block chain.
Also publish a snapshot of the database in parallel.

Reindexing does not start the process of loading a lost transaction - research is needed

Fixed in https://github.com/pocketnetteam/pocketnet.core/releases/tag/v0.20.16


Selecting entry from Ctrl+R doesn't place it on the cmd line if $HISTSIZE is set

Checklist

[X] I have read through the manual page (man fzf)
[X] I have searched through the existing issues
[X] For bug reports, I have checked if the bug is reproducible in the latest version of fzf

Output of fzf --version
0.56.2 (brew)
OS

[ ] Linux
[X] macOS
[ ] Windows
[ ] Etc.

Shell

[ ] bash
[X] zsh
[ ] fish

Problem / Steps to reproduce
https://github.com/user-attachments/assets/fcee678b-95e0-4eca-91b0-5345fce400bc
This just started happening a couple days ago without any changes to my .zshrc. If I press ctrl+R and select an entry by pressing enter I get a fresh cmd line. I went through my .zshrc until I found the line that caused the problem, which seems to be HISTSIZE=1000.
Here's the portion of my .zshrc that's related to history:
HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=$HISTSIZE
setopt appendhistory
setopt share_history #share history between multiple instances of zsh
[ -f ~/.fzf.zsh ] && source ~/.fzf.zsh

Unsetting HISTSIZE or SAVEHIST doesn't seem to help, only opening a new shell without HISTSIZE set.
Please let me know if there's anything else I can add to help debug.

Should be fixed for the dev version. Ref: #4091
The current workaround until a new release is published is:
source <(fzf --zsh | sed 's/fc -RI/true/')

Sorry for the inconvenience.

Should be fixed in 0.56.3.


docker hello-world

Several pages, including https://docs.docker.com/installation/mac/ mention running the following command:
docker hello-world

This actually results in an error:
superman:~ kord$ docker hello-world
Error: Command not found: hello-world

Might want to check the docs for that string and fix!

this is fixed in the docs built from master you will see it in the main docs soon sorry about the inconvenience

http://docs.master.dockerproject.com/installation/mac/


[firebase_messaging]: _firebaseMessagingBackgroundHandler isn't triggered on ios

Is there an existing issue for this?

[X] I have searched the existing issues.

Are you aware of the differences between iOS and Android background message handling?

[X] I understand that iOS and Android background messages behave differently, and I've designed my application with that in mind.

Do you have an active Apple Developer account?

[X] I have an active Apple Developer account.

Are you using a physical iOS device to test background messages?

[X] I am using a physical iOS device to test background messages.

Have you enabled "Remote Notifications" & "Background Mode" (Checking options for "Background Processing" & "Remote Notifications") in your app's Xcode project?

Have you created an APNs key in your Apple Developer account & uploaded this APNs key to your Firebase console?

Have you disabled method swizzling for Firebase in your app?

Are you sending messages to your app from the Firebase Admin SDK?

Have you requested permission from the user to receive notifications?

[X] I have the relevant permission to receive notifications.

Have you used the 'Console' application on your macOS device to check if the iOS device's system is throttling your background messages?

Additional context and comments

I added the log to the Appdelegate File. When the push received, the log was clearly visible.
But the log of the flutter's '_firebaseMessagingBackgroundHandler' is not visible.

@hihan-danbi - why is there a swift implementation of didReceiveRemoteNotification?
It is already implemented on the messaging plugin:
https://github.com/firebase/flutterfire/blob/master/packages/firebase_messaging/firebase_messaging/ios/Classes/FLTFirebaseMessagingPlugin.m#L424
That might be a problem for the plugin receiving messages from APNS.

I added it to take a log for error verification. But it doesn't work when I delete it.
If I add notification to the FCM body, I also get push well in the background.
But I'm going to use silent push, so if I remove notification, I don't get it both in the foreground and background

@hihan-danbi - thanks for letting us know you have found a solution for your issue. I'm unsure if there is anything to fix on FlutterFire as I know that background messages do work. Can we close this issue out now?


Individuals with type = complement does not bring root types

If a NOT qualifier is added, i.e. type is complement then no root types are returned.

Just to make sure, I remove the NOT and type is class and the root types are returned

This makes the noctua form not display NOT qualifier
tagging @vanaukenk @ukemi @balhoff

@balhoff
When you are doing minerva work, can you take a look at this one, too?
Many thanks.

A fix for this is merged into dev, #451.

Thanks @balhoff . I just checked the noctua-dev server and the root type is still empty @kltm is this now on noctua-dev

@tmushayahama No request to restart there so not restarted.

@tmushayahama @balhoff Restarting now.

Tested on production beta with:
http://noctua.geneontology.org/workbench/noctua-form-beta/?model_id=gomodel%3A62183af000000728
Working as expected.


Review Ticket #2

Dark Mode
Tags
Lists, Dictionaries, Iteration Hacks
Bell Schedule
Notes from CSP Table

2.7+

I would give Max a 2.7+ because he added lots of personal features to his website that makes it much better. In addition, he added organized, productive tables that further enhance his website. In addition, he utilized dark mode, and successfully used many different types list, dictionaries, and iterations. Overall, shows good work and effort.


Nuxt 3 - Nitro vercel-edge - Redirection problem on page load - URL parameter appended to URL

Environment

Operating System: Linux
Node Version:     v20.11.1
Nuxt Version:     3.12.2
CLI Version:      3.12.0
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      basicAuth, head, build, components, css, devtools, i18n, modules, nitro, runtimeConfig, routeRules
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
I can't give you a minimal reproduction because it runs on Vercel Edge. I can just give you the link to the website:
https://staging-vercel-edge.nxstar.ca
Describe the bug
Everything works fine locally and when I deploy to vercel with the "vercel" nitro preset.
But when I do the same with the "vercel-edge" preset the problems starts:

https://staging-vercel-edge.nxstar.ca is redirected to https://staging-vercel-edge.nxstar.ca/?url=/
https://staging-vercel-edge.nxstar.ca/first-page is redirected to https://staging-vercel-edge.nxstar.ca/first-page?url=/first-page
And so on

If I reach any of the pages directly, I can see the content and then open my navigation menu and navigate to an other page. It works fine and the URL is now correct (without the appended URL parameter). But the problem appears again as soon as I refresh the page.
All my routes are in ISR mode and I use @nuxtjs/i18n with this config:
export default defineNuxtConfig({
    i18n: {
        defaultLocale: 'en',
        detectBrowserLanguage: false,
        langDir: 'lang',
        lazy: true,
        locales: [
          {
            code: 'fr',
            iso: 'fr-CA',
            file: 'fr.ts'
          },
          {
            code: 'en',
            iso: 'en-CA',
            file: 'en.ts'
          }
        ],
        customRoutes: 'config',
        pages: {
            '[url]': {
                en: '/[url]',
                fr: '/[url]'
            },
            'post/[url]': {
                en: '/post/[url]',
                fr: '/article/[url]'
            }
        },
        strategy: 'prefix_except_default',
        vueI18n: "./i18n.config.ts"
    },
    routeRules: {
        '/**': { isr: 3600 },
    }
})

And finally, page content is fetched from a headless CMS like this:
pages/[url].vue
<script setup>
const config = useRuntimeConfig()
const route = useRoute()
const { locale } = useI18n()
const requestUrl = useRequestURL()

const url = ref({en: '/' + route.params.url, fr: '/fr/' + route.params.url})
const { data : page } = await useAsyncData(
    'page-${route.params.url}',
    () => $fetch(config.public.BASE_API_URL + '/collections/pages/entries?token=' + route.query.token + '&filter[site]=' + locale.value + '&filter[url]=' + url.value[locale.value])
)
</script>

I found out 2 people on the official Nuxt Discord server who point out to a but with the vercel-edge Nitro preset.
Again, it all works perfectly until I activate the vercel-edge preset.
Thanks for your help.
Additional context
I want to use Vercel Edge in conjunction with ISR because I need the On-Demand ISR feature, and of course the lower latencies that edge functions offer.
Logs
No response

Hi @pi0 How can I provide a reproduction for this since it's specific to the vercel-edge preset? Thanks.

After playing a bit with the routeRules setting I now have a slighty different behavior:
routeRules: {
    '/**': { isr: 3600 },
    '/second-page': { swr: true, cache: { maxAge: 60 * 40 } },
    '/third-page': { isr: 3600, cache: { maxAge: 60 } },
    '/fourth-page': { cache: { maxAge: 60 } },
  },

Now I get this:

https://staging.nxstar.ca doesn't redirect at all
https://staging.nxstar.ca/second-page redirects to https://staging.nxstar.ca/second-page?url=$url (instead of https://staging.nxstar.ca/second-page?url=/second-page before)
Same for https://staging.nxstar.ca/third-page
https://staging.nxstar.ca/fourth-page doesn't redirect at all

I disabled Vercel deployment protection so anyone can access the site without having to click the Vercel shared link first.

@CedsTrash it would be best if you can reproduce this in pure Nitro (reproduction sandbox). 🙏
It's fine if you upload it to StackBlitz or a GitHub repo, and if it needs to be deployed to vercel to reproduce - we can test that.

After briefly talking to @manniL, I've tried to set up a reproduction but I wasn't really sure about what to do:
https://stackblitz.com/~/github.com/CedsTrash/nitro-vercel-edge-isr
And then I deployed it to Vercel:
https://nitro-vercel-edge-isr.vercel.app/
The current preset is "vercel", because if I set it to "vercel_edge" I get a 404: NOT FOUND.
I don't see any URL parameter being appended here, but again, I'm not sure if this is good reproduction.
Thanks for your insights.

Hi everyone,
I just updated the code and also created a dedicated project on Vercel with a new domain:
https://staging-vercel-edge.nxstar.ca
I've changed a few things after talking with @manniL, in order to better manage caching.
pages/[url].vue now looks like this:
<script setup>
const route = useRoute()
const { locale } = useI18n()
const requestUrl = useRequestURL()

const url = ref({en: '/' + route.params.url, fr: '/fr/' + route.params.url})

const { data: page } = await useAsyncData(
    `page-${route.params.url}`,
    () => $fetch(`/api/bff`, {
      method: 'POST',
      body: {
        locale: locale.value,
        url: url.value[locale.value],
        cacheKey: `page-${route.params.url}`,
      }
    })
)
</script>

My /api/bff route looks like this:
export default defineCachedEventHandler(async (event) => {
    const config = useRuntimeConfig()

    const body = await readBody(event)
    const result = await $fetch(config.public.BASE_API_URL + '/collections/pages/entries?filter[site]=' + body.locale + '&filter[url]=' + body.url)

    return {
        data: result.data,
        fetchedAt: new Date()
    }
}, {
    maxAge: 30,
    getKey: async (event) => {
        const body = await readBody(event)

        return body.cacheKey
    }
})

And my routes rules are as follow:
routeRules: {
  '/**': { isr: 60 },
  '/api/**': { isr: false },
},

I now have a better understanding on how all of these parts work together in terms of caching. But I still experience the same behavior on Vercel as soon as I switch to the vercel-edge preset.

Does someone have a clue on what's going on? I'm really stuck on this one and could really use some help. Thanks!

I takes hours to found,
Why add ?url=$url? It seems useless. When set isr=false, it works normally.

Hi guys, anyone with a clue on how to solve this? Or at least on why ?url=$url is appendend on line 4241?
Thanks.

Hi guys, anyone with a clue on how to solve this? Or at least on why ?url=$url is appendend on line 4241?
Thanks.

workaround: set isr=false for all routes

Hi guys, anyone with a clue on how to solve this? Or at least on why ?url=$url is appendend on line 4241?
Thanks.

workaround: set isr=false for all routes (As line 4233)

Yes, but I meant while keeping ISR enabled.
Because I use ISR with ISR On-Demand Revalidation here

Maybe just modify line 4241. I don't know why the query is added.

I’m also having this issue with vercel-edge and isr enabled.

Hi, is there any update on this issue? It's a shame not being able to benefit from the edge's speed.

Please check: https://nitro.build/deploy/providers/vercel#fine-grained-isr-config-via-route-rules (available in Nitro 2.10+)

Yes, it should configure platform primitives to include query params in their cache contents.
Let me know if this worked for you so we can investigate better.

I'm not sure what I need to do though. Should I set it to true or false?
I changed my routeRules config to this and still face the same issue:
routeRules: {
    '/**': {
      isr: {
        expiration: 60,
        passQuery: true
      }
    },
    '/api/**': { isr: false },
  },

I've also tried to set it to false, same outcome.

Aaaah, wait a second, I see that my app runs Nitro 2.9.7. How can I upgrade to Nitro 2.10+ with Nuxt 3.12.3? Nuxt 3.14.159 causes me problems.

npx nuxi upgrade --force should most of the time do the trick.
And if you had issues after the upgrade, if you can share your project somehow (perhaps better in nuxt issues) we can definitely help!

Yeah I ran npx nuxi upgrade --force but there's definitely an issue with Nuxt 3.14.159 so I can check Nitro 2.10 out for now.
Could you just tell me a bit more about the passQuery property? I'd like to understand what value I should use and how it could fix the issue.
Thanks for your time.

This config maps to vercel build output API. More in their docs: https://vercel.com/docs/build-output-api/v3/primitives#prerender-configuration-file

@CedsTrash  I am experiencing the exact same issue on Nuxt 3.14.159 with Nitro 2.10.4.
ISR (or to be exact: revalidating) only works for me with NITRO_PRESET=vercel-edge in .env. But with this present in .env i also get these ?url= appended to my urls.
Havent found a solution yet.
@pi0 Can you maybe clarify? I tried both passQuery: true/false but I cant seem to get rid of this ?url= behaviour

@fiveam-lukas Thanks for your input. It helps knowing I'm not the only one :-)

Its a bit annoying because I cant ship pages like this for my clients. The urls need to be pure imho.
@pi0 What I am puzzled by is: In the nitro docs under allowQuery it says in the third bulletpoint:
For wildcard /** route rules, url is always added
Source: https://nitro.build/deploy/providers/vercel#fine-grained-isr-config-via-route-rules
But there is no further explanation. Does this mean whatever options i set, ?url= will always be added?

Using vercel preset I get __nitro-?url= appended urls and using the vercel-edge preset: `?url=
As @CedsTrash, this only occurs on page refresh (SSR) with passQuery: true
isr: {
  expiration: 3600,
  allowQuery: ['token', 'preview-token'],
  passQuery: true,
},

passQuery also only works with the vercel-edge preset.

Any updates on this issue?


Could not set unknown property 'classifier' for task ':expo-linear-gradient:androidSourcesJar'

Description
Cannot run the app in android because it gives this error:  Could not set unknown property 'classifier' for task ':expo-linear-gradient:androidSourcesJar'
CodeSandbox/Snack link
No response
Steps to reproduce

Create a new app using npm create gluestack@latest
Select React native app
After project is created do npm start
Press A to run on android or npm run android

gluestack-ui Version
0.1.15
Platform

[X] Android
[ ] Expo
[ ] iOS
[ ] Next

Other Platform
No response
Additional Information
Node version 20.0.5
Java:
java 11.0.13 2021-10-19 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.13+10-LTS-370)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.13+10-LTS-370, mixed mode)

@endrits079 We have removed LinearGradient as a component from @gluestack-ui/themed . Please update
@gluestack-ui/themed  to 0.1.36  latest. It will resolve this issue.


Ensure the hosts_allow and hosts_deny resources cover the 'optional' and extended cases

see: https://www.centos.org/docs/rhel-rg-en-3/s1-tcpwrappers-access.html
Sections : 16.2.x

wooo hooo - my hair is pointy ...

Implemented with the 'option' attribute, which is a list of all options pertaining to a rule.


Add strings PT-BR of Pull 1781

Add strings of: https://github.com/DistributedCollective/Sovryn-frontend/pull/1781

Please merge @soulBit


The "payload limit" parameter seems to have no effect?

System Info
Thanks a lot for contributing such a great embedding framework. However, I've encountered a problem in using it and would like to ask for help!
I set the payload limit to 8000000(or any number over 2M) but when my payload size exceeds 2MB (calculated using f"{sys.getsizeof(json.dumps(payload))/(1024*1024)} MB") it still prompts "Failed to buffer the request body: length limit exceeded" with 413.
I'm using TEI version 1.2.3 and Docker run commend.
I use API <IP_ADDRESS>:8080/embeddings with headers = {
'Content-Type': 'application/json',
} and payload = {
"input": ["sentence1", ... ,"sentence_n"],
}
The result of <IP_ADDRESS>:8080/info is
{'model_id': '/data/bge-m3',
'model_sha': None,
'model_dtype': 'float16',
'model_type': {'embedding': {'pooling': 'cls'}},
'max_concurrent_requests': 512,
'max_input_length': 8192,
'max_batch_tokens': 16384,
'max_batch_requests': None,
'max_client_batch_size': 512,
'auto_truncate': False,
'tokenization_workers': 32,
'version': '1.2.3',
'docker_label': 'sha-cc1c510'
}
Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
The docker command I use is similar to the following:
docker run
-d
--name text-embeddings-inference-0
--gpus 'device=0'
--shm-size 1gb
-p 8080:80
--pull always
ghcr.io/huggingface/text-embeddings-inference:1.2
--model-id BAAI/bge-m3
--payload-limit 8000000
--max-batch-tokens 4096000
--max-client-batch-size 512;
Expected behavior
I want to know how to set this payload limit correctly, or does this parameter need to be coordinated with other settings, such as the requester setting some parameters?

I am also facing the exact issue, i tried --payload-limit parameter with value 200000000 but it still throws the error for a payload of size little over 2 MB


Custom avatar e2e test fixes

What
Updating e2e tests to run with the new custom avatar model
Why

How Tested

Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

Merging this PR to unblock other PRs that can't land while the test is broken. Let's continue discussions / iteration on ID injection in a follow up.


Deed creation is not atomic

It seems that Deed's value is always supposed to be less or equal to Deed's balance.  Though, Deed creation, as it is implemented in Registrar smart contract, is not atomic.  Deed is first created with some value and zero balance (https://github.com/ethereum/ens/blob/master/HashRegistrarSimplified.sol#L305) and then its balance is resupplied with exact same value (https://github.com/ethereum/ens/blob/master/HashRegistrarSimplified.sol#L309).
Deed creation could be made atomic via payable constructor:
function Deed() payable {
    ...
    value = msg.value;
}

That could be called like this:
Deed newBid = (new Deed).value(msg.value)();

Such refactoring will make default function in Deed contract probably not needed.

You're right; it used to be that it wasn't possible in Solidity to send value along with the constructor, but now that it is, this could be restructured to be neater.


Back button lose reference if app go to background in windows phone

Steps to reproduce:
1.Open minimal template
2. Deploy the app to either an emulator or a device and start the app in debug mode from visual studio.
3. Go to settings
4. press back button
5. the app go to main page
6. stop debug
7 launch app from device
8 press windows button for hide app
9 press back button per reopen app (it's in settings page)
10 press back button again the app don't go to main page but exit!!

We habe similar issues when apps based on T10 are suspended and then resumed. Take a look at my pull request, does this fix your issue? (It did on our devices): https://github.com/Windows-XAML/Template10/pull/448

Hi,
i have already used your modification, but if you press windows button the app is not suspended and if you press button seems not all is reloaded. You can try with minimal template, the problem remain

I had a similar problem. I stopped using the code in "ClearNavigationServices" in WindowWrapper, and that resolved the issue for me.
But one thing to note, I am using a customized version of Template10. You may have some other issues if you comment out this code. But you can try.

This has been resolved.


Enums are broken in webpack builds > 2.1.3

Hey there,
I recently upgraded to one of the last versions you published (2.1.5). On the face of it, in a classic tsc build, everything works fine. However, when I run a webpack build (e.g. for my serverless deploys), my classes annotated with a classic enum throw the following error on startup:
Error: GJOriginConfig::logo type mismatch. Given Object, but declared is Object or undefined. The actual type is an Object, but you specified a Class in @f.type(T).
Please declare a type or use @f.map(Object) for 'logo: {[k: string]: Object}'.

Reverted to 2.1.3, and all is well. I annotate them as you usually would with marshal.ts, nothing fancy going on.
I'm woefully short on time but will try to set up a repo with a repro for this, unless you already have an idea of what might be going on. Please let me know!

Also, keep up the great work!

Thanks for the report. Could you post your code causing this error?

Due to confidentiality, no, but give me a few days to find some time and I will try to create a simplified code example..

Would be enough to post the enum and the property definition that uses it.

Also when this error is thrown, there's is something written to the console.log logs, which starts with type. Please post that log as well.

I hadn't managed to get to getting back to you until now, sorry!
Just wanted to let you know I noticed your commit which triggered me to test this again. The webpack compile with the same code is now successful.
--> issue fixed as far as I'm concerned, at least as soon as you release. Thanks!

nice! how did you test the not released Marshal?


Backport fixes for StepChain parentage thread and Unified configuration

2.2.4_cmsweb branch version of the following pull requests (only relevant commits):

#11770
#11694
#11757

We don't run jenkins tests for non-master branch, so I am merging these changes and cutting a new tag with <IP_ADDRESS>.


Amount of time

Hello,
Is it possible to compute from this project API the amount of time a source takes to transit in the FoV given a set of constraints?
For example, I want to observe a source between 0 and 50° zenith from a location during 24h, how much (total) time do I get to observe my source?
Apologies if this is already possible or easier to do from pure astropy!

You could do that like this:
from astroplan import FixedTarget, Observer
from astropy.time import Time
import astropy.units as u

# pick a target:
target = FixedTarget.from_name('Vega')

# pick the date you're observing:
time = Time('2024-06-01')

# pick your observatory:
obs = Observer.at_site("APO")

# compute the time when the target rises above altitude 0 deg and 50 deg:
rise_0deg = obs.target_rise_time(time, target, which='next', horizon=0*u.deg)
rise_50deg = obs.target_rise_time(time, target, which='next', horizon=50*u.deg)

# the difference is the elapsed time
print((rise_50deg - rise_0deg).to(u.hour))

which returns 4.7756809 hours.
For more, see the tutorials in the docs.


2 questions

How do I refresh a web page? When I use the normal refresh button for this I get a white screen with 'Starting Flexx app'. The next time I click refresh I get 'the site can't be reached'

How do I trigger button B when button A is pushed? I thought
self.B.set_checked()
would do it, but what argument should I use? Is this the way do do it?

Richard

How do I refresh a web page?

You can window.location.reload() to refresh the page from JS. You should start the server using flx.start() instead of flx.run(). These do the same thing, except that the latter stops the server when de last session is closed.

How do I trigger button B when button A is pushed?

If this is a CheckBox or ToggleButton then b.set_checked(a.checked) should work.


Followup of #9134. Missing swap of arguments

Doesn't this mean we need specs for these methods?

I guess, or maybe with the other deprecation, we didn't notice. I didn't check.
Either way, specs can be added in another PR. I discover this while running test-ecosystem.

I double check that the specs exist. The deprecation message was not noticed


using more configurable rakefile for html proofing

current problem rvm 2.2.2 should be used but it looks like only 2.2.0 or something older can be used.


[Python, VS Code, Jupyter Notebook] In editor selection of install package buffer is not able to be selected

VS Code Version: 1.55.2, 3c4e3df9e89829dce27b7b5c24508306b151f30d, x64
OS Version: Linux saif-kubuntu 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Steps to Reproduce:

Create a new Conda environment
Create a new jupyter notebook - ipynb file
Open that with Visual Studio Code
Attempt to install a new package via the Ipython terminal, for example, !conda install spacy
See buffer not being able to be selected for the confirmation. Basically, it's not possible to enter 'y' for this prompt here in the notebook itself.

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

/extJupyter


An error during 'pip install'

Having this
ERROR: Ignored the following versions that require a different python version: 0.55.2 Requires-Python <3.5; 1.21.2 Requires-Python >=3.7,<3.11; 1.21.3 Requires-Python >=3.7,<3.11; 1.21.4 Requires-Python >=3.7,<3.11; 1.21.5 Requires-Python >=3.7,<3.11; 1.21.6 Requires-Python >=3.7,<3.11; 1.26.0 Requires-Python <3.13,>=3.9; 1.26.1 Requires-Python <3.13,>=3.9
ERROR: Could not find a version that satisfies the requirement tensorflow-cpu (from versions: none)

The error's because of a Python version mismatch. TensorFlow versions have strict requirements:

Some need Python <3.11, others <3.13 and >=3.9.

Quick Fix:

Check your Python version:python --version

If needed, switch to a compatible version:

Create a virtual environment:python3.10 -m venv myenv
source myenv/bin/activate  # On Windows: .\myenv\Scripts\activate

Then install TensorFlow:pip install tensorflow-cpu

Also, update pip just in case:
pip install --upgrade pip


fix: update WebGPU embedding benchmark to prefer GPUAdapter.info over requestAdapterInfo

Migrates to use the new spec.-compliant way of getting adapter info in WebGPU (see also https://github.com/microsoft/onnxruntime/pull/21065).
This has been removed by both Chrome and Firefox, so there might be enough reason to simply stop using requestAdapterInfo, but I wasn't sure.

This might not be ready to merge yet, if the main library doesn't yet expose the info member. I wasn't sure about that, either. 😅

Thanks for the heads up! I'm busy migrating all our examples to http://github.com/huggingface/transformers.js-examples, and will update them to use adapter.info when necessary!


Navigation icons won't change in light mode

Thanks for the great theme! But here is an issue. When changed to light mode, icons tope right remained to be white. Maybe they are supposed to change with color scheme?

Thanks for your feedback. This bug is now fixed in commit dbda0c8 🎉 .


Module '"/botframework-connector/lib"' has no exported member 'ConnectorClientOptions'.

Versions
botframework-connector 4.7.1
Describe the bug
I am not able to import ConnectorClientOptions from botframework-connector
To Reproduce
Steps to reproduce the behavior:
npm i botframework-connector
Expected behavior
Should be able to import ConnectorClientOptions
Screenshots

[bug]

Hi @ryanbuening
ConnectorClientOptions is an interface. If you're using JavaScript then I'm afraid you won't be able to import interfaces. This behavior is universal to TypeScript/JavaScript and is therefore unrelated to the Bot Builder SDK. However, you can use a TypeScript interface as a guide to help you build your JavaScript objects.
With regard to the readme file here, it looks like you have discovered a bug. The sample code seems to have been copied from Bot Builder v3. If that gets fixed, would you consider your issue resolved?

Makes sense. Yes, this can be marked as resolved. Thanks.

@v-kydela please close after the commit is merged into master

@CoHealer - That will happen automatically when the PR is merged


NS7 migration

NS7 migration chore. Tested only on iOS. It seems that zooming does not work.

Finally pushed to  @ https://github.com/triniwiz/nativescript-plugins 😄


[Blob] SAS token created using python did not work for azcopy

Hello Everyone
I am trying to generate a SAS token using Python code as per below doc
https://docs.microsoft.com/en-us/python/api/overview/azure/storage-blob-readme?view=azure-python
from datetime import datetime, timedelta
from azure.storage.blob import BlobServiceClient, generate_account_sas, ResourceTypes, AccountSasPermissions
sas_token = generate_account_sas(
account_name="https://accountname.blob.core.windows.net",
account_key="entered accountkey",
resource_types=ResourceTypes(service=True),
permission=AccountSasPermissions(read=True,add=True,create=True,write=True,delete=True),
expiry=datetime.utcnow() + timedelta(hours=1)
)
print (sas_token)
SAS token I received I added in below azcopy command
azcopy rm "https://accountnameb.blob.core.windows.net/containername/filename?sas_token"
I am getting below error
RequestId:0d6b21bb-101e-006a-0775-7d38d6000000
Time:2021-07-20T14:41:47.5594591Z, Details:
AuthenticationErrorDetail: Signature did not match. String to sign used was accounname
rwdac
b
s
2021-07-20T15:41:20Z
2020-06-12
Code: AuthenticationFailed
RESPONSE Status: 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
Thanks

Hi @ashi4286, thank you for opening an issue! I'll tag the appropriate folks so we can take a look at this as soon as possible.

Code worked fine after making the below change
resource_types=ResourceTypes(object=True)
Please close this issue

Glad to hear that you found a solution! Closing now.


Missing info on Action.Http

There's no documentation available on Action.Http

URL: https://adaptivecards.io/explorer/Action.Submit.html

There is some information here: https://learn.microsoft.com/en-us/outlook/actionable-messages/adaptive-card#actionhttp

Thanks @fowl2
@evrentekin, we do not support Action.Http anymore. Please use Action.Submit and Action.Execute.
Outlook, however, may supports it; but they have moved away from it, and supports Action.Execute.

@jwoo-msft do you have an example of Action.Execute sending an http request?

@mitquinn
https://learn.microsoft.com/en-us/adaptive-cards/authoring-cards/universal-action-model

@mitquinn https://learn.microsoft.com/en-us/adaptive-cards/authoring-cards/universal-action-model

I feel like I am missing something. Where do you set the url, method, or headers?

@mitquinn,
Could you share your use case? The missing piece of information likely originates from the HostApp that hosts AdaptiveCards.

@mitquinn, Could you share your use case? The missing piece of information likely originates from the HostApp that hosts AdaptiveCards.

Yeah absolutely.
So I was looking at this : https://powerautomate.microsoft.com/en-us/blog/how-to-use-actionable-messages-in-outlook-with-power-automate/
The general idea is that Power Automate is sending an adaptive card, which than is making an http request back to PA to handle the response.
In Step#2 they have this section:
{
  "type": "AdaptiveCard",
  "body": [
    {
      "type": "Container",
      "style": "emphasis",
      "items": [
        {
          "type": "TextBlock",
          "text": "Quick Poll",
          "wrap": true
        }
      ],
      "padding": "Default"
    },
    {
      "type": "Container",
      "id": "d96d06ec-2a33-c8cc-4698-430ae87f772f",
      "padding": "Default",
      "items": [
        {
          "type": "TextBlock",
          "size": "Medium",
          "weight": "Bolder",
          "text": "Take 2 minutes to help us plan the upcoming conference",
          "wrap": true
        }
      ],
      "spacing": "None",
      "separator": true
    },
    {
      "type": "Container",
      "id": "885220a9-5ab1-95dd-5b66-20f42c452fa9",
      "padding": "Default",
      "items": [
        {
          "type": "TextBlock",
          "weight": "Bolder",
          "text": "Where should we host the conference?",
          "wrap": true
        }
      ],
      "separator": true,
      "spacing": "None"
    },
    {
      "type": "Container",
      "id": "10017c5a-5ee9-46c5-537a-bdd9ab61225c",
      "padding": {
        "top": "None",
        "bottom": "Default",
        "left": "Default",
        "right": "Default"
      },
      "items": [
        {
          "type": "Input.ChoiceSet",
          "id": "Options",
          "spacing": "None",
          "placeholder": "Where should we host the conference?",
          "label": "Where should we host the conference?",
          "choices": [
            {
              "title": "Radisson",
              "value": "Radisson"
            },
            {
              "title": "Hilton",
              "value": "Hilton"
            },
            {
              "title": "Sheraton Downtown",
              "value": "Sheraton Downtown"
            },
            {
              "title": "W Downtown",
              "value": "W Downtown"
            },
            {
              "title": "Clarks",
              "value": "Clarks"
            }
          ],
          "style": "expanded"
        }
      ],
      "spacing": "None"
    },
    {
      "type": "Container",
      "spacing": "None",
      "items": [
        {
          "type": "TextBlock",
          "text": "Other:",
          "wrap": true,
          "horizontalAlignment": "Left"
        }
      ],
      "padding": {
        "top": "None",
        "bottom": "None",
        "left": "Default",
        "right": "Default"
      }
    },
    {
      "type": "Container",
      "id": "3734939f-dd4d-79be-cf3c-2ad791f382ba",
      "padding": {
        "top": "Default",
        "bottom": "None",
        "left": "Default",
        "right": "Default"
      },
      "items": [
        {
          "type": "Input.Text",
          "id": "Suggestions",
          "placeholder": "Have another suggestion?",
          "label": "Other:"
        }
      ],
      "spacing": "None"
    },
    {
      "type": "Container",
      "id": "a27409f1-a48e-982f-8e26-594bdd1468e8",
      "padding": "Default",
      "items": [
        {
          "type": "ActionSet",
          "horizontalAlignment": "Left",
          "actions": [
            {
              "type": "Action.Http",
              "title": "Submit",
              "method": "POST",
              "url": "https://prod-00.westus.logic.azure.com:443/workflows/.... this is the URL that you took from the flow",
              "body": "{\"Option\": {{\"Options.value\"}}, \"SuggestionText\": {{\"Suggestions.value}}\"}",
              "headers": [
                {
                  "name": "Authorization",
                  "value": ""
                },
                {
                  "name": "Content-Type",
                  "value": "application/json"
                }
              ],
              "isPrimary": true,
              "style": "positive"
            }
          ]
        }
      ],
      "spacing": "None"
    }
  ],
  "$schema": "https://adaptivecards.io/schemas/adaptive-card.json",
  "version": "1.0",
  "padding": "None",
  "originator": "75df... this ID can be taken from the form that you submitted"
}

But the important part there is specifically:
"actions": [
            {
              "type": "Action.Http",
              "title": "Submit",
              "method": "POST",
              "url": "https://prod-00.westus.logic.azure.com:443/workflows/.... this is the URL that you took from the flow",
              "body": "{\"Option\": {{\"Options.value\"}}, \"SuggestionText\": {{\"Suggestions.value}}\"}",
              "headers": [
                {
                  "name": "Authorization",
                  "value": ""
                },
                {
                  "name": "Content-Type",
                  "value": "application/json"
                }
              ],
              "isPrimary": true,
              "style": "positive"
            }
          ]

Everything works great in version 1.0. But if you tried to update the adaptive card beyond v1.0 it all stops working.
The weird thing is that the card actually renders correctly in v1.4 except the Action.Http button doesn't appear. I am assuming it needs to be updated to Action.Execute but there are no params for setting url, method, headers, etc. From reading the docs it seems like the Action.Http method is no longer supported and is replaced by Action.Execute but Action.Execute offers no way to make an http request.

@cc13com unfortunately no. I tried a bunch of different configurations with no luck.
I saw this in the FAQ which seems to point at the right direction: Upgrading from 1.0 to 1.4
Digging a bit deeper I found this: Backwards Compatability
It just seems like its not possible to use Action.Execute to trigger any kind of http request. Which is super disappointing. They mention using Bots to handling the functionality but that doesn't really seem like an alternative to me.

Hello @mitquinn,
Thanks for your fast and comprehensive response. When searching the Internet, I also had the feeling that the documentation and reality did not match.


10.0.22621.2129 is not supported

win11 os, this is dll
termsrv.zip
Thank you for your help!

https://github.com/sebaxakerhtc/rdpwrap.ini/commit/6d838c3a6aa82df002dea03244d1c9b66ca3faf5

sebaxakerhtc/rdpwrap.ini@6d838c3

It's ok now. Thanks a lot!

i need Help plz


entering "1[" creates a pattern hole and an extra hole

don't immediately get what's going on here:

fixed by https://github.com/hazelgrove/tylr/commit/0cf2f4d6027d530e063b3b97e82458b915ca0e37


[BIOMAGE-1227] Allow Data Processing settings to be exported

Background
Link to issue
https://biomage.atlassian.net/browse/BIOMAGE-1227
Link to staging deployment URL
https://ui-james-ui417.scp-staging.biomage.net/
Links to any Pull Requests related to this
Anything else the reviewers should know about the changes here
Still to do based on feedback from Vicky

[x] Disable menu item when samples are present that have not been analysed
[x] Show if filter is enabled/disabled
[x] Show steps in order & include step number in name
[x] Merge method parameters for steps

Changes
Code changes
Definition of DONE
Your changes will be ready for merging after each of the steps below have been completed:
Testing

[ ] Unit tests written
[ ] Tested locally with Inframock (with latest production data downloaded with biomage experiment pull)
[ ] Deployed to staging

To set up easy local testing with inframock, follow the instructions here: https://github.com/biomage-ltd/inframock
To deploy to the staging environment, follow the instructions here: https://github.com/biomage-ltd/biomage-utils
Documentation updates
Is all relevant documentation updated to reflect the proposed changes in this PR?

[ ] Relevant Github READMEs updated
[ ] Relevant wiki pages created/updated

Approvers

[ ] Approved by a member of the core engineering team
[ ] (UX changes) Approved by vickymorrison (this is her username, tag her if you need approval)

Just before merging:

[ ] After the PR is approved, the unstage script in here: https://github.com/biomage-ltd/biomage-utils is executed. This script cleans up your deployment to staging

Optional

[ ] Photo of a cute animal attached to this PR

Codecov Report

Merging #417 (4a3a459) into master (6eb53c1) will decrease coverage by 0.18%.
The diff coverage is 7.69%.

@@            Coverage Diff             @@
##           master     #417      +/-   ##
==========================================
- Coverage   58.10%   57.92%   -0.19%
==========================================
  Files         133      133
  Lines        4175     4190      +15
  Branches      823      824       +1
==========================================
+ Hits         2426     2427       +1
- Misses       1727     1741      +14
  Partials       22       22

Impacted Files
Coverage Δ

src/components/data-management/ProjectDetails.jsx
51.06% <7.69%> (-2.54%)
:arrow_down:

src/pages/data-management/index.jsx
0.00% <0.00%> (ø)

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 6eb53c1...4a3a459. Read the comment docs.

Hi James. I have looked at this again and I have 2 more comments:

For a multi-sample dataset the Configure Embedding settings and Data Integration settings come up multiple times (for an 8 sample dataset they come up 8 times). This is not required - they only need to come up once. The duplicates will make the file pretty messy if there are a large number of samples.
Can the downloaded file be named with the project name? E.g. "ProjectID_settings" or similar? It might be worth coordinating with Agi and Stefan so that the downloaded file names are consistent in style.

@vickymorrison I've implemented both requirements, waiting for it to reach staging

One more small thing. For the dimensionality reduction settings you currently have:
[6-dataIntegration.dimensionalityReduction]
method = rpca

Can you also please include the Number of Principal Components and % variation explained?
Sorry that I didn't catch this omission earlier.


Opening launch configs in user or workspace settings should reveal the "launch" section

Testing #44449:
If you have a default launch config in user or workspace settings and you press the gear icon in the debug viewlet, it opens the correct settings file but it does not reveal or highlight the "launch" section.

This is a great idea, for that the OpenGlobalSettings would need to take an additional option of being passed a setting name.
Assigning also to @sandy081 since he would need to provide that api or to give me some code pointers for that to happen or if our proposal make sense at all.

You can provide the setting to edit using editSetting option.
Eg: this.preferencesService.openGlobalSettings(true, { editSetting: <id> });

@sandy081 thanks, I just tried it. Even though this nicely opens the User setting on the correct location it also adds a new line and triggers the suggest widget. Which seems to be expected for the editSetting behavior. Here I do not really want to edit - I simply want that part revealed. Is there some api for that?

Ah ok, I can add reveal setting option for your use case.

Yeah, that would be great, thanks!

@sandy081 friendly ping for this. Should we push it out to next milestone? Anything works for me.

Will see if I can squeeze it in today, otherwise will move this on Monday. Hope that works.

Anything works. Thanks!

Added support for revealing the setting. Eg:
this.preferencesService.openGlobalSettings(true, { revealSetting: {key: '<id>'} });

@sandy081 works lovely, thanks!

👏


docs(router): fix typo for "urlUpdateStrategy"

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?
Fix small typo

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[x] Documentation content changes
[ ] angular.io application / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: N/A
What is the new behavior?
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Wrong repo


Update api-extensions.md

Fixed header markdown syntax

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

Please can you sign off your commit. Thanks

@jamielsharief please use the signoff flag to git commit: git commit --signoff

It's a trivial change so just updated the commit myself, will merge next.
Thanks!


meatdata does not appear

Doc1.docx
why Metadata does not appear as coloured blocks when using Phandango to exhibit the result of Roary? THey are totally missing.
COuld you please help me to figure out the reason?

I suspect the issue is similar to #147 - can you double check your strain names in the tree and CSV files are identical?


Unable to Convert ADC to Numpy

ModuleNotFoundError: No module named 'mmwave'
When running process_adc_bin2np.py, I get the above error. This is even after I used pip install mmwave in my Anaconda environment.  Anybody know a solution to this?
Or does anybody have the numpy files and are willing to share?

So the appropriate module is openradar. After install it, it still didn't work. I had to download the files from openradar's github page, and ran the process_adc_bin2np.py code inside openradar's directory.


Cannot use <>, <>, and virtual member (*) for classDiagram

E.g., the following works in mermaid live editor, but not when I used it in the plugin. Having the <<interface>> would prevent the whole diagram from rendering. If I remove that, the * for marking a method virtual still has no effect in the plugin.

Thank you for waiting. This should be resolved in v0.9.0.


Invalid RNPermission 'ios.permission.LOCATION_WHEN_IN_USE'. should be one of: ( )

Bug
Invalid RNPermission 'ios.permission.LOCATION_WHEN_IN_USE'. should be one of: (
)

Environment info
System:
    OS: macOS 10.14.6
    CPU: (8) x64 Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz
    Memory: 161.37 MB / 16.00 GB
    Shell: 5.3 - /bin/zsh
  Binaries:
    Node: 12.9.0 - ~/.nvm/versions/node/v12.9.0/bin/node
    Yarn: 1.17.3 - ~/.nvm/versions/node/v12.9.0/bin/yarn
    npm: 6.10.2 - ~/.nvm/versions/node/v12.9.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
    Android SDK:
      API Levels: 25, 26, 27, 28
      Build Tools: 23.0.1, 26.0.1, 26.0.2, 27.0.0, 27.0.3, 28.0.3, 29.0.0
      System Images: android-28 | Google APIs Intel x86 Atom_64
  IDEs:
    Android Studio: 3.3 AI-182.5<IP_ADDRESS>14842
    Xcode: 11.0/11A420a - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.1 => 0.61.1
  npmGlobalPackages:
    react-native-cli: 2.0.1

Library version: 2.0.0
Steps To Reproduce

Added to Podfile

permissions_path = '../node_modules/react-native-permissions/ios'
  pod 'Permission-LocationWhenInUse', :path => "#{permissions_path}/LocationWhenInUse.podspec"

pod install
Added the permission message to info.plist
Rebuild the app

const locationPermission = Platform.select({
  ios: PERMISSIONS.IOS.LOCATION_WHEN_IN_USE,
  android: PERMISSIONS.ANDROID.ACCESS_FINE_LOCATION
});

const permission = await check(LOCATION_PERMISSION);

Hi @mtt87 ! I created a small repo to reproduce the issue, and it does not happen: https://github.com/zoontek/react-native-permissions-issue-326
It's probably a missing step and we could improve the documentation!
I did:
$ npx react-native init HelloPermissions
$ cd HelloPermissions
$ yarn add react-native-permissions
# Edit the `Podfile`, run `pod install`
# Edit the TS
$ open ./ios/HelloPermissions.xcworkspace

And compile (NSLocationWhenInUseUsageDescription is already existing on new projects). Everything went well.
Can you check that you followed the same steps? Check that your project looks like this? (RNPermissions + Permission-LocationWhenInUse pods)

I tried again from scratch with
rm -rf node_modules
yarn
cd ios
pod update
pod install

and now it worked fine 🤔
I'm quite sure I did that this morning as well a few times....
Thanks for looking into it @zoontek really appreciate, I'm gonna close the issue then.

@mtt87 It might be Xcode build cache. A neat trick is Option ⌥ + Click on the Product Menu > Clean Build Folder

Even that clean isn't good enough. I have been bitten by style DerivedData state a few times as well. I only use the react-native-clean-project 'wipe iOS build' option now (and I've PRd to it a couple times, including to clean DerivedData). Good luck :-)

hi,
Nothing works for me. I tried to clean up project, delete derived data, reinstall packages and pods, I've always got the error. Everything seems to be fine in my Xcode project architecture in Pods

Can you provides more details? Cocoapods version, Xcode version, iOS version,

@zoontek of course.
System:
    OS: macOS Mojave 10.14.6
    CPU: (4) x64 Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz
    Memory: 223.01 MB / 16.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.5.0 - ~/.nvm/versions/node/v12.5.0/bin/node
    Yarn: 1.17.3 - ~/.nvm/versions/node/v12.5.0/bin/yarn
    npm: 6.9.0 - ~/.nvm/versions/node/v12.5.0/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>91312
    Xcode: 11.0/11A420a - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.1 => 0.61.1
  npmGlobalPackages:
    react-native-cli: 2.0.1

Cocoapods : 1.7.5
Simulator iOS : 12.2

Same error here on React native 0.60.5 and Cocoapods 1.7.5. Seems like the array for checking the permission is empty.
Error is around here.
RNPermissions.h
typedef NS_ENUM(NSInteger, RNPermission) {
  RNPermissionUnknown = 0,
#if __has_include("RNPermissionHandlerBluetoothPeripheral.h")
  RNPermissionBluetoothPeripheral,
#endif
#if __has_include("RNPermissionHandlerCalendars.h")
  RNPermissionCalendars,
#endif
#if __has_include("RNPermissionHandlerCamera.h")
  RNPermissionCamera,
#endif
#if __has_include("RNPermissionHandlerContacts.h")
  RNPermissionContacts,
#endif
#if __has_include("RNPermissionHandlerFaceID.h")
  RNPermissionFaceID,
#endif
#if __has_include("RNPermissionHandlerLocationAlways.h")
  RNPermissionLocationAlways,
#endif
#if __has_include("RNPermissionHandlerLocationWhenInUse.h")
  RNPermissionLocationWhenInUse,
#endif
#if __has_include("RNPermissionHandlerMediaLibrary.h")
  RNPermissionMediaLibrary,
#endif
#if __has_include("RNPermissionHandlerMicrophone.h")
  RNPermissionMicrophone,
#endif
#if __has_include("RNPermissionHandlerMotion.h")
  RNPermissionMotion,
#endif
#if __has_include("RNPermissionHandlerPhotoLibrary.h")
  RNPermissionPhotoLibrary,
#endif
#if __has_include("RNPermissionHandlerReminders.h")
  RNPermissionReminders,
#endif
#if __has_include("RNPermissionHandlerSiri.h")
  RNPermissionSiri,
#endif
#if __has_include("RNPermissionHandlerSpeechRecognition.h")
  RNPermissionSpeechRecognition,
#endif
#if __has_include("RNPermissionHandlerStoreKit.h")
  RNPermissionStoreKit,
#endif
};

OR
RNPermissions.m
RCT_ENUM_CONVERTER(RNPermission, (@{
#if __has_include("RNPermissionHandlerBluetoothPeripheral.h")
  [RNPermissionHandlerBluetoothPeripheral handlerUniqueId]: @(RNPermissionBluetoothPeripheral),
#endif
#if __has_include("RNPermissionHandlerCalendars.h")
  [RNPermissionHandlerCalendars handlerUniqueId]: @(RNPermissionCalendars),
#endif
#if __has_include("RNPermissionHandlerCamera.h")
  [RNPermissionHandlerCamera handlerUniqueId]: @(RNPermissionCamera),
#endif
#if __has_include("RNPermissionHandlerContacts.h")
  [RNPermissionHandlerContacts handlerUniqueId]: @(RNPermissionContacts),
#endif
#if __has_include("RNPermissionHandlerFaceID.h")
  [RNPermissionHandlerFaceID handlerUniqueId]: @(RNPermissionFaceID),
#endif
#if __has_include("RNPermissionHandlerLocationAlways.h")
  [RNPermissionHandlerLocationAlways handlerUniqueId]: @(RNPermissionLocationAlways),
#endif
#if __has_include("RNPermissionHandlerLocationWhenInUse.h")
  [RNPermissionHandlerLocationWhenInUse handlerUniqueId]: @(RNPermissionLocationWhenInUse),
#endif
#if __has_include("RNPermissionHandlerMediaLibrary.h")
  [RNPermissionHandlerMediaLibrary handlerUniqueId]: @(RNPermissionMediaLibrary),
#endif
#if __has_include("RNPermissionHandlerMicrophone.h")
  [RNPermissionHandlerMicrophone handlerUniqueId]: @(RNPermissionMicrophone),
#endif
#if __has_include("RNPermissionHandlerMotion.h")
  [RNPermissionHandlerMotion handlerUniqueId]: @(RNPermissionMotion),
#endif
#if __has_include("RNPermissionHandlerPhotoLibrary.h")
  [RNPermissionHandlerPhotoLibrary handlerUniqueId]: @(RNPermissionPhotoLibrary),
#endif
#if __has_include("RNPermissionHandlerReminders.h")
  [RNPermissionHandlerReminders handlerUniqueId]: @(RNPermissionReminders),
#endif
#if __has_include("RNPermissionHandlerSiri.h")
  [RNPermissionHandlerSiri handlerUniqueId]: @(RNPermissionSiri),
#endif
#if __has_include("RNPermissionHandlerSpeechRecognition.h")
  [RNPermissionHandlerSpeechRecognition handlerUniqueId]: @(RNPermissionSpeechRecognition),
#endif
#if __has_include("RNPermissionHandlerStoreKit.h")
  [RNPermissionHandlerStoreKit handlerUniqueId]: @(RNPermissionStoreKit),
#endif
}), RNPermissionUnknown, integerValue);

@Under-Warz @kkusanagi Could you check that CocoaPods is properly integrated in your project and add Headers search paths automatically?

(This is what CocoaPods does normally by default)

hahaha i fix it my self. Seems there is invalid data while creating a list.
I changed the code as below. And it is fixed.
RNPermissions.h
typedef NS_ENUM(NSInteger, RNPermission) {
  RNPermissionUnknown = 0,
#if __has_include("RNPermissionHandlerBluetoothPeripheral.h")
  RNPermissionBluetoothPeripheral = 1,
#endif
#if __has_include("RNPermissionHandlerCalendars.h")
  RNPermissionCalendars = 2,
#endif
#if __has_include("RNPermissionHandlerCamera.h")
  RNPermissionCamera = 3,
#endif
#if __has_include("RNPermissionHandlerContacts.h")
  RNPermissionContacts = 4,
#endif
#if __has_include("RNPermissionHandlerFaceID.h")
  RNPermissionFaceID = 5,
#endif
#if __has_include("RNPermissionHandlerLocationAlways.h")
  RNPermissionLocationAlways = 6,
#endif
#if __has_include("RNPermissionHandlerLocationWhenInUse.h")
  RNPermissionLocationWhenInUse = 7,
#endif
#if __has_include("RNPermissionHandlerMediaLibrary.h")
  RNPermissionMediaLibrary = 8,
#endif
#if __has_include("RNPermissionHandlerMicrophone.h")
  RNPermissionMicrophone = 9,
#endif
#if __has_include("RNPermissionHandlerMotion.h")
  RNPermissionMotion = 10,
#endif
#if __has_include("RNPermissionHandlerPhotoLibrary.h")
  RNPermissionPhotoLibrary = 11,
#endif
#if __has_include("RNPermissionHandlerReminders.h")
  RNPermissionReminders = 12,
#endif
#if __has_include("RNPermissionHandlerSiri.h")
  RNPermissionSiri = 13,
#endif
#if __has_include("RNPermissionHandlerSpeechRecognition.h")
  RNPermissionSpeechRecognition = 14,
#endif
#if __has_include("RNPermissionHandlerStoreKit.h")
  RNPermissionStoreKit = 15,
#endif
};

@zoontek I can find any headers about RNPermission and permissions itself (pod update && pod install has been made)

@kkusanagi I will made a minor release tomorrow with the fix, thanks!

This is still an issue when using use_frameworks!, correct? I've tried the solutions mentioned and still get this error. Also, https://github.com/facebook/react-native/issues/26333 is fixed in 0.61.1 and #331 is not an issue for me.

@timmywil If none of the solutions worked for you, can you open a new issue with some infos on your setup (RN version, CocoaPods version, your Podfile?). It will be easier to help you 🙂

@zoontek I have the same issue. RNPermissions does not see RNPermissionHandlerX.
Also, to check, I tried to import it manually RNPermissions, and I could not...
But I can do it from:
#import "PhotoLibrary/RNPermissionHandlerPhotoLibrary.m"
This is interesting

I had to add "${PODS_CONFIGURATION_BUILD_DIR}/Permission-X" to RNPermissions "Header Search Path" to make it works :)
@Under-Warz thank you for your suggestion 👍

@Under-Warz but in this way, I should always add it manually.
How can I achieve "automated" linking.
I'm playing with postinstall script in Podfile now.

@chelovekdrakon I didn't suggest anything but you're welcome if it's helped you ^^
For now I'm stop using this lib for my dev but I'll back on it later.
@zoontek sry for the delay, yes I'm also using use_frameworks! with an iOS native project already developed

I'm not sure this may be cause. Starting on react-native 0.61 above, the react native developer had removed the react.xproject (something) from the library. and this may cause a lot of trouble for other library that use this library. I'm meet this issue with realm. so i need to downgrade to 0.60.5 with fresh setup.
If you downgrade from 0.61, you need to add back the react.xproject back to ios library.

Is there a working solution for react-native 0.61.4? I've tried everything in here but no luck :/

I tried again from scratch with
rm -rf node_modules
yarn
cd ios
pod update
pod install

and now it worked fine 🤔
I'm quite sure I did that this morning as well a few times....
Thanks for looking into it @zoontek really appreciate, I'm gonna close the issue then.

rm -rf node_modules
yarn
cd ios
pod update
pod install
react-native run-ios
I'm as good as you. I don't know how many times I repeat the operation。

this is happening to me as well,
seems like the permission handlers imports are not valid (if i try to import handler the the xcode gives error message saying it does not finds the files), hence, the enum gets translated to an empty enum.
how can we fix that?

@menesh2 what version you are using for react-native-permissions and React Native?
I'm using react-native-permissions:2.0.2 and react-native: 0.60.5
it work just fined.

@kkusanagi
React Native: 0.61.4,
react-native-permissions: 2.0.4

I had the same issue but I realized that I forgot to add a permission handler in the Podfile ^^
Add one of the handlers you want to check then everything should work again.
pod 'Permission-LocationAlways', :path => "#{permissions_path}/LocationAlways.podspec"
pod install

@ozgurchn i have those handlers in my podfile:

do you have another idea?

@menesh2 https://github.com/react-native-community/react-native-permissions#-if-you-encounter-the-error-invalid-rnpermission-x-should-be-one-of-

@zoontek

@menesh2 https://github.com/react-native-community/react-native-permissions#-if-you-encounter-the-error-invalid-rnpermission-x-should-be-one-of-

tried it already, unfortunately it did not help

I had to add "${PODS_CONFIGURATION_BUILD_DIR}/Permission-X" to RNPermissions "Framework Search Paths" to make it works :)
@Under-Warz thank you for your suggestion 👍

After adding the pods to the Podfile, this ended up fixing the issue for me. Thanks 👍


Add user guide

Background
We need a User Guide for this repo. It should contain  the following sections:

Setup
Usage
Implementation of algorithms

During updating the User Guide, we faced the questions about Prebuilt SLCs.
Ideally, a prebuilt SLC should not be required.
When trying out this, we identified problems regarding module not found.
Additional options to bring the CustomQueryHandler into the UDF

Write QueryHandler and related factory into a file in /tmp and import this file
Use cloudpickle for serialization https://github.com/cloudpipe/cloudpickle
Dill could be an option

First we should try to import the module used during creation of the QueryHandler object also when deserializing the state.


[BUG] [FABRIC 1.19.2] Crashed upon loading worlds

Description
I installed this shoulder surfing reloaded mod in my private mod-pack and upon loading a world, the game crashes
Steps to Reproduce

Install Shoulder Surfing Reloaded
Load one singleplayer world
Crashed

Expected Behavior
It should load the world fine and the mod runs also fine.
Screenshots
No response
Game Logs
https://gist.github.com/kingkuys2123/e7d6822297b2dbc4801afaa196b04877
Other Mods
Probably WTHIT? (WAILA fork)
Additional Information
No response

Thank you for the report. I can't reproduce the issue. Could you please check if any other mods are involved, apart from WTHIT (it definately crashes because of the WTHIT plugin)?

Just discovered the cause of the crash earlier, it's not WTHIT but a WTHIT add-on/plugin Megane

I still can't reproduce the crash. Nevertheless i made a new commit that should fix the issue. I will try to create a release tomorrow.

I made a new release. Please re-open this issue if the game still crashes for you.

Not anymore, thanks for the fix! :)


Betting intro text visible in mobile

Describe the bug

To Reproduce
Steps to reproduce the behavior:

Load site

Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

Android, Brave (chromium latest)

looks fixed - closing


removed cpuid from variables.robot

Looks good but maybe modify this document (remove cpuid):
https://github.com/Dasharo/open-source-firmware-validation/blob/57e839184da30691e35a3fc08dc2ff77f03d0346/docs/adding-new-platforms.md?plain=1#L32

Sure: https://github.com/Dasharo/open-source-firmware-validation/pull/388/commits/dd13c26d475f6c6d091705983df941de63e6ba81