feat: Grafana Oncall Plugin

⚠ Pre Checklist

Please complete ALL items in this checklist, and remove before submitting

[ ] I have read through the Contributing Documentation.
[ ] I have added relevant tests.
[ ] I have added relevant documentation.
[ ] I will add labels to the PR, such as pr-type/bug-fix, pr-type/feature-development, etc.

Summary
What does this PR do?
Does this close any open issues?
Closes xx
Screenshots
Include any relevant screenshots here.
Other Information
Any other information that is important to this PR.

@klesh @abeizn @mintsweet may I ask you to review the pull request? for me, it has already been working for a month

Hi, @Tonkonozhenko Thanks for your contribution.
Would you mind updating the PR description to describe your work and help others understand the context of the plugin? Thanks.
Please assume that others may not know the Grafana Oncall at all, so, a brief introduction and links to details would help, and it would be great to know what entities or data are currently supported and what is the next step if any.

@Tonkonozhenko Please fix the CI errors.

Overdue


Error on compiling obsolete plurals

msgid_plural and msg_str[] are missing the obsolete prefix (#~)
This produces broken .po-files:
#~ msgid "Mutter"
msgid_plural "Mütter"
msgstr[0] "мать"
msgstr[1] "матери"
msgstr[2] "матери"

Please fix it by prepending the TOKEN_OBSOLETE when the entry is obsolete in buildMsgIdPlural and buildMsgStr methods in PoCompiler.php.
It try it by myself now and try to send you an Pull request.

Could you write a test for it? Then we could code a solution around it ;)

Sorry but I am a little bit in hurry. It was quite easy to fix. Please see my pull request.
To reproduce it just open a po-file with obsolete plurals and compile it again. You will see that msgid_plural and msgstr doesn't care about the obsolete flag while msgid does.

Thanks for the PR!


WIP: Fix test_create

Note to me: podman lifecycle is correct: created,started,stopped,exited   python podman code makes it seem possible there's a created->started race (in the test).

@jwhonce rebased this PR off your #1635 let's see what happens...

...Resolved by #1635


docs: Move code snippets to external files

When we change oasis-sdk API, the example code in docs may not work anymore. For starters, we should move the relevant code snippets outside of .md files to a standalone .go and .rs files and CI should build it.

[ ] Move rust and go snippets in the following markdown files:

https://github.com/oasisprotocol/oasis-sdk/blob/main/docs/contract/hello-world.md
https://github.com/oasisprotocol/oasis-sdk/blob/main/docs/contract/confidential-smart-contract.md
https://github.com/oasisprotocol/oasis-sdk/blob/main/docs/runtime/minimal-runtime.md
to examples/contracts and examples/runtimes accordingly.

[ ] Use raw-loader to include them in the docs: https://docusaurus.io/docs/markdown-features/react#importing-code-snippets
[ ] Add tests to oasis-sdk CI to build the examples

In the future, we should also look at how to only include relevant snippets (regions) of the source files. Here's how vuepress does it: https://v1.vuepress.vuejs.org/guide/markdown.html#import-code-snippets

Regarding the future implementation, there is no standard markdown syntax for importing code blocks. Options:

