Update  instructions

Instructions seem outdated you can't use -- mobile anymore in angular-cli so the instructions should  include the latest working version of angular-cli and/or the manual steps needed if the user want's to create the mobile version without angular-cli . Option B : create a boilerplate and ask users to download that (as per early versions of polymer toolkit) and skip mentioning angular-cli.

I got the same issue. I follow the instruction but cannot working.

here's a repo with module packages outside the cli https://github.com/webmaxru/pwa-guide-ngpoland/tree/step-dashboard

Detailed instruction on how to set up Angular Service Worker: https://docs.google.com/document/d/19S5ozevWighny788nI99worpcIMDnwWVmaJDGf_RoDY/edit#heading=h.hurtxqcgmrb
Shortcut link for the Angular Mobile Toolkit workshop is: http://bit.ly/pwa-ng-nl

thanks

@webmaxru Would be great to update the README with those links.

@hacknaked I'm working on updating the docs

how do i get app-shell working @webmaxru i was able to follow your guide and get the SW properly setup, but there is no guide on using '@angular/app-shell' with angular 4.0.3. Please help.

@forssri I'd wait with trying to combine the current version of @angular/app-shell with Angular 4. There are working PoCs of app-shell working with Angular 2, but after merging Universal APIs to Angular 4, some updates from CLI/Universal/Mobile teams needed.
Please note: despite its name, @angular/app-shell is actually advanced app shell, with server-side rendering and improved developer experience. The regular app shell for your PWA is what StaticContentCache plugin from @angular/service-worker does.


Permission denied

The image's tag that I'm using is lts, and I don't know the root's passwd.
So I can't install a docker by apt in the container

I doubt you really want to do so.
If you need to install any additional tools, you should extend the image

I doubt you really want to do so.
If you need to install any additional tools, you should extend the image

I get it, thank you!


[LexicalCases] Support a list of strings or files as input

A list of strings or files should be processed like multiple wikipedia articles.
LexicalCases[{string1, string2, ...}, LexicalPattern[...]]

I'm thinking LexicalCases shouldn't be Listable, and a list of Strings or Files should return a summary object much like the Wikipedia stuff works.

In[5]:= LexicalCases[strings, mslp]

(kernel 7) PreIncrement::rvalue :  Private`ArticleIndex is not a variable with a value, so its value cannot be changed.

(kernel 8) PreIncrement::rvalue :  Private`ArticleIndex is not a variable with a value, so its value cannot be changed.

