unable to build variable fonts for SansDevanagari*, SansGujarati*, SansMyanmar*

I'm unable to build the following variable fonts:
NotoSansDevanagari
NotoSansDevanagariUI
NotoSansGujarati
NotoSansGujaratiUI
NotoSansMyanmar
NotoSansMyanmarUI

fontmake: Error: In 'src/NotoSansDevanagari/NotoSansDevanagari-MM.glyphs' -> 'master_ufo/NotoSansDevanagari.designspace': Generating fonts from Designspace failed: ((81, (80, 81, 86, 84, 80, 81, 86, 84)), 'int', '[6]', 'list', '.LookupListIndex', 'Feature', '.Feature', 'FeatureRecord', '[0]', 'list', '.FeatureRecord', 'FeatureList', '.FeatureList', 'GSUB', '.table', 'table_G_S_U_B_')
fontmake: Error: In 'src/NotoSansDevanagari/NotoSansDevanagari-MM.glyphs' -> 'master_ufo/NotoSansDevanagariUI.designspace': Generating fonts from Designspace failed: ((81, (80, 81, 86, 84, 80, 81, 86, 84)), 'int', '[6]', 'list', '.LookupListIndex', 'Feature', '.Feature', 'FeatureRecord', '[0]', 'list', '.FeatureRecord', 'FeatureList', '.FeatureList', 'GSUB', '.table', 'table_G_S_U_B_')
fontmake: Error: In 'src/NotoSansGujarati/NotoSansGujarati-MM.glyphs' -> 'master_ufo/NotoSansGujarati.designspace': Generating fonts from Designspace failed: ((74, (74, 74, 72, 72, 74, 74, 72)), 'int', '[4]', 'list', '.LookupListIndex', 'Feature', '.Feature', 'FeatureRecord', '[11]', 'list', '.FeatureRecord', 'FeatureList', '.FeatureList', 'GSUB', '.table', 'table_G_S_U_B_')
fontmake: Error: In 'src/NotoSansMyanmar/NotoSansMyanmar-MM.glyphs' -> 'master_ufo/NotoSansMyanmar.designspace': Generating fonts from Designspace failed: ((20, [20, 20, 20, 20, 21, 21, 21, 21]), 'list', '.ChainSubClassRule', 'ChainSubClassSet', '[1]', 'list', '.ChainSubClassSet', 'ChainContextSubst', '[0]', 'Lookup', '[50]', 'list', '.Lookup', 'LookupList', '.LookupList', 'GSUB', '.table', 'table_G_S_U_B_')
fontmake: Error: In 'src/NotoSansMyanmarUI/NotoSansMyanmarUI-MM.glyphs' -> 'master_ufo/NotoSansMyanmarUI.designspace': Generating fonts from Designspace failed: ((20, [20, 20, 20, 20, 21, 21, 21, 21]), 'list', '.ChainSubClassRule', 'ChainSubClassSet', '[1]', 'list', '.ChainSubClassSet', 'ChainContextSubst', '[0]', 'Lookup', '[50]', 'list', '.Lookup', 'LookupList', '.LookupList', 'GSUB', '.table', 'table_G_S_U_B_')

I can't reproduce this issue. Tried to build variable fonts for NotoSansGujarati-MM. glyphs, NotoSansMyanmar-MM.glyphs and NotoSansMyanmarUI-MM. glyphs, all was ok.

@nizarsq : for these fonts one needs to use the following:
./build src/NotoSansDevanagari/NotoSansDevanagari-MM.plist
./build src/NotoSansGujarati/NotoSansGujarati-MM.plist
./build src/NotoSansMyanmar/NotoSansMyanmar-MM.plist
./build src/NotoSansMyanmarUI/NotoSansMyanmarUI.plist
is this what you used?

I didn't use plist. I think that's the reason why I'm not getting the errors you mentioned.
I'm working one another font right now. I'll wrap up and see if I can find the reason for the errors you mentioned (I noticed something with those fonts but let me check first and see if that's the reason for the errors).

@marekjez86 not sure if what I'm going to say makes any sense, but here what I'm suspecting is the issue; I'm seeing some kind of inconstancy between the list of masters in Plist and  Designspace files (in terms of masters). NotoSansGujarati.Plist not listing Thin as a master and .glyphs don't have Thin master), but Designspace is listing Thin weight and it seems throw an error because it expecting it to be there. I THINK that could be the reason but since I didn't do any actual tracing it will be just a possible reason.

This is the same issue that it has always been for years and going back to the fact that these were originally not expected to be variable fonts because there was no such thing when the project started. So the way the sources with plist are compiled requires that all GSUB and GPOS lookups match (at least the number of lookups) across masters. In these files they don't match so there's no way to build a variable font. In these examples it's the GSUB lookups that differ across masters. I'd have to look more closely to see how easy it is to update to get them in sync.

When converting these to Glyphs/FEA sources, I also made the layout interpolatable. All should be buildable as variable fonts now.


Inlinekeyboard as WebApp type

There is no inlinekeyboard webapp type. is there any update for that?

https://github.com/TelegramBots/Telegram.Bot/search?q=webapp
It's available in prerelease version. Check this out: https://www.nuget.org/packages/Telegram.Bot/18.0.0-alpha.3

I have been unchecked "include prerelease" in vs  and didn't realize that... thanks a lot.


Update tutorial link

I am a little bit confused, isn't the link already updated?

I am a little bit confused, isn't the link already updated?

Oh yeah, somehow it has shown me the old link. Sorry.


Provide 'cooldown' period configuration to mitigate aggressive scale-up

The throttle triggered scale-up is often too aggressive, due to a lag between capacity being set and actual throttle going away. It would be extremely helpful to have a cooldown period configuration that defines how long to wait after a scale-up or scale-down action before another one.

+1, especially on downscales, with the 4x per day limit.
Any cost gains im making can be wiped out pretty quickly.


Issue with sc.pl.paga_compare()

Hello everyone,
I encounter a problem with the sc.pl.paga_compare() function.  I have a very strange PAGA representation with edges that look messy. Do you have any idea about the source of the problem ?
adata = ad.AnnData(DATA, var=GG)
sc.tl.pca(adata, svd_solver='arpack')
sc.pl.pca(adata)
sc.pp.neighbors(adata, n_neighbors= 25)
sc.tl.leiden(adata)
sc.tl.paga(adata, groups='leiden')
sc.pl.paga(adata)

sc.tl.umap(adata, init_pos='paga')
sc.pl.umap(adata, groups='leiden')
sc.pl.paga_compare(adata, basis='umap')

fig1, ax1 = plt.subplots()
sc.pl.umap(adata, size=40, ax=ax1, show=False)
sc.pl.paga(adata, pos=adata.uns['paga']['pos'], show=False, node_size_scale=10,
           node_size_power=1, ax=ax1, text_kwds={'alpha':0}, threshold = 0)

thanks
Nicolas

Thanks for the report. To me, it looks like sc.pl.paga_compare is incorrectly mapping positions to clusters, which leads to a jumbled plot.
Reproducing example (from current master):
import scanpy as sc
from matplotlib import pyplot as plt

sc.settings.datasetdir = "/Users/isaac/data/"
sc.set_figure_params()
plt.rcParams["figure.facecolor"] = "white"

adata = sc.datasets.pbmc3k_processed()
sc.tl.paga(adata, groups="louvain")

# Homebrew paga_compare
with plt.rc_context({"figure.figsize": (10, 5)}):
    fig, (ax1, ax2) = plt.subplots(ncols=2)
    sc.pl.paga(adata, ax=ax2, show=False)

    sc.tl.umap(adata, init_pos="paga")  # paga pos only calculated on plotting
    sc.pl.umap(adata, color="louvain", legend_loc="on data", ax=ax1)

sc.pl.paga_compare(adata, basis="umap")

Some nodes seem to have swapped positions:

B Cells and CD14+ Monocytes
NK Cells and CD8 T Cells

When positions are recalculated (to be based on medians in the projection space) their order is in the wrong somehow.


Add go-micro flag

This PR adds support for generating Micro-specific proto bindings.
The forked micro/protobuf isn't implemented as an independent protobuf plugin, but rather is forked off the original golang/protobuf with built-in support for plugins=micro flag.

I don't think this will work if both grpc and go-micro are set

Hey thanks for getting back; from the docs it seems like multiple plugins is supported via plugins=plugin1+plugin2. I'll send the changes in a bit.

Ok sounds good. You'll also have to add everything to vendor :)
On Thu, May 4, 2017 at 7:28 PM Thinh Nguyen<EMAIL_ADDRESS>wrote:

Hey thanks for getting back; from the docs it seems like multiple plugins
is supported via plugins=plugin1+plugin2. I'll send the changes in a bit.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/peter-edge/protoeasy-go/pull/7#issuecomment-299253858,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AECGvGTrRqCLwr4gYk6J1-FThvOhXaWLks5r2gq0gaJpZM4NQoIS
.

+1 for this.  We are currently using this pull request in a custom protoeasy package (sed to the rescue...).  It will be great seeing this (with multiple plugin support) integrated into the main pedge.io tree.

I'm happy to get this in, but everything needs to be in vendor, etc etc.


css edits not picking up

I really like how you transferred the iA Writer theme to Logseq; great work! I just tried to make minor edits on font weight, as prompted by the customization section in the readme, but found that they either aren't being picked up or I'm editing the wrong file:
*:is(#main-content-container, #right-sidebar, .tippy-tooltip, .ls-card) *:is(.editor-inner .h3, .ls-block h3) {
	font-size: var(--content-h3-size, 110%);
	font-weight: var(--content-h3-font-weight, 500);
	font-style: var(--content-h3-font-style, italic);
}

It's supposed to be the mia_base.css right? Or would the mia_duo overwrite it even though it's not specifying font weight?

You don't need to edit mia_base to change the headings. You can override the variables in your custom.css file. For example,
:root {
  --content-h3-font-weight: bold;
}

makes H3 headings bold. Changing the weight to 500 has no effect for mia duo because that weight is not available for the font, so the renderer chooses the next closest (normal).
Hope that helps!

Ah, I thought the setting was more like a display option rather than accessing different font weights. Thanks


Lint JSX indentation

Currently, we don't lint JSX indentation because there were a number of problems with existing rules (discussed in yannickcr/eslint-plugin-react#540). The issue's been closed -- we should verify that all of the issues were addressed, and if so, re-enable these rules.