use markdown docusaurus code style, add source keyword:```go source="path/to/my/file.go#optional-snippet-name-or-line-number-range"

use markdown vuepress v1 style:<<< path/to/my/file.go#snippet{1}

use markdown vuepress v2 style with added snippet support:@[code{optional-snippet-or-line-number} go](/path/to/my/file.go)

use react docusaurus style with a code block wrapper and added src attribute:<CodeBlock language="go" src="path/to/my/file.go#optional-snippet-name-or-line-number-range" />

Additional attributes beside the original code block attributes (language, highlighted line numbers):

viewUrl: undefined | function (string, string) -> string | false which mimics editUrl and is used for users to click on the codeblock title which will open the source file on github.com (including the computed line numbers from snippets)

Examples will probably be outside of the main docs paths. Options on how to resolve example path:

always use relative paths to example files. Use remark to preprocess the paths to corresponding folder in the docs environment when compiling docs.
use vuepress @ notation, e.g. @examples/my/example1/file.go and use remark to map @examples to oasis-sdk's examples folder in the docs environment.
use github.com URL of the file, use remark to map it to the local filepath.


REQUEST: New membership for

GitHub Username
@gityh2021
e.g. (at)example_user
Requirements

[x] I have reviewed the community membership guidelines (https://github.com/cloudwego/community/blob/main/COMMUNITY_MEMBERSHIP.md)
[x] I have joined to the Slack Channel and Feishu Group Chat (for Chinese)
[x] I am contributing (any of the following apply: issues, discussions, PRs, reviews) to 1 or more CloudWeGo repositories

List of contributions to CloudWeGo

PRs reviewed / authored
test :

https://github.com/cloudwego/hertz/pull/416
https://github.com/cloudwego/hertz/pull/374

feat :

https://github.com/hertz-contrib/hertzsentry/pull/1
https://github.com/hertz-contrib/hertzsentry/pull/3
https://github.com/cloudwego/kitex-examples/pull/69

doc :

https://github.com/cloudwego/cloudwego.github.io/pull/474

code review :

https://github.com/cloudwego/kitex-examples/pull/53#issuecomment-1330719078

Issues responded to

https://github.com/cloudwego/kitex-examples/issues/34

Need more contribution to become a Hertz Committer, fighting and we are looking forward to it. :)

Need more contribution to become a Hertz Committer, fighting and we are looking forward to it. :)
okkk，I will try to make more contribution!

hold


docker-compose plugin autocompleting wrong for start|stop|restart|exec

On completing docker-compose <start|stop|restart> the autocompletion suggests container names instead of service names.
Example (just off the top of my head):
someproject/docker-compose.yml
version: '3.5'
services:
  app:
    <some config>
  db:
    <some other config>

docker-compose up -d reveals the following container names:

someproject_app_1_<random_hash>
someproject_db_1_<random_hash>

docker-compose restart <tab> should autocomplete app or db, but currently it suggests app_1 and db_1

Im unable to reproduce, is this still an issue?

Nope, seems fixed. Also it doesn't seem to have been an issue with the oh-my-zsh side of things, because I didn't update that in the meantime.


default file locations are broken

if I download the package, then run it with ./buck-security --output=2 the following error occurs.
[2] CHECK emptypasswd: Users with empty password            [ WARNING ]
The security test encountered the following error during execution.
Password file /home/david/dev/buck-security/etc/passwd does not exist.
Command was: a perl script, too long to display
I guess the default should be /etc/passwd
same with /etc/sshd_config and /tmp

fixed in

36e4783 - (HEAD, origin/devel, devel) fix typo in default config value (33 seconds ago)


Image pull policy (#1345)

See #1345 by @dmarkhas
Fixes #1324

Hey @dmarkhas,
Could you please take a look and tell us if this implementation will cover your use cases? Thanks!

Also covers case described in #2048


Comparability with sticky states of ui-router-extras

if angular-permission is used with ui-router-extras, sticky states don't work
To reproduce:

Run example from http://plnkr.co/edit/svwPDk?p=preview
Press "Account" to open modal
Content from sticky state disappears

Expected:

Comment out script.js : line 4 (, 'permission')
Run example and press "Account" to open modal
Content from sticky state stays

[example code there is pretty bad, sorry]
It's probably not exactly angular-permission fault, but still
can anyone suggest me a workaround for this?

It's called minimal example, I just ripped off different one. Refreshing the page doesn't open index state so view with it doesn't load, you need additional code to implement it.
ui-router-extras idea is too keep state active while accessing different state, "tab case" is not the only application for this. Details for these two notices are in its FAQ, e.g. question " I've created a modal state that's accessible from anywhere. The modal pops up over my app. However, when the user clicks refresh, only the modal appears. My app disappeared from the background!" here https://christopherthielen.github.io/ui-router-extras/#/sticky
Here's full modal example for ui-router-extras https://christopherthielen.github.io/ui-router-extras/example/stickymodal/index.html (modal accessible from everywhere, the same what I'm trying to archive)
Here's full example which I cut to display the issue http://plnkr.co/edit/svwPDk?p=preview
So yeah, it's not my problem of use of the ui-router-extras (modal from anywhere) or ui-router (which just can't make what I need), It's something connected with comparability of angular-permission and ui-router-extras.

@masterspambot thank you, I'll give it a try tomorrow and report here

Tested same example with angular-permission 2.3.0 and it works fine


update Namespace match type to Self in antrea network policy doc.

Signed-off-by: Wu zhengdong<EMAIL_ADDRESS>

Codecov Report

Merging #3096 (7dae9b1) into release-1.2 (8aff246) will decrease coverage by 17.86%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           release-1.2    #3096       +/-   ##
================================================
- Coverage        60.64%   42.77%   -17.87%
================================================
  Files              284      146      -138
  Lines            22385    18312     -4073
================================================
- Hits             13575     7833     -5742
- Misses            7367     9775     +2408
+ Partials          1443      704      -739

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
42.77% <ø> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.


refactor: react rewrite

#40
cc @apclary @thorgod
What do you think about this? Got rid of some code. I used create-react-app.
Fixes #39

Cool I will take a look at this today, and test it out. Nice job.

Looks good.

As you look like a expert in react. Is there a chance you move all the files from http CDN's to local package (If you haven't already)?

@thorgod I think I removed all CDN "dependencies".
Before this is can get merged I also want to get rid of the jquery and jquery.panzoom dependency. I will do so either with https://www.npmjs.com/package/panzoom or https://www.npmjs.com/package/react-easy-panzoom

One minor thing, the longer installation instructions can probably just be removed. They will no longer be valid and running an executable (or docker) is much easier for an end user.

I like having a build process documentation makes it easier for new contributors to learn/add to the project. Does not have to be on the readme but somewhere would be cool.
@n1ru4l Thanks for removing the CDN dependencies!

@apclary Can you please enable builds for pull requests? Also, a successful build as a merge condition would be awesome.
I removed the jquery code. We can update the documentation in a further pull request.

@n1ru4l I believe it is currently on, I see a build passing notification for "refactor: react rewrite" in travis, but maybe there is something I need to do to share it back to you more easily?

@apclary https://help.github.com/en/articles/enabling-required-status-checks there is no build status report on this pill request

Thanks for the link, I think I have it set up correctly. I added travis and dockercloud as required and checked the box for requiring latest code.

Just noticed this - did you remove the travis badge intentionally?

@apclary nope must have missed this while rebasing


Using built-in mouse back button does not close modals

When using a mouse with a back button, the modal won't closed if the button is clicked on the overaly.
When a modal is opened we click the back button on the gray overlay, it closes the modal first (click event that triggers modals onclose navigation route) then it re-opens it (native "back" functionality) b/c the modal is no a route, so i was very confused as to why the modal wasn't closing when navigating back

Can this be assigned to me?


Color gradient for temperature uncertainty

This is still on the todo list from yesterday, I'll give this a try.

Done. Check it out!

Cool would be to have a rainbow colormap with a constant brightness, otherwise temperatures that are displayed with darker colours seem to be more likely than temperatures with brighter colours....


Added cursor styling to work with OSM data

##Description

Added the cursor styling to work with OSM data
I also fixed some styling to make the click point more accurate
Sorted the cursors alphabetically

Before
https://github.com/facebook/Rapid/assets/49957271/1b3326da-df3e-4669-9045-cbb3a79f8afc
After
https://github.com/facebook/Rapid/assets/49957271/c9937547-a4ac-494d-876f-d6b576c3aa72

Awesome, it's great to have these back again 👍
It looks like the test failure is unrelated, so it seems ok to merge


option_settings not working

I have tried using the config file. I'm able to run commands. But unable to update JVM option which is in option_settings

This works against the latest Tomcat 8.5 with Java 8 running on 64bit Amazon Linux/3.3.1.  It's possible the namespace for that setting has changed however.  If you are using a different platform, or a different tomcat version, you can try commenting out the options_settings section and just adding -javaagent:/newrelic/newrelic.jar manually under the JVM options for the Container config in Elastic Beanstalk.


Can't discovery UPnP devices connected to iPhone's personal hotspot.

Hello.
I found this issue to previous release but it is still remained so I thought to need to notify it.
Before reading, I'm not good at English. Therefore, although my wording is some strange, please understand.
The issue is occurred as following situation :

Turn on "Personal hotspot" in iPhone.
Connect UPnP Root device to iPhone's hotspot.
Start demo app in iPhone.
Can't see any UPnP device at tableView. (NOT discovered)

I think it is because of the problem that interface name of personal hotspot is bridge, not en.
Original Code
if( (ifa->ifa_addr->sa_family == AF_INET) && !(ifa->ifa_flags & IFF_LOOPBACK) && !strncmp(ifa->ifa_name, "en", 2)) {
    NSData *data = [NSData dataWithBytes:ifa->ifa_addr length:sizeof(struct sockaddr_in)];
    NSString *if_name = [NSString stringWithUTF8String:ifa->ifa_name];
    [addresses setObject:data forKey:if_name];
}

So, I ask to modify the method availableNetworkInterfaces of SSDPServiceBrowser for all network environment. For example :
Modified Code
if (((ifa->ifa_addr->sa_family == AF_INET) || (ifa->ifa_addr->sa_family == AF_INET6)) && !(ifa->ifa_flags & IFF_LOOPBACK)) {
    if (!strncmp(ifa->ifa_name, "en", 2) || !strncmp(ifa->ifa_name, "bridge", 6)) {
        NSData *data = [NSData dataWithBytes:ifa->ifa_addr length:sizeof(struct sockaddr_in)];
        NSString *if_name = [NSString stringWithUTF8String:ifa->ifa_name];

        int addressFamily = [[GCDAsyncUdpSocket class] familyFromAddress:data];
        if (addressFamily != AF_UNSPEC) {
            [addresses setObject:data forKey:if_name];
        }
    }
}

cf) The method GCDWebServerGetPrimaryIPAddress in GCDWebServerFunctions of GCDWebServer has to be modified to subscribe event.
Also, there is another issue only in iOS 10. It is phone and devices are not in same network(only bridge).
I don't know why it is occurred only in iOS 10, but anyway it seems phone and device get different addresses in bridge network.
This issue was solved by modifying setupMulticastSocket.
Original Code
if (![self.multicastSocket joinMulticastGroup:SSDPMulticastGroupAddress error:&err]) {
    [self _notifyDelegateWithError:err];
    return;
}

Modified Code
if (![self.multicastSocket joinMulticastGroup:SSDPMulticastGroupAddress onInterface:[[GCDAsyncUdpSocket class] hostFromAddress:sourceAddress] error:&err]) {
    [self _notifyDelegateWithError:err];
    return;
}

Oh, Sorry it was too long to read. :-)
I always appreciate and respect your effort. Thank you.

@DebugHolic certainly living up to your name!
Thank you very much for such a detailed issue. I will definitely look into this tomorrow. I hadn't even considered someone may want to use this on a hotspot :+1:
Any other issues let me know.

Hi @DebugHolic
I had a look into this today, unfortunately I couldn't get it to work correctly. I added the two changes in, setup a hotspot on an iPhone 6S (iOS 10.1.1), then ran the Example app. No connected devices would show up for me.

Thank you for consideration.
I'm so sorry. I've been too busy to see your comment.
I MISSED an important correction. You should modify GCDWebServerFunctions in GCDWebServer library.
Correction is following.
In method GCDWebServerGetPrimaryIPAddress

Make primaryInterface disable.

//  const char* primaryInterface = "en0";  // WiFi interface on iOS

Make following code disable at about line 274.

//      if (strcmp(ifap->ifa_name, primaryInterface))

Add following code instead.

if (strncmp(ifap->ifa_name, "en", 2) && strncmp(ifap->ifa_name, "bridge", 6))
It's over.

I'm developing an APP using your library and unfortunately I found another issue.
I want to get volume range from UPnP Renderer Device and it is in RenderingControlService description.
But, CocoaUPnP doesn't parse the service description so I am adding it to my project.
I ask for you to look this issue. :-)

Thank you @DebugHolic,
You've saved my day!


Add support for compound field and others non-stringlike_types fields

This PR fix #99 .
By default, we should not change a value of a field to a string, that's why i was unable to use compound fields from salesforce.

Oh, i miss read this PR and i thought you close it. I create a new one using your commit and fixing the failing tests #101


Why port 8080 is being set by oidc_util_hdr_table_set ?

Environment

platform/distro (Sles12)
mod_auth_openidc version : apache2-mod_auth_openidc           | package    | 2.3.3-1.2
Apache version    2.4.23-29.13.1

Expected behaviour
https://portal-test.mydomain.no/minside
Actual behaviour
The port 8080 is being added. Why ?
https://portal-test.mydomain.no:8080/minside
Minimized example
Log :
[Thu Feb 14 10:37:17.534802 2019] [auth_openidc:debug] [pid 49592] src/mod_auth_openidc.c(1673): [client <IP_ADDRESS>:36086] oidc_save_in_session: session management disabled: "check_session_iframe" is not set in provider configuration
[Thu Feb 14 10:37:17.534805 2019] [auth_openidc:debug] [pid 49592] src/mod_auth_openidc.c(1042): [client <IP_ADDRESS>:36086] oidc_store_userinfo_claims: enter
[Thu Feb 14 10:37:17.534821 2019] [auth_openidc:debug] [pid 49592] src/mod_auth_openidc.c(1713): [client <IP_ADDRESS>:36086] oidc_save_in_session: provider->session_max_duration = 28800, session_expires=1550165837534819
[Thu Feb 14 10:37:17.534825 2019] [auth_openidc:debug] [pid 49592] src/mod_auth_openidc.c(900): [client <IP_ADDRESS>:36086] oidc_log_session_expires: session max lifetime: Thu, 14 Feb 2019 17:37:17 GMT (in 28799 secs from now)
[Thu Feb 14 10:37:17.534829 2019] [auth_openidc:debug] [pid 49592] src/util.c(2192): [client <IP_ADDRESS>:36086] oidc_util_hdr_in_get: Host=portal-test.mydomain.no
[Thu Feb 14 10:37:17.534934 2019] [auth_openidc:debug] [pid 49592] src/cache/common.c(626): [client <IP_ADDRESS>:36086] oidc_cache_set: enter: xxx-xxxx-xxx-xx-xx (section=s, len=3118, encrypt=0, ttl(s)=299, type=shm)
[Thu Feb 14 10:37:17.534985 2019] [auth_openidc:debug] [pid 49592] src/cache/common.c(653): [client <IP_ADDRESS>:36086] oidc_cache_set: successfully stored 3118 bytes in shm cache backend for key xxx-xxxx-xxx-xx-xx
[Thu Feb 14 10:37:17.534993 2019] [auth_openidc:debug] [pid 49592] src/util.c(2246): [client <IP_ADDRESS>:36086] oidc_util_hdr_err_out_add: Set-Cookie: mod_auth_openidc_session=xxx-xxxx-xxx-xx-xx; Path=/; Secure; HttpOnly
[Thu Feb 14 10:37:17.535006 2019] [auth_openidc:debug] [pid 49592] src/mod_auth_openidc.c(1945): [client <IP_ADDRESS>:36086] oidc_handle_authorization_response: session created and stored, returning to original URL: https://portal-test.mydomain.no:8080/minside, original method: get
[Thu Feb 14 10:37:17.535009 2019] [auth_openidc:debug] [pid 49592] src/util.c(2224): [client <IP_ADDRESS>:36086] oidc_util_hdr_table_set: Location: https://portal-test.mydomain.no:8080/minside
Configuration and Apache server log files
Varnish is running on port 80
Apache is running on port 8080
Apache :
.conf file :
<VirtualHost *:8080>
ServerName https://portal-test.mydomain.no
OIDCClientID xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OIDCClientSecret xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
OIDCRedirectURI https://portal-test.mydomain.no/minside/redirect_uri
OIDCResponseType code
OIDCScope "openid profile"
OIDCSSLValidateServer Off
OIDCCryptoPassphrase (a-random-seed-value)
OIDCPassClaimsAs environment
OIDCClaimPrefix USERINFO_
OIDCPassIDTokenAs payload
OIDCSSLValidateServer Off

<Location ~ /minside>
    Require valid-user
    AuthType openid-connect
    LogLevel debug
</Location>

Apparently your instance is behind a proxy and the external port differs from the internal port. In that case your frontend proxy needs to pass X-Forwarded-Host and/or X-Forwarded-Port as documented in: https://github.com/zmartzone/mod_auth_openidc/wiki#8-how-do-i-run-mod_auth_openidc-behind-a-reverse-proxy

as suggested in the issue template: this type of questions should be discussed on the e-mail list


need Rails ActiveRecord.with_lock feature

Your Question
Rails has with_lock feature , it mean
BEGIN
  SELECT * FROM {table_name} WHERE {pkey} = {pkey_value} FOR UPDATE
  // obj values renew by this select
  ......
COMMIT or ROLLBACK

and use gorm maybe like
  var item Item{}
  db.First(&item)
  // check status / validation here without lock first
  db.WithLock(&item , function(obj , tx *gorm.DB) error { // transaction wrapper this func first
    // obj has been re-fill values from SELECT FOR UPDATE
    // check status / validation here in row locking
    // update data here
  })

otherwise I think here is bad example of locking at doc https://gorm.io/docs/transactions.html
Expected answer
support Rails ActiveRecord.with_lock feature

https://gorm.io/docs/advanced_query.html#Locking-FOR-UPDATE

@fatelei yep , but I think it not a transaction block , it need
https://gorm.io/docs/advanced_query.html#Locking-FOR-UPDATE
+
https://gorm.io/docs/transactions.html#Transaction
so I think it easy to implement

Users may need to query tables that are not related to updates. Whether to lock or not should be determined by the user, this feature is not necessary, and you can implement it yourself.


Question: Do inference on machine without GPU

I have trained the model on 8-V100. now I want to do inference on another machine without GPU (GPU deployment is too expensive).  But it seems that maskrcnn-benchmark INSTALL.md can only be installed on CUDA devices. (maskrcnn-benchmark depends on apex, apex requires cuda 9.2 or later)
Is there any walkaround for inferencing  on a machine without GPU?

Remove all apex reference from the master branch. So at inference time, there is no need to INSTALL with cuda support.


fix: min ranker ranks by minimum

The min ranker was not really a min ranker previously.
We did sort the elements of the array descendingly, this means the maximum score is in the first place.
This PR fixes this bug and repairs the Minranker to rank by minimum score (minimum distance).

Thanks for pointing it out. 😄

Thanks for pointing it out. smile

The name of this executor is minranker - if we also allow mean and max ranking, we should probably rename it right?

if we also allow mean and max ranking, we should probably rename it right?

Yes, maybe SimpleRanker?


Expired server certificate of UmpleOnline

Brief Description
The certificate of the UmpleOnline server expired on July 6th. Connections with HTTPS are therefore not possible anymore.
Minimum Steps to Reproduce
Visit https://cruise.eecs.uottawa.ca/umpleonline/
Btw: Thanks for the really helpful tool!

Thanks for the heads up. We have now replaced the certificate.
Tim

On Jul 10, 2016, at 05:14, jokrugel<EMAIL_ADDRESS>wrote:
Brief Description
The certificate of the UmpleOnline server expired on July 6th. Connections with HTTPS are therefore not possible anymore.
Minimum Steps to Reproduce
Visit https://cruise.eecs.uottawa.ca/umpleonline/ https://cruise.eecs.uottawa.ca/umpleonline/
Btw: Thanks for the really helpful tool!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/umple/umple/issues/876, or mute the thread https://github.com/notifications/unsubscribe/AAdP_gt_0xJDe-H1rm4mRp74xRtQ9--aks5qULf5gaJpZM4JIzBQ.

Timothy C. Lethbridge, PhD, P.Eng., I.S.P., CSDP
Professor of Software Engineering and Computer Science
Faculté de genie / Faculty of Engineering
Université d'Ottawa / University of Ottawa
Tel:<PHONE_NUMBER>x6685   Fax:<PHONE_NUMBER>    Mobile:<PHONE_NUMBER>
http://www.site.uottawa.ca/~tcl

The certificat has been replaced by our IT staff


Add Worker#subscribes_to for defining routing_key without inferring from class name

Closes #65
This is backwards compatible but will now allow you to define the routing key but still set up the queue name and retry routing keys for you:
Sneakers::CONFIG[:app_name] = 'bo_knows'

module SlapBraceletSender
  class V1
    include LaGear::Worker

    subscribes_to 'slap_bracelet_created.v2'

    def perform(order_id)
      # do work to send a complimentary slap bracelet
    end
  end
end

Here's what you would get:

Routing key - slap_bracelet_created.v2
Queue name - bo_knows.slap_bracelet_sender.v1
Retry routing key - bo_knows.slap_bracelet_sender.v1.retry

One caveat to this, is routing keys will not automatically version-increment when a handler's version increments. It will need to be done manually. If the slap_bracelet_created.v2 message type increments to slap_bracelet_created.v3, you will have to create SlapBraceletSender::V2 and invoke subscribes_to 'slap_bracelet_created.v3' in the new worker.


update token resolvers to origin

Hey I can not assign me to this cause I am not on the org but just saying here that I am taking care of this:-D


ES5 for legacy browsers

First of all, I really appreciate your efforts.
I was using the plugin in some project and the main problem was the legacy browsers especially safari.
So i made a es5 version that can be useful for more people.

This change is

Can you pump the version and push the update to NPM !?


colmena build -k / --keep-going

Hello,
morph had --build-arg to pass keep-going parameter to the nix build but can't seem to find it in colmena. Is there a way to pass -k/--keep-going parameter to the build process?
When long builds fail, it is wasteful to terminate prematurely as there are many drvs that can be built on other branches.
thnx.

A generic option to pass through CLI options to Nix would be nice. (I would like to pass --arg key value, and this issues is the closest to that feature request I've found.)

A generic option to pass through CLI options to Nix would be nice

In clap, this can be achieved using the last parameter:
https://docs.rs/clap/latest/clap/struct.Arg.html#method.last

Trying to narrow down this a bit, we have the nix-option PR before: https://github.com/zhaofengli/colmena/pull/126
I am not sure if that's applied to the build tho.

I'd say --keep-going is important enough functionality to justify its own dedicated flag. It also would pave the way for a 'summarization' function, listing all the things that do and don't work in the system flake.


pd: support state snapshots for joining nodes

When chain upgrades are performed (#1804), chain state may be collapsed by a migration, such that late-joining nodes (i.e. nodes that join the network after the upgrade boundary has passed) will not be able to verify historical state. To support late-joining nodes, we must provide the capability for pd testnet join to understand snapshots, and use them during bootstrapping.
Proposal: add new optional flag --snapshot-url=<URL> to pd testnet join. Doing so will allow late-joining nodes to pull down a compressed snapshot from a remote URL, and extract that snapshot as starting state for pd.
Specifically, this requires:

[ ] Defining snapshot format and structure (e.g. "all files/directories should be extracted to ~/.penumbra/testnet_data/node0/pd"). My understanding is we'll need at least 1) rocks db and 2) genesis file in all cases.
[ ] Providing hosting capability for future snapshots (ideally community validators will assist with this process, but we still need to host snapshots we create somewhere)
[ ] Write logic for pd testnet join --snapshot-url <url>.
[ ] Write user-facing documentation for using the flag.
[ ] Write developer-facing documentation for storing and updating snapshots.

What's the advantage of doing this rather than providing a .tar.xz of the pd home directory?

As I understand it, that's what the snapshot is: a compressed version of the rocksdb info that pd uses. It must also include a genesis file, which is not included in the pd home directory, but easy enough to overwrite when generating new configs. This ticket is essentially describing the need and the mechanism to "provide a .tar.xz of the pd home directory."

Got it, I was confused by the term "snapshot" because CometBFT has a notion of p2p snapshot exchange, which we're not currently using.

Thanks, edited for clarity, s/snapshot/archive/ throughout.

Setting this to P-high since this is a requirement to perform a testnet upgrade (both for compaction and migrations) and must be assigned during sprint planning

@erwanor I'll grab this one and give it a shot, trying to parallelize the work with what you've already got in flight on the upgrades front.

Resolved via #4055, also #4093.

Write user-facing documentation for using the flag.

Ah, still more to go. Working on this today.


Region folding does not work in C++

Steps to Reproduce:
test.cpp
int main (void) {
    /* #region */
    int tiny = 0;
    /* #endregion */
}

tiny will not fold in the editor.

Duplicate of https://github.com/microsoft/vscode-cpptools/issues/407


[AudioPlayer] Very Unreliable

The audio player seems to pick at random which of the loaded audios it wants to play from any given embed i click play on.

still an issue for me, would be nice to see a fix if possible


It works on first time then it throws errors

I tried to install this Web Installer on my App, it worked perfectly but again when i tried to access /install route it redirect me to 404 but then i saw a middle ware in your package (canInstall) . I changed that to go on even if it is already installed . But when i hit save .env it doesn't work and hangs on this route http://site.com/install/environment

Of course the install route should not be accessible after the installation. That's the normal behavior.

But what if i want to deploy it into online server from localhost, and then do installation via that route? Or what if i want to send it to client ?

Then just remove the file? Or add it to your .gitignore?

@RachidLaasri  which one file i am confused here ?

A file named "installed" will be created inside the storage folder.
You can add that to your .gitignore.

i will give a try thanks


Survey/News feature

When R project loads, we regularly check with a survey/news server to see if there's a news/survey item available.  If so, we open it in VS browser.  The 'regularly' is controlled by a user configurable option (never, once a day/week/month).
This is already implemented in NTVS and PTVS.

It is done


Incorrect highlighting when MSON attribute description contains underscore

See apiaryio/api-blueprint#202. Sample at line 126.

Same problem here with wrong rendering
+ Request Client credentials (application/json)

    + Attributes

        + grant_type: `client_credentials` (string, required)
        + client_id: `88888888-4444-4444-4444-cccccccccccc` (string, required)
        + client_secret: `clientsecret` (string, required)

    + Body

            {
                "grant_type": "client_credentials",
                "client_id": "88888888-4444-4444-4444-cccccccccccc",
                "client_secret": "clientsecret"
            }

@danielgtaylor Now that I look at this with fresh eyes, this might not be an issue at all, since underscores in MSON are not allowed and they need to be escaped. If that rule is followed, the highlighter would not make any mistake.

MSON are not allowed and they need to be escaped

This is true for property names and values. Not for description.

Same hightlighting issue happens if you have a JSON payload that contains a key that starts with an underscore.
For instance:
## Videos Collection [/videos]

Provides access to all videos.

+ Model (application/json)

    JSON representation of videos

    + Body

            {
                "_pagination":
                {
                    "next": "/videos?offset=7",
                    "total_count": 100
                }
            }

Highlighting is incorrect starting from the underscore.

any update?


Disabling auto-indent doesn't actually disable auto-indent

VSCode Version: 1.15.1
OS Version: Windows 10

Steps to Reproduce:

Disable editor.autoIndent.

Create a new file with this content and save it with a .cpp extension:

template<class _FwdIt,
	class _Ty,
	class _Fn>
	_Ty _Reduce_unchecked(_Parallel_policy_tag, _FwdIt _First, _FwdIt _Last, _Ty _Val, _Fn _Reduction)
	{	// return reduction, parallelized
	const size_t _Hw_threads = __std_parallel_algorithms_hw_threads();
	size_t _Count;
	if (_Hw_threads <= 1)
		{
		goto serial;
		}
	|| (_Count = _STD distance(_First, _Last)) < 2)
		{	// don't parallelize on uniprocessor machines or less than 2 elements
		return (_Reduce_unchecked(_First, _Last, _STD move(_Val), _Reduction));
		}
	}

Position the cursor on the line after "goto serial;" at the end. Press enter.

VS code moved that closing curly brace back 1 indent instead of leaving it alone.

Reproduces without extensions: Yes

When setting "editor.autoIndent": false, after 004d0da57a05783797ca2860821d613095b346a8 (#36090) I can no longer reproduce. The fix will ship with our upcoming Monday Insiders build.

Yaaaaaaaaay! :D

@alexandrudima I'm actually not sure I ever see auto indent working now. With 	"editor.autoIndent": true, the original example code still should reindent when you press enter, correct?

@mjbvz 004d0da57a05783797ca2860821d613095b346a8 does not change anything in the case where editor.autoIndent: true.


[cinder-csi-plugin] Failed to mount volume to pod

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
The volume is not mounted to the pod and got error message, Unable to find Device path for volume. After changing the log level of the node plugin to -v=4 I get this in the log:
I0908 22:19:22.200863       1 mount.go:178] Failed to find device for the volumeID: "9dc29d58-3d78-47ff-b976-043d7e0be5b5" by serial ID
I0908 22:19:22.311823       1 metadata.go:187] Attempting to fetch metadata from http://<IP_ADDRESS>/openstack/latest/meta_data.json
I0908 22:19:23.940241       1 metadata.go:219] Found disk metadata for volumeID "9dc29d58-3d78-47ff-b976-043d7e0be5b5". Bus: "scsi", Address: "0:0:0:2"
I0908 22:19:23.940333       1 metadata.go:236] expecting to find one disk path for volumeID "9dc29d58-3d78-47ff-b976-043d7e0be5b5", found 0: []
I0908 22:19:23.940345       1 metadata.go:242] Could not retrieve device metadata for volumeID: "9dc29d58-3d78-47ff-b976-043d7e0be5b5"
E0908 22:19:23.940353       1 utils.go:84] GRPC error: rpc error: code = Internal desc = Unable to find Device path for volume

I can see in Openstack that the volume is created in the correct availability zone and attached to the node. The disk shows up on the node as dev/sdc and the PVC get bound to a PV.
When looking in the code at https://github.com/kubernetes/cloud-provider-openstack/blob/master/pkg/util/metadata/metadata.go#L223
I see that it search for a disk with pattern /dev/disk/by-path/*-%s-%s", device.Bus, device.Address
The metadata in openstack gives this info about the disk {"type": "disk", "serial": "9dc29d58-3d78-47ff-b976-043d7e0be5b5", "bus": "scsi", "address": "0:0:0:2", "tags": []}
and that will make the pattern compile to /dev/disk/by-path/*-scsi-0:0:0:2
when looking on that path on the node I see that /dev/sdc has another pattern
acpi-VMBUS:00-vmbus-8d38ceb678f042ddb67407c98652e9d1-lun-2 -> ../../sdc
What you expected to happen:
Expected behavior is that the volume is mounted to the pod.
How to reproduce it:
Created a new cluster with Magnum. Use the manifests in this repo to deploy the cinder-csi-plugin. I also enabled Topology support (--feature-gates=Topology=true as argument to csi-provisioner). Otherwise the volume didn't end up in the correct availabilty zone and it failed. Create a storage class.
Create a PVC using that storageclass and create a pod that mounts that PVC.
See below for the environment to use.
Environment:

openstack-cloud-controller-manager(or other related binary) version:
OpenStack version: Stein
Openstack hypervisor: Hyper-V
OS image: fedora-coreos 32.20200809.3.0
Magnum: Train
Kubernetes: 1.18.2
Cloud-provider: 1.18.0
Images (via the manifests):

docker.io/k8scloudprovider/cinder-csi-plugin:latest
quay.io/k8scsi/csi-provisioner:v1.6.0

it tried to get device here first
https://github.com/kubernetes/cloud-provider-openstack/blob/master/pkg/csi/cinder/nodeserver.go#L543
then get from here
https://github.com/kubernetes/cloud-provider-openstack/blob/master/pkg/util/mount/mount.go#L150
do you have simliar things created in /dev/disk/by-id from your env?
maybe that will us clue what to be added..

On a node I have these links in the directory /dev/disk/by-path. This is a newly started server without any volume mounted. When a volume is mounted it follows the same pattern.
[core@k8s-qjdh2zyfn2fh-master-2 by-path]$ ls -al
total 0
drwxr-xr-x. 2 root root 160  9 sep 14.36 .
drwxr-xr-x. 8 root root 160  9 sep 14.36 ..
lrwxrwxrwx. 1 root root   9  9 sep 14.37 acpi-VMBUS:00-vmbus-0936c61183c34c30a11d258f594097a0-lun-0 -> ../../sda
lrwxrwxrwx. 1 root root  10  9 sep 14.37 acpi-VMBUS:00-vmbus-0936c61183c34c30a11d258f594097a0-lun-0-part1 -> ../../sda1
lrwxrwxrwx. 1 root root  10  9 sep 14.37 acpi-VMBUS:00-vmbus-0936c61183c34c30a11d258f594097a0-lun-0-part2 -> ../../sda2
lrwxrwxrwx. 1 root root  10  9 sep 14.37 acpi-VMBUS:00-vmbus-0936c61183c34c30a11d258f594097a0-lun-0-part3 -> ../../sda3
lrwxrwxrwx. 1 root root  10  9 sep 14.37 acpi-VMBUS:00-vmbus-0936c61183c34c30a11d258f594097a0-lun-0-part4 -> ../../sda4
lrwxrwxrwx. 1 root root   9  9 sep 14.37 acpi-VMBUS:00-vmbus-0936c61183c34c30a11d258f594097a0-lun-1 -> ../../sdb

This page points to that the naming (vmbus) is related to Hyper-V. https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/reference/hyper-v-architecture.
when I mount a volume to the instance i Openstack it shows like this in the by-path directory.
lrwxrwxrwx. 1 root root   9 10 sep 09.47 acpi-VMBUS:00-vmbus-0936c61183c34c30a11d258f594097a0-lun-2 -> ../../sdc

The output from the metadata service looks like this:
{
  "uuid": "a83ade9d-d3a5-4fe5-b6df-7f5e1bc6b86c",
  "hostname": "k8s-qjdh2zyfn2fh-master-2.openstack.example.",
  "name": "k8s-qjdh2zyfn2fh-master-2",
  "launch_index": 0,
  "availability_zone": "linux",
  "random_seed": "rz7...pSUSwdI=",
  "project_id": "184b60d4cd2c41899f33111f31d2c878",
  "devices": [
    {
      "type": "disk",
      "serial": "8896961b-0fa3-4158-8059-c59d9c8c000a",
      "bus": "scsi",
      "address": "0:0:0:1",
      "tags": []
    },
    {
      "type": "disk",
      "serial": "f9e79588-a3f5-4255-9522-a7ef463f06f2",
      "bus": "scsi",
      "address": "0:0:0:2",
      "tags": []
    }
  ]
}

I'm quite new to Openstack and Hyper-V so I'm not sure if it's correct to just use the number from address and map it to a regex like .*lun-<address-number>$

I missed the point Hyper-V at beginning of the issue , I guess that's the key factor here, thanks for pointing that out ~
basically, I guess (not 100% sure) no one tried hyper-v before on CPO, seems it's just naming convention from kvm perspective on existing code while hyper-v using different device format, maybe we can add the hyper-v format into code then return if we find it , the question here is it might need further test on other aspects regarding hyper-v

I missed that the code you referred to searched for by-id and not by-path.
In the directory by-id I see the this info: (new machine so new ids, the disk mounted by kube is sdb)
[core@k8s-qjdh2zyfn2fh-node-1 by-id]$ ls -la
total 0
drwxr-xr-x. 2 root root 400 10 sep 11.55 .
drwxr-xr-x. 8 root root 160 10 sep 09.25 ..
lrwxrwxrwx. 1 root root   9 10 sep 12.02 scsi-14d5346542020202078a0cc6cd981ba42b2aedb7172d4a5a1 -> ../../sdb
lrwxrwxrwx. 1 root root   9 10 sep 12.02 scsi-14d53465420202020ee5ab126e91311ea85b6b7c51510a9d1 -> ../../sda
lrwxrwxrwx. 1 root root  10 10 sep 12.02 scsi-14d53465420202020ee5ab126e91311ea85b6b7c51510a9d1-part1 -> ../../sda1
lrwxrwxrwx. 1 root root  10 10 sep 12.02 scsi-14d53465420202020ee5ab126e91311ea85b6b7c51510a9d1-part2 -> ../../sda2
lrwxrwxrwx. 1 root root  10 10 sep 12.02 scsi-14d53465420202020ee5ab126e91311ea85b6b7c51510a9d1-part3 -> ../../sda3
lrwxrwxrwx. 1 root root  10 10 sep 12.02 scsi-14d53465420202020ee5ab126e91311ea85b6b7c51510a9d1-part4 -> ../../sda4
lrwxrwxrwx. 1 root root   9 10 sep 12.02 scsi-36002248078a0cc6cd981db7172d4a5a1 -> ../../sdb
lrwxrwxrwx. 1 root root   9 10 sep 12.02 scsi-360022480ee5ab126e913b7c51510a9d1 -> ../../sda
lrwxrwxrwx. 1 root root  10 10 sep 12.02 scsi-360022480ee5ab126e913b7c51510a9d1-part1 -> ../../sda1
lrwxrwxrwx. 1 root root  10 10 sep 12.02 scsi-360022480ee5ab126e913b7c51510a9d1-part2 -> ../../sda2
lrwxrwxrwx. 1 root root  10 10 sep 12.02 scsi-360022480ee5ab126e913b7c51510a9d1-part3 -> ../../sda3
lrwxrwxrwx. 1 root root  10 10 sep 12.02 scsi-360022480ee5ab126e913b7c51510a9d1-part4 -> ../../sda4
lrwxrwxrwx. 1 root root   9 10 sep 12.02 wwn-0x6002248078a0cc6cd981db7172d4a5a1 -> ../../sdb
lrwxrwxrwx. 1 root root   9 10 sep 12.02 wwn-0x60022480ee5ab126e913b7c51510a9d1 -> ../../sda
lrwxrwxrwx. 1 root root  10 10 sep 12.02 wwn-0x60022480ee5ab126e913b7c51510a9d1-part1 -> ../../sda1
lrwxrwxrwx. 1 root root  10 10 sep 12.02 wwn-0x60022480ee5ab126e913b7c51510a9d1-part2 -> ../../sda2
lrwxrwxrwx. 1 root root  10 10 sep 12.02 wwn-0x60022480ee5ab126e913b7c51510a9d1-part3 -> ../../sda3
lrwxrwxrwx. 1 root root  10 10 sep 12.02 wwn-0x60022480ee5ab126e913b7c51510a9d1-part4 -> ../../sda4

I also now noticed that the serial value of the device in the meta-data contains the volume's id that Openstack specifies and not the serial number of the disk.
{
  "uuid": "1c1d5532-fc34-4ba7-bf8f-7181ced3dcee",
  "hostname": "k8s-qjdh2zyfn2fh-node-1.openstack.example.",
  "name": "k8s-qjdh2zyfn2fh-node-1",
  "launch_index": 0,
  "availability_zone": "linux",
  "random_seed": "cfRwi....XlMI=",
  "project_id": "184b60d4cd2c41899f33111f31d2c878",
  "devices": [
    {
      "type": "disk",
      "serial": "a55a17fe-fd36-43df-a5bf-100256c92c52",
      "bus": "scsi",
      "address": "0:0:0:1",
      "tags": []
    }
  ]
}

So that's why it doesn't match. I don't know if this is a bug in the Hyper-V integration with the meta-data server or if it's a correct behavior. Do you have any knowledge about how the meta data server works and integrates with the disks?

I knew metadata server mechanism and API behind it ,but I don't know the Hyper-V integraiton and whether there's anything special to KVM, so I need check more here or maybe someone already know it can comment

I read thru the code even more and followed the flow of how a device path is found. I ended up at this comment:
	// Nova Hyper-V hosts cannot override disk SCSI IDs. In order to locate
	// volumes, we're querying the metadata service. Note that the Hyper-V
	// driver will include device metadata for untagged volumes as well.

https://github.com/kubernetes/cloud-provider-openstack/blob/master/pkg/util/metadata/metadata.go#L204
In the log of the nodeplugin I get several lines like this for 30 seconds before it continues to find the device path from the metadata server.
I0908 22:19:22.200863       1 mount.go:178] Failed to find device for the volumeID: "9dc29d58-3d78-47ff-b976-043d7e0be5b5" by serial ID

So I guess that the serial value can't be used on Hyper-V and instead the nodeplugin try to find it via the metadata server.
The problem here is that our disks don't matches *-scsi-0:0:0:2 (values from metadata).
I created a customer version that handled the format *-lun-<address-id> and then the volume got mounted correctly into the pod. Here is a branch of the code, https://github.com/pagero/cloud-provider-openstack/commit/41d0b12a54642af09acce3639b118f0ee3078523.
I'm not sure about the format of the soft link. I have manually tested to create up to 17 volumes to a node and it follows the implemented pattern. It would be good to have find some documentation about the naming of the soft link and how it relates to address before creating a PR.

I went a bit further down the rabbit hole and looked into udev in systemd which is responsible for creating the soft links in /dev/disk/by-path and found this method that generates the link. https://github.com/systemd/systemd/blob/c6552f7cd574a693d921176796057b50ced2b4f5/src/udev/udev-builtin-path_id.c#L375
The code generates a name that ends with vmbus-<guid>-<lun> where lun is build up from "lun-"<lun-number>.
A volume/disk shows up as a system device on this path /sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0004:00/VMBUS:00/216abb18-f151-45cc-a3b5-a981b815575a/host0/target0:0:0/0:0:0:2
and the link in by-path is created like this acpi-VMBUS:00-vmbus-216abb18f15145cca3b5a981b815575a-lun-2.
Looking into the storage driver it look like max luns is 255 so the implementation I did in my branch. Ref. https://github.com/torvalds/linux/blob/master/drivers/scsi/storvsc_drv.c#L404

@peterrosell thanks for detailed analysis, I see no reason to not include the fix in your local branch in the master , as it add special check to Hyper-V devices because of its special generate rules and won't affect other platform such as KVM .. so can you help to make a PR with your local branch? Thanks

36002248078a0cc6cd981db7172d4a5a1

@peterrosell Where exactly  volume ID: 9dc29d58-3d78-47ff-b976-043d7e0be5b5 is mounted ? could you paste again which file in by-id corresponds to this volume  ?  It would be good to add one for HyperV here as did for other hypervisors, https://github.com/kubernetes/cloud-provider-openstack/blob/master/pkg/util/mount/mount.go#L150

The problem is that the id that shows up under by-id is the serial number of the disk and that's what you expect to be in the metadata's devices/serial, but it isn't. It contains the Openstack uuid of the volume. Instead I tried to use the last number in the address and concatenate it with lun, but that doesn't always seem to work.
I have now got an answer from hosting company's Openstack provider and they have looked at this PR and said that I shall use /sys/bus/scsi/devices/<metadata:devices/address> instead, but the address in that directory is 4:0:0:0 and the metadata shows 0:0:0:0 so they don't match. Searching for 0:0:0:0 (find /sys | grep 0:0:0:0) doesn't find anything. I will return a question to them and hope for a better suggestion or if someone here have the ultimate solution. :-)
This is how it looks when I have mounted two SCIS disks (/dev/sdc, /dev/sdd).
Metadata
peterr-cinder:/dev/disk$ curl -s http://<IP_ADDRESS>/openstack/latest/meta_data.json | jq '.'
{
  "uuid": "5a2e77f7-2b1f-4aa9-90f1-d827e98b6e6a",
  "public_keys": {
    "deploy-key": "ssh-rsa ..."
  },
  "keys": [
    {
      "name": "deploy-key",
      "type": "ssh",
      "data": "ssh-rsa ..."
    }
  ],
  "hostname": "peterr-cinder.openstack.example.",
  "name": "peterr-cinder",
  "launch_index": 0,
  "availability_zone": "linux",
  "random_seed": "...",
  "project_id": "184b60d4cd2c41899f33111f31d2c878",
  "devices": [
    {
      "type": "disk",
      "serial": "dfb229e3-2370-4ace-a880-f35ede11cb0b",
      "bus": "ide",
      "address": "0:0",
      "tags": []
    },
    {
      "type": "disk",
      "serial": "3e55d7c5-05f0-4bb1-96c8-7633ee23075d",
      "bus": "scsi",
      "address": "0:0:0:0",
      "tags": []
    },
    {
      "type": "disk",
      "serial": "f9e79588-a3f5-4255-9522-a7ef463f06f2",
      "bus": "scsi",
      "address": "0:0:0:1",
      "tags": []
    }
  ]
}

by-id
peterr-cinder:/dev/disk$ ls -al by-id
total 0
drwxr-xr-x 2 root root 460 Sep 25 07:48 .
drwxr-xr-x 8 root root 160 Sep 25 06:50 ..
lrwxrwxrwx 1 root root   9 Sep 25 06:51 scsi-14d534654202020204e158ef4fefb11eaabb8b9ebe280f7a0 -> ../../sdb
lrwxrwxrwx 1 root root  10 Sep 25 06:51 scsi-14d534654202020204e158ef4fefb11eaabb8b9ebe280f7a0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  11 Sep 25 06:51 scsi-14d534654202020204e158ef4fefb11eaabb8b9ebe280f7a0-part14 -> ../../sdb14
lrwxrwxrwx 1 root root  11 Sep 25 06:51 scsi-14d534654202020204e158ef4fefb11eaabb8b9ebe280f7a0-part15 -> ../../sdb15
lrwxrwxrwx 1 root root   9 Sep 25 06:51 scsi-14d5346542020202056acbaecfefb11eaa4868724fbebad4c -> ../../sda
lrwxrwxrwx 1 root root   9 Sep 25 07:48 scsi-14d534654202020208307db64d0d08148859c36b3edb7d683 -> ../../sdd
lrwxrwxrwx 1 root root   9 Sep 25 07:42 scsi-14d53465420202020a0794cfec480d74faf0df496c60345a6 -> ../../sdc
lrwxrwxrwx 1 root root   9 Sep 25 06:51 scsi-3600224804e158ef4fefbb9ebe280f7a0 -> ../../sdb
lrwxrwxrwx 1 root root  10 Sep 25 06:51 scsi-3600224804e158ef4fefbb9ebe280f7a0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  11 Sep 25 06:51 scsi-3600224804e158ef4fefbb9ebe280f7a0-part14 -> ../../sdb14
lrwxrwxrwx 1 root root  11 Sep 25 06:51 scsi-3600224804e158ef4fefbb9ebe280f7a0-part15 -> ../../sdb15
lrwxrwxrwx 1 root root   9 Sep 25 06:51 scsi-36002248056acbaecfefb8724fbebad4c -> ../../sda
lrwxrwxrwx 1 root root   9 Sep 25 07:48 scsi-3600224808307db64d0d036b3edb7d683 -> ../../sdd
lrwxrwxrwx 1 root root   9 Sep 25 07:42 scsi-360022480a0794cfec480f496c60345a6 -> ../../sdc
lrwxrwxrwx 1 root root   9 Sep 25 06:51 wwn-0x600224804e158ef4fefbb9ebe280f7a0 -> ../../sdb
lrwxrwxrwx 1 root root  10 Sep 25 06:51 wwn-0x600224804e158ef4fefbb9ebe280f7a0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  11 Sep 25 06:51 wwn-0x600224804e158ef4fefbb9ebe280f7a0-part14 -> ../../sdb14
lrwxrwxrwx 1 root root  11 Sep 25 06:51 wwn-0x600224804e158ef4fefbb9ebe280f7a0-part15 -> ../../sdb15
lrwxrwxrwx 1 root root   9 Sep 25 06:51 wwn-0x6002248056acbaecfefb8724fbebad4c -> ../../sda
lrwxrwxrwx 1 root root   9 Sep 25 07:48 wwn-0x600224808307db64d0d036b3edb7d683 -> ../../sdd
lrwxrwxrwx 1 root root   9 Sep 25 07:42 wwn-0x60022480a0794cfec480f496c60345a6 -> ../../sdc

by-path
peterr-cinder:/dev/disk$ ls -al by-path
total 0
drwxr-xr-x 2 root root 180 Sep 25 07:48 .
drwxr-xr-x 8 root root 160 Sep 25 06:50 ..
lrwxrwxrwx 1 root root   9 Sep 25 06:51 acpi-VMBUS:01-vmbus-00000000000088990000000000000000-lun-0 -> ../../sdb
lrwxrwxrwx 1 root root  10 Sep 25 06:51 acpi-VMBUS:01-vmbus-00000000000088990000000000000000-lun-0-part1 -> ../../sdb1
lrwxrwxrwx 1 root root  11 Sep 25 06:51 acpi-VMBUS:01-vmbus-00000000000088990000000000000000-lun-0-part14 -> ../../sdb14
lrwxrwxrwx 1 root root  11 Sep 25 06:51 acpi-VMBUS:01-vmbus-00000000000088990000000000000000-lun-0-part15 -> ../../sdb15
lrwxrwxrwx 1 root root   9 Sep 25 06:51 acpi-VMBUS:01-vmbus-00000001000088990000000000000000-lun-0 -> ../../sda
lrwxrwxrwx 1 root root   9 Sep 25 07:42 acpi-VMBUS:01-vmbus-081161c84c2c4d1fa27d97e9f783f277-lun-0 -> ../../sdc
lrwxrwxrwx 1 root root   9 Sep 25 07:48 acpi-VMBUS:01-vmbus-081161c84c2c4d1fa27d97e9f783f277-lun-1 -> ../../sdd

/sys/bus/scsi/devices
peterr-cinder:/dev/disk$ ls -al /sys/bus/scsi/devices/
total 0
drwxr-xr-x 2 root root 0 Sep 25 06:50 .
drwxr-xr-x 4 root root 0 Sep 25 06:50 ..
lrwxrwxrwx 1 root root 0 Sep 25 06:50 2:0:0:0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/00000000-0000-8899-0000-000000000000/host2/target2:0:0/2:0:0:0
lrwxrwxrwx 1 root root 0 Sep 25 06:50 3:0:0:0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/00000001-0000-8899-0000-000000000000/host3/target3:0:0/3:0:0:0
lrwxrwxrwx 1 root root 0 Sep 25 07:42 4:0:0:0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/081161c8-4c2c-4d1f-a27d-97e9f783f277/host4/target4:0:0/4:0:0:0
lrwxrwxrwx 1 root root 0 Sep 25 07:48 4:0:0:1 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/081161c8-4c2c-4d1f-a27d-97e9f783f277/host4/target4:0:0/4:0:0:1
lrwxrwxrwx 1 root root 0 Sep 25 06:50 host0 -> ../../../devices/pci0000:00/0000:00:07.1/ata1/host0
lrwxrwxrwx 1 root root 0 Sep 25 06:50 host1 -> ../../../devices/pci0000:00/0000:00:07.1/ata2/host1
lrwxrwxrwx 1 root root 0 Sep 25 06:50 host2 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/00000000-0000-8899-0000-000000000000/host2
lrwxrwxrwx 1 root root 0 Sep 25 06:50 host3 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/00000001-0000-8899-0000-000000000000/host3
lrwxrwxrwx 1 root root 0 Sep 25 06:50 host4 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/081161c8-4c2c-4d1f-a27d-97e9f783f277/host4
lrwxrwxrwx 1 root root 0 Sep 25 06:50 target2:0:0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/00000000-0000-8899-0000-000000000000/host2/target2:0:0
lrwxrwxrwx 1 root root 0 Sep 25 06:50 target3:0:0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/00000001-0000-8899-0000-000000000000/host3/target3:0:0
lrwxrwxrwx 1 root root 0 Sep 25 07:43 target4:0:0 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:07/VMBUS:01/081161c8-4c2c-4d1f-a27d-97e9f783f277/host4/target4:0:0

/close
See decision in the PR.


[rmodel] DrawSphere  -  ERROR: RLGL: Batch elements overflow

I note the checkRenderBatchLimit has been commented out ?
render much more than 20-40 spheres and I'm seeing a batch overflow

@chriscamacho are you using latest raylib from github master branch? that change shouldn't be in the release...

fixed

😁 👍 cheers!
On Saturday, 13 August 2022, Ray @.***> wrote:

fixed
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.<
https://ci3.googleusercontent.com/proxy/jnlaknRlgi8Tr2BAUYwLV3jUDn3UPoxlRbrSzn85TenMYys-FdYSGJ2z9gT3aK27qTgooI29V4WaIT8O_gVHOX9P_8usL1EOMbtwGtbEJJhfTaWd-5lOGraKOx0KyrBQbZIgM_oM1Sc7X8wHurYz3H-pbLG3YbXaKn5pJ2Q8K36PtChSpeu8VXREcan5MLjda6fSJjYQLG3zI9ZJyi1-EX2QIaCa7_Tl6X1SFCnp5Q=s0-d-e1-ft#https://github.com/notifications/beacon/AAFO4SNGQZ7WRTJKKXIKSSTVZAFT7A5CNFSM56LP2DJKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOJBPZGWY.gif>Message
ID: @.***>

--
blog bedroomcoders.co.uk http://bedroomcoders.co.uk
Free source code and tutorials!
Disclaimer:
By sending an email to ANY of my addresses you are agreeing that:

I am by definition, "the intended recipient"

All information in the email is mine to do with as I see fit and make
such financial profit, political mileage, or good joke as it lends itself
to. In particular, I may quote it where I please.

I may take the contents as representing the views of your company.

This overrides any disclaimer or statement of confidentiality that
may be included on your message.


Add a way to resend registration confirmation

When you register with an email address, admins receive a confirmation link, but if they loose it or it goes into spam and is deleted, there is no way to resend the confirmation request email to admins, so the email address is no longer usable on the instance. We should be able to resend a confirmation request to admins.

In fact, we should just have a section in the UI where an admin can go and do operations on the user.
(Adding, autorising, deleting, etc)


Add a namedtuple serializer before IterableSerializer

When I have a namedtuple instance value in my stack locals, it gets presented as a list, rather than with its field names. From digging through the code, it looks like adding a namedtuple Serializer subclass would allow nicer handling, presenting field names.
Is this reasonable? If I have time to write a PR for this, would it be accepted?

@Daenyth go for it!


Add endpoints support

Description
This PR fixes #223
Notes for Reviewers
Added support for endpoints, pattern that should be matched is endpoints.v1.
Signed commits

[x] Yes, I signed my commits.

Thanks, @Aritra8438


Error message: 'dict object' has no attribute 'kotlin'

Doesn't create the project
➜  ~ cookiecutter https://github.com/general-mobile/kotlin-android-mvp-starter.git

You've cloned /Users/cesarferreira/.cookiecutters/kotlin-android-mvp-starter before. Is it okay to delete and re-clone it? [yes]: y
project_name [kotlin-starter-project]:
repo_name [kotlin-starter-project]:
min_sdk [16]:
target_sdk [25]:
package_name [com.generalmobile.app.kotlinstarterproject]:
description [A short description of the project.]:
author [General Mobile]:
email<EMAIL_ADDRESS>version [1.0.0]:
splash_screen [n]:
retrofit [n]:
realm [n]:
picasso [n]:
kotlin-android-extensions [n]:
Unable to create file 'app/build.gradle'
Error message: 'dict object' has no attribute 'kotlin'
Context: {
    "cookiecutter": {
        "author": "General Mobile",
        "description": "A short description of the project.",
        "email"<EMAIL_ADDRESS>        "kotlin-android-extensions": "n",
        "min_sdk": "16",
        "package_name": "com.generalmobile.app.kotlinstarterproject",
        "picasso": "n",
        "project_name": "kotlin-starter-project",
        "realm": "n",
        "repo_name": "kotlin-starter-project",
        "retrofit": "n",
        "splash_screen": "n",
        "target_sdk": "25",
        "version": "1.0.0"
    }
}

@cesarferreira last commit should fix this bug I am closing it now

@cesarferreira can you check ?

yep, I confirm


Wallet not eligble

Describe the bug

im doing all testnet, minting nft, doing all galxe quest, doing layer3 quest, but my wallet not detected for eligeble user
Steps to reproduce
Check all eligble user from galxe
Spam policy

[X] I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.

Please check again for all participan


aas:adapter Unable to read aasx file, because of dead links

Hey, i traced back my issue, that i can't read aasx files currently, to the compliance PR #245 .
The links in https://github.com/eclipse-basyx/basyx-python-sdk/blob/d7a2283449fb1579b1274ddf9c18f4c8f4f07f29/basyx/aas/adapter/aasx.py#L42-L45 are dead and just refer all to https://industrialdigitaltwin.org/en/ https://github.com/eclipse-basyx/basyx-python-sdk/blob/d7a2283449fb1579b1274ddf9c18f4c8f4f07f29/basyx/aas/adapter/aasx.py#L141-L147 is failing
So when is the transformation finished?

Your issue is entirely unrelated to #245. The relationship types are IRIs not links, they're not meant to lead you to a meaningful website: https://en.wikipedia.org/wiki/Internationalized_Resource_Identifier
Looking at the excerpt of aasx.py you linked, you're probably experiencing the same issue as in #185

thx for the fast reply. Okay, so you think the issue comes from the AAS Designer? The file got created with it. #185 got created with Package Explorer.

Yeah, it's a pretty common issue, as the relationship types changed with DotAAS V3 (the www. was removed). I don't know the AAS Designer, so I don't know whether it even aims to be compatible with DotAAS V3. If it does, it's definitely an issue with it. If not, and it's still compatible with DotAAS V2, then you can try release 0.2.2 or the v2.0.1 branch of the basyx-python-sdk, which are compatible with V2.

BTW: AASX is just ZIP with a different file extension (https://en.wikipedia.org/wiki/Open_Packaging_Conventions), so instead of viewing the file with xxd, you can just use your standard archive viewer.
Also: Because many SDKs and tools didn't update their OPC relationship types, the www. is not a good indicator of whether a file is for version 2 or 3. A better indicator are the XML namespace declarations of the XML file inside the AASX archive, as they seem to have been updated correctly in most tools and SDKs. The namespaces are https://admin-shell.io/aas/3/0 for version 3 and  http://www.admin-shell.io/aas/2/0 for version 2.

thank you very much for your help.
<environment xmlns="https://admin-shell.io/aas/3/0">
i removed all www., now i have other issues. I will use an other easier file for testing.

<environment xmlns="https://admin-shell.io/aas/3/0">

Alright, so the AAS Designer definitely aims to be compatible with version 3. In this case, it would be good if you could report this issue to the AAS Designer, so they can fix the relationship types.

i removed all www., now i have other issues.

Feel free to create a new issue if you think these are issues with the basyx-python-sdk

I have a last question: Why are there no discussions on all repos to get help or contribute in an easier way?

/cc @s-heppner

Good suggestion, @Alphacharge!
Currently, discussions are not available to us in the project settings.
I'll ping the main project Eclipse BaSyx admins to see, if we can enable them.


Improvements for transforms running before dependency extraction

passes through transform options when getting dependencies
passes back all properties provided by a custom transform
ModuleCache can create Polyfill objects that are completly operational
ResolutionRequest parallelizes dependency extraction instead of running it serially

Looks great, feel free to merge. A bit worried about the parallelization. I think we should throttle it. Feel free to add throat.

Nice work!!


Follow ISO currency code's for bit assets

We should follow the ISO standard for bit asset's on the chain for example BitGold's ISO code should be XAU and BitSilver's ISO code should be XAG... thus we would pay via XAU/XAG not GOLD/SILVER... my payment processor takes the ISO code given from the cart and requests payment on that from the wallet... and ofcourse the wallet won't understand payment via XAG/XAU.
Alot of the ecommerce applications wont understand adding a currency with ISO code GOLD/SILVER.. as they do not exist on a lookup and thus won't be able to add these to the website as a custom currency. As a result a custom price feed mechanism needs to be put in place to go to the same place that the ISO currency feed is getting it from but hacking it so that it works with GOLD/SILVER instead of the standard XAU/XAG. This goes with any other ISO currency code.
cryptosmith.info

update


Turtlebot3 Unable to locate package ros-noetic-joy

ISSUE TEMPLATE ver. 0.4.0

Which TurtleBot3 platform do you use?

[o] Burger
[ ] Waffle
[ ] Waffle Pi

Which ROS is working with TurtleBot3?

[ ] ROS 1 Kinetic Kame
[ ] ROS 1 Melodic Morenia
[o ] ROS 1 Noetic Ninjemys
[ ] ROS 2 Dashing Diademata
[ ] ROS 2 Eloquent Elusor
[ ] ROS 2 Foxy Fitzroy
[ ] etc (Please specify your ROS Version here)

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Intel Joule 570x
[ ] Raspberry Pi 3B+
[o ] Raspberry Pi 4
[ ] etc (Please specify your SBC here)

Which OS you installed on SBC?

[ ] Raspbian distributed by ROBOTIS
[o ] Ubuntu MATE (16.04/18.04/20.04)
[ ] Ubuntu preinstalled server (18.04/20.04)
[ ] etc (Please specify your OS here)

Which OS you installed on Remote PC?

[ ] Ubuntu 16.04 LTS (Xenial Xerus)
[ ] Ubuntu 18.04 LTS (Bionic Beaver)
[o ] Ubuntu 20.04 LTS (Focal Fossa)
[ ] Windows 10
[ ] MAC OS X (Specify version)
[ ] etc (Please specify your OS here)

Specify the software and firmware version(Can be found from Bringup messages)

Software version: [x.x.x]
Firmware version: [x.x.x]

Specify the commands or instructions to reproduce the issue.

$ sudo apt-get install ros-noetic-joy ros-noetic-teleop-twist-joy
ros-noetic-teleop-twist-keyboard ros-noetic-laser-proc
ros-noetic-rgbd-launch ros-noetic-rosserial-arduino
ros-noetic-rosserial-python ros-noetic-rosserial-client
ros-noetic-rosserial-msgs ros-noetic-amcl ros-noetic-map-server
ros-noetic-move-base ros-noetic-urdf ros-noetic-xacro
ros-noetic-compressed-image-transport ros-noetic-rqt* ros-noetic-rviz
ros-noetic-gmapping ros-noetic-navigation ros-noetic-interactive-markers

Copy and Paste the error messages on terminal.

PC settings are in progress according to the Robotis e-manual.
During the process, I get the above error in the "Installing Dependent ROS Packages" section. What should I do?

Maybe you haven't setup your computer to accept software from packages.ros.org yet.
Try this in your terminal:
sudo sh -c 'echo "deb http://packages.ros.org/ros/ubuntu $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
sudo apt install curl # if you haven't already installed curl
curl -s https://raw.githubusercontent.com/ros/rosdistro/master/ros.asc | sudo apt-key add -
then
sudo apt update
After those commands run your apt-get install again and see whether it solved

Hi @3dokki
It seems like an issue with the Noetic installation. Please try reinstalling it following the manual and then try again.
Thank you.

@3dokki This issue will be closed due to prolonged inactivity. If the issue persists, feel free to reopen it.


[KOGITO-4691] remove drools protobuf v7 serializer (WIP)

https://issues.redhat.com/browse/KOGITO-4691

this is ok to test

Jenkins retest this please

Jenkins retest this please

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

Jenkins retest this please

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.

The Linux check has failed. Please check the logs.


Mention how to turn on Detailed Errors?

Using a razor component, the following error showed up in the console:

Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting 'DetailedErrors: true' in 'appSettings.Development.json' or set 'CircuitOptions.DetailedErrors'.

After looking through the documentation, I didn't find anything about adding "DetailedErrors" to `appsettings.Development.json".
I added the following, which works great after an app restart.
"DetailedErrors": true
Since a razor component error is suggesting this, can this be added to this docs page or another more appropriate one, which this docs page links to?

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