(kernel 6) PreIncrement::rvalue :  Private`ArticleIndex is not a variable with a value, so its value cannot be changed.

Out[5]= {<|"Article" -> "1", "Match" -> "cool string",
  "Position" -> {{13, 23}}|>, <|"Article" -> "2",
  "Match" -> "weird string",
  "Position" -> {{17, 28}}|>, <|"Article" -> "3",
  "Match" -> "nice string", "Position" -> {{3, 13}}|>}

Getting PreIncrement errors


⚠ Processors has degraded performance

In a9df008, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 89 ms

Resolved: Processors performance has improved in 1e712a6.


configuration option/variable "cache" in .npmrc is messing with eg. local nvm

Is there an existing issue for this?

[X] I have searched the existing issues

Run a Diagnostic and Paste Link Here
No response
Current Behavior
I'm not sure which version introduced the following behaviour, but for me it's present in eg. arch linux and mac os 12.5  (m1).
ddev: v1.20.0
When executing ddev restart in my ggdb project the value
cache = "/mnt/ddev-global-cache/npm/ggdb-web"
is added to my (local) $HOME/.npmrc, which I assume is probably mounted/shared somewhere, where ddev writes to it.
But cache beeing "global" completely messes with my locally installed nvm.
if I use eg. nvm use 16 or nvm use default locally, npm, npx etc. are in an unusable state, whereas everything works, when I delete the "cache-line" from the .npmrc.
I'm very sorry, if this is my own fault and I somehow "accidentally" added this value to my .npmrc by myself via a ddev-config option.
But since it's so specific, I'm almost 100% sure I did not do that manually and purposely on both my laptops and OSes .
Expected Behavior
ddev only reading my local .npmrc or use "ddev-project-namespaced" config values when writing values to it.
For example using something like cache-ddev-ggdb-web  or ddev:cache:ggdb-web if it is at all needed...
; "user" config from $HOME/.npmrc
//cache = "/mnt/ddev-global-cache/npm/ggdb-web"
ddev:cache:ggdb-web = "/mnt/ddev-global-cache/npm/ggdb-web"

Steps To Reproduce
No response
Anything else?
No response

Hi @koernchen02 - You have symlinked your host-side .npmrc into the homeadditions, either ~/.ddev/homeadditions or project .ddev/homeadditions. DDEV doesn't do anything to any .npmrc except the one inside the container. It doesn't even know that your host-side .npmrc exists, and doesn't read it.
To fix the problem, remove ~/.ddev/homeadditions/.npmrc. You may then want to copy it in there
DDEV on startup in v1.20.0 does a npm config set cache /mnt/ddev-global-cache/npm/${HOSTNAME} inside the web container but that affects your host-side .npmrc because you have linked it in there.

Thanks for your concise feedback.  That solved all my problems.
I misunderstood how to provide .npmrc values and shared my local .npmrc in a bad way:
I had it mounted as a "volume" via a custom docker-compose.mounts.yaml but the result was exactly what you assumed.
In future I will use the homeadditions (copy) approach and now I'm aware that the in-container npm might interact with the file!
Thanks again for your time and effort and first of all for ddev in general!
I tried so many different approaches before using ddev and none matches the portability and flexibilty of it.

Glad it's working for you!


17.03 channel asks user to install unavailable and outdated version of oraclejdk8

Issue description
Please go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html to download it yourself, and add it to the Nix store
using either
  nix-store --add-fixed sha256 jdk-8u141-linux-x64.tar.gz
or
  nix-prefetch-url --type sha256 file:///path/to/jdk-8u141-linux-x64.tar.gz

Steps to reproduce
nixos-rebuild switch -I nixpkgs=http://nixos.org/channels/nixos-17.03/nixexprs.tar.xz with configuration.nix containing oraclejdk8.
Technical details

System: (NixOS: nixos-version, Ubuntu/Fedora: lsb_release -a, ...)
Nix version: 1.11.8
Nixpkgs version: (run nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion)
Sandboxing enabled: false

There is a java archive page for older releases. http://www.oracle.com/technetwork/java/javase/downloads/java-archive-javase8-2177648.html

That requires an account.
I'd also prefer not to install software which is not recommended by a vendor anymore. I expect that stable NixOS upgrades continue to work when vendors change some URLs from time to time.

The purpose of stable channels is to receive only security updates and important bugfixes.  I don't know if this is the case; it's certainly not a simple "URL change" but an update.  We don't even have oraclejdk8.meta.maintainers...
As for Oracle requiring accounts etc., nixpkgs can't help that one at all.

I'm not sure how it works. According to this update 144 is a limited update where update 141 is a critical update. I think the only way to follow the vendor's advice is to create a packageOverride for oraclejdk8.

Why does the following still try to download the 141 version?
    nixpkgs.config.packageOverrides = pkgs: {
      oraclejdk8 = pkgs.oraclejdk8.overrideAttrs (oldAttrs: {
	  productVersion = "8";
	  patchVersion = "144";
	  downloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html;
	  sha256_i686 = "1i5pginc65xl5vxzwid21ykakmfkqn59v3g01vpr94v28w30jk32";
	  sha256_x86_64 = "1r5axvr8dg2qmr4zjanj73sk9x50m7p0w3vddz8c6ckgav7438z8";
	  sha256_armv7l = "10r3nyssx8piyjaspravwgj2bnq4537041pn0lz4fk5b3473kgfb";
	  jceName = "jce_policy-8.zip";
	  jceDownloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html;
	  sha256JCE = "0n8b6b8qmwb14lllk2lk1q1ahd3za9fnjigz5xn65mpg48whl0pk";
	  });
      };
  };

environment.systemPackages = with pkgs; [ oraclejdk8 ];

These names are not (direct) attributes to the resulting mkDerivation call.

How can I see what the direct attributes are?

The mkDerivation function is passed an attribute set/map, so those attributes.  I'm not sure what else is there to explain.

How about an example, since it's not clear at all what you mean?

@mkocha2 So I believe @vcunat is talking about this mkDerivation call. So if you look at the top of the file you can see these attributes being passed in, and you'll have to see how mkDerivation uses these passed in variables to override the correct attributes properly. For example I think you'll have to override the name attribute like so:
{
  nixpkgs.config.packageOverrides = pkgs: {
    oraclejdk8 = let
      productVersion = "8";
      patchVersion = "144";
      downloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html;
      sha256_i686 = "1i5pginc65xl5vxzwid21ykakmfkqn59v3g01vpr94v28w30jk32";
      sha256_x86_64 = "1r5axvr8dg2qmr4zjanj73sk9x50m7p0w3vddz8c6ckgav7438z8";
      sha256_armv7l = "10r3nyssx8piyjaspravwgj2bnq4537041pn0lz4fk5b3473kgfb";
      jceName = "jce_policy-8.zip";
      jceDownloadUrl = http://www.oracle.com/technetwork/java/javase/downloads/jce8-download-2133166.html;
      sha256JCE = "0n8b6b8qmwb14lllk2lk1q1ahd3za9fnjigz5xn65mpg48whl0pk";
    in pkgs.oraclejdk8.overrideAttrs (oldAttrs: {
      name = "oraclejdk-${productVersion}u${patchVersion}";
    });
  };
}

(And remember you can access the mkDerivation attributes from that file with oldAttrs.) I haven't tested this though! 😕 But I hope this helps somewhat.

Fixed in 17.09 according to #29675.


Grey bar and Fade misplaced

There are some issues with a grey bar appearing and fade on the text input bar being misplaced
Screenshot

Thanks for your time

Can confirm I am getting the same grey box issue.

bruh


how can get select2 4.0.x data=>text

i can get .val() => ["data"]
but i want get the text
how can i do ?

i can't get my selected text
i can get the val use $("#List").select2().val();
but i want get my selected text
how can i do it ??

Just access the object as normal, as though it weren't a select2 object.
$("#List").text()

$('#List).select2('data')[0].text;

+1


Narrator gives inappropriate announcement on selecting text in 'Search' edit field.

Describe the bug
When selecting text content in the Search box (in the navigation menu), the Narrator announces 'A document selected', instead of the text.
Steps to reproduce the bug
Steps to reproduce the behavior:

Open the Xaml Controls Gallery app and the narrator.
Type something in the Search box.
Select the text in the Search box (Ctrl + A). (Consistently reproducible if the narrator focus is on a single letter.)
See that narrator does not announce the selected text, and instead reads out 'A document selected'.

Expected behavior
Selected text is read out by the narrator.
Version Info
NuGet package version:
2.3.191211002 and 2.2.190917002

Windows 10 version
Saw the problem?

Insider Build (xxxxx)

November 2019 Update (18363)
Yes

May 2019 Update (18362)

October 2018 Update (17763)

April 2018 Update (17134)

Fall Creators Update (16299)

Creators Update (15063)

Device form factor
Saw the problem?

Desktop
Yes

Mobile

Xbox

Surface Hub

IoT

Based on internal discussion with Narrator team, this behavior is by design.


Screenshot of Live Server version

Hi @ShaweTeaBae
First step  - setup GitHub pages on your assignment 02 repo.
(Set the Branch to Main and then check the actions tab)

Done and Done

One issue, case sensitivity.
Your Images folder in GitHub has an uppercase I but your links are all lowercase I
You could either rename your folder in GitHub or rename all of your links.
Uppercase i

Lowercase i
https://github.com/imd1005-web-development-winter-2023/assignment-02-ShaweTeaBae/blob/1865b4e1e2ab53c9a63f2ed12ff9706edb85dddc/index.html#L37

Hi @ShaweTeaBae
One more image path to fix up - the spaces in the filename are causing issues (pretty sure).

Here is what I'm getting in Live Server on my machine.
Are there perhaps other files or assets or code that was left out of the assignment-02 repo?

Hi @ShaweTeaBae

You can see that all my animations and inputs work, as well all my elements are there. But the display is wrong, it's supposed to be just like the live server. I have provided proof on how it's supposed to look like, I'm not sure why github is acting like this. Is this enough to prove I've done all the work?

I'm absolutely happy to work with you, and also happy to give you more time to sort this out. If you need an extra 48 hours to figure this out I'm happy to give it to you.
Here's my only concern - when I run your code (assignment-02-repo) on my machine with live server I get the above screenshot. So it's not working perfectly for me sadly.
I think what might be happening is that some fonts that are installed on your machine aren't installed on my machine and so it's not rendering exactly like you have for me. For example, I don't have Niagara-solid on my machine.
https://github.com/imd1005-web-development-winter-2023/assignment-02-ShaweTeaBae/blob/430d42fbfd8e0e49719cfba6034afa9c4273a09b/style.css#L4

Thank you very much for the assistance, fortunately I was successfully able to fixe all the issues. As for the font, I could give you the zip file for it. Would that fix the issue? Again, I thank you for your assistance and offer of extra time, I really do appreciate it.

For the fonts: https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Web_fonts
That web page explains it better than I could.
Also, I ran your code through the Validator, there are a couple issues that came up that you may want to look at:
Validator link
https://validator.w3.org/nu/?doc=https%3A%2F%2Fimd1005-web-development-winter-2023.github.io%2Fassignment-02-ShaweTeaBae%2F
Screenshot


inference for test

Hi, how run inference for retrieval test image?

Hi, have you found a way to retrieval a test image and calculate the mAP?


(GH-125) Make Header ID optional

Fixes #125
Previously the Id parameter to New-BTHeader was mandatory however as it can be
a generated unique string it doesn't have to be.  This commit modifies the
Id parameter so it is no longer mandatory and uses a GUID style string as the
autogenerated Id if none is passed.  GUIDs are used instead of, say, the title
because they are guaranteed to be unique whereas using the title or date/time
could cause notification Id collisions.
This commit also adds a test to ensure that the function can be called without
the -Id parameter and that it is actually generated, not left as null or an
empty string.

Awesome, thanks @glennsarti!
Just to talk through this a bit... I think in this case ID collisions are expected (and for most users that aren't supplying their own, desired).
I might be wrong on this point so keen on bounce the use cases around.
This works great if you're creating one header object and re-using it inside one script:
$Id = $Id = 'ID' + (New-Guid).ToString().Replace('-','').ToUpper()
$Header = New-BTHeader -Title 'Example Header' -Id $Id

New-BurntToastNotification -Header $Header -Text 'Toast 1'
New-BurntToastNotification -Header $Header -Text 'Toast 2'
New-BurntToastNotification -Header $Header -Text 'Toast 3'

This will result in the toasts appearing under the same header as expected.

However, if it's a one toast per script run and the script is run multiple times, the toasts will show under different headings:
# Script run 1

$Id = $Id = 'ID' + (New-Guid).ToString().Replace('-','').ToUpper()
$Header = New-BTHeader -Title 'Example Header' -Id $Id

New-BurntToastNotification -Header $Header -Text 'Toast 1'

# Script run 2

$Id = $Id = 'ID' + (New-Guid).ToString().Replace('-','').ToUpper()
$Header = New-BTHeader -Title 'Example Header' -Id $Id

New-BurntToastNotification -Header $Header -Text 'Toast 2'

# Script run 3

$Id = $Id = 'ID' + (New-Guid).ToString().Replace('-','').ToUpper()
$Header = New-BTHeader -Title 'Example Header' -Id $Id

New-BurntToastNotification -Header $Header -Text 'Toast 3'

I think in that second case a "regalur" user would expect the headings to match (given that all they would be supplying after this PR is the title and the ID will be invisible to them).
Maybe worth a poll?

I have the opposite view but that's mainly due to New-BTHeader.  That should be creating a new resource, not re-using an existing one. So in the absence of specific information, that is having to guess an ID, it should defer to making a new header
I'd also argue that what I wrote actually preserves the existing script behaviour where you'd have to know the Header ID across script invocations.

Managing state across script invocations is tricky. Currently that burden is on the user of the module (because the Id is Mandatory).
Perhaps an additional helper method is needed Get-BTHeader -Title "something" ?
Which would go through the Toast History looking for a toast notification with a header title of 'something' and then return that header object ?

@glennsarti having mulled it over a bit, I think you're 100% correct.
If maintaining heading id is important, it should be hardcoded in the calling script (or reliably generate) as it would have to be today anyway.
The helper function you mentioned would be a good addition too, and I've spun that comment off into an issue.

Thanks @Windos !!


use fsspec as ObjectStore backend

Of the required methods of the ObjectStore trait, they mostly seem pretty straightforward. I'd probably start with implementing delete, list, get_opts, and copy, and leave put_opts and especially put_multipart_opts for future work.
put_opts
Should be straightforward with put_file.
put_multipart_opts
Not sure if this one is really possible? At any rate, best to leave as todo!() and come back to later.
get_opts
This should be pretty easy to implement with cat_ranges
delete
Easy with _rm.
list
Should be possible with _ls.
Would need to ensure we can create an ObjectMeta out of the response.

Can we assume the response has a timestamp?

list_with_delimiter
Would need to create common_prefixes in the ListResult.
copy
Should be easy with copy
copy_if_not_exists
Not sure if fsspec has this natively, but we can fake it (subject to race conditions) by first checking exists.
get_ranges
ObjectStore::get_ranges is not a required trait method, but we could implement it if we want the coalescing to happen on the fsspec side rather than the object-store side.
cc @martindurant

This should be moved to https://github.com/developmentseed/object-store-rs


Better docs for VS Code (and Jetbrains IDE) setup

We should improve the "Editor setup" docs and add more docs about VS Code and also about the Jetbrains plugins created by our community.

Sublimetext

I am a VS Code user and have been exploring the prisma.vscode-graphql extension the past couple of days, and eventually came here to create a similar issue.
My first impression was very positive, but for now I found it too time consuming trying to configure it fully partly due to my difficulty in finding appropriate documentation.
The links regarding watchman and graphql-config under the Usage-section in the github readme could use some attention, as the former is 404 and the latter ultimately leads you to https://graphql-config.com/introduction which mentions files other than the concrete .graphqlconfig expected by the extension.

@ltlian Indeed, @nikolasburk' issue here only refers to https://github.com/prisma/vscode which is the main VSCode extension for Prisma 2.
I will hide both your and my comment now as "Offtopic".

Vim :D

We even have language server properly working there


Default 'source' to 'false' for stats

What kind of change does this PR introduce?
config
Did you add tests for your changes?
no
Does this PR introduce a breaking change?
yes
What needs to be documented once your changes are merged?
source now defaults to false for stats

Thanks


Save File Button of New Jupiter User Interface

Environment data

VS Code version: 1.57.0 (Universal)
Jupyter Extension version (available under the Extensions sidebar): v2021.6.999406279
Python Extension version (available under the Extensions sidebar): Pylance v2021.6.1
OS (Windows | Mac | Linux distro) and version: MacOS 11.4
Python and/or Anaconda version: Python3.9.5
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Jupyter server running: Local | Remote | : Local

Expected behaviour
Similar to previous user interface, there is a floppy disk icon for saving ipynb file
Actual behaviour
I can't find the save-file button icon in the new UI
I have upgraded my Jupyter extension to the latest version and it suddenly changes to the new user-interface. In previous UI,  there is a floppy disk icon for saving ipynb file. However, I cannot find such icon and the corresponding save-file button in the new user-interface. May I ask where is the save-file button in the new UI?
Old UI:

New UI:

Thanks for the bug. The new UI does not have a save file button on the toolbar. Instead you have to use a keyboard shortcut or the 'File | Save' menu.


test: automation tests for Transactions + Withdrawal API

What ❔
Increase automation coverage with next test cases:
Transactions: -> DONE ✅
https://allure.matterlabs.dev/project/11/test-cases/1509 ✅
https://allure.matterlabs.dev/project/11/test-cases/1452 ✅
Withdrawal API: -DONE ✅
https://allure.matterlabs.dev/project/11/test-cases/1459 ✅
https://allure.matterlabs.dev/project/11/test-cases/1460 ✅
https://allure.matterlabs.dev/project/11/test-cases/1461 ✅
Why ❔
Extend automation test coverage with new areas of coverage.
Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.

@pcheremu closing this PR due to the fact, that these fixes were already present in integration-test-signed branch.
After rebase - no changes left.


Added: example multispectral image

.tiff and .tfw files
shqape file and co.

Example with the multispectral image


Allow nil segments to noop instead of panic

I'm using X-Ray like this:
The initialization portion:
// XRayMissingCtxNOOP makes the XRay configuration not panic if the XRay context is missing
type XRayMissingCtxNOOP struct{}

func (XRayMissingCtxNOOP) ContextMissing(v interface{}) {}

// in the app initialization part:
func someFunc() {
	xray.Configure(xray.Config{
		DaemonAddr:     "<IP_ADDRESS>:2000",
		LogLevel:       "warn",
		ServiceVersion: serviceVersion,
		ContextMissingStrategy: XRayMissingCtxNOOP{},
	})
}

// XRayHandler allows for the request tracing
func (a *App) XRayHandler(next http.HandlerFunc) http.HandlerFunc {
	if a.fsn != nil {
		return func(w http.ResponseWriter, r *http.Request) {
			if a.shouldTrace() {
				xray.Handler(a.fsn, http.HandlerFunc(next)).ServeHTTP(w, r)
			} else {
				next(w, r)
			}
		}
	}

	return next
}

The handlers all are:
func someHandler() {
	_, subSeg := xray.BeginSubsegment(r.Context(), "http.guaranteedSend")
	var err error
	subSeg.Close(err)
	// code...
}

But the problem is that whenever I don't inject the xray context in it, Close() will panic.
As such, this PR no-ops the operations that are used on segments.
If there's a better way to address this, please let me know.

close it for now since it hasn't been updated more than a year and feel free to reopen it.


Invalid Value for Enum '\Xendit\Invoice\BankCode'

I got this error message when I tried to create an invoice.

I tried doing as instructed in this readme file
https://github.com/xendit/xendit-php/blob/master/docs/Invoice/InvoiceApi.md#createInvoice
here is my code

I tried tracking where it went wrong using dd() and I found out that it is in line 212 of InvoiceApi.php from the ObjectSerializer::deserialize.

Can someone help me?

Hello @IMYELI apologies on this and thank you for bringing this up to us. I've raised this to the relevant team and they're working to update the bank codes now 🙏

Thankyou for the response. I'll wait for follow up regarding this matter.

@IMYELI thanks for your patience, could you upgrade to v3.2.0? We have pushed the fix to this version.

Closing this as I assume the fix works already 🙏


workqueue metrics do not work.

Due to the do.Once in this:
https://github.com/kubernetes/client-go/blob/master/util/workqueue/metrics.go#L217-L227
This causes these 2 items to go first.
vendor/k8s.io/apiserver/pkg/endpoints/filters/storageversion.go:	_ "k8s.io/component-base/metrics/prometheus/workqueue" // for workqueue metric registration
vendor/k8s.io/apiserver/pkg/storageversion/manager.go:	_ "k8s.io/component-base/metrics/prometheus/workqueue" // for workqueue metric registration

Then finally
https://github.com/kubernetes-sigs/kubefed/blob/master/cmd/controller-manager/app/controller-manager.go#L117
which has the doOnce flag already set from the other two and will not register.
/kind bug

I'm sorry but I've not got your point,

Due to the do.Once in this:
https://github.com/kubernetes/client-go/blob/master/util/workqueue/metrics.go#L217-L227

Yes, metrics provider can only be set once, and that depends on who call SetProvider firstly.

This causes these 2 items to go first.
vendor/k8s.io/apiserver/pkg/endpoints/filters/storageversion.go:	_ "k8s.io/component-base/metrics/prometheus/workqueue" // for workqueue metric registration
vendor/k8s.io/apiserver/pkg/storageversion/manager.go:	_ "k8s.io/component-base/metrics/prometheus/workqueue" // for workqueue metric registration

Actually, SetProvider is called by two upstreams as I know, one is controller-runtime/pkg/metrics and the other is component-base/metrics, in the whole project, only controller-runtime/pkg/metrics is imported , so obviously metricsProvider will be registered and generated by controller-runtime.

Then finally
https://github.com/kubernetes-sigs/kubefed/blob/master/cmd/controller-manager/app/controller-manager.go#L117
which has the doOnce flag already set from the other two and will not register.
/kind bug

In the end, kubefed is only using the metricsRegistry defined in controller-runtime, for both workqueue metrics and some kubefed-inner metrics.
And I have been collecting workqueue metrics through PR #1371 in our product enviorments.

Hmm well i'm not sure what is going on then, but i'm building with make controller off master branch currently 16b2f5cc4f05c9e9b696970295f353c56d33aa3a
Anything different in your process or is there a public build server with the master releases, maybe i've done something wrong.

Nothing different I think, could you help to print collected metrics here?

I can show an example in ours,
workqueue_queue_duration_seconds_bucket{name="federatedtypeconfigs",le="1e-08"} 0
workqueue_queue_duration_seconds_bucket{name="federatedtypeconfigs",le="1e-07"} 0
workqueue_queue_duration_seconds_bucket{name="federatedtypeconfigs",le="1e-06"} 0
workqueue_queue_duration_seconds_bucket{name="federatedtypeconfigs",le="9.999999999999999e-06"} 0
workqueue_queue_duration_seconds_bucket{name="federatedtypeconfigs",le="9.999999999999999e-05"} 2
workqueue_queue_duration_seconds_bucket{name="federatedtypeconfigs",le="0.001"} 8
workqueue_queue_duration_seconds_bucket{name="federatedtypeconfigs",le="0.01"} 8
workqueue_queue_duration_seconds_bucket{name="federatedtypeconfigs",le="0.1"} 8
workqueue_queue_duration_seconds_bucket{name="federatedtypeconfigs",le="1"} 8
workqueue_queue_duration_seconds_bucket{name="federatedtypeconfigs",le="10"} 8
workqueue_queue_duration_seconds_bucket{name="federatedtypeconfigs",le="+Inf"} 8
workqueue_queue_duration_seconds_sum{name="federatedtypeconfigs"} 0.001559293
workqueue_queue_duration_seconds_count{name="federatedtypeconfigs"} 8

@mars1024  thanks for being patient with me.
Exact steps taken to ensure i have a 100% clean environment.
cd /tmp/
git clone git@github.com:kubernetes-sigs/kubefed.git
cd kubefed/
./scripts/download-binaries.sh
kind create cluster
make deploy.kind
kubectl -n kube-federation-system port-forward kubefed-controller-manager-7c9bc5555f-8qjpg 9090

First pod:
https://gist.github.com/tehlers320/d836db9a72e86a2f05c5a05397a6be30
Second pod:
https://gist.github.com/tehlers320/e5586c22aaf6844230b45fcbfddd4282

Did you ever run the controllers? I mean metrics are only visible after a valid collection.

@mars1024 ah thats a good point, ive been loading these into another kind cluster as well. But for cleanliness sake i added a federated namespace to the /tmp/kubefed cluster. Still no metrics.
Spec:
  Placement:
    Cluster Selector:
Status:
  Clusters:
    Name:    kind-kind
    Status:  ClusterNotReady
  Conditions:
    Last Transition Time:  2021-03-16T12:11:19Z
    Last Update Time:      2021-03-16T12:11:23Z
    Reason:                CheckClusters
    Status:                False
    Type:                  Propagation
  Observed Generation:     1
Events:
  Type     Reason           Age                From                           Message
  ----     ------           ----               ----                           -------
  Warning  ClusterNotReady  80s (x4 over 84s)  federatednamespace-controller  Cluster not ready

Is there some old version of something in a vendor folder? The docker builds still pickup vendor. If i change this to a version where i edited the client-go/workqueue/metrics.go in the same cluster
Master branch:
https://gist.github.com/tehlers320/553f74516363a7aaa8b0d68fabbc3379
Reloading my edited vendor version:
https://gist.github.com/tehlers320/bf3e4c7f2799378adb09f74fb854fd76

What do you mean by "reloading my edited vendor version"? I see the second gist contains the metrics what we expect.

What do you mean by "reloading my edited vendor version"? I see the second gist contains the metrics what we expect.

I have done
go mod vendor
and edited this line https://github.com/kubernetes/client-go/blob/master/util/workqueue/metrics.go#L217-L227 taking out the do.once to make this functional on Reloading my edited vendor version (built locally):

try to visualize the dependency tree between two metrics registers and kubefed,
➜  controller-manager git:() depth -explain sigs.k8s.io/controller-runtime/pkg/metrics .
. -> sigs.k8s.io/kubefed/cmd/controller-manager/app -> sigs.k8s.io/controller-runtime/pkg/metrics
. -> sigs.k8s.io/kubefed/cmd/controller-manager/app -> sigs.k8s.io/kubefed/cmd/controller-manager/app/leaderelection -> sigs.k8s.io/kubefed/cmd/controller-manager/app/options -> sigs.k8s.io/kubefed/pkg/controller/util -> sigs.k8s.io/kubefed/pkg/controller/util/ldcintegration -> sigs.k8s.io/kubefed/pkg/controller/util/ldcintegration/metrics -> sigs.k8s.io/controller-runtime/pkg/metrics
. -> sigs.k8s.io/kubefed/cmd/controller-manager/app -> sigs.k8s.io/kubefed/cmd/controller-manager/app/leaderelection -> sigs.k8s.io/kubefed/cmd/controller-manager/app/options -> sigs.k8s.io/kubefed/pkg/controller/util -> sigs.k8s.io/kubefed/pkg/metrics -> sigs.k8s.io/controller-runtime/pkg/metrics
➜  controller-manager git:() depth -explain k8s.io/component-base/metrics/prometheus/workqueue .

Seems k8s.io/component-base/metrics/prometheus/workqueue has never been imported, a little puzzled :)
Still working on this...

check the three packages who have indirect dependency on k8s.io/component-base/metrics/prometheus/workqueue,
➜  controller-manager git:(bugfix/worker) depth -explain k8s.io/component-base/metrics/prometheus/clientgo .
➜  controller-manager git:(bugfix/worker) depth -explain k8s.io/apiserver/pkg/storageversion .
. -> k8s.io/apiserver/pkg/server -> k8s.io/apiserver/pkg/storageversion
➜  controller-manager git:(bugfix/worker) depth -explain k8s.io/apiserver/pkg/endpoints/filters .
. -> k8s.io/apiserver/pkg/server -> k8s.io/apiserver/pkg/endpoints/filters

So, the two dependency paths below will have a race,
kubefed-controller-manager -> k8s.io/apiserver/pkg/server -> k8s.io/apiserver/pkg/storageversion -> k8s.io/component-base/metrics/prometheus/workqueue
kubefed-controller-manager -> sigs.k8s.io/kubefed/cmd/controller-manager/app -> sigs.k8s.io/controller-runtime/pkg/metrics

And the second metrics register（which we expect）will not work with the limitation of doOnce.

Thanks to @tehlers320 , I think this issue has been fixed, could you try again with the new version?

@mars1024
Sorry this does not resolve the issue. I tried this earlier as well.
This is what i built off of https://github.com/ExpediaInc/kubefed/commits/tehlers/metrics_and_reconcile which is current master + the reconcile patch.

/reopen

:?
Could you help to use depth tool to analyze the dependency trees about metrics?

@mars1024  i think i have it in this PR https://github.com/kubernetes-sigs/kubefed/pull/1386 if we can get our CLAs sorted out.

I see PR #1388 was merged just after v0.7.0 release, so maybe you need a private release for the metrics till v0.7.1 . @tehlers320

We could schedule a release tomorrow. I think we have couple of minor bug fixes.

Closing this issue as https://github.com/kubernetes-sigs/kubefed/pull/1388 got merged.


Add support for disable_progress_bar on Windows

This PR is a continuation of #2667 and adds support for utils.disable_progress_bar() on Windows when using multiprocessing. This answer on SO explains it nicely why the current approach would not work on Windows.

The CI failure seems unrelated to this PR (probably has something to do with Transformers).


proxyMetadata cannot be set with istioctl install; manifest generate works

$ cat <<EOF | istioctl install -y -d manifests/ -f -
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  meshConfig:
    defaultConfig:
      proxyMetadata:
        ISTIO_META_DNS_CAPTURE: "true"
        ISTIO_META_DNS_AUTO_ALLOCATE: "true"
EOF
✔ Istio core installed
✔ Istiod installed
✔ Ingress gateways installed
✔ Installation complete
$ ki get cm istio -oyaml | k neat
apiVersion: v1
data:
  mesh: |-
    defaultConfig:
      discoveryAddress: istiod.istio-system.svc:15012
      proxyMetadata:
        DNS_AGENT: ""
      tracing:
        zipkin:
          address: zipkin.istio-system:9411
    enablePrometheusMerge: true
    rootNamespace: istio-system
    trustDomain: cluster.local
  meshNetworks: 'networks: {}'

You can see the proxy metadata is dropped
But using generate works fine:
$ cat <<EOF | istioctl manifest generate -d manifests/ -f - | k grep ConfigMap/istio
apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  meshConfig:
    defaultConfig:
      proxyMetadata:
        ISTIO_META_DNS_CAPTURE: "true"
        ISTIO_META_DNS_AUTO_ALLOCATE: "true"
EOF

apiVersion: v1
kind: ConfigMap
metadata:
  name: istio
  namespace: istio-system
data:
  mesh: |-
    defaultConfig:
      discoveryAddress: istiod.istio-system.svc:15012
      proxyMetadata:
        DNS_AGENT: ""
        ISTIO_META_DNS_AUTO_ALLOCATE: "true"
        ISTIO_META_DNS_CAPTURE: "true"
      tracing:
        zipkin:
          address: zipkin.istio-system:9411
    enablePrometheusMerge: true
    rootNamespace: istio-system
    trustDomain: cluster.local

This is a regression in master, it works fine in Istio 1.8

This is a regression in master, it works fine in Istio 1.8

The root cause is that operator reads the IOP spec from Stdin, but it can only only read once, it will be empty for the following read after the first read, See: https://github.com/istio/istio/blob/d8ba753f90d8f87fd67b82938192dd54191ca19a/operator/pkg/manifest/shared.go#L249-L277
It will be OK if operator reads from file instead of Stdin.
I also found this also happens for upgrade case, because upgrade process also reads IOP spec from Stdin for multiple times.

The root cause is that operator reads the IOP spec from Stdin, but it can only only read once, it will be empty for the following read after the first read, See: https://github.com/istio/istio/blob/d8ba753f90d8f87fd67b82938192dd54191ca19a/operator/pkg/manifest/shared.go#L249-L277
It will be OK if operator reads from file instead of Stdin.
I also found this also happens for upgrade case, because upgrade process also reads IOP spec from Stdin for multiple times.

I wonder if this will also fix the problem in https://github.com/istio/istio/issues/29400 where
+echo 'apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  values:
    telemetry:
      v2:
        prometheus:
          configOverride:
            inboundSidecar:
              metrics:
                - name: requests_total
                  dimensions:
                    destination_port: string(destination.port)
                    request_host: request.host
            outboundSidecar:
              metrics:
                - name: requests_total
                  dimensions:
                    destination_port: string(destination.port)
                    request_host: request.host
            gateway:
              metrics:
                - name: requests_total
                  dimensions:
                    destination_port: string(destination.port)
                    request_host: request.host'
+istioctl install --set tag=1.9-alpha.d6406143dfe9130d1a76ac16079753d3d7b177e9 --set hub=gcr.io/istio-testing -y -f -

does not update?

I wonder if this will also fix the problem in https://github.com/istio/istio/issues/29400 where
+echo 'apiVersion: install.istio.io/v1alpha1
kind: IstioOperator
spec:
  values:
    telemetry:
      v2:
        prometheus:
          configOverride:
            inboundSidecar:
              metrics:
                - name: requests_total
                  dimensions:
                    destination_port: string(destination.port)
                    request_host: request.host
            outboundSidecar:
              metrics:
                - name: requests_total
                  dimensions:
                    destination_port: string(destination.port)
                    request_host: request.host
            gateway:
              metrics:
                - name: requests_total
                  dimensions:
                    destination_port: string(destination.port)
                    request_host: request.host'
+istioctl install --set tag=1.9-alpha.d6406143dfe9130d1a76ac16079753d3d7b177e9 --set hub=gcr.io/istio-testing -y -f -

does not update?

@ericvn It does fix issue that IOP spec is read from STDIN.

@ericvn It does fix issue that IOP spec is read from STDIN.

Just a note that a test that was fixed by the PR for this issue in master is failing in release-1.9. The PR should be in 1.9. I'm not sure if something regressed at this point or not.

Just a note that a test that was fixed by the PR for this issue in master is failing in release-1.9. The PR should be in 1.9. I'm not sure if something regressed at this point or not.


unable to find GCE ecodice in Integration

Hello,
I'm running HA 2022.7.7 in a docker.
I did the manual install but I'm not able to find any GCE or ecodevice in the integration menu after restarting my HA.
Is there anything that needs to be activated, in configuration.yaml for example or what do I miss?
Thanks for your help.
Lionel

Hello,
Just to click on "Add integration" button and search GCE
maybe you can install it from HACS to be sure ?


Not Able to Change Font

how the heck im able to change the font preference to get my zsh terminal work flawlessly with agnoster theme

Please complete the issue template when submitting issues - the template gives us some of the info we need to provide useful responses.
For example:
What version of the Terminal are you running, and on what OS version?
What are you seeing (annotated screenshots help)
What do you expect to see (again, annotated screenshots help)
How do we easily repro the problem you're seeing?

This could be a /dupe of #3257.


nodeService.push() async

Need to make this async, sillypants.

https://github.com/robotnoises/bebop/commit/4ecc01d54dee2c34c1fa564e7639b971e212343e


Fixed Footer Bug & Minor responsive fixes

Closes #1180

@smaranjitghose Please have a look at this.


Refactor database files

Database beacon api file is huge and it will keep growing, we need to split it into modules ideally without braking api.
https://github.com/ChainSafe/lodestar/blob/master/src/db/api/beacon/beacon.ts

I would maybe go and break api similar to OpPool. We could introduce Repository pattern with crud methods (you would pass encodeKey callback to parent constructor).

Some of the items stored in the db are nicely separable (eg: deposits, merkle tree, etc).
I think there may be some trickiness w/ blocks/states since there is more overlap eg setChainHeadRoots deals with both blocks and states.
We're also storing some "well known" roots, which we transparently fetch in eg: getFinalizedState, which does a Key -> root lookup, then root -> state lookup. My thought was that eventually we would have a wrapper caching layer that would store/fetch the "well known" things from memory and avoid the double-lookup.
This is all just fyi.

well, you could either keep those methods in root beacon db api class or create some util module that gets required db modules in constructor


Immutable empty query obj

console.log(ctx.query)
if (!ctx.query.sort) {
  ctx.query.sort = '-createdAt'
}
console.log(ctx.query)

Will yield {} and {} but if I pass anything in qs I correctly get {foo:'bar'} and {foo:'bar', sort: '-createdAt'}

i would do it this way:
ctx.query = {
  sort: '-createdAt',
  ...ctx.query,
}

does that work?

Does object spread work without a transpiler?

I am on 7.10 os I can't but I can Object.assign:
ctx.query = Object.assign({ sort: '-createdAt' }, ctx.query)

Or, looking at the getters setters behavior:
  if (!ctx.query.sort) {
    ctx.querystring = ctx.querystring || 'sort'
    ctx.query.sort = '-createdAt'
  }

Which version of koa do you use and are there any middlewares you use before the code?

@likegun<EMAIL_ADDRESS>no middleware

PR welcomed

Tried to reproduce this using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>with no luck so far. Wondering what am I doing wrong:
/app # npm ls
npm info it worked if it ends with ok
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>/app
`--<EMAIL_ADDRESS>extraneous

