Container image scanning?

Has anyone been able to get any useful output from combining trivy + reviewdog for container image scanning?
I would have hoped to keep using https://github.com/reviewdog/action-trivy for both fs scans (which works great) as much as image scans (and not have to also use https://github.com/reviewdog/action-trivy for image scans), but I'm not finding any method to get any useful output in any way.
Considering the output that trivy comes up for container image scans, which doesn't reference to any file nor location that reviewdog sees...  I suppose that might be why there's nothing to reference to and the result is just nothing (even with setting filter mode to nofilter)?
At best, I could add a trivy flag to also output to a file, and have that file be included as a PR comment...  But then comes the fact that the file would be in sarif format.  Not very useful from a human-readable standpoint. :)

@Darwiner I think reviewdog on image scanning is not suitable for GitHub PR. As you said, in GitHub PR, we (and the reviewer) can not comment on other than changed lines. So, we can add comments without any changed lines, but they don't need to be reviewed.


The program keep running for ever when click on Synthesize

Starting app...
Running on local URL:  http://<IP_ADDRESS>:7860
To create a public link, set share=True in launch().
C:\ProgramData\miniconda3\envs\f5\lib\site-packages\transformers\models\whisper\generation_whisper.py:509: FutureWarning: The input name inputs is deprecated. Please make sure to use input_features instead.
warnings.warn(
You have passed task=transcribe, but also have set forced_decoder_ids to [[1, None], [2, 50360]] which creates a conflict. forced_decoder_ids will be ignored in favor of task=transcribe.
C:\ProgramData\miniconda3\envs\f5\lib\site-packages\transformers\models\whisper\modeling_whisper.py:545: UserWarning: 1Torch was not compiled with flash attention. (Triggered internally at ..\aten\src\ATen\native\transformers\cuda\sdp_utils.cpp:455.)
attn_output = torch.nn.functional.scaled_dot_product_attention(
Passing a tuple of past_key_values is deprecated and will be removed in Transformers v4.43.0. You should pass an instance of EncoderDecoderCache instead, e.g. past_key_values=EncoderDecoderCache.from_legacy_cache(past_key_values).
The attention mask is not set and cannot be inferred from input because pad token is same as eos token. As a consequence, you may observe unexpected behavior. Please pass your input's attention_mask to obtain reliable results.
gen_text 0 My name is mean
Building prefix dict from the default dictionary ...
Loading model from cache C:\Users\maena\AppData\Local\Temp\jieba.cache
Loading model cost 0.940 seconds.
Prefix dict has been built successfully.

@Maenod Hi~ feel free to check the new issue template, which will help better addressing the issue. here


Fix formatting in register and align example

In GitLab by @wtbarnes on Jun 5, 2020, 09:37
Somehow the formatting in the register-and-align example got messed up and the text is showing up as a comment. See https://gitlab.com/LMSAL_HUB/aia_hub/aiapy/-/blob/master/examples/prepping_level_1_data.py#L31

In GitLab by @wtbarnes on Jun 18, 2020, 13:35
mentioned in commit eaf7a31489a968b8e83f53e010afa0b1a65e012e

In GitLab by @wtbarnes on Jun 18, 2020, 13:35
closed via merge request !66


MINOR: Release only when tags are added to release branch

Codecov Report

Merging #1103 into master will decrease coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1103      +/-   ##
==========================================
- Coverage   46.25%   46.13%   -0.13%
==========================================
  Files         251      238      -13
  Lines       22506    22281     -225
  Branches     5054     5015      -39
==========================================
- Hits        10411    10280     -131
+ Misses      12095    12001      -94

Impacted Files
Coverage Δ

...re/harp-text-canvas/lib/rendering/TextMaterials.ts
50% <0%> (-26.93%)
:arrow_down:

@here/harp-mapview/lib/ThemeHelpers.ts
6.55% <0%> (-0.68%)
:arrow_down:

...rp-mapview/lib/text/TextElementsRendererOptions.ts
100% <0%> (ø)
:arrow_up:

@here/harp-datasource-protocol/lib/Outliner.ts
100% <0%> (ø)
:arrow_up:

...ere/harp-materials/lib/LuminosityHighPassShader.ts
100% <0%> (ø)
:arrow_up:

@here/harp-test-utils/lib/WebGLStub.ts
100% <0%> (ø)
:arrow_up:

...p-geoutils/lib/tiling/QuadTreeSubdivisionScheme.ts
100% <0%> (ø)
:arrow_up:

@here/harp-utils/lib/Mixins.ts
70% <0%> (ø)
:arrow_up:

@here/harp-materials/lib/CopyMaterial.ts
100% <0%> (ø)
:arrow_up:

...e/harp-geoutils/lib/tiling/MercatorTilingScheme.ts
100% <0%> (ø)
:arrow_up:

... and 27 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 65ebb99...4865b34. Read the comment docs.


[WFRP4e System] Possible error in the cracked ribs critical injury

Dragging the injury from chat to the character sheet. The reductions to S and Ag seem to be working correctly but the halving of Movement results in some strange fractions appearing in the entry. If you then go and enter the normal move (3 for a human) it halves it properly and all works.  From: @Dipnotzwfrp4e: 4.0.6wfrp4e-core: 2.0.4wfrp4e-dotr: 2.0.3wfrp4e-eis: 2.0.3wfrp4e-rnhd: 2.0.2

Little more detail on this - it looks like it recalculates the .5 movement every time the character sheet is opened rather than just once when the effect is applied.  So if a player opens/closes 3 times his 3 Movement gets pretty small!

Fixed via https://github.com/moo-man/WFRP4e-FoundryVTT/commit/7cc231033cffd75d5f5d28fb3dd242d125c2537d


Data definition

Updating Data Definitions Section

Data definition section -

Reports - Mission Area

Reports - Engagement Type

Reports - Community Partner Public View

Reports - Project Public View

Reports - Project Private View

Reports - Community Partner Private View


match TypedArray multiple-arguments constructor with MDN specifications

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array/Uint8Array
The multiple-arguments constructor (buffer, byteOffset, length) accepts only an ArrayBuffer object as the first argument.
this can also be seen in the ECMAScript specifications at 6.b.iii.
this PR matches the specification with the d.ts, without effecting the other constructor signatures.

@Git-Lior Why did you close the PR? This would fix #44191, wouldn't it?


Bg color

This fixes the background color of all the web pages. Moreover, this also incorporates the iParametrics brands guide.

Looks good to me, confirming once again, it is per the client requirements right?


Use descriptor inline instead of pulling it over and over

Coverage increased (+0.06%) to 81.605% when pulling 4f69ee743127ff7957f2c2338ec29ef08fa690c6 on fix/dont-refetch-descriptor into e770430cca058e872b6493543e21eecf0fe78461 on master.


Improve message handling

should fixes #1237
i was testing about 1 hour on master after increasing to the neweset camel version and the cyclic expections didnt occur anymore.
also dont try to send failure and success respose messages to matchers for hints

tried it and it does not work, not merging yet

i removed the camel version update and deployed on integration test. you can test again


rule: after_save hook doesn't exist

add tests :)
example: https://github.com/frappe/semgrep-rules/pull/16/files#diff-84c483a8744bc94165ecee269f8fe87b2360de64af4dc213041b5273ddd645a6R134
Also, run the rule against Frappe and ERPNext to see if there are any false positives.


[devops:bot] update deps in nix/sources.json (from: rhino-core@8d287f6

update nix refernces for rhino-core and|or nixpkgs to match https://github.com/rhinofi/rhino-core/blob/8d287f68f48f7a25ffd2bfb3f3fcf165aacef0ff/nix/sources.json (branch: dev)

superseded by #102


Remove the serverless-bench folder

Description
Changes proposed in this pull request:

This PR is a park of process of moving the serverless-bench folder to the kyma-project/tests/serverless-bench.

Related issue(s)

/retest

/hold


Fixed GitHub Actions

Now its work with GitHub Actions

Could you reopen this, looks extremely helpful

I making a new version of this

Thank you! Appreciate it.

Ah I didn't see this... implemented without Docker in #15


Support sourceMaps

clean-css has started implementing source maps on the f/source-maps branch. I think we should implement this in the plugin too.
I have already started some work on this, and I will update as soon as I have something that's useable.

@naartjie Thank you very much for waiting so long! I released v1.0.0 which supports source map.


[WiP] Handle remark tags and elements

Issue type

Feature

Summary

Handle remark tags(xml) and elements(json) and raise exception.
Refs #62

Coverage decreased (-0.01%) to 94.389% when pulling 6e4436e33264c492c57a086e61e3c96d6339644a on remark into 49a27f33752a922c3eb5e7837649ea0f3a9b733d on master.

Coverage decreased (-0.01%) to 94.389% when pulling 2736d8f3fa9833bc950074ddf3833602167685f7 on remark into 49a27f33752a922c3eb5e7837649ea0f3a9b733d on master.

Coverage increased (+0.2%) to 94.588% when pulling 61de24e34292f9f42eafa76b600b195c06a8f450 on remark into 49a27f33752a922c3eb5e7837649ea0f3a9b733d on master.


chore: convert joins in mapping functions to a single modularized function

Jihyeon has written a standalone function to execute merges between datasets and shapefiles. As of PR #56, map_chloropleth() and map_points() execute joins like this on their own, without referencing Jihyeon's function. Eventually we should make this merge function consistent across our codebase.

Not done


Populations specified in post clustering notebook don't work with example dataset

Describe the bug
The current populations specified for the post clustering notebook aren't specified in the cell_meta_cluster column of the example cell_table, which throws a ValueError. This happens in both plotting steps.
Expected behavior
Notebook should run seamlessly using the example dataset.
To Reproduce
Run notebook as is.

In the Download the Example Dataset could you try changing overwriting_existing from False to True and then running it?

I don't think there's a programmatic way to do that, but I can add when to set overwrite_existing to True to the description in the notebooks.

Is the issue that you had a previous version of the example dataset prior to a huggingface update, or is this a problem with what sequence of notebooks had been run in what order?

It's somewhat related to running the notebooks in sequence. Only notebook 1 has the overwrite flag defaulted to True. This will always force the download + moving the dataset to data/example_dataset/. 2-4 have overwrite defaulted to False so data generated by notebook 1 does not get overwritten (if a user wants to run 1-4 in succession). But if the directories a notebook needs does not exist, it should download and move it over.
@alex-l-kong Do you recall if a warning appeared when running the get_example_dataset with overwrite as False saying "Files exist in . They will not be overwritten"?

@srivarra yes.

I see, perhaps there was a different cell table in data/example_dataset/segmentation/cell_table?

Okay, so the cell table from notebook one, which doesn't have any pixie labels, overwrote the existing one?

Yeah, and since it wasn't overwritten, the notebook opened the incorrect file.


[ubuntu] update latest to ubuntu-22.04

Description
Documentation edit to reflect the changes on the ubuntu runner, now latest points to 22.04 instead of 20.04.
Related issue:
#6399
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[x] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

It is not yet done, once it will, we update the documentation.


test Utils Reflection functions

look at the functions in the Reflection Functions region in Utils.cs
work on the test/utils branch, but per commit work on a sub branch of that, named with the git issue
coordinate with other Utils testers to make sure there's only 1 Core/UtilsTests.cs file

I have pushed the code but I mistakenly included it in the pull request for Test/resourcemgt branch


Need clarity on which EA plans are applicable

What Azure offer codes (not the description) are valid for EA to CSP Transfer?
We know 0017P is valid
How about 0017G?
Are any other EA offers valid?

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

ID: 6aef944e-c3da-70b4-47c4-9c45447d0a3c
Version Independent ID: 4fb9a899-cf9f-43dd-334a-f202e3b75067
Content: Transfer Azure subscriptions between subscribers and CSPs
Content Source: articles/cost-management-billing/manage/transfer-subscriptions-subscribers-csp.md
Service: cost-management-billing
Sub-service: billing
GitHub Login: @bandersmsft
Microsoft Alias: banders

@skippu Thanks a lot for reaching out , we will review your query and get back to you at the earliest.

@skippu My sincere apologies for taking time to get back to you on this thread. Based on my discussion with our internal below is the information, I could share.
EA have only 17P and 148P, for EA to CSP migration only 17P is applicable, however if we are talking about Modern that have 17G offer that can also be migrated to Partner-Led but that is Modern though.
I will also take the feedback to our document authoring team and check the feasibility to clarify above information in our documents , take that as a backlog item based on discussion and enhance the documents accordingly. We will go ahead and close this issue for now, however if you have any further queries please tag us in your reply and will be happy to reopen the thread and continue the conversation. Thank you


Try some str borrowing in codegen.

Please help keep the CHANGELOG up to date by providing a one sentence summary of your change:
Modify codegen to use more borrowed strs
Toying around with improving codegen runtime performance. While it may be a hair faster, unscientific compilation time differences show this shaving perhaps a second off the 15 to 20 second build time for generating crates.
This could use some real profiling to see if it helps, but thought I'd toss it out for feedback. 😁

This is a bit flailing in the dark. Probably not worth the complexity without metrics backing this change up. 👍


When using dynamic slot with static slot error occurs: This expression is not callable. Type '{}' has no call signatures

Hi 👋🏻
I was playing with the generic components feature and stumbled upon this issue where I get a type error on the slot like below:

Reproduction: https://github.com/jd-solanki/volar-vue-playground/blob/generic-component-type/src/bar/Bar.vue

Note
Watch out for branch

  System:
    OS: Windows 10 10.0.22621
    CPU: (16) x64 AMD Ryzen 7 3700X 8-Core Processor
    Memory: 6.86 GB / 15.95 GB
  Binaries:
    Node: 18.14.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
    npm: 9.4.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1555.0), Chromium (112.0.1722.68)
    Internet Explorer: 11.0.22621.1
  npmPackages:
    vue: 3.3.0-beta.4 => 3.3.0-beta.4
    vue-tsc: ^1.6.4 => 1.6.4

P.S. It will be much easier for you if you add issue template

Upon further inspection, I found that component meta shown empty slots array:

I guess vue component meta doesn't properly handle the generics yet 🤔

@johnsoncodehk is this supported by volar ATM?
Because I think both are the same thing 🤔
I also tried doing something like this for my actual code but doesn't seems to work:
{ [name in `col-${RowKey<Row>}`]: (_: { row: Row; colIndex: number }) => any }

This doesn't seem to be a Volar issue, you can reproduce it in script.

Hi @johnsoncodehk
Thanks for your inspection. May I know how to resolve this because according to me I'm generating correct object in aTableSlots?
Awaiting your response.

Strange thing is if you comment before-table slot then type error went away.
Extending my previous comment, I guess I'm generating correct object but it looks like there's issue with the generated type.

@jd-solanki Hi, it seems to be this is a TypeScript's limit:
type Slots<Foo extends string> = {
  readonly "before-table": (_: any) => null;
} & Record<`header-${Foo}`, (_: { col: any }) => any>;

function foo<Foo extends string>(
  slots: Slots<Foo>,
  key: `header-${Foo}`
) {
  const slot = slots[key];
  // @ts-expect-error This expression is not callable. Type '{}' has no call signatures.ts(2349)
  slot?.({ col: 1 });
}

If you simplify your code:
type Slots<Foo extends string> = Record<`header-${Foo}`, (_: { col: any }) => any>;

function foo<Foo extends string>(
  slots: Slots<Foo>,
  key: `header-${Foo}`
) {
  const slot = slots[key];
  slot?.({ col: 1 });
}

All works well.
Maybe you should create a issue to TypeScript.

Closed this issue because it is an upstream issue, if you need any other help, or if you find any other volar issues, please feel free to raise them below.

Hi @xiaoxiangmoe
Thanks for your response. Can you plese share your thoughts on this: https://www.typescriptlang.org/play?target=99#code/FAFwngDgpgBAygGwPYgM4B4BiSkygDxCgDsATVGVEAJwEtiBzAPhgF4YBvYGGaqAQ1JJiCMDABEAIygAzJHwC0IfpIRRxALhgAKAPpb+xMAEo2LYgFcECANzAAvjABkMAEpQAxvNLoABgAsBUihqBQASDmwke18AGh19ThgvBAMjGHtTVhZDMCY7YBkLYg8QWmEYOSR0AEFqBgoCIjIKAG1EFAwqOkYmeO76BgBdJm1uGAA6KdbUZDR4gGsoMCGtOoa8QhJyGHa5jHoZEJgovsoaQaGYAH5djrQsHDOAoJDwyJwYq61iKAA3ELAUxcHheYhUShzNiQzqtJYrAo8AD0SJgAHV5AtUABCcazFDaDjJJCpGAARgyxjs9iAA

Might be similar: https://github.com/vuejs/core/issues/8352

Can you plese share your thoughts on this

I'm not quite sure what's going on, but I found that in your latest example, the slots and key are controlled by the same generic Args.
And in your original example, actually Rows and key are changed independently.
For this reason, I extracted a simplified demo and used a function foo to demonstrate the origin of your error Type '{}' has no call signatures.ts.

Can we improve something at volar side considering this kind of common usage? https://github.com/vuejs/core/pull/7982#issuecomment-1490284591 https://github.com/vuejs/core/issues/8352
What's your thoughts on opening and renaming this issue?

@jd-solanki  See https://github.com/vuejs/core/issues/8352#issuecomment-1554258249

Hi @xiaoxiangmoe
I tried doing that and it still gives Type '{}' has no call signatures.. However, If I remove 'before-table': (_: any) => null slot definition just like in my reproduction it works.
// meta.ts
export function aTableSlots<Row extends Record<string, unknown>>(colKeys: RowKey<Row>[]) {
    return ({
    // If I comment below line then error in SFC is gone 🤔
    'before-table': (_: any) => null,

    ...colKeys.reduce((a, colKey) => (
      { ...a, [`header-${colKey}`]: Function }
    ), {} as { [K in `${RowKey<Row>}-cell`]: (props: { item: RowKey<Row>; }) => any; }),
  }) as const
}

<template>

            <slot :name="`${col.name}-cell`" :col="col"></slot>

</template>

In my reproduction and this example, if you comment out 'before-table': (_: any) => null, slot will work ✨

Here's video demo:
https://github.com/vuejs/language-tools/assets/47495003/8c9460c1-7534-4c02-a31f-4768d030ed77

I would strongly recommend not using aTableSlots since the return type is not used!
I would recommend switching to a type
type aTableSlots<T extends Record<string, unknown>> = {
  [K in keyof T as `header-${K & string}`]: (_: {
    col: ATablePropColumn<T>
  }) => any
} & {
  ['before-table']?: (_: { a: string }) => any
}

The reason being defineSlots is plainly a typescript implementation without any runtime validation.
To use this new aTableSlots  is fairly easy by:
const slots = defineSlots<aTableSlots<Row>>()

full example:

<template>

        <slot :name="`header-${String(col.name)}`" :col="col"></slot>

</template>

@xiaoxiangmoe
I get an error on vue 3.3.4 🤔

Oh, you are right.

Hey @pikax and I'll try to go with full TS like below:
import { OptionalKeysOf } from 'type-fest'

export interface AlertProps {
  rows: unknown[],
  icon?: string
  appendIcon?: string
  dismissible?: boolean
  modelValue?: boolean
}

export const alertPropsDefault = {
  appendIcon: 'close',
} satisfies Pick<AlertProps, OptionalKeysOf<AlertProps>>

(above is just playground component and file is meta.ts)
Before refactoring the codebase 4th time I just want to comfirm that,

Is this fine?
I'll have meta.ts and <Component-SFC>.vue file
I'll export shared component props from meta.ts and reuse them.

Final out of context questions:
Can I somehow export and reuse (might need all of or few of them) props from SFC if I go with withDefaults(defineProps<Props>(), { ... }
Thanks.

@xiaoxiangmoe Can we remove upstream label?

@jd-solanki
Can you see weather it fix your problem? https://github.com/vuejs/language-tools/issues/3141#issuecomment-1554669251
Is there any bug should fix in volar?

Hi @xiaoxiangmoe I was busy with some other stuff. I'll let you know once soon.

Hi @xiaoxiangmoe 👋🏻
It works 💚
I wanted to know is this some kind of hack to workaround volar or TS limitation.
I'm also creating new component based on this component and passing slots down to this component. Will this create any troublem because I'm having type issue in another component that uses it but I'm unable to identify if it's from volar or my side.
Thanks.

This is not hack to workaround volar, it just some workaround for TypeScript.

I wonder performing that change will make type as header-${string} => string for slot name instead of actual names like header-name? Is it true?
Are you interested in checking the another component (build on top of mentioned component) error after perfoming mentioned changes (that solves the type error for that component though)?
Regards.

Fixed by https://github.com/vuejs/language-tools/issues/3141


[DATA-GRID]: sticky header conflicts with single-row selection

Description
I've configured data-grid
<style>
  html {
    block-size: 300px;
  }
</style>

<vwc-data-grid></vwc-data-grid>
<script>
	grid = document.querySelector('vwc-data-grid');
    grid.generateHeader = 'sticky'
    grid.selectionMode = 'single-row';
	grid.rowsData = [
			{data1: 'tabs', data2: 'will'},
			{data1: 'not', data2: 'work'},
			{data1: 'not', data2: 'work'},
			{data1: 'not', data2: 'work'},
			{data1: 'not', data2: 'work'},
			{data1: 'not', data2: 'work'},
			{data1: 'not', data2: 'work'},
	];
</script>

and:

sticky header stops to work if selectionMode = 'single-row'
header is getting highlighted when mouse over it

Component(s) impacted

Reproducible on https://vivid.deno.dev/components/data-grid
Browser
Microsoft Edge
Vivid Web Components version
3.37.0
Severity
Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.
Application/website
VCC
CodeSandbox example
https://vivid.deno.dev/
Steps to reproduce the issue (if applicable)
go to https://vivid.deno.dev/
open data-grid section
paste in some code-boxes
<style>
  html {
    block-size: 300px;
  }
</style>

<vwc-data-grid></vwc-data-grid>
<script>
	grid = document.querySelector('vwc-data-grid');
    grid.generateHeader = 'sticky'
    grid.selectionMode = 'single-row';
	grid.rowsData = [
			{data1: 'tabs', data2: 'will'},
			{data1: 'not', data2: 'work'},
			{data1: 'not', data2: 'work'},
			{data1: 'not', data2: 'work'},
			{data1: 'not', data2: 'work'},
			{data1: 'not', data2: 'work'},
			{data1: 'not', data2: 'work'},
	];
</script>

observe that header is not sticky and select row is selecting header
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

I just noticed that it is interfering also with the click / sort event if the header is also sortable.

ok, so I get that the onRowFocus event happening on the header row is intended, I can filter it in code checking _rowType !== header.
thanks for the ticket

onRowFocus event happening on the header row is intended
I'm not sure - that it what is needed - this one need to be checked. But I'm happy that you have a fix for that anyway.

@dvelluto the sticky issue was fixed in vivid version 3.4.0.
I'm closing this issue.
Thank you for making Vivid better!


Visual studo 2019

This page could use some updates for Visual studio 2019 mainly around the project creation section.  I am also assuming this can be downloaded via the .net core cli "Install BotBuilderVSIX.vsix"
More information about how to install the emulator and where to get the install needs to be added.

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

ID: 5668ed00-c579-8520-c30f-6008ff4bf9d1
Version Independent ID: a1d437ab-faa9-fbfa-d380-d1e4b36fdd8e
Content: Create a bot with the Bot Framework SDK for .NET - Bot Service
Content Source: articles/dotnet/bot-builder-dotnet-sdk-quickstart.md
Service: bot-service
GitHub Login: @Kamrani
Microsoft Alias: kamrani

Thank you @LindaLawton for taking the time to report these issues.  I have updated the project creation section of this article to use Visual Studio 2019 instead of 2017.  Regarding the emulator, the link was incorrect, once clicking on the Bot Framework Emulator link in the Prerequisites, you can now scroll down to the readme which will give instructions on downloading the emulator.
Regarding your question on installing the template: Yes, you can install the Bot Framework SDK v4 template using .Net Core CLI. See Custom templates for details.


#4073

Description 📜
In a given array, The even numbers will appear first and then the odd numbers. Segregated even and odd numbers in an array.
Fixes #4073

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Doc#umentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev #(Flutter)
[ ] Android Dev #(Java)
[ ] Android Dev #(Kotlin)
[ ] Backend Dev #(Java)
[ ] Backend Dev #(.NET)
[ ] Backend Dev #(PHP)
[ ] Backend Dev #(Python)
[x] C/#CPP
[ ] Competitive #Programming
[ ] Cyber #Security
[ ] DS#A
[ ] Data#base
[ ] Datascience with #Python
[ ] Datascience with #R
[ ] Frontend Dev #HTML/CSS/JS
[ ] Frontend Dev #React/Angular/Vue
[ ] Go#lang
[ ] Interview #Prep
[ ] Java_#Domain
[ ] Java#Script
[ ] ME#RN
[ ] Machine #Learning
[ ] Open #Source
[ ] Python_#Domain
[ ] Ru#st
[ ] Statis#tics
[ ] UI/#UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Please review my first PR.

I have committed the changes.
Now kindly review.
On Tue, Oct 5, 2021, 08:36 Deepak Verma @.***> wrote:

@.**** requested changes on this pull request.
Before making a PR make sure, you yourself find your code/content good.
Your content need a good formatting, don't use ir-relevant emoji's
and plz use nextline tag in required statements.
[image: image]
https://user-images.githubusercontent.com/78724676/135953735-6c3b6304-5f82-4b0a-a707-e5dd2e26c8da.png
In segregate.md
https://github.com/girlscript/winter-of-contributing/pull/4164#discussion_r721851810
:

+ALGORITHM💥💥

+⭐Initialize two index variables left and right:

       left = 0,  right = size -1

+⭐Keep incrementing left index until we see an even number.
+⭐Keep decrementing right index until we see an odd number.
+⭐If left < right then swap arr[left] and arr[right]

+IMPLEMENTATION💥💥

+// C++ program to segregate even and odd elements of array
+#include
+using namespace std;

+/* Function to swap *a and *b */
+void swap(int *a, int *b);
complete this function code.
In segregate.md
https://github.com/girlscript/winter-of-contributing/pull/4164#discussion_r721852048
:

@@ -0,0 +1,81 @@

+Given an array A[], write a function that segregates even and odd numbers.
+The functions should put all even numbers first, and then odd numbers.

+EXAMPLE💥💥

+Input  = {12, 34, 45, 9, 8, 90, 3}
use a nextline tag here "
"
In segregate.md
https://github.com/girlscript/winter-of-contributing/pull/4164#discussion_r721852178
:

+Input  = {12, 34, 45, 9, 8, 90, 3}
+Output = {12, 34, 8, 90, 45, 9, 3}

+ALGORITHM💥💥

+⭐Initialize two index variables left and right:

       left = 0,  right = size -1

+⭐Keep incrementing left index until we see an even number.
+⭐Keep decrementing right index until we see an odd number.
+⭐If left < right then swap arr[left] and arr[right]

+IMPLEMENTATION💥💥

+// C++ program to segregate even and odd elements of array
nextline tag here as well
In segregate.md
https://github.com/girlscript/winter-of-contributing/pull/4164#discussion_r721852400
:

+ALGORITHM💥💥

+⭐Initialize two index variables left and right:

       left = 0,  right = size -1

+⭐Keep incrementing left index until we see an even number.
+⭐Keep decrementing right index until we see an odd number.
+⭐If left < right then swap arr[left] and arr[right]

+IMPLEMENTATION💥💥

+// C++ program to segregate even and odd elements of array
+#include
+using namespace std;

+/* Function to swap *a and *b */
nextline tag here as well
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/pull/4164#pullrequestreview-770935008,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUHQTDKGOE63NALZDW3W2ZDUFJTTXANCNFSM5FHLM46Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Ok
On Mon, Oct 11, 2021, 13:38 Kashish Ahuja @.***> wrote:

@.**** requested changes on this pull request.
Add the topic name as the heading.
Enclose code in proper snippet format.
Use markdown syntaxes.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/girlscript/winter-of-contributing/pull/4164#pullrequestreview-775924156,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUHQTDJL45ODNBULCG4KN43UGKLOBANCNFSM5FHLM46Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

No updates for long, make changes or close the PR. @shrutigrover25
Please close this PR. @Saviour1001


complex_layout_ios__start_up, Could not register as server for FlutterObservatoryPublisher, permission denied

https://ci.chromium.org/p/flutter/builders/prod/Mac complex_layout_ios__start_up/9
[complex_layout_ios__start_up] [STDOUT] stdout: [        ] Application launched on the device. Waiting for observatory port.
[complex_layout_ios__start_up] [STDOUT] stdout: [+18761 ms] Observatory URL on device: http://<IP_ADDRESS>:54898/
[complex_layout_ios__start_up] [STDOUT] stdout: [   +7 ms] Attempting to forward device port 54898 to host port 49483
[complex_layout_ios__start_up] [STDOUT] stdout: [        ] executing: /opt/s/w/ir/k/flutter/bin/cache/artifacts/usbmuxd/iproxy 49483:54898 --udid cb313701092c54ffa70395793c5fdb2fd0e6b56e
[complex_layout_ios__start_up] [STDOUT] stdout: [ +103 ms] [VERBOSE-2:FlutterObservatoryPublisher.mm(138)] Could not register as server for FlutterObservatoryPublisher, permission denied. Check your 'Local Network' permissions for this app in the Privacy section of the system Settings.
[complex_layout_ios__start_up] [STDOUT] stdout: [  +46 ms] fopen failed for data file: errno = 2 (No such file or directory)
[complex_layout_ios__start_up] [STDOUT] stdout: [        ] Errors found! Invalidating cache...
[complex_layout_ios__start_up] [STDOUT] stdout: [ +942 ms] Forwarded port ForwardedPort HOST:49483 to DEVICE:54898
[complex_layout_ios__start_up] [STDOUT] stdout: [        ] Forwarded host port 49483 to device port 54898 for Observatory
[complex_layout_ios__start_up] [STDOUT] stdout: [  +14 ms] Installing and launching... (completed in 25.8s)
[complex_layout_ios__start_up] [STDOUT] stdout: [   +6 ms] Connecting to service protocol: http://<IP_ADDRESS>:49483/
[complex_layout_ios__start_up] [STDOUT] stdout: [   +1 ms] Launching a Dart Developer Service (DDS) instance at http://<IP_ADDRESS>:0, connecting to VM service at http://<IP_ADDRESS>:49483/.
[complex_layout_ios__start_up] [STDOUT] stdout: [ +151 ms] DDS is listening at http://<IP_ADDRESS>:49485/tP-QZeUOAAM=/.
[complex_layout_ios__start_up] [STDOUT] stdout: [  +41 ms] [VERBOSE-2:FlutterObservatoryPublisher.mm(138)] Could not register as server for FlutterObservatoryPublisher, permission denied. Check your 'Local Network' permissions for this app in the Privacy section of the system Settings.
[complex_layout_ios__start_up] [STDOUT] stdout: [  +31 ms] Successfully connected to service protocol: http://<IP_ADDRESS>:49483/
[complex_layout_ios__start_up] [STDOUT] stdout: [   +1 ms] Waiting for iPhone to report its views...
[complex_layout_ios__start_up] [STDOUT] stdout: [   +6 ms] Waiting for iPhone to report its views... (completed in 5ms)
[complex_layout_ios__start_up] [STDOUT] stdout: [        ] Application running.
[complex_layout_ios__start_up] [STDOUT] stdout: [   +5 ms] Connected to iPhone
[complex_layout_ios__start_up] [STDOUT] stdout: [        ] Tracing startup on iPhone.
[complex_layout_ios__start_up] [STDOUT] stdout: [   +3 ms] Waiting for application to render first frame...

\cc @jmagman @xster

I see this in log too, is this affect Stream result ?

[VERBOSE-2:FlutterObservatoryPublisher.mm(155)] Could not register as server for FlutterObservatoryPublisher, permission denied. Check your 'Local Network' permissions for this app in the Privacy section of the system Settings.

The problem for this was the phones were not trusted. This is fixed now:
https://ci.chromium.org/p/flutter/g/devicelab_staging/console


[go_router] cannot get full location out of the top page in 9.0.2

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
run the code
clicke two
read the output
Expected results
in 8.0.0 I can use GoRouter.of(context).location to get full location in any page, but in 9.0.2 the method was replaced to GoRouterState.of(context).location, but the new method cannot get the full location out of the last page.
Actual results
Performing hot reload...
Syncing files to device macOS...
flutter: in Three  /a/c
flutter: in Three  /a/c
flutter: in Two  /a/c
flutter: in Two  /a
Reloaded 0 libraries in 58ms (compile: 8 ms, reload: 0 ms, reassemble: 23 ms).
Code sample
Code sample
import 'package:flutter/material.dart';
import 'package:go_router/go_router.dart';

class RouterCfg {
  static final GlobalKey<NavigatorState> _rootNavigatorKey =
      GlobalKey<NavigatorState>(debugLabel: 'rootKey');

  static final GoRouter routerConfig = GoRouter(
    initialLocation: "/a",
    navigatorKey: _rootNavigatorKey,
    debugLogDiagnostics: true,
    routes: <RouteBase>[
      StatefulShellRoute.indexedStack(
        builder: (BuildContext context, GoRouterState state,
            StatefulNavigationShell navigationShell) {
          return One(navigationShell: navigationShell);
        },
        branches: <StatefulShellBranch>[
          // The route branch for the first tab of the bottom navigation bar.
          StatefulShellBranch(
            routes: <RouteBase>[
              GoRoute(
                path: "/a",
                builder: (context, state) => const Two(),
                routes: <RouteBase>[
                  GoRoute(
                    path: "c",
                    builder: (context, state) => const Three(),
                  ),
                ],
              ),
            ],
          ),
        ],
      ),
    ],
  );
}

main() async {
  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  Widget build(BuildContext context) {
    return MaterialApp.router(
      routerConfig: RouterCfg.routerConfig,
    );
  }
}

class One extends StatelessWidget {
  const One({super.key, required this.navigationShell});

  /// The navigation shell and container for the branch Navigators.
  final StatefulNavigationShell navigationShell;

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Column(
        children: [
          Text("one"),
          Flexible(child: navigationShell),
        ],
      ),
    );
  }
}