ID: be4c4d0c-149c-bde1-c7fa-f082916390ca
Version Independent ID: 9d945996-ad02-bd4b-58ea-c465cc5cc74c
Content: Create and use ASP.NET Core Razor components
Content Source: aspnetcore/blazor/components.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

When the framework provides a suitable error message, we generally don't include that content. However, this would be great for the upcoming debug topic, so I'll cross-link this issue to that one and add your content to a comment there. Thanks for mentioning it.

I'm reactivating this for the new Handle errors topic that we put into place ... we put the topic up without mentioning this. It's part of the default template, so that might be why more devs aren't asking about it these days.

I'm reactivating this for the new Handle errors topic that we put into place ... we put the topic up without mentioning this. It's part of the default template, so that might be why more devs aren't asking about it these days.


MSPSDS-858: Separate update assignee and status and validate them

Pull Request Test Coverage Report for Build 2047

25 of 32 (78.13%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.8%) to 96.705%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

mspsds-web/app/controllers/investigations_controller.rb
21
28
75.0%

Totals

Change from base Build 2048:
2.8%

Covered Lines:
3962

Relevant Lines:
4097

💛  - Coveralls


MacOS Jasmine tests

There is a timeout error for this test titled jasmine.

The jasmine task is not registered so likely doesnt get built and that may be the reason for the timeout.

