Explain default type of Service in “Defining a Service” section

This is a Feature Request

What would you like to be added
Link from https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service to the ClusterIP service type.
Why is this needed
https://kubernetes.io/docs/concepts/services-networking/service/#defining-a-service doesn't make it particularly clear that there is a type field that is being defaulted when you apply that sample manifest.
Comments
/language en
/sig network
/priority backlog

/triage accepted

If people would rather link to https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types and not to https://kubernetes.io/docs/concepts/services-networking/service/#type-clusterip, then that is OK too.

/assign

PR Raised here #41855


Simplify the setup of Dynatrace monitoring

As a user, I do not want to manually create a secret containing the DT_API_TOKEN, DT_TENANT, and DT_PAAS_TOKEN.
Furthermore, I do not want to manually apply the manifests for the dynatrace-service.
Solution:
In the CLI command keptn configure monitoring dynatrace, we can automatically generate the secret and apply the manifests.
For the tenant and tokens, we can introduce new flags or prompt the user like keptn install does.
Note:

Make sure that the installed Keptn version matches the dynatrace-service.
Make sure that the local .kube config points to the desired cluster (see keptn configure domain)

This will be handled by the new uniform/shipyard format.


Animated Tools Support

Will there be support for Animated Tools? There is only animated item but no animated tool. Plz update for tools like sword, axe, pickaxe...

I do not plan on this, there is enough for me to maintain in this plugin as it is.


Mattermost → Slack avatars not synced

Describe the bug
I’m using a WebHook + Bot setup in both services, messages are sent fine but avatars are not displayed.
To Reproduce
Configure a WebHook + Bot setup in a Slack and a Mattermost together, using a samechannelgateway.
Expected behavior
Avatar of Mattermost users should be displayed with their messages in Slack.
Screenshots/debug logs
In the debug log, I see Avatar:"" for those messages.
Environment (please complete the following information):

OS: linux
Matterbridge version: 1.11.0
If self compiled: used the tag.

Also, when Slack user have no avatar set, there is no picture at all but “user profile image” written one word per line.