Source code:
const
  http = require("http"),
  Koa = require("koa"),
  app = new Koa(),

  PORT = 12345,
  URL = `http://localhost:${PORT}`;

app.use(ctx => {
  console.log(ctx.query)
  if (!ctx.query.sort)
    ctx.query.sort = "-createdAt"
  console.log(ctx.query)

  ctx.body = "Hello Koa";
});

app.listen(PORT);

http.get(URL, res => {
  res.setEncoding("utf8");
  let body = "";
  res.on("data", data => {
    body += data;
  });
  res.on("end", () => {
    console.log(body);
    process.exit(0);
  });
});

Result:
{}
{ sort: '-createdAt' }
Hello Koa

failed to reproduce this with<EMAIL_ADDRESS>

https://github.com/koajs/koa/blob/master/lib/request.js#L168 ctx.query will always point to the same object if ctx.querystring is not changed. @kilianc can you try to display more informations like ctx.querystring or ctx._querycache ?

@kilianc Failed to reproduce too.Can you display the full code?

I've hit a similar issue:
ctx.query = { date: new Date() }
console.log(ctx.query) // prints { "date": "" }

This is likely because the setter is using querystring which defaults all parameter types (like date) it does not support to an empty string https://nodejs.org/api/querystring.html#querystring_querystring_stringify_obj_sep_eq_options.
The workaround that works is to use Object.assign
Object.assign(ctx.query, { date: new Date() })
console.log(ctx.query) // prints the right value for the date