Fixed with PR #4


DRM atomic backend

To be able to properly implement https://github.com/swaywm/wlroots/issues/1640, we'll need to use many of the atomic-specific features (e.g. TEST_ONLY).
The current DRM backend makes this difficult because it has support for both the legacy API and the new atomic one. This makes implementing atomic-only feaures difficult because we use the atomic backend without taking advantage of atomicity.
I think the best solution would be to add a new atomic-only DRM backend.

Yup, I've been thinking the same thing in the back of my mind for a long time.

@emersion Would it be possible to remove the legacy API instead of writing a whole new backend? Asking to learn.

The legacy API is still used by a bunch of drivers, so we can't drop it yet.

For anybody that is interested at looking at some self-contained atomic DRM code, without all of the extra shit from wlroots/weston, you can see a nice commented example here: https://gitlab.freedesktop.org/daniels/kms-quads

Ah, nice. Also related:

https://github.com/ascent12/drm_experimentation
https://github.com/emersion/drm-playground

If atomic and legacy are separated, do we want to retain a common folder with implementations common to both backends? I'm interested in the separation because I want to use page_flip_handler2 with crtc_id to investigate swaymw/sway#4149 and find out where this erronous flip comes from. Since we pass in a wlr_connector and this somehow gets freed before the pending flip is executed I took a look into the weston implementation which always passes its backend structure in the atomic version. This allows them to detect unexpected pageflips w/o crashing the compositor.