To have mattermost avatar working you need to use the mediaserver setup. (https://github.com/42wim/matterbridge/wiki/Mediaserver-setup-[advanced])
This is because mattermost avatar images aren't public by default and will need to be downloaded and uploaded to the mediaserver, to be served at slack.
So this works as designed, I'll add this information to the FAQ because it isn't that clear

Indeed that wasn’t clear, and I also thought that since the doc says Slack and Mattermost support having documents being uploaded on each side, this would include avatars. But I understand why that is not the case, because strictly speaking those are not documents upload events.
I will try with mediaserver then.

Especially the confusing part:
This mediaserver will be used to upload media to services that don't have support for uploading images/video/files.

BTW, do you know if anyone configured it with nginx and the upload plugin?

No sorry, no idea about nginx, but should work.
Would very much appreciate it if you got it working with nginx you could add an howto beneath caddy on https://github.com/42wim/matterbridge/wiki/Mediaserver-setup-[advanced]

Apparently Nginx upload plugin is a bit old and currently not compatible. However since MediaServerUpload and Download are two different settings, I might work around this by having a Caddy server listening on localhost for files to be uploaded and serve them through nginx afterwards. That should work, right?

That’s even better, thanks for this (I guess that if I had actually started looking at implementing my idea I would have seen this option, but now I know that it will be easy :D).

 Is that expected?

Default avatar working case:
[0845] DEBUG slack:        == Receiving event &slack.MessageEvent{Msg:slack.Msg{Type:"message", Channel:"<redacted>", User:"<redacted>", Text:"<redacted>", Timestamp:"<redacted>", ThreadTimestamp:"", IsStarred:false, PinnedTo:[]string(nil), Attachments:[]slack.Attachment(nil), Edited:(*slack.Edited)(nil), SubType:"", Hidden:false, DeletedTimestamp:"", EventTimestamp:"<redacted>", BotID:"", Username:"", Icons:(*slack.Icon)(nil), Inviter:"", Topic:"", Purpose:"", Name:"", OldName:"", Members:[]string(nil), ReplyCount:0, Replies:[]slack.Reply(nil), ParentUserId:"", File:(*slack.File)(nil), Upload:false, Comment:(*slack.Comment)(nil), ItemType:"", ReplyTo:0, Team:"<redacted>", Reactions:[]slack.ItemReaction(nil)}, SubMessage:(*slack.Msg)(nil)}
[0846] DEBUG slack:        <= Sending message from <redacted> on slack.<redacted> to gateway
[0846] DEBUG slack:        <= Message is &config.Message{Text:"<redacted>", Channel:"town-square", Username:"<redacted>", UserID:"<redacted>", Avatar:"https://secure.gravatar.com/avatar/fc68beb41ff6279203be3c6dd18d1447.jpg?s=48&d=https%3A%2F%2Fcfr.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0007-48.png", Account:"slack.<redacted>", Event:"", Protocol:"", Gateway:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"slack <redacted>", Extra:map[string][]interface {}{}}
[0846] DEBUG gateway:      => Sending config.Message{Text:"<redacted>", Channel:"town-square", Username:"<redacted>", UserID:"<redacted>", Avatar:"https://secure.gravatar.com/avatar/fc68beb41ff6279203be3c6dd18d1447.jpg?s=48&d=https%3A%2F%2Fcfr.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0007-48.png", Account:"slack.<redacted>", Event:"", Protocol:"", Gateway:"gateway_<redacted>", Timestamp:time.Time{wall:0x<redacted>, ext:<redacted>, loc:(*time.Location)(0x2f4f9a7c800)}, ID:"slack <redacted>", Extra:map[string][]interface {}{}} from slack.<redacted> (town-square) to mattermost.<redacted> (town-square)
[0846] DEBUG mattermost:   => Receiving config.Message{Text:"<redacted>", Channel:"town-square", Username:"<redacted>", UserID:"<redacted>", Avatar:"https://secure.gravatar.com/avatar/fc68beb41ff6279203be3c6dd18d1447.jpg?s=48&d=https%3A%2F%2Fcfr.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0007-48.png", Account:"slack.<redacted>", Event:"", Protocol:"", Gateway:"gateway_<redacted>", Timestamp:time.Time{wall:0x<redacted>, ext:<redacted>, loc:(*time.Location)(0x<redacted>)}, ID:"", Extra:map[string][]interface {}{}}
[0846] DEBUG matterclient: WsReceiver event: model.WebSocketEvent{Event:"posted", Data:map[string]interface {}{"channel_display_name":"General Discussions", "channel_name":"town-square", "channel_type":"O", "post":"{\"id\":\"<redacted>\",\"create_at\":<redacted>,\"update_at\":<redacted>,\"edit_at\":0,\"delete_at\":0,\"is_pinned\":false,\"user_id\":\"<redacted>\",\"channel_id\":\"<redacted>\",\"root_id\":\"\",\"parent_id\":\"\",\"original_id\":\"\",\"message\":\"<redacted>\",\"type\":\"\",\"props\":{\"from_webhook\":\"true\",\"matterbridge_<redacted>\":true,\"override_icon_url\":\"https://secure.gravatar.com/avatar/fc68beb41ff6279203be3c6dd18d1447.jpg?s=48\\u0026d=https%3A%2F%2Fcfr.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0007-48.png\",\"override_username\":\"<redacted>\",\"webhook_display_name\":\"Matterbridge <redacted>\"},\"hashtags\":\"\",\"pending_post_id\":\"\"}", "sender_name":"<redacted>", "team_id":"<redacted>"}, Broadcast:(*model.WebsocketBroadcast)(0x<redacted>), Sequence:6}
[0846] DEBUG mattermost:   map[string]interface {}{"channel_name":"town-square", "channel_type":"O", "post":"{\"id\":\"<redacted>\",\"create_at\":<redacted>,\"update_at\":<redacted>,\"edit_at\":0,\"delete_at\":0,\"is_pinned\":false,\"user_id\":\"<redacted>\",\"channel_id\":\"<redacted>\",\"root_id\":\"\",\"parent_id\":\"\",\"original_id\":\"\",\"message\":\"<redacted>\",\"type\":\"\",\"props\":{\"from_webhook\":\"true\",\"matterbridge_<redacted>\":true,\"override_icon_url\":\"https://secure.gravatar.com/avatar/fc68beb41ff6279203be3c6dd18d1447.jpg?s=48\\u0026d=https%3A%2F%2Fcfr.slack-edge.com%2F66f9%2Fimg%2Favatars%2Fava_0007-48.png\",\"override_username\":\"<redacted>\",\"webhook_display_name\":\"Matterbridge <redacted>\"},\"hashtags\":\"\",\"pending_post_id\":\"\"}", "sender_name":"<redacted>", "team_id":"<redacted>", "channel_display_name":"<redacted>"}
[0846] DEBUG mattermost:   sent by matterbridge, ignoring
[0846] DEBUG mattermost:   Skipped message: &matterclient.Message{Raw:(*model.WebSocketEvent)(0x<redacted>), Post:(*model.Post)(0x<redacted>), Team:"<redacted>", Channel:"town-square", Username:"<redacted>", Text:"<redacted>", Type:"", UserID:"<redacted>"}

Could you please paste your complete config ? be sure to obfuscate tokens

[mattermost]
[mattermost.<redacted>]
Server="<redacted>:443"
Team="<redacted>"
Token="<redacted>"
NoTLS=false
WebhookURL="<redacted>"
ShowJoinPart=true

[slack]
[slack.<redacted>]
Token="<redacted>"
WebhookURL="<redacted>"
ShowJoinPart=true

[general]
RemoteNickFormat="{NICK} [{PROTOCOL}]"
MediaDownloadPath="<redacted>"
MediaServerDownload="<redacted>"

[[samechannelgateway]]
   name="<redacted>"
   enable = true
   accounts = [ "mattermost.<redacted>", "slack.<redacted>" ]
   channels = [ "town-square", "<redacted>" ]

I went quite hard on redaction, if you need one of the redacted value please tell me.

Ok, was a bug with MediaDownloadPath not being used for avatar downloads.
This has been fixed in master, you can try dev binaries from https://bintray.com/42wim/nightly/Matterbridge/v1.11.0-9-gfa0c402#files

Also, the first time you say something the avatar will be downloaded, so it's not visible on the slack side yet.
The next time the same person says something it will be visible

Hum… So I’ve patched my build with fa0c402, and now avatars from Mattermost are properly added to my MediaDownloadPath, but they still don’t show on Slack even after sending several messages.
I still have Avatar:"" in the log when manually running the bridge.
And in the Slack → Mattermost direction, only my avatar + default avatars are shown, other custom ones are not…

They should show up, could you paste a debug log again ?
If you keep retrying with the same user from mattermost -> slack it won't show the avatar, because the webhook image will only change when a new person says something.
So to actually test it from mattermost -> slack
person1 on mattermost say something
person2 on mattermost say something
person1 on mattermost say something <= now the person1 avatar will start showing
person2 on mattermost say something <= now the person2 avatar will start showing
For slack -> mattermost issues, please open a new ticket

Hum… That could have explained, because I was the only one on the mattermost side speaking during those tests.
But since then someone else spoke, and then I did again. And my avatar is still not showing. Here is a new log:
[0007] DEBUG matterclient: WsReceiver event: model.WebSocketEvent{Event:"typing", Data:map[string]interface {}{"parent_id":"", "user_id":"<mymattermostuuid>"}, Broadcast:(*model.WebsocketBroadcast)(0x<redacted>), Sequence:2}
[0012] DEBUG matterclient: WsReceiver event: model.WebSocketEvent{Event:"typing", Data:map[string]interface {}{"user_id":"mymattermostuuid>", "parent_id":""}, Broadcast:(*model.WebsocketBroadcast)(0x<redacted>), Sequence:3}
[0015] DEBUG matterclient: WsReceiver event: model.WebSocketEvent{Event:"posted", Data:map[string]interface {}{"team_id":"<teamid>", "channel_display_name":"General Discussions", "channel_name":"town-square", "channel_type":"O", "post":"{\"id\":\"<randomid>\",\"create_at\":<timestamp>,\"update_at\":<timestamp>,\"edit_at\":0,\"delete_at\":0,\"is_pinned\":false,\"user_id\":\"<mymattermostuuid>\",\"channel_id\":\"<randomid>\",\"root_id\":\"\",\"parent_id\":\"\",\"original_id\":\"\",\"message\":\"<mymessage>\",\"type\":\"\",\"props\":{},\"hashtags\":\"\",\"pending_post_id\":\"<mymattermostuuid>:<timestamp>\"}", "sender_name":"<myuserlogin>"}, Broadcast:(*model.WebsocketBroadcast)(0x<redacted>), Sequence:4}
[0015] DEBUG mattermost:   map[string]interface {}{"channel_display_name":"General Discussions", "channel_name":"town-square", "channel_type":"O", "post":"{\"id\":\"<randomid>\",\"create_at\":<timestamp>,\"update_at\":<timestamp>,\"edit_at\":0,\"delete_at\":0,\"is_pinned\":false,\"user_id\":\"<mymattermostuuid>\",\"channel_id\":\"<randomid>\",\"root_id\":\"\",\"parent_id\":\"\",\"original_id\":\"\",\"message\":\"<mymessage>\",\"type\":\"\",\"props\":{},\"hashtags\":\"\",\"pending_post_id\":\"<mymattermostuuid>:<timestamp>\"}", "sender_name":"<myuserlogin>", "team_id":"<teamid>"}
[0015] DEBUG mattermost:   Trying to download "<mymattermostuuid>.png" with size 27338
[0015] DEBUG mattermost:   Download OK "<mymattermostuuid>.png" 27338
[0015] DEBUG mattermost:   == Receiving event &matterclient.Message{Raw:(*model.WebSocketEvent)(0x<redacted>), Post:(*model.Post)(0x<redacted>), Team:"<teamname>", Channel:"town-square", Username:"<myuserlogin>", Text:"<mymessage>", Type:"", UserID:"<mymattermostuuid>"}
[0015] DEBUG mattermost:   <= Sending message from <myuserlogin> on mattermost.<teamname> to gateway
[0015] DEBUG mattermost:   <= Message is &config.Message{Text:"<mymessage>", Channel:"town-square", Username:"<myuserlogin>", UserID:"<mymattermostuuid>", Avatar:"", Account:"mattermost.<teamname>", Event:"", Protocol:"", Gateway:"", Timestamp:time.Time{wall:0x0, ext:0, loc:(*time.Location)(nil)}, ID:"<randomid>", Extra:map[string][]interface {}{}}
[0015] DEBUG gateway:      mediaserver path placing file: <MediaPath>//<shortid>/<mymattermostuuid>.png
[0015] ERROR gateway:      mediaserver path failed, could not writefile: open <MediaPath>//<shortid>/<mymattermostuuid>.png: permission denied &os.PathError{Op:"open", Path:"<MediaPath>//<shortid>/<mymattermostuuid>.png", Err:0xd}
[0015] DEBUG gateway:      => Sending config.Message{Text:"<mymessage>", Channel:"town-square", Username:"<myuserlogin>", UserID:"<mymattermostuuid>", Avatar:"", Account:"mattermost.<teamname>", Event:"", Protocol:"", Gateway:"gateway_<teamname>", Timestamp:time.Time{wall:0x<randomid>, ext:<timestamp>, loc:(*time.Location)(0x<redacted>)}, ID:"<randomid>", Extra:map[string][]interface {}{}} from mattermost.<teamname> (town-square) to slack.<teamname> (town-square)
[0015] DEBUG slack:        => Receiving config.Message{Text:"<mymessage>", Channel:"town-square", Username:"<myuserlogin> [mattermost]", UserID:"<mymattermostuuid>", Avatar:"", Account:"mattermost.<teamname>", Event:"", Protocol:"", Gateway:"gateway_<teamname>", Timestamp:time.Time{wall:0x<randomid>, ext:<timestamp>, loc:(*time.Location)(0x<redacted>)}, ID:"", Extra:map[string][]interface {}{}}
[0015] DEBUG slack:        == Receiving event &slack.MessageEvent{Msg:slack.Msg{Type:"message", Channel:"<chanid>", User:"", Text:"<mymessage>", Timestamp:"<timestamp>", ThreadTimestamp:"", IsStarred:false, PinnedTo:[]string(nil), Attachments:[]slack.Attachment(nil), Edited:(*slack.Edited)(nil), SubType:"bot_message", Hidden:false, DeletedTimestamp:"", EventTimestamp:"<timestamp>", BotID:"BBCDZPFDY", Username:"<myuserlogin> [mattermost]", Icons:(*slack.Icon)(nil), Inviter:"", Topic:"", Purpose:"", Name:"", OldName:"", Members:[]string(nil), ReplyCount:0, Replies:[]slack.Reply(nil), ParentUserId:"", File:(*slack.File)(nil), Upload:false, Comment:(*slack.Comment)(nil), ItemType:"", ReplyTo:0, Team:"<teamid>", Reactions:[]slack.ItemReaction(nil)}, SubMessage:(*slack.Msg)(nil)}
[0015] ERROR slack:        &errors.errorString{s:"probably an incoming webhook we couldn't resolve (maybe ourselves)"}

Well, it clearly shows the error
[0015] ERROR gateway:      mediaserver path failed, could not writefile: open <MediaPath>//<shortid>/<mymattermostuuid>.png: permission denied &os.PathError{Op:"open", Path:"<MediaPath>//<shortid>/<mymattermostuuid>.png", Err:0xd}
matterbridge hasn't got the right permission to save the files

But it did write it, because the file exists.

If I can join you somewhere on IRC or Matrix to debug this, I’m available currently.

Token log start (I’ve just removed the other joined channels):
[0000]  INFO main:         Enabling debug
[0000]  INFO main:         Running version 1.11.0
ERROR 2018/07/14 21:57:43 Couldn't discover absolute path
ERROR 2018/07/14 21:57:43 stat .: permission denied
[0000]  INFO gateway:      Parsing gateway gateway_<team>
[0000]  INFO gateway:      Starting bridge: mattermost.<team>
[0000]  INFO mattermost:   Connecting using webhookurl (sending)
[0000]  INFO mattermost:   Connecting using token (receiving)
[0000]  INFO mattermost:   Connecting  (team: <team>) on <mattermosturl>:443
[0000]  INFO matterclient: Found version <IP_ADDRESS>.0.0-1.963e1365d555e55477abe435a3ed828e.false
[0000] DEBUG matterclient: trying login <team>  <mattermosturl>:443
[0000] DEBUG matterclient: trying login with token
[0000] DEBUG matterclient: initUser(): found our team <team> (id: <teamid>)
[0000] DEBUG matterclient: WsClient: making connection: wss://<mattermosturl>:443/api/v4/websocket
[0000] DEBUG matterclient: WsClient: connected
[0000]  INFO mattermost:   Connection succeeded
[0000]  INFO bridge:       mattermost.<team>: joining test (ID: testmattermost.<team>)
[0000]  INFO bridge:       mattermost.<team>: joining town-square (ID: town-squaremattermost.<team>)
[0000] DEBUG matterclient: StatusLoop:<nil>
[0000] DEBUG matterclient: WS PING
[0000]  INFO gateway:      Starting bridge: slack.<team>
[0000] DEBUG matterclient: WsReceiver event: model.WebSocketEvent{Event:"hello", Data:map[string]interface {}{"server_version":"<IP_ADDRESS>.0.0-1.963e1365d555e55477abe435a3ed828e.false"}, Broadcast:(*model.WebsocketBroadcast)(0xc4204dc400), Sequence:0}
[0000] DEBUG matterclient: sendWsRequest &model.WebSocketRequest{Seq:1, Action:"ping", Data:map[string]interface {}(nil), Session:model.Session{Id:"", Token:"", CreateAt:0, ExpiresAt:0, LastActivityAt:0, UserId:"", DeviceId:"", Roles:"", IsOAuth:false, Props:model.StringMap(nil), TeamMembers:[]*model.TeamMember(nil)}, T:(i18n.TranslateFunc)(nil), Locale:""}
[0000] DEBUG mattermost:   Choosing token based receiving
[0000]  INFO slack:        Connecting using webhookurl (sending)
[0000]  INFO slack:        Connecting using token (receiving)
[0000]  INFO bridge:       slack.<team>: joining town-square (ID: town-squareslack.<team>)
[0000] DEBUG matterclient: WsReceiver response: model.WebSocketResponse{Status:"OK", SeqReply:1, Data:map[string]interface {}{"node_id":"", "server_time":1.5<redacted>e+12, "text":"pong", "version":"5.0.0"}, Error:(*model.AppError)(nil)}
[0000] DEBUG matterclient: WS PONG received
[0000] DEBUG slack:        Choosing token based receiving
[0000] DEBUG slack:        == Receiving event &slack.ConnectingEvent{Attempt:1, ConnectionCount:1}
[0000] DEBUG matterclient: WsReceiver event: model.WebSocketEvent{Event:"status_change", Data:map[string]interface {}{"status":"online", "user_id":"<someid>"}, Broadcast:(*model.WebsocketBroadcast)(0xc420516100), Sequence:1}
[0000] DEBUG slack:        == Receiving event &slack.ConnectedEvent{ConnectionCount:1, Info:(*slack.Info)(0xc4206b0000)}
[0001]  INFO bridge:       slack.<team>: joining test (ID: testslack.<team>)
[0001] DEBUG slack:        == Receiving event &slack.HelloEvent{}
[0001]  INFO main:         Gateway(s) started succesfully. Now relaying messages
[0001] DEBUG slack:        Start listening for Slack messages

User/pass one:
[0000]  INFO main:         Enabling debug
[0000]  INFO main:         Running version 1.11.0
ERROR 2018/07/14 22:09:40 Couldn't discover absolute path
ERROR 2018/07/14 22:09:40 stat .: permission denied
[0000]  INFO gateway:      Parsing gateway gateway_<team>
[0000]  INFO gateway:      Starting bridge: mattermost.<team>
[0000]  INFO mattermost:   Connecting using webhookurl (sending)
[0000]  INFO mattermost:   Connecting using login/password (receiving)
[0000]  INFO mattermost:   Connecting <botuser> (team: <team>) on <mattermosturl>:443
[0000]  INFO matterclient: Found version <IP_ADDRESS>.0.0-1.963e1365d555e55477abe435a3ed828e.false
[0000] DEBUG matterclient: trying login <team> <botuser> <mattermosturl>:443
[0000] DEBUG matterclient: initUser(): found our team <team> (id: <teamid>)
[0000] DEBUG matterclient: WsClient: making connection: wss://<mattermosturl>:443/api/v4/websocket
[0000] DEBUG matterclient: WsClient: connected
[0000]  INFO mattermost:   Connection succeeded
[0000]  INFO bridge:       mattermost.<team>: joining town-square (ID: town-squaremattermost.<team>)
[0000] DEBUG matterclient: StatusLoop:<nil>
[0000] DEBUG matterclient: WS PING
[0000] DEBUG mattermost:   Choosing login/password based receiving
[0000] DEBUG matterclient: sendWsRequest &model.WebSocketRequest{Seq:1, Action:"ping", Data:map[string]interface {}(nil), Session:model.Session{Id:"", Token:"", CreateAt:0, ExpiresAt:0, LastActivityAt:0, UserId:"", DeviceId:"", Roles:"", IsOAuth:false, Props:model.StringMap(nil), TeamMembers:[]*model.TeamMember(nil)}, T:(i18n.TranslateFunc)(nil), Locale:""}
[0000]  INFO bridge:       mattermost.<team>: joining test (ID: testmattermost.<team>)
[0000] DEBUG matterclient: WsReceiver event: model.WebSocketEvent{Event:"hello", Data:map[string]interface {}{"server_version":"<IP_ADDRESS>.0.0-1.963e1365d555e55477abe435a3ed828e.false"}, Broadcast:(*model.WebsocketBroadcast)(0xc42044e6c0), Sequence:0}
[0000]  INFO gateway:      Starting bridge: slack.<team>
[0000]  INFO slack:        Connecting using webhookurl (sending)
[0000]  INFO slack:        Connecting using token (receiving)
[0000] DEBUG matterclient: WsReceiver response: model.WebSocketResponse{Status:"OK", SeqReply:1, Data:map[string]interface {}{"node_id":"", "server_time":1.5<redacted>e+12, "text":"pong", "version":"5.0.0"}, Error:(*model.AppError)(nil)}
[0000] DEBUG matterclient: WS PONG received
[0000] DEBUG slack:        Choosing token based receiving
[0000] DEBUG slack:        == Receiving event &slack.ConnectingEvent{Attempt:1, ConnectionCount:1}
[0000] DEBUG matterclient: WsReceiver event: model.WebSocketEvent{Event:"status_change", Data:map[string]interface {}{"status":"online", "user_id":"<someuserid>"}, Broadcast:(*model.WebsocketBroadcast)(0xc42049c100), Sequence:1}
[0001] DEBUG slack:        Start listening for Slack messages
[0002]  INFO bridge:       slack.<team>: joining town-square (ID: town-squareslack.<team>)
[0002] DEBUG slack:        == Receiving event &slack.ConnectedEvent{ConnectionCount:1, Info:(*slack.Info)(0xc42066a160)}
[0004] DEBUG slack:        == Receiving event &slack.HelloEvent{}
[0004]  INFO bridge:       slack.<team>: joining test (ID: testslack.<team>)
[0005]  INFO main:         Gateway(s) started succesfully. Now relaying messages

So, for anyone stumbling upon this, the issue currently lies in samechannelgateway not mapping avatars. A workaround is to use standard gateways while the issue is being fixed.

@42wim Can you re-open the issue so that it does not slip away?


Make ScriptDatum in spending scripts optional in accordance with CIP-0069

Changelog
- description: |
    Make ScriptDatum in spending scripts optional in accordance with CIP-0069
# uncomment types applicable to the change:
  type:
  - feature        # introduces a new feature
  - compatible     # the API has changed but is non-breaking

Context
Additional context for the PR goes here. If the PR fixes a particular issue please provide a link to the issue.
How to trust this PR
Highlight important bits of the PR that will make the review faster. If there are commands the reviewer can run to observe the new behavior, describe them.
Checklist

[ ] Commit sequence broadly makes sense and commits have useful messages
[ ] New tests are added if needed and existing tests are updated. See Running tests for more details
[ ] Self-reviewed the diff

FYI: Because we now enforce the use of cabal-gild to format cabal files and, in order to reduce the amount of hassle, I have cherry-picked the appropriate commit into your PR. This will make the cabal-gild CI check pass for the PR. The commit should be discarded automatically as soon as you either rebase or merge the PR (since it is already in the main branch). Feel free to discard it if you want, but that will make the new required action to fail until you rebase.

FYI: I have rebased your branch because we have done changes to the formatting. I have made a copy of the unrebased branch here: backup/jordan/make-v3-script-datum-optional


Remove Max from required reviews

You already helped a ton, let's stop bothering you on every PR. Though I'll sometimes assign you on crazy things if that's okay with you!

Although maybe add some folks from the Notify team

Yes, I'll add more folks soon!


[BUILD] Fail to install fVDB into ubuntu 22.04 with anaconda environment

Environment
Operating System: Ubuntu 22.04
Version / Commit SHA: feature/fVDB
CMake Version: 3.22.1
Compiler: gcc 11.4.0
Describe the problem
When I try to run python setup.py develop or pip install . to install fvdb it always return error in cpp_extension.py which is used in setup.py line 299
To Reproduce
Steps to reproduce the behavior:

Checkout repo https://github.com/AcademySoftwareFoundation/openvdb/blob/feature/fvdb/fvdb/README.md#setting-up-a-conda-environment
See error

Traceback (most recent call last):
File "/home/ubuntu/Downloads/openvdb-feature-fvdb/fvdb/setup.py", line 299, in
lib_ext = cpp_extension.CUDAExtension(
File "/opt/conda/envs/fvdb_learn/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1076, in CUDAExtension
library_dirs += library_paths(cuda=True)
File "/opt/conda/envs/fvdb_learn/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 1207, in library_paths
if (not os.path.exists(_join_cuda_home(lib_dir)) and
File "/opt/conda/envs/fvdb_learn/lib/python3.10/site-packages/torch/utils/cpp_extension.py", line 2416, in _join_cuda_home
raise OSError('CUDA_HOME environment variable is not set. '
OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.

However I already make CUDA_HOME environment into /usr/local/cuda-12.1 as shown in Screen shot.

Additional context
Screen shot of error is below

Hi @stratonlive
Apologies, we forgot that we removed the build packages from the learn environment.  Right now the fvdb_learn environment just has the runtime packages needed to run the examples and notebooks once fVDB is built.
I've updated the README to recommend using the dev_environment.yml for building and dev work.  If you could go ahead and use this command to make your environment, this should solve your issue:
conda env create -f env/dev_environment.yml


Different couples text for tax number

Short Description
This adds different texts to the StepSteuernummer if users are married (s. ticket here).
Changes

Add texts
Add a new way to show the texts. Instead of having two different input forms, change the texts.
Use the new way to show the texts also for the eligibility steps.
Rename the tests_cli.py -> test_commands.py to reflect commands.py

Feedback

Do you see any problem with the new approach? Maybe if there are multiple requests? Do you see a better way to achieve the result?

I feel like we thought about this solution before and then landed on the multiple forms because it didn't work? Or did we not think of changing the texts at runtime? I can't remember and also don't see any problems with this approach at the moment.

I think that what we tried was different. We tried changing the texts after the call to create_form while this now happens before the call. This means that we now change the class InputForm and not just an instance of this class.


wallet backup attempt leads to crash.

wallet backup attempt leads to crash.
is it possible, that already confirmed coins are now collided after wallet update?
it looks like this.
https://cryptocurrencytalk.com/topic/88679-wallet-back-up/?do=findComment&comment=410161

this will be fixed in next release. I was unaware my new backup stuff along with the fix was not included in the latest release thus the problem did not get fixed.


Return errors instead of panic

And ran gofmt -s (simplify too).

Thanks for merging!

Thank you! go-carbon dependency updated https://github.com/lomik/go-carbon/commit/9b04b862a397ed95cf5be051fe60cbd0954d7f64


Regression in useControlledState signature

Provide a general summary of the issue here
It's not exactly a runtime bug, but a regression in types. The onChange callback is allowed to have extra parameters besides the first parameter (the changed value), which is a useful feature. While it still works at runtime, the extra parameters are removed from the retuned setter in a recent improvement in supporting ts strict mode:
https://github.com/adobe/react-spectrum/blob/54d260d736f3e24d02c4277e593f4ab34930f9bd/packages/%40react-stately/utils/src/useControlledState.ts#L15-L17
🤔 Expected Behavior?
useControlledState should allow extra parameters to be passed to onChange callback.
😯 Current Behavior
Passing extra arguments to the returned setter function, which used to compile successfully fails now.
💁 Possible Solution
A quick fix would be to just add back the removed ...args: any[] second parameter:
-export function useControlledState<T, C = T>(value: T, defaultValue: T | undefined, onChange?: (v: C, ...args: any[]) => void): [T, (value: T) => void];
+export function useControlledState<T, C = T>(value: T, defaultValue: T | undefined, onChange?: (v: C, ...args: any[]) => void): [T, (value: T, ...args: any[]) => void];

But with some tweaks, it should be possible to have it typed in a way that extra parameters in the returned setter are typed based on the input onChange type.
🔦 Context
I'm using the extra parameters of the onChange to provide information about the type of interaction that caused the change. the controlled state can change due to two possible types of user interactions.
🖥 Steps to Reproduce
Use the following example:
function MyComponent({
  value,
  defaultValue = 3,
  onChange,
}: {
  value?: number;
  defaultValue?: number;
  onChange: (value: number, reason: "foo" | "bar") => void;
}) {
  const [state, setState] = useControlledState<number>(
    value,
    defaultValue,
    onChange
  );
  const update = () => {
    setState(3, "foo");
  };
}

Version
<EMAIL_ADDRESS>What browsers are you seeing the problem on?
Other
If other, please specify.
N/A
What operating system are you using?
N/A
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

Seems fine. While technically an undocumented hook, I don't see any harm in adding this back. It doesn't appear to break strict types or affect them otherwise.


Fix except to use python 2.6 recommendation

Update our use of exceptions to python 2.6 standard. Tested with all unit tests, checks out OK.

I guess I should do the same in the T0 code base ? Of if you have a script to do so please feel free to do the same there...

I can do it easily. I can't test it, though. :-)
This is super easy though.
easy_install futurize
futurize -f except . (or similar)

That's fine, if you make a pull request I (or the operators) can test it in the next replay.


[Function-Expose] TAB1173 Document Attachment - SaveAttachment

Can the SaveAttachment function be made external please in TAB1173 Document Attachment ?
SaveAttachment(RecRef : RecordRef;FileName : Text;TempBlob : Record TempBlob)

Hi. We don't have plans to make this function externally available for AL development.

Unfortunately ...
Our client would like to add attachments to Sales orders quicker.
Therefore I could create an 'upload' action, where the chosen document would be uploaded and saved.
But can't do it without that function.
Perhaps do you know another way?

Let me think a little about this.

Thank you :)
Or if MS could provide an 'Add attachment' button on sales order list and card that directly opens the 'upload file' screen and saves it, would also be very nice :D

The first thing I want to mention, attachments are already on the order card (picture below). For the reasons (which I don't know) this factbox is not visible by default on order list page but it's also there (you can manage visibility of controls via extensions).

The next thing is that we can try to discuss with you the redesign of the SaveAttachment function. I mean it can be actually split into two function: one is for file open and upload into stream (this function will not be available for AL development), second function which is actually SaveAttachment will take stream instead of file and blob and do what it does now. But I'm afraid second variant cannot be processed via "request for external", this should be kind of "extensibility" request. Let me know your thoughts on that.

Ah yes, we overlooked on that fact box.
The function split would be very interesting and would help us a lot. :)
It would be very kind of you if you could implement that.


Please add a tag to the v1.3 release

The [v1.3 release](v1.3 QoL and Feature Release) is somehow untagged. Can you please add a tag for it so that it can be used precisely in workflows 🙏?

ups, sorrry that should not have happened.
I untagged it earlier in a meeting for demo purposeses and forgot to re-add it.
According to our discussion here the semantic version on Github Actions is quite flawed and you always have to remove and re-add tags to the newest release if you want to supply automatic updates to users.
WE also update the docs and will be supplying auto updates only for @v1 tag. So if you want that we encourage you to change it to that. This is the tag we will continuously update.
The @v1.3 will get stale over time ... even if we ever do a @v1.3.1 bugfix release as github actions does not pick that up

Just as an update: Of course we will keep the API from now on consistent in the @v1 branch so that no breaks occur. If we change switches or behaviour a new @v2 release will happen.

Yes, thanks for the reminder. Your @v1 works perfectly 👍


Question: Simplest way to hot reload a CSS file in Webpack using Webpack Dev Middleware

Hi,
I opened a question on Stack Overflow 11 days ago, but it didn't receive any comment nor answers, so I tried to open a bounty three days ago, but still no answers, so I decided to come here to see if that question can get some attention.
Please, if anyone has the time to take a look, I would really appreciate:
http://stackoverflow.com/questions/37203909/simplest-way-to-hot-reload-a-css-file-in-webpack-using-webpack-dev-middleware
Basically, I want to know if there is a simple way to hot reload a plain css file generated by gulp and incremental updated by it too. I don't want to migrate my Stylus build step to Webpack, and if possible, not even use css-loader or anything like that. Ideally, I would like to only hot reload the application any time the css file changes.

Given there is an answer at SO, closing.

The answer in SO doesn't solve the problem asked. That's why it isn't
marked as accepted.
Em 09/08/2016 02:25, "Juho Vepsäläinen"<EMAIL_ADDRESS>escreveu:

Closed #2540 https://github.com/webpack/webpack/issues/2540.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/webpack/webpack/issues/2540#event-749365013, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AG9eh3pt0amA4XwU7n3Sqx5yD5E29Ce7ks5qeA89gaJpZM4IlEte
.

Even so, Stack Overflow is the right place for support. Hopefully someone in the know can comment there. 👍
When it comes to hot loading, it's actually style-loader that implements the HMR interface in webpack. I don't see how it could work if you don't set up loaders against your Stylus files since then you don't get the interface by definition.
Instead of HMR, you could look into browser-sync-webpack-plugin to see if it fits your use case better.


Parametrize vector in BlockDiagonal

Right now the block matrices are hard-coded into a Vector, this makes it too restrictive for some actions like passing a BlockDiagonal to the GPU.
Parametrizing it as
struct BlockDiagonal{T, V<:AbstractMatrix{T}, AV<:AbstractVector{V}} <: AbstractMatrix{T}
    blocks::AV

    function BlockDiagonal{T, V, AV}(blocks::AV) where {T, V<:AbstractMatrix{T}, AV<:AbstractVector{V}}
        return new{T, V, AV}(blocks)
    end
end

solve this issue.

Another option is #33. Would that also solve your issue with the GPU?

Aren't Tuple very inefficient for a large number of elements?

Aren't Tuple very inefficient for a large number of elements?

Could be. I simply don't know how that balances with possibly having an abstract eltype for the AbstractVector. Could be that the multiplication cost dominates anyway.

So the best approach would be to get a Vector of matrices. Check if the matrices are homogeneous, if yes use a vector if not use a Tuple, I need to check if it would also work when passing it to the GPU (but I think yes)

In fact, this would be relevant over in LinearMaps.jl as well, see https://github.com/Jutho/LinearMaps.jl/pull/84#issuecomment-581406031. One could leave it to the user:
struct BlockDiagonal{T, V} <: AbstractMatrix{T}
     blocks::V
end

and then restrict V via available constructors?


adjoint=False ignored in launch() for some data types?

In a simple kernel that multiplies an array of matrices with an array of vectors I get a CUDA compilation error when using an array of mat44 and arrays of vec4
error: no suitable constructor exists to convert from "void" to "wp::mat44"

This does not happen if I define and launch a similar kernel with mat33 and vec3
I have attached both the working 3x3 and the non-working 4x4 Python  samples along with the full error text
files.zip
To replicate simply run
python test_works.py

and
python test.py

The last one gives the error.
extra info:
Warp Version: 0.1.25   Using CUDA device: NVIDIA GeForce GTX 1080
NVIDIA-SMI 495.29.05    Driver Version: 495.29.05    CUDA Version: 11.5

and I forgot: this was on Ubuntu 20.04.4 LTS

Hi @varkenvarken, thanks for the report - I fixed a bug with mat44 adjoint in this commit:
https://github.com/NVIDIA/warp/commit/b7d99d1ee2b4cd5f7984addd312cb566c27b4999
I've updated the release packages to include this, let me know if it works for you.
Just a couple of comments on your benchmark code, there is a wp.ScopedTimer() class you may want to use to make timing easier. This profiles CPU time currently, so you should still have a wp.synchronize() inside the scope in case you want a measure GPU time.
Copying the data back to NumPy will likely dominate the time in this benchmark. If you just want to know the kernel time I would recommend moving the call to array.numpy() outside the timer scope. For larger applications it can also make sense to perform the copy back to host asynchronously, using the wp.copy() method back to a CPU array.

Thanks Miles, works perfectly. I saw that the commit touched a couple of other data types as well and I haven't tested those yet but if I encounter something I will raise an issue.
-- Michel.
PS> and thanks for the ScopedTimer() tip!


pytest-order: 1.2.0 -> 1.2.1

Description of changes

Changelog: https://github.com/pytest-dev/pytest-order/blob/main/CHANGELOG.md
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Commit message should be e.g. python311Packages.pytest-order: 1.2.0 -> 1.2.1

Oh and this also needs to be re-targeted at staging using the technique outlined in https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#rebasing-between-branches-ie-from-master-to-staging

It turns out that this is already present on staging: #301837.
Not sure how I missed it.


The bottom part of Screenshot will be cut on Firefox

This also happens for Safari and Chrome. I am using Macbook Air M1, MacOS 13.0.1. I have tested the scripts and confirmed the issue for both of these two browsers.

This also happens for Safari and Chrome. I am using Macbook Air M1, MacOS 13.0.1. I have tested the scripts and confirmed the issue for both of these two browsers.

Thanks for the reporting

I am currently on vacation. I was wondering if anyone could help by submitting a pull request to fix this issue. Thank you!
It should be something related to the html2canvas
https://github.com/pionxzh/chatgpt-exporter/blob/master/packages/userscript/src/main.ts#L132-L137

It seems like this issue no longer exists in the latest version. I'm closing this as resolved. Please inform me if you encounter this issue again.


IE compatibility: plugin blocks page loading

Describe the bug
Since 1.6.0 the plugin is not compatible with IE 10 and lower. The compiled JS blocks loading every page.
To Reproduce
Steps to reproduce the behavior:

Go to IE 10 or lower
Open a page
Page not loading because of several JS errors

Expected behavior
All pages loading

@msilvagarcia , @acampos1916 : this one is blokking for all users on IE, this because the whole site stops loading. Because of that, it's not suggested to use release 1.6.0

Hello @wannevancamp,
IE10 is currently not supported by the component. I'll be closing this issue but let us know if there are any other insights.

@acampos1916 can you confirm IE 11 is supported by the component?

@acampos1916 can you confirm IE 11 is supported by the component?


Cannot find module './tempdir' issue reported while copying files from staging environment to production

-------Please read and delete this text before creating the issue-------
To report a good issue, please verify that you validate these points:

[x] you have read the documentation about command line options and advanced use cases
[x] upgrade and test with the last version
[x] specify the version you are using
[x] include steps you followed to reproduce the problem
[x] if the problem occurs when using a git-tfs command, please provide the output of the command when using the --debug command line option (providing a gist could be a clever idea ;))

And don't forget:

The fastest way to get an issue fixed is to submit a PR that fixes it.

The slowest way to get it fixed is to hope someone else will fix it.

closing, as there is no information in there which indicates a git-tfs bug


Running npm react-scripts test ignores the --coverage option

Describe the bug
As per #7164, running npm react-scripts test ignores the --coverage option for jest - that is, jest will pass even if coverage thresholds are not reached. Note that this is almost certainly NOT an issue with jest - it is an issue with create-react-app's configuration of jest.
Did you try recovering your dependencies?
I've tried this with both yarn version 1.16.0 and 1.17.3 (thanks for reminding me to update yarn) - and I also removed node_modules and yarn.lock and then re-installed, which didn't change anything.
Which terms did you search for in User Guide?
I didn't search the user guide at all, I searched open + closed issues in this repo, and found #7164.
Environment
Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: (8) x64 Intel(R) Core(TM) i7-4771 CPU @ 3.50GHz
Binaries:
Node: 8.11.0 - ~/.nvm/versions/node/v8.11.0/bin/node
Yarn: 1.17.3 - /usr/local/bin/yarn
npm: 5.6.0 - ~/.nvm/versions/node/v8.11.0/bin/npm
Browsers:
Chrome: 75.0.3770.142
Firefox: Not Found
Safari: 12.1.1
npmPackages:
react: ^16.8.6 => 16.8.6
react-dom: ^16.8.6 => 16.8.6
react-scripts: 3.0.1 => 3.0.1
npmGlobalPackages:
create-react-app: Not Found
Steps to reproduce
See $7164 for a trivial reproduction of the issue.
Expected behavior
The --coverage flag should fail tests when the coverage threshold is not met.
Actual behavior
The --coverage flag does not fail tests when the coverage threshold is not met.

More detailed explanation
Our repo is somewhat complex - we're using react on the front-end (tested with jest) and node on our back-end (tested with the same jest binary).  Here are the two commands we run in package.json:
"test-frontend": "react-scripts test --coverage --watchAll=false"
"test-backend": "jest --config=amplify/jest.config.js --coverage --watchAll=false"

Here's some relevant parts of package.json:
"jest": {
    "snapshotSerializers": [
      "enzyme-to-json/serializer"
    ],
    "collectCoverageFrom": [
      // Snipped
    ],
    "coverageThreshold": {
      "global": {
        "statements": 98.38,
        "branches": 98.38,
        "functions": 96.36,
        "lines": 98.58
      }
    }
  },

And here's jest.config.js:
module.exports = {
  collectCoverageFrom: [
    // Snipped
  ],
  coverageThreshold: {
    global: {
      statements: 100,
      branches: 91.67,
      functions: 100,
      lines: 100
    }
  },
  roots: [
    'backend/function',
    'backend/api/reactkart/customTransformers'
  ],
  testEnvironment: 'node'
}

For the test-backend command, jest will fail if the coverage thresholds are not met. However, jest still passes for the test-frontend command if thresholds are not met. I'm fairly confident this means the issues lies with create-react-app and not jest, as both commands use the same jest binary and have fairly minimal configuration.

does CI=true or --bail help?

CI=true does help, but --bail does not:

However, using CI=true removes all the coloured highlighting (not the end of the world, but unfortunate), and I don't believe it's documented anywhere that you must set CI=true in order to get coverage to work...
Furthermore, I've found something even worse - if you don't set CI=true or --bail, and have failing tests, jest still returns a 0 exit code:

Again, this is the same jest binary that runs our back-end tests, and those work correctly. This is a very serious bug, and if people don't know to set CI=true specifically (that is, even using the --ci option doesn't work) this will mean CI builds will succeed with failing tests.

Yes, the exit code issue you mentioned here is definitely a bug.  There is already a handful of duplicate issues, however I don't think anyone has looked into what went wrong.

The CI param doesn't work. In dev, we have to include the CI=true to get our CI command to work properly.
npm t -- --bail --ci --coverage --coverageDirectory=coverage \
  --no-cache --reporters=default --reporters=jest-junit --runInBand

correct, CI=true is what I meant.

CI=true does let Jest fail if threshold is not met. However, as @zjullion mentioned, it strips the hightlight of failed and passed errors. Any one found a solution?

We have a fix and it will be released in 3.1

@bugzpodder Thanks for fixing it! When is 3.1 coming out?

Thanks for the patience.  3.1 is expected to be out this week.  Unfinished items from the list will be moved to 3.2.

Can confirm this is fixed in 3.1.0 - great work!


custom isAuthenticated directive

I'm using async-graphql together with actix-web. Does async-graphql support custom directives that can access the context? I couldn't find anything in the docs
#[async_graphql::Object]
impl Query {
  // would like a directive like this
  #[directive::IsAuthenticated] // checks whether user tokens are present in context and validated to be correct
  // if token is incorrect breaks the request
  async fn user<'ctx>(
    &self,
    ctx: &'ctx async_graphql::Context<'ctx>,
  ) -> async_graphql::Result<User> {
    let userId = ctx.data<AuthenticatedUser>()?; // Parsed from cookie, this part is already working using FromRequest trait added to main route handler
    Ok(get_user(ctx.pool, userId))
  }
}