class Two extends StatelessWidget {
  const Two({super.key});

  @override
  Widget build(BuildContext context) {
    debugPrint('in Two  ' + GoRouter.of(context).location); //go_router 8.0.0 /a/c
    debugPrint(
        'in Two  ' + GoRouterState.of(context).location); //go_router 8.0.0/9.0.2  /a
    return Scaffold(
      body: TextButton(
        onPressed: () {
          GoRouter.of(context).push("/a/c");
        },
        child: Text("two"),
      ),
    );
  }
}

class Three extends StatelessWidget {
  const Three({super.key});

  @override
  Widget build(BuildContext context) {
    debugPrint('in Three  ' + GoRouter.of(context).location);
    debugPrint(
        'in Three  ' + GoRouterState.of(context).location);
    return Scaffold(
      body: TextButton(
        onPressed: () {
          GoRouter.of(context).pop();
        },
        child: Text("three"),
      ),
    );
  }
}

Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.10.0, on macOS 13.4.1 22F82 darwin-arm64, locale zh-Hans-CN)
    • Flutter version 3.10.0 on channel stable at /Users/xhkang/Documents/DevelopmentEnvironment/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 84a1e904f4 (8 周前), 2023-05-09 07:41:44 -0700
    • Engine revision d44b5a94c9
    • Dart version 3.0.0
    • DevTools version 2.23.1
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/xhkang/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • Java binary at: /Users/xhkang/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.10121639/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14E300c
    • CocoaPods version 1.12.0

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

