Symmetrizable property and theorems

Adding the property "symmetrizable" and the relevant theorems, as discussed in #923

@danflapjax Thanks for spotting that!

To parallel what's in P205, the README for P102 (semimetrizable) should also contain some explanation of the relationship with symmetrizable and the variant terminology in the literature.
I am reading both properties, trying to make sense of things without having previous knowledge of these concepts, and I find the second bullet for P102 to be confusing.  What are these $G_n(x)$?  Are they meant to be open sets, or neighborhoods of $x$ or just any sets containing $x$?  Some clarifications would be useful I think.

Question: For sources like Wilson that use "semimetrizable" to mean "symmetrizable", is it the case that they don't consider P102 at all in their paper?

P102: to better show the parallel with P205, we can change the first bullet from
... $p$ lies in the closure of some $Y\subseteq X$ iff $\inf\{d(y,p):y\in Y\}=0$.
to
... $p$ lies in the closure of some $Y\subseteq X$ iff $d(p,Y)=\inf\{d(p,y):y\in Y\}=0$.

Question: For sources like Wilson that use "semimetrizable" to mean "symmetrizable", is it the case that they don't consider P102 at all in their paper?

That is the case, yes.

P102: to better show the parallel with P205, we can change the first bullet from ... $p$ lies in the closure of some $Y\subseteq X$ iff $\inf\{d(y,p):y\in Y\}=0$. to ... $p$ lies in the closure of some $Y\subseteq X$ iff $d(p,Y)=\inf\{d(p,y):y\in Y\}=0$.

Agree.

P102: The second bullet references zb:0116.14303, but it looks like it should be zb:0113.16501.
Theorem 3.2 in that paper also says that the $G_n(x)$ should be open sets.  So that should be added ("... non-increasing sequence of open sets ...").
zb:0116.14303 is mentioned in the first paragraph ("Note that ...").  So it should also be added to the refs: section.

@prabau Implemented. I got confused between the two references. They were both written by Heath, and zb:0116.14303 also includes the result, but it was actually proved in zb:0113.16501.

Sorry one more comment.  Is the definition of a "symmetric" just a function $d$ ... that is reflexive and symmetric, or does it also require the extra condition on the open sets?  Asking because the if it's with the condition on open sets, the equivalent condition in the following paragraph is kind of not right.  Does something need to be rephrased somewhere?
And similarly for "semimetric".

@prabau Symmetric is supposed to be a function that’s just symmetric and reflexive. Then a space is symmetrizable if there’s a symmetric generating the topology in the specified way. (And any symmetric generates a topology in exactly that manner.) It’s similar to metric, where a metric is just a function and a metrizable space is a space whose topology is generated by a metric.
Semimetric is more confusing. DOI: 10.2991/978-94-6239-216-8 defines a semimetric to be a symmetric that is compatible with the topology in the specified manner, so a semimetric, under that definition, is supposed to be not just a function. If we’re strictly following DOI: 10.2991/978-94-6239-216-8, then we should say “symmetric” in both the definition and the equivalent condition, and say a symmetric satisfying the compatibility with topology condition to be a semimetric. But DOI: 10.2307/2370790 just defines a semimetric as a function, the exact same as a symmetric.

@prabau Symmetric is supposed to be a function that’s just symmetric and reflexive. Then a space is symmetrizable if there’s a symmetric generating the topology in the specified way. (And any symmetric generates a topology in exactly that manner.) It’s similar to metric, where a metric is just a function and a metrizable space is a space whose topology is generated by a metric.

Thanks, your explanation makes that very clear.

Semimetric is more confusing. DOI: 10.2991/978-94-6239-216-8 defines a semimetric to be a symmetric that is compatible with the topology in the specified manner, so a semimetric, under that definition, is supposed to be not just a function. If we’re strictly following DOI: 10.2991/978-94-6239-216-8, then we should say “symmetric” in both the definition and the equivalent condition, and say a symmetric satisfying the compatibility with topology condition to be a semimetric. But DOI: 10.2307/2370790 just defines a semimetric as a function, the exact same as a symmetric.
I’ll rephrase to make things follow DOI: 10.2991/978-94-6239-216-8, and just mentions other sources call just a function a semimetric.

About semimetric, I don't know if we want to complicate things even more for the reader.  Maybe things as they are are ok, given that the reader will follow some of the sources to clarify anything???

@prabau Ah, sorry, I saw your comment after I've already finished rewording stuff. But perhaps you might find the current version clearer?

Thanks. Very clear now.
All good for me.  I'll let @danflapjax do the final review.

This is admittedly frivolous, but do you mind if I change the ID of symmetrizable to P104 to be near semimetrizable? I think it's slightly nicer for navigation, and I would find it more aesthetically pleasing.

Out of curiosity, why did this not happen to P47 and P48...?

My hypothesis is that the names semimetrizable and symmetrizable are similar enough that the fuzzy search gives a boost in the search to the property listing both, but that's just a guess. I don't actually know how the tie is broken between P47 and P48.

This is related to https://topology.pi-base.org/spaces?q=Semi-Hausdorff matching US. I'll investigate now.

As of https://github.com/pi-base/web/pull/197/ we now have https://topology.pi-base.org/spaces?q=Semi-Hausdorff and (on this branch) https://topology.pi-base.org/spaces?q=Symmetrizable returning the intended results.

Merging as @danflapjax has already approved modulo my fix of the app.


Read and interpolate HTR data

📋 Info
The L1B processing also requires HTR-data to run, so this should be included in the L1A record
🏁 DoD

[ ] Include interpolated HTR data in L1a

Note that the HTR data is currently not interpolated in the calibration, the nearest is just picked: https://github.com/innosat-mats/MATS-L1-processing/blob/master/src/mats_l1_processing/get_temperature.py
This is probably good enough for now, though the noise is of the order of 1 ˚C, so some sort of smoothing would probably be good; see:


Removed agree functionality in a few places

Removed agree button from ident activity item when

ident is not leading
observation is RG

Disabled agree keyboard shortcut in Identify when

it's your obs
obs is RG
CID exists and is species or lower

Looks like it's encouraging click-agreeing based on the thumbnails on Identify now though ("thumbnailing"), instead of opening to review the photo(s) larger, which now requires manually typing in the name.

@boucur, I literally released this an hour ago. What makes you think people are clicking those Identify grid buttons more? That said, I did totally forget about those buttons and will remove them where appropriate.

oh, just personal inclination


x/term: git-bash.exe reports stdout is not a terminal.

What version of Go are you using (go version)?
1.16
Does this issue reproduce with the latest release?
yes (v0.0.0-20210503060354-a79de5458b56)
What operating system and processor architecture are you using (go env)?
Windows 10
go env Output
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\gabriel.nuetzi\AppData\Local\go-build
set GOENV=C:\Users\gabriel.nuetzi\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\gabriel.nuetzi\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\gabriel.nuetzi\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.16
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=F:\Repositories\githooks\githooks\go.mod
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\GABRIE~1.NUE\AppData\Local\Temp\go-build1896432741=/tmp/go-build -gno-record-gcc-switches

What did you do?
package main

import (
	"fmt"
	"os"

	"golang.org/x/term"
)

func main() {
	fmt.Print(term.IsTerminal(int(os.Stdout.Fd())))
}

Open "git-bash.exe" (from git-for-windows) -> go run main.go
Open VS Code -> Open Integrated Terminal (bash.exe from git-for-windows) -> go run main.go

What did you expect to see?

Output: "true"
Output: "true"

What did you see instead?

Output: "false" (wrong?)
Output: "true" (correct)

@mattn: The package isatty has the exact same issue altough working differently:
fmt.Print(isatty.IsTerminal(os.Stdout.Fd()))

I am most interested why this bahvior is happening...

I cant repro this. Using this program:
package main

import (
   "fmt"
   "syscall"
)

func main() {
   _, err := syscall.Open("CONIN$", syscall.O_RDWR, 0)
   fmt.Println(err)
}

With just PowerShell I get this:
PS C:\> .\open.exe
<nil>

Then with MSYS2 Bash, I get this:
PS C:\> bash.exe
bash-5.1$ ./open.exe
<nil>

Personally if Windows is going to be your "daily driver", I would recommend not using git-bash.exe, or WSL. Go is not like C, where you have all these supporting Makefiles and Shell scripts in the build process.  So I have discovered that Bash doesnt really need to be involved in the process, and I just use PowerShell now. If you really need Bash for some other reason, you can install the MSYS2 Bash package:
https://packages.msys2.org/package/bash

That isnt even a valid program:
imported and not used: "syscall"
imported and not used: "github.com/mattn/go-isatty" as isatty

and even if you fix it:
package main

import (
   "golang.org/x/term"
   "os"
)

func main() {
   b := term.IsTerminal(int(os.Stdout.Fd()))
   println(b)
}

It doesnt produce an error with PowerShell:
PS C:\> go run main.go
true

and it doesnt produce an error with MSYS2 Bash:
PS C:\> bash
bash-5.1$ go run main.go
true

I would recommend just using PowerShell if you are on Windows, or if you must use Bash, then MSYS2 Bash:
https://packages.msys2.org/package/bash

git-bash.exe as far as I know is a MSYS2 Bash.

Since most Windows user use this bash, thats why I report it. Powershell is not an option, its a shitshow...

git-bash.exe as far as I know is a MSYS2 Bash.

Nope. MSYS2 Bash is bash.exe or sh.exe. Anything with a different name is something else, so easy to tell.

Since most Windows user use this bash, thats why I report it. Powershell is not an option, its a shitshow...

As an expert in Bash [1], I can say with confidence, that on Windows, PowerShell is the better option. Unless you have tried PowerShell 6 [2] or higher, I dont think youre making a valid claim here.

https://stackoverflow.com/help/badges/863/bash?userid=1002260
https://github.com/PowerShell/PowerShell

I believe this has the same cause as https://github.com/golang/go/issues/11914#issuecomment-613715787 (which is to say there's nothing we can do)

As this is Go issue tracker, it is probably not relevant to discuss the quality of various shells. Please bear in mind our Gopher values and keep the feedback constructive. Thanks.

As this is Go issue tracker, it is probably not relevant to discuss the quality of various shells. Please bear in mind our Gopher values and keep the feedback constructive. Thanks.

As alluded to by @seankhliao (and by Ian in the other issue), this is a shell issue, not a Go issue.
So unless OP can strongly demonstrate that this in fact a Go issue, I think this should be closed.

Its a shell issue, I close this.


Change minimum preview font size from 10 → 1

I sometimes need fonts smaller than 10, so why not have it go "all the way" :)

oops, was meant to go to the base (thomaspark) repo. See https://github.com/thomaspark/fontcdn/pull/6


Add core/average.py/average_shape to ops/average.py

Pull Request Checklist:

[~] This PR addresses an already opened issue (for bug fixes / features)

This PR is related to this issue outside of clisops