You can use field guard to achieve this.
https://async-graphql.github.io/async-graphql/en/field_guard.html

beautiful, exactly what I was looking for!


Access the script through my code

I'm writing a node.js web app, I was wondering if it is possible to access this script through my code. any suggestions?

goodproject


The Kubeflow getting-started guide needs some tech writing love

https://www.kubeflow.org/docs/started/getting-started/
The guide has been reworked and updated a few times recently, and needs a bit of attention from a tech writer

/assign


Add injection of the splunk distro version

Why
We want splunk distro versions to be set in the resources.
What
Add injection of splunk distro version in the Traces plugin. This can be a temporary solution before we have extension for ResourceBuilder on the otel side.
Tests
Manual tests

I'm closing this one. We will wait for new OTel release with extension available.


Feature: Syntactic sugar for int literals

See https://github.com/status-im/nim-ttmath/issues/16

Currently it is cumbersome to interact with literals. They must be initialized as a Int/Uint for example
var x: Uint256

x += 1.u256

It would be nice to be able to use inc x or x += 1
Solutions:

Providing inc and dec proc
Providing a converter for int literals:

Unfortunately implicit conversion does not respect the literals constraints, see: https://github.com/nim-lang/Nim/issues/7520
Furthermore it is not clear how to do conversion for all static[N]. The best we can probably do is defining conversion for our useful types like Uint256:

converter toUint256(x: int{literal}): Uint256 {.inline.} =
  result = initUint[Uint256](x)

Alternatively, use term-rewriting macro for each add, sub, mul, div, mod, pow, ...

Note that due to https://github.com/nim-lang/Nim/issues/7524, we can't generate the converter (option 2) in the int constructor template.


know of any way to get windows explorer and cmd running as tabs?

having the servers file manager and a command prompt would basically eliminate the need for me to ever remote into the server again.

What OS are you running on your server?

win10

actually, now that i think about it.... what if we could get full on rdp in a tab. is that even possible?? Being able to access every single service on my server from a friends computer all from one ssl encrypted domain would pretty much be the holy grail of plex servers.

Hi
I use htpc manager and have the system tab as my main page.
Throught this page I can see all process and even execute my preset scripts, meaning I hardly ever log into my pc directly.
http://m.imgur.com/U4cfZKI

@Phairplay that's a good idea... u haven't had any problems running that inside a tab?

Non at all runs like a dream
I have 9 scripts that run without issue, I'm also able to kill process if needed.
It's the stats page of htpc manager
https://github.com/Hellowlol/HTPC-Manager

https://studio-42.github.io/elFinder/#elf_l1_Lw
Im using that for file browsing. Works pretty good.

Very cool! Though I'm pretty committed to making tightvnc work at this point, just so i can get complete control through idash. But its still near the end of my todo list for now