Fixed in #18.


Validate policy dependencies in yaml editor

for https://issues.redhat.com/browse/ACM-2148
Validates the compliance state of a dependency to make sure it is an accepted value and validates that dependencies on ConfigurationPolicies, IamPolicies, and CertificatePolicies do not have a namespace specified, since that namespace will be ignored in favor of the cluster namespace anyway. Also fixes a crash related to the editor where a deleted namespace in a dependency with the same value as the policy namespace would cause an error.

/retest

/retest

/cc @KevinFCormier /cc @jeswanke

/lgtm


Question related to compatible_convolutional_noise_shape function.

Hello, I have the question related to the compatible_convolutional_noise_shape function which is used in the dropout in the convolution layer. The problem is if I create weights as below and use it as input of the function
W1 = tf.Variable(tf.truncated_normal([3, 3, 3, 64], mean = 0.0, stddev = 0.1), name = 'W1')

The output will be  [3 1 1 64] which is not the same shape as W1 that is [3 3 3 64]. The question is why we create the noise shape that is not equal to the shape of input of the function?

Hi, the noise shape for dropout has a specific syntax. In the noise_shape parameter, 1 means "keep the dropout mask the same when this dimension changes". A value equal to the dimension at that position in the shape means "draw a new dropout mask every time this dimension changes.
In convolutional layers, your inputs typically have this shape: [batch, x, y, filter]. You could use that as your noise shape but in convolutional layers, you get better results (really, I tried and you can try too) when dropout is used consistently with the way "neurons" work in convolutional layers. When convolving the image with a filter, the same filter weights are used at every position in the image where the filter is applied. So it kind of makes sense that the same dropout mask would be used at every position too. Of course, when you move to the next image in the batch or the next filter, you draw a new dropout mask. This is called "spatial dropout" and the appropriate mask parameter for this is [batch, 1, 1, filter]
See the documentation here: https://www.tensorflow.org/api_docs/python/tf/layers/dropout


Warning when trying to debug FastAPI

Testing #22301
Following https://github.com/microsoft/vscode-docs/pull/6760/files, I created main, pressed F5 and selected FastAPI

I had v2023.18.0 installed:

Reloading seemed to have fixed it

Oh interesting, I don't think I've ever seen this error before. I think it might be a Codespaces issue given the Python extension wasn't even activated?


feat: DATE and DOUBLE support more input formats

Fixes #1396

Long values are converted into Integer for DATE fields.
Date literals are converted into epoch days (Integer) for DATE fields.
Number values are converted into Double for DOUBLE fields.

Looks great! Could you add unit test for the extra cases supported?
Date with String
Date with Long
Double with Integer

In #1397, I should not have said "the conversion is absolutely safe" for integer → double conversions since not every integer is accurately representable in IEEE 754. Should I roll back integer → double conversion logic, or will you update test cases? By the way, if JsonToProtoMessageTest#simpleJsonObjects had a float value, the current logic would fail the test as well.


es5 compilation?

Hi there, wyt is fantastic. Unfortunately, we just added it to our app and started getting reports of our app breaking in IE11. It seems like your built code is still ES6. If you don't intend to support ES5, could you add a note to your readme indicating that? Otherwise, it'd be great if it compiled down to es5.
Thanks!

Hey! Glad you like wyt!
https://github.com/maxkueng/wyt/blob/master/rollup.config.js#L24-L32
The code gets processed by Babel but it only transpiles async/await to generators and { ...objectSpread } to Object.assign.
I wrote it to work with Node.js LTS and never actually tried it in a browser :sweat_smile: .
If you know what exactly breaks in IE11 you can add the necessary Babel plugins to the config and make a pull request.
I'll be away the next two weeks but if you submit the PR within the next 30 hours I can still release it before I leave.

Great, I'll see if I have some time. I'll probably get rid of async in the process as I don't think it's necessary and it adds to the code size and requires regenerator-runtime. That cool?

It'd be great if the code would stay modern and continue to use async / await. If size is an issue I'd prefer to  remove the transform-async-to-generator plugin and support only interpreters that support it. But that would mean IE11 is out.

AFAICT async/await is only used in one place and it can be replaced by sleep(wait).then(() => wait) and probably replacing the throw with a reject. In other words, async/await is probably overkill for a small library like this, but if that's your preference it's totally fine.
In that case, I'll probably leave this for someone else to tackle as I've already adapted the library in my own codebase.


141 static and dismissible chips

Summary of the changes
Implement chip compononent. Includes static, clickable and dimissible chips. The chip can also be
filled or just have an outline, and it can be disabled. If clickable, either an  or  is
rendered depending on whether an href is provided. Includes small, default and large size variants.
Ran prettier:fix which fixed some prettier issues in other files.
Related issue
#141
Checklist

[x] I have added relevant unit and visual regression tests.
[x] I have manually accessibility tested any changes, if relevant.
[x] I have ensured any changes match the Figma component library.

Not quite ready for review again yet

Ready for review again now

I have discussed this PR with the designers and there are some changes that need to be made - so have turned it into a draft PR for now

Ready for review again now - clickable chip functionality has been removed as requested by the designers

There doesn't seem to be a pressed state color change for the dismissible variant. The Figma specs show darker colour when pressed, but it seems to just revert to the unhovered background colour

There doesn't seem to be a pressed state color change for the dismissible variant. The Figma specs show darker colour when pressed, but it seems to just revert to the unhovered background colour

I think the pressed state in the figma file was referring to when clickable chip functionality was there, i.e when the whole chip is pressed then the pressed state would change colour, as opposed to when the dismissible button was pressed. I might be wrong though, so it might be worth @DBD324 taking a look?

There doesn't seem to be a pressed state color change for the dismissible variant. The Figma specs show darker colour when pressed, but it seems to just revert to the unhovered background colour

I think the pressed state in the figma file was referring to when clickable chip functionality was there, i.e when the whole chip is pressed then the pressed state would change colour, as opposed to when the dismissible button was pressed. I might be wrong though, so it might be worth @DBD324 taking a look?

ah ok. tbh, now I've looked at other components, it does make it consistent with them

should the WHCM focus border color be on the whole chip, rather than just the button? - not sure!

could we also apply the disabled text color for disabled variants?

should the WHCM focus border color be on the whole chip, rather than just the button? - not sure!

Hmm not sure, I think because it can't be clicked, maybe it shouldn't be focusable, like the whole alert doesn't have a focus border

should the WHCM focus border color be on the whole chip, rather than just the button? - not sure!

Hmm not sure, I think because it can't be clicked, maybe it shouldn't be focusable, like the whole alert doesn't have a focus border

could we also apply the disabled text color for disabled variants?

Done :)

There doesn't seem to be a pressed state color change for the dismissible variant. The Figma specs show darker colour when pressed, but it seems to just revert to the unhovered background colour

I think the pressed state in the figma file was referring to when clickable chip functionality was there, i.e when the whole chip is pressed then the pressed state would change colour, as opposed to when the dismissible button was pressed. I might be wrong though, so it might be worth @DBD324 taking a look?

ah ok. tbh, now I've looked at other components, it does make it consistent that there is no pressed darker state

Yep we originally thought the hovered and pressed states in Figma were for clickable chips, but after speaking to @fbd399 it turns out that they actually refer to when the dismiss button is hovered on / pressed.
When I added the hover state for when the dismiss button is pressed, I didn't add the pressed state because when you click on the chip (mouse down), the focus indicator appears and the focus state should always override other states.
Because of this, I didn't think it would be necessary to set the background to being darker when pressed as it would just be overridden by the focus state so wouldn't be seen at all. If we decide in the future that the focus indicator should only appear on mouse up then we would need to revisit the pressed state on chips, but felt it wouldn't be worth implementing it just yet? Since it isn't going to be used (especially as it would be a bit more complicated than adding CSS - it will probably be the same as how the hover state is done, using a variable in state)

The size of outline and static are slightly different in WHC mode. The static is slightly bigger by 2px.

in WHCM, as you tab between the dismissible variants, they jump in size as they have a focus border applied\removed


How cam i use my own data together with the public data in one chat completion?

This issue is for a:
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

I have set up a Azure Cognitive Search on some docx files and this is running file.
The SDK is: Azure.AI.OpenAI  Version=1.0.0-beta.9 on asp.net core 8.0

Any log messages given by the failure

none

Expected/desired behavior

when i ask Questions (Chat Completion) i want to have the answers from my Data AND the public available data.
(The ShouldRestrictResultScope in the AzureCognitiveSearchChatExtensionConfiguration does not do anything.)

OS and Version?

any

Versions

Mention any other details that might be useful
the code looks like this:
var ext = new AzureCognitiveSearchChatExtensionConfiguration() {
	SearchEndpoint = new Uri(searchEndpoint),
	IndexName = searchIndexName,
	ShouldRestrictResultScope = false
};

ext.SetSearchKey(searchApiKey);

var searchOpts = new AzureChatExtensionsOptions() {
	Extensions = {
		ext
	}
};

var Options = new ChatCompletionsOptions(Deployment.Model, Msgs) {
	Temperature = Temperature,
	MaxTokens = MaxTokens,
	NucleusSamplingFactor = TopP,
	FrequencyPenalty = FrequencyPenalty,
	PresencePenalty = PresencePenalty,
	User = myUser?.UserName,
	AzureExtensionsOptions = searchOpts
};

var cl = new HttpClient() {
	Timeout = TimeSpan.FromMinutes(5)
};

var opts = new OpenAIClientOptions {
	Transport = new HttpClientTransport(cl)
};

var client = new OpenAIClient(
	new Uri(Location.URL),
	new AzureKeyCredential(Location.AccessKey),
	opts
);

var responseWithoutStream = await client.GetChatCompletionsAsync(Options, cancellationToken);
var completions = responseWithoutStream.Value;
var responseMessage = completions.Choices[0]?.Message.Content ?? "";

Hi @CSchuster,
It doesn't appear this question / issue is in the context of this sample and might get a better answer in the Azure SDK repo.
https://github.com/Azure/azure-sdk-for-net/issues
In general, the SDK will allow you to use data in the Azure Search index you configured. If you have another public data source, when you submit your prompt, you should be able to add that to your prompt as additional context.
i.e.
"""
Using this public data from data source x as additional context:

{public data}

[YOUR-QUESTION]
"""


