Unable to login/push/pull images except on harbor localhost (+HTTPS)

Hello,
I have installed Harbor using the official install.sh, without notary and clair, BUT with HTTPS support
Harbor seems to work fine, I can login on the HTTPS webpage, I can create repositories, manage harbor configuration, add users. I can also login/push/pull correctly when I'm on the local machine (harbor01.domain.tld). There is no issue with the CA (imported in /etc/docker/certs.d/harbor01.domain.tld/ca.crt).
Everything is working on this local machine BUT I'm unable to log, push, or pull from any other machine on my LAN
DNS resolution is OK and ports are open : I can curl/wget harbor webpage
[root@random_lan_host ~]# curl https://harbor01.domain.tld
<!doctype html>

    <meta charset="utf-8">
    <title>Harbor</title>
[...]

[root@random_lan_host ~]# docker login harbor01.domain.tld
Username: admin
Password:
Error response from daemon: Get https://harbor01.domain.tld/v1/users/: net/http: TLS handshake timeout
[root@random_lan_host ~]# docker pull harbor01.domain.tld/rhel7/rhel
Using default tag: latest
Error response from daemon: Get https://harbor01.domain.tld/v1/_ping: net/http: TLS handshake timeout

1)Version of docker engine and docker-compose.
docker --version
Docker version 17.03.0-ce, build 3a232c8
docker-compose --version
docker-compose version 1.16.1, build 6d1ac21

2)Config files of harbor, you can get them by packaging "harbor.cfg" and files in the same directory, including subdirectory.
cat harbor.cfg
## Configuration file of Harbor
hostname =  harbor01.domain.tld
ui_url_protocol = https

db_password = XXXXXXXXXX

max_job_workers = 3
customize_crt = on

ssl_cert = /etc/ssl/public/harbor01.domain.tld.crt
ssl_cert_key = /etc/ssl/private/harbor01.domain.tld.key

secretkey_path = /data
admiral_url = NA

clair_db_password = XXXXXXXXXX
#************************BEGIN INITIAL PROPERTIES************************
email_identity =
email_server = mail.domain.tld
email_server_port = 25
email_username =<EMAIL_ADDRESS>email_from = harbor admin<EMAIL_ADDRESS>email_ssl = false
email_password =

harbor_admin_password = XXXXXXXXXX
auth_mode = db_auth

#The url for an ldap endpoint.
ldap_url = ldaps://ldap.mydomain.com
#A user's DN who has the permission to search the LDAP/AD server.
#If your LDAP/AD server does not support anonymous search, you should configure this DN and ldap_search_pwd.
ldap_searchdn = uid=searchuser,ou=people,dc=mydomain,dc=com
#the password of the ldap_searchdn
ldap_search_pwd = password
#The base DN from which to look up a user in LDAP/AD
ldap_basedn = ou=people,dc=mydomain,dc=com
#Search filter for LDAP/AD, make sure the syntax of the filter is correct.
ldap_filter = (objectClass=person)
# The attribute used in a search to match a user, it could be uid, cn, email, sAMAccountName or other attributes depending on your LDAP/AD
ldap_uid = uid
#the scope to search for users, 1-LDAP_SCOPE_BASE, 2-LDAP_SCOPE_ONELEVEL, 3-LDAP_SCOPE_SUBTREE
ldap_scope = 3
#Timeout (in seconds)  when connecting to an LDAP Server. The default value (and most reasonable) is 5 seconds.
ldap_timeout = 5

self_registration = on
token_expiration = 30
project_creation_restriction = everyone
verify_remote_cert = on
#************************END INITIAL PROPERTIES************************
#############

3)Log files, you can get them by package the /var/log/harbor/ .
I found nothing worth in the logs (no log output is produced when I try to login/pull/push)

Hi,
could you try https://harbor01.domain.tld/v1/users/ from local and remote and let us know the result?

You mean, try to curl/wget this URL ?

@zwindler yes, as it seems a network issue to me...

On both local and remote:
curl https://harbor01.domain.tld/v1/users/

<title>404 Not Found</title>

404 Not Found

nginx/1.11.13

I looked into nginx configuration files in photon-nginx. In the default/generated configuration, v1 is disabled by 404
docker exec -it xxxxxxx bash
vi /etc/nginx/nginx.conf
    location /v1/ {
      return 404;
    }

So it's "normal" that I can't curl v1 on either hosts.
With that knowledge, I tried to force docker to use only v2 registries by adding on remote the following option in /etc/docker/daemon.json
cat /etc/docker/daemon.json
{ "disable-legacy-registry":true }
systemctl restart docker

But I get a similar error
docker pull harbor01.domain.tld/rhel7/rhel
Using default tag: latest
Error response from daemon: Get https://harbor01.domain.tld/v2/: net/http: TLS handshake timeout

It didn't hit 404, the TLS handshake timeout indicates a networking issue.
So are you saying you can curl the url but failed to communicate with same url via docker daemon?
Could you check if there's configuration in docker daemon that may cause that issue?

Ok, found it. This issue is 100% caused by a network problem on our part.
I don't have the solution (because it's related to how our network has been built) but there is nothing wrong with Harbor.
Thanks for the help and sorry for the inconvenience. (Closing the issue)

Hello @zwindler ,I got the same problem today.

curl can get the access
docker-cli doesn't

root@ubuntu-docker-dev:~# docker push harbor131.catscarlet.com/test1/php-www-data:20180726153027
The push refers to repository [harbor131.catscarlet.com/test1/php-www-data]
Get https://harbor131.catscarlet.com/v2/: net/http: TLS handshake timeout

root@ubuntu-docker-dev:~# curl https://harbor131.catscarlet.com/v2/
{"errors":[{"code":"UNAUTHORIZED","message":"authentication required","detail":null}]}

Can you tell me more about your network problem?

I am also having this problem. However, I can't curl or push to the harbor registry. I can pull/push images from dockerhub. I suspect that the problem may be with our corp network/proxy as well.....

I am also facing the same issue. I can curl to harbor on both port 80 and 443. But I am unable to do docker login as I am facing the net/http: TLS handshake timeout. Please let me know what ports need to be open?


"announcement" notation

Description
Syntax sugar to apply a function and an optional label to extended content.
Use Case
Background
Typst offers trailing content block notation to conveniently pass content to a function:
#alert(fill:red)[
  Printer lp0 is on fire.
]

is syntax sugar for
#alert(fill:red, [
  Printer lp0 is on fire.
])

This feature allows for styling and customization of larger content blocks
#theorem(alt: [Smith's Lemma])[
    Let $a$, $b$, and $c$ be integers. ...
]

It only applies, however, to a trailing content block, delimited by [ ].  Notably, it does not apply to mathematics, which is delimited by $ $, and hence notation such as
#customized_eq$
    ...
$

is not available.  Instead, we have
#customized_eq[$
    ...
$]

but the trailing ] is less than convenient.  Adding or removing styling of a displayed equation requires visiting both the beginning and the ending of the display, despite the fact that it is already well delimited by its dollar signs.  Nevertheless, there is not uniform support for extending trailing content block notation to mathematics, #1856. Part of the hesitancy toward #1856 stems from the lack of visual appeal of trailing material delimited by fence-like $s instead of proper asymmetric delimiters.
Because math.equation only offers a few features at the moment, there is limited need for styling and customization.  Nevertheless, the number of knobs will grow in time as line numbering and additional control of alignment are added.  Even today, turning on/off numbering for a single equation has friction. Probably something like
#let nonumber(body) = {set math.equation(numbering: none); body}

#nonumber($
y = x^2 - 2x + 5
$)

is the best we have.  It works, but is a mild hassle and is visually less than ideal.
Proposal
This feature request is a proposal to add "annoncement" syntax, inspired by some of the conversation surrounding #1856, to apply a function and an optional label to extended content.  The examples below illustrate its use, and the rules are laid out concretely after the examples.
#nonumber:
$
y = x^2 - 2x + 5
$

#amsmath.align(line-height: 110%):
$
a & = b & c &= d\
  & < e &   &< f
$

#theorem(alt: [Fermat]): <fermat-little>
[
    Suppose $p$ is prime.  Then ...
    ...
    ...
]

The proposed rules (which are meant to be very restrictive, and which could be loosened now or in the future if desired):