Koa 2.6.2.
Looking at https://github.com/koajs/koa/blob/ed84ee50da8ae3cd08056f944d061e00d06ed87f/lib/request.js#L172
I guess the goal of the getter is to not parse the querystring unless it's being accessed but is there a reason to have the setter be overridden?
This is tagged as PR welcomed: hat change would you be open to?

i'm not sure why you all are trying to overwrite query. i would just make a copy.
ctx.locals = {
  ...ctx.query,
  date: new Date()
}


Add docs on how to remove Ceph and etcd nodes

This would be good to add to the new node failover docs (or elsewhere). See #4277.

I'm not sure how this is different from http://docs.deis.io/en/latest/managing_deis/add_remove_host/ -- maybe we link to those docs in the new section?


[Propose] Support lower case

Before I spend time writing tests (there are none currently for these widgets) I wanted to get thoughts.
CheckBoxInput supports true, false in all case which can be seen here. https://github.com/django/django/blob/master/django/forms/widgets.py#L508
NullBooleanSelect only supports true false as 'True' or 'False'. I wanted to make them consistent because I ran into an issue when submitting GET requests through Javascript.  This can be seen here. https://github.com/django/django/blob/master/django/forms/widgets.py#L573

It might be better to go the route suggested in https://code.djangoproject.com/ticket/23681 which seems to ultimately result in deprecating this widget.


Add a test for sliceable cargo bounty exploits

About the PR

Adds an integration test to make sure that items that count for cargo bounties can't be sliced into pieces that count for the same bounty.
Also adjusts the bread and "meat food" bounties so they don't accept slices/cutlets, to make them in compliance with this test.
Why / Balance

Prevents issues like the ones fixed by #28255 from showing up again.
Technical details

Spawns each entity that has a SliceableComponent and tests if it counts toward any bounties. If it does, spawns the entity that it has set as its slice and tests to see if that also counts toward the same bounty.
To avoid repetition and bugs from future changes, CargoSystem now has a method EntityCountsForBountyEntry which is used internally and by the test.
Media

Code.

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

Nah.

Meat bounty pays so little its basically balanced around slices to be honest.

Meat bounty pays so little its basically balanced around slices to be honest.

Hm, I can switch it around then, so it only takes slices and doesn't accept unsliced meat.

yeah doing meat bounty without slicing it would either:

take more than 1 crate of monkeys at which point youve made a loss
take buying like 3 disaster pizza crates and hoping theyre all meaty

Flipped it around so the meat bounty only accepts slices/cutlets.


Fancy zones, used to be able to have no margin between zones

Description of the new feature / enhancement
As of 0.61.0 fancy zones there is a fairly large gap between zones. I'm sure in earlier versions you used to be able to configure that. If it's not configurable then there should be no gap at all, the same as when using windows snap.
Scenario when this would be used?
All the time, having the big margins is a waste of screen space and leaves less space for the windows.
Supporting information
No response

Hello, can you please provide more information?
Which layout do you use, template or the one you created? Is it grid or canvas? Did you try to change space around zones in the Editor?
In addition, /bugreport also will be helpful.
Thanks!

Aaah ignore this. I didn't understand the UI in the editor. When you use the layout editor I just didn't notice the edit icon on the templates. The big space for custom templates I was expecting to see the config for the selected template. But of course as I have just this second discovered that's not how it works.
Needs perhaps more of a split view, on the left the templates and custom group of layouts and on the right of the screen have the config for the selected layout.


test  !=  test

Specifically, "test" first doesn't allow arbitrary params array arguments with the -D prefix - e.g.:
zpm: VIRTUALSUMMIT>test zpm -only -DUnitTest.ManagerClass=TestCoverage.Manager

ERROR #5001: Unknown modifier for command 'test': DUnitTest.ManagerClass=TestCoverage.Manager
zpm: VIRTUALSUMMIT>zpm test -only -DUnitTest.ManagerClass=TestCoverage.Manager

[zpm]   Test START
[zpm]   Test FAILURE - ERROR #5002: ObjectScript error: <CLASS DOES NOT EXIST>zOnPhase+47^%ZPM.PackageManager.Developer.Processor.UnitTest.1 *TestCoverage.Manager
<CLASS DOES NOT EXIST>  zOnPhase+47^%ZPM.PackageManager.Developer.Processor.UnitTest.1 TestCoverage.Manager