do we want to retain a common folder with implementations common to both backends?

Depends what we can share and what we want to share. We probably want to improve the atomic parts of the current DRM backend. Also I'm not sure if we want renderer v6 to happen before this.

I'm interested in the separation because I want to use page_flip_handler2 with crtc_id to investigate swaymw/sway#4149 and find out where this erronous flip comes from. Since we pass in a wlr_connector and this somehow gets freed before the pending flip is executed I took a look into the weston implementation which always passes its backend structure in the atomic version. This allows them to detect unexpected pageflips w/o crashing the compositor.

Ah, that's probably a good idea indeed.

I'm interested in the separation because I want to use page_flip_handler2 with crtc_id

page_flip_handler2 isn't tied to atomic. drmModePageFlip (the legacy function) will still trigger it. It's just that atomic is the only one that can submit multiple page flips at the same time, which is why it would want it.
I'll definitely accept patches changing it over to page_flip_hander2.

Also I'm not sure if we want renderer v6 to happen before this.

Most DRM backend changes probably could be done independently.

I'll definitely accept patches changing it over to page_flip_hander2.

Not all drivers support page_flip_hander2. I think the capability is DRM_CAP_CRTC_IN_VBLANK_EVENT.

It's purely DRM core thing, so drivers don't need to support it separately. It's unconditionally supported:
https://github.com/torvalds/linux/blob/master/drivers/gpu/drm/drm_ioctl.c#L296-L298
Basically, the cap just allows us to test if we're running on an old kernel, and we've never particularly cared about long backwards compatibility promises. The blame says those lines were added 2 years ago.