The notation is only available in markup mode (not in math, and not in code).
It is signified by a function call that is immediately followed by a colon.  Arguments to the function, delimited by ( ), are permitted, in which case the colon follows the ).  Otherwise, the colon immediately follows the function name.
Leaving aside the optional label for the moment, following the colon there is an arbitrary amount of whitespace followed by either a content block in a [ ] pair or a mathematics block in a $ $ pair.
The notation is de-sugared during parsing.  Its sole purpose is to aid authors writing their literal content.
Whitespace following the colon and up to the [ or $ is interpreted in the code sense: it is not significant.
The notation#foo: $ bar $

is simply syntax sugar for #foo($ bar $).  Similarly,#foo(baz): $ bar $

is #foo(baz, $ bar $).
Standard trailing content block notation is not permitted in combination with announcement notation, so#foo[bar]: is the same as #foo([bar])\:.  This restriction is inessential and could be relaxed.
Unlike trailing content block notation, which permits an arbitrary number of trailing block arguments (#foo[bar][baz][blat]), only a single trailing argument is available in announcment notation.  This restriction is essential.
A label, preceeded and followed by arbitrary non-significant whitespace, can appear between the colon and the content/math block.
The notation #foo(fill: red) <bar> [baz] is syntax sugar for #foo(fill: red, [baz])<bar>.

Although the notation is intended to be used for a large trailing block, and is ideally started on a line by itself with the announced content on the following line, none of this is enforced.
The optional label part of the proposal is motivated by the primary use case of a large trailing block.  Although final labels mesh well with headings and other short labeled content, they are less convenient for extended content (theorem statements, large equations) where all customization occurs at the beginning with the sole exeption of the label, which can be a paragraph or two away at the end.

Worth mentioning that it seems that AsciiDoc, which apparently inspired part of Typst's syntax, has something similar, which we could take inspiration from: https://docs.asciidoctor.org/asciidoc/latest/syntax-quick-reference/#admonitions

This looks quite similar to this idea: https://github.com/typst/typst/discussions/530#discussioncomment-6331077
Basic idea is “why stop at just content and math blocks?” You could use colons to signify what follows is the trailing argument. In particular, this could compose, as in:
// current
align(center, box(stroke: 1pt, text(size: 14pt, [Lorem Ipsum])))
// proposed
align(center):
    box(stroke: 1pt):
        text(size: 14pt)[Lorem Ipsum]

I believe the original issue is now solved by the release of the wrap-indent package (https://github.com/typst/packages/pull/602), but we might keep this issue open to discuss the implications (good and bad) of implementing this as native Typst syntax.
You can see some more thoughts on that in my write-up here: https://typst.app/project/r5ogFas7lj7E48iHw_M4yh

There is already quite a bit of syntax sugar in the language for conveniently calling functions with trailing brackets. I think with this we have already exhausted our novelty budget on that front.
In my opinion, this proposal make the code also a bit hard to read. When seeing this snippet
#nonumber:
$
y = x^2 - 2x + 5
$

I would not expect a function to be called on the math. It is a bit too smart and somewhat surprising.

There is already quite a bit of syntax sugar in the language for conveniently calling functions with trailing brackets.

This is not particularly ergonomic for use with math though.
Not saying the proposed announcement notation is the answer, but it's worth thinking about.


Check if LKH-3 instances can be read

I checked this today. Some of the LKH instances have TSPLIB95 specifications that are not yet supported (see #94) so not all of these instances can be read without issues.

I checked this today. Some of the LKH instances have TSPLIB95 specifications that are not yet supported (see #94) so not all of these instances can be read without issues.


Convert all existing rules to use a walk function instead of extending AbstractRule

Partner to #586: following palantir/tslint#2522, we should be recommending a ts.forEachChild strategy.
Accepting any PRs that take an existing rule and convert it to walk! ✨

Reopening this issue because it tracks migration of all rules and was closed automatically with fixes #NNN text in PR text.
Note to reviewers: check if PR text strictly follows template and will close this one again.

Looks like this was accomplished. Thanks so much folks! 💖


id suffix problem

GORM Playground Link
https://github.com/go-gorm/playground/pull/209
Description
A field with the last word ending in "-id" will produce a wrong column name
For example "FooCID" will become "foo_c_id" instead of "foo_cid"
This can be worked around with the "column" tag but it's annoying

GORM will use the common initialisms to format the column name, CID is not in the linter's list  https://github.com/go-gorm/gorm/blob/66e8a72bf1b04a6b256c94708da68ddab498a5aa/schema/naming.go#L82-L84
With the latest commit, you are allowed to support this by changing NamingStrategy's NameReplacer


Implemented a structure for polyfill checks.

In the past couple of websites I’ve worked on, I noticed two things. Each time in a new website, I had to manually include a classList polyfill for IE9 support. In existing websites, issues in IE9 were caused by the absence of this classList polyfill. Therefore I thought it would be useful to include this polyfill in the Frontend Bootstrap because we almost always need to support IE9 (and IE10 & IE11 have partial classList support). I took inspiration from the way @wouterkroes and @branneman suggested an implementation in a Slack discussion. It’s commented out by default so that this polyfill won’t be served to browsers you don't support, and can be uncommented and expanded upon if you need it in your project.
For now, only the classList polyfill is included by default. Perhaps a guideline for adding more default polyfills to this structure would be to only include polyfills which allow us to write modern JavaScript that specific browsers don’t understand (aside from ES6 to ES5 transpiling with Babel).

+1

I took over your suggestion @branneman and it works indeed. Not sure what caused the error earlier when I tried it that way.

Github doesn't understand it, but it has been merged.


Fails to create a React Native app on Windows 10

Description
create-react-native-app fails on Windows.
Expected Behavior
Ran create-react-native-app gallery in PowerShell or cmd
Expected to create a new React Native app.
Observed Behavior
Failed to install error
Creating a new React Native app in E:\Projects\ecwid\gallery.

Using package manager as yarnpkg with yarn interface.
Installing packages. This might take a couple minutes.
Installing react-native-scripts...

yarn add v0.16.0
info No lockfile found.
[1/4] Resolving packages...
⠐<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>mime-db@>= 1.30.0 < 2⠐<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>uid-numb[2/4] Fetching packages...
warning<EMAIL_ADDRESS>The platform "win32" is incompatible with this module.                  ███████████████████████████████████████████████████████████████ 933/934
info<EMAIL_ADDRESS>is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning Incorrect peer dependency "react@> 15.0.0".
warning Incorrect peer dependency<EMAIL_ADDRESS>error An unexpected error occured, please open a bug report with the information provided in "E:\\Projects\\ecwid\\gallery\\yarn-error.log".░░░░░░░░░░░░░░░░░░ 19/39891
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Failed to install

yarn trace:
Trace:
  Error: ENOENT: no such file or directory, open<EMAIL_ADDRESS>
Full yarn error log
Environment
Please run these commands in the project folder and fill in their results:

npm ls react-native-scripts:

<EMAIL_ADDRESS>E:\Projects\ecwid\gallery
`--<EMAIL_ADDRESS>

npm ls react-native:

<EMAIL_ADDRESS>E:\Projects\ecwid\gallery
`--  (react-native) invalid error: ENOENT: no such file or directory, open 'E:\Projects\ecwid\gallery\node_modules\react-native\package.json

npm ERR! error in E:\Projects\ecwid\gallery\node_modules\react-native: ENOENT: no such file or directory, open 'E:\Projects\ecwid\gallery\node_modules\react-native\package.json'
npm ERR! invalid: react-native E:\Projects\ecwid\gallery\node_modules\react-native

npm ls expo:

<EMAIL_ADDRESS>E:\Projects\ecwid\gallery
`--  (expo) invalid error: ENOENT: no such file or directory, open 'E:\Projects\ecwid\gallery\node_modules\expo\package.json

npm ERR! error in E:\Projects\ecwid\gallery\node_modules\expo: ENOENT: no such file or directory, open 'E:\Projects\ecwid\gallery\node_modules\expo\package.json'
npm ERR! invalid: expo E:\Projects\ecwid\gallery\node_modules\expo

node -v: v8.5.0
npm -v: 5.3.0
yarn --version: 0.16.0
watchman version: watchman is not recognized as a name of cmdlet etc.

Also specify:

Operating system: Windows 10 Fall Creators Update
Phone/emulator/simulator & version: None

Reproducible Demo
PowerShell/cmd > create-react-app appname

Hi @daniil-konovalenko! Looks like you need to update yarn ( npm install --g yarn) . Just like #433

Hi @vetom! That worked, thank you!


Added the smart contract

resolve conflict @muskan171105 .
save file in tsx formate then push it

In your cryptoPurse.js, there is a parsing error. resolve it
step1:
resolve conflict according to the error showing in the line of code.
step2:
npm run build
if it is working properly then push it else resolve the conflict
@muskan171105


Add metadata service to Jupyter Server

Proposal
The Metadata Service provides a generic and flexible schema-driven data store for metadata that can be easily integrated with other backend and/or frontend components.
Metadata Service overview
The core design of the metadata service is primarily driven by schema. That is, all metadata instances must adhere to a schema. Metadata schemas are organized logically and physically into schema spaces, where a given schema space contains a set of schemas, and each instance of a schema space’s schemas is co-located relative to the configured storage mechanism.
Externally, both in its persisted and serialized forms, a metadata instance is represented as a JSON structure. Within the metadata service, however, this JSON structure is represented as a Metadata class instance. The Metadata class can be extended via subclassing to enable custom behaviors that are triggered following load operations and/or before and after create, update, and delete operations on a per schema level. That is, it is the respective schema that identifies the name of the class to use as the internal representation.
As previously mentioned, the metadata service has a pluggable storage mechanism. By default, metadata instances are stored within the file system. However, alternative storage mechanisms can be configured for, say, NoSQL DB or traditional, table-oriented, databases.
Schemaspaces and their schemas can be dynamically introduced via entrypoints. When the system starts, it will identify applicable entrypoints and load their corresponding objects to seed the list of configured schemaspaces and schemas.
Design proposal
We are proposing a similar design as the one used by terminals

The component will be implemented as a separate repository
The component will be integrated and enabled by default to jupyter server

Additional references
More details about the existing Metadata service implementation

Metadata Service: https://elyra.readthedocs.io/en/stable/developer_guide/metadata.html
Elyra metadata service implementation: https://github.com/elyra-ai/elyra/tree/main/elyra/metadata
Metadata command line examples: https://elyra.readthedocs.io/en/stable/user_guide/command-line-interface.html
Maybe some overlap with this?: https://github.com/jupyter/schema

cc @kevin-bates for awareness.

@jupyter-server/jupyter-server-council Any concerns, comments or questions on this proposal?

I love this. I'm in favor of at least moving the metadata service and server extension into the Jupyter Server org. This is a well-tested, robust extension that would likely require little maintenance from the server team and offers a ton of benefit.

I also think enabling it by default would benefit users/consumers of the server.

I'd propose that we open an explicit vote on moving the metadata service into the jupyter-server org in early January.


[Event Request] Codeunit 22 Item Jnl.-Post Line - OnBeforeCalcExpectedCost

Hi, would it be possible to get an event OnBeforeCalcExpectedCost in Codeunit 22 Item Jnl.-Post Line, procedure InsertValueEntry, like this :

?
Thanks

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


Cropped result sometimes uses wrong aspect ratio

I am using Croppie inside a Bootstrap Modal (binding the source after the modal has been shown). When opening the first image everything works well, binding another (different) image to croppie sometimes results in the rendered image being distorted as if the source area wasn't rectangular (I am using a circle viewport). Image dimensions for the generated image are totally fine though, the error seems to occur while generating the output.
p.s.: I checked the "Upload Example (with exif orientation compatability)" on the website and it happens there as well.
Steps to hopefully reproduce:

Press upload and load a small square image (e.g. 500x500px)
Zoom out completely
Press result
Press upload and load a larger non-square image (e.g. 500x800px)
Zoom out completely
Move viewport to upper image boundary
Press result

For me this results in an image that doesn't corresponding to the chosen viewport.

I found the same problem. This issue repeats every time when I try to upload and crop 2nd, 3rd .... picture.
in other words it works when you refresh the page but only for first uploaded / cropped picture. So maybe the solution would be to clear the garbage of previous picture before cropping new one.

My guess is, that an internal resolution is only set on first load. I currently don't have time to look into this but will try to do so sometime soon...

Hi there!
It may seem a bit ugly, but I think I had the same problem as yours and I just solved it with a simple 'trick' (maybe it was actually intended to be used like this, but anyway).
I have this code:
$('#upload-picture-input').on('change', function() {     resetCroppie();             readURL(this);         });
You can see I simply reset my Croppie instance before loading a new file.
The code is super-light:
function resetCroppie() {         destroyCroppie();         initCroppie();     }
function destroyCroppie() {         myCroppieInstance.croppie('destroy');     }
function initCroppie() {         myCroppieInstance = $('#croppie').croppie(/*options*/);     }
Now, I can upload new files as many times as I want, and the preview (result) is properly updated.
Hope this helps!

@Eldoir Thanks for your suggestion. Destroying the Croppie instance is a workaround that is certainly possible. I am quite sure that this can't be wanted behaviour though since the problem is reproducible for the online demos and loading a different file after the initial one isn't an edge case imho...

Totally agree. After I discovered this bug in my own project, I checked the website and it's the same. Please do something for future users!
Until then, I'll keep my little workaround.
However, thanks for the great job, this is a lifetimesaver plugin :)

Hi,
thanks for workaround :-)

I created a pen to further check the problem, try to load a horizontally wide picture and then another vertically wide one, repeat it until you see the problem.
https://codepen.io/azerafati/pen/VzOGRe?editors=0010

Thanks all.  Seems the latest version has some problems with getting the result.
If anyone has the time to look into this, a good place to start would be in the _getCanvas method:
https://github.com/Foliotek/Croppie/blob/master/croppie.js#L1110
Maybe throw this block in
console.log(left, top, width, self._originalImageWidth, height, self._originalImageHeight, startX, startY, outWidth, outHeight);

before we draw the canvas:
https://github.com/Foliotek/Croppie/blob/master/croppie.js#L1172
I'm wondering if the originalImageWidth/Height aren't getting updated correctly.  Or if maybe some calculation above isn't using an updated property.

Is this issue fixed ?

how to repeat the croppie realtime


Split Entry into two different enums to remove unnecessary expects

Second take on #200
Entry is now composed of Bucket(...) and Metadata(MetadataEntry { ... }) to separate things that have and doesn't have metadata, which avoids returning optional values derived from a single entry-point.
Next PR will address the newly introduced double matching while iterating over continue_walk but it will require deeper logical changes.

hello @c410-f3r and thanks for your continued work with #200. this is looking like a good step forward. could you separate the walk.rs reordering into a separate commit or keep the old ordering to make the reviewing a bit easier?

@koivunej Thanks
That is all regarding removing expect(""). My current local changes are now solely related to avoid double matching but it will take some time to complete.

bors r+


$sSelector part of the _WD_FindElement function must be enclosed in double quotes

https://www.autoitscript.com/forum/topic/191990-webdriver-udf-w3c-compliant-version-08042018/?do=findComment&comment=1399923

This is a JSON restriction. To use double quotes as part of the $sSelector string, they must be escaped with a backslash.


Add Python highlighting

Make Monokai works on python.
But due to the visual studio can NOT distinguish the function definitions
and function callings / class definitions and class usings, the monokai
does not work very perfectly on Python.

Thanks man! Works nicely.


Build caddy from source error

Following on https://github.com/mholt/caddy/issues/2560, which is closed now, I tracked down to the very latest solution, which should be:
https://github.com/mholt/caddy/issues/2560#issuecomment-484255220
And here is the quote of the relevant parts:

. . .

If you want to build Caddy v0.11.5, you will have to use these instructions. (GO111MODULE should be set to auto - export GO111MODULE=auto)

go get github.com/mholt/caddy
go get github.com/caddyserver/builds
cd $GOPATH/src/github.com/mholt/caddy/caddy
git checkout tags/v0.11.5
go run build.go

However, when I tried it, I got:
$ go get github.com/caddyserver/builds
# cd .; git clone https://github.com/caddyserver/builds /path/to/src/github.com/caddyserver/builds
Cloning into '/path/to/src/github.com/caddyserver/builds'...
fatal: could not read Username for 'https://github.com': terminal prompts disabled
package github.com/caddyserver/builds: exit status 128

without it, when doing the next step, go run build.go, I'll get build.go:41:2: cannot find package "github.com/caddyserver/builds" in any of ... error.
Thus, I'd like to know, what's the latest solution to build caddy from source?
PS. the above error is due to that https://github.com/caddyserver/builds no longer exist.

As you can see, those instructions are for an old version of Caddy.
Please use the build instructions in the README instead: https://github.com/mholt/caddy#build


Fb testcleanup

The wrong repo/branch is chosen, removing the pull request.
Sorry for the inconvenience!


Can't get image, description or title from link

Trying to get preview from "www.dji.com/matrice600-pro/info#specs" but it returns 404.
Any idea?

What's the urls you are getting as response?

"url": www.dji.com/matrice600-pro/info#specs
"finalUrl": https://www.dji.com/404?url=http%3A%2F%2Fwww.dji.com%2Fmatrice600-pro%2Finfo#specs
"canonicalUrl": http://www.dji.com/matrice600-pro/info#specs
These are returning urls.

Waiting eagerly for fix. Thanks.

New method added. Check it out on master (Soon in a new release).

Will check it out soon.


Blurred font in dialog

Bug report
Current Behavior
In the Dialog component when has a box-shadow the content stay with blurred font

Expected behavior
The content font shoud be sharp!

Reproducible example
CodeSandbox Template
https://codesandbox.io/s/dialog-demo-blurred-ohgoxt?file=/App.js

This is usually due to transforms, and only visible on non-retina screens.
There are other ways to center the content too, you can nest the content inside the overlay and use flex or grid to center it.

There are other ways to center the content too, you can nest the content inside the overlay and use flex or grid to center it.

perhaps the docs website should do this so the examples aren't blurry?


Add Mastodon button using NickKaramoff's toot.karamoff.dev

Adding a Mastodon share button.
This is a much simpler version of #23 now that @NickKaramoff magicked up https://github.com/NickKaramoff/toot

This seems to be a duplicate, apologies.


Redesign

Fixed likes, now this bug is gone.
Also all strange things were deleted from code.

Coverage increased (+1.3%) to 85.841% when pulling f125b48dcd33d85ebc9368e5c249b9cd6c0f99d0 on redesign into 8e23d7711d4773da0a04c9c0627450f7b60cc3e9 on master.


(Community Discussion) Discourse forum - requirements inside

Community Discussion: Discourse Forum
As more and more questions arise as normal issues I was looking into different forum software. The most modern approach would be to use discourse as it offers various auth methods.
Discourse only has paid plans, but allows for self hosting as well. I did however find an offer by them where they grant free hosting to open source projects:
https://blog.discourse.org/2016/03/free-discourse-forum-hosting-for-community-friendly-github-projects/
The requirements for this are:

Hosted on Github
2000+ stars
30+ contributors

Let me know if a forum is a good idea at this point and if so, spread the word that the Devilbox can get 2000 stars in order to qualify for free discourse hosting.
If you have alternative forum suggestions, let me know as well.
Thanks

Well we need 1000 stars more.
Is it easy to set it up on own server ?
If yes then we could get a 2.5 euro / month VPS at Hetzner.

The 2.5/month won't be a problem, its rather self-hosted vs SaaS. I personally don't want to bother additionally with regular security updates, backups etc as it is a time killer and I'd rather spent time on improving the Devilbox itself.
Discourse must also not be the only choice, I personally am fine with what everybody likes most. Also needs to be clarified if this is actually in need at the current stage anyway.

I was now granted a forum by discourse: https://devilbox.discourse.group/


Istio is configured with two vss. How to manage their priorities? the traffic of the first discovery is forwarded to the route with the rule prefix: /.

Is this the right place to submit this?

[X] This is not a security vulnerability or a crashing bug
[X] This is not a question about how to use Istio

Bug Description
I configure two vss. That is,
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: service-gw-https-vs
  namespace: dorsey
spec:
  gateways:
    - istio-system/xxx-https
  hosts:
    - "*"
  http:
    - match:
        - uri:
            prefix: /xxx/health
      route:
        - destination:
            host: podname0.namespace.svc.cluster.local
            port:
              number: 10000
            subset: v1
    - delegate:
        name: xx-vs
        namespace: xx-namespace
      match:
        - uri:
            prefix: /
---
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: service-gw-https-vs-1
  namespace: dorsey1
spec:
  gateways:
    - istio-system/xxx-https
  hosts:
    - "*"
  http:
    - match:
        - uri:
            prefix: /dorsey
      route:
        - destination:
            host: podname1.namespace1.svc.cluster.local
            port:
              number: 10000
            subset: v1

the traffic of the first discovery is forwarded to the route with the rule prefix: /.，I expected traffic /dorsey to go to podname1, but it went to podname0.
I strongly want to know the direct route preference of two different vss (the configuration is the same in other places, only the match is different).
Version
istio-1.8.6

Additional Information
No response

It is not best practice to have the same hostname defined in two separate VS's.  Istio attempts to do some merging on its end, but I believe the deciding factor is whichever one was created first.  You can verify by deleting/re-creating older VS, and inspect the routes using istioctl pc routes -n istio-system deploy/istio-ingressgateway before and after.
Also assuming this is not a typo, but istio-1.8.6 is EOL - I would recommend trying to re-create with latest version of istio


No "Open With Vim" on the popup menu for the right mouse button

Hello,
I'm using Windows SDK v7.0 x64 to build the latest version of Vim. But I have found there is no "Open With Vim" on the popup menu for the right mouse button.

You need to install gvimext.dll.
Additionally, the directory structure for gvimext.dll was recently changed. See #2144 for detail.

@k-takata, thanks for your hint. Now it work.


Add a favicon [Content]

Favicons can give your site a little more personality to them and can help users navigate to your site more easily when they have multiple tabs open. To add one, save an image you would like to be your favicon to your images folder under this repository. Then, on each of your pages, add:
<link rel="icon" href="images/favicon.jpg">
Replace the "images/favicon.jpg" in href with your images relative path.  After following those steps, you should be good to go!

added thanks!


UvTcpHandle life not managed explicitly

While investigating the peformance problems of Kestrel on Mono we identified a strange pause and a strange set of socket errors that would happen every once in a while.
The problem is caused because Kestrel depends on the GC finalization to release its hold on the UvTcpHandle instead of explicitly disposing the objects.

Specifically, the server will eventually become completely unresponsive after a while.  This can be exacerbated either by using a very large nursery (try MONO_GC_PARAMS=nursery-size=1g) or disabling finalization (MONO_GC_DEBUG=do-not-finalize).

/cc @halter73

I just added the following to UvTcpHandle:
    ~UvTcpHandle()
    {
        System.Diagnostics.Debugger.Launch();
    }

And ran build.cmd which runs all our unit and functional tests on core and desktop clr. As far as I can tell, the finalizer never got hit.
This makes sense as a quick scan of the code seems to show a corresponding call to Dispose for every new UvTcpHandle.
Does anyone have any details that could help me figure out what conditions are necessary to prevent UvTcpHandles from being disposed?

Running the Kestrel server for this benchmark, on Mono: https://github.com/schani/benchmarks/tree/master/src/Benchmarks
I need to specify a small enough nursery, otherwise the GC never gets around to finalizing the objects.  I'm using
MONO_GC_PARAMS=nursery-size=128k MONO_GC_DEBUG=log-finalizers

Then all I have to do is
wrk -c 1024 -t 32 http://localhost:5001/plaintext

and I get lots of these:
mono-gc-finalizers: <UvTcpHandle at 0x7fbd03fe0eb0> Starting finalizer checks.
mono-gc-finalizers: <UvTcpHandle at 0x7fbd03fe0eb0> Registered finalizer as processed.
mono-gc-finalizers: <UvTcpHandle at 0x7fbd03fe0eb0> Compiling finalizer.
mono-gc-finalizers: <UvTcpHandle at 0x7fbd03fe0eb0> Calling finalizer.
mono-gc-finalizers: <UvTcpHandle at 0x7fbd03fe0eb0> Returned from finalizer.

Running on 1.0.0-beta8, as per project.json.

Is it because UvTcpHandle->UvStreamHandle->UvHandle->UvMemory->SafeHandle which has a finalizer?

nvm inheritence chain implementation appears to be correct

Mark found that UvTcpHandles created here are not being disposed, perhaps there is a codepath that is not being taken?
https://github.com/aspnet/KestrelHttpServer/blob/dev/src/Microsoft.AspNet.Server.Kestrel/Http/TcpListener.cs#L39
@halter73 That would happen when Accept throws an exception.

@migueldeicaza I had a look at the source for SafeHandle and not quite understanding how it works in mono - it doesn't seem to implement IDisposable
https://github.com/mono/mono/blob/b7a308f660de8174b64697a422abfc7315d07b8c/mcs/class/corlib/System.Runtime.InteropServices/SafeHandle.cs#L64
as it does in the clr
https://github.com/dotnet/coreclr/blob/master/src/mscorlib/src/System/Runtime/InteropServices/SafeHandle.cs#L140
I assume Dispose still works on it, though it doesn't seem to have the method? As it should be being closed here: https://github.com/aspnet/KestrelHttpServer/blob/dev/src/Microsoft.AspNet.Server.Kestrel/Http/SocketOutput.cs#L541

That file has half the implementation, the other half is now part of reference source:
https://github.com/mono/referencesource/blob/mono/mscorlib/system/runtime/interopservices/safehandle.cs

But if the Accept throws, how is that ever recorded on the SocketOutput.cs for it to Dispose it?

@migueldeicaza It's not. I'm looking at this right now and will dispose the socket in the catch block.

With #328 merged, there should be no more sockets being leaked after calls to Accept().


Add RotatedBox which applies a rotation before layout

Transform applies its transform before painting, but sometimes you want
the widget to layout after its transform has been applied. We can't
handle general tranforms in this way because we can't couple width and
height constriants, but we can handle certain rotations.
Fixes #1214

@Hixie

LGTM.
We should also have a generic one that passes down an unbounded constraint, takes the resulting size, finds the bounding box for that size with the transform applied, and then uses that as the size.


Added more logging around reading segment sizes from server during segment upload.

This is to aid debugging errors during segment upload

lgtm

Current coverage is 46.04% (diff: 60.00%)

No coverage report found for master at dfb679f.

Powered by Codecov. Last update dfb679f...2279620


atomic intrinsic test

Adding atomic intrinsic tests on uint/int RWStructuredBuffer's and groupshared memory.
I was seeing Vulkan validation errors when using RW textures, so that will need an issue and a follow-up test later on.
This is for: https://github.com/shader-slang/slang/issues/3493 - Intrinsics coverage SLANG/HLSL (HLSL.meta.slang and core.meta.slang files)

Yes, as I added each function I watched the outputbuffer's values that were reported in the console window.


[BUG] Unable to find merge base in submodule

Is there an existing issue for this?

[X] I have searched the existing issues

Does this issue exist in the latest version?

[X] I'm using the latest release

Describe the bug?
The following error, with or without fetch_additional_submodule_history: true:
  /usr/bin/git merge-base 2516eb2a61935edf0b8727c5b1d5cc102b662792 9948fb74b9c5baafd379e367ac9bbb3b3276f4d3
  fatal: Not a valid commit name 2516eb2a61935edf0b8727c5b1d5cc102b662792
  Warning: Unable to find merge base between 2516eb2a61935edf0b8727c5b1d5cc102b662792 and 9948fb74b9c5baafd379e367ac9bbb3b3276f4d3

To Reproduce
Config is
    - name: Linux changes
      uses<EMAIL_ADDRESS>      if: ${{ github.event_name != 'workflow_dispatch' }}
      id: changed-files
      with:
        fetch_depth: 2
        skip_initial_fetch: true
        dir_names: true # output folders instead of files
        dir_names_max_depth: 1 # only return roots, not subfolders
        dir_names_exclude_current_dir: true # exclude root files
        fetch_additional_submodule_history: true
        files_ignore: |
          .github/**
          archive/**
          ${{ env.TARGETS_WINDOWS }}
        json: true # output in matrix JSON format

What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
Change detection on submodules. This was working fine 3 days ago, and I receive a similar error on that version (v37.6.1) as this report (latest, v38.1.1)
Change detection on non-submodule folders still works
Relevant log output
Running on a push event...
  ##[debug]Getting current SHA...
  /usr/bin/git rev-parse HEAD
  e0dcc05eabc0a5601b390fdb0bc3c60c304235e4
  /usr/bin/git rev-parse --verify e0dcc05eabc0a5601b390fdb0bc3c60c304235e4^{commit}
  e0dcc05eabc0a5601b390fdb0bc3c60c304235e4
  ##[debug]Current SHA: e0dcc05eabc0a5601b390fdb0bc3c60c304235e4
  ##[debug]Getting previous SHA...
  ##[debug]Getting previous SHA for last remote commit...
  /usr/bin/git rev-parse --verify 54279608a0c4d3557ef9392bb213a606cee8e445^{commit}
  54279608a0c4d3557ef9392bb213a606cee8e445
  /usr/bin/git rev-parse --verify 54279608a0c4d3557ef9392bb213a606cee8e445^{commit}
  54279608a0c4d3557ef9392bb213a606cee8e445
  ##[debug]Previous SHA: 54279608a0c4d3557ef9392bb213a606cee8e445
  ##[debug]Target branch: main
  ##[debug]Current branch: main
  Retrieving changes between 54279608a0c4d3557ef9392bb213a606cee8e445 (main) → e0dcc05eabc0a5601b390fdb0bc3c60c304235e4 (main)
  /usr/bin/git diff --name-status --ignore-submodules=all --diff-filter=ACDMRTUX 54279608a0c4d3557ef9392bb213a606cee8e445..e0dcc05eabc0a5601b390fdb0bc3c60c304235e4
  /usr/bin/git diff 54279608a0c4d3557ef9392bb213a606cee8e445..e0dcc05eabc0a5601b390fdb0bc3c60c304235e4 -- anudegreeapp/anudegreeapp
  ##[debug]No submodule commit found for anudegreeapp/anudegreeapp between 54279608a0c4d3557ef9392bb213a606cee8e445..e0dcc05eabc0a5601b390fdb0bc3c60c304235e4
  /usr/bin/git diff 54279608a0c4d3557ef9392bb213a606cee8e445..e0dcc05eabc0a5601b390fdb0bc3c60c304235e4 -- ataxx/ataxx
  ##[debug]No submodule commit found for ataxx/ataxx between 54279608a0c4d3557ef9392bb213a606cee8e445..e0dcc05eabc0a5601b390fdb0bc3c60c304235e4
  /usr/bin/git diff 54279608a0c4d3557ef9392bb213a606cee8e445..e0dcc05eabc0a5601b390fdb0bc3c60c304235e4 -- aussiebb/aussiebb
  ##[debug]No submodule commit found for aussiebb/aussiebb between 54279608a0c4d3557ef9392bb213a606cee8e445..e0dcc05eabc0a5601b390fdb0bc3c60c304235e4
  /usr/bin/git diff 54279608a0c4d3557ef9392bb213a606cee8e445..e0dcc05eabc0a5601b390fdb0bc3c60c304235e4 -- caissuer-monitor/caissuer-monitor
  ##[debug]No submodule commit found for caissuer-monitor/caissuer-monitor between 54279608a0c4d3557ef9392bb213a606cee8e445..e0dcc05eabc0a5601b390fdb0bc3c60c304235e4
  /usr/bin/git diff 54279608a0c4d3557ef9392bb213a606cee8e445..e0dcc05eabc0a5601b390fdb0bc3c60c304235e4 -- codeworld/codeworld
  ##[debug]No submodule commit found for codeworld/codeworld between 54279608a0c4d3557ef9392bb213a606cee8e445..e0dcc05eabc0a5601b390fdb0bc3c60c304235e4
  /usr/bin/git diff 54279608a0c4d3557ef9392bb213a606cee8e445..e0dcc05eabc0a5601b390fdb0bc3c60c304235e4 -- crl-monitor/crl-monitor
  ##[debug]No submodule commit found for crl-monitor/crl-monitor between 54279608a0c4d3557ef9392bb213a606cee8e445..e0dcc05eabc0a5601b390fdb0bc3c60c304235e4
  /usr/bin/git diff 54279608a0c4d3557ef9392bb213a606cee8e445..e0dcc05eabc0a5601b390fdb0bc3c60c304235e4 -- crtsh-httpd/asn1js
  diff --git a/crtsh-httpd/asn1js b/crtsh-httpd/asn1js
  index 2516eb2..9948fb7 160000
  --- a/crtsh-httpd/asn1js
  +++ b/crtsh-httpd/asn1js
  @@ -1 +1 @@
  -Subproject commit 2516eb2a61935edf0b8727c5b1d5cc102b662792
  +Subproject commit 9948fb74b9c5baafd379e367ac9bbb3b3276f4d3
  /usr/bin/git merge-base 2516eb2a61935edf0b8727c5b1d5cc102b662792 9948fb74b9c5baafd379e367ac9bbb3b3276f4d3
  fatal: Not a valid commit name 2516eb2a61935edf0b8727c5b1d5cc102b662792
  Warning: Unable to find merge base between 2516eb2a61935edf0b8727c5b1d5cc102b662792 and 9948fb74b9c5baafd379e367ac9bbb3b3276f4d3
  Warning: Set 'fetch_additional_submodule_history: true' to fetch additional submodule history for: crtsh-httpd/asn1js, Note you can control the fetch depth using 'fetch_depth' input
  /usr/bin/git diff --name-status --ignore-submodules=all --diff-filter=ACDMRTUX 2516eb2a61935edf0b8727c5b1d5cc102b662792..9948fb74b9c5baafd379e367ac9bbb3b3276f4d3
  fatal: Invalid revision range 2516eb2a61935edf0b8727c5b1d5cc102b662792..9948fb74b9c5baafd379e367ac9bbb3b3276f4d3
  Warning: fatal: Invalid revision range 2516eb2a61935edf0b8727c5b1d5cc102b662792..9948fb74b9c5baafd379e367ac9bbb3b3276f4d3

  Warning: Please ensure that submodules are initialized and up to date. See: https://github.com/actions/checkout#usage

### Anything else?

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

The problem is due to the value you set for the fetch_depth input. Setting the number to 2 would limit the submodule history pulled to 2 commits which I'm guessing doesn't include the commit 2516eb2a61935edf0b8727c5b1d5cc102b662792. I'll suggest increasing the fetch_depth as recommended by the warning message.
Note you can control the fetch depth using 'fetch_depth' input

@jackton1 thanks, I think I found the issue. I use skip_initial_fetch and dir_names_max_depth because I only need to detect if a submodule changed (and whether to trigger a build), not the changes themselves. is this possible without fetching many commits?

Hi @pl4nty Yes you'll need to set up the checkout action to pull the necessary history in that case since skip_initial_fetch would mean no additional history would be pulled when the changed-files action runs. You can also keep the fetch_depth of 2 and remove the skip_initial_fetch to resolve the issue.


Run tree

This adds a simple tree view that looks something like

when looking at a sample run. It still needs more work, but sharing early so that I can iterate on it.

I think I addressed all review comments, and fixed up flake8 warnings.


Changing to new Twitter X Logo

Current Behavior

Desired Behavior

Contributor Guide

@malaviya-parth, sure go ahead 🚀

Hey, there!
I would like to work on this. This is a small contribution but it would mean a lot to me. I've already done change on local, pull request part left. Kindly assign this to me.

Hey @malaviya-parth, Let's discuss it on the website call.
Please add this as an agenda item in the meeting minutes, if you would :)
https://docs.google.com/document/d/1XczAHXVe2FIWPqiF57ospJ43zw5cZQ7ui8mn39v5EvA/edit#heading=h.lohhtewfwima

Hello! @malaviya-parth
I would like to be assigned to this. I am a newcomer and this will really help as a first task.

Hi @malaviya-parth
I have done the changes but while pushing it. It is showing error.
remote: Permission to meshery/play.git denied to ManishKapoor5.
fatal: unable to access 'https://github.com/meshery/play.git/': The requested URL returned error: 403

can i work on this?
@ManishKapoor5 ?


Fixes for v0.9.7

Pulling the fixes from #192 into the 0.9.7 branch.
This was manually tested separately from #192 with a minimal Mattermost installed on VM.

Don't forget to apply respective Github labels for better Issues organization.

Also after merging this, how do you plan to sync-up changes back to the current master?

I get the idea of releasing an isolated fix to the user, but let's please avoid detached/split releases like that in future.
Instead we should try to release more frequently from master.

I was following SemVer:

PATCH version when you make backwards-compatible bug fixes.

AIUI, this is the same approach we take in st2, where we have feature and bugfix releases.

Instead we should try to release more frequently from master.

I don't quite understand how that would help this situation, can you explain a bit more?

Also after merging this, how do you plan to sync-up changes back to the current master?

I don't. The v0.9.7 branch will only receive bugfixes until we release a version of st2chatops that contains hubot-stackstorm version 0.10.0 or higher.
PR #192 is the same fix for master. Please give #192 and #193 a review when you have a chance. Once that's merged I'll have a version bump PR for version 0.10.0 and release that as well.

It may look similar, however both git history and results are different.
For the st2 repo we maintain the versioned "stable" branches, which is not the case for repositories like hubot-stackstorm. In st2 every change is first merged into master and then cherry-picked into respective branch, but not like we do here with git brain split situation when v0.9.7 is not a subset of master.
After all you'll still need to include in master Changelog for the 0.9.7 release, and master history shows different git log and order for the fixes.
To avoid this, ideally to release more frequently from master once the logically sufficient change was made. And so we'd release v0.10.0 with refactoring, v0.10.1 with some other fixes and v0.10.2 with Mattermost bugfix, all based on master, preserving consistency.

Instead of having a bugfix release branch around indefinitely, I think users will need to manually apply these two commit diffs:
https://github.com/StackStorm/hubot-stackstorm/pull/193/commits/1cb50ac344a78c65e42f7a0ff88843a8952f8645
https://github.com/StackStorm/hubot-stackstorm/pull/193/commits/d89bd18c1048a36f563b0c9fc8d73b54c52ec0f2
Closing.

For the temporary fix before we officially release v3.2 for st2 and st2chatops, installing hubot-stackstorm v0.10.0 would be fine too.

Just a note: hubot-stackstorm v0.10.0 does contain a giant amount of refactoring. The intent with this branch was to get users of older versions of hubot-stackstorm (eg: v0.9.6 and below) a fix/patch that did not include the refactoring work going on.
¯\_(ツ)_/¯

That's hopefully OK, considering that refactoring is non-breaking and didn't really introduce any changes.
After all we're going to rely on that in next st2 release.


What about any integration between R and Power BI Embedded

I can't find any documentation that explains if R is integrated in Power BI Embedded.
I only found this old blog post.
Are R transformation steps in Power Query allowed in Power BI Embedded?
I think Docs are missing these informations.

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

ID: df17e088-5cff-4882-79fc-cc7deb09843d
Version Independent ID: 641ddc87-0314-47c4-bee7-684ebe7f8e6e
Content: Learn which R packages are supported - Power BI
Content Source: powerbi-docs/connect-data/service-r-packages-support.md
Service: powerbi
Sub-service: pbi-data-sources
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Hi @lucazav,
Let me look into this and I'll get back to you shortly.
Thanks,
Kesem

Hi @lucazav,
After confirming with our development team, and if it renders in the portal (Power BI service), it should render when embedded.
Hope this helps.,
Kesem

Thank you, Kesem.
It'd be nice if you specify this also in the Docs.
Thank you.
--
Luca Zavarella

From: Kesem Sharabi<EMAIL_ADDRESS>Sent: Sunday, February 14, 2021 11:06:47 AM
To: MicrosoftDocs/powerbi-docs<EMAIL_ADDRESS>Cc: Luca Zavarella<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/powerbi-docs] What about any integration between R and Power BI Embedded (#2822)
Hi @lucazavhttps://github.com/lucazav,
After confirming with our development team, and if it renders in the portal (Power BI service), it should render when embedded.
Hope this helps.,
Kesem
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/powerbi-docs/issues/2822#issuecomment-778755654, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABOSK5PUZ4NP6UGWKJ73BWDS66ODPANCNFSM4XKTQLRQ.


Is it  possible in password encryption in persistence.xml using kundera ?

Hi,
I want to encrypt password in persistence.xml. Is it possible?
Thanks & Regards,
Shraddha Bheda

@sbheda
It is not possible to use encrypted passwords in persistence.xml using Kundera. BTW , which data store are you working on and for what use case?
Chhavi

@sbheda @chhavigangwal
I guess, another way could to use Kundera property externalization support, where you can set such properties programmatically within code itself while instantiating EMF or EM or via external configuration file.
HTH,
-Vivek


feat: add Id props for GridFormInputGroups

Overview
PR Checklist

[x] Related to JIRA ticket: EN-46
[x] I have run this code to verify it works
[x] This PR includes unit tests for the code change

Description
This PR adds the ability to add an optional Id prop to GridFormInputGroups, in order to resolve accessibility issues that arise with pages with multiple grid forms.
This initially surfaced on the Business Landing Page where there are two forms, each of which contains an "email" field. This causes the accessibility tests to break, since the ID of both these forms was created from the required name prop. Both of the forms on this page submit to HubSpot, which requires the name be related to the field name, thus locking us in this situation of duplicate ids.

NB: The tests for each of the GridFormInputs look very similar (having one test for when given an Id, and one test for when not given an Id). We thought about refactoring into a helper method, but decided not to since there were juuuuust enough differences between each input type to make that more mess that it would be worth.

📬Published Alpha Packages:@codecademy/gamut-labs@1.7.14-alpha.0152da.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5ed7c54e77268601a21cc0d8--codecademy-styleguide.netlify.appDeploy Logs

@afbreilyn @adwns42 Sorry for jumping in late to this PR. Looks good but I'm curious about the scope of the QA for this in the monolith. This PR changes the atom components like <Input /> and <Checkbox /> to accept an id prop and use it as the id attribute of the html element. We have a lot of components in the monolith that directly use gamut's <Input /> and other atoms. There are also monolith components that render <Input /> or other atoms and are themselves reused over the codebase.
Now there is a chance that if some of these components happen to pass through an id prop, we will have different ids in many places where it's not intended. Acceptance tests might catch some of these but in other cases the effect will be on styling or on GTM scripts that are not in our codebase. Will it be necessary to QA and check all of this?
Alternatively, what if we iterated on this PR and moved the id || htmlFor logic up into the GridFormInputGroup components only? In this implementation, <Input /> would be unchanged. It would still render its id attribute based on the htmlFor prop. We would just give components like GridFormTextInput the ability to pass an htmlFor prop that is the id or name. That is maybe not as clear or beautiful as what has been done here, but I think there is less risk and we can ship this in the monolith more quickly and confidently.
Also, I could be completely wrong about this! What do you think?

Proposal: how about one of you nice folks make a preview PR with the new Gamut version against the monolith, and we try that out & discuss on Slack?


Unable to terminate MessageLoop gracefully

The current MessageLoop implementation does not allow graceful termination of the message loop. Of course I could kill the process from the os-side, but I want to save state after termination of my bot. Also I think that it is good style to enable  a clean shutdown of every program.
I had a look at your code and I think there is not a lot to do to make it work:

add an additional parameter stopEvent of type threading.Event to MessageLoop
pass this stopEvent to all threads
in the threads replace your while 1 - loops with while not stopEvent.wait(timeout)

Ok, that's the theory, in practice there is a little bit more work. You  would have to make the parameter optional to keep compatibility and create your own threadEvent instance if the parameter is not passed.
And you would probably also have to replace all daemon-threads with normal threads.
Now a supervisor thread could just call stopEvent.set() to terminate the MessageLoop (and all threads created by it), save state and do resource cleanup.
Bernhard

For something that acts like a server, e.g. MessageLoop, I don't think it's necessary to provide a way to stop it from within the library. I think having the ability to stop it from the OS/process level is sufficient. If you want to clean up, the package atexit is perfect for this purpose (reference pull request #262), or you may do it by catching the SIGTERM signal (reference the signal package).

This is a library and you can't make assumptions regarding the application. If I have a an application with integrated bot, and the user wants to closes it, should I pop up a message saying: "please open a shell, list all processes, grep for the correct pid and kill the process of the application!"?
I think it is a design flaw if a library does not care about cleaning up it's resources. And as I pointed out, fixing this flaw is not a major issue in telepot.
Fixing the problem might not be of high priority, but just neglecting seems a bit strange. But you might want to solve the problem together with migrating from threading to multiprocessing anyhow.

I opened a PR to resolve this issue, see #267. With the reference to the task, one can cancel the task without closing the application.

@bablokb, I get your point. I never envision an "integrated bot" within another application. But it is possible. I will put the cancelling capability on my todo list. Just can't guarantee when I can make it. Telepot is somewhat low-priority at this moment of my life.
@das7pad, I assume that #267 has been superseded by #268. I prefer to give the same capability to traditional and async version at the same time. I will accept your PR at some later time. Thank you.

Oops, I mixed up. Thanks @aragaer for PR #268.

Hi guys,
please show me how i can stop message loop. If my wifi go down, Pycharm write me a lot of exception.
I have a thread that use telegram bot and messageLoop to receive new command, but how i can stop the listener ? What's the code to do that ? Thanks a lot to all

Just call messageLoop.cancel()

@aragaer The synced version does not have this method.

bot.messageLoop.cancel()
AttributeError: 'Bot' object has no attribute 'messageLoop'

You must use the MessageLoop that you started previously.
But as you wrote that you are using separate threads, I assume that you imported telepot.loop and used telepot.loop.MessageLoop... - which does not have this functionallity anyways.


./scripts/gen_cusip_csv.sh error

When I was setting up the program, I got up to this point:
$ go generate -v github.com/aclindsa/moneygo
My terminal got caught in an infinite loop saying

./scripts/gen_cusip_csv.sh: line 8: curl: command not found
./scripts/gen_cusip_csv.sh: line 13: curl: command not found
./scripts/gen_cusip_csv.sh: line 8: curl: command not found
./scripts/gen_cusip_csv.sh: line 13: curl: command not found
./scripts/gen_cusip_csv.sh: line 8: curl: command not found
./scripts/gen_cusip_csv.sh: line 13: curl: command not found

@aidan-n Try installing the curl command on your system.
Note: it isn't actually in an infinite loop, it's just looping over every CUSIP it could find on the SEC's list that it downloaded. If you would like to skip this step entirely, follow the steps in the last paragraph in the 'Installation' section on the README (to touch the cusip_list.csv file).

So I installed curl. Now when starting over the installation process, this message appears:
go get -v github.com/aclindsa/moneygo
can't load package: package github.com/aclindsa/moneygo:
src/github.com/aclindsa/moneygo/security_templates.go:1:1: expected 'package', found 'EOF'

I'd like to install it with everything and not leave out security features, but maybe that's not going to be able to happen.
What disadvantages are there to skipping this stuff?

I suspect this is an issue due to a incorrectly-generated security_templates.go file from your previous failed run (before you installed curl). If you want to try re-generating everything, try removing security_templates.go and cusip_list.csv, then re-running the go generate command (this could take up to a few hours). Otherwise, if you want to re-generate without any of the security templates, remove security_templates.go and ensure cusip_list.csv is present but an empty file, then re-run the go generate command.
By leaving out the security templates (second option above), you'll have to manually populate any currency/security information (i.e. the CUSIPs, stock tickers for stocks or ISO4217 codes for currencies). This likely isn't a deal-breaker if you just want to play around - it just makes it more user-friendly to add a new stock ticker or currency.
Sidenote: I'd like to streamline how I generate the security templates, but I'm not sure about the legal ramifications of redistributing this information - so I'm sidestepping the issue for now by requiring everyone who uses my code to fetch it for themselves.

I'm going to update as I go along, in case it helps someone in the future.
First, I just deleted everything and cloned it again. And I have curl installed.
'pwd' means present working directory.
So enter: export GOPATH=[FULLPATH]/moneygo/
where [FULLPATH] is a placeholder for the full directory path up to moneygo.
Then enter
$ go get -v github.com/aclindsa/moneygo
Then, enter
$ go generate -v github.com/aclindsa/moneygo
And at this point I go outside.

Sorry, I missed that you updated your comment and thought you were still outside waiting!
This latest issue looks like a python3 vs python2 issue to me (and I have only tested with a system using python3 by default). I'll work on a patch to make both work and get you to test it.
Thanks for bearing with me as we work through this. By now I'm sure you can tell that this project hasn't been tested by too many others...

Haha. Alright I'm interested in testing the patch out. And to confirm, I do have python2 on default, with python3 existing but not default.

@aidan-n Just pushed commit 1a72568ebdcc6f3ec73257249092fc3963294d99 to fixup gen_security_list.py to work with both python 2 and 3, let me know if that works for you. You should be able to speed up the testing by deleting security_templates.go, but leaving the already-generated cusip_list.csv there, and re-running the go generate command.

I did this to merge my branch with the new one:
git fetch origin
 git checkout master
 git merge origin/master

Then I tried deleting security_templates.go and leaving cusip_list.csv there, then running the generate command.
Got: 'can't load package: package github.com/aclindsa/moneygo:
src/github.com/aclindsa/moneygo/security_templates.go:1:1: expected 'package', found 'EOF''
IDK if I'm going to just completely delete it and clone it again.
'

Was there another error message earlier in the output than the one you just reported?
If you're worried you messed up the git state, you can do git reset --hard origin/master. Re-cloning seems unnecessarily time-intensive since you'll have to completely regenerate cusip_list.csv.

I ended up recloning it, the generate command is running.

The generation command has finished after a brief 7 hours.
Running
$ go install -v github.com/aclindsa/moneygo
results in:
reports/src/github.com/aclindsa/moneygo/accounts_lua.go:4:2: cannot find package "context" in any of:
	/usr/lib/go-1.6/src/context (from $GOROOT)
	/home/user/Desktop/git_repos/moneygo/reports/src/context (from $GOPATH)
user@ubuntu:~/Desktop/git_repos/moneygo$

From the error message, it looks like you may only have go 1.6 installed. The 'context' package was moved into the standard library as of go 1.7: https://golang.org/doc/go1.7#context
You'll need to install go >= 1.7

Okay I installed 1.7
This is what happens now:
PATH/moneygo$ go install -v github.com/aclindsa/moneygo
can't load package: package github.com/aclindsa/moneygo:
../src/github.com/aclindsa/moneygo/security_templates.go:1:1: expected 'package', found 'EOF'

What do you mean when you say that the security_templates.go file exists? Does it begin with something like:
package main

var SecurityTemplates = []Security{
...

I'm a little confused about the prefix on your path. Why does it begin 'PATH/moneygo/reports/src/...'? If 'PATH' is equal to the $GOPATH, as it is defined in the README, I would expect this path to instead be 'PATH/src/...' (omitting 'moneygo/reports').
I'm guessing here, but it sort of looks like it could be that the $GOPATH environment variable, which determines which directory the go generate command uses, may not be the same directory you expect it to be. This could happen if you re-ran the export GOPATH=pwd`` command inside a different directory than before (I usually only set $GOPATH once to avoid accidentally doing this, or even add it to .bashrc so I can forget about it).

'PATH' is equal to the rest of the full path, as in 'user/home/...' and so on.
I just tried running export GOPATH='pwd' in the moneygo folder, and then doing the install command. I also tried from the folder above moneygo.
Doing this in moneygo resulted in:
can't load package: package github.com/aclindsa/moneygo: cannot find package "github.com/aclindsa/moneygo" in any of:
	/usr/local/go/src/github.com/aclindsa/moneygo (from $GOROOT)
	/home/user/Desktop/git_repos/moneygo/src/github.com/aclindsa/moneygo (from $GOPATH)

Doing this in the folder above moneygo resulted in:
src/github.com/aclindsa/moneygo/security_templates.go:1:1: expected 'package', found 'EOF'
I found security_templates.go and it turns out that file is empty. This explains the error message that occurs when running from the folder above moneygo. So I think I ran the generate command in this folder, above moneygo.
I'm not sure why security_templates.go is empty, if you have any advice how to proceed from here I'd appreciated it. And if you can send me security_templates.go, that would also be really helpful.
Hopefully one day this program will be running on my computer haha.

For one installation of moneygo, $GOPATH should always remain set to the same path. Sorry if my previous comment was more confusing than it was helpful.
What happens if you do:
cd $GOPATH/src/github.com/aclindsa/moneygo
./scripts/gen_security_list.py > security_templates.go

This is manually running the step in go generate that should be creating security_templates.go. If any errors are printed on stderr, or echoed into security_templates.go, maybe this will help debug your issue.

It returns this:
bash: cd: /src/github.com/aclindsa/moneygo: No such file or directory

Looks like $GOPATH isn't set. What happens if you set it to whatever it is for your moneygo checkout and try again?

There are two folders I might have ran the go commands from, so I'll try on both.
Folder1 (the folder above moneygo)
Setting the gopath was fine, and so was cd $GOPATH/src/github.com/aclindsa/moneygo
Doing this:
./scripts/gen_security_list.py > security_templates.go
resulted in:
Traceback (most recent call last):
  File "./scripts/gen_security_list.py", line 5, in <module>
    from urllib import request
ImportError: cannot import name request

Folder2: (the folder named moneygo)
Setting the gopath was fine.
cd $GOPATH/src/github.com/aclindsa/moneygo
resulted in:
bash: cd: /home/user/Desktop/git_repos/moneygo/src/github.com/aclindsa/moneygo: No such file or directory
So the folder above moneygo is the right folder to run these commands from, assuming there is a right folder and I didn't mess something up for that.

The ImportError: cannot import name request error should be fixed by 1a72568ebdcc6f3ec73257249092fc3963294d99 (I tested with python2 and that error went away for me). Can you confirm that the directory you ran that command in (Folder1) contains this commit?
I don't know what to tell you about the non-existence of cusip_list.csv when you ran with python3. Perhaps you were just confused about which directory you were in?
FYI, here is some more information about the GOPATH environment variable: https://golang.org/doc/code.html#GOPATH. I think understanding what it is and how it interacts with the go ... commands might help.

I must not have that commit.
I'm definitely confused on which directory I'm supposed to run each command in, and could have messed something up with that.

Here's what I would do if I were you:

Save off cusip_list.csv to somewhere safe (from whichever src/github.com/aclindsa/moneygo directory contains a copy with around 7000 lines)
Delete all the copies of moneygo you have checked out.
Set $GOPATH to whichever directory you intend to be the go workspace for this moneygo install. You could even put this in your .bashrc to make sure it's always the same in the future.

I can open moneygo on port 8080.
I want to have an account, to explore. I wasn't able to log in after making one though.


Fix wallet_labels.py

The test encountered two synchronization issues:
In the first case, node A generated blocks, then sent some of the
generated funds to node B. However, node B didn't always manage to sync
the blockchain before receiving the transaction, so it would discard the
transaction as an orphan, and not include it in the next mined block.
The second case was similar: node B generated funds to node A's address,
however, node A did not manage to sync the blockchain and add the funds
to the wallet before it was asked to create a new transaction with them.
Fixes #1042.

Travis ran the test 50 times without errors.


failing test case

@LoganWright Only fails on Mac?

@czechboy0 they weren't being run on linux because I hadn't added them to allTests yet, should all be testing now.


Add link to github repo with source code for this article.

I built example source code for this article here https://github.com/jwidmer/AzureCosmosDbBlogExample and included a link to it at the top of the article.

@jwidmer : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@jwidmer Thank you for your contribution, I added a suggestion to make it explicit that Microsoft doesn't offer support/maintenance of that code sample. Can you please accept my suggestion? We can then merge your PR.

@jwidmer : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@SnehaGunda, okay to merge? Thanks.


Would you be open to features allowing WordPress to administer LDAP users?

Hi,
First, thank you so much for the plugin. I am currently working on a project that requires LDAP integration and am experimenting with using your plugin as part of the solution for my project.
My project is unusual in that one of its requirements is to make the WordPress user admin screens the sole interface for network administrators to manage user accounts. Since many other services can authenticate against LDAP but not necessarily WordPress, we are looking into using LDAP as a back end but without requiring a separate LDAP browser, nor complicating the user experience admins already familiar with WordPress expect to see.
As I was looking into your plugin I saw functions such as this one that hide portions of the WP admin interface for LDAP accounts. This is the reverse of what we are wanting to do.
Hence, my question: would you be willing and/or interested in adding opt-in features to reverse this situation? I.e., would you be willing to merge in pull requests that make WordPress's user UI screens the place where relevant LDAP properties like a user's password, etc., are stored?
This would of course only be an opt-in feature and even can be disabled by default. (Our project can automatically customize the settings of a plugin during deployment.) It would be great to use your plugin for the heavy lifting of our project, but this requirement is a deal-breaker for us, and I would rather not have to maintain a separate fork of your plugin if I don't have to. :)
Thanks again for the work you've done on this and for making it free to the community!

Hi @meitar.
Thanks for the kind words!
The main purpose of this plugin is to authenticate users against an LDAP-Server. It also allows authorization using information from that LDAP-Server but strictly speaking that's not really the scope of this plugin.
Editing LDAP-Informations on the other side is clearly our of the scope of this plugin. It would be possible to create a further plugin that would allow user-management in an LDAP via a Wordpress-Backend. There are already a few applications written in PHP that do such stuff (GOsa, PHPMyLdap) but they are not implemented as a wordpress-plugin. And as administering an LDAP is a rather complex task such an implementation is a very tedious and lengthy labour.
So I'm really sorry to say that, but I will not be accepting PullRequests against this plugin that enable Adminstration of an LDAP-Server. But feel free to start a new plugin that allows the Wordpress-Users to edit Informations in an LDAP-Server.
Cheers

@heiglandreas No need to apologize, I appreciate your taking the time to answer my question. :) I understand that the process of LDAP administration is complex and somewhat laborious, so I don't begrudge you for not wanting to include it here. Again, thank you for the great plugin and answering my question so promptly.

Hi again, I just want to leave a note for anyone who might have stumbled across this old posting that I've started a project to implement the above as I described it. It is called WP-LDAP and is available on my GitHub account. :) Thanks again for authLdap, it is a great inspiration!


feat: added name search parameter on /functions and /events routes

Added a name query parameter on both /functions and /events routes so you can search functions and events by name on these endpoints

Looks good Vincent, just what I was looking for for the UI 🙂 I just made a quick edit to remove a leftover console.log


Add unit tests for and/or combinations with constant booleans

This PR adds unit tests to confirm that AND/OR Expressions when combined with Expression.TRUE/FALSE perform as expected

Supplanted by #206


Fix confusion with old naming/version

Hey,
I'm opening a ticket since I haven't decided what's the right thing and I'd love to get some input.
To get a tarball of the latest version, users should go here: https://github.com/adah1972/libunibreak/releases
Looking there, you can see many releases (7 at the time of writing). Two of which are releases using the new library name, and 5 using the old one. The problem is, that a user scanning the list will see strings that look very much alike, so will think they are all the same, and will look at the number thus mistakenly get liblinebreak 2.1 (old) instead of libunibreak 1.1. It almost just happened to me.
I don't know what the correct solution is, maybe it's to release libuniberak 3.0, maybe delete the old releases (pretty bad), maybe to rename the old releases to "old-liblinebreak-*" (pretty bad), or I dunno.
Thoughts?
--
Tom.

I think people will probably look at the dates. However, I won't object to releasing a 3.0 version after we fix the Unicode 7.0 issue you mentioned in another message.

I fixed #9, feel free to release 3.0 whenever you'd like.
Our lack of regression tests (which I've mentioned in a previous ticket) kinda scares me with this release, but from what I can see, everything works as expected.

Hey, are we releasing 3.0? I would like to nudge arch to update to 3.0 the moment it's out. :)
They are apparently using an old version.

Let me make some final touches this weekend. In the meanwhile, please help check whether there are any issues or other possible improvements.

OK, 3.0 released.


vaitrace nm: command not found

Hi,
I modified the DPU following the Zynq Ultrascale+ MPSoC DPU TRD Vitis 2021.2 guide.
I added the element multiply setting and built the project successfully. I also installed the vitis ai libraries as found in UG 1354.
After compiling my model for the new arch with arch.json I can run my model. However, when I attempt to use vaitrace -p with my python script I get this error:
sh: nm: command not found
ERROR:root:[nm --version] not exists, please check the document
Additionally when I attempt to benchmark my model with xdputil I get this error:
F0316 20:43:37.201404  1939 dpu_runner.cpp:266] [UNILOG][FATAL][VART_RUNNER_CONSTRUCTION_FAIL][Cannot create runner] cannot open library! lib=libvart-cpu-runner.so, error=ERROR CODE: libvart-cpu-runner.so: cannot open shared object file: No such file or directory
*** Check failure stack trace: ***
/usr/bin/xdputil: line 20:  1938 Aborted                 /usr/bin/python3 -m xdputil $*
I have recompiled one of the resnet examples and also have attempted to benchmark it with xdputil but that results in the system freezing requiring a reboot.

hi @ash8327 , I think, there are some modules are required to be enabled in petalinux , e.g the nm is in packagegroup-petalinux-self-hosted
https://github.com/Xilinx/Vitis-AI/tree/master/tools/Vitis-AI-Profiler#get-started-with-vitis-ai-profiler

I had the same problem as you, and now I have successfully solved it. My solution is as follows:
Solution1. Execute "dnf Install packagegroup-petalinux-self-hosted" on the board, but this will download many files and take some time, so it is recommended for Solution2.
Solution2. Execute "dnf install binutils" and "dnf install ldd" sequentially on the board.

I was able to include the packagegroup-petalinux-self-hosted and run vaitrace. However, when I attempt to run xdputil benchmark on my custom model I still get the error:
F0329 17:15:53.583701  6666 dpu_runner.cpp:266] [UNILOG][FATAL][VART_RUNNER_CONSTRUCTION_FAIL][Cannot create runner] cannot open library! lib=libvart-cpu-runner.so, error=ERROR CODE: libvart-cpu-runner.so: cannot open shared object file: No such file or directory
*** Check failure stack trace: ***
/usr/bin/xdputil: line 20:  6662 Aborted                 /usr/bin/python3 -m xdputil $*
I can run xdputil benchmark on the Xilinx provided resnet50. My model isn't much different from resnet.

@ash8327 Has the problem been solved, if not, can you send me the instructions for testing the model? If there is no reply, the issue will be closed after one week.

Hello everyone
I m using Kria KV260 vision board and i executed the tf_resne50 example from the Vitis AI VART. I d like to look at the performance of behavior of the board and used the vaitrace ./resnet50 resnet50.xmodel. After execution i got only " profile_summry.csv, summary.csv, vart_trace.csv, vitis_ai_profile.summary, xrt.run_summary" files. However, when i look around i think, xclbin.ex.run_summary file also should be in the executed file. By the way Vitis unifed software platform and vitis_analyzer version 2021.1.
Is there anyone could help me please? I really need to check all files belongs to execution such as HAL_API Calls, OpenCL data, Data Transfer, DPU, buffer exchange and so on.
Thanks


Rewrite location headers and body resp

Taken from https://github.com/skylerparr/elixir-reverse-proxy/commit/7e91507c596621879168465a7809c0ba37c0a56e

This one is not quite ready, yet.


Preview all branches starting with specified pattern

System Details

posh-git version/path: 0.7.3  ~\Documents\WindowsPowerShell\Modules\posh-git\0.7.3
PowerShell version: 5.1.16299.547
Git version: 2.16.2.windows.1
Operating system name and version: Microsoft Windows NT 10.0.16299.0'

Issue Description
I'm working with a huge repository and we have more that 1000 active branches.
In git bash when I type "git checkout feature/SMFTTIII-" and then press double tab I can see all branches which start with specified string:

Is it possible configure posh-git for such behavior? If not, what should be done to be able to do so?

Try https://github.com/jasonmarcher/PowerTab?

Out of the box it doesn't solve the issue.
After I do Import-Module PowerTab all git commands autocompletion stops working.

PSReadLine supports bash style completion in Emacs mode, or bind Tab to Complete in Windows mode.

After I do Import-Module PowerTab all git commands autocompletion stops working.

Interesting. Try importing PowerTab before posh-git gets imported? It's supposed to work (cc @jasonmarcher):
https://github.com/dahlbyk/posh-git/blob/b428c3ceb8dd54f447d545b37db37636724cbe55/src/GitTabExpansion.ps1#L443-L454

After I do Import-Module PowerTab all git commands autocompletion stops working.

For that, PowerTab needs to be imported before anything that uses it.

You can do this if you have PSRL loaded which should be loaded by default in PS v5 and newer e.g..
git checkout feature/SMFTTII-<ctrl+space>

This module provides all matches.  It is up to PS/PSRL to determine how that information is shown.


Support for authlib 1.0.0

Flask is currently broken since a fresh install will install authlib 1.0.0.
python3.10/site-packages/loginpass/_flask.py:83: in register_to
    from authlib.integrations.flask_client import FlaskRemoteApp
E   ImportError: cannot import name 'FlaskRemoteApp' from 'authlib.integrations.flask_client' (python3.10/site-packages/authlib/integrations/flask_client/__init__.py)

Wonder if someone has found a fix for this?

Ran into the same issue today so investigated and found the issue. Created a PR.


Add software to the RSD

https://research-software-directory.org

Done: https://research-software-directory.org/software/powersensor3


skeleton structure and indexes of body joints

Hi,
I notice that the motions in KIT dataset with 21 joints. I would like to know what is the detailed skeleton structure and indexes of body joints of KIT.
Many Thanks for your reply and help.

Hello, thanks for your interest in this project. This is a quick visualization of KIT joint index:
https://colab.research.google.com/drive/1x6lMruelym2-_tgAnatX-Kt2GklARtCS?usp=sharing

Thank you very much for this help!


Protocol tab is loading indefinitely intermittently

Describe the issue:
$subject
https://github.com/wso2/product-is/assets/41533942/540b947c-37cd-4979-b375-155ee808471a
How to reproduce:

Sign into console
Create a single page application
Navigate to protocol section. You will see it is loading indefinitely.
Click on another side panel menu item (Eg: Connections) and navigate to its page.
Now again click on "Applications" in the side panel and navigate to the protocol section of the created application.
Protocol section is rendered as expected.

Expected behavior:
Behaviour in step 3 should not occur.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS 7 Alpha 2
OS: Mac OS
Database: H2
Userstore: JDBC

Optional Fields
Related issues:

Suggested labels:

Verified in the wso2is-7.0.0-beta-SNAPSHOT
https://github.com/wso2/product-is/assets/27746285/73eee71a-8524-4e90-ae3b-55e1fa7254ac


Missing information on how to update throughput in the portal

[Enter feedback here]
The page mentions that you can update throughput in the portal, but it does not say how to do it.  In the portal, I also don't see a way to modify the throughput on a container.

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

ID: 0f2b93a5-28b8-db4a-ab64-6342d3aafc63
Version Independent ID: 245586f2-63e1-1e78-a5dd-21e8fa2cc5d3
Content: Provision throughput on Azure Cosmos containers and databases
Content Source: articles/cosmos-db/set-throughput.md
Service: cosmos-db
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

@pmozbert Thank you for the feedback. We are actively investigating and will get back to you soon.

@pmozbert Please refer to below link for the same and check the note:
Enable autoscale on existing database or container

Hi,
It does not directly address the issue with the page.  The link you gave is
for a different page and discusses enabling of autoscaling.
On Tue, Dec 7, 2021, 00:27 AnuragSharma-MSFT @.***>
wrote:

@pmozbert https://github.com/pmozbert Please refer to below link for
the same and check the note:
Enable autoscale on existing database or container
https://docs.microsoft.com/en-us/azure/cosmos-db/sql/how-to-provision-autoscale-throughput?tabs=api-async
[image: image]
https://user-images.githubusercontent.com/66360845/144971745-6cbc69a9-2e0a-4c72-8e81-43518e4a2160.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/84890#issuecomment-987581821,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK7MBYZOYCQSIYGFABPRFBTUPWLMZANCNFSM5JP76MAA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

It's the same page. It changes depending on whether you use manual or autoscale throughput.

When you say the page changes, I think you're referring to the PMC, not the doc page.
In the PMC, there is no Scale option for the container (see screen capture).  I am using serverless capacity mode.  Is this option available for this serverless?  If this is the issue, then the doc page that this ticket is about should mention it.

@pmozbert Thanks for responding back. If we look into article it mentions that we don't configure the throughput in case of serverless account "In serverless mode, you don't have to provision any throughput when creating containers in your Azure Cosmos account. At the end of your billing period, you get billed for the number of Request Units that were consumed by your database operation".
I hope that should cover your query. Please let us know otherwise.

@pmozbert Please let us know if you have any other queries and we will be delighted to help you there.

We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


"Test your scale set" step fails with "RulesUseSameBackendPortProtocolAndPool" error

Hello, team.  It appears the "Test your scale set" step fails with "RulesUseSameBackendPortProtocolAndPool" error.
https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-cli#test-your-scale-set
(RulesUseSameBackendPortProtocolAndPool) Load balancing rules /subscriptions/REDACTED/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/myScaleSetLB/loadBalancingRules/LBRule and /subscriptions/REDACTED/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/myScaleSetLB/loadBalancingRules/myLoadBalancerRuleWeb with floating IP disabled use the same protocol Tcp and backend port 80, and must not be used with the same backend address pool /subscriptions/REDACTED/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/myScaleSetLB/backendAddressPools/myScaleSetLBBEPool.
Code: RulesUseSameBackendPortProtocolAndPool
Message: Load balancing rules /subscriptions/REDACTED/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/myScaleSetLB/loadBalancingRules/LBRule and /subscriptions/REDACTED/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/myScaleSetLB/loadBalancingRules/myLoadBalancerRuleWeb with floating IP disabled use the same protocol Tcp and backend port 80, and must not be used with the same backend address pool /subscriptions/REDACTED/resourceGroups/myResourceGroup/providers/Microsoft.Network/loadBalancers/myScaleSetLB/backendAddressPools/myScaleSetLBBEPool.
It looks like there is already a default load balancing rule named "LBRule" on TCP port 80 that's created as part of the VMSS creation step:  https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/tutorial-install-apps-cli#create-a-scale-set
Since that rule with the same port and protocol are in use, the command fails.

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

ID: bf54fb22-6522-87f9-e63f-07ecee909abf
Version Independent ID: 5ec14ed2-693b-e98b-44d3-792d1a44be30
Content: Tutorial - Install applications in a scale set with Azure CLI - Azure Virtual Machine Scale Sets
Content Source: articles/virtual-machine-scale-sets/tutorial-install-apps-cli.md
Service: virtual-machine-scale-sets
Sub-service: extensions
GitHub Login: @ju-shim
Microsoft Alias: jushiman

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

@mbiver
Thank you for your feedback!
I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1)
Thank you for your time and patience throughout this issue.

I still have the error like op, did your team fix it yet?


Model imports break due to DTDs on https://cairis.org

Due to what appears to be lack of https support in libxml2, model imports in CAIRIS are breaking because DTDs aren't downloadable.  It looks like the DTDs will need to be manually retrieved and internally loaded before model imports can continue.
This doesn't affect the functionality of CAIRIS, which still works happily over https, but it does break the test cases, and model imports in general
Problem first reported in #149

UPDATE: as a temporary work around, you comment out the DOCTYPE directive in line 2 of each CAIRIS model, which stops DTD validation from kicking in.

This has now been resolved.


The -purge parameter does not exist in v.3.0.0 of ExchangeOnlineManagement

-Purge parameter does not exist in v.3.0.0 on ExchangeOnlineManagement

How are we supposed to purge emails?

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

ID: fad8adee-7f9d-757b-2069-95ecab232747
Version Independent ID: c71194df-8f65-15aa-3ed2-b370b8c3f629
Content: New-ComplianceSearchAction (ExchangePowerShell)
Content Source: exchange/exchange-ps/exchange/New-ComplianceSearchAction.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@KeysAU, the following call-out is in the Purge parameter description in Get-ComplianceSearchAction, but not in New-ComplianceSearchAction, even though it applies to both:

Note: In Security & Compliance PowerShell, this parameter is available only in the Search and Purge role. By default, this role is assigned only to the Organization Management role group.

I'll add that note to the Purge and PurgeType parameter descriptions in New-ComplianceSearchAction.
Version of the module shouldn't matter, although the current version is v3.1.0. Another possibility is the whole remote PowerShell vs. REST API connections.
But, the most likely issue is the account that you're connecting with doesn't have the Search and Purge role assigned.

Correction: The Search and Purge role is now assigned to the Organization Management AND Data Investigator role groups.

@KeysAU Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


upgrade dnt to 0.33.0 to solve a webpack bug

this issue https://github.com/denoland/dnt/issues/228 perfectly explains the error.
Here is what i got:

I released v0.10.1 with this patch; let me know if this fixes it for you.


Check bcd_Calib2

Continue using `bcd_calib2' for the L-band -> seems to be working ok there?
It gives the right values for the N-band as well, but for some reason halves the scale? -> Check why -> Averaging Error?

This is not used anymore in the data reduction, but still the halfing of the N-band occurs in calib_BCD2


Workaround for slow SPV query by splitting it apart

We won't want this in the long term, because it adds more queries, but I think it will help avoid the query timeout we're currently seeing with InstalledSubscriberPackage
Critical Changes
Changes
Issues Closed

I ran a build that uses relevant when clauses using this branch and it completed successfully.


UI: Add controls for sprite dimensions

Add a method to control sprite pixel width/height. Simple type-in input boxes or buttons to increase dimensions in the four directions.

This issue was moved to flaki/pif-editor#5


Splitting Regions plugin class

regions.js file was splitted in two files, one containing the RegionsPlugin class, another the Region class.
This approach is useful because separating two conceptually different objects allows to treat them as different modules. In this way creating a Custom Plugin that extends the RegionsPlugin is simpler, and allows you to decide whether to leave Region class unchanged, or extends it too.
Breaking changes in the internal API:

Splitted regions.js in regions.js and region.js and moved both files in src/plugin/regions/ directory.
Modified the plugins' build file, so to build the entry point are considered also nested directories

Related Issues and other PRs:
PR https://github.com/katspaugh/wavesurfer.js/pull/1928

Coverage remained the same at 80.62% when pulling ae1c37bf205dfa16118a442c399fd1d51cda8849 on marizuccara:master into d8f5c3293daf712799a039a9ce58cdb5f31c2066 on katspaugh:master.


Upgrade angular primeng

This PR is a refactoring PR and update of angular & primeng. The refactoring is about removing all phenopacket sub elements into the shared/table folder as these are phenopacket sub elements shown in tables, used in PhenoCreator and in phenopacketList components. Then I removed PhenopacketModule and created a PhenopacketListModule which declares the leftover components in Phenoapacket : PhenopacketComponet, MetadataComponent, IndividualDialogComponent.
The PR also has the private info checkbox that was previously present in both the Individual edit form and the InterpretationDialog, moved to the validation part of the stepper. This allows for cleaner and more easily managing the state of this checkbox. (which is updated through the PHenopacketStepperService).


Feature request (Lock Modmails)

Locks a modmail requires a password to enter. This would be useful for "sensitive stuff".
Admins can do a !lockmail which will lock the logs of that specific mail.

Approuved, this would be verry nice.

Duplicates #463


Fix can not merge projects in test

Same error using Python client. Maybe test account does not exist anymore


lint Ecmascript?

This is probably farfetched, but is there any Python Ecmascript linters out there?

Do you mean an ECMAScript linter written in Python?

A regular Google search should return a lot of suggestions: https://www.google.com/search?q=ECMAScript+linter

@illfated yes, but since its pretty greedy i just called subprocess on eslint-prettier
Haha

Doesn't sound like there's anything for Black to do here.


Users must be deleted and re-created if updating to 1.1.1

Set an unusable password on newly created user instead of leaving it empty. as implemented in f79c93f0d010ef724b8f78dd7e87a0e8335a8f92 enforces all users to be deleted before migrating, otherwise it would crash with django.core.exceptions.ValidationError: {'password': ['This field cannot be blank.']} on login.
Should this be documented in the patch notes?

In my project I wrote a simple data migration for this so users with empty passwords will have a unusable password:
from django.contrib.auth import get_user_model
from django.db import migrations

def set_unusable_passwords(apps, schema_editor):
    User = get_user_model()
    for user in User.objects.filter(password=""):
        user.set_unusable_password()
        user.save()

class Migration(migrations.Migration):

    dependencies = [
        ('my_app', '0001_my_migration'),
    ]

    operations = [
        migrations.RunPython(set_unusable_passwords, reverse_code=migrations.RunPython.noop),
    ]