I have a working example with noVNC Github It was kinda easy to setup. Cloned the repo and downloaded websockify (part of noVNC) to the utils folder. and ran the ./utils/launch.sh command. browsing to http://<IP_ADDRESS>:6080/vnc.html?host=<IP_ADDRESS>&port=6080 made it view my Kodi screen. Using LibreElec and dispmanx vnc addon.

the file browser from elFinder looks cool too .


Website link on main page is outdated

Currently links to woof.bitcru.sh instead of woofclub.xyz.

fixed


Alerting IT fix as per the issue #689

Issue #, if available:
Description of changes:
Alerting IT fix as per the issue #689
Test Results:
TAR x64 : https://github.com/opendistro-for-elasticsearch/opendistro-build/actions/runs/681294772
RPM x64 : https://github.com/opendistro-for-elasticsearch/opendistro-build/actions/runs/681294771
DEB x64 : https://github.com/opendistro-for-elasticsearch/opendistro-build/actions/runs/681294770
DEB ARM64 : https://github.com/opendistro-for-elasticsearch/opendistro-build/actions/runs/683610310
RPM ARM64 : https://github.com/opendistro-for-elasticsearch/opendistro-build/actions/runs/683610313
TAR ARM64 : https://github.com/opendistro-for-elasticsearch/opendistro-build/actions/runs/683610314
Note: If this PR is related to Helm, please also update the README for related documentation changes. Thanks.
https://github.com/opendistro-for-elasticsearch/opendistro-build/blob/master/helm/README.md
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on signing off your commits, please check here.

The TAR install in the setup runner service has been unsuccessful due to the incorrect permissions, which in turn impacted the IT.

Will open another PR for the permissions change.


Fix ErrnoException errno type

It's a number (technically an integer) in all Node API versions that have a corresponding .d.ts file here.
Relevant lines:
https://github.com/joyent/node/blob/v0.8.8-release/src/node.cc#L769-L806
https://github.com/joyent/node/blob/v0.10.1-release/src/node.cc#L750
https://github.com/joyent/node/blob/v0.11.13-release/src/node.cc#L752
https://github.com/joyent/node/blob/v0.12.0-release/src/node.cc#L762
I added the ErrnoException type to the Node 0.8.8 .d.ts file, since it did, in fact, exist with the same interface then (This has actually been the case since at least 0.4).

@impinball thanks mate!


docs: convert to markdown and fix paths

Type of Issue

[X] :book: (Documentation)
[ ] :bug: (bug)
[ ] :arrow_up: (Update)
[ ] :dizzy: (New Feature)
[ ] :radioactive: (Deprecation)
[ ] :no_entry_sign: (Removal)
[ ] :hammer_and_wrench: (Refactor)

fix #510
I also fixed some wrong paths in the docs and this:

Apparently some stuff was not rendering.

I'm okay with approving this.
We should make sure there are issues for adding frontmatter for these once we're ready to jump into Render Engine Serving the docs.


Add bbailigan.com

bbailigan.com

@bkintanar First stage of verification passed, official domain is bbailigan.com as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

Thanks @philipto

@bkintanar The official website looks pretty outdated. Is there any reason it's not updated for about a year?

@philipto actually there's a reason for that, we've started using a school management system and the url is at https://bbailigan.skooltek.co/

@bkintanar  Thank you for the clarifications. Pull request merged.

Thank you very much @philipto
How long should I wait for the changes to reflect to apply for the free education license?


How to set Custom Path

Gitea version (or commit ref):6aacf4d
Git version:2.7.4
Operating system:ubuntu 16.04
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[ x] Not relevant

Log gist:

Description
cd /tmp
gitea web
Custom path: /path/where/gitea/is/installed/custom
Even though I run gitea from /tmp, it still reports its "Custom path" is the same as where "gitea" is installed, is it possible to set the "Custom path" to where I run gitea instead of where it is installed, i.e. /tmp/custom in this case.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/41619185-how-to-set-custom-path?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F47456670&utm_medium=issues&utm_source=github).

./gitea help web
NAME:
   gitea web - Start Gitea web server

USAGE:
   gitea web [command options] [arguments...]

DESCRIPTION:
   Gitea web server is the only thing you need to run,
and it takes care of all the other things for you

OPTIONS:
   --port value, -p value    Temporary port number to prevent conflict (default: "3000")
   --config value, -c value  Custom configuration file path (default: "custom/conf/app.ini")
   --pid value, -P value     Custom pid file path (default: "/var/run/gitea.pid")

Thanks. I read that and tried that already, "mkdir -p /tmp/xyz; cd /tmp/xyz; gitea web --config /tmp/xyz/custom/conf/app.in" it still points to /gitea/install/path/custom/conf/app.in, no way to change that.

The custom path can be configured with the environment variable GITEA_CUSTOM, so this is not a bug, it's more a documentation issue.

Looked into the code it seems a better env is GITEA_WORK_DIR:
GITEA_WORK_DIR=`pwd` gitea web --port 9131