Publish the latest stable code to a docker image

I disabled the Dockerfiles check, it is too complicated to do not have warnings tere


Deye-Sun-600 Wrong false measurement

Good day,
I am writing with the help of DeepL because my English is not so good. I have a Deye solar system with the model number SUN-600 and I have connected my inverter to Home Assistant with the following settings.

Data also appears to be evaluated and displayed. Unfortunately, my statistics under "Energy" reset themselves at zero o'clock, so that minus values arise. In addition, I see no progression in the bar chart, but always only "the last value".  I wish so much that I can see a progression, as with the consumers. How can I set this up?

Kind regards and thank you very much!

You only have to configure one source for the Energy Dashboard, and it has to be one that is always incremented and not reset on a daily basis. (see: https://github.com/StephanJoubert/home_assistant_solarman/blob/main/energy.md)
If you remove your Balkonkraftwerk Daily Production and only use Total Production everything will be fine ;)

I#m helping in german:
Ich werde in den kommenden Wochen auch den SUN600 einbinden.
 Also ein Wert, welcher täglich größer wird. Wie auch beim Stromzähler, wo der Wert auch täglich größer wird, werden die Daten dann passend angezeigt. Wenn es bei dir geklappt hast, kannst du dein Ticket hier schließen.

I was able to add the total production value to the energy dashboard. The deye inverter api is working fine.

Hi all,
what happens at your dashboard in the morning?
My dashboard shows then the initial value bcs its gone to zero in the night.
Any hint to solve that?
Thanks,
Ede


[UI] Buttons on "Submit review" popover out of viewport => review is not possible on mobile

Gitea Version
1.15.7
Description
I am not able to review / approve even simple pull requests on mobile.
Since the "Submit review" popover (with class .diff-detail-box) is positioned via position: sticky I am not able to approve pull requests on mobile anymore because the button is outside (below) the viewport).
I am not able to scroll down because the popover is emerging from the review-button.
Screenshots
This attached screen recording shows the issue:

it shows a pull request page with the files tab selected
before the recording I clicked the review button so the "Submit review" popover is already opened.
the video shows me scrolling down and up with the intend to scroll to the approve button but unable to do so.

The resolution of the viewport in the screencast is from an iPhone 5 via Brave Desktop, but I got the same issue on a real iPhone 8 with Safari.
Note:

I did not try to reproduce on https://try.gitea.io. If really necessary I can add that later.

This was fixed, the reviewbox now stays in viewport.


Fix Integration Testing Workflow

Partially addresses #9

We're limited in which outputs we can collect in the Artifacts of the workflow due to this issue: https://github.com/actions/upload-artifact/issues/93


Fix #7026 adding a new wol parameter

Description:
#6810 introduced a bug on WOL component.
This patch fixes this issue by adding a new parameter to specify the broadcast address where the magic packet should be sent. See the example below.
@goto100 could you confirm that this patch work fine for you ? (be careful, you have to change your configuration)
Related issue (if applicable): fixes #7026
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#2445
Example entry for configuration.yaml (if applicable):
switch:
  - platform: wake_on_lan
    mac_address: "00-01-02-03-04-05"
    name: myhost
    host: <IP_ADDRESS>
    broadcast_address: <IP_ADDRESS>

Checklist:

[x] Documentation added/updated in home-assistant.github.io
[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

This corrected the issue for me.

I tried it again today under 42.4 and it does not appear to work.

@mikenolet it seems merge in 0.43


Update Site Title on Index

This change is to update the site title on the index file. I discovered this when I shared a link to the values in the handbook and the preview showed "Your Site Title Here" as you can see in the screenshot below. I'm not sure what it would ideally say, but I doubt that is the generic docusarus template.
Please let me know if it should say something else.

The PR I meant to open https://github.com/dbt-labs/handbook/pull/80


Increases mobile score with bigger icons and links

SVG icons and their links are being penalised in mobile score because they are too small

@mazipan Will all those changes I proposed in all those PR, you should be able to score 100 on everything


[Snyk] Security upgrade python from 3.10.1-alpine to 3.11.0b1-alpine

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

Dockerfile

We recommend upgrading to python:3.11.0b1-alpine, as this image has only 0 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

500
Improper Encoding or Escaping of Output SNYK-ALPINE315-EXPAT-2407749
No Known Exploit

500
Exposure of Resource to Wrong Sphere SNYK-ALPINE315-EXPAT-2407753
No Known Exploit

400
Loop with Unreachable Exit Condition ('Infinite Loop') SNYK-ALPINE315-LIBRETLS-2428776
No Known Exploit

400
Loop with Unreachable Exit Condition ('Infinite Loop') SNYK-ALPINE315-OPENSSL-2426331
No Known Exploit

400
Loop with Unreachable Exit Condition ('Infinite Loop') SNYK-ALPINE315-OPENSSL-2426331
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

We do not use beta Python releases for our relatively stable Docker images.


Nested reducers.

Hi,
I want to use react-redux-form outside of the root-level reducer.
My root reducer would look this:
// reducers/index.js
import { combineReducers } from 'redux';
import formReducer from './form';

const someOtherReducer = state => state;

export default combineReducers({
  other: someOtherReducer,
  form: formReducer,
});

With the formReducer as:
// reducers/form.js
import { modelReducer, formReducer } from 'react-redux-form';

export const createUser = modelReducer('changePassword', {});
export const createUserForm = formReducer('changePassword', {});

export default combineReducers({
  createUser,
  createUserForm,
});

This doesn't seem to work. I've tried:

setting the string input to modelReducer and formReducer to 'form.changePassword'
doing the same in the views
doing the same in only one of the views or the reducer definition (both ways around)

Is this a supported pattern?

Btw everything works just fine when I put the modelReducer and formReducer calls in the root. For a large app, this doesn't seem too elegant, though.

In order for RRF to know where to read/update the model, it needs to be provided the exact path (relative to the store state) to the model, so try this:
// reducers/form.js
import { modelReducer, formReducer } from 'react-redux-form';

// this will be accessed in the state as .form.createUser
export const createUser = modelReducer('form.createUser', {});

// same model as the model reducer
export const createUserForm = formReducer('form.createUser', {});

export default combineReducers({
  createUser,
  createUserForm,
});

Let me know if the above solution works with your use case.

Nice! Thanks for the solution.


Add decimal support and test cases for arithmetic decimal function "power"

Enhance framework to honor type with arguments (e.g. decimal<38, 1>) and add support for decimal type
Added test cases for power function having decimal arguments in duckdb and snowflake dialect

@richtia kindly review

@richtia can your merge this please. I don't have wire access. Thanks

Thanks @richtia


Allow webpackChunkName to be specified when using require.context

Feature request

What is the expected behavior?
When using require.context it should be possible to specify the chunk name, same as when using magic comments with dynamic import statements.
Ie it should be possible to write (assuming a 5th argument is added to require.context for the chunk name):
require.context(
  '@/views',
  true,
  /\.async\.vue$/,
  'lazy',
  '[request]')

which should generate the same chunks as when using
import(
  /* webpackChunkName: "[request]" */
<EMAIL_ADDRESS>);

What is motivation or use case for adding/changing the behavior?
I would like to automatically generate a chunk for every page in a Vue app that meets a certain convention. Ideally the chunk name would be based on the page name.
How should this be implemented in your opinion?
A 5th argument could be added to the RequireContextDependencyParserPlugin to extract the chunk name and pass it into the RequireContextDependency options.
Are you willing to work on this yourself?
yes

that would be nice, as require.context doesnt generate any chunk

const children = context.keys().map(key => {
    const path = key
      .split('/')
      .map(str => str.replace(/\.vue/g, '').replace(/\./g, ''))
      .filter(str => str !== '');
    return {
      component: () => context(/* webpackChunkName: "[request]" */ key),
      name: `${ctxKey}-${path.join('-')}`,
      path: `${ctxKey}/` + path.join('/')
    };
  });

@DaniJG
I hope so

bump

bump this issue

bump this issue

bump this issue

bump this issue

This has been implemented since years

Where can I find the documentation or example?
Thanks!

Oh I misread this as require.ensure instead of require.context.
No this is not implemented, but it's not that difficult to add.
Send a PR. see RequireContextDependencyParserPlugin.js, add chunkName property to options argument of new RequireContextDependency.

Okay, I believe we should have control over the chunkName, just request would generate a chunk per file, I'd want to generate grouped request chunks (eg: require context a folder and the subfolder would be the chunk name)

PR implements the same features as import with comments
So now it would be possible to do
require.context(
 /* webpackMode: "lazy" */
 /* webpackChunkName: "[request]" */
  '@/views',
  true,
  /\.async\.vue$/
 )

please use import.meta.webpackContext for that https://github.com/webpack/webpack/pull/15463


#238 Custom Typeface Support

Added support for custom typefaces in Android Oreo and above.

Feel free to merge this if possible


feat: option to push down content

Fix #38

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

GitHub release
v5.1.0

Your semantic-release bot :package::rocket:


Image is not rendering and text also shrinking, error also coming

error:  cant have any children except ,  or raw string.
Images are not rendering, text is not showing properly

Hi image support has just been added. What html are you trying to render to get this error?

Hey! i'm trying to use img tags too! I just need to adjust the size of the image. They are very small when rendered. How to tryout others props to img?
Thanks! Best regards.


Tool request: Wolfram alpha

Adds loads of functionality

I would be interested in working on this and adding corresponding documentation if you are still looking to get this done

yes, it is


v1.6.0 for package rename, update to 6.0

on hold while I am changing it to two commits. The second commit will only fix indentation.


wordle:0.1.0

I am submitting

[x] a new package
[ ] an update for a package

Description: This package allows you to play Wordle games in Typst. You can use it as a showcase for real-time previews. Most of all, it's fun ;)

I have read and followed the submission guidelines and, in particular, I

[x] selected a name that isn't the most obvious or canonical name for what the package does
[x] added a typst.toml file with all required keys
[x] added a README.md with documentation for my package
[x] have chosen a license and added a LICENSE file or linked one in my README.md
[x] tested my package locally on my system and it worked
[x] excluded PDFs or README images, if any, but not the LICENSE

[x] ensured that my package is licensed such that users can use and distribute the contents of its template directory without restriction, after modifying them through normal use.

selected a name that isn't the most obvious or canonical name for what the package does

In what possible way is wordle not the most obvious name?
Also:
https://apnews.com/article/new-york-times-wordle-clones-takedown-dmca-35d32b7548f7312ea74a2065b2cd31a6

Sorry, didn't do enough research on the copyright thing. I will close this PR and delete the repository.


this.props.children is undefined

I'm trying to work through a proof of concept, converting https://github.com/kasprownik/react-forms-tutorial to use preact and preact-compat.
I've forked the project here https://github.com/ld0rman/react-forms-tutorial.
I've added:

aliases for react and react-dom
config so that preact.h is used to render JSX
replaced React.PropTypes with your standalone proptypes
removed the material-ui components because it doesn't seem to work and replaced with standard HTML

Lastly I've created a small utility to create components. (class is banned where I work :-D)
When I build and run the app the <form> is empty, it's this.props.children are undefined. I'm looking over my code but I'm not sure where I've gone wrong. Would really appreciate your expertise.

Looking into it :)

