Simplified Elasticsearch Index

For the MVP, we are proposing small subset of the available RDF data for Elasticsearch interactions.

I think we should be able to find something already in each Resource Template that can serve as the label. I worry that by adding this extra label we will confuse things. Is the extra label actually for the entity? or is the label for the set of statements you are making about the entity?

Side note, in SVDE, they concatenate values from the title parts into an rdfs:label on the bf:Title, making it easier to query on (and display if you don’t want to do special formatting for the different parts of the title).

for Title index, index objects of these properties:
http://id.loc.gov/ontologies/bibframe/mainTitle
http://id.loc.gov/ontologies/bibframe/subtitle
(NOTE: the property http://id.loc.gov/ontologies/bibframe/title expects a blank node which will itself have a mainTitle, so there's nothing directly to index for bibframe/title)
in addition to searching by title, could we have the ability to filter the search by group that the entity is saved in?
and in the list of results, could we show:
Title (that matched the search)
Group
RT (name and ID if room) that was used to create the resource
Date last created / modified
That will be enough to start agilely and get feedback from users. Thanks!

@jermnelson 	since #630 is the editor ticket to tackle this work, should this issue be aimed at the pipeline (to change indexing behavior per @michelleif's comment immediately above this one)?

@mjgiarlo (sorry about the delay in answering)
re resource indexing: can we just start with indexing those two properties and then we will get input from users on what else to index. i believe that most resources will have those properties. if not, we will address it later.
i don't understand the context of the question about indexing the RTs themselves, please explain

Hi, @michelleif!

@mjgiarlo (sorry about the delay in answering)

No worries; I know you're busy and out-of-state. :slightly_smiling_face:

re resource indexing: can we just start with indexing those two properties and then we will get input from users on what else to index. i believe that most resources will have those properties. if not, we will address it later.

You bet. I'll change the indexing pipeline such that for every new or changed resource, it indexes the main title and subtitle. For now, I will append these together, if both exist, into a single index field called "title". (If that sounds obviously wrong, let me know?)
And if a Trellis resource lacks these two properties, it will not be indexed.

i don't understand the context of the question about indexing the RTs themselves, please explain

The indexing pipeline currently indexes resources and resource templates in full. And we've learned that indexing documents in full doesn't serve our purposes, so now for resources we're saying "just index the title properties." We haven't specified how we want to index the resource templates. The strategies that stuck out to me were:

RT "remark" field
RT "resourceLabel" field
Concatenation of contained propertyTemplate labels and/or remarks

so re indexing resource templates, we don't have a resource template search, so do we need to index them? there are a few open tickets for more ways to browse the list of resource templates #802, #634 , #635 , #636 . that should suffice for now

@michelleif :speech_balloon:

i believe that most resources will have those properties.

I forgot to mention that having one or more example RTs with these properties will be super helpful in taking this work forward.

so re indexing resource templates, we don't have a resource template search, so do we need to index them? there are a few open tickets for more ways to browse the list of resource templates #802, #634 , #635 , #636 . that should suffice for now

Roger that. Thanks!

@mjgiarlo

I forgot to mention that having one or more example RTs with these properties will be super helpful in taking this work forward.

The existing ConfigurationDemoFuller RT does have a field (Example 18) of type resource with property http://id.loc.gov/ontologies/bibframe/title. It's pointing to another template which has http://id.loc.gov/ontologies/bibframe/mainTitle and http://id.loc.gov/ontologies/bibframe/subtitle.
So if an RT references another RT that includes one of those properties, can we index those referenced fields?

@michelleif 	as long as the cataloger populates those properties, I reckon we can, yes. Thank you :man_dancing:


trained model available?

do you have the weights of a trained model to share?

good idea. have added to main.


Developer console documentation incomplete

The developer console documentation does not mention reloading the JavaScript app code, although this is a supported feature now.

This information has been included in the Developer Console documentation as part of the 2.1 release.


AppFocusedKernel requies http-kernel not foundation

Thanks!

you should have let me correct the spelling first! /me fails


ScrollTabs with tab panes?

Is it possible to have tab panes with the ScrollTabs? The only thing I've seen is just the actual tabs scrolling without any other content attached.

You mean have them actually perform some form of action? If so then absolutely yes. Under the "Usage" section on the documentation page there's the "click_callback" option to tell it what to do when a tab is clicked. http://joshreed.github.io/jQuery-ScrollTabs/documentation.html
In the below example it is used to follow a link to a different page. But you can change it to do any javascript action that you'd like. Just make sure you have an attribute on the tab DOM object itself to tell your function whatever it "needs to know" in order to perform the appropriate action.
    $('#tabSet').scrollTabs({
      scroll_distance: 350,
      scroll_duration: 350,
      left_arrow_size: 26,
      right_arrow_size: 26,
      click_callback: function(e){
        var val = $(this).attr('rel');
        if(val){
          window.location.href = val;
        }
      }
    });


Version bump not reflected in YAML

The YAML example still looks for an image tagged for version 0.10 as of
https://github.com/SolidNerd/docker-bookstack/blob/master/docker-compose.yml#L4

Thanks for the hint. Feel free to create a Pull Request for that.  Or I will fix this when I have a computer in my near.

My local development machine is currently affected by a bug concerning
Fedora 24, SELinux and Docker, why I cannot build the image with the
desired tag. I can issue a PR from within GitHub's web interface, but I
couldn't validate it's working then.
On 8 July 2016 at 19:48, Niclas Mietz<EMAIL_ADDRESS>wrote:

Thanks for the hint. Feel free to create a Pull Request for that. Or I
will fix this when I have a computer in my near.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SolidNerd/docker-bookstack/issues/3#issuecomment-231426354,
or mute the thread
https://github.com/notifications/unsubscribe/ABka_OpgcSDGJ_vcu8oPO3rB-Q5nF3iXks5qTo17gaJpZM4JIPAz
.

It's fixed with PR #4  . So I will close this now and if you have any other problems open a new issue for that. Thanks for your issue.


Plans for Tauri v2

Hi,
I noticed in the README that development of the plugin for version 2 stable of Tauri is planned. However, I wanted to ask if there are any specific timelines or plans for when this will be released.
In the meantime, is there any recommended workaround or method to utilize the functionalities of the plugin version 1 with Tauri version 2? Any guidance would be greatly appreciated.
Thank you for your work!

Hi Luca, I'm planning to add the v2 by the end of this month.
Hopefully sooner!

Hi Luca, I'm planning to add the v2 by the end of this month. Hopefully sooner!

Great! I'll be looking forward to it, thanks again for your work 😃

Hi @bagindo! Is there any progress about this?
Thank you!

Hi @lucanisi been busy. It's in the back of my mind every day. will aim for next weekend!

Absolutely, didn't mean to rush you at all! Thank you again for the support and patience

@bagindo - is this supported yet?

Hey @bagindo ,
I have created a PR which upgrades the library to v2. Was a nightmare but it works now (including the examples).
I suggest we create a new branch named v2 to support backward compatibility

@lucanisi - if you want to test this out, you can insert below in your Cargo.toml. Atleast until a v2 branch is created in this repo 👍. You can still follow the same documentation
tauri-plugin-keygen = { git = "https://github.com/Nordalf/tauri-plugin-keygen", branch = "feat/upgrade-tauri-version-2" }

@lucanisi - if you want to test this out, you can insert below in your Cargo.toml. Atleast until a v2 branch is created in this repo 👍. You can still follow the same documentation
tauri-plugin-keygen = { git = "https://github.com/Nordalf/tauri-plugin-keygen", branch = "feat/upgrade-tauri-version-2" }

I just had the chance to test it and it works like a charm! I just had to add the use your guest-js/index.ts to invoke the new version correctly! I am using it right now and everything seems to work great.
I am using a self hosted version of keygen.sh
Thank you so much for your work! I look forward to switch to the v2 branch of this repo, but I will keep using yours now 😃

@Nordalf thanks for the contribution! Will finally have time this weekend, review things, and merge it.

merged!


Added Travis CI build support.

Hi,
I feel insecure when I issue pull request to project without CI build :) . Can you add SilverWare to Travis CI?
The travis.sh script is a hack around the limit of the output the build can produce on Travis.
Cheers!

Originally, I was more in favor of using Jenkins like we do for PerfCake (https://perfcake.ci.cloudbees.com/). But this is not yet working. I am not against learning something new. Could you take care of it please? Also, note that the tests does not work completely beacause of https://github.com/px3/SilverWare/issues/16

With the build failing at CI I can try to fix it :) .

You only have to log into the Travis CI site using your github account and check the "ON" box on the project. That's all :) . I've configured the rest.


Removing the Ctrl + K labels from the search box?

Is it possible to remove the Ctrl + K labels from the search box and just leave the text "Search"? It is nice to have this shortcut available, but I think it adds visual noise and it is not something that needs to displayed on the landing page of our docs. It is helpful and sufficient for me that it is displayed in the overlay search bar once a search is made.

a custom CSS rule should make this rather simple; probably this (untested)
.search-button-field > .search-button__kbd-shortcut {
    display: none;
}

Thank you, that helped! I think it would be helpful to not show this keyboard shortcut by default in the pydata theme, and just show the word "search" instead (since I suspect this change is made to make it more discoverable than just having the icon). Particularly since the shortcut already shows up when clicking the search box. Some screenshots in this PR https://github.com/altair-viz/altair/pull/3220 of what that looks like.

I think it would be helpful to not show this keyboard shortcut by default in the pydata theme, and just show the word "search" instead