[✓] Android Studio (version 2022.2)
    • Android Studio at /Users/xhkang/Library/Application Support/JetBrains/Toolbox/apps/AndroidStudio/ch-0/222.4459.24.2221.10121639/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.3)
    • IntelliJ at /Users/xhkang/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app
    • Flutter plugin version 74.0.4
    • Dart plugin version 231.9161.14

[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.3)
    • IntelliJ at /Users/xhkang/Library/Application Support/JetBrains/Toolbox/apps/IDEA-U/ch-0/231.9161.38/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.79.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.68.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-arm64   • macOS 13.4.1 22F82 darwin-arm64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 113.0.5672.126

[✓] Network resources
    • All expected network resources are available.

• No issues found!

@cruvie
Can you take a look at this issue and underlying comments to see if it resembles your case or not ?

Thanks for the update.
With 8.0.0 version, tapping on two results in:
[GoRouter] Full paths for routes:
  => /a
  =>   /a/c

[GoRouter] setting initial location /a
[GoRouter] Using MaterialApp configuration
I/flutter ( 4153): in Two  /a
D/EGL_emulation( 4153): app_time_stats: avg=22958.22ms min=4.14ms max=45912.30ms count=2
I/flutter ( 4153): in Two  /a
D/EGL_emulation( 4153): app_time_stats: avg=3120.08ms min=509.61ms max=5730.54ms count=2
[GoRouter] pushing /a/c
I/flutter ( 4153): in Three  /a/c
I/flutter ( 4153): in Two  /a/c