Okay. I guess we could still check for the cap and hard fail if it isn't supported.

The DRM backend now has better atomic support, no need for an additional backend.
We also use page_flip_hander2.


Clean code

Checklist

[x] I have read the Contribution & Best practices Guide.
[x] My branch is up-to-date with the Upstream development branch.
[ ] I have added necessary documentation (if appropriate)

Fixes #1881

@shubham3211 please check the Travis build, also we should move the code for filters to main.js as the logic is almost same for all. So we need to pass parameters to the procedures and minimize the duplication of code.

@agbilotia1998  I am going to make seperate pr for #1973 , I have changed the issue resolved in this pr.

@agbilotia1998 done :+1:

@agbilotia1998 I made the changes you asked for but it is causing the travis build to fail , similarly I was not able to make change to https://github.com/shubham3211/open-event-webapp/blob/05b84ef586b4d6c5bc2b45584b896f250f0a9d42/src/backend/templates/schedule.hbs#L450
, I have made changes to all the other places .

@shubham3211 you make the changes, Travis should not be affected by these. Some tests do have a problem I will sort them out.

@agbilotia1998 please review


Need for RubyRacer?

Kind of a dumb question I'm sure, but why is this dependency in here?

Hi, the reason is that I failed to make the JSX transformer works in execjs default js runtime (which is JavaScriptCore on OS X). So I thought it will be easier if this gem by default depends on a runtime which just works.
Are you trying to use this on some other JS runtime and got problems?