Helpful in what sense?  Is the presence of the keyboard shortcuts actually causing problems, or just doesn't align with your aesthetic preference?
Note that you also have the option of using the old "icon-only" search indicator; it will still pop up the same search overlay input box. https://pydata-sphinx-theme.readthedocs.io/en/latest/user_guide/search.html
This is done by changing conf.py to replace search-field with search-button (by default I think it's in navbar_end):
html_theme_options = {
    ...
    "navbar_end" = ["search-button.html", ...],
}

Thanks for showing how to include the icon only in the search! I didn't know that was possible.

Helpful in what sense? Is the presence of the keyboard shortcuts actually causing problems, or just doesn't align with your aesthetic preference?

Sorry for not being clearer. With "helpful" I was referring to the "helpful for the visitor's navigation experience". I believe that displaying too many objects that call for a visitor's attention when they arrive at a page can be distracting, and that it could be helpful for the navigation experience to include less attention-calling elements. While my personal aesthetic preferences would probably be to just have the icon, I believe that having the text "search" is helpful for visitors to quickly find a commonly used option on the page for the first time. This is in contrast to the keyboard shortcut which does not serve a purpose in discovering the search field for the first time and is clearly visible when the search box is used so that it can be learned for future uses. To be clear, I'm sharing what I think/believe would be helpful for someone navigating a documentation page, not something I know for certain to be true.

@trallard @gabalafou @smeragoel @12rambau any opinions here?  Is just "search" better than "search (Ctrl+k)" for the field-like button, assuming we retain the keyboard shortcut hint in the overlay input box?

The ctrl + k was initially added because nobody knew what the keyboard shortcut was. Now that it has been released it seems its prohibitive size is breaking a lot of our users' layout.
I would prefer to keep the field-like widget as a clue for users that you should click here to start a search but I am in favor of dropping the ctrl+k.

small addition to my last comment: this is in fact a mirror of docausorus behavior which is a major source of inspiration of this theme (https://shields.io/) Ion second though I simply don't know what to do.

I understand the point of visual noise, but it is a good idea to keep the text prompt visible. It is a valuable accessibility feature for users who rely on keyboard shortcuts, and especially useful for new users. If it seems too visually distracting, I can try reducing the size of the text prompt or making it less visually prominent.

My two cents:

In the short term, let's drop the Ctrl + K
Longer term, let's work on bringing it (or something equivalent) back

My reasoning:

I'm not sure that search is such an important feature that users (even keyboard-only users) absolutely need to know the shortcut to open search. I can point to several other sites that are content-centric and accessibility-aware that either do not have search or do not have a search shortcut: web.dev, a11yproject.com, webaim.org. This is not necessarily an argument against having a keyboard shortcut but it's evidence (even if weak evidence) that it's not essential.
More importantly, the search shortcut is broken, at least on my Mac, in two ways: (1) I have to use the control key instead of command and (2) I have a non-standard layout (Dvorak) that maps "K" to the key that's labeled "V" on a QWERTY layout but I actually have to press the key labeled "K" to make the shortcut which goes against standard keyboard shortcut behavior (I should be able to press whatever key is mapped to the letter "K", rather than the key that corresponds to K on a QWERTY layout).
I think there are higher priority accessibility fixes, which is why I'm in favor of coming back to this one later.

It seems we have basically 2 points of view here:

visual clutter is distracting
visual cues to interactivity are useful

I've provided a three-line CSS fix for this issue in my initial response https://github.com/pydata/pydata-sphinx-theme/issues/1499#issuecomment-1753087163 and IMO that is enough; users can hide the shortcut if they want, and I'm not seeing a compelling enough argument to hide it for everyone's sites. Yes, we could tweak size/contrast to maybe find a middle ground, but I agree with @gabalafou that this is not a high priority accessibility fix.
re: @gabalafou's dvorak problems: that is super weird, please open a separate issue about it.

https://github.com/pydata/pydata-sphinx-theme/issues/1521


get_account_transactions - URL

Current url isn't working.
I changed v2 to v1 and it worked.
Official url form the Comdirect Postman import is: {{url}}/banking/v1/accounts/{{accountUUID}}/transactions

Thanks for reporting this.
I fixed the issue, and released the new version to pypi.


Removing contributor & adding LinkedIn in README.md

Description
A DS student was removed from our team and needed to update readme
was missing LinkedIn links in the contributor section
Fixes # (issue)
removed extra card, added links in markdown
Type of change

[x] Documentation update

Checklist

[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

no code change and no need for reviewers for readme contributor updates


Update add-virtual-imports.ts

As suggested by @Fryuni in #99

No changeset, this will go with the next release as it is a tiny refactor


How to determine clicked coordinates on select event?

I've drawn a polygon, and then switched to select mode. Now I click that polygon to select it. The select event fires, but its only argument apparently is the feature ID of the polygon.
How can I find out where on the polygon the user has clicked? I'd like to open a popup anchored to that spot.
The "best" workaround I can think of is:

on select, remember the ID of the polygon and the intention to open that popup
wait for the click event to bubble up to the map (in my case, MapLibre GL JS)
in the handler for click (which knows the coordinates), check whether that "intention" to open a popup has been registered, and if so, do it now that you have both the ID and the coordinates

I was thinking about tracking the mouse movements and remembering the last pointer coordinates, but this won't work on touchscreens.

Hi @scy, thanks for raising this as it's a great question :)
I didn't actually have an immediate answer to this and had to think a little about it and try it out. There probably should be a more 'idomatic' way to make this happen and actually there may be a few solutions, such as the one you mentioned. The  'cleanest' solution I cam to was this:
// Store a popup that we can reuse
let popup: maplibregl.Popup

// Register an on click event onto the map itself
map.on('click', (event) => {
	const snapshot = draw.getSnapshot()

	// Search the snapshot for the selected polygon
	const polygon = snapshot.find((feature) => feature.properties.selected === true && feature.geometry.type === 'Polygon')

	// If there is not selected polygon, don't do anything
	if (!polygon) {
		return
	}

	// Else create or update the popup location to be the cursor position!
	if (popup) {
		popup.setLngLat([event.lngLat.lng, event.lngLat.lat])
	} else {
		popup = new maplibregl.Popup({ closeOnClick: false })
			.setLngLat([event.lngLat.lng, event.lngLat.lat])
			.setHTML('
Example Popup
')
			.addTo(map);
	}
})

Let me know if this helps answer your question?

Sorry @JamesLMilner, took me a few days to revisit this. Thanks for providing a detailed example!
I didn't know that there's actually a selected property available in the snapshot. That simplifies things indeed, and yeah, your solution works. I had to modify it slightly:
onClick(e: MapMouseEvent) {
  // Look for a selected feature.
  const selected = this.draw!.getSnapshot().find(
    (feat) => feat.properties.selected,
  );
  if (!selected) {
    // Nothing is selected right now.
    return;
  }
  // When testing, e.lngLat was always offset by a fixed number of screen
  // pixels; not sure why. Using the coordinate conversion provided by Terra
  // Draw fixes this.
  const lngLat = this.adapter!.getLngLatFromEvent(e.originalEvent);
  // … do something with `selected` and `lngLat` …
}

No idea why I have to go through the whole originalEvent and getLngLatFromEvent dance, but the coordinates in e.lngLat (i.e. the MapLibre MapMouseEvent) were always off by a constant amount of screen pixels (32 in both the x and y direction), so it behaved as if I was clicking 32 pixels more to the left and to the top than I actually did, no matter the zoom level. I don't see any fancy CSS nonsense going on in my application, but maybe I missed something.
Still, I think it would be way better if Terra Draw's select event provided me with some kind of original event that I could use to figure out the coordinates, either pixels or geo, of where the user actually clicked. I assume you're not providing this because the feature might have been selected through some other means (keyboard, programmatically, etc.), but for the cases where it makes sense, it would be super useful to have access to this.

@scy no problem, glad that the example helped. I appreciate this isn't super smooth - let me think about how we would handle this going forward. I say this as in the future we may open selecting up to alternative triggers apart from just clicking/taps (i.e. programmatically, with a keyboard, etc) and so a pointer event may not always be appropriate thing to pass through. This being said I still think we may be able to accommodate some version of this idea and can totally see why it would be helpful!
I want to add the approach I sent through to you to the documentation in the mean time so there is at least some documented way of achieving what you described as I do think it is probably a common pattern or approach that people want to do. Let me get onto that!
Any other thoughts/ideas feel free to let me know. Appreciate you trying out Terra Draw!


HTML

HTML
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I can see the four topics I learned listed along with a suggestion on what I should study first

CSS
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see a dark blue header and footer, and four boxes with a shadow


[karma-runner]: Support async functions in karma.conf.js

Is your feature request related to a problem? Please describe.
See https://github.com/karma-runner/karma/blob/master/CHANGELOG.md#630-2021-03-23
Describe the solution you'd like
We should support a user-land karma.conf.js file that returns an async function/
Describe alternatives you've considered
Additional context

Closed with #3433 to be released in StrykerJS version 6


Destroying elements (removing event listeners etc to prevent memory leaks in SPA)

Hi.
I am using SUI with Ember JS and each SUI element is being implemented as an Ember component.  However, in Ember we are creating single page applications and as a result we need to teardown jQuery-based elements once they are ready to be removed from the DOM to prevent memory leaks.
Does anyone know how this can be done in SUI?  I've found a reference to "modules" and a "destroy" function/setting but I can't get these to work.
Any help that anyone could offer would be appreciated.
Thanks.

All javascript components have a destroy method
$('.ui.dropdown').dropdown('destroy')
We also  have dedicated ember components.
https://github.com/Semantic-Org/Semantic-UI-Ember

Thanks for your help.


Update README.md

Summary
Added SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK to Usage with SLACK_WEBHOOK_URL as it was missing.
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @mrtry, thanks a lot for taking the time to send this pull request and we're sorry to hear that you were confused with the document. However, the part you modified in this PR (Technique 1) guides how to use this integration through Incoming Webhook trigger for Workflow Builder. Thus, the part is correct.
The Incoming webhooks for sending messages are mentioned as Technique 3: https://github.com/slackapi/slack-github-action#technique-3-slack-incoming-webhook
Let us close this pull request. Thanks again for using this integration!

Thanks for the review.
I did not read the text properly.
My apologies. :innocent:
The usage I changed is in the following section, so it was inappropriate.  :innocent: :pray:

Technique 1: Slack Workflow Builder

Thank you very much for your help during the holiday period. :pray:


The package 'stripe-identity-react-native' doesn't seem to be linked. Expo managed workflow

How can I get this to work with expo in a managed workflow? I'm using expo 47.0.14 with react-native 0.70.8
I get the following error when I try to run an example,
Error: The package 'stripe-identity-react-native' doesn't seem to be linked. Make sure:

- You rebuilt the app after installing the package
- You are not using Expo managed workflow
 Error: Requiring module<EMAIL_ADDRESS>which threw an exception: Error: The package 'stripe-identity-react-native' doesn't seem to be linked. Make sure:

- You rebuilt the app after installing the package
- You are not using Expo managed workflow

It shouldn't be used in a managed workflow, you should use the dev client.
The managed workflow with ExpoGo can only works with packages include inside Expo Go.

Just so I'm clear, @adscud are you saying this only works with the bare workflow with expo? Curious, what makes it all different from "@stripe/stripe-react-native" to need this?

The fault is not from the stripe package.
When you using ExpoGo, you are limited with native packages because Expo Go is shipped with defined native packages, and you can't add more.
If you want to, you have to move from the managed workflow to the bare workflow with the custom dev client.

Well I wasn't using expo go, just run using pre building then using expo run android which I guess is the managed workflow. Managed to get it working though using running react native commands. It's still not really clear how these two would behave differently especially given that they're both using the android folder created by expo prebuild

Expo support for managed workflow builds could be added by adding an expo-plugin


How to style selectRow checkbox?

How can I style selectRow checkbox? I am trying to make checkbox 50 px wide and height with a green background color.

please read docs and here is an online example


[5442] Date QTS award is met is not showing on some awarded trainees

Context
https://trello.com/c/dXYprQwW/5442-date-qts-award-is-met-is-not-showing-on-some-awarded-trainees
Changes proposed in this pull request

Display award date instead of outcome date

Important business

[ ] Does this PR introduce any PII fields that need to be overwritten or deleted in db/scripts/sanitise.sql?
[ ] Does this PR change the database schema? If so, have you updated the config/analytics.yml file and considered whether you need to send 'import_entity' events?
[ ] Do we need to send any updates to DQT as part of the work in this PR?
[ ] Does this PR need an ADR?

NB: Please notify the #twd_data_insights team and ask for a review if new fields are being added to analytics.yml

I've checked this in the deploy environment and it looks good but this is actually a tricky one to check until its in prod - that's how this issue was not identified when the original change was made. Please could this be merged, and then ping me and I'll recheck?


blog align updates

github won't show the large diff, but in your ragas notebook when defining your vector schema you have the line:
"algorithm": "HNSW",           # could use HNSW instead

should one of those 'HNSW' be 'FLAT'?

typo, 'or' instead of 'of'.
Note: ground truth answer can be created by critic LLM of with own human labeled data set.
Note: ground truth answer can be created by critic LLM or with your own human labeled data set.


add paramteters to OnBeforeCheckApplyLocationVariantFilters event ("Value Entry" record)

Hello,
New "isHandled" event was added to CheckApplyLocationVariantFilters procedure, but not all parent procedure parameters were added to this event:

is it possible to extend OnBeforeCheckApplyLocationVariantFilters with the same parameters?
Event Call:
IsHandled := false;
OnBeforeCheckApplyLocationVariantFilters(Rec, AccountingPeriod, ValueEntry, Item, CostCalcIsChanged, QtyFactor, FromDate, ToDate, IsHandled);
if IsHandled then
  exit;

Event Declaration:
[IntegrationEvent(false, false)]
local procedure OnBeforeCheckApplyLocationVariantFilters(var RecValueEntry: Record "Value Entry"; AccountingPeriod: Record "Accounting Period"; ValueEntry: Record "Value Entry"; Item: Record Item; CostCalcIsChanged: Boolean; var QtyFactor: Decimal; FromDate: Date; ToDate: Date; var IsHandled: Boolean)
begin
end;

Thank you in advance.

It would help to specify which AL object type/ID/name this is in...

@db-bc table 5802 "Value Entry"

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Get translations for website content

Issue by scouttle from Wed Jan  8 03:37:54 2014
Originally opened as https://github.com/UWNetworksLab/UProxy/issues/134

Depends on issue #133.

Farsi is done: https://github.com/uProxy/uproxy-website/pull/102

Closing as this is not a priority right now.  Also the website is (mostly) translated now


Use npmignore when publising npm packages

Hello,
I've noticed that min/tests.js is still present in npm package even if it was added to npmignore. I think the publication is made with scripts/npm_prepublish.sh. So,I've added to this file a copy of the .npmignore file.

+1

LGTM.  Staging for next release.

@nono thank you for troubleshooting this. I was a bit extra cautious when I did this publishing, because I leaked some credentials in the past.

Merged in ec8cc7ed7a003c0eda0056f1da57050d79cdf836


EVE can't boot in the default configuration given to qemu

It seems that the default configuration given to qemu lists the synthetic /config partition as the first drive. This prevents UEFI BIOS to boot EVE from the 2nd drive

Fixed on PR43.


AES encryption fails sometimes (IDFGH-5855)

Environment

Development Kit : ESP32 devkitv1
Kit version : v1
Module or chip used : ESP32-WROOM-32D
IDF version : v4.3.1-29-ge493a4c30e
Build System : idf.py
Compiler version : 8.4.0
Operating System:  Linux
Using an IDE?: Yes  (vs code extension)
Power Supply: USB

Problem Description
I am working on payload encryption and I want to encrypt the data using AES256 cbc. for that I am using the attached code snippet. I am expecting the data to be encrypted and for the most of the time it is encrypting the data properly, but sometime it fails to do so. After further analysis I found that the mbedtls_aes_crypt_cbc is not encrypting it properly. As the input data is of x bytes I am suppose to get x bytes as output as well, but this is not happening consistently. Outof 10 messages in 2 I am observing this. To minimise the failure I have added retries.

esp_err_t mqtt_payload_encryption_standalone(unsigned char *output_data, size_t *output_data_length, unsigned char *input_data, int input_data_length, unsigned char *encryption_key, unsigned char *initialization_vector)
{
    int error;
    mbedtls_aes_context aes_context;
    size_t input_data_length_remainder = (input_data_length % 16) == 0 ? 0 : 1;
    size_t input_data_length_quotient = (input_data_length / 16);
    size_t input_data_length_final = (input_data_length_quotient + input_data_length_remainder + 1) * 16;
    unsigned char initialization_vector_local[16] = {0};
    unsigned char encrypted_intermediate_data[1024] = {0};
    esp_fill_random(initialization_vector, 16);
    memcpy((char *)initialization_vector_local, (char *)initialization_vector, 16);
    mbedtls_aes_init(&aes_context);
    int retry_count = 0;
    do
    {
        error = mbedtls_aes_setkey_enc(&aes_context, encryption_key, 256);
        if (error != 0)
            return ESP_FAIL;
        memcpy((char *)initialization_vector_local, (char *)initialization_vector, 16);
        error = mbedtls_aes_crypt_cbc(&aes_context, MBEDTLS_AES_ENCRYPT, input_data_length_final, (unsigned char *)initialization_vector_local, input_data, &encrypted_intermediate_data[0]);
        retry_count++;
    } while ((input_data_length_final != strlen((char *)encrypted_intermediate_data)) && (retry_count < 5));

    if (error != 0)
        return ESP_FAIL;
    error = mbedtls_base64_encode(output_data, 512, output_data_length, &encrypted_intermediate_data[0], strlen((char *)encrypted_intermediate_data));
    if (error != 0)
        return ESP_FAIL;
    mbedtls_aes_free(&aes_context);
    if (input_data_length_final != strlen((char *)encrypted_intermediate_data))
        return ESP_FAIL;
    return ESP_OK;
}

I have tested this while WiFi STA and MQTT is turned on.

It seems like you are using strlen((char *)encrypted_intermediate_data), but encrypted_intermediate_data array may contain bytes equal to zero. strlen basically returns the number of bytes until the first zero byte. This may be either less or more than the expected length of your data. The length of the encrypted buffer should be the same as input_data_length_final. Can you try to replace strlen with the input length and try again?

Thanks, it's working.
Though I have other question about input_data_length_final, I am padding the data with the extra block. If I don't do so the data is getting truncated.


Add Changelog

Based on https://keepachangelog.com/en/1.0.0/
Add note to https://semver.org/lang/de/

Closed with #143


add optional onScrollStart prop

onScrollStart will run once if the content doesn't fit and the scrolling will start.
I added this optional prop because I needed away to get feedback on when some dynamic text was long enough to trigger the scroll, so I could change some styling elsewhere.

Thanks for this, looks like no issues so I've merged it and published in the 0.16.0 release. 👍🏻


Multiple layers of enums

Hello, I came across a possible limitation when multiple layers of enums are used.
It may be that I'm doing something wrong as well, so I'd appreciate if you could take a look into this example.
To run it:
git clone https://github.com/swfsql/druid-enums
cd druid-enums
cargo run --example login2

This is based on the login example, but I forced a situation where multiple enum layers were used:
enum AppState {
    Login(LoginState),
    Main(MainState),
}

enum MainState {
    LoggedMainState(LoggedMainState),
    UnloggedMainState(UnloggedMainState),
}

Where for the Unlogged state I refrain from labeling the username (as there would be none).
The problem is that after a login (both with or without an username), I can't click the increment button.
I think it's related to some sort of event propagation problem, but I haven't explored this area from druid..
Please let me know if I'm missing something

Thanks for the report! Apparently I somehow unwatched my repo here and did not notice this issue until today...
I found the issue and fixed it. Also, widgets are now wrapped into WidgetPod and should honor WidgetAdded from now on.


Libigl update to 2.4.0

Library name: Libigl
https://github.com/libigl/libigl
New version number: 2.4.0
Other information that may be useful (release notes, etc...)
The latest version of libigl (v2.4.0) introduces some breaking changes to its CMake build system. Please read the changelog page for instructions on how to update your project accordingly.

Duplicate of #23354


Set master branch version back to 1.8.0-SNAPSHOT

Reporter: Ryan Blue / @rdblue
Assignee: Ryan Blue / @rdblue
PRs and other links:

PR #206

Note: This issue was originally created as PARQUET-296. Please see the migration documentation for further details.

Ryan Blue / @rdblue:
Looks like we aren't going to fix master and will just release to update the version.

Ryan Blue / @rdblue:
Fixed in PR #206.


Report compilation/linking errors

It would be nice if on compilation failure the errors would be reported.
Something like this: https://stackoverflow.com/a/12755337

Yep, I'm just not sure yet how that should look like. I've created a PR. Feel free to comment on that.


WebSocket Support ?

how to ?
i want websocket

You can create a service which will mount to HTTP as middleware, then you can feed this service from PHP via API.
You can also make deeper integration when websocket events are being pushed to each worker as unique task.

Since "websocket" support is a fairly generic task, can you explain what is your specific use case? Push notifications to browser?

Ok. I do not know Go, but I am ready to start) I want to integrate Socket.io to RR and use it for 2 way communication from PHP to frontend. I have found go-socket.io example and I like it. I have found how to add service to RR. With this 2 features I can get ws events in RR service and I can push messages from PHP using Goridge.
But I do not understand how to mount to HTTP. And what did you mean when when said about workers and tasks? =)

@ValeraBot At the moment in the RR2 HTTP plugin, we don't support the Upgrade command to upgrade HTTP to Websocket..yet.

@ValeraBot Feel free to create a feature request ticket and describe use-cases, we will be glad to help you.


eslint - fix issue with how jquery is treated as a core module

fixes currently failing frontend CI
jquery is added as an importable module via the webpack externals config
eslint import plugin will not recognise these as valid imports by default
instead of ignoring jquery in various rules add it as a global importable
for the legacy code not importing jquery, add a specific override for these only
see https://github.com/import-js/eslint-plugin-import#importcore-modules

Thanks Thibaud.


Not allowed to add devices from valid account

These devices are registered with my Amazon account. It's possible I'm double signed up with GetBookDrop for this account wfzimmerman at gmail dort com, can you check?

Hmm, that's strange. Have you tried this again recently, with a fresh copy of the bookmarklet? If it's still not working, can you do me a favor and download this webpage as an HTML file and send it to me at<EMAIL_ADDRESS>Thanks!

I deregistered the device, reregistered, logged out/in to Dropbox & Amazon,
& it worked. thanks ! Great app.  need any help on the open source?
Open source:
https://github.com/fredzannarbor/pagekicker-community/wiki
iOS : https://itunes.apple.com/us/app/pagekicker/id1079882706?ls=1&mt=8
Android:
https://play.google.com/store/apps/details?id=com.pagekicker.www&hl=en
Enterprise: https://www.PageKicker.com
On Tue, Jul 26, 2016 at 8:43 PM, Stephanie Wang<EMAIL_ADDRESS>wrote:

Hmm, that's strange. Have you tried this again recently, with a fresh copy
of the bookmarklet? If it's still not working, can you do me a favor and
download this webpage as an HTML file and send it to me at
<EMAIL_ADDRESS>Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stephanie-wang/kindlebox/issues/10#issuecomment-235449238,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABHJyycTALXoL6hMIIm4OCPUlgOytCtcks5qZqnOgaJpZM4JVgXd
.

Great! Yeah, I'd like to get this into shape so that others can actually extend it themselves, but haven't had time yet. Let me know if you want to try it yourself!


add capture groups to MessageMentions

Please describe the changes this PR makes and why it should be merged:
This will make it easier to extract the ID from user and role mentions.  It will also make them consistent with channel mentions.
Semantic versioning classification:

[ ] This PR changes the library's interface (methods or parameters added)

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)

[ ] This PR only includes non-code changes, like changes to documentation, README, etc.

Might be a good idea to upgrade these regex's to only allow valid snowflakes.
For instance: /<@!?(\d{17,20})>/g


Missing "Stream size","Bit rate" on/by Opus/vp9 in webm files

Missing "Stream size","Bit rate" on/by Opus/vp9 in webm files
Format                                   : WebM
Format version                           : Version 4
File size                                : 39.3 MiB
Duration                                 : 4 min 5 s
Overall bit rate                         : 1 343 kb/s
Writing application                      : Lavf59.27.100
Writing library                          : Lavf59.27.100

Video
ID                                       : 1
Format                                   : VP9
Codec ID                                 : V_VP9
Duration                                 : 4 min 5 s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Language                                 : English
Default                                  : Yes
Forced                                   : No
Color range                              : Limited
Color primaries                          : BT.709
Transfer characteristics                 : BT.709
Matrix coefficients                      : BT.709

Audio
ID                                       : 2
Format                                   : Opus
Codec ID                                 : A_OPUS
Duration                                 : 4 min 5 s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 48.0 kHz
Bit depth                                : 32 bits
Compression mode                         : Lossy
Language                                 : English
Default                                  : Yes
Forced                                   : No

Maybe relatet bugs:
https://github.com/MediaArea/MediaInfo/issues/271
https://github.com/MediaArea/MediaInfo/issues/348
https://github.com/MediaArea/MediaInfo/issues/540
https://github.com/MediaArea/MediaInfo/issues/558

It's unfortunate that many muxers (incuding ffmpeg) don't add statistic tags to mkv/webm containers, but personally I never had any trouble using "mkvpropedit --add-track-statistics-tags" and running mediainfo again.

@gitoss I wanted to ask you, does the converter/muxer (for example ffmpeg/handbrake/mkvmuxer) need to save the average bitrate as a statistic in the file or are there other ways to find out the average bitrate of the file by calculation somehow???

Bump!
I'm struggling with this as well. It seems that nothing I can do will show me the bitrate of an Opus audio stream inside of an MKV file.
Using latest version 24.04.

It seems that nothing I can do will show me the bitrate of an Opus audio stream inside of an MKV file.

Yes, you can, see https://github.com/MediaArea/MediaInfo/issues/691#issuecomment-1503960405.

OK, I just figured something out.
The problem seems to be with yt-dlp. I'm using the command line option + argument --merge-output-format mkv. The resulting file will only show "Overall bit rate".
If I re-mux using MKVToolNix, then it shows the individual bit rates for the audio and video streams.
I created a feature request.

es the converter/muxer (for example ffmpeg/handbrake/mkvmuxer) need to save the average bitrate as a statistic in the file or are there other ways to find out the average bitrate of the file by calculation somehow???

Just a question, does the muxer or converter has to save it as a statistic to the file? Is this how it has been done always?

does the muxer or converter has to save it as a statistic to the file?

The muxer, reason MKVToolNix (which is not a converter) can do it.

Is this how it has been done always?

Yes.
But not from the origin of Matroska, Matroska itself does not store such metadata, so the developer of MKVToolNix (who is also one of the 2 main Matroska spec authors) created such Matroska tags.


Python: ShootingProblemTpl -> no set_x0() function

Hi there! I really hope that I don't open an issue that has already been adressed.
As I am proceeding with getting to know crocoddyl for my MPC project, I tried to implement a rudimentary MPC for a manipulator. I checked the docs for the ShootingProblemTpl class template reference and found the built-in function .set_x0(), but it seems like it is not implemented in the python bindings? Since python is what i am currently prototyping with, is there something I am missing? If so, could you point me in the right direction?
Thank you in advance!

Hi @ThorbenPultke!
You can also get or set the value of 'x0' in Python. This is how you do:
problem.x0 = #numpy array

I will close the issue as this answer your question.
I hope you find our software useful and helps to improve it.


prepare READMEs for beta release

Fixes #1862

Coverage remained the same at 100.0% when pulling 3f01bf99e8bda03ca7baf22762abff7dc4cf4922 on stephenplusplus:spp--1862 into ac87e1818cf4bb28bab5bf166e660e0b0f3e8d64 on GoogleCloudPlatform:master.

Coverage remained the same at 100.0% when pulling b3d1312696d939501ed2eec9c3e5d4ed197eb9d1 on stephenplusplus:spp--1862 into ac87e1818cf4bb28bab5bf166e660e0b0f3e8d64 on GoogleCloudPlatform:master.


Preload documentation - inconsistencies?

The docs shows this example for preloading nested associations:
# Returns all posts, their associated comments, and the associated
# likes for those comments.
from(p in Post,
  preload: [:comments, comments: :likes],
  select: p)

So in order to preload the :likes, it seems that we have to preload the :comments beforehand as well.
However earlier in the docs, we saw this example:
Repo.all from p in Post,
  preload: [comments: :likes]

Why in the latter snippet, we do not have to specify :comments before comments: :likes as in the snippet above?
Second point of confusion, the following snippet in the docs:
Post
|> join(:left, [p], c in assoc(p, :comments))
|> preload([p, c], [:user, comments: c])
|> select([p], p)

Why don't we join with :user before preload? I think without the join it will execute an additional query? No reason for this as we can simply join and it will generate only a single query?

So in order to preload the :likes, it seems that we have to preload the :comments beforehand as well.

Yes, this is wrong. Good catch.

Why don't we join with :user before preload? I think without the join it will execute an additional query? No reason for this as we can simply join and it will generate only a single query?

It is best to avoid using joins because joins return M x N rows, while preloads return M + N. Of course, if you have a one to one relationship, then a join is simpler, but in almost all other cases the joins are actually more expensive because the DB has to return more data, which we then need to parse and decode.

Of course, if you have a one to one relationship, then a join is simpler, but in almost all other cases the joins are actually more expensive because the DB has to return more data, which we then need to parse and decode.

I think not only one-to-one but also if I want to load the data of the belongs_to association (many-to-one), as that should return only one row, and which is much more common than a one-to-one. In that case I guess a join is cheaper.

Yes, correct!

José sorry to bring this once again up, I have been further experimenting with the :preload option, and I think I found a limitation which has not been documented.
In the snippet below from the docs, we have joined on both the :comments and :likes, so we use the bindings in the preload option:
query =
  Query.from(p in Post,
    join: c in assoc(p, :comments),
    join: l in assoc(c, :likes),
    where: l.inserted_at > c.updated_at,
    preload: [comments: {c, likes: l}]
  )

However, what if we only join on :comments and want to preload the :likes?
I tried the following:
query =
  Query.from(p in Post,
    join: c in assoc(p, :comments),
    where: c.inserted_at > p.updated_at,
    preload: [comments: {c, :likes}]
  )

You can see above I only joined on :comments, so I have a binding for :comments but not for :likes (which I then expect to be retrieved by an additional query).
But it generates something weird:

from p0 in QueryBuilder.Post,
join: c1 in assoc(p0, :comments),
where: c1.inserted_at > p0.updated_at,
preload: [comments: [:likes]],
preload: [comments: c1]

Doesn't look good?
Is there a limitation in that if I preload an association with a binding, all the nested associations must have a binding though join?
Or I wrote a wrong syntax?
Or is the query as string above correct?

This syntax is definitely correct:
query =
  Query.from(p in Post,
    join: c in assoc(p, :comments),
    where: c.inserted_at > p.updated_at,
    preload: [comments: {c, :likes}]
  )

Maybe the syntax we inspect is also correct... but if not, we have a bug on inspecting.

Ok I will test it thoroughly tomorrow with data; I think the string output looks weird though for that last case.


hi,what is your hardware for trainning

@Sheldongg Hi, sorry for the late reply. STARK is trained with 8 Tesla V100 GPUs (16GB per GPU)


Expose highlighter logic

On second thought, does exposing the logic do any good? After all you'll want to show results that matched. If highlighting logic is different than search logic, then you could end up with a table of search results without any highlights. Makes sense?
CC @eviltoylet

Well, it gets tricky. For example, if the search component is not matching case sensitivity, then the highlighter should know that it shouldn't match case sensitivity on both the query and the target to highlight. The same issue happens with the type of matching, e.g. infix, prefix, suffix. The goal is to encapsulate this without needing to pass the same data into two separate components.
I think the best thing to do is the following:

have the Search component expose a method called matches(column, value)
Return a structure of the following format which the highlighter can use to highlight all the start/end index chunks.

    matchIndexes: [
       {
           startIndex: ,
           endIndex:
       }
    ]

I see, that dependency is definitely a problem. As you stated, having a way to pipe search results with matches from Search component could be one way.
 In that case we would have to do something different. In a case of mine the search endpoint returns whole rows paginated. For highlighting to work I will have to traverse through the data anyway.
I suppose the interface you are proposing could work here. In the backend case I need to go through all rows, perform logic to generate the structure highlight would expect and pass it there.
In short highlight component would deal just with rendering. We would effectively extract the logic part out of it making things more flexible. That's good.


Combine frontend testing documentation pages

Current Situation

The frontend testing documentation is currently split between two pages, in two separate sections:
https://docs.openverse.org/frontend/guides/test.html
https://docs.openverse.org/frontend/reference/playwright_tests.html
The latter is linked by the playwright bot comment, but only the former includes instructions for actually updating the playwright test snapshots.
Suggested Improvement

We should combine these documents into a single frontend testing documentation page. Snapshots are now used on both playwright and jest tests, so it's important that these instructions are visible and easy to find for all cases of frontend testing. The division of the two is confusing anyway.

Move the testing guide into a single testing reference page
Update the playwright bot comment to link to the right section of the new page
Add redirects in the documentation configuration so old links continue to work

Benefit

Prevent confusion like https://github.com/WordPress/openverse/pull/4499#issuecomment-2176026358
Additional context
Make sure to add redirects.

Hi @sarayourfriend quick questions:

Regarding adding redirects in the documentation configuration so old links continue to work, what would be the best way to do this? Off the top of my head, this would basically be manually searching through the code base and replacing existing references with the new links. I'd like to assume there's a better way.

About Updating the playwright bot comment to link to the right section of the new page, can you also help with pointing me to the part of the codebase that houses the bot logic and also how to test changes to that locally(maybe).

Sure thing. Redirects are handled in this block of the documentation configuration: https://github.com/WordPress/openverse/blob/main/documentation/conf.py#L90-L106. It comes from this Sphinx plugin (docs link).
For actual links in the doc, you will need to update them because the Sphinx build will fail on unresolvable references within the documentation site. I don't see any that aren't part of these specific two pages anyway, so I don't think you'll need to update references within the documentation site (or other Openverse docs). Adding the redirects is sufficient for handling other references (like old bot comments).
The bot comment comes from this job in ci_cd.yml: https://github.com/WordPress/openverse/blob/main/.github/workflows/ci_cd.yml#L762-L822
Here's the specific line with the link to edit for the comment: https://github.com/WordPress/openverse/blob/main/.github/workflows/ci_cd.yml#L802
To test the bot comment (which I don't think is necessary in this case, because it's just swapping the link out), add a commit that forces the playwright tests to fail and check the comment left by the bot. Those workflows run on the branch (not on main) so you can iterate as much as you need by causing the bot to leave a comment for any given commit and see what the output is. Then remove whatever you added to force the failure before merging, of course.

Really helpful insights as always, thank you!


DOC:  We can add a doc related to healthcare

What's wrong with the existing documentation
There is no existing file related to healthcare
File to change
We can add a seperately for healthcare progress
Details of the change
Now by adding a seperate section improves the efficiency for healthcare
Type of change
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

can you add labels such as gssoc'24 and level 2


what's the default activation function of cudnnlstm in tensorflow? How can I set an activation function such as relu?

what's the default activation function of cudnnlstm in tensorflow? How can I set an activation function such as relu? Maybe it's just linear model? I read the document, but I did not find it.
for example, the code is below:
lstmcell=tf.contrib.cudnn_rnn.CudnnLSTM(1,encoder_size,direction="bidirectional")
hq,_ =lstmcell(query)
and i read the document in tensorflow https://www.tensorflow.org/api_docs/python/tf/contrib/cudnn_rnn/CudnnLSTM?hl=zh-cn the functon is below
init(
num_layers,
num_units,
input_mode=CUDNN_INPUT_LINEAR_MODE,
direction=CUDNN_RNN_UNIDIRECTION,
dropout=0.0,
seed=None,
dtype=tf.float32,
kernel_initializer=None,
bias_initializer=None,
name=None
)
And no keyword to set a parameter such as "activation = "tanh" just like tf.nn.rnn_cell.LSTMell.
So what's the default activation function of cudnnlstm in tensorflow, and how to change it to leaky_relu.

You may refer this.
These type of questions are better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there.


Fix issue with apple session cookie on safari browsers

This fixes an issue where path was being incorrectly set on the apple session cookie breaking login in safari browsers. I've checked and could login on imac / iphone / ipad.
Additionally a fix via @madprime  to correctly encode params in redirect url.
https://github.com/pennersr/django-allauth/pull/2424#issuecomment-616333211

I've tried using this and it works for me – thank you! :sparkling_heart:
I tested in staging for our site – on an iPhone with Safari, and on an Ubuntu laptop with Chrome and Firefox. (Initially had trouble, but I think it was some caching issue – it all worked once I cleared history & old cookies.)


MIG-Support README.md has a broken link to Pluggable Device Framework
Assignees: @gerashegalov
Labels:

In Section "Single MIG GPU per Container" there is a newline disassociating [] and ()

Fixed by #101


Stack Rollback

occasionally  during stack creation a stack gets stuck in the rollback complete state instead creating, currently the way to fix this is to go into the AWS cloudformation UI and manually delete the stack, then try to recreate
cc @ingalls

Fixed in: https://github.com/developmentseed/ml-enabler/pull/164


Add interface to gym envs

Now that we are able to learn contraction metrics with black-box dynamics, it becomes possible to apply contraction metrics to some gym robotics environments.
It may be easiest to start with the MuJoCo environments included in Gymnasium: https://gymnasium.farama.org/environments/mujoco/

Sorry, PR'ed to wrong repo again.


Endpoint for returning status of export tool

The idea of the endpoint is to know the status of jobs on export tool , running tasks , knowing from when it is runnig along with resources usage

Currently deployed on staging setup and testing
available here https://export-staging.hotosm.org/api/status
cc : @ramyaragupathy @dakotabenjamin


pkg_resources.DistributionNotFound: funcsigs

When I try and run flexget execute from ssh (I assume this happens from cron as well) I get the following error:
Traceback (most recent call last):
  File "/usr/local/bin/flexget", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2876, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 449, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 745, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 639, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: funcsigs

I don't know where this comes from, probably another added dependency.
Try: pip install funcsigs and if it works we could add the dependency.

Thanks for the prompt response. I did as suggested. I fsrt needed to update pip as I got the errorr: ImportError: cannot import name 'IncompleteRead' this is explained here:
http://stackoverflow.com/questions/27341064/how-do-i-fix-importerror-cannot-import-name-incompleteread
Once pip was updated, I updated funcsigs as well as:
futures
tzlocal>=1.2
babelfish>=0.5.5
rebulk>=0.7.0
functools32
MarkupSafe
plumbum
Once all are installed, the next run of flexget errors:

2016-10-28 21:49 WARNING  manager                       Your locale declares ascii as the filesystem encoding. Any plugins reading filenames from disk will not work properly for filenames containing non-ascii characters. Make sure your locale env variables are set up correctly for the environment which is launching FlexGet.
2016-10-28 21:49 CRITICAL plugin                        Plugin `flexget.plugins.daemon.web_server` failed to import dependencies
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/FlexGet-2.5.3-py2.7.egg/flexget/plugin.py", line 395, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/FlexGet-2.5.3-py2.7.egg/flexget/plugins/daemon/web_server.py", line 8, in <module>
    from flexget.api import api_app
  File "/usr/local/lib/python2.7/dist-packages/FlexGet-2.5.3-py2.7.egg/flexget/api/__init__.py", line 4, in <module>
    from .core import authentication, cached, database, plugins, server, tasks, user, format_checker
  File "/usr/local/lib/python2.7/dist-packages/FlexGet-2.5.3-py2.7.egg/flexget/api/core/authentication.py", line 7, in <module>
    from flask_login import login_user, LoginManager, current_user, current_app
ImportError: cannot import name current_app
2016-10-28 21:49 VERBOSE  manager                       Creating new database /home/osmc/.flexget/db-config.sqlite - DO NOT INTERUPT ...
2016-10-28 21:49 CRITICAL manager                       [/tasks/sort-files] The key `find` is not valid here. Only known plugin names are valid keys.
2016-10-28 21:49 CRITICAL manager                       Failed to load config file: Did not pass schema validation.
Could not start manager: Did not pass schema `validation.

Not really sure where to go from here.

Looks like you are there.
Last error I think was raised because you haven't indented properly the configuration file. Are you using exactly 4 spaces for each indentation level?

I haven't modified the config file. Spaces are all 2, 4 and 6. Any other ideas?
Appreciate your assistance.

Ah I see that 'find' was replaced with 'filesystem'
http://discuss.flexget.com/t/recipe-not-working-find-isnt-valid-in-sort-files/2183

Thanks bverc for finding out the root cause. I will fix it in the next commit.

Thanks Brendan, I have updated the config file


Probably bug in utils.py

Hello.
This line (№123)
qas.append(QA(info['qa_id'], image_map[info['image_id']], info['question'], info['answer'], qos, aos))
But there are no "qa_id" and "image_id" in info. There are "id" and "image" instead so it should be
qas.append(QA(info['id'], image_map[info['image']], info['question'], info['answer'], qos, aos))
no?
Another one problem. From tutorial. Line
qas = api.get_all_QAs(qtotal=10)
have to result in getting qas with size 10, as i believe, but it's length is 1000. I believe there are something wron in "get_all_QAs". Please check it

Seems like no body is maintaining this dataset now.


Tighten spacing in filter bar

Can you please figure out how to include the Download as CSV button without halving the fiter bar scroll up and down in on a Macbook.

I'd just like everything to be tighter without reducing font sizes.

Already works correctly.


Add reference documentation

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (5674005) 100.00% compared to head (e34d4c0) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #334   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           41        41
  Lines         1663      1663
  Branches       339       339
=========================================
  Hits          1663      1663

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Variable rename

Proposal
There is no possibility currently to change the value of the name attribute for resources like variables & datasources. This would be needed especially for variables because the "technical" name is the one we use/manipulate in the queries, so it's a kinda big limitation to not be able to change it.
NB: a decent workaround would be to able to duplicate an existing variable (issue https://github.com/perses/perses/issues/1383), so you'd provide the new name you want for it & delete the former one.

Local variables rename is now possible following https://github.com/perses/perses/issues/1652 implem. Still the need remains for project & global variables.

Lowered priority since having the rename capability available for local variables should do the trick in most cases.


Delete evicted Configuration Cache entries from the cache

Follow-up to #31086
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test ACC

I've triggered the following builds:

All ConfigCache Tests for Pull Request Feedback (Trigger) (Pull Request Feedback)

Build Scan

ConfigCache Java21 Adoptium Macos Aarch64 (Trigger) (Ready for Release)

Build Scan

ConfigCache Java21 Adoptium Windows Amd64 (Trigger) (Ready for Release)

Build Scan

The following builds have failed:

ConfigCache Java21 Adoptium Macos Aarch64 (Trigger) (Ready for Release)

Build Scan

The following builds have passed:

All ConfigCache Tests for Pull Request Feedback (Trigger) (Pull Request Feedback)

Build Scan

The following builds have failed:

ConfigCache Java21 Adoptium Windows Amd64 (Trigger) (Ready for Release)

Build Scan

WARN: Based on labels, this pull request addresses notable issue but no changes to release note found.


versioning in 1.0.3

Laravel Mix Version: 1.0.3 (npm list --depth=0)
Node Version (node -v): 8.1.2
NPM Version (npm -v):  5.0.3
OS:

Description:
When I use mix.version() after updating everything works fine but the npm run dev output doesn't show that the files are being versioned in the output. When I check mix-manifest.json they are actually versioned correctly, so not sure why the npm output is not saying it anymore.
/js/adminPanel.js  1.37 MB       0  [emitted]  [big]  /js/adminPanel
/js/app.js  1.21 MB       1  [emitted]  [big]  /js/app
/css/app.css   185 kB       1  [emitted]         /js/app
/css/adminPanel.css   352 kB       1  [emitted]  [big]  /js/app

Steps To Reproduce:
Add mix.version() and do npm run dev

Related #895

Hi there ! :)
Can I ask why the query string based versioning is now mandatory when it's well know that it can put you in trouble when using CDN ?
Is it possible to have an option choose which type of versioning we want to use ?
Keep up the good work btw ! :)

@Tchanove Why are you using CDN? With Laravel-Mix and npm packages, there are literally no reasons to use CDN now.

This was discussed before it was implemented and virtual, if not all, cdns allow for the query string. It may have to be enabled but it will work.
Per the release notes:

If using a service like Cloudflare, please ensure that you've enabled querystring-based cache-busting.

Okay okay, I think CDN can still be useful for large scale multilingual website.
But I agree that the first part of the job is the lower level optimization that Laravel-Mix provide.
I was mainly curious about what pushed the choice of query string versioning (for educational purpose).
Ty for your help and your answers ! 👍

I was mainly curious about what pushed the choice of query string versioning (for educational purpose).

It simplifies the codebase and the work Mix has to do drastically. It also makes the API easier for folks to use, for a variety of small reasons.

Browsers seems to ignore everything after ?= when deciding is a file is a new version. So this method of versioning does not help with caching issues.


Allow injection of GlobalStyle Component

Adds second parameter to withThemes to allow injection of GlobalStyle Component from styled-components v4.
Update readme.md to describe new parameter.

Can be done by adding additional decorator before withThemes
addDecorator(story => (
  <>
    {story()}
    <GlobalStyle />
  </>
))
addDecorator(withThemes(...))

Thanks for the comment!


AWS SDK Version Upgrade to v1.44.3

Hi! AWS SDK has a number of stability upgrades that'd be great to have.

Guys, I probably shouldn't still have access to this repo. Please remove me and look into tightening up the security around this.

Guys, I probably shouldn't still have access to this repo. Please remove me and look into tightening up the security around this.

Hey @NuclearError , thanks for flagging but this is a public repo under Apache licence, I think you are getting notifications because you follow the repo since when you working for Paddle 🙂

we upgraded dependencies on #37


Buffer messages

When the node comes up under bootloader, the device tree will begin to accumulate messages. Setting the buffer size to 0 is causing the process to crash when asked to begin to queue messages.

It looks like if you don't specify a buffer_size, it defaults to 10_000: https://hexdocs.pm/gen_stage/GenStage.html#c:init/1
I can't tell from the docs whether it'll wait for 10,000 events to be sent in a batch or if that's just the max size of the buffer. I just wanted to point it out, given that we initially had it set to 0 for some reason, to make sure we're still getting immediate events like we expect.

GenStage will buffer until anone is available to perform work. I want to remove GenStage in favor of direct messaging / system_registry. This is a stop gap.


HBASE-28558 Fix constructors for sub classes of Connection

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 43s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 38s
master passed

+1 :green_heart:
compile
0m 38s
master passed

+1 :green_heart:
shadedjars
5m 11s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 31s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 30s
the patch passed

+1 :green_heart:
compile
0m 38s
the patch passed

+1 :green_heart:
javac
0m 38s
the patch passed

+1 :green_heart:
shadedjars
5m 14s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 30s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 29s
hbase-client in the patch passed.

+1 :green_heart:
unit
14m 47s
hbase-mapreduce in the patch passed.

36m 47s

Subsystem
Report/Notes

Docker
ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5861/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5861

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 3f4bee2155e0 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 4230c42b40

Default Java
Temurin-1.8.0_352-b08

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5861/1/testReport/

Max. process+thread count
2845 (vs. ulimit of 30000)

modules
C: hbase-client hbase-mapreduce U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5861/1/console

versions
git=2.34.1 maven=3.8.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 38s
Docker mode activated.

-0 :warning:
yetus
0m  2s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 10s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 55s
master passed

+1 :green_heart:
compile
0m 41s
master passed

+1 :green_heart:
shadedjars
5m 13s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 34s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 49s
the patch passed

+1 :green_heart:
compile
0m 42s
the patch passed

+1 :green_heart:
javac
0m 42s
the patch passed

+1 :green_heart:
shadedjars
5m 15s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 33s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 36s
hbase-client in the patch passed.

+1 :green_heart:
unit
17m 32s
hbase-mapreduce in the patch passed.

40m 21s

Subsystem
Report/Notes

Docker
ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5861/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5861

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux fc561ff8b7bd 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 4230c42b40

Default Java
Eclipse Adoptium-11.0.17+8

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5861/1/testReport/

Max. process+thread count
3252 (vs. ulimit of 30000)

modules
C: hbase-client hbase-mapreduce U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5861/1/console

versions
git=2.34.1 maven=3.8.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 30s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
3m 34s
master passed

+1 :green_heart:
compile
0m 46s
master passed

+1 :green_heart:
shadedjars
6m 11s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 10s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 34s
the patch passed

+1 :green_heart:
compile
0m 47s
the patch passed

+1 :green_heart:
javac
0m 47s
the patch passed

+1 :green_heart:
shadedjars
6m 15s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 32s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 42s
hbase-client in the patch passed.

+1 :green_heart:
unit
15m  3s
hbase-mapreduce in the patch passed.

41m 27s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5861/1/artifact/yetus-jdk17-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5861

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux f5cacce8adf7 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 4230c42b40

Default Java
Eclipse Adoptium-17.0.10+7

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5861/1/testReport/

Max. process+thread count
2927 (vs. ulimit of 30000)

modules
C: hbase-client hbase-mapreduce U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5861/1/console

versions
git=2.34.1 maven=3.8.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Fix a broken link in README.md

Original link leads to 404 page

I will backport the PR https://github.com/ros-controls/gz_ros2_control/pull/378 made in master using mergify, closing this one.


Added install docker desktop to setup

Description for #19
I updated the setup section in the README to include Docker Desktop installation.
🖼 Demo Images
N/A
📋 Acceptance Criteria

Checked off by the PR Assignee(s)

[x] Add note about installing Docker.app in the Readme

Roles & Responsibilities
👨💻 Assignee

Initiator of this PR (be sure to set in GitHub UI)
Addresses feedback and change requests
Merges PR once approved (usually deletes branch unless develop or release)

👩💻 Reviewer

Invited to review PR by Assignee (via GitHub UI)
Is expected to complete a review and address followup

I just basically added a link to the docker website under the Set up section.  I'm not sure if you need to run docker first in order to get loki to work but if so, I can add more instructions to the 'Run' section


How to Hide IPV4 of VPS!

When I use other vps for stream, I don't want anyone know my vps real IPV4, it will show all when clicking download by Internet Download Manager ( &ip=VPS_IPV4 )

@yumedia I dont really have the idea yet try this method that I've been thinking out.
So first open your cmd then type nslookup website.com replace website.com to what site you want to lookup.
Then you will see:
Server:  UnKnown
Address:  xxxx::xxxx::xxxx::xxxxx

By that, get the mac address, then go to func.php and find the line 69 and replace &ip=$1& with the mac address you got like &ip=xxxx::xxxx::xxxx::xxxx::&
Feedbacks if it works, but I'm probably finding the solution in an automatically yet try this method.

It not working mate !


Cleanse references to ajaxuploader

Including broken urls referencing goodclouds version.

Probably reverting this - abandoning fine-uploader deps for licensing.  The plan is to just stick w/ ajaxuploader for now, maybe replace at some point w/ something else.

No longer relevant, cleansing master branch soon, actually.


commercial purposes

Can we do secondary development based on skywalking and use it for commercial purposes?
remarks：Apach version. Skywalking origin code comes from this github project.

Based on the Apache 2.0 License, it is very commercial friendly. You should

In your source codes, keep all Apache 2.0 headers. Typically, we suggest you keep all the package names still in org.apache.skywalking.
Make a clear statement on your website and product page, your product/service includes(or bases on) Apache SkyWalking
Keep Apache SkyWalking in your LICENSE(the one you provide for your customer) file.

At the product and marketing side, as long as you are clear about the above, there is no other limitation about how you change, what you change, and how you sell or provide service.

Note

remarks：Apach version. Skywalking origin code comes from this github project.

You don't need to mention GitHub, you need to mention

The product/service includes/bases on Apache SkyWalking(http://skywalking.apache.org/). The Apache Software Foundation, Apache SkyWalking, SkyWalking, Apache, the Apache feather logo, and the Apache SkyWalking project logo are either registered trademarks or trademarks of the Apache Software Foundation.

Hope this is helpful.

For header I mean this
/*
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

About the LICENSE you should include these 2, and please keep the file names and content w/o change.

https://github.com/apache/skywalking/blob/master/dist-material/release-docs/LICENSE
https://github.com/apache/skywalking/blob/master/dist-material/release-docs/NOTICE

个，并且请保留文件名和内容（无

Thanks.


Incorrect title for typescript sections

Title for typescript shows javascript

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d966f184-5f28-f746-ed60-6afedc044d47
Version Independent ID: 274ed471-e63f-47db-c9df-595e0173ea1a
Content: Use the Combo Control
Content Source: docs/extend/develop/ui-controls/comboo.md
Product: devops
GitHub Login: @elbatk
Microsoft Alias: elbatk

Ah, yes they do. They must have gotten switched over somehow when we moved docs locations! I'll get this sorted out, thanks @Liran-Dobrish !

@elbatk
The titles are still wrong


Remove unneeded router static IPs in AWS manifest template [#117196457]

https://www.pivotaltracker.com/story/show/117196457

Merged, thanks!
Al & @robdimsdale


'ElasticSearchInstanceType' must be one of AllowedValues

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v16.13.1
Amplify CLI Version
7.6.20
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Amplify Categories
api
Amplify Commands
push
Describe the bug
When trying to push API changes, I get the following error:
UPDATE_FAILED apipropswap AWS::CloudFormation::Stack Tue Feb 15 2022 20:24:26 GMT-0500 (Eastern Standard Time) Parameter 'ElasticSearchInstanceType' must be one of AllowedValues
We are setting the instance type in team-provider-info.json and haven't changed the value in over a month (t3.medium.search)
In fact, we even purchased a reserved instance for the t3.medium.search

To be clear, the changes we are trying to push have NOTHING to do with the search instance. We just added a field to a data model.
Expected behavior
Amplify allows me to deploy
Reproduction steps

try to push amplify
See error

GraphQL schema(s)

# Put schemas below this line

Log output

# Put your logs below this line

Additional information
No response

Thanks for your quick attention on this. I should mention we are unable to deploy our production app until we get resolution on this!

Anything on this? We're completely blocked on a production app.

@CodySwannGT - Can you please provide the below details?

What is the GraphQL transformer version? (amplify status prints out this information)
Which AWS region the app is deployed?

Thanks @sundersc

GraphQL transformer version: 1
us-east-1

@CodySwannGT Below are the allowed values I see in the CFN template for v1 searchable. Could you try this in Dev or new test environment? I'm trying to understand how t3.medium.search was accepted in the previous push.
't2.small.elasticsearch',
't2.medium.elasticsearch',
'c4.large.elasticsearch',
'c4.xlarge.elasticsearch',
'c4.2xlarge.elasticsearch',
'c4.4xlarge.elasticsearch',
'c4.8xlarge.elasticsearch',
'm3.medium.elasticsearch',
'm3.large.elasticsearch',
'm3.xlarge.elasticsearch',
'm3.2xlarge.elasticsearch',
'm4.large.elasticsearch',
'm4.xlarge.elasticsearch',
'm4.2xlarge.elasticsearch',
'm4.4xlarge.elasticsearch',
'm4.10xlarge.elasticsearch',
'r3.large.elasticsearch',
'r3.xlarge.elasticsearch',
'r3.2xlarge.elasticsearch',
'r3.4xlarge.elasticsearch',
'r3.8xlarge.elasticsearch',
'r4.large.elasticsearch',
'r4.xlarge.elasticsearch',
'r4.2xlarge.elasticsearch',
'r4.4xlarge.elasticsearch',
'r4.8xlarge.elasticsearch',
'r4.16xlarge.elasticsearch',
'i2.xlarge.elasticsearch',
'i2.2xlarge.elasticsearch',
'i3.large.elasticsearch',
'i3.xlarge.elasticsearch',
'i3.2xlarge.elasticsearch',
'i3.4xlarge.elasticsearch',
'i3.8xlarge.elasticsearch',
'i3.16xlarge.elasticsearch',
'r6gd.12xlarge.elasticsearch',
'ultrawarm1.xlarge.elasticsearch',
'm5.4xlarge.elasticsearch',
't3.xlarge.elasticsearch',
'm6g.xlarge.elasticsearch',
'm6g.12xlarge.elasticsearch',
't2.micro.elasticsearch',
'r6gd.16xlarge.elasticsearch',
'd2.2xlarge.elasticsearch',
't3.micro.elasticsearch',
'm5.large.elasticsearch',
'd2.4xlarge.elasticsearch',
't3.small.elasticsearch',
'c5.2xlarge.elasticsearch',
'c6g.2xlarge.elasticsearch',
'd2.8xlarge.elasticsearch',
'c5.4xlarge.elasticsearch',
't4g.medium.elasticsearch',
'c6g.4xlarge.elasticsearch',
'c6g.xlarge.elasticsearch',
'c6g.12xlarge.elasticsearch'

@CodySwannGT - yes. Those values all work in the other environments where we have never before modified the default search instance.
However, I don't believe they will work in production where we have been migrated to OpenSearch and I am weary of trying it out on production for fear of getting stuck in a bad state.

@CodySwannGT - How did you migrate your v1 searchable instance to OpenSearch? If it was done outside the CLI, then it will be replaced on the next push when CLI detects a change to API.
You can set the instance type to t3.medium.search equivalent and take a snapshot of data and restore after the push completes. Also, consider migrating to transformer v2 as this uses opensearch by default.
https://docs.amplify.aws/cli/migration/transformer-migration/#changes-that-amplify-cli-requires-you-to-manually-migrate
https://docs.aws.amazon.com/opensearch-service/latest/developerguide/managedomains-snapshots.html

@sundersc thanks for the reply - To be honest, it was a while ago we migrated the search instance to opensearch and we didn't do anything special. If I recall correctly, we went to purchase a reserved elastic search medium instance and were told it had to be opensearch, so we changed the config in amplify, deployed and then purchased the reserved instance.
Is transformer v2 production ready? I've been trying to follow along and can't tell for sure.

Are there any possible unwanted scenarios here?

This shouldn't affect the amplify push. I would recommend to try this out in a non-prod environment.

Is transformer v2 production ready?

Yes, it is. Please refer to this doc for more information on migration.
https://docs.amplify.aws/cli/migration/transformer-migration/
Regarding the instance types, we will include the new instance types to the allowed list.

@sundersc I think that's the problem. How can I get a non-prod environment in the same state that our production environment is in?

@sundersc thanks for opening this pull request! Any ETA i can pass along to the team on our end?

@sundersc is this in the latest version or is it pending a release?

Hi @CodySwannGT - This is not released yet. It should be available in the next release.

Well..... the wrong instance types were added. We're now getting this:
UPDATE_FAILED               ElasticSearchDomain                                                                AWS::Elasticsearch::Domain Wed Mar 09 2022 20:53:20 GMT-0500 (Eastern Standard Time) 1 validation error detected: Value 't3.medium.search' at 'elasticsearchClusterConfig.instanceType' failed to satisfy constraint: Member must satisfy enum value set: [r6gd.12xlarge.elasticsearch, i3.2xlarge.elasticsearch, ultrawarm1.xlarge.elasticsearch, m5.4xlarge.elasticsearch, t3.xlarge.elasticsearch, m6g.xlarge.elasticsearch, i3.4xlarge.elasticsearch, m3.large.elasticsearch, m6g.12xlarge.elasticsearch, r4.16xlarge.elasticsearch, t2.micro.elasticsearch, m4.large.elasticsearch, r6gd.16xlarge.elasticsearch, d2.2xlarge.elasticsearch, t3.micro.elasticsearch, m5.large.elasticsearch, i3.8xlarge.elasticsearch, i3.large.elasticsearch, d2.4xlarge.elasticsearch, t2.small.elasticsearch, c4.2xlarge.elasticsearch, t3.small.elasticsearch, c5.2xlarge.elasticsearch, c4.4xlarge.elasticsearch, c6g.2xlarge.elasticsearch, d2.8xlarge.elasticsearch, c5.4xlarge.elasticsearch, t4g.medium.elasticsearch, c6g.4xlarge.elasticsearch, c6g.xlarge.elasticsearch, m3.medium.elasticsearch, c6g.12xlarge.elasticsearch, c4.8xlarge.elasticsearch, c4.large.elasticsearch, c5.xlarge.elasticsearch, c5.large.elasticsearch, t4g.small.elasticsearch, c4.xlarge.elasticsearch, c5.9xlarge.elasticsearch, c6g.8xlarge.elasticsearch, c6g.large.elasticsearch, d2.xlarge.elasticsearch, ultrawarm1.medium.elasticsearch, t3.nano.elasticsearch, t3.medium.elasticsearch, m6g.2xlarge.elasticsearch, t2.medium.elasticsearch, t3.2xlarge.elasticsearch, c5.18xlarge.elasticsearch, m6g.4xlarge.elasticsearch, i3.xlarge.elasticsearch, r6gd.2xlarge.elasticsearch, i2.xlarge.elasticsearch, r3.2xlarge.elasticsearch, r4.2xlarge.elasticsearch, m5.xlarge.elasticsearch, m4.10xlarge.elasticsearch, r6gd.4xlarge.elasticsearch, r6g.2xlarge.elasticsearch, r3.4xlarge.elasticsearch, r5.2xlarge.elasticsearch, m5.12xlarge.elasticsearch, m4.xlarge.elasticsearch, m6g.8xlarge.elasticsearch, m6g.large.elasticsearch, r4.4xlarge.elasticsearch, m5.24xlarge.elasticsearch, m3.xlarge.elasticsearch, r6g.4xlarge.elasticsearch, i3.16xlarge.elasticsearch, t3.large.elasticsearch, r5.4xlarge.elasticsearch, ultrawarm1.large.elasticsearch, m3.2xlarge.elasticsearch, r6gd.8xlarge.elasticsearch, r6gd.large.elasticsearch, r6g.xlarge.elasticsearch, r3.8xlarge.elasticsearch, r3.large.elasticsearch, r5.xlarge.elasticsearch, m4.2xlarge.elasticsearch, r6g.12xlarge.elasticsearch, r4.8xlarge.elasticsearch, r4.xlarge.elasticsearch, r4.large.elasticsearch, r5.12xlarge.elasticsearch, m5.2xlarge.elasticsearch, r6gd.xlarge.elasticsearch, r6g.8xlarge.elasticsearch, r6g.large.elasticsearch, i2.2xlarge.elasticsearch, r3.xlarge.elasticsearch, r5.24xlarge.elasticsearch, r5.large.elasticsearch, m4.4xlarge.elasticsearch] (Service: AWSElasticsearch; Status Code: 400; Error Code: ValidationException; Request ID: 5100b43a-0a12-4fc7-b4fc-c06d982da58a; Proxy: null)````


Add shields for states of Mexico

Fixes #404
This does not include shields for the State of Mexico, because there are two competing abbreviations for the state (EM, MEX). Waiting on the local mapping community to come to a consensus.

Jalisco state:

Of note, there is only a single route, in the 3-digit variety, so we have no example of what the 2-digit version looks like.

Looks like there is some work still to remove network names from route relation refs:


Only use minimal features for chrono crate.

The default features for chrono include the oldtime feature,
which provides compatibility with time version 0.1.43.  But
old versions of the time are affected by RUSTSEC-2020-0071.html ,
which causes any crate built with rustsql's chrono feature to fail
a cargo-audit check.
This patch minimizes the features used from chrono to include only
the clock feature, which appears to be sufficient to get the tests
to pass.
(I don't believe that the bug in time reflects an actual
vulnerability in rusqlite, since even when chrono is using
time, it only does so in order to expose the same Duration
type.)

This is in 0.26.1, which should help anybody whose cargo audit/deny is erroring because of this.


[Bug]: [share_plus][web][iOS] ShareXFiles doesn't work after first call

Platform
iOS 15,0
Plugin
share_plus
Version
6.2.0
Flutter SDK
3.3.8
Steps to reproduce

Open Example project in Android Studio on MacOS
Add Additional run args
--web-port=80 --web-hostname=<IP_ADDRESS> --web-launch-url=http://localhost --web-renderer=canvaskit
Run
Open iOS Simulator  (for me: iPhone 11 Pro & iOS15.0)
Launch Safari in simulator and navigate to http://localhost
Press "Share XFile from Assets" button
In Share dialog choose "Save Image"
Press "Share XFile from Assets" button again - no reaction

In console you can see "Unhandled Promise Rejection".
If you wrap Share.shareXFiles in try catch, you can see exception: "NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission".
It seems like first call does not return.
Code Sample
// See Example - _onShareXFileFromAsset() or my version
//
Future<void> _share() async {
  final buffer = await rootBundle.load('assets/test.jpg');

  final data = Uint8List.view(buffer.buffer);
  try {
    final file = XFile.fromData(
      data,
      mimeType: 'image/jpeg',
      name: 'test.jpg',
      lastModified: DateTime.now(),
      length: data.length,
    );

    final result = await Share.shareXFiles([file]);

    debugPrint('${result.status}');
  } on Object catch (e) {
    debugPrint('$e');
  }
}

Logs
[Log] NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. (dart_sdk.js, line 29633)
[Error] Unhandled Promise Rejection: Error
	_throw (dart_sdk.js:20522)
	throwWithStackTrace (dart_sdk.js:20519)
	(анонимная функция) (dart_sdk.js:40848)
	_microtaskLoop (dart_sdk.js:40705)
	_startMicrotaskLoop (dart_sdk.js:40711)
	(анонимная функция) (dart_sdk.js:36447)
	promiseReactionJob

Flutter Doctor
[✓] Flutter (Channel stable, 3.3.8, on macOS 11.6 20G165 darwin-arm, locale ru-RU)
    • Flutter version 3.3.8 on channel stable at /Users/user/soft/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 52b3dc25f6 (4 days ago), 2022-11-09 12:09:26 +0800
    • Engine revision 857bd6b74c
    • Dart version 2.18.4
    • DevTools version 2.15.0

[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/user/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13A1030d
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.13+0-b1751.21-8125866)

[✓] Connected device (3 available)
    • iPhone 11 Pro (mobile) • 1103C47D-8ADC-46E9-886F-481952BE71F3 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-0 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 11.6 20G165 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 107.0.5304.110

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

Checklist before submitting a bug

[X] I Google'd a solution and I couldn't find it
[X] I searched on StackOverflow for a solution and I couldn't find it
[X] I read the README.md file of the plugin
[X] I'm using the latest version of the plugin
[X] All dependencies are up to date with flutter pub upgrade
[X] I did a flutter clean
[X] I tried running the example project

@novikov-studio have you found any solution or workaround yet
I'm also facing the same issue on the web of iOS. If you can tell me that would be really helpful for us.
@vbuberen can you tell us please if this issue is resolved or not?

@ergarvitrai, no, I moved from PWA to iOS app.