maybe we should send a PR to add a document.


Bulk resolution of duplicates

The bulk action menu should also have the option of selecting all names in the groups, the oldest names or newest names (by publication year: for zoological data we could use the author string, but for botanical data we could maybe also use nomenclatural reference years when available), or the names with the least additional verbatim information in the groups. Use cases for this include:

The newest homonym would be marked provisionally accepted for ACC-ACC duplicates, so being able to select by newest is important.
We delete exact duplicates and deleting the duplicate with the least additional verbatim information associated with it is preferable.

(It's low priority but combining the information from exact duplicates would also be a great enhancement that we didn't have in the past.)
Having the backend apply editorial decisions automatically when possible would be ideal, but still being able to bulk check the boxes could help with human validation of the automatically applied editorial decisions, because then the editor could compare the checked boxes vs the backend's editorial decision.

Suggested rules for selecting duplicate records for applying decisions:

all
all but one      # ordering is random
all but latest   # what to do if latest is a) not known or b) not unique?
latest only
by status
by rank
least additional verbatim information (number of terms with values)

@yroskov would this be good enough to identifiy the records that should get a decision applied?

we will try to resolve ids clientside by optionally increasing page sizes for the user.
Reopen if this is needed


updated TEAM.md

@ululi , please fix the conflicts and after it, send the link in the twitter group, because it already has 2 approvals.

resolved  merge conflicts.

Done! Thanks team 🥳


Call restart_editor() in RUN_PROJECT_MANAGER

Follow-up to #85654
The duplicate code in RUN_PROJECT_MANAGER branch is replaced with a modified restart_editor().
Seems like the code did not set exiting previously, so this might also fix some bugs.

Thanks!


Dragablz.Dockablz 设置方向

TabablzControl 的 TabItem 只能出现在  顶部  ，能不能出现在左边，右边，或者下边

"TabablzControl of TabItem only appear at the top , can not appear in the left, right , or bottom"

不可以做到这样吗？http://v2.freep.cn/3tb_160604100934c8qf512293.jpg @amoamare

想达到的效果就是类似QQ这样的聊天窗口的效果，http://v1.freep.cn/3tb_1606041013113hq9512293.jpg @amoamare

There is a demo in samples.

@AuroraDysis    As long as it has to change the direction of the

@ButchersBoy You can close this issue, I guess. It's not for this project.

Currently Dragablz supports left alignment for Material, and Standard styles.


Social Groups created through the Persona Bar do not appear in the Social Groups

Description of bug
Social Groups created through the Persona Bar do not appear in the Social Groups
Steps to reproduce

I'm logged in as an administrator.
I go to Manage -> Roles, Create New Role.
I've added a name under Role Name.
Under Role Group, I've selected "Global Role".
Under Security Mode, I've tried to use "Social Group" and I've also tried using "Both" (Neither seems to work).
Under Status, I've selected "Approved".
I've turned "On" the Public setting.
Click Save

Current result
The Role is created in the Manage Roles IU interface, but when I go to my Community Group Directory this Role does not show up at all. I believe this is because in the process for the Manage Roles UI, the Role settings are not generated.
Expected result
Provide a clear and concise description of what you expected to happen.
Screenshots
https://www.screencast.com/t/rIItYLjtJ
Additional context
To solve it, need to automatically add these steps:

Create the role with Security Mode = Social Group, Status = Approved, Public
Use Persona Bar > Settings > SQL Console to retrieve the RoleID:
select RoleID from Roles where RoleName = ''
(or get it from created role)
Open Persona Bar > Content > Assets, click the site name, click Groups and then Add Folder. Set the folder name equal to RoleID.(Create Groups folder if it doesn't exists)
Add creator as owner to the Social Group(role)

All these steps are already implemented - adding these to create PR
Affected version

[X] 10.0.0 nightly build
[X] 9.4.1 nightly build
[X] 9.4.0 latest supported release

Affected browser

[X] Chrome
[X] Firefox
[X] Safari
[X] Internet Explorer
[X] Edge

Merged


Introduce StableHLO interpreter API

Today, it isn't practical to call the StableHLO reference interpreter. Invoking the interpreter requires going through the MLIR translate infrastructure (i.e. via interpretRegistration in StablehloTranslateMain.cpp), and does not currently support specifying user inputs or doing any meaningful post processing on the model outputs short of printing them to screen. This makes it difficult to build tooling which uses the reference interpreter.
This PR proposes a new reference interpreter API which facilitates the running the StableHLO reference interpreter through a simple, unified interface. At a high level, the proposed interface allows clients to specify a set of inputs (in InterpreterValue format), and an InterpreterConfiguration object (see below). The proposed interface invokes the reference interpreter and returns a set of outputs (in InterpreterValue format). The new interface would live in stablehlo/reference/InterpreterApi.h and would expose the following interface:
/// Invoke the StableHLO reference interpreter with the given parsed MLIR
/// module input and provided inputs. Returns a list of interpreter outputs.
/// Can optionally pass a fallback interpreter callback which executes when no
/// builtin kernels are matched.
llvm::ErrorOr<SmallVector<InterpreterValue>> evalModule(
    ModuleOp module, ArrayRef<InterpreterValue> inputs,
    const InterpreterConfiguration &config);

Interpreter configuration
As part of this PR, there is an InterpreterConfiguration struct which can be used to configure the StableHLO interpreter. Encapsulating configuration state into a singular object allows the interface to remain stable as new configuration options are added. Initially, the configuration object will contain a handful of options:
struct InterpreterConfiguration {
  InterpreterConfiguration()
      : fallback(std::make_unique<InterpreterFallback>()) {}

  /// If specified, the directory to which StableHLO interpreter tensors will
  /// be serialized to disk.
  std::string probeInstrumentationDir = "";

  /// Use the specified named function as the main entrypoint into a module.
  /// Defaults to `main` for modules with multiple functions. If a module only
  /// contains 1 function and the default `main` value is used, the singular
  /// function will be used as the entrypoint (irrespective of a function name
  /// match).
  std::string mainFunction = "main";

  /// If specified, use the callback to run on ops which do not have a
  /// registered kernel.
  std::unique_ptr<InterpreterFallback> fallback;
};

Note that all of these configuration values are optional, and it is possible to run the interpreter with a default initialized InterpreterConfiguration struct (which will by default, not provide a fallback callback).
Interpreter fallback callback
When defining an interpreter fallback callback, the InterpreterFallback struct can be extended:
class InterpreterFallback {
 public:
  llvm::Error operator()(const InterpreterConfiguration &config, Operation &op,
                         Scope &scope, Process *process);

  virtual ~InterpreterFallback() = default;

 protected:
  /// Custom op kernels for any user specified ops not found in the StableHLO
  /// op dialect or StableHLO interpreter dialect.
  virtual llvm::Error handleOp(const InterpreterConfiguration &config,
                               Operation &op, Scope &scope, Process *process);

 private:
  /// If the input StableHLO program has been instrumented, keep track of how
  /// many times a given operation has been executed.
  llvm::StringMap<int32_t> instrumentedTensors;
};

Note that the user specified fallback need not contain any InterpreterOp kernels, these will always run before the user specified callback.
Currently, the proposed change exposes InterpreterConfiguration and the current mlir::func::FuncOp being evaluated to the fallback interface to support the existing flow. Consequently, there’s a bit of gymnastics in stablehlo::runInterpreter which I think could be improved on. I'm open to ideas on how we could better handle this.

Refactored the interface to avoid the build issue and to try and make it a bit cleaner. Instead of having 2 functions in the fallback callback interface functor, there's just the singular operator() now, and I've reverted the evalXX changes to pass around a config, and instead pass around a fallback callback pointer as before.
Now, the interpreter interface will create a lightweight wrapper that sits ontop of the optionally overridable fallback callback, to handle kernels for probe/parallel ops. This should avoid the circular include dependency, and somewhat simplify the interface.


Ethers support

Summary
Support ethers:
import { createSmartWalletClient } from "@biconomy/account"
import { ethers } from "ethers";

const ethersProvider = new ethers.providers.JsonRpcProvider('...');
const ethersSigner = new ethers.Wallet(privateKey, ethersProvider);

const smartWallet = await createSmartWalletClient({ signer:  ethersSigner, ... })

Under the hood both viem.walletClient and ethers.Signer both resolve back to alchemys' 'SmartAccountSigner' type, which aims to abstract away the differences between various signers
Related Issue: #DEV-425
Change Type

[ ] Bug Fix
[ ] Refactor
[x] New Feature
[ ] Breaking Change
[ ] Documentation Update
[ ] Performance Improvement
[ ] Other

Checklist

[x] My code follows this project's style guidelines
[x] I've reviewed my own code
[x] I've added comments for any hard-to-understand areas
[ ] I've updated the documentation if necessary
[x] My changes generate no new warnings
[x] I've added tests that prove my fix is effective or my feature works
[x] All unit tests pass locally with my changes
[x] Any dependent changes have been merged and published

I've accommodate the ethersProject Signer but now I think we should add a final type to the list of signers we support: JsonRPCProvider, which calls provider.getSigner under the hood.

Need to take another back-merge from v4

I've accommodate the ethersProject Signer but now I think we should add a final type to the list of signers we support: JsonRPCProvider, which calls provider.getSigner under the hood.

This doesn't make sense


Fix broken DTR storage link

Signed-off-by: Alex Mavrogiannis<EMAIL_ADDRESS>I'm not sure if the missing page was fully moved to the index, but this link will at least work now
I'm actually not sure if this target link is correct, or whether I should redirect to ./index.md
Proposed changes
Fixed a broken link, duh

Pointing to the index should to the trick, and the syntax is index.md. Since this is a simple change I'm submitting #1903 and closing this one. For more involved changes I'll push to your branch :)

What's interesting is that your PR was passing the url checker. So that means that Jekyll also accepts the ../ format or the url checker is buggy.


Update for Beat Saber 1.21.0

A lot of things changed.

Some obsoleted events in BS_Utils are removed, so changed to use the new BSEvents in BS_Utils.
Reflection Utils in BS_Utils were obsoleted and removed, so changed to use BSIPA's reflection utils.
Updated scoring stuff access to 1.21.0 game version. Because of the new note type, there is no easy way of calculating max possible score from the number of notes. A possible solution I can think of is storing the max score into the song play data when a new record is made.
Because of 3, Acc of failed/unfinished play record will not be displayed.

Here are some details:
https://github.com/qe201020335/BeatSaber-SongPlayHistoryContinued/blob/5aadff76e9c6abf5c67ded45c911ce0ed54c813c/SongPlayHistory/SPHUI.cs#L188-L205

Here is a build if anyone want to test it
SongPlayHistoryContinued-1.6.2-bs1.21.0-5aadff7.zip

Wow, thanks so much for the PR. I'll try to work through it tomorrow.

Just a screenshot showing the mod works in 1.21.0 (Solo at least)

Thank you for keeping this mod alive!


Remove duplicate item of list in display_adv_search?

"storage" is removed from the list in display_adv_search? method
in application helper because it makes no sense to be there twice.