No good reason, just a bit more dependencies with v8, etc. than what I typically have with rails (just execjs + node)

This issue was moved to reactrb/reactrb#29


Add key to ChoiceSets to allow user override of choices

Is your feature request related to a problem? Please describe.
In certain plugins and certain netbox choicesets themselves, users are able to override the choiceset via the FIELD_CHOICES variable in configuration.py. This is achieved by adding a 'key' attribute under the choiceset itself.
eg (from netbox-inventory):
class AssetStatusChoices(ChoiceSet):
    key = 'Asset.status'

meaning its then possible to reference (as per the example above) nb_inventory.Asset.status to override or add to the pre-configured choices.
Describe the solution you'd like
As above a key on BGPSessionStatus to allow configuration.py overrides and additional choices.  Note this should only apply where choices are descriptive
Describe alternatives you've considered
n/a
Additional context

https://linear.app/netboxlabs/issue/BIZ-3/

Completed in PR


Issue when "Running the unit tests"

when use pytest . one test failed:
FAILED gemma/positional_embeddings_test.py::PositionalEmbeddingsTest::test_adds_positional_embeddings0 - ValueError: Operands could not be broadcast together for add on shapes (2, 1, 1
, 5) (5,) and with the config option jax_numpy_rank_promotion='raise'. For more information, see htt...
AND when I running Sampling.py, it failed ,stop at the last ste

IS there any relationship between them?OR other reason of the sampling failure?
My JAX version is CPU,WIN 10 system,cuda 12.1,jax==0.25.0

Hi @hedaodao5,
Could you please confirm if this issue is resolved for you with the above comment ? Please feel free to close the issue if it is resolved ?
Thank you.


Make delayed events less delayed

Also adds a command to see how backed up the queue is.

Thanks @Ma-wa-re


[Candidate 1v1 Blue Hole ZH v1] Tech Buildings have custom rotations that make their flag less visible

Observed behaviour
Tech Buildings have custom rotations that make their flag less visible.
Expected behavior
Tech Buildings preferably have default rotation or a rotation that makes their flag highly visible.
Screenshots

this is the default rotation

I see. In INI it has no placement angle.
The common placement angle in Official Maps is this.
It gives best view on flag and pump in default camera rotation.

rotated a bit in newest version should be fine now

I see no difference. The easiest fix here would be to rotate the oil by 90 degrees clock wise. Then flag would be highly visible.

Some Oil Derrick rotations were optimized. Some others not.

tbh i dont want them all look in the same direction all flags are visible so thats fine for me as designed

In my opinion Oil Derrick rotations are not ideal.
Here Oil Derricks have different rotations unnecessarily. And one of them is partly covered by tower, which could make it a bit harder to see nearby infantry capturing it.
Their rotation is straight (~0, 90, 180, 270 degrees).

Bottom oils have non straight rotation (~45, 135, 225, 315 degrees).

Base Oils also have straight and non straight rotations.

yes this is intended, the base rotation is like this to not fuck up the path to the bunkers and still make the flag visible as you guys prefer, the oils behind the tower are suppost to be behind it, if it falls it kills the oil, both players shall have the same angle and range for balance thingies so all as designed

View on flag is greatly blocked.

I expect that the visibility of the flag can be optimized by rotating the Oil Derrick.

I expect that the visibility of the flag can be optimized by rotating the Oil Derrick.

updated


Save report to output directory

Parcel always passes through the output directory on the bundler options object (even when just defaulting to dir), so we can piggyback on it for our report output too.
(Tested locally with and without custom --outDir flag)

Heya, thanks very much for the contribution - looks great to me.


Pushing to routes right after each other will still first render the first route instead of last one pushed

Version
2.8.1
Steps to reproduce
Push 2 routes onto the stack:
router.push("/")
router.push("/account")

Expected Behavior
See the account page.
Actual Behavior
Briefly see the home route and then the account page.
Isn't there a way to push/replace without the first pushed/replaced page to be rendered?

You can enqueue your pushes separately:
let pushTo
if (thing) pushTo = '/'
if (otherThing) pushTo = '/account'
router.push(pushTo)

That's not my use case. I want the back stack preserved.

Unfortunately, there's no way of doing this. Perhaps you can get around it by creating your own custom history with a pushMultiple method or one that accepts arrays to push, but there isn't direct access to bypass the subscription system and directly insert entries before transitions occur.

Hmm ok thanks. Even in v4 this is not possible?

Nope, because that's just the base assumption. We don't have a system to basically to router "transactions".


Add Software Bus Structures Reference Diagram to Doxygen Users Guide

The attached SB structures reference diagram should be made available in the user's guide.

Imported from trac issue 181.  Created by sstrege on 2017-03-01T14:25:08, last modified: 2019-07-03T12:48:08

Trac comment by sstrege on 2017-11-17 14:13:37:
Diagram needs to be updated to include expanded APID name space structures

Trac comment by jhageman on 2019-07-03 12:48:08:
Moved unfinished 6.6.1 issues to next minor release

Found the png, and part of SB's purpose is to abstract the actual packet format... This level of detail isn't applicable to the API (the available structures and APIs are already documented).


Fixed elements are not behaving as such after page transition

Hi,
I've got some fixed elements on a website in which I'm trying to integrate smoothState.js. I noticed that elements that have position: fixed; are not sticky anymore after a pageload, they seem relatively positioned afterwards although they are still marked as sticky in the debugger.
Is this a known problem or could there be something wrong in my code?
jQuery(function() {
	'use strict';
	var options = {
			prefetch: true,
			cacheLength: 2,
			blacklist: '.gform_wrapper *',
			onStart: {
				duration: 250, // Duration of our animation
				render: function($container) {
					// Add your CSS animation reversing class
					$container.removeClass('fadeInRight');
					$container.addClass('is-exiting animated fadeOutRight');

					// Restart your animation
					smoothState.restartCSSAnimations();
				}
			},
			onReady: {
				duration: 0,
				render: function($container, $newContent) {
					// Remove your CSS animation reversing class
					$container.removeClass('is-exiting fadeOutRight');
					$container.addClass('fadeInRight');

					// Inject the new content
					$container.html($newContent);

					jQuery(window).trigger('ready');
				}
			},
			onAfter: function($container) {
				console.log('onAfter');
				loadFunctions();
				// jQuery(window).trigger('load');
			},
		},
		smoothState = jQuery('#content-wrapper').smoothState(options).data('smoothState');
});

+1

ever figure this out?

Any element with position:fixed will lose its positioning if you apply a transform to any of its ancestors, which is probably what your FadeInRight animation does when you transition pages in and out. Remove any transitions from its parents and the fixed element will stay fixed.


Re-push prettier commits after rebase

This adds an extra step to the prettier action that pushes any existing commits after rebasing. An example of this working can be seen in this run on my fork. Just in case the logs aren't publicly visible, here's a screenshot of the relevant section:

Fixes https://github.com/owncast/owncast/issues/2599

@gabek Any update on this? Anything I can do to help move this forward?

Sorry about that, I haven't sat down and dug into the changes. I'll do that.

I feel bad because you put effort into it, but I guess I'd rather deal with having to perform manual fixes than adding the additional complexity. If there was a way to make the branch up to date before prettier tried to commit then I'd feel safer about it, but you mentioned that wouldn't be possible. So between having to force continue-on-error and running multiple additional git steps on every push it feels a little messy. I guess I'd be more willing to add additional wildcards and risk into the mix if other things weren't going on, so we can leave this open and when there's downtime I could do some testing and look at options.

No problem, don't worry about it! I just wanted to know if I still have anything to do here or not. But I understand very well that sometimes the result of work is that nothing will be done.
That being said, perhaps it's possible to have the bot trigger the prettier action? It could do it's usual stuff (if necessary) and then finally do something to trigger this action to run. That way, an additional git update wouldn't be necessary. Let me know if you want me to look into that (if that's even possible; I'm not sure atm how the bot is implemented and if it's code is in the repo)


Be careful if you want to use this library in production. Mutations may be executed more than once.

If you have some other middleware that subscribes to its observable, this library will make every "serialized" mutation happen twice.
We recently added a middleware like this:
const noErrorLink = new ApolloLink((operation, forward) => {
  const observable = forward!(operation);
  observable.subscribe({
    complete: () => dispatch(resetErrorPortal()),
    error: () => {},
  });
  return observable;
});

above the ApolloLinkSerialize middleware. It took us a few days to realize what was happening.
Obviously doubling mutations is very very bad. While the user initiated ones are indeed serialized, the doubled ones can land out of order.

Is it that the mutation actually happens twice or it just runs through the links in the pipeline twice?
Curious to know how you ended up faring with this?

One thing that is strange is that there appears to be a fix for this in the github repo, but the npm package has the bug currently.
@helfer do you think you could push out a release with the latest changes?

I created a new issue about the bad js in the NPM release:
https://github.com/helfer/apollo-link-serialize/issues/14