[X] Tests for the changes have been added (for bug fixes / features)
[X] Documentation has been added / updated (for bug fixes / features)
The new ops/average_shape is documented based on the other functions in ops/average.py, Please let me know if anything else needs to be added.
[X] HISTORY.rst has been updated (with summary of main changes)
[X] I have added my relevant user information to AUTHORS.md

What kind of change does this PR introduce?:
This PR exposes average_Shape from clisops/core to clisops/ops
Does this PR introduce a breaking change?:
Not to my knowledge
Other information:
As mentioned above, this PR is part of the work related to this issue outside of clisops

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

7 of 20 (35.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 71.908%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

clisops/core/average.py
0
1
0.0%

clisops/ops/average.py
7
19
36.84%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
1715

Relevant Lines:
2385

💛  - Coveralls

Congrats @charlesgauthier-udm !
I'll stage a new release, given that we now have some new functions from both you and Martin (@sol1105).


Another css href url fix #5

Another path experiment for Django V5 way of serving static files.
If this doesn't work, I'm going to move the static files to the root (like template html files)

👍


DFP Banner Ad always at BOTTOM_LEFT

Hello,
I have added your plugin to my Cordova project to show dfp banner.
This is my code:
if(AdMob) AdMob.createBanner( {
adId: "XXXXX",
position: AdMob.AD_POSITION.BOTTOM_CENTER,
autoShow: true } );
Up to about 1 month ago it works properly showing banner at BOTTOM_CENTER, but now it is always shown at BOTTOM_LEFT.
I have tried to add overlap property: if I set it to true, the banner is correctly shown at BOTTOM_CENTER, if I remove overlap property or set it to false banner is shown at BOTTOM_LEFT.
I need overlap set to false.
Thanks

Android or iOS?

android 5.0.
if you need it, the dfp code is  "/1017836/320x50_Radio_Leaderboard" (it's
a banner)
thanks
2015-06-10 11:21 GMT+02:00 Raymond Xie<EMAIL_ADDRESS>
Android or iOS?
—
Reply to this email directly or view it on GitHub
https://github.com/floatinghotpot/cordova-admob-pro/issues/146#issuecomment-110667047
.

If you are using DFP banner with a fixed size like 320x50, try use adSize BANNER instead of SMART_BANNER.

I have the same issue in Android 6.0.  adSize: BANNER. Overlap:false.  If you choose position:8, it will align bottom left.  If you choose position 2, it will align top left.  If you put Overlap: true.  The positioning is in center for both situations.


[vkfft] Update to v1.2.31.

Fixes #30764

[x] Changes comply with the maintainer guide
[x] SHA512s are updated for each updated download
[x] The "supports" clause reflects platforms that may be fixed by this new version
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

The usage has been tested successfully locally.
find_path(VKFFT_INCLUDE_DIRS "VkFFT/vkFFT.h")
target_include_directories(main PRIVATE ${VKFFT_INCLUDE_DIRS})

Thanks for the update!


Bug: Chimoney Payout Airtime Is Not Fully Responsive

Description
Issue: The app is not fully responsive.
Reason to fix: For better user experience across all devices.
Screenshots

What browsers are you seeing the problem on?
Chrome
Ready to Work?

[X] I want to work on this issue

Hello @phyleria Would you please assign this issue to me?

Ok


setValue on this field not updating list or selected tags

Hi!
I have checked that if you do a setValue("NAME") this is not appearing in the list or in the tags.
Would it be possible if you add this functionality to your PCF?
Thanks in advance!

Yes we can. You can do a pull request or would you like me to do it?
Get Outlook for Androidhttps://aka.ms/ghei36

From: Víctor Sánchez<EMAIL_ADDRESS>Sent: Thursday, November 12, 2020 6:29:44 PM
To: markcunninghamuk/PCF_Library<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [markcunninghamuk/PCF_Library] setValue on this field not updating list or selected tags (#1)
Hi!
I have checked that if you do a setValue("NAME") this is not appearing in the list or in the tags.
Would it be possible if you add this functionality to your PCF?
Thanks in advance!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/markcunninghamuk/PCF_Library/issues/1, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFKLYCDMIP3TR6UVVX5OJWDSPQSRRANCNFSM4TTUKGJQ.

Hi Mark,
Up to you, I am more than happy to assist with anything you want 😄

Let's try is the control working ok otherwise? Maybe show we a screenshot 😀
Get Outlook for Androidhttps://aka.ms/ghei36

From: Víctor Sánchez<EMAIL_ADDRESS>Sent: Saturday, November 14, 2020 10:15:32 AM
To: markcunninghamuk/PCF_Library<EMAIL_ADDRESS>Cc: markcunninghamuk<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [markcunninghamuk/PCF_Library] setValue on this field not updating list or selected tags (#1)
Hi Mark,
Up to you, I am more than happy to assist with anything you want 😄
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/markcunninghamuk/PCF_Library/issues/1#issuecomment-727181430, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFKLYCGZNC5JAGLGCWSAQN3SPZKEJANCNFSM4TTUKGJQ.

The control is quite good.
However, I've investigated in your code a little and I've realized you didn't write anything of control isDisabled, so that means that if you set the property as setDisabled(true) you still can select values in your PCF.
Another one that could be annoying is the fact every time you select a value it autocloses the list,
Apart from that, it works nicely. Probably I will do a PR at some point with some changes to "upgrade" a little bit your code.
Hopefully, this makes sense to you. It is a really good variant from the one I created 😀

Yes there are a few improvements for sure. I made the control in 2 days so I expect some small bugs haha.

From: Víctor Sánchez<EMAIL_ADDRESS>Sent: Saturday, November 14, 2020 4:57:44 PM
To: markcunninghamuk/PCF_Library<EMAIL_ADDRESS>Cc: markcunninghamuk<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [markcunninghamuk/PCF_Library] setValue on this field not updating list or selected tags (#1)
The control is quite good.
However, I've investigated in your code a little and I've realized you didn't write anything of control isDisabled, so that means that if you set the property as setDisabled(true) you still can select values in your PCF.
Another one that could be annoying is the fact every time you select a value it autocloses the list,
Apart from that, it works nicely. Probably I will do a PR at some point with some changes to "upgrade" a little bit your code.
Hopefully, this makes sense to you. It is a really good variant from the one I created 😀
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/markcunninghamuk/PCF_Library/issues/1#issuecomment-727235040, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFKLYCHDA4H6ACVYSGK7CBTSP2ZIRANCNFSM4TTUKGJQ.

<IP_ADDRESS> enabled support for isDisabled and isVisible


[gen-angular-wrapper] Initial implementation of Angular wrapper generator

WIP: files aren't generated to the right place, the goldens don't have the necessary Angular workspace, we don't install and use the Angular toolchain to test, etc. There's still so much to do to get to runtime tests that I'll need to split this up over time and figure out a good first stopping point.

@kevinpschaaf this keeps failing on the Windows gen-wraper-react tests even though I'm skipping browser tests on Windows now.

Looks like the process.exit(0) triggered the process.on('exit', stopNicely);, which then did a process.exit(1) if there was not a currentRunner. Fixed that and it exited correctly locally.


interactive bots: Create Giveaway bot by dob9601.

Automated message from Dropbox CLA bot
@dob9601, it looks like you've already signed the Dropbox CLA. Thanks!


[WIP] Backendsvc refactor

Status
IN DEVELOPMENT
JIRA Ticket
MOB-219
Description
Refactor backend service to support multiple backends (Exchange,spacon, api)
Todos

[ ] Tests
[ ] Documentation
[ ] License

Steps to Test or Reproduce
Outline the steps to test or reproduce the PR here.
git fetch --all
git checkout <feature_branch>
xctool -workspace SpatialConnect.xcworkspace -scheme SpatialConnect -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 6 Plus' ONLY_ACTIVE_ARCH=NO test

@boundlessgeo/spatial-connect

Hmm I never got notified of these comments, I work through the comments


Clarify documentation for disk encryption via CLI

In the disk encryption via CLI documentation the command az vm show --name "myVM" -g "MyResourceGroup" is given to show the status of the disk encryption. The documentation states "EncryptionOperation": "EnableEncryption" is returned when disk encryption is enabled.
This was confusing because the disk encryption is still in progress, not enabled as the documentation states. After speaking to support, it looks like the command az vm encryption show --name "myVM" --resource-group "MyResourceGroup" would be more useful for finding out the current state of the encryption process. This command returns more detailed information such as a substatus message containing "EncryptionInProgress" or status message containing "OS disk encryption started".
Thanks for reviewing!

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

ID: 685facbf-ae80-4e62-6156-51b0ee083e19
Version Independent ID: cb2164e4-a013-ae00-5ebe-e50576bf13bb
Content: Create and encrypt a Linux VM with Azure CLI
Content Source: articles/virtual-machines/linux/disk-encryption-cli-quickstart.md
Service: security
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@aboutjon
Thanks for your feedback! We will investigate and update as appropriate.

@aboutjon thanks for this! I made a pull request to add information about this command so that others can benefit from this. https://github.com/MicrosoftDocs/azure-docs-pr/pull/96014

Please reopen this issue. The documentation is not updated, and I was affected by this issue. Solution proposed by reporter would have worked for me - please include it in documentation.


mailto: links are tracked and don't work

First of all, congrats for the link tracking feature, it's the first time that I see such a cool feature on a desktop client, neat integration!
At https://github.com/nylas/N1/blob/master/internal_packages/link-tracking/lib/link-tracking-composer-extension.es6#L30, you're converting all href attributes to tracked links. I think you should only match http* links. Getting a new browser window for mailto: links is quite bad user experience.
On top of it, the server side can't handle mailto: links, which makes the feature broken.
I can try to PR if needed.

Hey! Ahh good catch—that's definitely something we need to fix. If you want to take a pass at improving the regexp, pull requests are definitely welcome!

This issue is closed, however, I am seeing this issue in Version 1.0.30 (1.0.30) on macOS Sierra Version 10.12 Beta (16A313a)


Demonstrate drc working on actual hardware

Demonstrated on November 5th https://www.youtube.com/shorts/V57vy4uj-vI


How to center text within a BlTextElement

How can I center the text in a BlTextElement that has excess space?
Problem:

You can wrap the BlTextElement in a container that centers the element.
text := BlTextElement new
	text: 'Testing 1, 2 ,3' asRopedText ;
	constraintsDo: [ :c |
		c frame vertical alignCenter.
		c frame horizontal alignCenter ].

container := BlElement new
	layout: BlFrameLayout new;
	border: (BlBorder paint: Color black);
	width: 200;
	height: 50.

container addChild: text.
container

Now the text element knows mostly how to display a text and handle padding and margin. Not sure it is has the ability to center text.

Thanks, that works great!


Correct that QQ support customer priority

Per 3.8.10 release notes:

Quorum queues now support consumer priority.
GitHub issue: https://github.com/rabbitmq/rabbitmq-server/pull/2451

@dmorneau Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@pivotal-cla This is an obvious fix

@dmorneau This Pull Request contains an obvious fix. Signing the Contributor License Agreement is not necessary.


Looking forward to opening source code

When do you release your codes? PLS

Thanks for your interest in our work. The source code has been updated.


Design Problem with cga

cga is defined as
def cga(
    n_cols: int,
    n_rows: int,
    n_gen: int,
    ch_size: int,
    gen_type: str,
    p_crossover: float,
    p_mutation: float,
    problem: AbstractProblem,
    selection: Callable,
    recombination: Callable,
    mutation: Callable,
    mins : list[float] = [],
    maxs : list[float] = []
) -> List:

but selection, recombination, and mutation are classes, not callables

This commit (https://github.com/SevgiAkten/pycellga/commit/ccf8ffe54b8ddb73ce8b806fe67afea2e5721019) fixes this issue and the new optimizer definition is
def cga(
    n_cols: int,
    n_rows: int,
    n_gen: int,
    ch_size: int,
    gen_type: str,
    p_crossover: float,
    p_mutation: float,
    problem: AbstractProblem,
    selection: SelectionOperator,
    recombination: RecombinationOperator,
    mutation: MutationOperator,
    mins : list[float] = [],
    maxs : list[float] = []
) -> List:

please review the changes and feel free to close this issue

Thank you! I’ve reviewed the changes, and I’m closing the issue now.


StockQuotes tutorial is no longer valid

Yahoo Finance is no longer free. It is probably not possible to make this tutorial work.
There are other APIs that could be used to make a tutorial, perhaps Wikipedia's API.
Thread for reference: https://groups.google.com/forum/#!category-topic/mitappinventortest/2N_j1exzQi4

We decided to pull the tutorial down from the website. We will write a replacement tutorial using a different web API.


[KYUUBI #4338][FOLLOWUP] Fix K8s integration tests

Why are the changes needed?

Correct the Spark image tag to recover "Kyuubi Server On Kubernetes Integration Test"
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

Codecov Report

Merging #4369 (3232bf9) into master (6bd0016) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #4369      +/-   ##
============================================
- Coverage     53.66%   53.65%   -0.01%
  Complexity       13       13
============================================
  Files           562      562
  Lines         30834    30834
  Branches       4157     4157
============================================
- Hits          16547    16544       -3
- Misses        12732    12739       +7
+ Partials       1555     1551       -4

Impacted Files
Coverage Δ

.../kyuubi/server/mysql/constant/MySQLErrorCode.scala
13.84% <0.00%> (-6.16%)
:arrow_down:

...ache/kyuubi/server/mysql/MySQLCommandHandler.scala
77.77% <0.00%> (-4.05%)
:arrow_down:

...ache/kyuubi/operation/KyuubiOperationManager.scala
80.00% <0.00%> (-2.67%)
:arrow_down:

...ache/kyuubi/server/mysql/MySQLGenericPackets.scala
76.59% <0.00%> (-2.13%)
:arrow_down:

...g/apache/kyuubi/operation/BatchJobSubmission.scala
75.27% <0.00%> (ø)

...apache/kyuubi/engine/JpsApplicationOperation.scala
77.41% <0.00%> (ø)

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
97.51% <0.00%> (+0.06%)
:arrow_up:

...rg/apache/kyuubi/ctl/cmd/log/LogBatchCommand.scala
66.66% <0.00%> (+7.57%)
:arrow_up:

...e/kyuubi/jdbc/hive/ClosedOrCancelledException.java
100.00% <0.00%> (+100.00%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

Thanks, merged to master/1.7


devDisabledInStaging not working with multiple productFlavors

The devDisabledIn${productFlavor}${buildType} in android/app/build.gradle does not work as expected. It is documented to work by just specifying devDisabledIn${buildType} but it only works, if also the productFlavor is provided
React Native version:
System:
OS: macOS 10.15
CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
Memory: 1.67 GB / 32.00 GB
Shell: 2.7.1 - /usr/local/bin/fish
Binaries:
Node: 12.12.0 - /usr/local/bin/node
Yarn: 1.19.1 - /usr/local/bin/yarn
npm: 6.11.3 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 13.1, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0
IDEs:
Android Studio: 3.5 AI-191.8<IP_ADDRESS>00203
Xcode: 11.1/11A1027 - /usr/bin/xcodebuild
npmPackages:
react: 16.9.0 => 16.9.0
react-native: 0.61.2 => 0.61.2
npmGlobalPackages:
create-react-native-app: 2.0.2
react-native-asset: 1.1.2
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
Steps To Reproduce

Create a fresh react native project
Setup two productFlavors e.g. main, alt
Setup a staging buildType
set devDisabledInStaging: true
Log value of __DEV__
Build a staging variant of the app

Describe what you expected to happen:
I'd expect __DEV__ to be false, but it isn't. It does only work when specifying devDisabledInAltStaging: true and devDisabledInMainStaging: true
Snack, code example, screenshot, or link to a repository:

Add to backlog

I see this same behaviour. Source code: https://github.com/digidem/mapeo-mobile/blob/deploy/android/app/build.gradle#L89

I confirm this too on rn 0.62
Here the info report
System:
    OS: macOS 10.15.5
    CPU: (4) x64 Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz
    Memory: 497.27 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 14.4.0 - ~/.nvm/versions/node/v14.4.0/bin/node
    Yarn: 1.22.4 - /usr/local/bin/yarn
    npm: 6.14.5 - ~/.nvm/versions/node/v14.4.0/bin/npm
    Watchman: Not Found
  Managers:
    CocoaPods: 1.9.3 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 13.5, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    Android SDK:
      API Levels: 28, 29, 30
      Build Tools: 28.0.3, 30.0.0
      System Images: android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom
      Android NDK: Not Found
  IDEs:
    Android Studio: 4.0 AI-193.69<IP_ADDRESS>14223
    Xcode: 11.5/11E608c - /usr/bin/xcodebuild
  Languages:
    Java: 1.8.0_252 - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.11.0 => 16.11.0
    react-native: 0.62.2 => 0.62.2
  npmGlobalPackages:
    *react-native*: Not Found
giacomo@iMac-di-Giacomo hello %

Same thing, was working on 61.5. Doesn't work since I upgraded to 63.3.

I'm experiencing the same issue since upgrading to 0.63.4 from 0.61.5. I now have to add devDisabledIn{productFlavor}Live for each productFlavor.


Incrementally Clean Up Docker Images During Interop Testing

Resolves #23008.
This PR divides image downloads into batches of (by default) 6. After all six images have finished testing, they are deleted from the filesystem. This effectively puts a limit of six interop images on the disk at any given point.
Tested manually. @jtattermusch As you often mention, there's a possibility that I've violated some unknown requirement of the interop matrix script, so please let me know if that's the case.
CC @srini100

Known failures:

https://github.com/grpc/grpc/issues/18111

My run had a duration of 152:47, whereas the most recent run before it had a duration of 155:20. Duration looks good, so going ahead and merging.


Issue with Gitlab SSH

I have created a Gitlab instance using their official way of creating it with docker. Everything works fine until I try to use ssh keys to clone, push, pull etc. Basically I didn't changed anything from the setup other than hostname etc.
When trying to do a test connection to gitlab this is log:
OpenSSH_8.2p1 Ubuntu-4ubuntu0.2, OpenSSL 1.1.1i  8 Dec 2020
debug1: Reading configuration data /home/xyz/.ssh/config
debug1: /home/xyz/.ssh/config line 1: Applying options for *
debug1: /home/xyz/.ssh/config line 63: Applying options for xyz.com
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolving "gitlab.xyz.com" port 443
debug2: ssh_connect_direct
debug1: Connecting to gitlab.xyz.com x.x.x.x] port 443.
debug1: Connection established.
debug1: identity file /home/xyz/.ssh/id_rsa.pub type 0
debug1: identity file /home/xyz/.ssh/id_rsa.pub-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.2
debug1: kex_exchange_identification: banner line 0: HTTP/1.1 400 Bad Request
debug1: kex_exchange_identification: banner line 1: Server: nginx/1.18.0
debug1: kex_exchange_identification: banner line 2: Date: Fri, 12 Mar 2021 15:50:00 GMT
debug1: kex_exchange_identification: banner line 3: Content-Type: text/html
debug1: kex_exchange_identification: banner line 4: Content-Length: 157
debug1: kex_exchange_identification: banner line 5: Connection: close
debug1: kex_exchange_identification: banner line 6:
debug1: kex_exchange_identification: banner line 7:
debug1: kex_exchange_identification: banner line 8: <title>400 Bad Request</title>
debug1: kex_exchange_identification: banner line 9:
debug1: kex_exchange_identification: banner line 10:
400 Bad Request

debug1: kex_exchange_identification: banner line 11:
nginx/1.18.0
debug1: kex_exchange_identification: banner line 12:
debug1: kex_exchange_identification: banner line 13:
kex_exchange_identification: Connection closed by remote hos

If I try not to use ssh config file, I always get prompt to enter password for the git user. And also there is error
debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_1000)

Any idea what's the issue?

Hello @syntaxgirl
Thanks for your post.
I need to test all the way through as you did to see why this would happening, I have some questions on that:

did you clone using https?
when you push without ssh config file and asks for the password, you are able to push it?

When you connect to gitlab over nginx-proxy, the proxy will deal with ssl and forward a port 80 to gitlab container... not sure if this might be the error though...

@evertramos
So when I try to clone with git and already have setup host inside config file, I get asked for the password. Same thing happen if I remove Host from config file (/home/xyz/.ssh/config)
Cloning with https, works perfectly. This is basically how we currently use gitlab (unfortunately). Pulling, pushing over https, works also. The only issue we are facing is via the ssh. Because of it, we can't setup properly the CI/CD Pipeline. Else than that, works perfectly.
Here is a debug from the following comamnd
ssh -vvvT<EMAIL_ADDRESS>`OpenSSH_8.2p1 Ubuntu-4ubuntu0.2, OpenSSL 1.1.1i  8 Dec 2020
debug1: Reading configuration data /home/xyz/.ssh/config
debug1: /home/xyz/.ssh/config line 1: Applying options for *
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolving "gitlab.privadoa.com" port 22
debug2: ssh_connect_direct
debug1: Connecting to gitlab.privadoa.com [<IP_ADDRESS>] port 22.
debug1: Connection established.
debug1: identity file /home/xyz/.ssh/id_rsa type 0
debug1: identity file /home/xyz/.ssh/id_rsa-cert type -1
debug1: identity file /home/xyz/.ssh/id_dsa type -1
debug1: identity file /home/xyz/.ssh/id_dsa-cert type -1
debug1: identity file /home/xyz/.ssh/id_ecdsa type -1
debug1: identity file /home/xyz/.ssh/id_ecdsa-cert type -1
debug1: identity file /home/xyz/.ssh/id_ecdsa_sk type -1
debug1: identity file /home/xyz/.ssh/id_ecdsa_sk-cert type -1
debug1: identity file /home/xyz/.ssh/id_ed25519 type -1
debug1: identity file /home/xyz/.ssh/id_ed25519-cert type -1
debug1: identity file /home/xyz/.ssh/id_ed25519_sk type -1
debug1: identity file /home/xyz/.ssh/id_ed25519_sk-cert type -1
debug1: identity file /home/xyz/.ssh/id_xmss type -1
debug1: identity file /home/xyz/.ssh/id_xmss-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.2
debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4
debug1: match: OpenSSH_7.4 pat OpenSSH_7.0,OpenSSH_7.1*,OpenSSH_7.2*,OpenSSH_7.3*,OpenSSH_7.4*,OpenSSH_7.5*,OpenSSH_7.6*,OpenSSH_7.7* compat 0x04000002
debug2: fd 3 setting O_NONBLOCK
debug1: Authenticating to gitlab.example.com:22 as 'git'
debug3: hostkeys_foreach: reading file "/home/xyz/.ssh/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /home/xyz/.ssh/known_hosts:1
debug3: load_hostkeys: loaded 1 keys from gitlab.example.com
debug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
debug3: send packet: type 20
debug1: SSH2_MSG_KEXINIT sent
debug3: receive packet: type 20
debug1: SSH2_MSG_KEXINIT received
debug2: local client KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group14-sha256,ext-info-c
debug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256-cert-v01@openssh.com,ssh-ed25519-cert-v01@openssh.com,sk-ssh-ed25519-cert-v01@openssh.com,rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,sk-ecdsa-sha2-nistp256@openssh.com,ssh-ed25519,sk-ssh-ed25519@openssh.com,rsa-sha2-512,rsa-sha2-256,ssh-rsa
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm<EMAIL_ADDRESS>debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm<EMAIL_ADDRESS>debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos: none,zlib@openssh.com,zlib
debug2: compression stoc: none,zlib@openssh.com,zlib
debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug2: peer server KEXINIT proposal
debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
debug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc
debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc
debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1
debug2: compression ctos<EMAIL_ADDRESS>debug2: compression stoc<EMAIL_ADDRESS>debug2: languages ctos:
debug2: languages stoc:
debug2: first_kex_follows 0
debug2: reserved 0
debug1: kex: algorithm: curve25519-sha256
debug1: kex: host key algorithm: ecdsa-sha2-nistp256
debug1: kex: server->client cipher<EMAIL_ADDRESS>MAC:  compression: none
debug1: kex: client->server cipher<EMAIL_ADDRESS>MAC:  compression: none
debug3: send packet: type 30
debug1: expecting SSH2_MSG_KEX_ECDH_REPLY
debug3: receive packet: type 31
debug1: Server host key: ecdsa-sha2-nistp256 SHA256:HmHPvtExrJ/1MLAvzUfydlFPvorK/s7765feAgyQFgA
debug3: hostkeys_foreach: reading file "/home/xyz/.ssh/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /home/xyz/.ssh/known_hosts:1
debug3: load_hostkeys: loaded 1 keys from gitlab.example.com
debug3: hostkeys_foreach: reading file "/home/xyz/.ssh/known_hosts"
debug3: record_hostkey: found key type ECDSA in file /home/xyz/.ssh/known_hosts:2
debug3: load_hostkeys: loaded 1 keys from <IP_ADDRESS>
debug1: Host 'gitlab.example.com' is known and matches the ECDSA host key.
debug1: Found key in /home/xyz/.ssh/known_hosts:1
debug3: send packet: type 21
debug2: set_newkeys: mode 1
debug1: rekey out after 134217728 blocks
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug3: receive packet: type 21
debug1: SSH2_MSG_NEWKEYS received
debug2: set_newkeys: mode 0
debug1: rekey in after 134217728 blocks
debug1: Will attempt key: /home/xyz/.ssh/id_rsa RSA SHA256:4lX812ueTKcZ2WmiXz/mGvF8ED/Gu0EJLmfQt5iNKhk agent
debug1: Will attempt key: /home/xyz/.ssh/id_dsa
debug1: Will attempt key: /home/xyz/.ssh/id_ecdsa
debug1: Will attempt key: /home/xyz/.ssh/id_ecdsa_sk
debug1: Will attempt key: /home/xyz/.ssh/id_ed25519
debug1: Will attempt key: /home/xyz/.ssh/id_ed25519_sk
debug1: Will attempt key: /home/xyz/.ssh/id_xmss
debug2: pubkey_prepare: done
debug3: send packet: type 5
debug3: receive packet: type 7
debug1: SSH2_MSG_EXT_INFO received
debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512>
debug3: receive packet: type 6
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug3: send packet: type 50
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password
debug3: preferred gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup gssapi-with-mic
debug3: remaining preferred: publickey,keyboard-interactive,password
debug3: authmethod_is_enabled gssapi-with-mic
debug1: Next authentication method: gssapi-with-mic
debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_1000)
debug1: Unspecified GSS failure.  Minor code may provide more information
No Kerberos credentials available (default cache: FILE:/tmp/krb5cc_1000)
debug2: we did not send a packet, disable method
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/xyz/.ssh/id_rsa RSA SHA256:4lX812ueTKcZ2WmiXz/mGvF8ED/Gu0EJLmfQt5iNKhk agent
debug3: send packet: type 50
debug2: we sent a publickey packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
debug1: Trying private key: /home/xyz/.ssh/id_dsa
debug3: no such identity: /home/xyz/.ssh/id_dsa: No such file or directory
debug1: Trying private key: /home/xyz/.ssh/id_ecdsa
debug3: no such identity: /home/xyz/.ssh/id_ecdsa: No such file or directory
debug1: Trying private key: /home/xyz/.ssh/id_ecdsa_sk
debug3: no such identity: /home/xyz/.ssh/id_ecdsa_sk: No such file or directory
debug1: Trying private key: /home/xyz/.ssh/id_ed25519
debug3: no such identity: /home/xyz/.ssh/id_ed25519: No such file or directory
debug1: Trying private key: /home/xyz/.ssh/id_ed25519_sk
debug3: no such identity: /home/xyz/.ssh/id_ed25519_sk: No such file or directory
debug1: Trying private key: /home/xyz/.ssh/id_xmss
debug3: no such identity: /home/xyz/.ssh/id_xmss: No such file or directory
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
<EMAIL_ADDRESS>password:`

@syntaxgirl in order to use ssh you must bind the port 22 of your host into your container, otherwise it will try to access the docker host port 22... so, if you plan to do that you might want to change the ssh port of your docker host (server running the docker) and then you will be able to bind port 22 to your gitlab container. Give it a try and let me know if it works. Through this proxy will only work over https.

@syntaxgirl in order to use ssh you must bind the port 22 of your host into your container, otherwise it will try to access the docker host port 22... so, if you plan to do that you might want to change the ssh port of your docker host (server running the docker) and then you will be able to bind port 22 to your gitlab container. Give it a try and let me know if it works. Through this proxy will only work over https.

Thanks for this tip. So the way I did it, is I first added a new port for SSH on my server. Tested ssh with new port, worked. Then I removed port 22 from ssh on server. Once done, I just run gitlab image with
docker run -p 22:22 ...
and now everything works perfectly. For now this works. Though we have a different port for ssh now, but if it's the only way, it doesn't matter. In case you do have some tip to maybe still have both on port 22, let me know

That's great you got it working! I have a personal ssh container that manages all ssh access to the server, but not for the host itself, it's like a bastion host, so clients can access their own wordpress sites over ssh without steping on the host itself, but never tested to forward it to gitlab... running the port 22 in the host and in the container I think it's not really an option. Also, I myself normally change the port 22 of a host, just to skip regular bots, so I consider a tiny good practice here.
Thanks for the reply!


[Feature request] Detect when inside a text field

Would it be possible to add a detection mechanisms for text fields? For example, I want ⌘+← or ⌘+→ to go to a previous/next tab in my file/web browser, however, when I'm in a text field (e.g. typing in a search bar or renaming a file) I'd like these combinations to go to the beginning/end of a text string. So, I'd need to pass two different key combinations depending on whether I'm editing a text field or not.
Thank you
P.S. This might be a duplicate issue, but I've only found ones that an evil bot :) closed down automatically due to inactivity, e.g. https://github.com/tekezo/Karabiner-Elements/issues/651

This was possible with the "old" Karabiner where information from Apple's Accessibility Inspector could be used to restrict actions to specific sorts of dialog windows etc.
I would not expect this from an app called "Elements". Maybe the next regular app will suit you better.

1

I'm also interested in this feature. Did you solve it?


DQN learning is very slow in comparison to training video

Hi, just wondering what might be the issue that the notebook https://github.com/the-deep-learners/TensorFlow-LiveLessons/blob/master/notebooks/cartpole_dqn.ipynb is learning so fast in the training video, whereas whether I run the same notebook on my local machine or colab env with GPU support it is dramatically slower (1 episode per 5s)? In the training video it reaches hundreds of episodes in within seconds.
Thanks in advance for any hints.

Hi @jahu!
This sounds like an issue with a particular library version of Colab -- and perhaps in your local environment as well. When I follow the installation instructions for this repo -- or, more specifically, when I use the library versions specified by the Dockerfile for this repo -- the training proceeds extremely quickly.
In contrast, if I run the notebook in Colab using whatever library versions they have today, then it runs slowly (e.g., 1 episode per 5 seconds) like you're experiencing.

Very strange, it seems like keras/tensorflow version issue then...  Thank you very much for the answer @jonkrohn, I will downgrade libs and check performance again.


Add my projects

@mxstbr Thanks! Can you add them in package.json as well?

Merging this, but note you do have to add it in package.json too. Otherwise they will disappear when we generate again the README.md file.


Use JitPack repository in the installation guide

I think this could simplify the installation process.

Please accept this request! @antonyt


Radio Buttons Cannot Have Boolean Values

Are you submitting a bug report or a feature request?
A bug, I think.
What is the current behavior?
Here's a naive example to reproduce the behavior. (I'm actually using material-ui.) When you check either button, it becomes unchecked immediately (at next render).
<label>
  <Field name="rotate" component="input" type="radio" value={false} />
  Portrait
</label>
<label>
  <Field name="rotate" component="input" type="radio" value={true} />
  Landscape
</label>

When you change the values to strings, it works fine.
<label>
  <Field name="rotate" component="input" type="radio" value="false" />
  Portrait
</label>
<label>
  <Field name="rotate" component="input" type="radio" value="true" />
  Landscape
</label>

Except then on submit data.rotate is a string and must be cast to boolean. This is a bigger problem for me because my forms are dynamic, so I would have to loop through every property of data and and check for "true" or "false" then convert. But what if someone entered "true" in a comment field? Ouch.
What is the expected behavior?
Should be able to set boolean values on radio buttons.
What's your environment?
OSX El Capitan
<EMAIL_ADDRESS>

I've found that normalize provides an adequate workaround.

I hope https://stackoverflow.com/questions/44732784/how-can-i-preserve-a-checkbox-value-type-in-react/44733212#44733212 answers your question (and if so some upvotes are appreciated!)

Apologies for my original misunderstanding here. Repro: https://codesandbox.io/s/R6LrEY8lV
A bit of a pain for dynamically generated options...

same issue with me

same issue

Has this been fixed?

The same here. What is the solution please ?

In Vue this happens if the "v-bind" directive is not used against "value." Using the directive tells the framework to consider that the "value" is a JavaScript expression, not a string, and if it isn't used, Booleans get 'automagically' converted to strings after a few round-trips.
Here's a link to the discussion in the Vue guide, not sure if this might be a similar issue in react/redux?
Vue Guide - Props


refactor: remove unused params and enable strict check

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

24 of 30 (80.0%)  changed or added relevant lines in 10 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.1%) to 72.833%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

ext/scheduler/airflow/airflow.go
2
3
66.67%

ext/scheduler/airflow2/airflow.go
0
1
0.0%

api/handler/v1beta1/job.go
1
3
33.33%

store/local/resource_spec_repository.go
3
5
60.0%

Files with Coverage Reduction
New Missed Lines
%

api/handler/v1beta1/job.go
2
40.82%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
5158

Relevant Lines:
7082

💛  - Coveralls

Linked to issue #192

Will be merged after #210


"Log in with your Google account" text doesn't seem to be aligned to anything

Maybe it's just me, but it seems weird that "Log in with your Google account" isn't aligned to the button or the text further up the page.

@johnrich85


Improve click events behavior

[ ] Highlight a country by clicking on a legend item.
[ ] Highlight a country by clicking on it, reset highlight on all other countries (as a partial workarounds for touch events propagation on Firefox mobile).

f683f9eaa083662263c5b3e15c474ecd6fddf852


regex in botcomposer getting issue

I created a text box and using below code to check if the string is empty or whitespaces in adaptive card.But getting error.
"Regex": "(^$|\s+)[|\s]",
"error": "whitespacs not allowed",
Below error message I am seeing
Error: Error: Unexpected token ( in JSON at position 929 [TXXXX Error occurred when evaluating
Appreciate any help

Hi @premmand Is the regex in a prompt? Like in a validation field? If you can share any screenshots or source code of where you are using the regex that will help.


Fix typo

Corrected spelling of "suggest" in index.md.

Thanks for the contribution im merging this


feat: add Transform

BREAKING CHANGE: check method of compound runtypes such as Record and Tuple now returns a new object instead of original one
Resolves #56. It's inspired by https://github.com/pelotom/runtypes/issues/56#issuecomment-757425403. Detailed usage is in the tests. Above change is needed in order to make Transform work with those non-primitive runtypes. Now investigating possible side effects, bugs & design flaws...
Example usage:
const Input = Record({
  date: String.withTransform(s => {
    const date = new Date(s);
    if (isNaN(date.valueOf())) throw new Error(`Invalid date string "${s}"`);
    else return date;
  }),
});
type Input = Static<typeof Input>;
// { date: Date; }

Input.check({ date: 'crap' });
// ValidationError: Failed transform: Error: Invalid date string "crap" in date

const input: Input = Input.check({ date: '1990-01-01' });
console.log(input.date.toUTCString());
// Mon, 01 Jan 1990 00:00:00 GMT

Coverage decreased (-1.0%) to 98.142% when pulling 52e8900f354db7c9fe89ed366cfb82039d0feb9d on yuhr:feat/transform into 38e9ace0924498aaddfb4a8374f670ca3ff0ca03 on pelotom:master.

https://github.com/ForbesLindesay/funtypes/issues/16#issuecomment-690852229

A side effect of this change is that we are also effectively deep cloning everything,

This is correct for us too.

which takes care of pelotom#132 and pelotom#24 (remove unknown keys from validated object).

I think this is still remaining to be considered in some point of view, that is, we could still include unknown properties in the validated object, but yes, it would be better to remove in favor of these issues. This way, we shall state that Record and Partial will always strip unknown properties in the validated object, so if one wants to include them in the output, explicit runtypes are needed for them, for example intersecting Dictionary or somehow.
Additionally, this will consequently handle "exact" type matching #41. It feels like we're somewhat on the right track further than #162, as it won't work with Intersect or Union.

It may be worth looking into supporting a fast path that doesn't clone objects if none of the validations change anything.

I don't believe this would improve performance or memory consumption in any terms, because it requires us to introduce additional strict-equality check at every single runtype validation.

Note that Transform won't work with decorators, as decorators currently don't support any transform of static types of their targets such as parameters. https://github.com/microsoft/TypeScript/issues/4881

The side effect that it removes unknown properties from validated records may also address the problem described in #111:

import { Record, String } from 'runtypes';

const User = Record({
  userName: String,
  displayName: String,
});

async function getUser(req, res, next): Promise<void> {
  ...
  const rawUser:  = await getUserFromDataBase();
  const typedUser = User.check(rawUser);

  res.body(JSON.stringify(myUser)); // DANGER DANGER could include property 'socialSecurityNumber'
}

This could be very dangerous if the object returned by getUserFromDataBase looked like this:
{
  userName: "maclockard",
  displayName: "Mac",
  socialSecurityNumber: 555555, // DANGER DANGER
}

Obviously this will already be resolved by this PR.
As I have written here, once we get Transform, the "stringify" feature proposed by #111 is easily created by having another runtype dedicated to serialization.

Well, I understand in some cases it's not "easily created", especially for complex Records. In those cases we might think of having some convenient way to generate a new runtype derived from existing one. This conversation is out of scope of this PR, since this PR is supposed to provide a basic functionality to perform data transformation.

Oh this will break the semantics of guard and assert now, that needs a solution definitely.

Looking forward to this feature, will be super useful!

It is a shame the non-mutating behaviour will be lost though, since it's so low overhead.

@peterjwest Sorry, my wording was improper. I said misleading terms such as "strip", "remove" and "side effect", but by these words I did mean just "not present" in the returned object (and its static type) from ".check()". That's why the current implementation makes guard and assert nonsense, i.e. Transform can change the Static type of a runtype, but guard and assert does not return the transformed value and just assure that the argument's type is the transformed one (Of course this behaviour is invalid, and needs to be resolved). I don't want to introduce any form of mutating behaviour.

Any news about this? This feature would be very important to our team if it gets ready (especially if extra object keys will be dropped). So far we've used this kind of utility function but it feels a bit hacky and we'd rather implement this as real real feature to the core library:
const withoutExtraKeys = <T>(type: rt.Runtype<any>, value: any): T => {
  const reflect = type.reflect
  switch (reflect.tag) {
    case 'record':
      return Object.entries(reflect.fields).reduce((result, [propertyKey, propertyType]) => {
        if (propertyType.tag !== 'optional' || propertyKey in value) {
          result[propertyKey] = withoutExtraKeys(propertyType, value[propertyKey])
        }
        return result
      }, {} as T)
    case 'dictionary':
      const valueType = reflect.value
      return Object.entries(value).reduce((res, [key, value]) => {
        res[key] = withoutExtraKeys(valueType, value)
        return res
      }, {} as T)
    case 'array':
      const elementType = reflect.element
      return value.map((x) => withoutExtraKeys(elementType, x))
    case 'optional':
      return value === undefined ? value : withoutExtraKeys(reflect.underlying, value)
    case 'union':
      for (const altType of reflect.alternatives) {
        if (altType.validate(value).success) {
          return withoutExtraKeys(altType, value)
        }
      }
      return value
    case 'intersect':
      if (reflect.intersectees.length === 0) {
        return value
      } else {
        return reflect.intersectees.reduce((result, intersecteeType) => {
          const intersecteeValue = withoutExtraKeys(intersecteeType, value)
          if (_.isPlainObject(result) && _.isPlainObject(intersecteeValue)) {
            Object.assign(result, intersecteeValue)
            return result
          } else {
            return intersecteeValue
          }
        }, {} as any)
      }
    default:
      return value
  }
}

export const checkNoExtraKeys = <T>(type: rt.Runtype<T>, value: unknown): T => {
  type.check(value)
  return withoutExtraKeys<T>(type, value)
}```

I can also help with this PR if it helps to get it closer to being merged!

Here's my version of the same thing.
It's not as feature complete as yours, but mine returns the original object unless it would be mutated.
import { mapValues, pickBy } from 'lodash';
import * as runtypes from 'runtypes';

export default function restrict<Data, RunType extends runtypes.Runtype<Data>>(RunType: RunType, data: Data) {
  return restrictInternal(RunType, data) || data;
}

function restrictInternal<Data, RunType extends runtypes.Runtype<Data>>(
  RunType: RunType, data: Data,
): Data | undefined {
  const reflected = RunType.reflect;
  if (reflected.tag === 'record') {
    let mutated = false;

    const newData: Data = mapValues(pickBy(data as any, (item, key) => {
      const hasKey = key in reflected.fields;
      if (!hasKey) mutated = true;
      return hasKey;
    }), (item, key) => {
      const newItem = restrictInternal(reflected.fields[key], item);
      if (newItem !== undefined) mutated = true;
      return newItem || item;
    });

    if (mutated) return newData;
  }
  if (reflected.tag === 'array') {
    let mutated = false;

    const newData: Data = (data as any).map((item: any) => {
      const newItem = restrictInternal(reflected.element, item);
      if (newItem !== undefined) mutated = true;
      return newItem || item;
    });

    if (mutated) return newData;
  }
  if (reflected.tag === 'dictionary') {
    let mutated = false;

    const newData: Data = mapValues(data as any, (item) => {
      const newItem = restrictInternal(reflected.value, item);
      if (newItem !== undefined) mutated = true;
      return newItem || item;
    });

    if (mutated) return newData;
  }

  if (reflected.tag === 'union') {
    const alternative = reflected.alternatives.find((alternative) => {
      try {
        alternative.check(data);
        return true;
      } catch {
        return false;
      }
    });
    return restrictInternal(alternative as any, data);
  }

  if (reflected.tag === 'optional') {
    return restrictInternal(reflected.underlying as any, data);
  }

  return undefined;
}

If we are transforming in the direction of Json => TS is there then also appetite for transformations in the opposite direction i.e TS => Json? Presumably we'd need a new function like encode() à la io-ts

@yuhr design-wise, shouldn't withTransform be inverted? Or am I thinking more on the lines of a withConverter function.
Ideally my thought it that I have:
export const DateType = rt.InstanceOf(Date).withConverter((val: unknown) => {
    if (typeof value === 'string') {
    value = new Date(DateString.check(value));
  }
  if (DateTime.isDateTime(value)) {
    value = value.toJSDate();
  }
  return value;
});
export type DateType = rt.Static<typeof DateType>;

That way it can deal with any kind of unknown value, and try and turn it into the Date Type, and if it fails, throw a validation error.
To represent this with your withTransform function, do I use a union of possible input types?
E.g.
export const DateType = rt.Union(rt.InstanceOf(Date), rt.InstanceOf(DateTime), rt.String).withTransform((val: Date | DateTime | string) => {
    if (typeof value === 'string') {
    value = new Date(DateString.check(value));
  }
  if (DateTime.isDateTime(value)) {
    value = value.toJSDate();
  }
  return value;
});
export type DateType = rt.Static<typeof DateType>;

Closing as too slate; I'll file another PR for this.


failed to create cert because letsencrypt container can't reach the local site

I'm trying to set up a nginx-proxy + docker-letsencrypt-nginx-proxy-companion to proxy my test web app which's also running as a container, simply like that.  The things is, after its executed I can only access the test web from http://my.test.com, and the logs of nginx-letsencrypt told me this service was not able to reach http://my.test.com/.well-known/acme-challenge/xngtTPnXmC-s__eWccp64NEDvPxJshsvjpob-9Key3w: HTTPConnectionPo ol(host='my.test.com', port=80): Max retries exceeded with url: /.well-known/acme-challenge/xngtTPnXmC-s__eWccp64NEDvPxJshsvjpob-9Key3w (Caused by NewConnectionError('<reques ts.packages.urllib3.connection.HTTPConnection object at 0x7f8575a16210>: Failed to establish a new connection: [Errno 111] Connection refused',)).
Well, I'm not sure if it's because the nginx-letsencrypt can't recognize the domain name 'my.test.com' specified by its host machine, however, after bash into the nginx-letsencrypt, I could ping to this domain even though curl http://my.test.com returns me a same error saying 'connection refused'. So someone please kindly give me any suggestion to get it work...thanks!

@Robin2009: this project is intended to format and send certificate requests to the Letsencrypt CA registration endpoint, and does NOT create ssl certificates from local.
So, your domain must be valid and resolved from the LE pool of servers  (a.k.a. from the whole externat Internet network, and not <IP_ADDRESS>).
Regarding your bash test inside the nginx-letsencrypt container, if you put an ip into your host's etc/hosts (here, your mac os), it won't be 'copied' to your docker container, which will use its own network rules to connect this ip (you could use a dnsmask+--dns option on the host to do this or the --add-host option).
Btw, even if you forward the my.test.com <IP_ADDRESS> rule to your containers, you could not see any running service from the container's localhost.
Shortly said: buy a valid domain or use a local CA instead of this letsencrypt stuff

@lounagen Sorry for my late reply, and that's a great explanation! Thanks so much

@Robin2009 if you already own a domain and use Cloudflare, I've got a nice working example for you here: https://github.com/opyate/docker-letsencrypt-nginx-proxy-companion


building under Windows with MingGW

I try build library with this command mingw32-make -f makefile.w32 and have several errors from linker ((.
Because you forgot add bzip2 library for building in makefile. And I stop trying. Please check makefile.w32. And  OBJS_TEST = test/test.o not exist you rename that file. Thank you.

Fixed in commit 13c889a84d51692ea3f42e19f04c394bd2caf35d.


WIP: Updated libmesos bundle to libmesos-bundle-1.14-alpha.tar.gz.

(for debugging purposes only)

Closing as this is landing in the sdk-0.57.0-rc branch.


Incorrect cardinality inference on update

A cardinality inference bug in update queries. Using the query builder schema the following query has inferred cardinality Many:
WITH
  __scope_0_Hero := DETACHED default::Hero
UPDATE __scope_0_Hero
FILTER (__scope_0_Hero.name = "Spider-Man")
SET {
  name := ("The Amazing " ++ __scope_0_Hero.name)
}

Though Hero.name has an exclusive constraint. Regression possibly introduced in https://github.com/edgedb/edgedb/pull/3585.

It is indeed a regression from #3585

(Though the reason it worked before https://github.com/edgedb/edgedb/pull/3585 was basically by accident)


handle xsd::decimal in TryFromTerm for f64

Doing a TryFromTerm on a list of xsd::decimals would previously produce a wrong datatype error since the list below example would produce literals with the decimal type (^^"http://www.w3.org/2001/XMLSchema#decimal"):
:a _:list (2.00 4.00)

Good point. Thanks for the PR


Setup security scanning for Helm charts

Setup security scanning for Helm charts with Snyk IaC.

This can be useful: https://github.com/snyk/actions/tree/master/iac


lxd/fsmonitor: Don't crash on Walk errors

Closes #9469
Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

jenkins: test this please

jenkins: test this please

Not sure why Github is lagging behind on Jenkins test results by https://jenkins.linuxcontainers.org/job/lxd-github-pull-test/5104/ looks pretty good.
We had some flakiness due to someone attacking the VPN server used for half of the test runners...


Add Minor

We will need to record/track requirements 3 and 4 inside the application
Add an “invitation” to the minor if a student has completed ½ or over ½ of the minor?
Add a “Minor” block onto the Service Transcript like SLCs
Minor Proposal:
45.pdf

 Add Minor #899


Arrow records not released on block rotation

Arrow records are not released when a block is rotated out. We need to ensure we aren't leaking resources related to arrow records.
We should walk all parts in a completed block and release any records found there.

Doesn't dropPendingBlock: https://github.com/polarsignals/frostdb/blob/316e3ce05e2fad8404a810ddabbfb6488ee2891b/table.go#L380
do this?

ah ha! Thank you; I totally missed that. Closing as this is implemented already.


feat(mongoose): decorators for select and schema.index()

Description
Add two mongoose decorators to:

define schema indexes
set default select() behavior for schema path

Usage example
Calls schema.index() to define an index (most likely compound) for the schema.
@Model()
@MongooseIndex({first: 1, second: 1}, {unique: 1})
export class EventModel {

  @Property()
  first: string;

  @Property()
  second: string;

 }

Tells Mongoose to set default select() behavior for this path.
@Model()
export class EventModel {
  @Select(false)
  field: string;
}

@xinpascal Awesome :)
Thanks guy ! and welcome as contributor on this project !
Romain

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Angular 2: No provider for NgControl

I am running the plugin as per demo, with the only apparent difference being my bootstrap code:
bootstrap(AppComponent, [
  disableDeprecatedForms(),
  provideForms(),
]);

And I get exception No provider for NgControl. Does the Angular 2 plugin only support deprecated forms?

I have the same trouble (
Is there any workaround?
ORIGINAL EXCEPTION: No provider for NgControl! ORIGINAL STACKTRACE: Error: DI Exception

@msafi I created a pull request to use the new forms module and I updated the example to use the mask. Binding and masking work as before.
Also, I suspected that your plugin may not play nice with form validation, so I also added an example of form validation using regex. It does not behave as it should. This bad behavior was not introduced by my changes, it is present currently in master. Could you take a look?
Unrelated, but are there any plans to support regex masking? e.g [a-z]* to only allow lowercase letters?

It seems that the validators run before the directive makes its changes to the input. this.ngControl.viewToModelUpdate(this.inputElement.value) does cause the input value changes to propogate back into the Angular model, however, validators are not re-run, so validity state is based on the value before this.control.update() is run.
I want to try manually triggering validators but cannot get them to fire. If that isn't possible to do, you may have to make your changes through Angular, instead of to the input element directly. Maybe something like this http://almerosteyn.com/2016/04/linkup-custom-control-to-ngcontrol-ngmodel
Any suggestions or alternative solutions?

@sky-coding I've merged your PR. Thanks a lot for submitting it! I'll do some tests then hopefully publish the changes to npm.
There are no plans to support regex masking. However, you can use L as the masking character to accept any alphabetical character and transform it to lower case. For more flexibility, you can use the pipe API, which allows you to do pretty much whatever you want with user input. Combining pipe with a dynamic mask can allow creating any type of mask as far as I can tell!
With regard to Angular 2 validators not running after the input field is updated, I'm not really sure how to handle that. Like you said, we would need to find a way to some how make Angular 2 aware that we changed the value of the input element behind the scenes?


Unable to delete launch template

Karpenter: v0.8.2

Kubernetes: v1.21.5
Upgraded to v0.8.2, getting the following error from controller:
2022-04-20T13:23:58.713Z	ERROR	controller.aws.launchtemplate
Unable to delete launch template, UnauthorizedOperation: You are not authorized to perform this operation.
Encoded authorization failure message: EiJVx94p_5uVuGY1q2Mo_hFqVpnDjwjdd8bwWSnrX2WTZbrou3X2MEQlejCwucq7Nq4YW4n_ESwnPGWhUIFZ2KvJ1uDF6zF_UxZSBODppn_cPzoQEb9buBidCR9j7dWxR1fxOmKdYslf2nhzNleQesdduhTkJzpnZxvAGwmw4UmhlvvNlgWHrm-Q6ODPoWLtbFRLIQ-OqBD8UueRQW5_1_4CZPkEFu5IyaPc8j-gzAEC32qqSktEM8HAH818hAxgevA0buPlsXk2O530WqrNrimCH7WOIRYQyly-Wdc8l6Ll5J8JDLiYAV7wDqfWFlx4hEXoS9qNHmMtOVjB9f2oOQ5FYnJpNvEri_aUDyAEduO0Co7VzCpK9RNLMiycweclpoUnyT9joYpTsgE7NSnz29a1gxWdATxnKUdAYaSH_vi26T4_4DI2JKiv2m8t8m808JwBWVdLe8tveLI2tACN8-GRYS2v_fCjnZ9XCLlKA8iSqi5FX7ph4Tn6hnXF5kaA9rKHk9r3ohDfSJLclBO-m2dfcn_in69450YlxaXXHqBUFC-9vRSlKRmx5e_KXlceSTisYjBj0LSO0G3YUS_qrctiV77phrVZcnxoXJbFKNxyJQIyGZC02oti9rS1dgor2BV4EQ-QLGXnuQ
	status code: 403, request id: fef26975-655d-4047-b036-804ed1c926b2	{"commit": "c115db3"}

Tried to remove Karpenter, then manually delete all launch templates that previous Karpenter version created and reinstall Karpenter 0.8.2. Same error still appears.
Also, the instance profile role has the right permissions:

AmazonEKSWorkerNodePolicy
AmazonEC2ContainerRegistryReadOnly
AmazonSSMManagedInstanceCore
AmazonEKS_CNI_Policy
A policy called "karpenter" which contains the following:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "ec2:TerminateInstances",
                "ec2:RunInstances",
                "ec2:CreateFleet"
            ],
            "Resource": [
                "arn:aws:ec2:*:xxxxxxx:security-group/*",
                "arn:aws:ec2:*:xxxxxxx:instance/*",
                "arn:aws:ec2:*:xxxxxxx:network-interface/*",
                "arn:aws:ec2:*:xxxxxxx:volume/*",
                "arn:aws:ec2:*:xxxxxxx:subnet/*",
                "arn:aws:ec2:*:xxxxxxx:fleet/*",
                "arn:aws:ec2:*::image/*"
            ]
        },
        {
            "Sid": "VisualEditor1",
            "Effect": "Allow",
            "Action": [
                "ec2:DescribeInstances",
                "ec2:DescribeInstanceTypeOfferings",
                "ec2:DescribeAvailabilityZones",
                "ec2:DescribeLaunchTemplates",
                "ec2:DescribeInstanceTypes",
                "ec2:DescribeSubnets",
                "ec2:DescribeSecurityGroups"
            ],
            "Resource": "*"
        }
    ]
}

Instance profile role's Trust Policy:
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "EKSWorkerAssumeRole",
            "Effect": "Allow",
            "Principal": {
                "Service": "ec2.amazonaws.com"
            },
            "Action": "sts:AssumeRole"
        }
    ]
}

Controller has the following permissions:
{
    "Statement": [
        {
            "Action": [
                "ec2:CreateLaunchTemplate",
                "ec2:CreateFleet",
                "ec2:RunInstances",
                "ec2:CreateTags",
                "iam:PassRole",
                "ec2:TerminateInstances",
                "ec2:DescribeLaunchTemplates",
                "ec2:DescribeInstances",
                "ec2:DescribeSecurityGroups",
                "ec2:DescribeSubnets",
                "ec2:DescribeInstanceTypes",
                "ec2:DescribeInstanceTypeOfferings",
                "ec2:DescribeAvailabilityZones",
                "ssm:GetParameter"
            ],
            "Effect": "Allow",
            "Resource": "*"
        }
    ],
    "Version": "2012-10-17"
}

Following the docs I don't think that I am missing any permission.

If you look at the cloud formation template in the getting started guide, there are more permissions listed:
            Action:
              # Write Operations
              - ec2:CreateLaunchTemplate
              - ec2:CreateFleet
              - ec2:RunInstances
              - ec2:CreateTags
              - iam:PassRole
              - ec2:TerminateInstances
              - ec2:DeleteLaunchTemplate
              # Read Operations
              - ec2:DescribeLaunchTemplates
              - ec2:DescribeInstances
              - ec2:DescribeSecurityGroups
              - ec2:DescribeSubnets
              - ec2:DescribeInstanceTypes
              - ec2:DescribeInstanceTypeOfferings
              - ec2:DescribeAvailabilityZones
              - ssm:GetParameter

You seem to be missing the ec2:DeleteLaunchTemplate

@tzneal I noticed and I added this permission. However when nodes are trying to come up I can still see the same error I in the node description as I saw before:
Lease: Failed to get lease: leases.coordination.k8s.io "ip-10-104-27-121.eu-west-1.compute.internal" not found

To clarify, the launch template deletion is now working, but you've got an error regarding " Failed to get lease"?

I had “failed to get lease” before I added the lt deletion. Now lt is deletes but “failed to get lease” left.
thanks !

@tzneal any suggestion ?

Can you post the kubelet logs?  Also, what method did you use for installation/configuration, eksctl or terraform?

Changing the security group solved the issue. Thanks all.


Ensure that the viewer waits for the library to complete loading (issue 17228)

This should hopefully fix #17228, by tweaking the build scripts to give the GENERIC viewer something to await to avoid breaking third-party users of the standalone viewer components.

/botio-linux preview

/botio test

Locally I've tried changing https://github.com/mozilla/pdf.js/blob/8e5311ebf7743e4a3e8b04438809ef0bb09554df/examples/components/simpleviewer.html#L40-L41 into
<script type="module">
  import "../../node_modules/pdfjs-dist/build/pdf.mjs";
  import "../../node_modules/pdfjs-dist/web/pdf_viewer.mjs";
</script>

That failed when testing against master, but worked with this patch.

Let's do this; thank you!


ignoreFiles and layouts folder

I currently use this to ignore everything except Markdown:
ignoreFiles:
- \.[^m]
- \.m[^d]
- \.md.

However I noticed that it ignores everything, even files in layouts.
This seems to contrast with the documentation:

The following statement inside ./config.toml will cause Hugo to ignore
content files ending with .foo and .boo when rendering:
ignoreFiles = [ "\\.foo$", "\\.boo$" ]

https://gohugo.io/getting-started/configuration#ignore-content-files-when-rendering

Workaround:
ignoreFiles:
- content/.*\.[^m]
- content/.*\.m[^d]
- content/.*\.md.

In addition, I suggest to improve the documentation to make it clear

what the regular expressions apply to: Only the file name? The full path? The relative path? (And relative to what?)
how they are applied (weather they can match anywhere or from the beginning of a string)

Because for ex. the pattern to ignore a content subfolder like described here doesn't work any more, and it is unclear why without the information listed above.

I second this. In particular, I can't figure out why ignoreFiles: ["\.suffix$"] ignores content/post/foo/file.suffix but not
content/post/foo/bar/file.suffix. I guess there could be an interference
with page bundle handling, but that's unclear.

If you have a file like:
content/sunday/monday/a.go

You need this:
content/sunday/_index.md

Else the file will remain.

Update: To make things even more confusing, ignoreFiles: ["/bar$"]
ignores the entire content/post/foo/bar directory (as well as any other
directory named bar under content), but ignoreFiles: ["/bar/"] doesn't.
confused

If I have something like content/sunday/index.md, then /sunday/ does ignore
it, not sure what you are trying to do.

1. what the regular expressions apply to: Only the file name? The full
path? The relative path? (And relative to what?)

The input string is the entire path. So for Windows, that is something like
C:\sunday\content\monday\index.md

2. how they are applied (weather they can match anywhere or from the
beginning of a string)

You can match from beginning or end or both, as long as you respect that the
input is in the form I just mentioned.

@muv1, thanks for the response.

If I have something like content/sunday/index.md, then /sunday/ does ignore
it, not sure what you are trying to do.

$ ls -1 content/post/sunday/
index.md
README.txt
monday
$ ls -1 content/post/sunday/monday/
_index.md
a.go
b.txt
c.png

I'm trying to ignore either the entire monday folder, or specific files within it (I've got both use cases). So far, /monday$ and /monday do ignore the folder, but /monday/ doesn't. Also, \.txt$ ignores README.txt but not b.txt. The behavior is the same with or without monday/_index.md.

It just seems like you have the wrong setup. I have just tested this. If you
start with this:
content/sunday/_index.md
content/sunday/sun.go
content/sunday/monday/index.md
content/sunday/monday/mon.go

You can use this to kill a whole folder:
ignoreFiles:
- /content/sunday/monday/

and this for a specific file:
ignoreFiles:
- /content/sunday/monday/mon.go$

again, if you are wanting to ignore stuff, you need to have _index.md files
in the right places for ignoreFiles to be properly honored.

@muv1 not sure what you mean by "the wrong setup", but I believe we've got different use cases. Here are mine:
I have blog posts that are "page bundles", where some page resources exist in sub-folders of the post folder, but they also contain stuff not meant for deployment, like this:
$ ls -1 content/post/PLACEHOLDER/         # note the `/post/` folder
index.md
assets
code_samples

$ ls -1 content/post/PLACEHOLDER/assets
image.png
graph.png
graph.dot # source of graph.png

I want to ignore *.dot files in anywhere below content.
I want to ignore every code_samples folder below content.

The intuitive setting doesn't seem to work.
ignoreFiles:
- \.dot$
- /code_samples/

Do you have an explanation why, and how to achieve that instead?

If you want ignoreFiles to be honored, you must have _index.md in the
correct places. For example, if you have something like this:
content/sunday/index.md        BAD
content/sunday/sun.go
content/sunday/monday/index.md
content/sunday/monday/mon.go

If you want monday or anything inside it to be ignored, the above setup wont
work as you havent created a branch bundle:
https://gohugo.io/content-management/page-bundles
So, before doing anything with anything with ignoreFiles, go back. Look over
all your entries that you might want to ignore. and make sure, in each case,
that the parent has a _index.md. If your content is deeply nested, that might
mean you need to create _index.md at multiple depths. Once thats all done,
then add the ignore rules.
Please do not comment further on this line of questioning, as its off topic for
this thread. This thread is about the layouts folder, no the basics of Hugo.

Please do not comment further on this line of questioning, as its off topic for
this thread. This thread is about the layouts folder, no the basics of Hugo.

Why so rude, mate? To me the issue reads very much like an issue about confusing documentation of ignoreFiles (quote straight from your issue text: "This seems to contrast with the documentation"), and I just wanted to second that as an info to the devs, that's all. So I wasn't actually addressing you when I posted my 1st comment, but the Hugo devs. If you didn't want a subsequent discussion, you could have just stayed out of it.
No need to respond. I'm outa here.

https://github.com/gohugoio/hugo/issues/3811

To anyone interested, I updated my patterns to this:
ignoreFiles:
- /content/.*/.*/.*/.*/
- /content/.*\.[^m]
- /content/.*\.m[^d]
- /content/.*\.md.

Same as before, but first line is new. Its to catch Rust build files, as some
of them dont have an extension:
rust\target\debug\build\serde-743f9119809042f4\output


pyfunction: allow wrap_pyfunction to work on imports (even cross-crate)

I'm really pumped about this! I had an idea earlier today how to make wrap_pyfunction! work on a #[pyfunction] imported from another module.
How it works: #[pyfunction] fn foo now generates a hidden mod foo alongside the function. They're allowed to coexist, and use foo will bring both into the new scope. The hidden module contains just enough exports for wrap_pyfunction to be able to get what it needs. See pyo3-macros-backend/src/pyfunction.rs for the details.
This works really nicely - it even works across different crates! 🚀
(This trick could potentially also be used for #[pymodule] / wrap_pymodule!, though I'll save that for another day, because things may also change when we implement #[pymodule] on mod as proposed in https://github.com/PyO3/pyo3/issues/694#issuecomment-568590494.)

This will really remove a lot of boiler plate init functions from some code bases I work with and remove a cost factor from having more fine-grained Rust-side modules. Thanks!

I am still getting this error. Is there a example/template that someone could share?


allow manual initialization and config as code

- Summary

This pull request solves at least two problems:

The CMS immediately runs on load, leaving no opportunity for bootstrapping.
The CMS config cannot be directly provided as a JS object.

These are both relevant concerns for customizing Netlify CMS for specific static site generators, where we could potentially infer an entire configuration based on SSG conventions, and have no easy way to inject the configuration.
- Description for the changelog

allow manual initialization and config injection
- Notes for reviewers
There are PR comments explaining why changes took place for most individual files. Here are the high points:
Config action payloads are now Immutable maps
Config action payloads used to be objects, and conversion took place in the reducer. This sort of worked, but we now need to load in pieces of configuration one or more times before fetching config.yml, and then run validation and whatnot, so now we convert to Immutable right away before doing anything else. A large portion of changes are due to this.
Default config state is set to { isFetching: true }
The app used to first check for a non-null config state, and then for isFetching to be false, before loading up. Now that config can be injected during bootstrapping, these are both false positives. Setting isFetching to true by default lets us avoid a lot of changes in how we handle configuration state.
A secondary entry point
We'll now be distributing init.js, which exports init and registry functions. The init function accepts an optional object, which is currently only expected to contain an object at the config key. The registry function can be used before or after initialization.
Public beta features
Finally, this PR introduces an approach for public betas. We simply release the beta feature and document it in the Beta Features section of the docs, which carries a clear disclaimer. The new docs page is added with this PR, here's the preview: https://deploy-preview-1149--netlify-cms-www.netlify.com/docs/beta-features/

Deploy preview for netlify-cms-www ready!
Built with commit 88e2e6a32e74f3b8c9f86892bb83d2a39271eee6
https://deploy-preview-1149--netlify-cms-www.netlify.com

Deploy preview for cms-demo ready!
Built with commit 88e2e6a32e74f3b8c9f86892bb83d2a39271eee6
https://deploy-preview-1149--cms-demo.netlify.com

I'll update the config spec to get tests passing in the am.

Docs: https://deploy-preview-1149--netlify-cms-www.netlify.com/docs/beta-features/

Cool idea. Docs LGTM. 👍


Bot and/or app icons are not loading

Steps to reproduce
Tested on macOS 14.6.1 (23G93) in Google Chrome Version 129.0.6668.58 (Official Build) (arm64)

Open a clean browser session (for example in a private window)
Connect to your Teams

Expected behavior
Icons for bots and apps should be loaded in the Chat section.
Actual behavior
Icons for bots and apps are not loaded and a generic blue placeholder image is displayed instead:

Error details
In the browser console I get a lot of errors about some URLs not loading or throwing an error in some way:

Access to fetch at 'https://fr-prod.asyncgw.teams.microsoft.com/v1/url/content?url=https%3A%2F%2Fres.cdn.office.net%2Fteamsappdata%2Fevergreen-assets%2FThirdPartyApps%2F2f4dc505-8eae-4dad-ad92-c6fed9e4857b_largeImage.png%3Fv%3D3.1.22&v=&v=1' from origin 'https://teams.microsoft.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

GET https://fr-prod.asyncgw.teams.microsoft.com/v1/url/content?url=https%3A%2F%2Fres.cdn.office.net%2Fteamsappdata%2Fevergreen-assets%2FThirdPartyApps%2F2f4dc505-8eae-4dad-ad92-c6fed9e4857b_largeImage.png%3Fv%3D3.1.22&v=&v=1 net::ERR_FAILED

I've noticed that if I take a URL that is not loading, for example https://fr-prod.asyncgw.teams.microsoft.com/v1/url/content?url=https%3A%2F%2Fres.cdn.office.net%2Fteamsappdata%2Fevergreen-assets%2FThirdPartyApps%2F2f4dc505-8eae-4dad-ad92-c6fed9e4857b_largeImage.png%3Fv%3D3.1.22&v=&v=1, and add /urlp just after the domain name, for example https://fr-prod.asyncgw.teams.microsoft.com/urlp/v1/url/content?url=https%3A%2F%2Fres.cdn.office.net%2Fteamsappdata%2Fevergreen-assets%2FThirdPartyApps%2F2f4dc505-8eae-4dad-ad92-c6fed9e4857b_largeImage.png%3Fv%3D3.1.22&v=&v=1 then the URL is loading correctly in my browser.
There also seemed to be a similar issue recently that is now unfortunately closed: https://github.com/MicrosoftDocs/msteams-docs/issues/11580.
BTW we also get a lot of reports from our customer base (more than 50 reports in the last 2 months) and some of these users are using the latest version of Teams:

Could you please investigate and fix the root issue? Thanks.

We tried to repro this, however at our end icons are rendering properly. (Teams Web/Desktop client)
We have Microsoft Teams version 24267.1300.3136.8381. The client version is 49/24092313800.
Could you please ensure that the server hosting the icons includes the Access-Control-Allow-Origin header in its response?
Check if there are any network restrictions or proxy settings that might be blocking the CORS headers.

@0x001122, could you please share the network trace showing these failing calls? Please share it at<EMAIL_ADDRESS>

@0x001122, thanks for sharing the logs. We have raised an ICM for this issue and engineering team is looking into it. We will inform you once we have further update. Thanks!

Hi @0x001122 , according to latest update from engineering team the fix is in internal ring now. Once the fix is rolled out publicly, we will inform you in this thread. Thanks for understanding.

Hi @0x001122 , recently we got update from engineering team that the issue has been fixed and rolled out publicly. Please do verify and let us know.


[FLINK-10885][e2e] Stabilize confluent schema registry test

What is the purpose of the change
Potential problem:

the error message "No supported Kafka endpoints are configured. Either kafkastore.bootstrap.servers must have at least one endpoint matching kafkastore.security.protocol or broker endpoints loaded from ZooKeeper must have at least one endpoint matching" indicates that one of the mentioned config parameters has to be set, or the brokers need to be listed in Zookeeper.
The source code of the "KafkaStore" in the schema registry supports this hypothesis: https://github.com/confluentinc/schema-registry/blob/3.2.0-post/core/src/main/java/io/confluent/kafka/schemaregistry/storage/KafkaStore.java#L121
after starting the Kafka cluster, we wait until "Node does not exist" is not returned by the ZK Cli.
However, if ZK is not (yet) running, we'll also have outputs such as "WARN Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn)", stopping the wait loop.

Solution: Wait till we have a ZK Cli output indicating that the broker is registered.
Verifying this change
I ran this change 3 times over night, without a failure. Still, there is no guarantee that the problem is really fixed

Thank you!


Profile testing error

Resolves #001
Description

Type of change

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)
This change requires a documentation update
Documentation update

How Has This Been Tested?

Screenshots

The idea is when a new profile, the irreverent or optional data in the database is nil(null). And if the user updated something to the data. It will save that data. and if the user update that data back to empty data it will become "" instead of nil(null). So we can differentiate in that way if the data is updated or not. I applied in this branch but it is affecting other test cases. SO this is a pull request whether I update other people test case or not.

Wiil be closed and later merge into #3526


Fix a number of bugs in the nczarr code.

re: Issues https://github.com/Unidata/netcdf-c/issues/2063, https://github.com/Unidata/netcdf-c/issues/2062, https://github.com/Unidata/netcdf-c/issues/2061, https://github.com/Unidata/netcdf-c/issues/2059

Support "fill_value: null"  -- 2063.
Handle the dtype case "|u1" -- 2062.
When writing a pure Zarr format file, some nczarr attributes inadvertently crept in -- 2061.
If there is no fill value, then the .zarray fill_value key should have the value null rather than left out -- 2059.

Hat tip: Even Rouault

I confirm it fixes the issues, except for #2061 where it crashes in a different way:
$ valgrind ncdump/ncdump  "file://groups_regular.zarr#mode=nczarr,file"
==1532218== Memcheck, a memory error detector
==1532218== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==1532218== Using Valgrind-3.15.0 and LibVEX; rerun with -h for copyright info
==1532218== Command: ncdump/ncdump file://groups_regular.zarr#mode=nczarr,file
==1532218==
==1532218== Invalid read of size 4
==1532218==    at 0x4967E35: define_vars (zsync.c:1531)
==1532218==    by 0x49669F7: define_grp (zsync.c:1154)
==1532218==    by 0x49684BB: define_subgrps (zsync.c:1624)
==1532218==    by 0x4966A17: define_grp (zsync.c:1157)
==1532218==    by 0x496674B: ncz_read_file (zsync.c:1066)
==1532218==    by 0x4962AD8: ncz_open_file (zopen.c:106)
==1532218==    by 0x4962C72: NCZ_open (zopen.c:183)
==1532218==    by 0x4882EE3: NC_open (dfile.c:2128)
==1532218==    by 0x4881C06: nc_open (dfile.c:657)
==1532218==    by 0x112140: main (ncdump.c:2423)
==1532218==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==1532218==
==1532218==
==1532218== Process terminating with default action of signal 11 (SIGSEGV)
==1532218==  Access not within mapped region at address 0x0
==1532218==    at 0x4967E35: define_vars (zsync.c:1531)
==1532218==    by 0x49669F7: define_grp (zsync.c:1154)
==1532218==    by 0x49684BB: define_subgrps (zsync.c:1624)
==1532218==    by 0x4966A17: define_grp (zsync.c:1157)
==1532218==    by 0x496674B: ncz_read_file (zsync.c:1066)
==1532218==    by 0x4962AD8: ncz_open_file (zopen.c:106)
==1532218==    by 0x4962C72: NCZ_open (zopen.c:183)
==1532218==    by 0x4882EE3: NC_open (dfile.c:2128)
==1532218==    by 0x4881C06: nc_open (dfile.c:657)
==1532218==    by 0x112140: main (ncdump.c:2423)

Give me a day to see if I can fix it.

Regenerate groups_regular.zarr and try again.

Regenerate groups_regular.zarr and try again.

libnetcdf shouldn't crash even if the dataset is corrupted.

Agreed that libnetcdf shouldn't crash under any circumstances, but such is the burden of software development :).  We'll do our best to minimize it, however.

Ok to have unknown failure modes. Just probably need to take care of the known failure modes.

Ok to have unknown failure modes. Just probably need to take care of the known failure modes.

Ideally, the known failure modes are handled absent an out-and-out crash XD.

The one remaining failure is because the code was generating a corrupted nczarr file.
Once the group_regular.zarr file is regenerated from groups.h5, that failure should go away.
In any case, I am going to add some test cases.

Did the regeneration fix the error?

Did the regeneration fix the error?

yes


feat: openGemini supports the data format of graphite to write

Created a graphic package under the service package for supports the data format of graphite to write
res #642

@tjqgit  DCO check failed
please use the following command
git commit -s -m "feat: openGemini supports the data ..."
and recommit again.

请更新主干最新代码再提交哈，多谢

@tjqgit 遗漏了一点，还需要在openGemini.conf加上Graphite的配置项，请补充后再提交一下哈。
此外，还需要把如下Apache License 头内容添加到每个新增文件头部哈，协议里面涉及的版权信息不填
/*
Copyright [yyyy] [name of copyright owner]

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/


project-find progress indicator mis-aligned

The "0 paths searched" doesn't align well.

sorry, duplicate of #53


cluster-capi-kind package

package to deploy a kind cluster using capi

Other than Victor's comments,
/approve

Same here.
/approve

/lgtm
Let's address anything more in future PRs.