Interesting - this is actually an odd discrepancy between preact and react. React stores children as a prop, preact stores them separately. I think it's probably worth removing that discrepancy entirely.
The offending code is here:
https://github.com/developit/preact/blob/master/src/h.js#L48-L50

Wow, thanks for such a speedy reply. How is this not a problem in the preact redux example that you published? That uses react redux too right?

Good thought: preact-redux-example uses all the same libraries, but it's not relying on props.children since the redux Provider wraps an App component that renders children of its own.
I have a fix for the Preact issue locally, will push ASAP :)

Thanks so much for the explanation. Do you have a git-tips or something? I've been using open tools for a while but you are something else!

I've just released a fix for passing children as a prop in Preact itself, version is 4.8.0.  Let me know if that has your forms lib working! :)
No git-tips for me, I'm happy just having lovely people to collaborate with 🍰


Led count and new features

Hi,
First i really want to thank you for your ameliorate vesion of Bambilight who doesn't work on my Windows 10 Laptop.
I used to play with Ambibox and prismatik and i replace both with Adrilight.
I really appreciate the simpliest configuration way and many others thing present but i have a problem, not a problem but an inconsistency.
I made an installation for my laptop with 62 WS2812B LEDs and the corners are free.
I have Horizontal 19 and Vertical 12
When i set this values on your software, the amount of leds stay at 58. But you know like me that :
19 * 2 + 12 * 2 = 62 not 58.
In the beginning i thought that the software take off the 4 LEDS in the corner so i decided to put the value horizontal to 20 and vertical to 13.
When i play the RGB test vidéo, the Colors are synchronous with my disposition not offeset, nothing , even with 4 coulours + shape and x shape, despite the fact that i don't have led in the corners.
What do you think about this issue ? ( question already asked on bambilight github but still without answer )
I have 2 anothers request. I really appreciate the mouse click On/Off function present on Ambibox and prismatik Software and it will be really fantastic if you can put it on your Software.
For the second request, i don't know if you can do it, is about the interaction with Kodi.
I would like to know if Ambilight can be activated when i launch the Kodi program and stop when i close it, like Ambibox Kodi Plugin do.
If you want take a look on my Ambilight blog, in french sorry. http://ambimod.jimdo.com
Here the tutorial on your software that i made for readers. https://ambimod.jimdo.com/2017/05/02/tuto-adrilight-nouveau-logiciel-l%C3%A9ger-de-gestion-ambilight-sous-windows/
Thank you
Regards

Bonjour! Ca va? :)
That's all I am able to in french, I'm sorry! I had the same issue with the LED counting, when I was starting out and I already plan to fix it, but I only have monday evenings to work on adrilight in a normal week, so it will take some time, I am sorry.
I am using a normal 55" TV and have way more LEDs so I guess, it is much more obvious for you than for me. But other users are already asking for this and for a way, to not have LEDs at the bottom at all. All I can say for now is, that it is one of the top items on my todo list.
Your other requests are bit more special in a way, that no else asked for them until now. I can see how they can be useful and they are not that difficult to develop either so I will add them to my list and reconsider them later.
I will keep you posted.

Thank you for your quick answer. My german is more limited than your french. Thanks Google translation.
Don't worry i'm not hurry. My installation for the moment work as expected.
About the other people asking I don't like installation without led on the bottom side.
Completly the opposite i try to put the maximum amount of led ( except  the corner ones). You will not count on me to ask you this kind of request. lol
I'm very surprise that anybody else ask you about the on/off left mouse click or via the mouse contextual menu. As you said it's very useful for me and i think for everyone who use your application.
I'm glad to see that you take my asking in consideration for the 2 others requests and want to thank you again for that.
I Hope your next realease will come very soon.  ;-)
See you...

The new release is out with the new preview feature. You may have a look and let me know, if there is anything else to do!
Also the led counting is a bit easier with a calculated output in the software.
Release: https://github.com/fabsenet/adrilight/releases/tag/v2.0.3


Rally points uploading mission.

I need to upload missions with all new features like rally points. My vehicle is a vtol so I need to have rally points for long mission. Is it implemented? Or someone is thinking to implement this?

Rally points are not implemented in MAVSDK, though it could be added.
A first step would be to explain here how that's supposed to work:

What are the mavlink messages used for that (link to the MAVLink specs on mavlink.io)
Could that fit in the mission plugin, or should it go in a "RallyPoint" plugin?
How do we know if the autopilot supports rally points or not? What do we do if we cannot know or if we know it is not supported?

@JonasVautherin The rally point sequence is exactly the same as the mission protocol except that you need to specify a mission_type of MAV_MISSION_TYPE_RALLY (instead of MAV_MISSION_TYPE_MISSION) in most messages and the payload is always MAV_CMD_NAV_RALLY_POINT.
There is a protocol bit you can check for support: MAV_PROTOCOL_CAPABILITY_MISSION_RALLY.
As to where it should go, the purist in me would like a separate plugin but the pragmatist says in mission plugin.

The pragmatist reasoning is that implementation-wise everything is the same, so it is easier development and maintenance.
The purist point of view is that conceptually a rally point and a mission are different things that apply in different ways. The fact they are the infrastructure in MAVLink and QGC treats them as part of the same "plan" is an incidental association.

Ups to you.

PS Geofence is also a variation on mission protocol.

We should do some refactoring first and extract the mission protocol stuff (downloading and uploading) mission items into mavsdk and then re-use it in the mission, geofence, and rally plugin.

So do you suggest to create separate plugins?
Conceptually i understand rally points and geofence as part of a mission as they are dependent of the mission items and the concret mission so in some way they go together. It's true that missionItems are different of rallyPoints but for me all of them belongs to a mission.

Interesting take. I haven't thought about this in that way.
To me it's not necessarily connected. For instance I can fly using offboard but still require a geofence.

Yes, you  are right. Depending the vehicle usage it can be thought in a way or another. I was thinking in the way i use the drone as i want to execute fixed missions and for me a mission includes everything. Rally points, geofence, etc.
For a more generalistic use case probbly has more sense to split this and generate differents plugins though.

@julianoes You're right in that the whole conceptual linking is rubbish - geofence and rally points apply everywhere, and the references to it being part of mission planning mean that isn't obvious.
The reason they get conceptually tied together is mostly because of the plan reuse. If you have a mission where geofence and rally points make sense then you want the plan file to include them too.
I don't think that we're obliged to mix the plugins; managing that would be a higher level operation.

Seems like nobody is strongly against having a separate plugin (my understanding is that it is the preferred choice). I would vote for having a RallyPoint plugin. It also makes it consistent with the already existing Mission and Geofence plugins.
@itrigitech would you be willing to start working on that? Feel free to open a draft pull request with whatever you get, even if it is just the header files. So we can comment on the interface :blush:.

Oh, just thought about @julianoes' comment:

We should do some refactoring first and extract the mission protocol stuff

That's actually true. Now I'm wondering how we would organize that. Have an src/flightplan folder that would contain something like:
CMakeLists.txt // This builds mission, geofence and rallypoint below
common // This contains the common protocol part
geofence // This is the actual geofence plugin, with its own CMakeLists.txt creating libmavsdk_geofence.so
mission // This is the actual mission plugin, with its own CMakeLists.txt creating libmavsdk_mission.so
rallypoint // This is the actual rallypoint plugin, with its own CMakeLists.txt creating libmavsdk_rallypoint.so

What do you guys think?

Ok when i have time i will try to start, i don't have so much free time.
@JonasVautherin for mee looks good what you propose.
Talking about the planning i see the current mission plugin only uploading waypoints.
Do you know why is that? in my case i'm using MAVSDK in VTOL and i need take_off_and_transition mission item and transition_and_land. Without that i can't upload a mission.
There is any concrette reason for that? if not i will try to moddify this also to include this kind of mission items.

There is any concrette reason for that?

I believe we could add them. @julianoes an opinion on that?

@JonasVautherin The list of currently supported mission items/corresponding commands is here: https://mavsdk.mavlink.io/develop/en/guide/missions.html#supported_mission_commands
It makes sense to add new VTOL mission items if needed, but didn't we decide that vehicle-specific functionality would be dealt with in vehicle-specific plugin variants?

but didn't we decide that vehicle-specific functionality would be dealt with in vehicle-specific plugin variants?

Indeed. Though I believe that was considering dynamically-loaded plugins, which we don't have yet. Also note that it should not be too difficult to move from one to the other.

OK, Well if at all possible I think we should try to stick to our plan as close as possible :-)

Ok, so at the end what do you think?.
As I don't was in your previous discussion i don't understand exactly how you want to do this. Looking at the plugin, doesn't seem hard to add this kind of items but how do you want to do this if not? as i need it i will do it in not much time.
It's ok then to add it to the current mission plugin or not?

I would say let's add it to the current mission plugin, so that we get the MAVLink implementation already. And I will need to spend some time thinking about how to follow the plan :laughing:.
In short: yes, go ahead @itrigitech :+1:.

Is/have there been some work on this topic?
I would appreciate if it is possible to add rally point handling to mavsdk.

Isn't it just possible to use the mission_raw plugin to upload a mission of MAV_MISSION_TYPE MAV_MISSION_TYPE_RALLY and have items of MAV_CMD_NAV_RALLY_POINT in it?
Sure, not as nice as a plugin dedicated to it, but it should do the work.