With 9.0.3, tapping on two results in:
[GoRouter] Full paths for routes:
  => /a
  =>   /a/c

[GoRouter] setting initial location /a
[GoRouter] Using MaterialApp configuration
I/flutter ( 4588): in Two  /a
W/Parcel  ( 4588): Expecting binder but got null!
[GoRouter] pushing /a/c
I/flutter ( 4588): in Three  /a/c
I/flutter ( 4588): in Two  /a

 stable, master flutter doctor -v
[!] Flutter (Channel stable, 3.10.5, on macOS 12.2.1 21D62 darwin-x64, locale
    en-GB)
    • Flutter version 3.10.5 on channel stable at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 796c8ef792 (2 days ago), 2023-06-13 15:51:02 -0700
    • Engine revision 45f6e00911
    • Dart version 3.0.5
    • DevTools version 2.23.1
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

[!] Flutter (Channel master, 3.12.0-15.0.pre.82, on macOS 12.2.1 21D62
    darwin-x64, locale en-GB)
    • Flutter version 3.12.0-15.0.pre.82 on channel master at
      /Users/dhs/documents/fluttersdk/flutter
    ! Warning: `flutter` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/flutter, which is not inside
      your current Flutter SDK checkout at
      /Users/dhs/documents/fluttersdk/flutter. Consider adding
      /Users/dhs/documents/fluttersdk/flutter/bin to the front of your path.
    ! Warning: `dart` on your path resolves to
      /Users/dhs/Documents/Fluttersdk/flutter/bin/dart, which is not inside your
      current Flutter SDK checkout at /Users/dhs/documents/fluttersdk/flutter.
      Consider adding /Users/dhs/documents/fluttersdk/flutter/bin to the front
      of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ad74a4f76c (65 minutes ago), 2023-07-10 23:51:23 -0400
    • Engine revision 312e4813a8
    • Dart version 3.1.0 (build 3.1.0-292.0.dev)
    • DevTools version 2.25.0
    • If those were intentional, you can disregard the above warnings; however
      it is recommended to use "git" directly to perform update checks and
      upgrades.

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

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

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

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 65.1.4
    • Dart plugin version 213.7228

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (3 available)
    • Darshan's iphone (mobile) • 21150b119064aecc249dfcfe05e259197461ce23 • ios
      • iOS 15.3.1 19D52
    • macOS (desktop)           • macos                                    •
      darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)              • chrome                                   •
      web-javascript • Google Chrome 109.0.5414.119

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

[!] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! Flutter recommends a minimum Xcode version of 13.
      Download the latest version or update via the Mac App Store.
    • CocoaPods version 1.11.2

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