Euwe Backport details:
$ git log
commit a92ff548cc7df6be90aa8d5c085207dddf681327
Author: Dan Clarizio<EMAIL_ADDRESS>Date:   Fri Sep 23 06:44:12 2016 -0700

    Merge pull request #11447 from hstastna/Duplicate_item_display_adv_search

    Remove duplicate item of list in display_adv_search?
    (cherry picked from commit 20697342cd88f4bde4f90340613471ff23e2bf7b)


Fix server crash when slicing some raw meats

About the PR
Fixed a ReagentId field being uncapitialised for some raw meats, which caused the server to crash when trying to balance reagents when the meat was sliced.
Changelog

:cl:

fix: Fixed a server crash when slicing some raw meats.

Probably fixes #9116 if you can verify. Seems to match to the entities that worked with slicing and ones that didn’t.


Shrink uptermd Docker image by 5 MB, 20%

This PR bases the output Docker image on SCRATCH instead of alpine. Alpine is a great base, but for statically linked Go apps, we don't even need that.
I'm currently self-hosting using this updated image, it works identically as far as I can tell (e.g. no permission issues from the noroot user).
Sizes were calculated as:
# Build at current head
docker build -f Dockerfile.uptermd -t uptermd .
docker save uptermd -o uptermd.tar

# Checkout this PR
docker build -f Dockerfile.uptermd -t uptermd-new .
docker save uptermd-new -o uptermd-new.tar

uptermd.tar is ~26 MB, uptermd-new.tar is 21 MB.
The 5 MB isn't really that important when the image is already only 26 MB (as compared to some enormous Docker image people sling around), but I figured, why not?

Thanks for the contribution!


At sign in jsdoc throws off VSCode

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.67.2 (Universal)
OS Version: Darwin arm64 21.4.0

Steps to Reproduce:
When having this chunk of source code:
/**
 * Description of CursorClass
 *
 * Example Usage:
 *
 * ````ts
 * @IsCursor(CursorClass)
 * cursor?: CursorClass | null;
 * ````
 */

VSCode renders as this:

It should render as this:

Please update the issue title. Ampersand means &. The character @ is the At sign.

Sorry, brain fart 😂


[SPARK-42833][SQL] Refactor applyExtensions in SparkSession

What changes were proposed in this pull request?
This PR proposes to do a minor refactoring in SparkSession, particularly the private method applyExtensions
Why are the changes needed?
This is a pure refactoring to reduce some code duplications such as getConf.get(StaticSQLConf.SPARK_SESSION_EXTENSIONS).getOrElse(Seq.empty)
Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing tests

cc @dongjoon-hyun @sunchao @viirya

Thank you for pinging me, @kazuyukitanimura .

cc @cloud-fan and @HyukjinKwon , too.

Thank you, @kazuyukitanimura and all.
Merged to master for Apache Spark 3.5.

Thank you!

late LGTM


Replace deprecated url method

When running on latest Django, there is a warning message:
/usr/local/lib/python3.9/site-packages/rest_auth/urls.py:18: RemovedInDjango40Warning: django.conf.urls.url() is deprecated in favor of django.urls.re_path()

This PR fixes that by changing url to re_path, as suggested in the warning.

This should be merged

This should be merged

Hop it too


Compile static inline is failing

I'm trying to compile something what do you need __builtin_bswap32:
dst[i] = __builtin_bswap32(src[i]);

For this, I include linux/swab.h:
#include <linux/swab.h>

Error:
(/usr/include/asm/swab.h, 7) error: Expected ; but got __u32.

/usr/include/asm/swab.h:7
static __inline__  __u32 __arch_swab32(__u32 val)
{
	__asm__("bswapl %0" : "=r" (val) : "0" (val));
	return val;
}

I imagine that this appears because don't support static __inline__

The actual problem here is that inline was not recognized as a keyword. I have added it, together with some other extension keywords.
Another problem I encountered trying to include this header myself was __builtin_constant_p, which I also implemented. These linux headers assume lots of non-standard stuff, so I expect there to be more issues. For example, the inline instruction "bswapl" as shown is not implemented yet.
Thanks for reporting!


Module Found Error for gftools.axisreg under v0.9.2

Doing a PR after upgrading gftools to v0.9.2 is reporting the following error preventing the PR from being performed:
ModuleNotFoundError: No module named 'gftools.axisreg'
This is the complete output text: My-Sould-PR.txt
I've done a test PR under a venv with only gftools v0.9.0 (no gftools[qa]) and the PR worked, the files were included ok but the QA action was not triggered. This branch has not been deployed
Would it be related to the above?

Same happens if we run gftools add-font alone

I've done a test PR under a venv with only gftools v0.9.0 (no gftools[qa]) and the PR worked, the files were included ok but the QA action was not triggered. This branch has not been deployed
Would it be related to the above?

I've redone the PR with gftools 0.090 + [qa] and after a few attempts, it finally work. So the QA action seems to not be an issue anymore.

try pip install axisregistry

Thanks Felipe. On it now.

Fixed in https://github.com/googlefonts/gftools/releases/tag/v0.9.4


Bump version for jackson for security

Bump jackson to 2.11.2 for security

Codecov Report

Merging #1152 into develop will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop    #1152   +/-   ##
==========================================
  Coverage      35.53%   35.53%
  Complexity       548      548
==========================================
  Files            103      103
  Lines           4627     4627
  Branches         707      707
==========================================
  Hits            1644     1644
  Misses          2833     2833
  Partials         150      150

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ec77bfa...d033529. Read the comment docs.


Frontend: add option to export the names of a crate

We want:

export all the names (Rust DefIds) mentioned in a crate;
an option to filter out current crate names;
the -i flag to accept precise DefIds, not just human-readable patterns.

Would still be useful to have.

Still relevant!


convert datasets/generators to rst

Proof of concept PR using small file (datasets.generators.py). (If this isn't the right place to merge, just let me know and I'll delete this PR and move it)

So the only issue that I spotted (which I also see in the plot.corr example on the end-to-end confluence page) is that the description of the feature_ranges parameter is bold.


Multi-select option is turning off automatically when tables are refreshed - dynamic m query parameter

[Enter feedback here]
Hi ,
The multi select option is automatically turning off when tables are refreshed in power bi. The state changes from multi select to single select automatically. Please can you help me to come out of this issue.
Thanks,
Abishek R.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: dc66475d-11b3-ba33-cde4-9948dc07ea2c
Version Independent ID: 46aeb704-a74f-2064-307f-24660579ef4c
Content: Dynamic M query parameters in Power BI Desktop - Power BI
Content Source: powerbi-docs/connect-data/desktop-dynamic-m-query-parameters.md
Service: powerbi
Sub-service: pbi-data-sources
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @abishek-Rajasegar. This issue has been assigned to the doc author for review.

Thanks for your comment. This looks like a support request rather than documentation feedback. You might find a solution in the Power BI Community, found at https://community.powerbi.com. If not, you can get support by going to https://support.powerbi.com.


Read/Edit data file

Again not an issue.
How can we read and edit data files. I am trying to find out way I can manipulate data in order to get rid of unwanted urls.
Thanks.

click on 'tagdb'. you can enter in urls or sites into the text box and
select 'manualban' and set the value to 1.  or you can ban entire sites
from the search results page by clicking on the 'BAN' link if you are
the admin.
On 07/18/2015 07:00 AM, opguy wrote:

Again not an issue.
How can we read and edit data files. I am trying to find out way I can
manipulate data in order to get rid of unwanted urls.
Thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/gigablast/open-source-search-engine/issues/47.

--
WARNING: CONFIDENTIALITY NOTICE: This E-mail and the materials attached are the private confidential property of the sender, and the message and attachments are privileged communications intended solely for the receipt, use, benefit, and information of the intended recipient indicated above. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, distribution, or the taking of any other action in reliance on the contents of this transmission is strictly prohibited, and may result in legal liability on your part. If you have received this transmission in error, please notify the sender immediately by replying to the sender, then fully delete the transmission from your computer and destroy any copies hereof. Your cooperation is appreciated.

Thank, appreciate your response.
I am currently doing what you suggested, but thing is, I don't have idea of all the garbage sites my engine might have indexed. Until someone writes to me or I find out myself I am not sure what all  links I may have to remove.
So, I was thinking if somehow I could see list of URLs index I might be able to remove the sites beforehand.
Thanks

If you want a dump of all of the urls in the index, use the gb dump command:
 ./gb dsh "./gb dump t main"|  sed -r -e 's/.*url=(.*)/\1/g'

Thanks, that's helpful. Is there any way I can delete the urls directly?
Appreciate your response.

just use the 'inject' tool and check the 'delete from index' box.
On 07/20/2015 09:44 PM, opguy wrote:

Thanks, that's helpful. Is there any way I can delete the urls directly?
Appreciate your response.
—
Reply to this email directly or view it on GitHub
https://github.com/gigablast/open-source-search-engine/issues/47#issuecomment-123142569.

--
WARNING: CONFIDENTIALITY NOTICE: This E-mail and the materials attached are the private confidential property of the sender, and the message and attachments are privileged communications intended solely for the receipt, use, benefit, and information of the intended recipient indicated above. If you are not the intended recipient, you are hereby notified that any review, disclosure, copying, distribution, or the taking of any other action in reliance on the contents of this transmission is strictly prohibited, and may result in legal liability on your part. If you have received this transmission in error, please notify the sender immediately by replying to the sender, then fully delete the transmission from your computer and destroy any copies hereof. Your cooperation is appreciated.

Thanks, that's what I am doing right now. Guess, that's the only way.
Thanks for your help.


gh-629 - Update Javadoc in the Serialisation class and rename the isByteOrderPreserved() method.

Current coverage is 61.19% (diff: 50.00%)

Merging #636 into develop will increase coverage by 0.05%

@@            develop       #636   diff @@
==========================================
  Files           354        354
  Lines         10995      10995
  Methods           0          0
  Messages          0          0
  Branches       1598       1598
==========================================
+ Hits           6722       6728     +6
+ Misses         3739       3735     -4
+ Partials        534        532     -2

Powered by Codecov. Last update 2f61643...aa60894

This PR contains only Javadoc changes and a method name change - I'm not sure why Codecov is failing.


Blocked after crawling

Don't use your personal facebook profile to crawl
Hello,
We're starting to experience some blockage by facebook. After a certain number of "next pages" have been visited the profile is temporarily suspended for about 1 hour.
If scrapy ends abruptly with this error, your account has been blocked:
  File "/fbcrawl/fbcrawl/spiders/fbcrawl.py", line 170, in parse_page
    if response.meta['flag'] == self.k and self.k >= self.year:
KeyError: 'flag'

This prevents you from visiting any page during the blocking period from mbasic.facebook.com, however, it seems that the blockage is not fully enforced on m.facebook.com and facebook.com you can still access the public pages but not private profiles!

If you are experiencing this issue, in settings.py set:
CONCURRENT_REQUESTS = 1
DOWNLOAD_DELAY = 1