I would appreciate if it is possible to add rally point handling to mavsdk.

I can see how it might make sense to add a simple API to the mission plugin to add a couple of rally points. However, I'm a bit fuzzy on how rally points really work, especially depending on the RTL_TYPE param. I always want the API of MAVSDK to be as simple and safe as possible in order to prevent users from making mistakes or having unexpected behavior, so knowing how it all works, would be my first step.
And otherwise, we always welcome pull requests.

Isn't it just possible to use the mission_raw plugin to upload a mission of MAV_MISSION_TYPE MAV_MISSION_TYPE_RALLY and have items of MAV_CMD_NAV_RALLY_POINT in it?

@Bert-Tec I think it's currently not possible to upload a rally point using the mission_raw plugin because the overall mission type is hard-coded here: https://github.com/mavlink/MAVSDK/blob/2e95299c656b06a46cc9594b71a169cb6095f985/src/plugins/mission_raw/mission_raw_impl.cpp#L139. However, we could probably lift that restriction and infer the mission type from the provided items. (Note however that all items of one upload need to be the same, as far as I know.)

@julianoes FWIW it makes perfect sense to implement the upload behaviour and it should be very easy to do - it is like mission upload with a different type set and just one "command". It makes no sense at all to try define how they are used because that is all outside spec - so the RTL_TYPE can all be ignored.

so the RTL_TYPE can all be ignored.

From a protocol view, yes. From a usability view, no. When we add rally points we need to add a description of what it is or how it works. So we need to say something like "a rally point is an emergency landing spot that will be used if/when foo happens", and is that only for fixedwing, or VTOL in fixedwing mode, or also multicopter, and does it depend on RTL_TYPE?
There needs to be a least one sane default behaviour that we can describe, and then refer to the description of RTL_TYPE for anything more complex.

I'm not saying I don't want it ever, I'm just saying that I need to either read into it and find a sane default or have someone explain that sane default with a clear use case and notes about caveats to me, best in a pull request.

That can never ever happen. The only thing you can say is:

Rally points are alternative destinations that may be used instead of the home/launch locations in safe return modes (modes like "return to launch" and "return to home"). Typically if safe points are enabled a vehicle will return to the closest defined safe point when the safe return mode is engaged. However this is entirely defined by the flight stack implementation.

That doesn't sound too bad @hamishwillee.

In that case @julianoes, you're allowed to implement rally point upload :-)

Did anyone end up implementing an easy way to upload rally points through mavsdk?  Sure would be nice to an api!

Is there any update on uploading rallypoints?

I've not heard/seen anything...

I'm sorry but this is just an open source project that I help maintain together with @JonasVautherin in my spare time. Feel free to contribute what you need. I would like to add this but I have a long list of things I'd like to do.
If you need something to be moved up on my todo list, you can always consider requesting my consulting services, just email me, and we can talk about it.

I too am interested in this feature. I hope for some updates...

That's implemented and working. Sorry for not updating this issue.


STORY: Validate multiple values for Fuel Type

Definition of Ready

[x] Does this meet the INVEST criteria?
[x] Does this have a clearly defined user?
[x] Does this have an estimate?
[x] Does this have acceptance criteria?
[x] Does this have sufficient context (wireframes, business rules, etc.)?
[x] Is this traceable to a feature, epic, or PI?

User Story
As a CAMPD user I want to enter valid filter criteria for multiple fuel types so that I can see results for multiple fuel types in one query
Acceptance Criteria
Given a user has entered one or more invalid values for fuel type
When the error message is displayed
Then the error messages contain a url to the end point to find the correct data
"One or more unit fuel types are not valid. Refer to the list of available unit fuel types for valid values [placeholder for link to endpoint] FV-2
Context
(User journeys, design mockups, architectural diagrams, business rules, data element definitions)
Send valid and invalid values
Validate the values
If ANY invalid value, give error message for each invalid value and query stops
If ALL values are valid, return results
NOTE: Need confirmation from Travis L and EPA on error message format
Data Elements
Query results will include:
STATE | FACILITY_NAME | ORISPL_CODE | UNITID | OP_DATE | OP_HOUR | OP_TIME | GLOAD (MW) | SLOAD (1000lb/hr) | SO2_MASS (lbs) | SO2_MASS_MEASURE_FLG | SO2_RATE (lbs/mmBtu) | SO2_RATE_MEASURE_FLG | NOX_RATE (lbs/mmBtu) | NOX_RATE_MEASURE_FLG | NOX_MASS (lbs) | NOX_MASS_MEASURE_FLG | CO2_MASS (tons) | CO2_MASS_MEASURE_FLG | CO2_RATE (tons/mmBtu) | CO2_RATE_MEASURE_FLG | HEAT_INPUT (mmBtu) | PRIMARY_FUEL_INFO | SECONDARY_FUEL_INFO | UNIT_TYPE_INFO | SO2_CONTROL_INFO | PART_CONTROL_INFO | NOX_CONTROL_INFO | HG_CONTROL_INFO| PRG_CODE_INFO| ASSOC_STACKS
Testing
Test Case:  TC106
Tester:  @davidkwartler
Definition of Done

[x] Have all Acceptance Criteria been agreed to and validated by the scrum team?
[x] Has the code been unit tested and peer reviewed?
[x] Have the functional tests been executed?
[x] Have all defects been reviewed and dispositioned, resolved, or deferred?
[ ] Has the user story been accepted by the Product Owner?
[x] Is the user story ready to be deployed to the staging/integration environment?

Created PR :
Implemented multi-select unit fuel type validation

Added @IsUnitFuelType validation decorator along with message to  HourlyApportionedEmissionsParamsDTO
Updated @IsUnitFuelType decorator to be case insensitive

TC106 passed @tlageman-epa


Loss of substrate on a MF term

https://github.com/pombase/website/issues/228 changes worked nicely, but might be responsible for this annotation

appearing as
involved in negative regulation of protein localization to plasma membrane
(substrate lost)

It should be identical to the term above (from a different paper)
has substrate pom1  involved in negative regulation of protein localization to plasma membrane

My "ideally by end of April milestone is unrealistic" please just read as "earliers".
These  are the ones I need for slides, screenshots, screencasts (but I can remake them at the end, I'm still in the process of refining the annotation and deciding on the examples, and what to show...so it isn't hugely urgent...)

has substrate pom1 involved in negative regulation of protein localization to plasma membrane

I'm confused - that's the annotation I see here, in the summary and details view: http://pombase2.bioinformatics.nz/gene/SPAC2F7.03c

I think I get it - Val is talking about the pom1 GO:0004674 annotation from PMID:21703453 (Hachet et al. 2011), not the one from PMID:26150232 (Hersch et al. 2015). For PMID:21703453 two extensions, 'has_substrate pom1' and 'involved in neg. reg. loc. to PM', appear on separate lines.
That's a curation issue, not a website code issue, though - Val's screenshot from the Canto session shows that the extensions are separated by a pipe. To get a single line of annotation with 'has_substrate pom1 and involved in yada' as one extension, change it to a comma or delete and re-add with the clever interface.

doh!


[APIM] apim graphqlapi resolver: Add new command group to support GraphQL resolver

Description

This PR contains code that adds GraphQLApiResolverOperations and GraphQLApiResolverPolicyOperations to the az apim command module.
Testing Guide

az apim graphqlapi resolver create -g {resourcegroup} --name  {servicename} --api-id testapi --resolver-id "newresolver" --display-name "Query-allFamilies" --path "Query/allFamilies" --description "A GraphQL Resolver example"
az apim graphqlapi resolver show -g {resourcegroup} --name {servicename} --api-id testapi --resolver-id "newresolver"
az apim graphqlapi resolver list -g {resourcegroup} --name {servicename} --api-id testapi
az apim graphqlapi resolver policy create -g {resourcegroup} --name {servicename} --api-id testapi --resolver-id "newresolver" --format xml --value-path 'C:\pathtoxml'
az apim graphqlapi resolver policy show -g {resourcegroup} --name {servicename} --api-id testapi --resolver-id "newresolver"
az apim graphqlapi resolver policy list -g {resourcegroup} --name {servicename} --api-id testapi --resolver-id "newresolver"
az apim graphqlapi resolver policy delete -g {resourcegroup} --name {servicename} --api-id testapi --resolver-id "newresolver"
az apim graphqlapi resolver delete -g {resourcegroup} --name {servicename} testapi --resolver-id "newresolver"
History Notes

[APIM] apim apim graphqlapi resolver create: Add new command to create gql api resolver
[APIM] apim apim graphqlapi resolver show: Add new command to show gql api resolver
[APIM] apim apim graphqlapi resolver list: Add new command to show gql api resolver list
[APIM] apim apim graphqlapi resolver delete: Add new command to delete gql api resolver
[APIM] apim apim graphqlapi resolver policy create: Add new command to create resolver policy
[APIM] apim apim graphqlapi resolver policy show: Add new command to show resolver policy
[APIM] apim apim graphqlapi resolver policy list: Add new command to list resolver policies
[APIM] apim apim graphqlapi resolver policy delete: Add new command to delete a policy

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

APIM

Please fix CI issues first.

@Anand0046 Could you please fix these CI issues?

@Anand0046 Please note that we are launching the release for this sprint this week. Please resolve all comments by tomorrow, otherwise the release of this PR will have to be postponed to the next sprint (on 07-04)

E vcr.errors.CannotOverwriteExistingCassetteException: Can't overwrite existing cassette ('/mnt/vss/_work/1/s/src/azure-cli/azure/cli/command_modules/apim/tests/latest/recordings/test_apim_core_service.yaml') in your current record mode ('once').
No match for the request (<Request (POST) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ApiManagement/checkNameAvailability?api-version=2022-08-01>) was found.
Found 2 similar requests with 1 different matcher(s) :

1 - (<Request (POST) https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.ApiManagement/checkNameAvailability?api-version=2021-08-01>).
Matchers succeeded : ['method', 'scheme', 'host', 'port', 'path']
Matchers failed :
_custom_request_query_matcher - assertion failure :
None

This CLI issue is caused by inconsistent api-version. Please re-record this test again in live mode


Documentation: overview slide or Quick User Guide or In a Nutshell or whatevs you call it