May be a similar issue with other inversions of the module name and operation.

<command name="module-action" default="true" dataPrefix="D" trailingModifiers="true">

has dataPrefix="D"
while any module-action's command
<command name="test">

does not have dataPrefix
I think that dataPrefix="D" should be available by default for any command

I don't know about available by default, but that's definitely the root cause.


READMEi.install: Update the copr name

Coverage increased (+0.09%) to 88.889% when pulling a594273a34c24e6f2aea285e9613d99fd0de160d on EdDev:fix-install-readme-copr into 9eefdee101d277dfcc0ed3f67a00359ab1bdfa27 on nmstate:master.


Change array key spacing message from warning to error

As it's a hard rule mentioned in the core guide and most other spacing rules are enforced with errors, I suggest changing the enforcement of this rule from warning to error.

Maybe then should should become must in the error messages?
Please refresh the branch as the merge of #298 now creates a conflict with this.

Updated the wording & rebased. Should be fine now.


fix put image npe.

Summary

Test Plan

What's required for testing (prerequisites)?
What are the steps to reproduce (after prerequisites)?
Compatibility

OS
Implemented

iOS
✅❌

Android
✅❌

Checklist

[x] I have tested this on a device and a simulator
[ ] I added the documentation in README.md
[ ] I updated the typed files (TS and Flow)
[ ] I added a sample use of the API in the example project (example/App.js)

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Cannot delete kubeconfigs and add them again

This twitter user has issues with deleting and adding clusters again with Lens 5:
https://twitter.com/tomharrisonjr/status/1419868232983400450

We are just removing the "context" from kubeconfig when cluster is deleted through Lens Catalog. We implement it that way to ensure that the content is not entirely lost.
That said it currently works as intended, nevertheless we could reconsider other options.

I think that this will be resolved by #3473


FORMS-7154 Rich text editor is not supported on text-input in core co…

…mponent based forms

Description

Related Issue

Motivation and Context

How Has This Been Tested?

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)

Checklist:

[ ] I have signed the Adobe Open Source CLA.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes and the overall coverage did not decrease.
[ ] All unit tests pass on CircleCi.
[ ] I ran all tests locally and they pass.

Please fix the test case, and update the PR branch with dev


Current selection is lost when updating the list of options

If the list of options is changed while there is a selection, then the selection is still shown (also the items that are not in the list of options anymore). However, as soon as you select an item out of the list with updated options, the existing selection disappears and is replaced by this one selected item.
The desired behavior is that if the list of options is updated the selection is updated to only contain those items that are still in the list of options.

Fixed.


Update documentation