This will force a sequential crawling and will also noticeably slow the crawler down but will assure a better final result. DOWNLOAD_DELAY should be increased if you're still experiencing blockage.
More experiments need to be done to assess the situation, please report here your findings and suggestions

hey, add a time.sleep(1) before each "see more", worked fine for me

@ademjemaa thx for your suggestion! Probably a better way of accomplishing the same thing is to use the DOWNLOAD_DELAY parameter in settings.py. According to scrapy docs the delay time is randomized:

Scrapy doesn’t wait a fixed amount of time between requests, but uses a random interval between 0.5 * DOWNLOAD_DELAY and 1.5 * DOWNLOAD_DELAY.

Hi guys how to extract group member data?by scrapy

@maaudrana what kind of data are we talking ? just the list of a group's members or do you wanna have as much info on every person as possible ?

Yeah i need all the member id one a specific group,after getting the list of user it seems its easy to collect data from each user,,,,as you can see Facebook Extractor software do. tnx

how can i do that?

@rugantio you want a profile url for the members ? i can make a crawler like that real quick

oh it will really helpful.tnx

actually i want to get Name and email address from a facebook group.I want all the members info.

ill make a crawler that leads to the profile of each member and you do whatever you want with it

will really appreciate it.

@maaudrana done, check https://github.com/ademjemaa/fbcrawl

Wow really  cool jumping  to the code🥰

Hey,
for some reason it does not crawl after the first page, do you see this issue as well?
when trying to crawl groups

hey , please help me , i have the same problem , i tried to your way , but it still don't work , the issue as below :
Traceback (most recent call last):
File "c:\users\asus\anaconda3\lib\site-packages\scrapy\utils\defer.py", line 102, in iter_errback
yield next(it)
File "c:\users\asus\anaconda3\lib\site-packages\scrapy\core\spidermw.py", line 84, in evaluate_iterable
for r in iterable:
File "c:\users\asus\anaconda3\lib\site-packages\scrapy\spidermiddlewares\offsite.py", line 29, in process_spider_output
for x in result:
File "c:\users\asus\anaconda3\lib\site-packages\scrapy\core\spidermw.py", line 84, in evaluate_iterable
for r in iterable:
File "c:\users\asus\anaconda3\lib\site-packages\scrapy\spidermiddlewares\referer.py", line 339, in
return (_set_referer(r) for r in result or ())
File "c:\users\asus\anaconda3\lib\site-packages\scrapy\core\spidermw.py", line 84, in evaluate_iterable
for r in iterable:
File "c:\users\asus\anaconda3\lib\site-packages\scrapy\spidermiddlewares\urllength.py", line 37, in
return (r for r in result or () if _filter(r))
File "c:\users\asus\anaconda3\lib\site-packages\scrapy\core\spidermw.py", line 84, in evaluate_iterable
for r in iterable:
File "c:\users\asus\anaconda3\lib\site-packages\scrapy\spidermiddlewares\depth.py", line 58, in
return (r for r in result or () if _filter(r))
File "C:\Users\ASUS\Downloads\fbcrawl-master\fbcrawl-master\fbcrawl\spiders\comments.py", line 84, in parse_page
if response.meta['flag'] == self.k and self.k >= self.year:
KeyError: 'flag'


Fix Vec<Vec<u8>> and std::backtrace::Backtrace

Without the fix, it errors like:
(base) ➜  allo-isolate git:(master) ✗ cargo test
warning: file `/Volumes/MyExternal/ExternalRefCode/allo-isolate/tests/containers.rs` found to be present in multiple build targets:
  * `example` target `containers`
  * `integration-test` target `containers`
   Compiling allo-isolate v0.1.23 (/Volumes/MyExternal/ExternalRefCode/allo-isolate)
error[E0277]: the trait bound `Vec<Vec<u8>>: IntoDart` is not satisfied
   --> tests/containers.rs:227:26
    |
227 |     assert!(isolate.post(vec![vec![10u8]]));
    |                     ---- ^^^^^^^^^^^^^^^^ the trait `IntoDart` is not implemented for `Vec<Vec<u8>>`
    |                     |
    |                     required by a bound introduced by this call
    |
    = help: the following other types implement trait `IntoDart`:
              Vec<i8>
              Vec<i16>
              Vec<i32>
              Vec<i64>
              Vec<u8>
              Vec<u16>
              Vec<u32>
              Vec<u64>
            and 3 others
note: required by a bound in `Isolate::post`
   --> /Volumes/MyExternal/ExternalRefCode/allo-isolate/src/lib.rs:133:34
    |
133 |     pub fn post(&self, msg: impl IntoDart) -> bool {
    |                                  ^^^^^^^^ required by this bound in `Isolate::post`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `allo-isolate` (test "containers") due to previous error
warning: build failed, waiting for other jobs to finish...
(base) ➜  allo-isolate git:(master) ✗

You are welcome! Looking forward to next release

So I wonder when will the next release be 👀

Hey, sorry I did miss that. Will do a release shortly.

It's OK, take your time!

Released under v0.1.24


Anticipating modlogs.js to fail to return information if the logs are too long

Since Discord limits embeds to 25 fields, we'll need to add some way to extend the length of viewable logs, perhaps with a page system or just multiple embeds.

Closing this for now since the new D.js13 overhaul has rendered this issue moot.


Geometry tests and functions

not finished yet but thought I'd PR what I had so far
Added tests for most of what we already had in the geometry module, refactored one function and added another for calculating the distance between a point and a line in 3D!

this is complete now, let me know if you see any issues!


JSON-RPC error handling

ACs

[ ] Ensure JSON-RPC errors match those expected by the Lotus client
[ ] Both websocket and HTTP errors need to be handled appropriately (i.e. errors match Lotus client)

This will be closed when @cryptoquick's PR is in


Ue4dumper kernel he doesn't work for me

Ue4dumper kernel he doesn't work for me
I've used the kdmapper mapping driver and it still doesn't work

The information provided is not necessary, I can infer the problem comes from the kernel side as the process name is hard-coded, so try changing this line to the process name.
https://github.com/GoLang1337/UE4Dumper-Kernel/blob/main/Driver/memory.hpp#L211

Thank you for your reply and help


[Task]: BigQuery JDBC: document which libs are needed from the Simba Driver

What needs to happen?

We should document which libs are needed to get it working in Hop
Issue Priority
Priority: 3
Issue Component
Component: Database, Component: Documentation

Here is a PR to resolve this issue.
https://github.com/apache/hop/pull/3030/commits/73849659b079c7413919806c642b3535d3372735

@hansva Sorry looks like I missed one jar in my include list somehow.
Is there a way I can add it to the list? json-<VERSION>.jar

in the include or exclude section?

Include section please!
On Sat, Jun 24, 2023, 4:05 a.m. Hans Van Akelyen @.***>
wrote:

in the include or exclude section?
—
Reply to this email directly, view it on GitHub
https://github.com/apache/hop/issues/2739#issuecomment-1605305002, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADRCYNEWJJKOVFKLE55ZTSTXM2NWLANCNFSM6AAAAAAWBFR7EI
.
You are receiving this because you were assigned.Message ID:
@.***>

done!


HU translate added

thank you

What is the 'short name' for hungarian? I've tried to set the locale to 'hu', 'hu_HU' and 'hu-HU'. I see the translations for what I need in the source, but I can not get it to work.


Add LLM Inferencing Support

This is an initial pass at adding LLM Inferencing support to they Python SDK. Demo in the cloud: https://spin-py-hello-llm-2zjy1qai.fermyon.app
Quirks:

There isn't a "good" way to expose a rust enum to python, so we make the model a string and map it to internal sdk constants / the other associated enum type

huh til about dataclasses! (I haven't seriously python'd in a very long time 😅, and the pyo3 issues were unhelpful 😂 )


tests: export interface for kubectl client

Currently it is only partly possible to mock the kubectl client via the fake client. It would be better to export a client interface with all the methods that could be overriden completely by a test if needed.

Going to close this out due to being veryyyyy old and probably not all that relevant anymore!


create margin account and show business accounts for customer

/lgtm

/test pull-banka-1-backend-fetching-service-test
/test pull-banka-1-backend-market-service-test
/test pull-banka-1-backend-user-service-test

/approve


AIModelType column has null fields in the AIModels view on new installations of MJ

Describe the bug
After doing a fresh install of MJ onto a database, the AIModelType column on the __mj.vwAIModels view contains null fields
To Reproduce
Steps to reproduce the behavior:
1 . Install MJ on a new DB
2. run the sql select * from __mj.vwAIModels
Expected behavior
The AIModelType column does not contain null
A quick fix is to refresh the view

@cadam11  we should close this issue when we commit the new release as it is resovled there


Fix 1265 - allowing the SOURCE_DIRECTORY token in the context of a type provider application

This fixes 1265, allowing the SOURCE_DIRECTORY token in the context of a type provider application
type X = SomeTypeProvider<__SOURCE_DIRECTORY__>

The test simply checks that we no longer get a warning
tp.fs(2,11): warning FS1190: Type arguments must be placed directly adjacent to the type name, e.g. "C<'T>", not "C  <'T>"

Checking the absence of this warning is adequate - the token is just a different kind of string that wasn't listed as a valid token in type applications.

That warning message is also confusing when it is given in this case:
type X = SomeTypeProvider< const(__SOURCE_DIRECTORY__) > (notice space around the const value), warning tells user that space should not be before < while there is in fact no space.
I think having space after < and/or before > should not trigger a warning.

Thank you for taking care of this.


mycoria config generate give error (I think it should be geoip: US   Not  geoip: US-

$./mycoria config generate
Got country code from geoip: US-
Error: country code from geoip is invalid ("US-"), please set as argument
Usage:
mycoria config generate [flags]
Flags:
-h, --help   help for generate
Global Flags:
--config string   set config file
--devmode         enable development mode
--log string      set log level

Also,   The help displayed above  says FLAG for help   --help
But I can find now way to display what "Flags" are available.
That should probably be added to:

$ mycoria -h

well despite no "help" info on the command syntax to fix the above error I must of tried 50 different syntax guesses and
finally got it to work ??
so this worked for me:
$ ./mycoria config generate US-NC

Thanks for the feedback and hanging in there!
Improved in v0.5.1!


Gather current release versions into global variables.

Gathers the various release-version values together from the Virtual Microscope and SLS Gallery playbooks, replacing any "latest" with the currently installed version.

Once this is in I'll open PRs for upgrade to OMERO 5.6.


Selected day repeat to all months

Describe the bug
After set 'selected' prop, the calendar highlight all subsequent equals days
To Reproduce
            <DatePicker
                placeholderText="Selecione uma data"
                dateFormat="dd/MM/yyyy"
                className="custom-date-picker"
                minDate={new Date()}
                onChange={onChange}
                selected={startDate}
            />

Screenshots

Versions
react-datepicker: "^3.0.0"

I have the same, any update @dcmunhoz ?

Looks like this bug was introduced in version 2.15.0

Still present.
Version 3.1.3.

Same issue here: #2376