I prepared a (what I think it's a very nice) overview of the tool: https://github.com/NCAS-CMS/NCAS-Useful-Documentation/blob/master/esmvaltool-media/Quick_User_Guide_2.pdf
Where can we include it? (there is also a .jpg version of it in that dir) :beer:

Very nice indeed! We can simply put it to our website here:
https://www.esmvaltool.org/presentations.html
@valeriupredoi as a poster it would maybe work well in a prezi-like preentation (e.g. sozi)

we should create a Downloads section of the website and put this one in there, people may just want to grab files to print them or distribute them electronically to share with colleagues. Actually, am thinking about producing a professional flyer, I have seen some really nice ones at the NCAS meeting from two weeks ago and I think we should up our game when it comes to the media we provide people with :beer:

@axel-lauer how do you think about a Downloads tab on the website where people can download such flyers/quick user reference manuals?

Such a tab sounds good. Maybe simply extending the "download" tab? Anyways, I am happy to implement this once people provide me with new material to offer for downloading.


NEW PROPERTY TCATEGORYBUTTONSS

I propose two modifications or additions to tcategorybuttons:

customization of the panel opening or closing icon
provide a margin (recess) for the buttons on the various panels compared to the left margin of the panel so that the buttons can be moved further to the right compared to the left margin


Add CircleCI config

This adds CircleCI config, this repo still needs to be added to CircleCI.
What CirlceCI does with this config:

installs esy
installs & builds reason-cli
produces npm release
installs it and tests
uploads artifacts

Artifacts can be fetched either manually from CircleCI dashboard or using this guide.

Thank you, @andreypopp


setting local language

I want setting Chinese as the  local language ,so I add the code " locale:'fr_FR' " to InternationalPhoneNumberInput(), but it does not work.why? How can I set  local language ?
InternationalPhoneNumberInput(
              onInputChanged: (PhoneNumber number) {
                account = number.parseNumber();

              locale:'zh_CN',

              ignoreBlank: true,
              autoValidate: false,
              initialValue: PhoneNumber(isoCode: 'CN'),
              textFieldController: widget.controller,
              inputBorder: OutlineInputBorder(),
              selectorType: PhoneInputSelectorType.BOTTOM_SHEET,
              inputDecoration: InputDecoration.collapsed(
                border: UnderlineInputBorder(),
                hintText: allTranslations.text('phoneNumber'),
              ),
            ),

Right now there is no translation available, The locale String field option was added for translation support.

ok thanks发自我的iPhone------------------ Original ------------------From: Ogunye Nathaniel Oluwatobiloba<EMAIL_ADDRESS>Tue,Jun 2,2020 3:12 AMTo: natintosh/intl_phone_number_input<EMAIL_ADDRESS>pipixi<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Re: [natintosh/intl_phone_number_input] setting local language  (#57)
Right now there is no translation available, The locale String field option was added for translation support.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/natintosh/intl_phone_number_input/issues/57#issuecomment-637050183",
"url": "https://github.com/natintosh/intl_phone_number_input/issues/57#issuecomment-637050183",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

Hi @Abbykitty  PR #83 and #88 solves this issue, stay tuned for an update. Thanks for your contribution

@natintosh this translates the country names but what about the "Search by country name or dial code" message?

hey @erperejildo if you found solution for this then please share.

hey @erperejildo if you found solution for this then please share.

nah, still looking

@erperejildo @aatikakhan you can provide searchBoxDecoration and customize search input


DZ-2680 Sanitize field name do not santize sub struct field (master)

The pull request https://github.com/debezium/debezium/pull/1902 was never push to the master to missing from master 1.4 and 1.5

Ah, sorry about that. Seems we missed back then that the PR wasn't for master, but for 1.3 explicitly. Usually, all our PRs go against master and from there we do some selected backports. Will apply your PRs for master and 1.4, no need for the 1.5 one at this point, as any 1.5 releases are sourced from master. Thanks!


BUG-115518 Add revised HDP3 infra/shared services blueprint

This can't be launched via the UI yet. Thought the first part of the cloud storage changes would be enough, but that wasn't the case.
Template for this: https://github.com/hortonworks/dp-demo-utils/blob/master/cumulus-poc/templates/template_infra_krb.json
Everything under https://github.com/hortonworks/dp-demo-utils/blob/master/cumulus-poc/templates/template_infra_krb.json#L87
was added manually. (Some of the properties above were manually modified, but a bug exists to track the problem there)

Abandoning in favor of https://github.com/hortonworks/cloudbreak/pull/4283


About New Instruments

Today, Genshin Impact 4.6 forward-looking live broadcast added a new Instrument, it looks like an french horn

Yes I saw, there is one issue for implementing it, which is the instrument is able to be "held down" to play long notes, the app currently has no support for that so I'll have to do a big rework to add that, it's gonna take a while

Yes I saw, there is one issue for implementing it, which is the instrument is able to be "held down" to play long notes, the app currently has no support for that so I'll have to do a big rework to add that, it's gonna take a while

That's great >v< Looking forward to the newly implemented instrument. No such implementations or attempts have been found elsewhere. How is it going with the implementation?

Right now i'm working to add translations to the app, after that is done i'll start with this

I see the mode of 'have Do Re Mi' in NOTE NAME tpye. Can you add another numerical version?
1 2 3 4 5 6 7

I see the mode of 'have Do Re Mi' in NOTE NAME tpye. Can you add another numerical version? 1 2 3 4 5 6 7

Sure, would the numbers then repeat? Like
1 2 3 4 5 6 7
1 2 3 4 5 6 7
1 2 3 4 5 6 7
Or would it incrementally continue up to 21?

Sure, the numbers repeat。

Sure, would the numbers then repeat?

Sure, the numbers repeat.、
当然重复啦，我们交流还是用中文吧。
给作者看的留言再用英语吧

Sure,the numbers repeat。
1 2 3 4 5 6 7
1 2 3 4 5 6 7
1 2 3 4 5 6 7
other request：You can add a national flag before the language for better differentiation.

Sure,the numbers repeat。 1 2 3 4 5 6 7 1 2 3 4 5 6 7 1 2 3 4 5 6 7 other request：You can add a national flag before the language for better differentiation.

Hmmm, wouldn't this layout be confusing? Is it being used by people already or is it something new?
I'll add the flag later

Sure,the numbers repeat。 1 2 3 4 5 6 7 1 2 3 4 5 6 7 1 2 3 4 5 6 7 other request：You can add a national flag before the language for better differentiation.

Hmmm, wouldn't this layout be confusing? Is it being used by people already or is it something new?
I'll add the flag later

In Chinese keyboard performance software, numbers are used as key pitch displays.
The difference between 1234567 with different pitches lies in whether there are dots above or below, and how many dots there are.

There is also a notation system from Europe, which is now called Numbered Musical Notation.
This is my YouTube channe lhttps://www.youtube.com/@NiyasanAnimeonflute
The video I uploaded is the musical score recorded using this notation method.

Ok so it would be repeating numbers + dots below, that might be a bit harder to do as I'd have to use icons for the text which is not currently supported, perhaps there is some unicode way to add dots above characters?

ok maybe something like this?
̥1̥
an issue with numbers is that a single dot appears on the top/bottom right (1̥ ), so i had to add the dot to a "space" behind it, which is not the best solution

Yeah, I think so. Btw, how about
adding translation to the "note name" drop down, e.t.c.,
and distinguishing the notes in different octaves with numbers, e.g. "C4" vs "C5", which could be easier than implementation for numbered musical notation mentioned above.

Yes i was looking for places I missed to translate and found a few, I've added them to a list, I won't be home for a few days so I'll continue the work when I come back, also @cangerjun or @ptr2019 can you please create a new issue for this music notes format?

Ready now, as @cangerjun has done.

议题已经陈旧，已经有一个同类型议题，这个议题暂时关闭


Update CI to modern nodejs versions

Right now our CI runs for 3 node versions: 8, 10, and 12.
These are pretty old nodejs versions.  v12 is EoL this April.  Furthermore we aren't testing the latest LTS versions (14, 16, 17).  My hunch is that support for 8, 10, and 12 aren't particularly useful.
I think we should just support 14, 16, 17 and reflect that in our CI.

@neurosnap
Hi there,  can I have a go at trying this, please?
Preet

@PreetSangha So sorry!  I have already started working on it.  FYI my plan is to go through all the GH issues and start triaging this repo.  I'm also going to add more cleanup GH issues like this one so keep a look out to help!

No worries @neurosnap, feel free to tag me and I'll try and help if I can.


Risk of unable to acquire a lock?

https://github.com/EagleChen/mapmutex/blob/e1a5ae258d8dfac26e70851e6098f6d34f480c06/mutex.go#L23
It seems there are risks that the loop terminates and cannot acquire the lock (where TryLock returns false).
What if we turn the loop to be an infinite loop, only return when the lock is acquired?

It's better to let the caller decide how long to wait (how many times to retry).
you can set a very large maxRetry or try to call tryLock as many times as you want (this is shown in README)


esp-wifi should be useable without depending on embedded-svc

While it's good to have implementations for embedded-svc it's slightly annoying to always require users to depend on it to use wifi

Closed via #429


is it possible to set multi processor build for Visual Studio?

I'm trying to build tesseract OCR https://github.com/tesseract-ocr/tesseract/tree/3.05 for Visual Studio (2015 or 2017)
in the .yml inside the repository I see "#generator: Visual Studio 14 2015 Win64" but not other reference to visual studio, or visual studio specific settings.
is it possible to somehow set the "/m" flag, that enables multi processor build, for MSBUILD in CPPAN or is there any other way to tell Visual Studio to use multi processor build from CPPAN?
I know that Inside visual studio you can change the multi processor setting under "Tools>options>Projects and Solutions>Build and Run" and I have already set it.

What is multiprocessor build?


chore(main): release 0.8.0

:robot: I have created a release beep boop
0.8.0 (2023-07-09)
Features

add SwimmerCost environment (#180) (f9eb341)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/rickstaa/stable-gym/releases/tag/v0.8.0 :sunflower:


Place language switcher on top of ‘fork me’

Now sometimes when you try to click the language switcher link, it won’t let you because the ‘fork me’ ribbon is partly overlapping it.

:+1:


Clone CO from Github throws Following Errors

Flutter Version 3.0.5
Dart.                  2.17.6
When downloaded the code from Github, it shows couple of Errors.
Error 1
In "lib->logic->common->retry_image.dart" loadBuffer function throws an error.

Error 2
In "lib->logic->common->wallpaper_logic.dart" unit8List shows error.

**Fix Error 2**
Hover on unit8List and import the "dart:typed_data"
Error 3
In "lib->logic->ui->common->app_backdrop.dart" clampDouble method is not recognised.

Fix Error 3

As mentioned in the readme this project needs to be run on either beta or master. Try:
flutter channel beta


Reference to SCRIPT_ID can't be located.

Instructions say to replace a value 'SCRIPT_ID' in one of the javascript files.
"Go to File -> Project Properties and copy the Script ID. Update the SCRIPT_ID variable towards the top with your copied value."
There is no SCRIPT_ID value in any of the files.

Fixec


Try Flipper

Kind (Required)

Improvement

Overview (Required)

I've never used it, but I heard it's a good library.
Probably should we use OkHttp engline?
https://github.com/DroidKaigi/conference-app-2021/blob/be4293122b884513b9aa02f088965a85832742e5/data/api/src/main/java/io/github/droidkaigi/feeder/data/ApiModule.kt#L25

Links

https://fbflipper.com/

Could I try this issue? 🙋♂

Sorry, although this issue is not assigned to me yet, I just created a proposal at #263. I'd appreciate it if it would be okay that I take this issue and you would take a look at the PR.

Sorry, We missed your first comment 🙇
Anyway, thanks for your PR! We will check it 💪


Godot crashes when reloading / unloading vmfb bytecodes

Problem statement
I tried to mess around with IREEModule and I stumble onto this bug, in which Godot crashes after I reload vmfb bytecodes after 5-7 times.
Here is a video of it crashes (somehow I got luck to reach 10+ tries):
https://user-images.githubusercontent.com/50512341/232393042-9980e65f-4659-45b4-ad27-16cf8ab423a6.mp4
Here is the godot project.
sample.zip
Setup to reproduce

Extract the zip file appended and open the project in Godot
Do go to resources folder and select new-iree-module.tres
Assign a bytecode through load_path property.
Reassign a different bytecode.
Repeat step 3-4 until godot crash

Extra information
The commit of IREE.gd: f36fc7e
Godot version: 4.0.2
Host OS: Debian
I found out that commenting out this line can avoid the crash. Moreover, if I add iree_vm_instance_retain(instance) when creating instance will also avoid the crash.

I recommend automating the reassign a different bytecode.
The goal is to have a launch that either works or crashes at some point. We can stop after a constant time.

After some discussion with the iree devs, I think we found the problem: https://github.com/openxla/iree/issues/13119
TLDR: iree did NOT copy and retain any bytecode given, it is caller's responsible. and I did not cache the bytecode.

Fixed with caching the bytecode.


FIX CheckJobHealth only checks the health of jobs in the current queue

Fixes #94

What's going on with the tests :(

I guess a regression from https://github.com/silverstripe/silverstripe-framework/commit/4e6d0b39823cb239ca21e1412b1105db5ca68039?

Someone broke 3.1 branches too. :P


feature:添加人员字段校验

Codecov Report

Merging #549 (72fa234) into v2.6.x_develop (f00ccac) will decrease coverage by 0.15%.
The diff coverage is 60.00%.

@@                Coverage Diff                 @@
##           v2.6.x_develop     #549      +/-   ##
==================================================
- Coverage           62.55%   62.39%   -0.16%
==================================================
  Files                 442      442
  Lines               27409    27438      +29
==================================================
- Hits                17146    17121      -25
- Misses              10263    10317      +54

Impacted Files
Coverage Δ

itsm/ticket/validators/field.py
39.48% <60.00%> (+1.10%)
:arrow_up:

itsm/ticket/utils.py
64.81% <0.00%> (-14.82%)
:arrow_down:

itsm/component/notify.py
56.06% <0.00%> (-10.61%)
:arrow_down:

itsm/ticket/tasks.py
28.11% <0.00%> (-2.41%)
:arrow_down:

itsm/iadmin/serializers.py
71.66% <0.00%> (-1.22%)
:arrow_down:

itsm/ticket/models/ticket.py
56.03% <0.00%> (-1.18%)
:arrow_down:

itsm/component/utils/client_backend_query.py
34.29% <0.00%> (-0.49%)
:arrow_down:

itsm/iadmin/views.py
48.71% <0.00%> (-0.42%)
:arrow_down:

itsm/iadmin/models.py
91.44% <0.00%> (-0.28%)
:arrow_down:

itsm/iadmin/contants.py
100.00% <0.00%> (ø)

... and 3 more

Continue to review full report at Codecov.

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

 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.


Inaccurate Bounding Boxes in "wildreceipt" Dataset

Describe the bug
I would like to bring to your attention an issue related to the accuracy of bounding boxes within the "wildreceipt" dataset, which is made available through the Hugging Face API. Specifically, I have identified a discrepancy between the bounding boxes generated by the dataset loading commands, namely load_dataset("Theivaprakasham/wildreceipt") and load_dataset("jinhybr/WildReceipt"), and the actual labels and corresponding bounding boxes present in the dataset.
To illustrate this divergence, I've provided two examples in the form of screenshots. These screenshots highlight the contrasting outcomes between my personal implementation of the dataloader and the implementation offered by Hugging Face:
Example 1:

Example 2:

It's important to note that my dataloader implementation is based on the same dataset files as utilized in the Hugging Face implementation. For your reference, you can access the dataset files through this link: wildreceipt dataset files.
This inconsistency in bounding box accuracy warrants investigation and rectification for maintaining the integrity of the "wildreceipt" dataset. Your attention and assistance in addressing this matter would be greatly appreciated.
Steps to reproduce the bug
import matplotlib.pyplot as plt
from datasets import load_dataset

# Define functions to convert bounding box formats
def convert_format1(box):
    x, y, w, h = box
    x2, y2 = x + w, y + h
    return [x, y, x2, y2]

def convert_format2(box):
    x1, y1, x2, y2 = box
    return [x1, y1, x2, y2]

def plot_cropped_image(image, box, title):
    cropped_image = image.crop(box)
    plt.imshow(cropped_image)
    plt.title(title)
    plt.axis('off')
    plt.savefig(title+'.png')
    plt.show()

doc_index = 1
word_index = 3
dataset = load_dataset("Theivaprakasham/wildreceipt")['train']

bbox_hugging_face = dataset[doc_index]['bboxes'][word_index]
text_unit_face = dataset[doc_index]['words'][word_index]

common_box_hugface_1 = convert_format1(bbox_hugging_face)
common_box_hugface_2 = convert_format2(bbox_hugging_face)

plot_cropped_image(image_hugging, common_box_hugface_1,
                   f'Hugging Face Bouding boxes (x,y,w,h format) \n its associated text unit: {text_unit_face}')
plot_cropped_image(image_hugging, common_box_hugface_2,
                   f'Hugging Face Bouding boxes (x1,y1,x2, y2 format) \n its associated text unit: {text_unit_face}')

Expected behavior
The bounding boxes generated by the "wildreceipt" dataset in HuggingFace implementation loading commands should accurately match the actual labels and bounding boxes of the dataset.
Environment info

Python version: 3.8
Hugging Face datasets version: 2.14.2
Dataset file taken from this link: https://download.openmmlab.com/mmocr/data/wildreceipt.tar

Hi! Thanks for the investigation, but we are not the authors of these datasets, so please report this on the Hub instead so that the actual authors can fix it.


KubernetesGateway provider updates all gateways, ignoring gatewayclass reference

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
Two traefik-proxy instances in one namespace: one for internal LB, another for external.
One gateway in a different namespace, intended to be used for external connections:
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
  name: example
  namespace: example
spec:
  gatewayClassName: external

Expectation:

The gateway status is updated by Traefik 1 and ignored by Traefik 2

What did you see instead?
Both instances of Traefik update status of the gateway
What version of Traefik are you using?

Arguments

Traefik 1:

--providers.kubernetesgateway.statusaddress.service.namespace=traefik
--providers.kubernetesgateway.statusaddress.service.name=external
--providers.kubernetesgateway.labelselector=traefik-lb-type=external

Traefik 2:

--providers.kubernetesgateway.statusaddress.service.namespace=traefik
--providers.kubernetesgateway.statusaddress.service.name=internal
--providers.kubernetesgateway.labelselector=traefik-lb-type=internal

GatewayClasses

Traefik 1:

apiVersion: gateway.networking.k8s.io/v1
kind: GatewayClass
metadata:
  labels:
    traefik-lb-type: external
  name: external
spec:
  controllerName: traefik.io/gateway-controller

Traefik 2:

apiVersion: gateway.networking.k8s.io/v1
kind: GatewayClass
metadata:
  labels:
    traefik-lb-type: internal
  name: internal
spec:
  controllerName: traefik.io/gateway-controller

If applicable, please paste the log output in DEBUG level
No response

We have something very similar. In our situation, we have two Traefik instances running in different namespaces that should manage their own gateways, such as internal and external.
To achieve this, we were considering using labelSelector in each instance to separate which instance manages which gatewayClass and dependent resources.
In reality, what occurs is that the Traefik controllers attempt to update both gateways.

Hello @Gitopolis @guntiskarulis,
Thanks for reporting this!
We opened https://github.com/traefik/traefik/pull/11169 which should fix this issue.


chore(headless): applying abortable fetch shim for quantic headless bundle

SFINT-5481
This PR aims to fix the issue that was occurring in Salesforce when LWS is disabled, this issue occurred because of the absence of the AbortController.
In order to fix this, we are building a specific headless bundle made only for the Quantic library.
In this bundle that will only be used inside Salesforce, we are injecting some ponyfills that are providing the features that are normally provided by the AbortController.
These ponyfills that are injected using ESbuild, will allow the headless code to run properly by executing abortable fetch calls even when the Abort Controller web API is not available inside Salesforce.
https://github.com/coveo/ui-kit/assets/86681870/06d6e2b5-116b-4071-8c4c-cf7304509ac7

Looks good, if you can @mmitiche could you please add a demo here of a quantic version with this "patched" headless code that works inside the package and the hosted insight panel?
This is the situation I am most sure we'll have the issue, if you disable the "use LWS" it also affects the console in salesforce, and the community always had it's own "weird" version of locker version the version running in the Salesforce console.

Sure yeah! I will try that.

@erocheleau  I was able to confirm that this new bundle works correctly in the Salesforce console:
Before this PR:

After this PR:

@erocheleau I was able to confirm that this new bundle works correctly in the Salesforce console:
Before this PR:

### After this PR:

Perfect! Approved!


Hash-only navigation doesn't work, i.e. URL contain #

Program stuck when i run script with URL like 'https://example.com/index.html#/ohh', which is a default hash mode vue-router. Then i debugger this source project, i got its exception stack as "Error: net::ERR_ABORTED at ...  at navigate...", and all the performance static turns into "Nan ms".
🚀 It takes 0.26 s to load `` 20 times
Run interval                    0.26 s
Total load times                20
DNS lookup time                 NaN ms
TCP connect time                NaN ms
TTFB                            NaN ms
Download time of the page       NaN ms
After DOM Ready download time   NaN ms
White screen time               NaN ms
DOM Ready time                  NaN ms
Load time                       NaN ms

Same Issue with: Hash-only navigation doesn't work #257
This works for me.
puppeteer/examples/hash_navigation

Sorry for solutions above. The fact works for me is that i specified installing puppeteer as 1.4.0 edition. Hiper default edition is 1.20.0 ( "https://registry.npmjs.org/puppeteer/-/puppeteer-1.20.0.tgz" ).
Solution for "npm install hiper -g":
cd /usr/local/lib/node_modules/hiper
npm install<EMAIL_ADDRESS>


Slack message shows as passed(green) when CircleCi job fails

When a nightly run is executed I want it to send a slack message on failure only, which does work but the message on slack is incorrect. I see the bellow on failed builds:
Slack Message

CircleCi

.yml config
nightly:
    triggers: #use the triggers key to indicate a scheduled build
      - schedule:
          cron: "0 0 * * *" # use cron syntax to set the schedule
          filters:
            branches:
              only:
                - master
    jobs:
      - cypress/run:
          no-workspace: true
          name: Run All Tests
          parallelism: 2
          group: Nightly
          command: node cypress-retries.js Nightly
          post-steps:
            - run:
                when: always
                name: Merge MochaAwesome Reports
                command: npx mochawesome-merge --reportDir cypress/reports/mocha > mochareports/report.json
            - run:
                when: always
                name: Create mochawesome html report
                command: npx marge mochareports/*.json -f report -o mochareports
            - run:
                when: on_fail
                name: Slack report
                command: npx cypress-slack-reporter --verbose
            - store_artifacts:
                path: mochareports
            - store_test_results:
                path: cypress/reports
            - store_artifacts:
                path: cypress/videos/e2e
            - store_artifacts:
                path: cypress/screenshots/e2e

Hey bud, can you pull out your report file mochareports/report.json
There must be no failures in the report file, for it to come up as passed
https://github.com/YOU54F/cypress-slack-reporter/blob/e8ae2bdbc4cfeea4b12abd7c3bbd7448f95271b4/src/slack/slack-alert.ts#L525

Hey @deane187, what was the issue in the end? Hopefully it’s resolved for you.

I needed to fix the reporting ASAP and ended up using CircleCi integration to report to slack. My apologies for not being able to continue troubleshooting.

No worries matey! Happens to the best of us. Take care!
On Tue, 16 Mar 2021 at 21:30, Deane Rousseau @.***>
wrote:

I needed to fix the reporting ASAP and ended up using CircleCi integration
to report to slack. My apologies for not being able to continue
troubleshooting.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/YOU54F/cypress-slack-reporter/issues/966#issuecomment-800618939,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEYCJ4IYZYEN6AVEFSYVIYLTD7EV7ANCNFSM4XYIDKWQ
.


Add support for sets

As part of being able to generate structs in #11, we need to support fields with set types. For example:
struct User {
  1: set<PermissionType> Permissions
}

[x] Add ability to define a field as a set, and generate a C# HashSet for the field.
[x] Generate the read and write methods for sets.
[x] Implement Equals() and GetHashCode() for structs to allow user-defined types to be used in sets based on their values.
[x] Add an error for no set element type being specified.
[x] Refactor shared code between lists and sets.

Closing since set support has now been completed.


/system/resource/print: Kilobytes or bytes?

Commit 460236c781ec5e719537598be7ef2d858166c8e3 adds multipliers to reported values.
But my router reports these fields as bytes, not kilo-bytes:
# ./ros <IP_ADDRESS> '/system/resource/print'
Password for user admin:
Status: re
  Param 0: uptime = 4d14m25s
  Param 1: version = 6.38.5 (stable)
  Param 2: build-time = Mar/09/2017 11:32:49
  Param 3: free-memory = 105840640
  Param 4: total-memory = 134217728
  Param 5: cpu = MIPS 74Kc V4.12
  Param 6: cpu-count = 1
  Param 7: cpu-frequency = 600
  Param 8: cpu-load = 3
  Param 9: free-hdd-space = 115208192
  Param 10: total-hdd-space = 134217728
  Param 11: write-sect-since-reboot = 4192
  Param 12: write-sect-total = 318165
  Param 13: bad-blocks = 0
  Param 14: architecture-name = mipsbe
  Param 15: board-name = RB2011UAS-2HnD
  Param 16: platform = MikroTik
===
Status: done
===

As result, I 'have' gigabytes of disk and memory in Collectd metrics.
Maybe there is the ways exists to determine if param is byte or kilobyte?
https://wiki.mikrotik.com/wiki/Manual:System/Resource does not specifies this, parameters are described as string.
Or maybe we have to unconditionally revert multipliers (except CPU frequency, huh).
[admin@MikroTik] > system resource print
                   uptime: 4d28m42s
                  version: 6.38.5 (stable)
               build-time: Mar/09/2017 11:32:49
              free-memory: 100.3MiB
             total-memory: 128.0MiB
                      cpu: MIPS 74Kc V4.12
                cpu-count: 1
            cpu-frequency: 600MHz
                 cpu-load: 0%
           free-hdd-space: 109.9MiB
          total-hdd-space: 128.0MiB
  write-sect-since-reboot: 4198
         write-sect-total: 318171
               bad-blocks: 0%
        architecture-name: mipsbe
               board-name: RB2011UAS-2HnD
                 platform: MikroTik

+1 for this.
I also have this values in bytes, checked on two devices:
Status: re
  Param 0: uptime = 1w4d1h14m42s
  Param 1: version = 6.42.3 (stable)
  Param 2: build-time = May/24/2018 09:20:22
  Param 3: factory-software = 6.35.3
  Param 4: free-memory =<PHONE_NUMBER>
  Param 5: total-memory =<PHONE_NUMBER>
  Param 6: cpu = ARMv7
  Param 7: cpu-count = 2
  Param 8: cpu-frequency = 1400
  Param 9: cpu-load = 6
  Param 10: free-hdd-space = 96075776
  Param 11: total-hdd-space = 134479872
  Param 12: architecture-name = arm
  Param 13: board-name = RB3011UiAS
  Param 14: platform = MikroTik
===
Status: done
===
             uptime: 1w4d1h16m55s
            version: 6.42.3 (stable)
         build-time: May/24/2018 09:20:22
   factory-software: 6.35.3
        free-memory: 984.9MiB
       total-memory: 1010.8MiB
                cpu: ARMv7
          cpu-count: 2
      cpu-frequency: 1400MHz
           cpu-load: 1%
     free-hdd-space: 91.6MiB
    total-hdd-space: 128.3MiB
  architecture-name: arm
         board-name: RB3011UiAS
           platform: MikroTik

Status: re
  Param 0: uptime = 12h36m16s
  Param 1: version = 6.43rc42 (testing)
  Param 2: build-time = Jul/04/2018 15:07:16
  Param 3: factory-software = 6.40.5
  Param 4: free-memory = 212639744
  Param 5: total-memory = 251658240
  Param 6: cpu = ARMv7
  Param 7: cpu-count = 4
  Param 8: cpu-frequency = 716
  Param 9: cpu-load = 0
  Param 10: free-hdd-space = 3670016
  Param 11: total-hdd-space = 15990784
  Param 12: write-sect-since-reboot = 1168
  Param 13: write-sect-total = 25650
  Param 14: bad-blocks = 0
  Param 15: architecture-name = arm
  Param 16: board-name = hAP ac^2
  Param 17: platform = MikroTik
===
Status: done
===
                   uptime: 12h37m43s
                  version: 6.43rc42 (testing)
               build-time: Jul/04/2018 15:07:16
         factory-software: 6.40.5
              free-memory: 202.4MiB
             total-memory: 240.0MiB
                      cpu: ARMv7
                cpu-count: 4
            cpu-frequency: 716MHz
                 cpu-load: 0%
           free-hdd-space: 3584.0KiB
          total-hdd-space: 15.3MiB
  write-sect-since-reboot: 1176
         write-sect-total: 25658
               bad-blocks: 0%
        architecture-name: arm
               board-name: hAP ac^2
                 platform: MikroTik

@octo, what do you think about it?

@manio I don't currently have a way to verify this. If you need different/no multipliers, feel free to fix this. I'd recommend to mention the version of RouterOS in the commit message, so that it's discoverable why this was changed.


project: move imports from srcd.works to gopkg.in

To be able to fix #261 we will move again to gopkg.in before v4 stable release.

Merge https://github.com/src-d/go-billy/pull/15 and https://github.com/src-d/go-git-fixtures/pull/2 first.


Unify formatter history and dictation history

Currently, formatters.py keeps track of a list of formatted things, and formatters.py and dictation mode each keep track of the last phrase emitted so that it can be undone (by "nope that" or "scratch that"). This unifies all of that into one phrase history. This PR is partly in preparation for my context-sensitive dictation stuff, which uses this code. But if we decide against this PR I can rewrite the context-sensitive dictation stuff not to use it.
Advantages:

"scratch that" will work consistently across dictation & command mode, deleting the last thing. And if you use it again, it deletes the thing you said before that, etc.
"select that" to select the last phrase will work in command mode.

Changes / possible disadvantages:

The list of recent phrases will now include dictated text as well as formatted text. This might clutter it up.
format recent, format copy, format repeat have become recent list, recent copy, recent repeat.

Please test this code before merging. I've been using this for a long time but I had to carefully extract it from all the other changes I made to knausj and while I did some basic testing I may have made a mistake.

we should probably make "scratch that" work with
word <user.word>: insert(user.word)
as well, then?
beyond that, I'm fine with this