[✓] VS Code (version 1.62.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.21.0

[✓] Connected device (5 available)
    • SM G975F (mobile)       • RZ8M802WY0X • android-arm64   • Android 11 (API 30)
    • Darshan's iphone (mobile)  • 21150b119064aecc249dfcfe05e259197461ce23 •
      ios            • iOS 14.4.1 18D61
    • iPhone 12 Pro Max (mobile) • A5473606-0213-4FD8-BA16-553433949729     •
      ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
    • macOS (desktop)            • macos                                    •
      darwin-x64     • Mac OS X 10.15.4 19E2269 darwin-x64
    • Chrome (web)               • chrome                                   •
      web-javascript • Google Chrome 98.0.4758.80

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

! Doctor found issues in 1 category.

I wanted to add that, because of this issue, there is no way to implement Android back button with top-level bottom navigation bar. (Or I haven't found one). We have to keep go router at 8.x.x, since it's the last version where location changed on Push.

@eugenemartseniuk  Hi , I found this https://github.com/flutter/flutter/issues/129944#issuecomment-1624425298
it's a workaround for me .

duplicate of https://github.com/flutter/flutter/issues/129833


Set expectations on how long COMPS submissions should take

So users have some idea how long they should be expected to wait.

Really hard to do this until COMPS figures out its issues.


Allow the player to place and break voxels

The main purpose of this PR is simple: allow the player to break blocks by left-clicking on them and allow them to place blocks by right-clicking on other blocks.
To enable this feature, there are several changes/additions (most important ones listed here):

Added a new ray tracing function to figure out what block is being clicked
Refactored collision checking code to allow some code-reuse by ray-tracing code
Removed use of chunk margins in collision-checking code and tried to adopt a consistent coordinate system of [u8; 3] without margins. Rendering code is unaffected by this change (margins were not removed entirely).
Added some methods to DualGraph to simplify common operations related to placing/breaking blocks
Added surface invalidation logic so that updating blocks reruns surface extraction
Partially implemented saving of voxel data (Loading logic doesn't yet exist, so this is not yet testable or useful).

There is also a minor cosmetic change, reducing ambient occlusion to make textures at the ends of 1x1 tunnels visible instead of being pitch black.
Fixes #292

This PR is probably still worth reviewing, but I'll update it to a draft because it doesn't properly handle the case of Player B modifying a chunk that Player A has not generated and then Player A visiting that chunk later. I plan to address this later, and I'll check off the below task once I've done so:

[ ] Fix this.

I decided to remove the code that saves voxel edits in favor of putting that code in the PR that also loads voxel edits.


Support new setterPrefix for Builder

See https://github.com/rzwitserloot/lombok/pull/2174
Syntax:
@Builder(setterPrefix = "with")
class ...

builder.withOne(one)
       .withTwo(two)
       .build();

@mplushnikov how many hours would you bet on this one?

I would love to have this support as well! I haven't looked at the code for this plugin before, but I'll take a gander.

Thank you so much for this :grin:
I realise I'm sounding over-eager, but is there a loose idea of when 0.29 might get released?

Thank you so much for this 😁
~I realise I'm sounding over-eager, but is there a loose idea of when 0.29 might get released?~
Released already, brilliant 😅

Looks the new release is out! Thanks, @mplushnikov!


User control of symbol loading

Allow users to specify loading all or no symbols and a list of solibs to load/don't load.

using System;

Need a copy right header

Refers to: src/MICore/IncludeExcludeList.cs:1 in 8c4af2f. [](commit_id = 8c4af2fcea6ad8cb7997544388523538031d7ef2, deletion_comment = False)


[TECH ED] Bikes for Refugees

Link to the coursework
https://github.com/CodeYourFuture/bikes-for-refugees
Why are we doing this?
Bring this to class and work through it in groups!
Maximum time in hours
1
How to submit

Fork to your Github account.
Make regular small commits with clear messages.
When you are ready, open a PR to the CYF repo, following the instructions in the PR template.

How to review

Complete your PR template
Ask for review from a classmate or mentor
Make changes based on their feedback
Review and refactor again next week

Anything else?
Why do semantics matter?

Kamino cloned this issue to maz786/Coursework-Planner

Kamino cloned this issue to Ayman-matoo/Coursework-Planner

Kamino cloned this issue to FrenchFry36/Coursework-Planner


Adding 'duplicate map' option in the dashboard view + 'change view' in the options menu in the editor view

[x] Duplicate map in dashboard view: just using the same element we already have in the editor view.

[x] Change privacy under options-menu in editor view: we are already using that dialog for changing the privacy of the datasets, so super easy, enabled for maps too.

Fixes #5178
cc @csobier
REVIEWER: @alonsogarciapablo

:+1: :+1: :+1:


Dynamic outline instead of static

Just came here to post my issue, but I see that something very similar was already posted an hour ago (https://github.com/neilsustc/vscode-markdown/issues/67). But, since I don't know, are these issues are really related or not, I will post my own.
The problem with outline is that it doesn't updates during adding/removing/renaming sections. For example, if I open some document with the following contents:
# Foo

...

# Bar

...

the outline will be correct. But - if I add, remove or rename some headings in document, the outline will not change.
If you plan to somehow implement dynamic outline in future releases, please let us know! :smiley:

I will take a look at it in two days 😉

Thank you very much! :smiley:


Request timeout when processing larger PDF files

The heroku hosted version has trouble processing files larger than ~1-2MB. The request gets killed afetr 30s and does not complete.
2019-09-29T22:39:13.874742+00:00 heroku[router]: at=error code=H12 desc="Request timeout" method=POST path="/convert" host=invert-pdf.club request_id=5302e9aa-c9d3-4d0c-9cde-316f32c55ba4 fwd="<IP_ADDRESS>" dyno=web.1 connect=0ms service=30329ms status=503 bytes=0 protocol=http

Tested with a 684-page, 30 MB file. Should no longer occur.


Add a platformatic theme to the generated swagger-ui

As https://github.com/fastify/fastify-swagger-ui/pull/39 landed, we can now customize the theme of our swagger-ui.

I will love to work on this, and how can go about the implementation

go for it!

okay, please can you guide me on to achieve this

okay


Sidecar PoC: Passing data back and forth between Tauri client and Python

https://github.com/refstudio/refstudio/issues/17

This updates the sidecar PoC. It does the following:

Adds a python function that takes an input of text and counts the words in the text, outputting json to stdout
Updates the AIView so that when text is highlights, the sidecar word count function is called, the response is read back into the tauri client and ultimately displayed in the view.

It's fun to see it working!

@gjreda I noticed that after running yarn python files are created insrc-tauri/bin and also the root file main.spec.
Should these be ignored (added to .gitignore) or tracked in git?

@cguedes good catch! yes, we should ignore them from the repo since they will be specific to each of our local machines.

@cguedes perhaps you could be the reviewer here?


Add mod time to registry blob descriptor

(merged) PR digitalocean/docker-distribution
Expose object modified time to most accurately track when a blob was uploaded or replaced.

In general, I'm curious who and what is going to read this info after the fact. How is this information going to be exposed to distribution administrators or users?

The high level use case is to be able to have access to a manifest upload/modified time retroactively in cases where it's not already being tracked by a caching layer, unless you or someone knows of another approach for obtaining that without going through the storage driver directly.

Okay, that makes sense and would be useful.
Is the plan to ultimately expose this data via the API, and if so, how would that be done?

I'm also curious what the original "why?" is here. In my registry this would be untrustworthy after a storage migration, which is an operation we do sometimes perform. If the blob's original upload time is really needed then it should probably be stored as data rather than using the underlying storage metadata.

this would be untrustworthy after a storage migration, which is an operation we do sometimes perform
That's a good point I hadn't considered, as a storage migration like this isn't something I expect we would do but definitely seems like a reasonable possibility in the future. Perhaps a better way for me to approach retroactively populating the upload time would be with a 1 time scan with the storage driver directly. @waynr

If the blob's original upload time is really needed then it should probably be stored as data rather than using the underlying storage metadata.

Agreed; hosted registries may require additional metadata (such as this), but I would consider separating that from the registry itself (which should be immutable). I know Docker Hub keeps a lot of data/indexes related to the registry, using what's appropriate for their specific use (search, maintenance, metrics, etc.)

Thanks much for all the input. It seems more likely that obtaining this info through the blob store would end up being misleading than helpful, so I'll go ahead and close this out.


[Dropdown] allowAdditions: Focus not returned to input box after clicking item

I did not add a jsfiddle for this because it can be reproduced directly on the Examples page:
http://semantic-ui.com/modules/dropdown.html#tagging-and-user-additions
Typing in a partial search term in the Multiple box, then clicking on an existing term (for example, type in info then click Information Architecture) does not return the focus to the input box. This makes it impossible to rapidly add multiple tags simply by typing then clicking on each term.
Steps to reproduce:

Go to http://semantic-ui.com/modules/dropdown.html#tagging-and-user-additions
Enter info in the search box
In the drop-down, click Information Architecture

Result: The focus is not in the input box. Searching again requires clicking in the input box.

#3790


Add equivalent interfaceField/interfaceFields methods for Prisma plugin

I've noticed that the Prisma plugin doesn't allow you to add additional fields on an interface:
const Example = builder.prismaInterface('BaseExample', {
  // ...
});

builder.prismaInterfaceField(Example, 'additionalField', t.field({ /* for example, a query that involves a join table */ })
//      ^^^^^^^^^^^^^^^^^^^^
// Property 'prismaInterfaceField' does not exist on type 'SchemaBuilder<ExtendDefaultTypes<{ PrismaTypes: PrismaTypes; }>>'. Did you mean 'prismaInterface'?ts(2551)

prismaObjectField/prismaObjectFields doesn't work as it's of course an InterfaceRef, not an ObjectRef
builder.prismaObjectField(Example, 'additionalField', /* ... */);
//                        ^^^^^^^
// Argument of type 'PrismaInterfaceRef<PrismaModelTypes & ...> is not assignable to parameter of type 'keyof PrismaTypes | PrismaObjectRef<PrismaModelTypes, {}>'.

just published that adds the missing methods


fix Pacifist means you cannot get creature scales

Fixes #20

Good idea, but runs into the issue of having to update this patch if/when a new type of mob drop is added.
Superseded by https://github.com/tinyhoot/Deathrun-Remade/commit/4adf82cc861366f21861b2450be2410c83c9a9b7


How I have used your card

This is actually not an issue, but an example for how I have used your card:

I changed the green column to show how much of production goes to grid, and blue, shoe how much of my production goes to own energy consumption.
(actually a nice feature would be to have an third column showing how much of the total consumption comes from the grid)
This is the coding in the power-distribution-card:
type: 'custom:power-distribution-card'
title: Overview
entities:
  - solar: sensor.fronius_pac
  - grid: sensor.fronius_energy_grid
  - home:
      entity: sensor.energy_consumption
      invert_value: true
  - autarky:
      bar_color: blue
      name: Eget
  - ratio:
      entity: sensor.fronius_w_to_grid
      bar_color: green
      name: t/Grid

and this is the coding in the configuration.yaml, where I have made som work variables:
#START Fronius and Kamstrup variables
calculate energy consumption
  - platform: template
    sensors:
      energy_consumption:
        value_template: >
            {{'%0.0f' | format(states('sensor.fronius_pac') | float -
                       states('sensor.kamstrup_activepowerminus') | float +
                       states('sensor.kamstrup_activepowerplus') | float) }}
        unit_of_measurement: 'W'

Energy consumption must not be negative
  - platform: template
    sensors:
      fronius_energy_consumption:
        value_template: >
              {% if states('sensor.energy_consumption')|float < 0 %} 0
              {% endif %}
        unit_of_measurement: 'W'

compute grid
  - platform: template
    sensors:
      fronius_energy_grid:
        value_template: >
            {{'%0.0f' | format(states('sensor.energy_consumption') | float - states('sensor.fronius_pac') | float) }}
        unit_of_measurement: 'W'

calculate to grid
  - platform: template
    sensors:
      fronius_w_to_grid:
        value_template: >
          {% set grid = states('sensor.fronius_energy_grid') %}
          {% set prod = states('sensor.fronius_pac') %}
          {% set result = grid |float / prod |float *-1 %}
          {% if result |float < 0.00 %} 0
          {% elif result |float > 0.00 %}
             {{ '% 0.0f' | format(states('sensor.fronius_energy_grid') | float /  states('sensor.fronius_pac') | float *-100) }}
          {% else %} 0
          {% endif %}

END Fronius & Kamstrup
Thanks for a very good card.

Hi there @pesor 👋 ,
Thank you very much for your example. I am going to release v2.0 in a bit which will include Breaking changes causing your configuration to not work anymore but instead be shifted to a Visual Editor which is more appealing imop.
Have a nice Christmas and great holidays,
Jonah

Hi @JonahKr
I actually managed to get it to work under version 2.0,
See here:


Type referenced column enum value

What kind of change does this PR introduce?
Internal improvement in preparing SQL context.
What is the current behavior?
As per the discussion in https://github.com/supabase/pg_graphql/pull/376#discussion_r1259865044, we are duplicating information in the SQL context, which is not ideal.
What is the new behavior?
We now introduce additional passes into SQL context loading. In the first pass, we prepare details for types; in the second one, we add references to types for columns (to improve the functionality implemented in #376 and eliminate duplication). More passes of the same type can be added where necessary.
Additional context
This implementation relies on the fact that before Arc's are referenced, they can be mutated. Since we're loading the context and never modifying it after that, we can use this to our advantage without introducing more complex synchronization primitives that would make working with the context much more painful.

as written, if we run into an error while constructing the SQL Context the first time you'll get an error message
                                         jsonb_pretty
----------------------------------------------------------------------------------------------
 {                                                                                +
     "data": null,                                                                           +
     "errors": [                                                                             +
         {                                                                                +
             "message": "Assertion violation: array type with OID 3644 is already referenced"+
         }                                                                                +
     ]                                                                                +
 }

and then subsequent calls, (until some DDL occurs and breaks the cache) will result in
                                                  resolve
------------------------------------------------------------------------------------------------------------
 {"data": null, "errors": [{"message": "called `Result::unwrap()` on an `Err` value: PoisonError { .. }"}]}

Given the Type.details is already Option we'll have to pattern match against it everywhere its referenced. Given that, how about ignoring cases where we e.g. failed to lookup an element type and leave it populated as None?
Then the error handling can take place while handling user requests


feat: remove markgoddard from teams

Remove @markgoddard from all teams within the organisation. This does mean many teams are without a maintainer. Can be resolved here or within follow up PR.

Terraform Format and Style 🖌success
Terraform Initialization ⚙success
Terraform Validation 🤖success
Validation Output

Success! The configuration is valid.

Terraform Plan 📖success
Show Plan

undefined

Pusher: @jackhodgkiss, Action: pull_request, Working Directory: ``, Workflow: Terraform GitHub

I think we should add @priteau in a few places where Mark is being removed, especially where Mark was the only maintainer. Probably worth more of a discussion with the infra team leads

This is quite theoretical, as the main role of team maintainers is to manage team membership, but we do it via CI instead: https://docs.github.com/en/organizations/organizing-members-into-teams/assigning-the-team-maintainer-role-to-a-team-member


Move .lintrunner.toml to top-level directory and include basic linting instructions in CONTRIBUTING.md

Lintrunner is currently broken since the .lintrunner.toml was moved to the install directory.
This PR updates the necessary paths & moves .lintrunner.toml back to the top-level directory so that lint changes can be applied.
I also provide basic instructions on linter installation & usage in the CONTRIBUTING.md.
Tested using a fresh venv as follows:
python3 -m venv .venv
source .venv/bin/activate
./install/install_requirements.sh

pip3 install -r install/requirements-lintrunner.txt

(.venv) puri@puri-mac torchchat % lintrunner -a
Warning: Could not find a lintrunner config at: '.lintrunner.private.toml'. Continuing without using configuration file.
ok No lint issues.
Successfully applied all patches.

Thanks for doing this
This seems fishy; might be an existing error if you've already moved the file back
Warning: Could not find a lintrunner config at: '.lintrunner.private.toml'. Continuing without using configuration file.


Question: passing attributes from service to dependencies

I have a service that has a session as an attribute, i want to be able to pass that into a dependency. only problem is i can't see any way to get data from the service class in the dependency provider.
Any help please?
In the DependencyProvider get_dependency method i've tried using worker_ctx.service.db, but that just passes the instance of the DependencyProvider, not what get_dependency is suppose to return.

Moving this to mailing list... sorrry.


Why does it connect to Google on start?

[x] This is not a troubleshooting question. Troubleshooting questions go here: http://www.mattermost.org/troubleshoot/.
[ ] This doesn't reproduce on web browsers (such as in Chrome). If it does, issue reports go to the Mattermost Server repository.
[x] I have read contributing guidelines.

Environment

Operating System: Linux, Debian Testing, amd64
Mattermost Desktop App version: v4.7.0 b757742 (unofficial .DEB)
Mattermost Server version: does not matter

Steps to reproduce
Start Mattermost
Expected behavior
Not connect to any server until a server is defined
Observed behavior
Connections to https://redirector.gvt1.com

strings $(which mattermost-desktop)|grep gvt1.com
https://redirector.gvt1.com/edgedl/chrome/dict/
{"origin":"https://gvt1.com/","has_same_origin_collector":false,"collectors":["https://beacons.gcp.gvt2.com/domainreliability/upload","https://beacons.gvt2.com/domainreliability/upload","https://beacons2.gvt2.com/domainreliability/upload","https://beacons3.gvt2.com/domainreliability/upload","https://beacons4.gvt2.com/domainreliability/upload","https://beacons5.gvt2.com/domainreliability/upload","https://beacons5.gvt3.com/domainreliability/upload","https://clients2.google.com/domainreliability/upload"],"path_prefixes":["/videoplayback","/videochunk","/chunk_present","/cm2_state","/videolookup","/videogoodput","/MotifFiles","/StudioFiles","/packdata","/edgedl","/market","/packages","/crx","/initplayback","/initsegment",""],"success_sample_rate":0.05,"failure_sample_rate":1.0,"include_subdomains":true}

Hi there, with v4.7 we are currently using chromium's dictionary capabilities, and in order to get the dictionaries it need to connect to google's server to retrieve them. all the other are most likely mirrors.
no info is shared with google's server and it is only used to download the latests definitions

Why not host a own repo @ mattermost or prepackage it (if possible)?

It is possible to provide alternative download locations, but I'm not really sure which one would be a good alternative and as available as google ones.
we could probably have a config settings to download from a different source, but I'm not sure that should be the default

It's an information leak, "look this person installed this software" sent to a corporation that gains its money from this kind of information.
With on-prem server things I thought admins are in control, now I wonder if this breaks GDPR no matter what I, the server admin, do. :(

we could probably have a config settings to download from a different source, but I'm not sure that should be the default

Would this help with that?

created a ticket for it MM-36747

@Willyfrog Being dependant on external sources, also means being vulnerable to several issues, like:

A mattermost using company - has internet access problems - hence the mattermost server cannot reach internet and does it then work at all?
supply-chain attacks.. if someone manages to modify the files you download - they can attempt anything they can think of - to compromise the mattermost server
Normally you DO NOT want to give your internet-exposed servers - access to access the internet themselves, as it would then be way too easy for anyone landing a successfull attack, to further it. Being dependant on internet services is a BAD thing,

In all these cases, the vital communications platform (mattermost) is unavailable due to it being dependant on external sources.
For all these reasons

hello @KlavsKlavsen

A mattermost using company - has internet access problems - hence the mattermost server cannot reach internet and does it then work at all?

If you don't have internet connection I don't think you are going to be able to use Mattermost unless it is in the same network. if that network is not connected to internet, then you'll loose spellchecking, not the whole functionality. Please, let us know if you are  in that scenario and having any unexpected issues.

supply-chain attacks.. if someone manages to modify the files you download - they can attempt anything they can think of - to compromise the mattermost server

As I mention, the plan is to provide alternative ways to get the spellchecker so you can issue your own spellchecker server if you so desire.

Normally you DO NOT want to give your internet-exposed servers - access to access the internet themselves, as it would then be way too easy for anyone landing a successfull attack, to further it. Being dependant on internet services is a BAD thing,

I'm a bit lost on this one, only the client is getting access to this files, the server doesn't request them and it is only to use within electron, so I'm sorry I don't follow your argument in this one. Can you explain a little bit in more detail?

In all these cases, the vital communications platform (mattermost) is unavailable due to it being dependant on external sources.

How did that happen? why is the server not available because a client needs to download a spellchecking definitions file?
Edit: rereading your comment, this request comes from the desktop client, not the server or the webapp part of it. Content will still be displayed and accesible if you have a connection to the server but not to the rest of Internet (like a lan). Not being able to retrieve this file will result in the spellchecker either not available or not being up to date in its definitions.

@KlavsKlavsen This is the Desktop app repo, the issue is limited to this app. :)

With on-prem server things I thought admins are in control, now I wonder if this breaks GDPR no matter what I, the server admin, do. :(

Sorry, I missed to reply to this: how does this break GDPR? does it send any identifiable information about the user? If you really think this breaches GDPR, please contact us through the means described in our privacy policy as this would be important to handle appropriately.

@Willyfrog I've tried having mattermost running in same server-setup where we had problems.. That was really bad, because we could not talk about it. Often if you try to pull something from the internet - the (bad) handling of timeouts when there is no response ( in case of internet down or remote being down) - means the service stops working - even though it SHOULD have kept on working. Its often not well tested either that use case.
I've learned that communications is a KEY component, and should be SEPERATE from your other operational components - so it won't be affected when you need it the most (when production is down).
IMHO disabling spellcheck should just be an option (or is it so already?).
if I'm on a company LAN - and we all loose internet access - my client should not stop working (as it can reach the internal mattermost server).. It would be very nice if it didn't so I could talk (via mattermost) about whats up with the missing internet access :)
I mean the service (communication channel) is unavailable  - both if "all clients fail" or if server fails - due to some externally unavailable source.

This actually also happens today if my client has connections to 2 mattermost servers - and one of them serves an invalid certificate.. client KEEPS pinging me about it - making the client unusable.. (there is an issue about that :)

@KlavsKlavsen This is the Desktop app repo, the issue is limited to this app. :)

if everybodys client fails to work (company internet access down f.ex.) - its still communications down, due to external problem - if client keeps re-trying (and hanging on timeout f.ex.)..
And IMHO yes its an information leak and increases exposure to supply-chain-attacks or local dns cache poisoning attacks

@Willyfrog

Sorry, I missed to reply to this: how does this break GDPR? does it send any identifiable information about the user? If you really think this breaches GDPR, please contact us through the means described in our privacy policy as this would be important to handle appropriately.

What user agent is used? What info does taht contain? What does Google see besides IP?
My thoughts about GDPR are about a sudden connection to Google servers, that checkbox in the app Settings does not warn about anything. I'm no lawyer so my opinions are mostly confusing, yet I'm not happy about seeing connections to known monopolies that earn 98% of they're profit from data collection. :)

But if everybodys client fails to work (company internet access down f.ex.) - its still communications down, due to external problem - if client keeps re-trying (and hanging on timeout f.ex.)..

Do you have repro steps for this issue? if so, please fill in another github issue with repro steps as the desktop app shouldn't crash due to not being able to get the spellcheck definitions and I'd like to take a look at that.

What user agent is used? What info does that contain? What does Google see besides IP?

you can probably inspect any request, but in a general sense it will contain info about the electron version, being a mattermost client and the OS running it.

that checkbox in the app Settings does not warn about anything

I'll create a ticket about this, we can definitely add a warning about it to help people be aware about it.

Why not host a own repo @ mattermost or prepackage it (if possible)?

while we can certainly host it (we would need to figure out how, but I don't feel it is technically impossible) it wouldn't fix the problem as it would just be changing google by mattermost, if you distrust connecting a third party it shouldn't matter who it is.

Do you have repro steps for this issue? if so, please fill in another github issue with repro steps as the desktop app shouldn't crash due to not being able to get the spellcheck definitions and I'd like to take a look at that.

These two issues both result in the error messages @KlavsKlavsen talks about: https://github.com/mattermost/desktop/issues/1019 and https://github.com/mattermost/desktop/issues/569
FWIW I've had the same issue and on occasion have had to remove a Mattermost server from my client in order to be able to use the client with the working server.

ticket for spellcheking warning: https://mattermost.atlassian.net/browse/MM-36790

These two issues both result in the error messages @KlavsKlavsen talks about: #1019 and #569

those tickets should be resolved by https://github.com/mattermost/desktop/pull/1240 if they are still happening, can you please open a new issue with repro steps? Also thanks for bringing those to my attention as they seemed to have slipped and should be closed (I'll do that now)

Sorry, seems the browser only showed me your last comment and missed the previous two, I'll address them:

@Willyfrog I've tried having mattermost running in same server-setup where we had problems.. That was really bad, because we could not talk about it. Often if you try to pull something from the internet - the (bad) handling of timeouts when there is no response ( in case of internet down or remote being down) - means the service stops working - even though it SHOULD have kept on working. Its often not well tested either that use case.

If the server is not working on a particular escenario you should fill an issue about it if you haven't done so already.

IMHO disabling spellcheck should just be an option (or is it so already?).

It is:

if I'm on a company LAN - and we all loose internet access - my client should not stop working (as it can reach the internal mattermost server).. It would be very nice if it didn't so I could talk (via mattermost) about whats up with the missing internet access :)

how does this escenario happen? can you provide any error logs or anything so we can try and fix it? if mattermost is reachable it should be displayed independently on the rest of internet connection. Please fill a new issue as this is unrelated to this conversation :)

This actually also happens today if my client has connections to 2 mattermost servers - and one of them serves an invalid certificate.. client KEEPS pinging me about it - making the client unusable.. (there is an issue about that :)

I know, and I'm sorry about that, there is a ticket for it already but we haven't yet started working on it. for the time being only accepting the certificate is possible (or provide a valid certtificate)

Closing as we have resolved the issue where we force the user to connect to Google on startup in the above PR.


[full-ci] update reva

Description

Related Issue

Fixes <issue_link>

Motivation and Context

How Has This Been Tested?

test environment:
test case 1:
test case 2:
...

Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[ ] Documentation ticket raised:

Tests is failed because  GET https://localhost:9200/graph/v1.0/me/drives provides the user all the personal and project spaces of other users


SyntaxError: Unexpected token :

So I'm getting a weird error, and I'm hoping someone can help me out. I'm a bit new to Webpack -- this is a rails app -- (though I'm a fairly advanced coder) so I could be doing something dumb.
The error is as follows
ERROR in ./app/javascript/modernizrrc.json
Module build failed: [PRIVATE]/app/javascript/modernizrrc.json:2
  "classPrefix": "",
               ^

SyntaxError: Unexpected token :
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.exec ([PRIVATE]/node_modules/webpack/lib/NormalModule.js:129:12)
    at Object.module.exports ([PRIVATE]/node_modules/modernizr-loader/index.js:24:26)
 @ ./app/javascript/packs/coming_soon.js 4:0-44
 @ multi (webpack)-dev-server/client?http://localhost:3035 ./app/javascript/packs/coming_soon.js

This makes no sense though, because (to my reading) this is a parser error regarding the the JSON config file, but I actually obtained the file directly from the Modernizr GitHub repo by running
curl https://raw.githubusercontent.com/Modernizr/Modernizr/v3.5.0/lib/config-all.json > modernizrrc.json

For what it's worth, here's the config I'm using for my webpacker environment setup:
const path = require('path');

module.exports = {
  module: {
    rules: [
      {
        test: /\.?modernizrrc(\.js(on)?)?$/,
        use: [ 'modernizr-loader' ]
      }
    ]
  },
  resolve: {
    alias: {
      'modernizr$': path.resolve(__dirname, "../../../app/javascript/modernizrrc.json")
    }
  }
}

Any ideas?

Okay, I'm totally missing something here, because I just replaced the JSON file with {} and now I get the following error:
ERROR in ./app/javascript/modernizrrc.json
Module build failed: SyntaxError: Unexpected token ; in JSON at position 0
    at Object.parse (native)
    at Object.module.exports ([PRIVATE]/node_modules/json-loader/index.js:4:49)
 @ ./app/javascript/packs/coming_soon.js 4:0-29
 @ multi (webpack)-dev-server/client?http://localhost:3035 ./app/javascript/packs/coming_soon.js

Same issue here!

Thanks for reporting this issue. Unfortunately I'm not able to check this out before next Tuesday. Hope this works out for you both. @mvastola if you want to set up an example repository which reproduces this error this would be 👌

Done.
See https://github.com/mvastola/modernizr-loader-issue-41
FWIW, you don't really even need to check out a repo. Just run the following in an empty directory:

rails new  . --webpack (Have the latest rails 5.0.x or 5.1.x installed first)
yarn add json-loader modernizr modernizr-loader
curl https://raw.githubusercontent.com/Modernizr/Modernizr/v3.5.0/lib/config-all.json > app/javascript/modernizrrc.json
echo 'import "json-loader!modernizr-loader!../modernizrrc.json"' > app/javascript/packs/application.js
./bin/webpack-dev-server

Having the same issue sadly.

For anyone who encounters this, which I did after I upgraded to Webpack 3, the fix was to add the json loader to the loader definition:
rules: [
  {
    test: /\.modernizrrc$/,
    loader: 'modernizr-loader!json-loader'
  }
]

Hrm. I thought I had tried this previously with a plain .js file and encountered a similar error. (Also, given #40, I assumed this wasn't necessary in any case.)
Regardless, I just tried this again (using a plain javascript file -- containing the json file contents prefixed with module.exports = ) and got a bit further, but I'm still having an error.  Please see https://github.com/mvastola/modernizr-loader-issue-41/tree/issue2 for what's going on. Basically, the script is working (the CSS classes are added) except for the fact that window.Modernizr isn't set/exported. The README.md has instructions for reproducing.
I'm going to see if I can narrow down what the JSON problem is separately.

Okay. Well the original compile error is fixed. I had put import "json-loader!modernizr-loader!../modernizrrc.json" but the order of the loaders apparently needed to be swapped (and json-loader was required -- #40 is incorrect and should be closed). This just leaves the issue from the previous comment.

@flootr, any chance you've been able to look at this?

To avoid the me too... (Although I must say I am having the issue as well on a Rails 5.1.4 project with webpacker, and webpack 3).  I have a webpack 1 project that its working perfectly with the same version of modernizr, modernizr-loader, and a similar .modernizrrc.json
Also while changing over to use .modernizrrc.js seems to work as webpack builds, I am not getting classes on the dom and the tests like Modernizr.fetch are coming back undefined, in a browser I know supports fetch.

@AntiFish03, yeah. I originally triggered this issue in a rails app, but I was able to isolate it in https://github.com/mvastola/modernizr-loader-issue-41/tree/issue2 and duplicate the issue without rails. Maybe it has to do with the version of webpack? My example uses semver ^3.5.5. I should actually try to clean it up a bit to see if I can get closer to the core issue.

Ok, I just pushed a few commits to __ to vastly reduce the yarn modules it uses. Now there's only webpack, modernizr and modernizr-loader and the same issue occurs.
I tried downgrading as much as I could, setting the following in package.json and the error persisted:
{
    "modernizr": "~3.1.0",
    "modernizr-loader": "^1.0.1",
    "webpack": "^2.0.0"
  }

I would have liked to try<EMAIL_ADDRESS>(as @AntiFish03 claims it worked on there) but version 1 doesn't seem to parse import directives as far as I can tell, and I'm not sure how to get around that.

@mvastola I'm sorry to not keep up with this issue, hope to find some time towards the weekend. Maybe also @jhnns can provide some pointers.

@mvastola Have you tried to use it as described in the README?
import Modernizr from './modernizrrc.js';
// or if you don't want to configure it in your webpack.config.js
// but I don't recommend this:
import Modernizr from "!modernizr-loader!./modernizrrc.js"

if (!Modernizr.promises) {
    // ...
}

modernizr will not expose itself to the window object if loaded as a module (in contrast to just including a <script> tag). After all, that's why you want to use a module bundler like webpack: to avoid the global namespace and its conflicts.
Since the original issue has been resolved (json-loader was missing) and the described behavior is intended (not present on the window object), I'm closing this issue.

@jhnns Ahh. Ok. Shouldn't it be at least optional to expose to Modernizr in the window object though? I mean, there's more than one reason people use webpack..
In my case I'm using it because I'm using it to manage my asset pipeline in a rails app, and it would seem silly to need to have a separate <script> tag (or some other workaround like window.Modernizr = Modernizr to expose it). A simple use case for needing to do this is if I have an ajax script that depends on it.

If you have a module system, it's best practice not to clutter the global object anymore. I don't think that the modernizr-loader should do that. If you want to have it on the window object, just add it explicitly 😁
You can also use the script-loader which can be used if you just want to include something in the bundle, but not to use a module system.

Yeah, I get what you're saying. Having to do it explicitly just seems.. clunky to me for some reason. Oh well, I'll live. Thanks a lot for looking into this anyhow!

Update: Retract that last bit about the clunkiness. Apparently I'm just too much of a n00b at webpack (apologies). For anyone else running into this, just instead of (as above):
import Modernizr from './modernizrrc.js';

use:
export { Modernizr } from './modernizrrc.js';

Crisis averted. :-)


[type: bug] fix zk sync error handling event bug.

fix bug
2021-11-17 22:29:54 [ZkClient-EventThread-53-<IP_ADDRESS>:2181,<IP_ADDRESS>:2181,<IP_ADDRESS>:2181] ERROR org.I0Itec.zkclient.ZkEventThread - Error handling event ZkEvent[Data of /shenyu/selector/contextPath/1460961927473303552 changed sent to org.apache.shenyu.sync.data.zookeeper.ZookeeperSyncDataService$2@3d196372] java.lang.NullPointerException: null 	at org.apache.shenyu.sync.data.zookeeper.ZookeeperSyncDataService$2.handleDataChange(ZookeeperSyncDataService.java:271) 	at org.I0Itec.zkclient.ZkClient$9.run(ZkClient.java:823) 	at org.I0Itec.zkclient.ZkEventThread.run(ZkEventThread.java:72)

Codecov Report

Merging #2391 (a79be83) into master (3777209) will decrease coverage by 0.74%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master    #2391      +/-   ##
============================================
- Coverage     58.14%   57.39%   -0.75%
+ Complexity     3952     3918      -34
============================================
  Files           629      629
  Lines         18054    18058       +4
  Branches       1691     1690       -1
============================================
- Hits          10497    10365     -132
- Misses         6720     6867     +147
+ Partials        837      826      -11

Impacted Files
Coverage Δ

.../sync/data/zookeeper/ZookeeperSyncDataService.java
73.75% <100.00%> (+0.44%)
:arrow_up:

...apache/shenyu/admin/transfer/MetaDataTransfer.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rg/apache/shenyu/admin/utils/ThreadLocalUtils.java
0.00% <0.00%> (-66.67%)
:arrow_down:

...rvice/converter/DivideSelectorHandleConverter.java
28.57% <0.00%> (-28.58%)
:arrow_down:

...rvice/converter/SelectorHandleConverterFactor.java
75.00% <0.00%> (-25.00%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
61.38% <0.00%> (-19.81%)
:arrow_down:

...apache/shenyu/admin/utils/CommonUpstreamUtils.java
0.00% <0.00%> (-14.29%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
82.35% <0.00%> (-11.77%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
54.73% <0.00%> (-8.43%)
:arrow_down:

... and 7 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 3777209...a79be83. Read the comment docs.


Better autocomplete import experience

Some people from the community seem to be having a bad experience when it comes to imports.
If I just type "Vec" into a new file, I get Vector3 and its corresponding import autocompleted.
Some people apparently don't. They get offered three different suggestions for importing Vector3, including ~system/EngineApi, and ~system/RestrictedActions
One idea is to rename the objects in ~system/EngineApi so that they're slightly different
Another idea is to include empty imports in the template, if these are present it seems that the autocomplete works well (at least in the files with these import statements, not in a fresh new file). We need to evaluate if adding this imports the whole of the file or nothing.
import {} from "@dcl/sdk/ecs"
import {} from "@dcl/sdk/math"
... etc
Here's a video of the current experience of some people (I have a different experience)
The person running into this has:
OS: macOS Sonoma 14.0 on Apple Silicon
VS Code Version: 1.83.1 (Universal)
https://github.com/decentraland/sdk/assets/3507907/01aeb69b-e0f0-4bd5-bf00-e33434dd6dcd

Vector3 shouldn't even be exported out of EngineApi and RestrictedActions.

Easy enough to fix by making Vector3 (and Color3, Quaternion, etc) a class inside of EngineApi and RestrictedActions, instead of an interface.
But that would unfortunately break all the code that's been importing these from the wrong place so far...

Easy enough to fix by making Vector3 (and Color3, Quaternion, etc) a class inside of EngineApi and RestrictedActions, instead of an interface.
But that would have to be done carefully, as it would break all the code that's been importing these from the wrong place so far.
As a first step, these should definitely be marked Deprecated.

It could be done by just marking it as @internal, but it's not so straightforward. The file api.d.ts is auto-generated, so making a conditional for those given types would be a hardcode.
The simplest solution is to stop generating the api.d.ts and write the file manually. I proposed this in the past, but there was not quorum (e.g. to include documentation, I had to write https://github.com/decentraland/js-sdk-toolchain/commit/52edf1833e263e55739c75131111549de37ed6b4) and I understand why, it's harder to keeping the file up-to-date, but honestly, I think it's worth.
Might we consider moving to manually writing the api.d.ts?


Feature request: Edit files in files datastore

Description
It would be nice for have an opportunity for update text files via OpenNebula API and Sunstone.
Use case
Simple edit init scripts, configs and etc for contextualization.
The closest analogue is Kubernetes ConfigMaps.
Interface Changes
I think the easiest way is to store files content directly in database, it's not problem if files are really tiny text scripts.
So we can use the same way like with START_SCRIPT and START_SCRIPT_BASE64 for VM templates.
I suggest you to add new type of storage, for serve specially this type of files.
Let's say we just prepared new ds:
NAME = "scripts"
TYPE = FILE_DS
DS_MAD = onedb
TM_MAD = onedb

After that we can create new files inside, using CONTENT and CONTENT_BASE64 variables.
NAME = "My init script 1"
DATASTORE = "scripts"
TYPE = "CONTEXT"
CONTENT = "echo Hello world"

and base64 example:
NAME = "My init script 2"
DATASTORE = "scripts"
TYPE = "CONTEXT"
CONTENT_BASE64 = "IyEvYmluL3NoCmVjaG8gSGVsbG8gd29ybGQh"

This type of files can be easily updated via CLI, XML-RPC API, and Sunstone Interface.
Additional Context

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

This is really useful proposal, Kubernetes is having ConfigMaps which are really so useful, I'd like to have similar interface in OpenNebula.

similar request https://github.com/OpenNebula/one/issues/1160


The Guild 2 - rendering issues

The initial loading screen of the game renders black. The main menu UI isn't rendered, but the ingame background renders ok except for the npcs that move around.
The log file contains some unhandled op-codes and grows extremely fast due to a spam of warn:  D3D9DeviceEx::SetMaterial: Stub.
System information

GPU: GTX 970
Driver: 418.52.05
Wine version: 4.5
DXVK version: 4957fecd303b38f46fe67742c2c0fdea79861792

Apitrace file(s)
https://git.froggi.es/Riesi/tracehub/raw/master/traces/d3d9/Guild 2  [native].tar.xz?inline=false
Log files
GuildII_d3d9.log

Moving to global issue: #60


InfluxDB web ui removed, add replacement Chronograf

As of InfluxDB v 1.3 they removed the web UI. https://docs.influxdata.com/chronograf/v1.3/guides/transition-web-admin-interface/
This UI was useful for querying the database when creating custom queries (graphs) in Grafana. The replacement is called Chronograf and I suggest you include it in open-nti.
Thanks

Chronograf listens on a new port, 8888 by default


Add more testing tips for specific devices

The pre-commit is complaining about a year old keyword name being too long. I am not sure what can I do with it.

maybe precommit config changed recently?


Update github-privacy-statement.md

<EMAIL_ADDRESS>
Why:
Closes [issue link]

What's being changed:

Check off the following:

[x] I have reviewed my changes in staging (look for "Automatically generated comment" and click Modified to view your latest changes).
[x] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

Em qua., 23 de fev. de 2022 21:31, welcome[bot] @.***>
escreveu:

Thanks for opening this pull request! A GitHub docs team member should be
by to give feedback soon. In the meantime, please check out the contributing
guidelines https://github.com/github/docs/blob/main/CONTRIBUTING.md.
—
Reply to this email directly, view it on GitHub
https://github.com/github/docs/pull/15790#issuecomment-1049362440, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AX5NBNSMZFL5VSYU55JMIT3U4V36DANCNFSM5PF5BD2Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


Binomial Coefficient Problem using C++ in DP section

Hey @smv1999 I want to add Binomial Coefficient Problem in DP section using c++ , it would be really great if you could assign this issue to me.

Sure @i-priyanshu , you can go ahead !


Some android debugging

Fixed few android errors and workaround for #84, just to set up somehow working application. You may use at least some of them if you like, but definitely, migration to up-to-date android mapbox sdk is necessary, cause there's no legacy documentation available on mapbox and the code is unmaintainable.  ios implementation seems to work nice.

Were you able to implement the mapStyle feature ? In previous iterations changing the mapStyle url caused the app to crash

Unfortunately, it causes a crash.


State that no more than one handler is allowed per lifecycle event

PR summary:

States that no more than one handler is allowed per life cycle event
Fixes #25468

Page preview: https://deploy-preview-25547--kubernetes-io-master-staging.netlify.app/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/

/approve