Update documentation
Uses a combination of nest_modules_by_prefix and groups_for_modules ex_doc options (docs https://hexdocs.pm/ex_doc/Mix.Tasks.Docs.html#module-nesting) to improve the generated ex_doc sidebar to be more readable. I do wish that ex_doc would give us some more options to control how the sidebar looks, in particular I wish there was an indicator to make it more obvious that a module is nested (currently there's just a .). In an earlier version of the PR there was a nice visual indicator: https://github.com/elixir-lang/ex_doc/pull/907#issuecomment-432152579
Before (https://hexdocs.pm/blue_heron/0.3.0/BlueHeron.html#transport/1):

After:

There's probably better grouping that could be made, but I figure by getting this in, it should be easy for one of the maintainers to improve.
Here's a zip with the generated docs:
docs.zip
Also updates credo and ex_doc

Thank you @axelson, this looks great 💜  Docs are unfortunately very neglected but I think this is a good start


Excluding .json from generating header comment

Hi,
How can I exclude *.json file from generating a header comment? I see a psi-header.changes-tracking.exclude property but no similar ones in the config examples.

It is the changes-tracking.exclude setting. From your other issue I can see you are using enforceHeading in changes tracking - this is what is causing headers to be created in your json files. This is discussed in this section of the documentation.
Regards
D

Thank you very much. Everything works now. You have an amazing plugin.

Excellent and thanks.
Regards
D


Debian wsl bash crashes at Installation via debian.exe

Issue

I was trying to Install WSL for Debian on Window 10 and encountering the problem of crashing whenever I start debian.exe file.

Things I have tried so far

Windows build number:  Version 10.0.17763.503

Enable Developer Mode but it encounters with Error no 0x800f0954 as "Developer mode is turned on. However, remote development and Windows Device Portal couldn't be found in Window Update, so they're not available. Error Code 0x800f0954 ", my window store is blocked from IT department so I guess this error is because of that, but I not sure if it has any effect on Installation of Debian WSL.

A screenshot is attached here!

I also activated "Windows Subsystem for Linux" at "Turn Window features on and off" and rebooted the PC so WSL is activated but if I try to check it via PowerShell, it through this error(Attached Screenshot).

I followed the process as per "https://docs.microsoft.com/en-us/windows/wsl/install-on-server" until unzip and then after double clicking on debian.exe, the bash get crash.

I tried the same procedure with OpenSUSE and Ubuntu and it worked with them but it does not work with Debian.

I saw some forum entries and found to uninstall by lxrun command in power shell or cmd prompt but my system can not recognize lxrun cmd too!

Any command or experience with debian will be helpful.
Thanks!
Best Regards,
Virendra

Your Windows build does not need Developer Mode to run Windows Subsystem for Linux.  If you do not see wsl.exe or bash.exe in \Windows\System32, the "Windows Subsystem for Linux" optional component is not installed.  Could you verify it is enabled and there were not errors enabling it?

wsl.exe is there at \Windows\System32 and there were no errors while enabling WSL!


MySql 8 installation GRANT fails

In installer.inc.php the GRANT to mysql.proc fails as that table has been finally retired.
$iseSqlPermissions[3] = "GRANT SELECT ON mysql.proc TO '{$_SESSION['iseusername']}'@'%'";
What are the thoughts on removing that line as the stored proc permissions should be granted by SELECT permission on the database.

May be best to actually note that the MySQL version requirement should be 5.7 and not to run with v8.  When trying to integrate the MySQL db with ISE and running the connection test while having Stored Procedures configured always shows the SP's as not existing.
Logging the queries on the mysql server shows the following query run as part of the connection test:
select name from mysql.proc where name='iPSK_FetchGroups' and db='ipsk' LIMIT 0, 25
Would appear that this reference to mysql.proc is hard coded in ISE (2.6 at least).  I'd say just easier to stick with ver 5.7 for MySQL at this point.

Understood, thank you for the feedback


Debian buster: Code analysis times out with external roslyn analyzers

Created a new project via the following commands:
dotnet new console --name testproj
cd testproj
dotnet add package Microsoft.CodeAnalysis.FxCopAnalyzers
dotnet add package StyleCop.Analyzers
dotnet restore

Then opened project in vscode with "omnisharp.useGlobalMono": "never" and "omnisharp.enableRoslynAnalyzers": true
Expected: Code analysis finishes successfully and problems appear in editor before building
Actual result: Code analysis times out
OmniSharp log
testproj.csproj contents:
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp2.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.2" />
    <PackageReference Include="StyleCop.Analyzers" Version="1.1.118">
      <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
      <PrivateAssets>all</PrivateAssets>
    </PackageReference>
  </ItemGroup>

</Project>

Narrowed down problem to Microsoft.CodeQuality.Analyzers. Probably an issue with dotnet/roslyn-analyzers rather than omnisharp...


[dv, chip] Fix for CSR RW test

This commit excludes the pinmux register wkup_cause from write-checks.
The justfication for this exclusion is as follows:

In CSR tests, we do not touch the IOs, so they appear as internally
pull-downs (0).
Random writes to pinmux wakeup detection registers may result in the
detection of a randomly chosen pin with value 0 for a programmed amount
of time.
This CSR will thus, read back a non-zero value which the CSR tests
cannot predict.
It is better to exclude this one register from write-checks than
excluding N wkup_detect_en registers from writes.

Signed-off-by: Srikrishna Iyer<EMAIL_ADDRESS>

@msfschaffner Could you review this PR?


Modify article about Software Design Patterns with Caching Patterns

Software Design Patterns
Category
Caching Patterns
Terminology

Merge into #72


Support multiple icons/tooltips in workbench toolbar based on context/when clause

TLDR: unify multiple distinct actions into a single action, with different icons/tooltips/functions based on notebook state
Details:
Currently in the notebook toolbar there is an action Go to that changes depending on the state of the notebook. Currently we have the following actions:

Go to Running cell
https://github.com/microsoft/vscode/blob/0aaacf4b1206f02b081296f49a14c3b3de45cb29/src/vs/workbench/contrib/notebook/browser/controller/executeActions.ts#L613-L654

Go to Most Recently Failed Cell
https://github.com/microsoft/vscode/blob/0aaacf4b1206f02b081296f49a14c3b3de45cb29/src/vs/workbench/contrib/notebook/browser/controller/executeActions.ts#L613-L654

Alongside these, there is a plan to add Go to Recently Run Cell with #185902. Before that can be merged, there's an issue with hiding these actions. With the current state of the notebook toolbar, if a user hides the Go to Recently Failed Cell action, they will still see the go to currently running cell action.
In the future, because Go To Recently Run Cell will be visible when the other two GoTo options aren't valid, the user should be able to hide the entire "goto suite" at the same time. Currently I don't believe that it's possible to unify these three actions into a single one.
cc: @jrieken // @sbatten // @rebornix

TLDR: unify multiple distinct actions into a single action, with different icons/tooltips/functions based on notebook state

Should this be understood as submenu which isn't a menu but a stack of actions where context keys define which action is on top?

Should this be understood as submenu which isn't a menu but a stack of actions where context keys define which action is on top?

I like this idea, it's worth a try.

Submenu for each action, with topmost action being populated as the rendered action. Override the standard submenu view to not render upon click, but rather execute the rendered or "topmost" action.


Add history

Make it possible to view earlier results.

Implemented historyfunction in commit: https://github.com/Sneakycloud/Priority-calculator/commit/daa5ab5d6ccdf2e8587823704bc729a2fd5e80f5


Update license.yml

[x] I have added the tests to cover my changes.
[x] I have updated the documentation and CHANGELOG accordingly.
[x] I have read the CONTRIBUTING document.

don't we have a pr for that already? I thought we were just waiting for confirmation from @wjcunningham7


quote_if_necessary is not bulletproof

Bug reproduction:
import pydot
g = pydot.Dot(root='"";""')
print(g.to_string())
g.write_png('out.png', prog='twopi')

Output:
digraph G {
root="";"";
}

['twopi', '-Tpng', '/tmp/tmp8wygs5cn'] return code: -11

stdout, stderr:
 b''
b''

Traceback (most recent call last):
  File "repro.py", line 4, in <module>
    g.write_png('out.png', prog='twopi')
  File ".../lib/python3.6/site-packages/pydot.py", line 1673, in new_method
    encoding=encoding)
  File ".../lib/python3.6/site-packages/pydot.py", line 1756, in write
    s = self.create(prog, format, encoding=encoding)
  File ".../lib/python3.6/site-packages/pydot.py", line 1884, in create
    assert p.returncode == 0, p.returncode
AssertionError: -11

That's because quote_if_necessary('"";""') returns False whereas some escaping needs to be done

It even fails pydot.quote_if_necessary("a,b") which is left unquoted.
We need a new goithub-label to mark all bugs with quoting,
and rewrite the needs_quotes().

This bit me as well. Strings containing a colon (:) are not quoted but should be.

I'll pile on as well.  The string '\\"' causes to_string() to generate invalid output.
import pydot

g = pydot.Dot()
g.add_node(pydot.Node("b", label='\\"'))
g2 = pydot.graph_from_dot_data(g.to_string())
assert g2 is not None, "Graph did not parse."

@stevenjswanson thanks for refreshing this issue! PyDot has been in a dead state for some time, but it was recently revived.
I'll look into this issue in free time.

I believe the situation is much improved in pydot 3.0.1, partly by the splitting of  ID and attribute quoting, but it seems there are still some improvements that could be made around escaping.
In graphviz, if you want quotation marks in a label you can either escape them, or use an HTML-like string. Either of these will correctly label a node ";":
node1 [label="\";\""];
node2 [label=<";">];

Unfortunately the escaping rules in pydot are still unchanged from previous versions, and they can be a little weird. They only trigger if a string doesn't start and end with " or </>. But when they trigger...

label='\";\"' becomes label=";" in the output, same as label='";"'. That's probably consistent with Python string handling.
label=r'\";\"' (note the raw string there) or label='\\";\\"' OR label='\\\";\\\"' all become label="\\\\";\\\\"" in the output, which seems completely messed up. It's effectively escaping the backslashes to make them present in the output, rather than using them as escape characters. But it's doing it... weird.
Oh, and just for fun label='\\\\";\\\\"' becomes label="\\\\\\";\\\\\\"". It's somehow going from 4 to 6 there, which is wrong no matter how you interpret it.

 (Meaning, the OP's '"";""' I don't really feel is valid, because how can pydot know the intent there? Is it meant to be "\";\""? \"\";\"\"?)
And that part of the logic seems to mostly work — if you pass pydot the string '"\\";\\""' (or r'"\";\""') as a label or node name, it will become "\\";\\"" which is correct. Similarly, pydot.Node("n", label='<";">') will be n [label=<";">]; in the to_string() output.
But when pydot's escaping logic does kick in, things get kind of insane, still.

Thank you all for your feedbacks.
I agree with your analysis @ferdnyc
Still, don't you think that pydot.quote_attr_if_necessary('"";""') should produce a warning or raise an error?

@Lucas-C

Still, don't you think that pydot.quote_attr_if_necessary('"";""') should produce a warning or raise an error?

Hmm. That's a good question.
Itself, directly... I don't think I do. Primarily because it's only ever called implicitly, and (now) only during output. Which is too late to decide that you've set a wrong value, IMHO.
If we're going to validate the values set for attributes or names, I think we need to do that when they're set, not when they're consumed. (Like how the constructors used to call quote_if_necessary() on the values passed in to them — but still it never warned or raised an exception. It just silently applied corrections to the value before it was stored, which turned out to be more annoying than helpful. See #180.)
I still don't think we'd be able to catch all bad values without actually parsing them — which we don't do and really don't want to do. Most likely we can't even catch most bad values.
So I'm not sure I'm willing to commit to making the quoting, as you say, "bulletproof", because ultimately we're passing these values to another program — dot, or whatever graphviz tool the user selects to process their graph definitions — and that tool is the final authority on valid syntax, not pydot. The more we meddle with the values the user supplies, the more likely we are to do more harm than good — like with the current auto-escaping.
Still, that being said, there are probably certain things we can detect, like unescaped quotes inside a quoted string. And rejecting those or at least warning the user about them — when they're set, rather than when generating output — wouldn't be a bad idea. But the moment our validation checks have any possibility of false positive errors, because they reject some string that, Oh! turns out, actually is valid in graphviz... that's the moment we're back to doing more harm than good.

The logging is already set up, so it could be used for warnings.
If it'd be on by default, the checking has to be really "narrow" and only scan for 100% certain errors. Don't want to annoy users with unwanted logs.
If it's opt-in, then probably no one would know about it because the user base is very stabilized and probably doesn't check updates unless something breaks.
A very minor thing to consider is performance, I've seen people complain about speed when creating insanely big graphs programmatically with pydot. That needs a separate issue, but I hope that kind of scan on every node creation wouldn't make this worse.

A very minor thing to consider is performance, I've seen people complain about speed when creating insanely big graphs programmatically with pydot. That needs a separate issue, but I hope that kind of scan on every node creation wouldn't make this worse.

That's a good point, we should probably at least give dot_parser a way to bypass those checks, since we can assume that all of its values are going to be legal graphviz syntax. A constructor argument _validate=False or whatever should suffice. (And it doesn't ever use the .set*() methods, so there's no need there. Unless we want to give users the same option.)
We could also make it configurable at the library level, though I don't love global configs like that.
(We can't tie the configuration to the top-level graph, because constructor calls are made before the objects are added to the graph. So that won't work unless we wanted to redesign the API so that nodes and edges are constructed using methods of their parent graph, e.g.):
g = pydot.Graph()
g.new_node(<constructor args>)
# implicitly executes:
# n = pydot.Node(<constructor args>, g.config_options)
# g.add_node(n)


Support extensions

Use sjson https://github.com/tidwall/sjson to support path like extensions. This will help fix things like tls wrapping.

Done! Added to readme and done in #11


Update Summary in README workflow failing

Describe the bug
The Update Summary in README workflow is failing because of a dependency change.

Error: Function yaml.safeLoad is removed in js-yaml 4. Use yaml.load instead, which is now safe by default.

Related to https://github.com/upptime/graphs/pull/57
To Reproduce
Steps to reproduce the behavior:

Run the workflow

Expected behavior
The workflow passes with the correct change.
Screenshots

I ran into this when adding a new endpoint, but afterward, it started running cleanly again.

I ran into this when adding a new endpoint, but afterward, it started running cleanly again.

This is fixed in https://github.com/upptime/uptime-monitor/releases/tag/v1.24.2. 😄

This is fixed in https://github.com/upptime/uptime-monitor/releases/tag/v1.24.2. 😄


Issue pulling projects

After dropping the database, the online version has some issues with fetching the projects of a user.
Checking error is clear that's happening because I haven't pushed the new enums.

Fixed once merged https://github.com/AndreaBarghigiani/profit-tracker/pull/14


Depth First Traversal

Yes! Pease reviews it.
I'm looking forward to more contribution.
FIxed #39

Please add some unit tests (test/com/jwetherell/algorithms/graph) and remove the main() method.

unit tests (test/com/jwetherell/algorithms/graph)

Actually, I never write before can you give one example about it.

remove the main() method.

Why??

See https://github.com/phishman3579/java-algorithms-implementation/blob/master/test/com/jwetherell/algorithms/graph/test/Graphs.java
Those are all the graph unit tests.
The main() method isn't needed since this is a library and all uses should use the depthFirstTraversal() method for all their needs.

Can somebody write my test code?
I do still clear about how to write the test cases for given the above example so, please...

I've updated your DFS code to use a Graph object and also added a unit test.
See: https://github.com/phishman3579/java-algorithms-implementation/blob/master/test/com/jwetherell/algorithms/graph/test/DepthFirstTraversalTest.java


chore: trying to use seed database instead of seeding for each PR

Thanks for the PR!
Deployments, as required, will be available below:

Backend
Frontend

Please create PRs in draft mode.  Mark as ready to enable:

Analysis Workflow

After merge, new images are deployed in:

Merge Workflow

its not working currently, I have asked in discord, lets see what we are getting from, https://discord.com/channels/1068276526740676708/1103388294382891149/1303159547589955605

closing it as seeding with template db has lot of issues around permission, will look at fine tuning the insert script to make it faster.

closing it, @nikhila-aot , @acoard-aot we can discuss, how to make the insert sql more efficient


Source Dataset autocompletion TypeError missing argument

Target Graph (required)
Graph name to load from the Databus
reports an error instead of suggestions

Hi,
I had a look and this is not a databus-plugin problem but rather a cmem problem, since it happens on the Target graph field, which is handled by cmem.
For me this sounds like a version problem, since @seebi once told me they introduced said context parameter at some point in time (I think it could be the upgrade for cmem-plugin-base from 1.2.0 to 2.1.0 in this commit) and it seems like you are trying using an new version of this "Graph Finding Plugin" inside of older cmem.
I think I had the same issue at one point, and the solution was to update cmem to the latest version. I think make clean-pull-start-bootstrap did the trick for me, have you tried this already?
But this are just more or less wild guesses,  @seebi can give you the real answer.

The cmem version I'm trying it on is v22.2.1-139-g7136de622. I don't see how it can be an old version.


Not Issue, Need Some example code.

Thank you for this great support,
Can you share one example code for BMI088 Accelerometer?

This library is coperative with grove.py
see https://github.com/Seeed-Studio/grove.py/blob/master/grove/grove_6_axis_accel_gyro_bmi088.py

Thank you for your response.

Thank you for your response.


how can i add custom style

can i use custom style instead of mapbox style?

I believe you meant to open this on the mapbox repo, we have nothing to do with project dependencies. Sorry!


Question about usage of VGG2-Model

Dear Serengil,
Thank you for you amazing code! I am using it for my research project. I have a small question: would it be possible in any way to use the VGG2-model weights  (for the VGG-model)?
With kind regards,
Bas

vggface2 is not a facial recognition model. it is a facial dataset to be used in facial recognition studies.


Network Operations

Implement the following operations for Networks

[x] Get Networks of a specific VirtualMachine
Private Networks

[x] Get private Networks
[x] Get private Network by Id
[x] Get IPs of a private Network

External Networks

[x] Get external Networks (ServiceNet = External Network)
[x] Get external Network by Id (ServiceNet = External Network)
[x] Get IPs of an external Network

Will be tracked via #4 VM Operations

The integration tests for external Networks are failing as there are no external Network present on the test environment.

Daniel created a sample external network for testing purposes. Since this network got created the all tests succeed.


create footer ui

create footer folder to add new different footer ui component .
till now 3 component are added

Additional footer
link footer
simple footer

Bro, make some quality content, this is a very basic design, and I recommend you add some styles

ok

should i change this and add new ones or what

change it and add styles

@thekavikumar you can assign me this issue . I can make good improvements in footer section


Window element disappears when changing skin

When you change the skin in a view, the window element is not visible.
Everything else uses the new skin with its fonts and so on.
Is the window element generated once before everything, because it is a must have root element ?
  //Not visible
TestText //Visible
TestButton //Visible

It's hard to tell without the LML code, could you paste it?

@online
@offline
@settings

`

@online
@offline
@settings

`

I meant screenshots of the application. ;)
Anyway, the only thing that seems suspicious in the LML template is the width of the window - table pads and button widths are greater than the width you set for the whole window, but I don't think it would cause such issues.
Skin changing code might cause the problem, try debugging that. Is the window still on the stage after the skin is changed? Does the new skin define a window style? If you made a typo, it's possible that the window defaults to no background and is simply transparent.
You can paste the skin changing code (just the code) and I'll check if there are any issues.

I had a logic error in it.
It now works.

It's OK, glad you worked it out.


Can't remove rEFIND

I'm sorry to ask your help but I can't remove rEFIND of my steam deck... could you help me pls ?

Are you trying to completely remove rEFInd or just to disable it to reinstall Windows? Are you following the instructions on my GitHub page or someone else's? My repo does not use a ~/1rEFInd-tools folder.

I try to completely remove rEFInd but it dosen't work(I followed the instructions ^^)

I just want to remove this screen

The quickest way would be to change the commands you typed to be:
sudo efibootmgr -b 0002 -B

sudo efibootmgr -b 0004 -B

Removing the files would require some additional steps, as outlined in the README.

"/path/to/refind-executable" isn't literally the path to the refind executable, it's just a placeholder.

The quickest way would be to change the commands you typed to be:
sudo efibootmgr -b 0002 -B

sudo efibootmgr -b 0004 -B

Removing the files would require some additional steps, as outlined in the README.

When I do this the entry keeps coming back on a second reboot

Same here

You need to also delete the Microsoft folder on the /esp partition.


scrolling Issue

What steps will reproduce the problem?
scroll on the tag list
What is the expected behavior? What do you get instead?
not scroll to next page when you reach the bottom of the tags
How often does this problem occur?
100%
What version of the program are you using? On what operating system?
v5.2.4
Please provide any additional information below
http://i.imgur.com/P2udycd.gifv

hmm.. for me all works well... strange

@MasterPetrik  it happens when you scroll the tag list on the left of the image window. When you reach the bottom but keep scrolling, it will change images (as if you scrolled when having the mouse on top of the image).


Better logging and flag validation

Validate that the schema of connect-proxy is http/https (http_dialer is unhappy otherwise)
Improve logging a big, show source/target/proxy addresses and certificate info in the log output
Don't log cipher suites in buildConfig because it gets called multiple times and duplicates the output

Log output on startup looks like this now:
[81533] 2017/09/14 12:59:58.651674 starting ghostunnel in client mode
[81533] 2017/09/14 12:59:58.656873 loaded certificate with common name 'server'
[81533] 2017/09/14 12:59:58.663123 using target address localhost:8443
[81533] 2017/09/14 12:59:58.663368 using HTTP(S) CONNECT proxy http://localhost:8081
[81533] 2017/09/14 12:59:58.677984 listening for connections on localhost:8080

Previously was:
[70235] 2017/09/14 11:28:25.050624 starting ghostunnel in client mode
[70235] 2017/09/14 11:28:25.057216 enabling cipher suites for 'AES' (4 cipher suites)
[70235] 2017/09/14 11:28:25.057231 enabling cipher suites for 'CHACHA' (2 cipher suites)
[70235] 2017/09/14 11:28:25.057344 enabling cipher suites for 'AES' (4 cipher suites)
[70235] 2017/09/14 11:28:25.057352 enabling cipher suites for 'CHACHA' (2 cipher suites)
[70235] 2017/09/14 11:28:25.064766 enabling cipher suites for 'AES' (4 cipher suites)
[70235] 2017/09/14 11:28:25.064782 enabling cipher suites for 'CHACHA' (2 cipher suites)


CI: ConformanceAKS: client-egress-to-echo-expression-deny: command terminated with exit code 28

From: https://github.com/cilium/cilium/actions/runs/3609902939/jobs/6083378949
cilium-sysdumps.zip
[.] Action [client-egress-to-echo-expression-deny/pod-to-pod/curl-0: cilium-test/client-784c67ffc4-29bsq (<IP_ADDRESS>) -> cilium-test/echo-other-node-f7549999-5659v (<IP_ADDRESS>:8080)]
🐛 Executing command [curl -vvv -w %{local_ip}:%{local_port} -> %{remote_ip}:%{remote_port} = %{response_code} --silent --fail --show-error --connect-timeout 5 --output /dev/null http://<IP_ADDRESS>:8080]
🐛 command "curl -vvv -w %{local_ip}:%{local_port} -> %{remote_ip}:%{remote_port} = %{response_code} --silent --fail --show-error --connect-timeout 5 --output /dev/null http://<IP_ADDRESS>:8080/" failed as expected: command terminated with exit code 28
🐛 Expecting egress drops for Action curl-1: Drop
[.] Action [client-egress-to-echo-expression-deny/pod-to-pod/curl-1: cilium-test/client-784c67ffc4-29bsq (<IP_ADDRESS>) -> cilium-test/echo-same-node-dc6b7fd9f-89p9w (<IP_ADDRESS>:8080)]
🐛 Executing command [curl -vvv -w %{local_ip}:%{local_port} -> %{remote_ip}:%{remote_port} = %{response_code} --silent --fail --show-error --connect-timeout 5 --output /dev/null http://<IP_ADDRESS>:8080]
🐛 command "curl -vvv -w %{local_ip}:%{local_port} -> %{remote_ip}:%{remote_port} = %{response_code} --silent --fail --show-error --connect-timeout 5 --output /dev/null http://<IP_ADDRESS>:8080/" failed as expected: command terminated with exit code 28
[-] Scenario [client-egress-to-echo-expression-deny/pod-to-pod]
[.] Action [client-egress-to-echo-expression-deny/pod-to-pod/curl-0: cilium-test/client2-67754cb6fb-mzmb2 (<IP_ADDRESS>) -> cilium-test/echo-same-node-dc6b7fd9f-89p9w (<IP_ADDRESS>:8080)]
🐛 Executing command [curl -vvv -w %{local_ip}:%{local_port} -> %{remote_ip}:%{remote_port} = %{response_code} --silent --fail --show-error --connect-timeout 5 --output /dev/null http://<IP_ADDRESS>:8080]
[.] Action [client-egress-to-echo-expression-deny/pod-to-pod/curl-1: cilium-test/client2-67754cb6fb-mzmb2 (<IP_ADDRESS>) -> cilium-test/echo-other-node-f7549999-5659v (<IP_ADDRESS>:8080)]
🐛 Executing command [curl -vvv -w %{local_ip}:%{local_port} -> %{remote_ip}:%{remote_port} = %{response_code} --silent --fail --show-error --connect-timeout 5 --output /dev/null http://<IP_ADDRESS>:8080]
❌ command "curl -vvv -w %{local_ip}:%{local_port} -> %{remote_ip}:%{remote_port} = %{response_code} --silent --fail --show-error --connect-timeout 5 --output /dev/null http://<IP_ADDRESS>:8080/" failed: command terminated with exit code 28

Tracing the Connection
Client side:
$ cat hubble-flows-cilium-rhxvg-20221203-195510.json | ~/hubble/hubble observe --port 50570 --numeric
Dec  3 19:55:05.766: <IP_ADDRESS>:50570 (ID:18091) <> <IP_ADDRESS>:8080 (ID:22565) from-endpoint FORWARDED (TCP Flags: SYN)
Dec  3 19:55:05.766: <IP_ADDRESS>:50570 (ID:18091) -> <IP_ADDRESS>:8080 (ID:22565) policy-verdict:L3-Only EGRESS ALLOWED (TCP Flags: SYN)
Dec  3 19:55:05.766: <IP_ADDRESS>:50570 (ID:18091) -> <IP_ADDRESS>:8080 (ID:22565) to-stack FORWARDED (TCP Flags: SYN)
Dec  3 19:55:06.766: <IP_ADDRESS>:50570 (ID:18091) <> <IP_ADDRESS>:8080 (ID:22565) from-endpoint FORWARDED (TCP Flags: SYN)
Dec  3 19:55:06.766: <IP_ADDRESS>:50570 (ID:18091) -> <IP_ADDRESS>:8080 (ID:22565) to-stack FORWARDED (TCP Flags: SYN)
Dec  3 19:55:08.782: <IP_ADDRESS>:50570 (ID:18091) <> <IP_ADDRESS>:8080 (ID:22565) from-endpoint FORWARDED (TCP Flags: SYN)
Dec  3 19:55:08.782: <IP_ADDRESS>:50570 (ID:18091) -> <IP_ADDRESS>:8080 (ID:22565) to-stack FORWARDED (TCP Flags: SYN)

SYN+ACK is never received.
Server side:
$ cat hubble-flows-cilium-98mnw-20221203-195510.json | ~/hubble/hubble observe --port 50570 --numeric
Dec  3 19:55:05.767: <IP_ADDRESS>:50570 (ID:18091) <> <IP_ADDRESS>:8080 (ID:22565) from-stack FORWARDED (TCP Flags: SYN)
Dec  3 19:55:05.767: <IP_ADDRESS>:50570 (ID:18091) -> <IP_ADDRESS>:8080 (ID:22565) policy-verdict:L3-Only INGRESS ALLOWED (TCP Flags: SYN)
Dec  3 19:55:05.767: <IP_ADDRESS>:50570 (ID:18091) -> <IP_ADDRESS>:8080 (ID:22565) to-endpoint FORWARDED (TCP Flags: SYN)
Dec  3 19:55:05.767: <IP_ADDRESS>:8080 (ID:22565) <> <IP_ADDRESS>:50570 (ID:18091) from-endpoint FORWARDED (TCP Flags: SYN, ACK)
Dec  3 19:55:06.768: <IP_ADDRESS>:50570 (ID:18091) <> <IP_ADDRESS>:8080 (ID:22565) from-stack FORWARDED (TCP Flags: SYN)
Dec  3 19:55:06.768: <IP_ADDRESS>:50570 (ID:18091) -> <IP_ADDRESS>:8080 (ID:22565) to-endpoint FORWARDED (TCP Flags: SYN)
Dec  3 19:55:06.768: <IP_ADDRESS>:8080 (ID:22565) <> <IP_ADDRESS>:50570 (ID:18091) from-endpoint FORWARDED (TCP Flags: SYN, ACK)
Dec  3 19:55:07.771: <IP_ADDRESS>:8080 (ID:22565) <> <IP_ADDRESS>:50570 (ID:18091) from-endpoint FORWARDED (TCP Flags: SYN, ACK)
Dec  3 19:55:08.783: <IP_ADDRESS>:50570 (ID:18091) <> <IP_ADDRESS>:8080 (ID:22565) from-stack FORWARDED (TCP Flags: SYN)
Dec  3 19:55:08.783: <IP_ADDRESS>:50570 (ID:18091) -> <IP_ADDRESS>:8080 (ID:22565) to-endpoint FORWARDED (TCP Flags: SYN)
Dec  3 19:55:08.783: <IP_ADDRESS>:8080 (ID:22565) <> <IP_ADDRESS>:50570 (ID:18091) from-endpoint FORWARDED (TCP Flags: SYN, ACK)
Dec  3 19:55:10.811: <IP_ADDRESS>:8080 (ID:22565) <> <IP_ADDRESS>:50570 (ID:18091) from-endpoint FORWARDED (TCP Flags: SYN, ACK)
Dec  3 19:55:14.875: <IP_ADDRESS>:8080 (ID:22565) <> <IP_ADDRESS>:50570 (ID:18091) from-endpoint FORWARDED (TCP Flags: SYN, ACK)

SYN+ACK is sent but seems it never leaves the first BPF program as we don't have a to-xxx after the from-endpoint. Most likely reason is that we are missing a packet trace event somewhere in the code.
Looking for Missing Packet Traces
Looking at the code, I found two possibles places where we could be dropping/forwarding this packet without emitting a packet trace event:

https://github.com/cilium/cilium/issues/22527
https://github.com/cilium/cilium/issues/22528

Checking the second first as it seems more likely to happen (forwarding case) than the first (vs. corner-case error cases).
Redirect to the Proxy
The second missing packet trace event corresponds to a case where we are sending a packet from the container to our proxy based on information from the CT map. We don't have a packet trace event to confirm, but we can check the CT map content, same as the code does:
$ git grep 50570 cilium-bugtool-cilium-98mnw-20221203-195510/cmd/cilium-bpf-ct-list-global.md
cilium-bugtool-cilium-98mnw-20221203-195510/cmd/cilium-bpf-ct-list-global.md:TCP IN <IP_ADDRESS>:50570 -> <IP_ADDRESS>:8080 expires=23291 RxPackets=9 RxBytes=711 RxFlagsSeen=0x1b LastRxReport=1681 TxPackets=6 TxBytes=444 TxFlagsSeen=0x12 LastTxReport=1687 Flags=0x0050 [ SeenNonSyn ProxyRedirect ] RevNAT=0 SourceSecurityID=18091 IfIndex=0

And indeed, we have a CT entry flagged with ProxyRedirect. Dumping the CNPs and the cilium policy get output (all from sysdump obviously, you think I'm crazy enough to attempt to reproduce a flake before I have its root cause?!) confirms that there are no L7 policies (DNS included).
We are most likely hitting https://github.com/cilium/cilium/issues/17459 once again.
Root Cause
https://github.com/cilium/cilium/issues/17459 should have been strongly mitigated (though not fixed) by https://github.com/cilium/cilium-cli/pull/558. But that reordering is a bit fragile because we don't have a good way to enforce it. So let's check that someone didn't partially undo https://github.com/cilium/cilium-cli/pull/558 since then.
And indeed! https://github.com/cilium/cilium-cli/commit/8c772b76d231d81ee66ca7c6f6d417dffa050b23 adds a bunch of connectivity tests with L7 redirects before tests without L7 redirects, partially undoing https://github.com/cilium/cilium-cli/pull/558.

This flake should be fixed by https://github.com/cilium/cilium-cli/pull/1261 once we update to CLI v1.12.12 (not yet released).

This was fixed with the new CLI release in https://github.com/cilium/cilium/pull/23030.


PowerBI Service Tag

Please add the service tag name / mapping for PowerBI service. I would only like to enable the PowerBI service to connect to my ADLS GEN 2 storage account for data retrieval.

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

ID: 08217244-82bb-13b5-46f7-454801d8f865
Version Independent ID: 4a8b0a32-bf57-7544-c60d-6b7f250c4477
Content: Azure service tags overview
Content Source: articles/virtual-network/service-tags-overview.md
Service: virtual-network
GitHub Login: @allegradomel
Microsoft Alias: kumud

@MurrayFoxcroft , Thanks for your feedback. We are looking into this query and will update you as soon as possible.

@MurrayFoxcroft , Appreciate your patience. Idea or suggestion based on your experience with Azure? We would love to hear it! Please take a few minutes to submit your idea in the one of the forums available on here or vote up an idea submitted by another Azure customer. All of the feedback you share in these forums will be monitored and reviewed by the Microsoft engineering teams responsible for building Azure.
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


queryAssignedElements decorator not included in import map

When using @queryAssignedElements you currently get the following error on the demo page:
Uncaught SyntaxError: The requested module 'lit/decorators.js' does not provide an export named 'queryAssignedElements'

I believe the issue is caused by docs/_data/importMap.cjs not including an import for that lit module.
Version 2.0.2 of lit does not have the decorator as an export, version 2.1.0 is the oldest version that does, not sure what all the ramifications are for changing any of the version numbers in this file.

That file only affects the eleventy build, so feel free to update it however you want. Might be nice to use a semver specifier like lit@^2

Closed in #2143


Japanese characters seem to cause an error when using favorites add

Does this happen when you try to store something in MongoDB ?


[Ubuntu] pick one dotnet sdk version for each major release

Description
The ubuntu builds currently fail with:
==> docker.build_image: Multiple versions from list '6.0.419, 7.0.116, 7.0.203, 7.0.313, 7.0.406, 8.0.102, 8.0.200, 8.0.201' return the same result from regex '^\d+\.\d+\.\d': 8.0.2
==> docker.build_image: At /imagegeneration/SoftwareReport/software-report-base/SoftwareReport.Nodes.psm1:265 char:17
==> docker.build_image: + …             throw "Multiple versions from list '$($this.GetValue())'  …
==> docker.build_image: +               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> docker.build_image: + CategoryInfo          : OperationStopped: (Multiple versions f…d+\.\d+\.\d': 8.0.2:String) [], RuntimeException
==> docker.build_image: + FullyQualifiedErrorId : Multiple versions from list '6.0.419, 7.0.116, 7.0.203, 7.0.313, 7.0.406, 8.0.102, 8.0.200, 8.0.201' return the same result from regex '^\d+\.\d+\.\d': 8.0.2

The reason is the sorted_sdks picks multiple 7.0.x and 8.0.x releases to install, and yet one per each major version is expected in ToolVersionsListNode. This change correct the way sorted_sdks is generated.
Related issue:
Check list

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

The build still fails because now Ubuntu has 8.0.200, and yet the latest version is 8.0.201. The install-dotnetcore-sdk.sh will then install 8.0.201 because it's the latest version, and yet this breaks the ValidateMajorVersionRegex test as well.

Add an additional commit to prefer apt-installed sdk versions. Now there will be only version for each major.minor sdk release.

Hey @vicamo!
Could you share a link to the example of this behaviour? Because there are no errors like this in our builds. You may check here for example: https://dev.azure.com/github/runner-images/_build?definitionId=103

Hey @vicamo! Could you share a link to the example of this behaviour? Because there are no errors like this in our builds. You may check here for example: https://dev.azure.com/github/runner-images/_build?definitionId=103

I was trying to build runner-image as docker container in my fork, and there are too many tries and I didnot mark the failed case due to this problem. You can still verify the output by:
$ wget -q -O - https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/8.0/releases.json | jq -r '.releases[].sdk.version | select(contains("preview") or contains("rc") | not)'
8.0.201
8.0.101
8.0.100
$ wget -q -O - https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/8.0/releases.json | jq -r '.releases[].sdks[]?.version | select(contains("preview") or contains("rc") | not)'
8.0.201
8.0.200
8.0.102
8.0.101
8.0.100

So when you do echo ${sdks[@]} | tr ' ' '\n' | sort -r | uniq -w 5, it will give 8.0.201 and 8.0.102. And from apt:
$ apt policy dotnet-sdk-8.0
dotnet-sdk-8.0:
  Installed: 8.0.200-1
  Candidate: 8.0.200-1
  Version table:
 *** 8.0.200-1 500
        500 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages
        100 /var/lib/dpkg/status
     8.0.102-1 500
        500 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages
     8.0.102-0ubuntu1~22.04.1 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages
     8.0.101-1 500
        500 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages
     8.0.100-1 500
        500 https://packages.microsoft.com/ubuntu/22.04/prod jammy/main amd64 Packages

8.0.200-1 is the latest version on remote server, and it will be installed before you extract sdk archives. So now you have:
$ dotnet --list-sdks
...
8.0.102 [/usr/share/dotnet/sdk]
8.0.200 [/usr/share/dotnet/sdk]
8.0.201 [/usr/share/dotnet/sdk]

8.0.200-1 is the latest version on remote server, and it will be installed before you extract sdk archives. So now you have:

Builds should fail in case of difference between microsoft repository and current unique releases table. It's expected behaviour.
We won't accept those changes. What you are referring to is in some sense a feature in case the upstream contains an incorrect set of packages. It's a rare case, but it still happens.


shadowsocks compatibility

shadowsocks is a very sophisticated secure socks server. supporting it is advantages since it has a very good cross platform client and its protocol is encrypted unliked regular socks. yesss, android, windows, linux, mac, ios, etc
It alreasy has Python,C, C++, Go implementaion
https://shadowsocks.org

Unfortunately, shadowsocks uses a non-standard, proprietary (although documented) protocol.
I'm very open to accepting PRs that add this, but I currently don't have any plans to add this myself anytime soon.
In case anybody wants to pick this up, make sure to let me know and I may be able to assist you :+1:
FWIW, the SOCKS protocol has very good platform support, because multiple implementations exist for each platform. Also, I'm tempted to give (non-standard) encrypted SOCKS (SOCKS over TLS) a try, see https://github.com/clue/php-socks-react/issues/41 for eventual progress on this :+1:


outermost iterable in genexpr is evaluated too late

This test works differently in Python than in Cython:
>>> def seff():
...     print("TEST")
...     return range(10)
...
>>> g = (i for i in seff())
TEST
>>> list(g)
[1, 2, 3, 4, 5, 6, 7, 8, 9](0,)
>>> g = (i for i in (v for v in seff()))
TEST

Cython evaluates the outermost iterable of a generator expression inside of the generator body, CPython evaluates is outside, i.e. before creating the generator.
This is a follow-up ticket to http://trac.cython.org/ticket/600.
Migrated from http://trac.cython.org/ticket/823

Duplicate of #1159.


Cron help on the UI

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
The cron idea was simply AWESOME. I guess it was easy to implement and allows us a LOT of flexibility :clap: :clap: :clap:
That said, I have two docs suggestions.
Describe the solution you'd like

the descriptive text only shows during setup. It should be mentioned as well when editing/creating a sensor.
Only people experienced with cron know how to write its string. But it's quite simple to understand as well, so I would suggest linking from the popup to some generator tool, such as https://crontab.cronhub.io.

Describe alternatives you've considered
That was the first tool I found, and it worked fine for me, but not sure if you could find a "non-sponsored" one (or if you even care about it). Whatever the tool is, I would say it's paramount to include some way to help users build the cron string, even if it's just a docs link.
Additional context
Keep rocking! You'll get a coffee cup once exchange rates get a bit more favorable :joy:

Thank you for the encouragement and feedback. It would be awesome if you could create a PR for your suggestions for the Readme!


Upgrade opusic-sys from 0.2.2 to 0.3

This upgrade is required for important cross-compilation fixes.
BTW, could you enable the issue tracker for this repository? There’s nowhere to file issues that are specific to magnum-opus right now.

Hi! Thanks for contibution :)


Update transforms2d.json

Change title to be consistent with the title format of a related feature, "CSS3 3D Transforms"

Thanks!


PX4 on STM32F4Discovery Pinout

Good morning,
I would like to know what is the pinout for the PX4 Firmware running on the STM32F4Discovery, so I can make a breakout board to use it as Autopilot.
Best,

If you intent to work on a development board you're expected to be able to read the board config accordingly. If you just want to get a low-cost solution, I recommend looking at low-cost Pixhawk derivatives: http://www.hobbyking.com/hobbyking/store/__86437__PixFalcon_Micro_PX4_Autopilot_plus_Micro_M8N_GPS_and_Mega_PBD_Power_Module.html
Adding all the breakouts will cost you significantly more than just getting one of the low-cost boards.

@LorenzMeier Will check that. It should have been the first place to look for!
Best,


Prims algorithm

Description
Primes Algorithm using MST
Fixes #1049
Fixes  #226
Replace 1049 with the issue number which is fixed in this PR
Type of change
Please delete options that are not relevant.

[ ] 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 not work as expected)

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

@KishkinJ10 u are not assigned this issue


use Literal notation for set instead of set() in test_seq_traverse

It's a simple thing just replace set() with {}
For example
set([1,2,3]) == {1,2,3}

I would like to work on this

go ahead, I'm glad to have a contributor :)

I've just pushed a commit, it has changes to the file you're working on, just pull that.


Create group command?

Is there any way to create an empty group in pex without adding a permission, without add a parent?
I can already see someone asking "Why do you want to do this?"
By implicitly creating groups every time one isn't found, you are making the plugin harder for new users.
You mis-spell or mis-remember a group name? group created.
It might be good for advanced users who don't want the tedium, but when you are starting out getting an error message "that group does not yet exist, did you mean Moderator?" instead of "Added parent member to group mod"
Another instance:
/promote Player811 econ instead of /promote user Player811 econ creates a new subjecttype called Player811

Unfortunately PermissionsEx is currently unmaintained and no further updates are planned. Because of this, all pull requests are being closed. If you are looking for an actively maintained permissions plugin, take a look at LuckPerms. It is compatible with major server platforms and can import data from PEX.