Thanks for opening a ticket @shawnlewis! I wasn't able to reproduce the issue, and from what I could tell there wasn't any difference between the js on npm and the source. Nevertheless, I've published 3.1.2 just in case. Please let me know if this is still a problem.


ARROW-17022: [C++] Add unit tests and documentation for swiss-join

CC @save-buffer , @michalursa do one of you mind taking a look to make sure I didn't mess up some of these comments?

@westonpace What is the status on this?

Closing my stale PRs


Changed detecting of the highest PermissionGroup

Currently the highestGroup is being detected via the joinPower. I changed it to be detected by the lowest tagId, so the visualisation of the strongest group matches with the internal strongest group of a player.
Because of this adjustment, I also changed the PermissionProvider to still return the same result as before when getting a players' joinPower.

Are you sure that is a good idea? I mean, for example i have a permission group which should be higher in the tab but is not the highest group... Got it?

Correct, but same issue with the joinPower. I think that the joinPower is something feature-specific but the tagId sorts the groups. So it's the better solution in my opinion.

Given that the join power has been patched to be calculated correctly, this is fine.
The highest permission group is often thought of to be the one with the lowest tag id.
Though I would recommend rewriting the getHighestPermissionGroup method.

I first planned to rewrite it, but then thought changing the least possible would be the best. Ok, I'll do that now.

This should be it


Can't assign existing PVC to custom path on the container

Details
I need to assign a pvc to a /long/path on the host, but it looks like I can't
What steps did you take and what happened:
persistence:
  data:
    enabled: true
    existingClaim: some-pvc
    globalMounts:
    - path: /foo/bar
      readOnly: false

What did you expect to happen:
I assumed this would mount the PVC to /foo/bar, but it mounts it to /data. In fact, no matter what I put in there, the final yaml doesn't change.
I've read the docs and really think this should be working and it's intended, but isn't. Maybe it's because I am using existingClaim.
it's also completely likely I am missing something very obvious
(And I can't simply change the "data" key as workaround because / isn't an allowed character in a volume name)
Anything else you would like to add:
If it's possible, maybe we can add it to the example values.yaml. I found nothing of the sort there, but I did on the html docs.

Which version of app-template / common library are you using? And do you perhaps have a link/gist to your full values.yaml?
I ask, because I am doing exactly what you are trying to accomplish here:
https://github.com/bjw-s/home-ops/blob/336495984f70f7e599f283e38814cc2189ed476b/kubernetes/main/apps/media/maintainerr/app/helmrelease.yaml#L72-L76 and this works as intended for me.

No worries, glad you got things working!


How can i access plugin from vanila(pure javascript)

Describe the bug
I'm not using NPM so i don't have option like follwing
import {printers, print_file, jobs, job, restart_job, pause_job, resume_job, remove_job} from "tauri-plugin-printer";
but i've option like following
var { isPermissionGranted, requestPermission, sendNotification  } = window.TAURI.notification;
so how can i access that tauri-plugin-printer in my javascript?
Reproduction
No response
Expected behavior
No response
Platform and versions
latest

Stack trace
No response
Additional context
No response

As I explained in another issue, please use the issue tracker for bug and feature requests related to tauri, not to ask for help, if you need help please join our discord, or ask in the disucssions tab.

but i've option like following
var { isPermissionGranted, requestPermission, sendNotification } = window.TAURI.notification;
so how can i access that tauri-plugin-printer in my javascript?
Reach out to the plugin author to provide a global object or use a cdn service to serve you the npm package.


155 support build extensions as builtin vs2015

Out of curiosity, have you looked at this fork: https://github.com/kovidgoyal/cpython
They seem to be maintaining a similar patchset; might be good to avoid duplicating efforts.

Out of curiosity, have you looked at this fork: https://github.com/kovidgoyal/cpython

Thanks for the pointer. I will reach out to the maintainer if he would like to consolidate effort.
In the context of this particular PR, we have patch for Python 3.

Closing. Integrated in https://github.com/python-cmake-buildsystem/python-cmake-buildsystem/commit/f55f8db60a81e9b7bd7138e5c87d59fcd779e287


feat: implement ControlSize for PushButton

Dark Theme
Light Theme

Closes #446
Pre-launch Checklist

[x] I have incremented the package version as appropriate and updated CHANGELOG.md with my changes
[x] I have added/updated relevant documentation
[x] I have run "optimize/organize imports" on all changed files
[x] I have addressed all analyzer warnings as best I could

@whiplashoo quick thoughts?


error restarting haproxy -- ./haproxy_reload: line 26: syntax error: unexpected redirection

error restarting haproxy -- ./haproxy_reload: line 26: syntax error: unexpected redirection
I'm seeing the above error when trying to setup the loadbalancer service, I'm not sure if this is the only problem but it's the easiest one to fix.
It appears to be coming because the image  kubernetesonarm/loadbalancer is based on busybox but the haproxy_reload script is using the <<< redirect which busybox does not support.
26: socat /tmp/haproxy - <<< "show servers state" > /var/state/haproxy/global
I'm not sure where the source of the kubernetesonarm/loadbalancer image is, so I'm unable to provide a pull request to fix it. but it should be as easy as
echo "show servers state" | socat /tmp/haproxy - >/var/state/haproxy/global

haproxy_reload source is here: https://github.com/luxas/kubernetes-on-arm/blob/master/addons/images/loadbalancer/haproxy_reload
Feel free to send a pull request!

Just thought I'd reference the PR for this, here.
#138


i18n: Add more plural forms to localization

Some sentence in Transifex have only single or plural form of nouns.
But many languages has more than 2 forms of nouns. Only 2 forms makes localized text incorrect in some cases.
There is good explanation - Pluralization (p11n) - the many of plurals
Localization platforms should have built-in mechanism to work with many forms of plurals. But also need to provide support from zulip side.

@Mant1kor agreed; I speak enough Russian to be familiar with this. Can you point to a specific example of a string that would be a good test case for this?
Our new i18n library (FormatJS) in theory has much better plural support; so I imagine addressing this will have two phases: First, the work to do an end-to-end test of the infrastructure for a single string with plurals done properly, and then second an audit of strings to use the new technique.

There is a lot of sentence with plural form only:
({message_retention_days} days)
{hours} hours ago
{days_old} days ago
etc...
I think it's incorrect in English also, if the variable would be 1.
For Slavic languages should be 3 variants of translation(example for {days_old} days ago to Ukrainian):
{days_old} день тому - for 1,21,31,41...
{days_old} дні тому - for 2-4,22-24,32-34...
{days_old} днів тому - for 0 and other 5+)


feature/ucd-1270 appeals api behalf appellant

Ticket Number

UCD-1270
Description of change

Appeals api - behalf appellant validation
Checklist

[ ] Requires infrastructure changes
[ ] If adding or remove environment variables (e.g. in docker-compose.yaml) then I have updated the appropriate Helm chart
[x] I have updated the documentation accordingly
[ ] My commit history in this PR is linear
[x] New features have tests
[ ] Breaking change (team conversation required)

Important
Please do not merge from master (please only rebase). This keeps the history linear and easier to debug.

You need to branch off from develop branch as opposed to master branch. Also, some of this work is duplicated under my ticket (other PR for 1279).


Handle Physical Keys

The ability to check for non-ascii keys/layouts independent would be nice in some cases.

@emoon I took a loser look at this now and thought of realizing this - do you think we should extend the KeyHandler struct or rather create a similiar PhysicalKeyHandler struct?

@emoon Ive just implemented it for X11 and Wayland in my fork if you would like to take a look. Would like to receive feedback about it!

My current idea is that I use a seperate physical key handler and a virtual key handler.
But I think about only using a physical key handler and convert them to  virtual key codes on the fly using lookup tables.

I would currently say that this is easier to implement when minifb uses an event loop like winit and SDL2 does.


Changed the error to DomainNotActive for Deprecated domains

What changed?
As part of oncall fix causing muttley service side error and prod crashes, we think the code is breaking because it see sprintf error as cadence causing issue, but in real it is not.
I think we have to return errors from below for poll for DecisionTask.

Why?
To fix the break and crashes in production.

How did you test it?
Uni test

Potential risks
Added change to avoid the production deployment

Release notes

Documentation Changes

Pull Request Test Coverage Report for Build 018f08a6-5e98-4985-84e8-e756b43a7bb8
Details

12 of 12 (100.0%)  changed or added relevant lines in 1 file are covered.
36 unchanged lines in 11 files lost coverage.
Overall coverage increased (+0.02%) to 67.683%

Files with Coverage Reduction
New Missed Lines
%

common/task/weighted_round_robin_task_scheduler.go
1
89.05%

service/matching/taskGC.go
1
97.37%

common/persistence/execution_manager.go
2
83.74%

common/task/fifo_task_scheduler.go
2
84.54%

common/persistence/sql/sqlplugin/mysql/task.go
2
73.68%

common/persistence/statsComputer.go
2
97.14%

common/persistence/sql/sqlplugin/mysql/db.go
2
79.49%

service/history/task/fetcher.go
3
86.6%

tools/cli/admin_db_decode_thrift.go
4
67.95%

service/matching/db.go
8
74.8%

Totals

Change from base Build 018f0624-8017-4517-a93c-99d1ed38a3b0:
0.02%

Covered Lines:
99121

Relevant Lines:
146448

💛  - Coveralls

this isn't for crashes, it's for a misclassified error making a bit of a mess of the SLA

Before merging do you mind correcting the description: Nothing's crashing here


Is there something works like session_id or user_id?

I'm trying to save the session context on the self-hosted LLM server, but I don't know how to figure out which user/session is going on when OpenAgent is calling LLM's APIs. Is there something works like session_id or user_id?
I found a field names llm_call_id in AgentStreamingStdOutCallbackHandler of agent_streaming.py, but I'm not sure if it can works as I wish.
If it is, can I visit this variable in function _agenerate from run_manager.llm_call_id?
Or any other advices, please?

Hi, all conversations are saved in mongodb, including keys like conversation_id and user_id. If you succeed in localhosting OpenAgents project, mongodb should work and you could just check the database content.
I think conversation_id and user_id match the session_id and `user_id ' you need. Please feel free to follow up if it does not solve your problem.


Model latency numbers include time taken to retry

📝 Description
Since the model calls are wrapped by SDK and the SDK internally retries, the latency time calculation includes the total time taken to get the response and not the time taken by the final request to resolve.
📸 Screenshots / Code Snippets

🛠 Proposed Solution

reset the timer when doing a retry

@saikatmitra91 I would like to work on this, can you please assign this to me?

Fixed with #216. Closing.


Support .editorconfig for formatting

Specifically changing to tabs and the indent size:
indent_style = tab
indent_size = 4

These would be also nice to have:
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true

Would also be nice to expose these as extension/plugin settings for the various supported editors.


Customize context menu

Description of the new feature / enhancement
There is already an open source app that does this, but it would be interesting if it were integrated into PowerToys
It is available on the Microsoft Store as Custom Context Menu
GitHub: https://github.com/ikas-mc/ContextMenuForWindows11
It would be interesting because I could add items like Open in code or open in IntelliJ in this cleaner context menu
Scenario when this would be used?
Can be used to move items between the clean and more options context menus. In addition to creating new entries for the most diverse apps, making the context menu really useful
Supporting information
No response

/dup #33


how to have the padding on both side?

The design requires padding 16px on the left and right side, and each card has 16px gap as well.
However I can only manage to set the padding on the left side and gap between, could not find a way to add the padding on the right with option overscrollEnabled: false
Could you please advise a solution?

The design requires padding 16px on the left and right side, and each card has 16px gap as well. However I can only manage to set the padding on the left side and gap between, could not find a way to add the padding on the right with option overscrollEnabled: false
Could you please advise a solution?

You can add a marginLeft to last item of the array.
Something like this
{
   marginLeft: index === yourArray.length - 1 ? 10 : 0
}