Are nested entity relationships not supported?

I've got products which have star ratings given by users.
I track which user gives it which rating (so you can change your rating later).
If I do something like:
from p in dbContext.Products.Include(p => p.Ratings.Select(r => r.User)) select p;

I get:
Unable to cast object of type 'Remotion.Linq.Clauses.Expressions.SubQueryExpression'
to type 'System.Linq.Expressions.MemberExpression'

We actually just had a design meeting on this. The new syntax will be:
from p in dbContext.Products.Include(p => p.Ratings).ThenInclude(r => r.User) select p;

It's not in the code base yet though.

Love the updated syntax. And it chains perfectly all the way down. Great work guys!


Is there a way to make the registration responses consistent with others?

With DRF endpoints, we get errors and responses in an object that contains a detail key
{ "detail": "error" }

However not with the registration endpoints. I'm seeing what should be the contents of the detail key returned as the top level object:
{"password1":["This password is too short. It must contain at least 8 characters.","This password is too common."]}

Is there a way to wrap this output so we can normalize the api responses?

Never mind, I've recalled that this is somewhat standard with validation errors.


Update how-to-run-container.md

Configuration includes additional runtime settings for REST and GraphQL. Without this DAB didn't want to start.

@seesharprun
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

@bechir-code, thanks for this contribution!


Going back a page

How can you go back a page when using the PagingIterator documented here?

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

ID: d558deeb-3492-230e-b2d9-8d9efeb6f97f
Version Independent ID: bb2e0da9-acb9-0ffa-7fb6-d1bb534bfd20
Content: Page through a collection using the Microsoft Graph SDKs - Microsoft Graph
Content Source: concepts/sdks/paging.md
Product: non-product-specific
Technology: microsoft-graph
GitHub Login: @darrelmiller
Microsoft Alias: MSGraphDocsVteam

I figured this out by looking at the source code of Microsoft.Graph.Core. The documentation wasn't very helpful in this case. I built a working example of this here https://github.com/erionpc/graph-user-admin.


Lockup balance

Fixes https://github.com/near/near-wallet/issues/670

Locked = total lockup balance - unvested balance - liquid owners balance
Unvested = unvested balance
Unlocked (can be withdrawn) = liquid owners balance

Check https://near-wallet-pr-735.onrender.com/profile/test-create-1.testnet to test
I can also create lockup for arbitrary accounts under .lockup.vg

Check https://near-wallet-pr-735.onrender.com/profile/test-create-1.testnet to test
I can also create lockup for arbitrary accounts under .lockup.vg

@vgrichina seems I'm unable to create an account (needed to view the profile).

seems I'm unable to create an account

@Patrick1904 do you mean that you cannot create it at all or that it doesn't get lockup? (lockup account needs to be created manually outside of wallet)

seems I'm unable to create an account

@Patrick1904 do you mean that you cannot create it at all or that it doesn't get lockup? (lockup account needs to be created manually outside of wallet)

I wasn't able to create an account at all but it worked now. Maybe it was a testnet issue. Looks good to me!


Provide explanations or a reference to why system-assigned MI is required when using firewall-enabled keyvaults

If Key Vault firewall is enabled on your key vault, the following are additional requirements:
You must use the API Management instance's system-assigned managed identity to access the key vault.

Can you please provide more explanation or a reference to understand the difference between user/system assigned identities? Is user-assigned managed identity a different services hosted in a different service? or this is specific to API Management?

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

ID: 1e6fa6cc-8307-4391-7cd9-2b6d5ccd9b7b
Version Independent ID: c78c84c8-99e6-9746-f3f2-f1f5098582a3
Content: Use managed identities in Azure API Management
Content Source: articles/api-management/api-management-howto-use-managed-service-identity.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

@ayoussef-insight
Thanks for your feedback! We will investigate and update as appropriate.

@ayoussef-insight - Thanks for your question. There's a good overview of the difference between user-assigned and system-assigned managed identities in this article. In short, the scope of a system-assigned identity is limited to the specific resource (in this case, the API Management instance), and it doesn't persist beyond the lifetime of that resource. A user-assigned identity is a separate resource you create, control and assign as needed.
For your specific question, currently only the system-assigned managed identity is supported for this scenario.
I hope this helps.

Thanks @dlepow for your answer. My question is specific to the source of the request coming APIM when accessing azure key vault. In fact, in this scenario, although it is documented that only system-assigned identity is supported, user-assigned identity can be used in this scenario if APIM control plane IP address for the relevant region is whitelisted in the key vault firewall.
https://learn.microsoft.com/en-us/azure/api-management/virtual-network-reference?tabs=stv2#control-plane-ip-addresses
So the question is why the source request IP address is different when using user-assigned identity from system-assigned identity.
This has been raised here:
https://stackoverflow.com/questions/70924786/azure-apim-how-to-obtain-ssl-certificate-from-key-vault-with-user-assigned-mana/76211095#76211095
Someone else had a related question which I am not sure how accurate that is:
https://feedback.azure.com/d365community/idea/15dec974-4a84-ec11-a81b-000d3a7cc2c1

@mumurug-MSFT - Would you have insight into the customer's question about source IP address differences, depending on the type of managed identity used from APIM? Thanks.

So the question is why the source request IP address is different when using user-assigned identity from the source IP address when using system-assigned identity.
This has been raised here: https://stackoverflow.com/questions/70924786/azure-apim-how-to-obtain-ssl-certificate-from-key-vault-with-user-assigned-mana/76211095#comment125412404_70924786
Someone else had a related question which I am not sure how accurate that is: https://feedback.azure.com/d365community/idea/15dec974-4a84-ec11-a81b-000d3a7cc2c1

At this time I'm closing this issue because we don't plan to make changes to our documentation about this feature. If you want to discuss this further with community experts, I suggest using Microsoft Q&A. Thanks for taking the time to raise this issue!
#please-close


sql解析不支持update join形式，小弟想问一下是没必要支持还是后续会加上。

Why you need it?
Is your feature request related to a problem? Please describe in details
How it could be?
A clear and concise description of what you want to happen. You can explain more about input of the feature, and output of it.
Other related information
Add any other context or screenshots about the feature request here.

有答案就删，这个问题太low了，O(∩_∩)O哈哈~

后续会支持


Test cluster upgrading on Equinix Metal - Test Release KubeOne 1.5

This is a ticket for tracking the progress of testing cluster upgrading on Equinix Metal.
Follow instructions in #2247. Equinix Metal has automated E2E tests.
From v1.23.9 To v1.24.3

Containerd + External CCM

[x] Ubuntu: /test pull-kubeone-e2e-equinixmetal-default-upgrade-containerd-external-from-v1.23.9-to-v1.24.3
[x] CentOS: /test pull-kubeone-e2e-equinixmetal-centos-upgrade-containerd-external-from-v1.23.9-to-v1.24.3
[x] Flatcar: /test pull-kubeone-e2e-equinixmetal-flatcar-upgrade-containerd-external-from-v1.23.9-to-v1.24.3

From v1.22.12 To v1.23.9

Containerd + External CCM

[x] Ubuntu: /test pull-kubeone-e2e-equinixmetal-default-upgrade-containerd-external-from-v1.22.12-to-v1.23.9
[x] CentOS: /test pull-kubeone-e2e-equinixmetal-centos-upgrade-containerd-external-from-v1.22.12-to-v1.23.9
[x] Flatcar: /test pull-kubeone-e2e-equinixmetal-flatcar-upgrade-containerd-external-from-v1.22.12-to-v1.23.9

Docker + External CCM

[x] Ubuntu: /test pull-kubeone-e2e-equinixmetal-default-upgrade-docker-external-from-v1.22.12-to-v1.23.9
[x] CentOS: /test pull-kubeone-e2e-equinixmetal-centos-upgrade-docker-external-from-v1.22.12-to-v1.23.9
[ ] Flatcar: /test pull-kubeone-e2e-equinixmetal-flatcar-upgrade-docker-external-from-v1.22.12-to-v1.23.9

Even on the latest kubeone master build, I had to manually delete the machine-controller-webhook Pod when doing the 1.22.12 -> 1.23.9 upgrade, because the webhook could not talk to the Equinix API:
error: machinedeployments.cluster.k8s.io "marvinqa-pool1" could not be patched: admission webhook "machinedeployments.machine-controller.kubermatic.io" denied the request: validation failed: failed to list facilities: Get "https://api.equinix.com/metal/v1/facilities": dial tcp: lookup api.equinix.com: i/o timeout

@xmudrii FYI.

@embik This is sort of expected because KubeOne 1.4.7 doesn't have a fix needed for Flatcar clusters (#2301). That said, I'll go ahead and close this issue.


[nodemon] app crashed - waiting for file changes before starting.

when I tried npm run dev in a cms-server folder, The app got crashed. the error I have mentioned here.
error: Cannot find module '@angular-cms/API'
Require stack:

H:\download\healthcare\cms-server\dist\server.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:925:15)
at Function.Module._load (node:internal/modules/cjs/loader:769:27)
at Module.require (node:internal/modules/cjs/loader:997:19)
at require (node:internal/modules/cjs/helpers:92:18)
at Object. (H:\download\healthcare\cms-server\dist\server.js:3:13)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:973:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:76:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'H:\download\healthcare\cms-server\dist\server.js' ]
}
[nodemon] app crashed - waiting for file changes before starting...

Close this ticket since it was duplicated with #138
See the my comment for this issue
https://github.com/angular-cms/angular-cms/issues/138
Thanks


I2C Terminal

Added Classes like advanced LCD, Yes No Menu, Scroll List and List Item perhaps there will be a super class Viewable or LcObject to connect all these classes. All this code was not tested on a RPi.

Current version works without an Error. But there are still alot of things to do to make this version more stable


fabricbeat: make causing issue "undefined: idtools.Identity"

$GOPATH/src/github.com/blockchain-analyzer/agent/fabricbeat/vendor/github.com/elastic/beats/libbeat/scripts/Makefile
go build -i -ldflags "-X $GOPATH/src/github.com/blockchain-analyzer/agent/fabricbeat/vendor/github.com/elastic/beats/libbeat/version.buildTime=2019-09-26T21:23:34Z -X $GOPATH/src/github.com/blockchain-analyzer/agent/fabricbeat/vendor/github.com/elastic/beats/libbeat/version.commit=74ec2c73aedc79dc6349696d342a6afa8064164e"
#github.com/fsouza/go-dockerclient/internal/archive
../../../../../pkg/mod/github.com/fsouza/go-dockerclient@v1.4.4/internal/archive/archive.go:73:19: undefined: idtools.Identity
$GOPATH/src/github.com/blockchain-analyzer/agent/fabricbeat/vendor/github.com/elastic/beats/libbeat/scripts/Makefile:107: recipe for target 'fabricbeat' failed
make: *** [fabricbeat] Error 2
Any help would be highly appreciated.

for me, Go version 1.12.4 resolved it.

I am glad you figured it out.


Update API refs

Version
3.2.0
Current Behavior

Please check the text bar in api example. backspace doesnt seem to work. and a bit strange behaviour. it is working in 3.1.0 though.
Please Update Api refs to how to change brightness as well as how can i apply filters with more or less values.
Thanks.

Edit: Can i edit saturation and contrast?
Thanks in advance :)

Hello @OculusMode

I figured out what was the problem. I will solve this in a very short time.

We plan to augment the detailed documentation related to filter. Just wait a little.

There is a 'filter> Grayscale' feature with respect to saturation, but the specific detail editing is not yet supported.
But please wait a moment because we have the will to improve.

Thank you for reply and support.
I found brightness by value in your basic demo code which can be like
imageEditor.applyFilter("brightness", { brightness: parseInt(val,10 )})
can you just tell me what it would be expecting for another paras for grayscale?
imageEditor.applyFilter("grayscale", { ???: parseInt(val,10 )})

@junghwan-park there is no possible to change the value of filter effect like css, filter: grayscale(value) ??

@Alecyrus
There is no options for default values yet. ex) filter, text size and etc
But, I'm planning to add customizing options for default UI. :)

@junghwan-park Thank you for this nice work that inspires me.  And it is important to note that, filter is a  good feature but built-in filter is not practical. I am really looking forward there is some libraries like GPUImages on JS.  but now, I am  trying to use 3D LUTS to process image on NodeJS which could bring me many amazing effects.

@Alecyrus
I agree with you what you said. Built-in filters are not practical for users from now. But I'm considering to add UI customization API(including add/remove custom menu and set custom filters). Through that API, users could add custom filter like Analog Film I guess.
If you have an idea of adding custom filter feature or image processing extensions, please let us know with posting a new issue. Thanks :)


Spaces in fil/folder names give issues

In addition to the details for issue, please provide us Executables information and Debug output unless you have confidence that they don't help us.
Executables
Output of bash -c 'uname -a; for P in bash bashdb cat mkfifo pkill code; do echo ---; which -a $P; command $P --version; done:
Linux jk-dev 4.13.0-38-generic #43~16.04.1-Ubuntu SMP Wed Mar 14 17:48:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
---
/bin/bash
GNU bash, version 4.3.48(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2013 Free Software Foundation, Inc.
Licens GPLv3+: GNU GPL version 3 eller senere <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
---
/usr/bin/bashdb
bashdb, release 4.3-0.91
---
/bin/cat
cat (GNU coreutils) 8.25
Copyright © 2016 Free Software Foundation, Inc.
Licens GPLv3+: GNU GPL version 3 eller nyere <http://gnu.org/licenses/gpl.html>.
Dette er frit programmel: du kan frit ændre og videredistribuere det.
Der gives INGEN GARANTI, i den grad som loven tillader dette.

Skrevet af Torbjørn Granlund (Torbjörn Granlund) og Richard M. Stallman.
---
/usr/bin/mkfifo
mkfifo (GNU coreutils) 8.25
Copyright © 2016 Free Software Foundation, Inc.
Licens GPLv3+: GNU GPL version 3 eller nyere <http://gnu.org/licenses/gpl.html>.
Dette er frit programmel: du kan frit ændre og videredistribuere det.
Der gives INGEN GARANTI, i den grad som loven tillader dette.

Skrevet af David MacKenzie.
---
/usr/bin/pkill
pkill from procps-ng 3.3.10
---
/usr/bin/code
1.22.1
950b8b0d37a9b7061b6f0d291837ccc4015f5ecd
x64

Debug output
14:50:10, 2018-4-11
From client: initialize({"clientID":"vscode","clientName":"Visual Studio Code","adapterID":"bashdb","pathFormat":"path","linesStartAt1":true,"columnsStartAt1":true,"supportsVariableType":true,"supportsVariablePaging":true,"supportsRunInTerminalRequest":true})
To client: {"seq":0,"type":"response","request_seq":1,"command":"initialize","success":true,"body":{"supportsConditionalBreakpoints":false,"supportsConfigurationDoneRequest":false,"supportsEvaluateForHovers":true,"supportsStepBack":false,"supportsSetVariable":false}}
From client: launch({"type":"bashdb","request":"launch","name":"Bash-Debug (select script from list of sh files)","cwd":"/home/jk/Arkivering_Frederikshavn/zip - Zip Archive","program":"/home/jk/Arkivering_Frederikshavn/zip - Zip Archive/sort_zips.sh","args":[],"showDebugOutput":true,"trace":true,"pathBash":"bash","pathBashdb":"bashdb","pathCat":"cat","pathMkfifo":"mkfifo","pathPkill":"pkill","__sessionId":"c9c0fb46-948d-4df2-bbf3-462bc6c3d890"})
To client: {"seq":0,"type":"response","request_seq":2,"command":"launch","success":false,"message":"Error: cwd (/home/jk/Arkivering_Frederikshavn/zip - Zip Archive) does not exist."}
From client: disconnect({"restart":false})
To client: {"seq":0,"type":"response","request_seq":3,"command":"disconnect","success":false,"message":"TypeError: Cannot read property 'on' of undefined\n    at BashDebugSession.disconnectRequest (/home/jk/.vscode/extensions/rogalmic.bash-debug-0.1.1/out/bashDebug.js:35:29)\n    at BashDebugSession.dispatchRequest (/home/jk/.vscode/extensions/rogalmic.bash-debug-0.1.1/node_modules/vscode-debugadapter/lib/debugSession.js:347:22)\n    at BashDebugSession.dispatchRequest (/home/jk/.vscode/extensions/rogalmic.bash-debug-0.1.1/node_modules/vscode-debugadapter/lib/loggingDebugSession.js:48:15)\n    at BashDebugSession._handleData (/home/jk/.vscode/extensions/rogalmic.bash-debug-0.1.1/node_modules/vscode-debugadapter/lib/protocol.js:97:38)\n    at Socket.inStream.on (/home/jk/.vscode/extensions/rogalmic.bash-debug-0.1.1/node_modules/vscode-debugadapter/lib/protocol.js:18:44)\n    at emitOne (events.js:96:13)\n    at Socket.emit (events.js:191:7)\n    at readableAddChunk (_stream_readable.js:178:18)\n    at Socket.Readable.push (_stream_readable.js:136:10)\n    at Pipe.onread (net.js:560:20)","body":{"error":{"id":1104,"format":"{_stack}","variables":{"_exception":"Cannot read property 'on' of undefined","_stack":"TypeError: Cannot read property 'on' of undefined\n    at BashDebugSession.disconnectRequest (/home/jk/.vscode/extensions/rogalmic.bash-debug-0.1.1/out/bashDebug.js:35:29)\n    at BashDebugSession.dispatchRequest (/home/jk/.vscode/extensions/rogalmic.bash-debug-0.1.1/node_[...]

Details
Details goes here.
Whenever I work in a directory where the path contains spaces (in this case the project folder is named zip - Zip Archive) I get the following error message when trying to debug:

If you help with testing, then soon :).
bash-debug-0.1.1.vsix.zip

Will look at it tomorrow (CET) :)

OK, thank you for your feedback.


Fix to display the correct height bar even if changing the "height" of the props in StackedBar

Problem
When I changed the prop "height" from 220 to 300, I got wrong bar height in StackedBarGraph like bellow.

The reason that the problem occurred
Because it used a fixed value that is valid only at height: 220 to determine the position of y.
Solution
I changed to calculate y position using height passed by props.

thank you for your contribution, this is now available in 6.7.0


[ci]Fix build error introduced by C# tools update

Summary of the Pull Request

PR Checklist

[ ] Closes: #xxx
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

For context, the update for the C# tools started firing an error for this in the pipelines.


[Help] Is there a way to get the actual size of a view

I need some help. I'd like to get the actual size of a view as displayed on the screen.
Problem description
I have a SelectView inside a ScrollView, and like to implement pager functionality in the SelectView.
So if the user presses Space, I'd like to scroll down to the next page (or maybe the next page minus one row). To do this, I need to know the number of rows displayed by the ScrollView.
Also, if I knew the width of the ScrollView, I could implement row wrapping in the underlying SelectView.
Is there a way to do this?
Environment

Operating system: Linux/FreeBSD
Backend used: ncurses 5.9
Current locale

LANG=nb_NO.UTF-8
LC_CTYPE="nb_NO.UTF-8"
LC_COLLATE="nb_NO.UTF-8"
LC_TIME="nb_NO.UTF-8"
LC_NUMERIC="nb_NO.UTF-8"
LC_MONETARY="nb_NO.UTF-8"
LC_MESSAGES="nb_NO.UTF-8"
LC_ALL=

Cursive version 0.14.0

Hi, and thanks for the report!
I think there's a good chance retrieving the actual size is not what you want here. In particular, instead of having the SelectView implement pagination, why not do it in the ScrollView? It sounds like a great place to do that, since "scroll down to the next page" is something the ScrollView should do, not SelectView.
In general, the idea is that anything inside a ScrollView is not even aware that it is scrolling. For all it knows, it lives in a giant screen where everything fits easily (though it can be configured to only do that on one axis). This makes it easy to write most views, since you don't have to care about scrolling too much. Otherwise things could get really complex, especially when you start having nested ScrollView.
In this case, you would:

Use ScrollView::content_viewport to find what part of the SelectView is currently "visible".
Get the bottom_left corner from this viewport.
Use ScrollView::set_offset to jump to this new offset.
Profit

Also, if I knew the width of the ScrollView, I could implement row wrapping in the underlying SelectView

Right now SelectView is a bit limited and only support 1-line items, so it doesn't support line wrapping at all. But if it did, the solution would be to just disable x-axis scrolling for the ScrollView; this way, it will forward the width restriction from the parent, and SelectView would be able to line-wrap its content.

Thank you for taking the time to write this answer. Works like a charm!


chore(main): release 1.1.0

:robot: I have created a release beep boop
1.1.0 (2023-12-19)
Features

test: run tests dynamically using ts-node (#5) (4b80f3a)

Bug Fixes

package.json: control which files get bundled with the package (#3) (914381c)

This PR was generated with Release Please. See documentation.

not worth releasing


refactor - internal test file put in own folder and made more readabl…

Ok, I did way too many git commands that made things irrevocable confusing. So I reset my fork to be connected to upstream/master, prior to doing so saved what I did previously and simply copy/pasted.
Hope this is fine now! Thanks... I'll put time to understanding rebase as soon as I can.

Sometimes this is the best and easiest option. Rebase seems complicated, but once you wrapped your head around it, it is actually quite simple. Talking from personal experience here. 😁
I'll have a look and get back to you. Thank you.

Coverage remained the same at 82.493% when pulling 29a17b5ba3f504fb33a941a9a2ea6ab5fe533b57 on jMuzsik:refactor_internaltests into 30efb77cde94304a5038d9f5c3457243256616e3 on lukasoppermann:master.

Thanks. 👍

@lukasoppermann I'll continue working on the tests unless there is something else you'd prefer me to do

Hey @jMuzsik, that sounds good. 👍 Thank you. Especially now that the code base is changing a lot, it will be crucial to have a solid and easy to understand test base.


how to use  MaterializedView ，I didn't find the relevant submit task command.

My is curl -XPOST -H'Content-Type: application/json' -d @view.json http://<IP_ADDRESS>:8090/druid/indexer/v1/MaterializedViewSupervisor This command task does not respond?
Is my task command wrong? I didn't find the relevant submit task command.

Hi,
You have to run something like this:
curl -X 'POST' -H 'Content-Type:application/json' -d @view.json "http://<IP_ADDRESS>:8090/druid/indexer/v1/supervisor"

Have a nice day!

Hi,
You have to run something like this:
curl -X 'POST' -H 'Content-Type:application/json' -d @view.json "http://<IP_ADDRESS>:8090/druid/indexer/v1/supervisor"

Have a nice day!

yes
[groupBy_[xxx_view2]_ad3ca90c-30b0-4be2-9169-739114c583b7]]
org.apache.druid.query.materializedview.DataSourceOptimizer - +++++++derivatives+++++++[]
this is my Configuration
'http://xx.xx.xx.xx:8082/druid/v2/?pretty='
{
"type":"derivativeDataSource",
"baseDataSource":"xx_view2",
"dataSource":"xx_view_11",
"dimensionsSpec":{
"dimensions":[
"xx",
"xx"
]
},
"metricsSpec" : [
{ "name": "xx",
"type": "doubleSum",
"fieldName":"xx"}
],
"tuningConfig": {
"type":"hadoop",
"jobProperties" : {
"mapreduce.job.user.classpath.first":"true",
"mapreduce.reduce.speculative" : "false",
"mapreduce.map.speculative": "false"
}
}
}
submit task
curl -XPOST -H'Content-Type: application/json' -d @xx.json http://xx.xx.xx.xx:8090/druid/indexer/v1/supervisor
query
'{"queryType":"view","query":{"queryType":"groupBy","dataSource":"xxx_view2","granularity":"all","descending":"true","limitSpec":{"type":"default","limit":1},"context":{"priority":1,"timeout":10000000,"queryId":"c7156e24-ad74-4a4b-ae24-2df660cd8287","groupByStrategy":"v2"},"dimensions":["xx"],"aggregations":[{"type":"longSum","name":"xx","fieldName":"xx"}],"intervals":["2017-04-26T00:00:00.000+08:00/2017-04-28T00:00:00.000+08:00"]}
I can't get an optimized materialized view
This is my log
2019-04-11T11:54:21,057 INFO [qtp1556201248-110[topN_[xx_view2]_c7156e24-ad74-4a4b-ae24-2df660cd8287]] org.apache.druid.query.materializedview.DataSourceOptimizer - +++++++derivatives+++++++[]
I am wondering why the derivatives are null, as normal, will get derivatives


issue with pinecone similarity_search function

While I am trying to rebuild chat_pdf based on mayo's example.
I noticed that vector store with pinecone doesn't respond with similar docs when it performs similarity_search function.
I test it against other vector provider like faiss and chroma. In both cases, those all works.
Here is the code link
Steps to reproduce.
"""
from simple_chat_pdf.components.question_handler import QuestionHandler
question = 'what is this legal case about'
r = QuestionHandler().get_answer(question=question, chat_history=[])
"""
You can switch from different vector and see only pinecone provide failed and didn't find similar docs
you need to switch to your open_api key because mine might expire

Did you find any solution for this


Added a utility function to get a non-scalar SkyCoord from a list of targets

The rationale behind this PR is that it is often faster to make calculations with a non-scalar SkyCoord than with a list of FixedTarget objects or SkyCoord objects. However, making the conversion is non-trivial so a helper function is required.
The utility function described here will return a SkyCoord object when passed either:

a single FixedTarget or SkyCoord
a list of FixedTargets or SkyCoords.

In the latter case, the returned SkyCoord will be non-scalar.
In the case where all of the supplied target coordinates are in the same frame, no conversion will take place. If there is a mix of frames, all coordinates will be converted to ICRS.
One potentially controversial decision is what to do when there is a mix of coordinates with distances and those without. You cannot create a SkyCoord with a mix like this. It is, IMO, not right to discard the distances from targets that have them, since any transformation into a frame with a different origin will be incorrect. Instead, I assign an arbitrary, large, distance to those targets which lack it.

These tests will currently fail since the tests in get_skycoord to check if the frame is equivalent die on frames with the obsgeoloc property set. This is fixed in astropy/astropy#5207.

These tests should currently fail since the tests in get_skycoord to check if the frame is equivalent die on frames with the obsgeoloc property set. This is fixed in astropy/astropy#5207.

I'd like to resurrect this PR in light of the broadcasting issues with astropy 1.3 (#282, #263).
This PR should now pass tests, and moving away from using a list of FixedTarget objects to a vector SkyCoord for internal calculations may be the easiest way to deal with the broadcasting issues, and would probably speed up the code and make it more powerful.

Thanks @StuartLittlefair. I'll pick this PR into my testing branch, that contain all the fixes with the other issues. It that pass we can have a big merging event :)

@bsipocz the approach I'm suggesting will probably involve a large amount of re-factoring in the end, but I'm thinking we should always be broadcasting the targets (first axis) against the obstimes, which can be any shape. An example would be that the current observer.altaz function would look like:
        if not isinstance(time, Time):
            time = Time(time)
        if time.isscalar:
            time = Time([time])

        altaz_frame = AltAz(location=self.location, obstime=time,
                            pressure=self.pressure, obswl=obswl,
                            temperature=self.temperature,
                            relative_humidity=self.relative_humidity)
        if target is None:
            # Return just the frame
            return altaz_frame
        else:
            # convert target argument to vector SkyCoord
            targets = get_skycoord(target)
            # now we broadcast the targets array so that the
            # first index iterates over targets, any remaining indices over times
            while targets.ndim <= altaz_frame.ndim:
                targets = targets[:, np.newaxis]
            return targets.transform_to(altaz_frame)

@StuartLittlefair - The PR is it's current form is merged into a test branch that includes the other fixes, too, but there are still a few broadcasting failures both in the code and the docs, e.g.
https://travis-ci.org/bsipocz/astroplan/jobs/196944611#L738
Full build:
https://travis-ci.org/bsipocz/astroplan/builds/196944604
While the proposed behaviour changes looks OK to me, I have to state that I don't know the code itself well enough to make any decisions.

Hi @bsipocz
Thanks for including the pr. It won't, by itself fix the broadcasting issues but the helper function it provides might give a way to work with astropy coordinate broadcasting rather than against it.
I've been working on a PR based on the current master to show how this might be done, but it's not a quick fix and due to other time pressures probably won't be available to address #282 in a timely fashion unless someone else picks it up.

@StuartLittlefair - sure, no worries, I was just mislead by the comment above that this should pass the tests.
@wtgee mentioned in https://github.com/astropy/astroplan/issues/282#issuecomment-274763366 that he already fixed some of the issues, maybe he can pick this up, too?

Superseded by #285


Dataclass schema attr

Change Summary

Fix schema generation for dataclass-based models.
model.__pydantic_model__.schema() used to throw exceptions for required fields with no default values. Now it's fixed. Unittests added to cover such cases
Related issue number
#408

Checklist

[x] Unit tests for the changes exist
[x] Tests pass on CI and coverage remains at 100%
[x] Documentation reflects the changes where applicable
[x] HISTORY.rst has been updated

if this is the first change since a release, please add a new section
include the issue number or this pull request number #<number>
include your github username @<whomever>

awesome, thanks.


DRAFT: Provide OSM export and GTFS link mapping commands in one branch

Just merged master into this after all of the recent changes we've put in, and this is finally close-able, because all of the relevant changes that have been tracked here for a long time have finally been merged! Every change remaining in this branch is either unused code or wrong (lots of little imports we don't need), so we can get rid of all of it.


Finalize documentation organization

Airtable –   I hacked this up as a way to keep documentation at least linked to the core   product, for when users get stuck, they could come here to find the   links. https://airtable.com/tbl0nPceXvH9I4cyK/viw93pDlgG9neprmG?blocks=hide The   CMS documentation currently lives here directly. I also have old visual   documentation that I wrote out   here https://whimsical.com/LE8KPDkxRb1gB9GzuX8Qz2 but it’s   outdated. I would like this week to update the CMS documentation in some way   , probably we just add some images to Kate’s already incredible written documentation.
I was playing around with using google slides to create   documentation for airtable features, the   blocks. https://docs.google.com/presentation/d/1HEmJHDSBF7yK1JyDiN-7JdwfRPE1-AEqkrAkvHGmzZ0/edit#slide=id.p
Github https://github.com/usdigitalresponse/neighbor-express

@erinfrey ,  Are you working on this item? Lets sync up on documentation and open action items

Hey @neelamsaboo I just pinged Anya yesterday – yes let's do this after the holiday.


Mismatch in Checksum

My issue is related to issue #56 mainly but also #118 which had no proposed solutions.
Issue: When I run the following command:
./AAXtoMP3 --authcode XXX book.aax
With the XXX retrieved with audible-activator
I get the following error:
`[aax] mismatch in checksums!
error reading header
book.aax: Invalid data found when processing input`
Environment:

Ubuntu 20.04 based distro
ffmpeg version: 4.2.7
All other dependencies installed.

When the following command is run:
bash AAXtoMP3 --single -e:mp3 --validate --authcode XXX -d book.aax
Along with the errors above I get a "Invalid File: book.aax"
I have downloaded 1 of the books twice. They both generated the same checksum.
Then I downloaded a different book. The same issue persists.
Not a single book was successfully converted with this method yet.
The command:
ffmpeg -activation_bytes XXX -i book.aax output.mp3
Also returns the same errors so I will update my ffmpeg version while this issue is being resolved.
Any advice is appreciated.
UPDATE: I have upgraded ffmpeg to 5.1.2 and it did not resolve the issue.
UPDATE 2: I'm aware of the issue #98 where it was said that the wrong activation code would cause this issue. I've double checked my activation code and it is correct. #164 says audible-activator is giving the wrong key.

OK problem solved.
This is a really bad solution but the key was actually wrong and issues #98 and #164 was right.
What you do is the following:

Run ffmpeg -activation_bytes aaaaaaaa -i book.aax output.mp3  which has the wrong activation key
It will spit out a long checksum that looks like this: [aax] file checksum ==<PHONE_NUMBER>111111111111111111111111
Copy that checksum and put it into the following website: audible-converter
Run the actual conversion again: ./AAXtoMP3 --authcode XXX atomic.aax with the XXX obviously from that website.

The readme for the repo needs to be updated.

audible-activator does not work.
Suggest a new alternative (maybe what I've used but we need an offline version)
README should contain a line that says "If you are getting a [aax] mismatch in checksums! error your activation-bytes are incorrect" or something like that.

OK problem solved.
This is a really bad solution but the key was actually wrong and issues #98 and #164 was right.
What you do is the following:

Run ffmpeg -activation_bytes aaaaaaaa -i book.aax output.mp3  which has the wrong activation key
It will spit out a long checksum that looks like this: [aax] file checksum ==<PHONE_NUMBER>111111111111111111111111
Copy that checksum and put it into the following website: audible-converter
Run the actual conversion again: ./AAXtoMP3 --authcode XXX atomic.aax with the XXX obviously from that website.

The readme for the repo needs to be updated.

audible-activator does not work.
Suggest a new alternative (maybe what I've used but we need an offline version)
README should contain a line that says "If you are getting a [aax] mismatch in checksums! error your activation-bytes are incorrect" or something like that.

There are offline tools that can "crack" the activation bytes just from the AAX file, but I've resisted putting links to those tools in the README to avoid any piracy implications that might have.


Extractors simply will not function on top/bottom of machines/storage

Minecraft version & Mod Version: 1.12.2 1.13.0
Single player or Server: Single player
Describe problem (what you were doing / what happened): as stated in the title: Extractors simply will not function on top/bottom of machines/storage. This includes chests, tanks, machines of all kinds. They function just fine on the sides and properly extract that way.
Crash log (if any): N/A

https://minecraft.curseforge.com/projects/cyclic/files/2533820


Docs for disabling CA Certificates

Summary

This PR to enable disabling CA Certificates Buildpack was recently merged. The docs on the website should note how to disable the behaviour with the newly added environment variable.
Use Cases

Checklist

[X] I have viewed, signed, and submitted the Contributor License Agreement.
[] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[X] I have added an integration test, if necessary.
[X] I have reviewed the styleguide for guidance on my code quality.

@ForestEckhardt I think we need to ship this change before publishing the docs?
cc @dmikusa-pivotal


Receiving Error bootstrap 67a9c4c…:567Uncaught Error: Cannot find module "./app.js"

I'm receiving the following error in the console:
bootstrap 67a9c4c…:567Uncaught Error: Cannot find module "./app.js"
webpackMissingModule	@	bootstrap 67a9c4c…:567
(anonymous function)	@	bootstrap 67a9c4c…:567
webpack_require	@	bootstrap 67a9c4c…:544
(anonymous function)	@	bootstrap 67a9c4c…:567
(anonymous function)	@	bootstrap 67a9c4c…:567
And I'm getting these errors in Terminal:
ERROR in ./src/javascripts/app.js
Module build failed: TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.dirname (path.js:1326:5)
at /Users/mariacam/Development/tic-tac-toe/xoApp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:353:36
at /Users/mariacam/Development/tic-tac-toe/xoApp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:375:22
at Array.map (native)
at OptionManager.resolvePresets (/Users/mariacam/Development/tic-tac-toe/xoApp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:364:20)
at OptionManager.mergePresets (/Users/mariacam/Development/tic-tac-toe/xoApp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:348:10)
at OptionManager.mergeOptions (/Users/mariacam/Development/tic-tac-toe/xoApp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:307:14)
at /Users/mariacam/Development/tic-tac-toe/xoApp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:349:14
at /Users/mariacam/Development/tic-tac-toe/xoApp/node_modules/babel-core/lib/transformation/file/options/option-manager.js:369:24
@ multi app
webpack: bundle is now VALID.
As a result, my javascript is no longer working properly.
I originally was running this with Node 4.4.7 and npm 2+. Yesterday I upgraded to Node 6.5 and npm 3.10.3. I also made sure that my dependencies were updated. Still had the issue afterwards.

Hello,
I had the same problem.
An upgrade to<EMAIL_ADDRESS>may solve the problem.
At least this did it im my case.

Had the same problem and @Imaginarydesign solution of upgrading babel-core to 6.10.4 worked for me also.

Just ran into this problem and @Imaginarydesign's solution fixed it nicely.


Added translate function to lyrics

This commit add a translate button to song screen, allowing the users to translate the lyrics.
To this button appear on song screen, you need to enable translate on Settings screen and choose a language to translate.
You can improve this function, creating TranslatePlugins, to get translated songs from another sources..
Please, analyze this and, if you have douts or questions, ask me, then we can solve the problems together.
Thanks.

Hello @renatonolo thanks for submiting this PR. I've merged it and resolved conflicts with last master in this branch: https://github.com/emilioastarita/lyricfier/tree/translated-lyrics . I think that needs some work before to be merged on master. Do you want to work on it?

Update detectSeries to the same logic that now is using the lyric searcher.
Setting option Enable Translate to lyrics has not default on first launch (use Disabled).
Would be nice if after pressing Translate the interface scrolls to top (we are doing that on song change)
Remove unused vars.
If any API_KEY is needed this must be a configurable option in Setting.
Translate Lyrics button must not be visible when there is no lyrics yet.

Thanks! If you need any help let me kwnow.

Hello man. I'm back.
I saw your suggestions and I liked. Then, I already did the modifications, according your suggestions.
Can you see and analyze that to merge or not this modifications?
If you have questions, ask me.. :+1:
See you...

Ok I would check about API_KEY if this is private or not. Usually this could be a problem because multiple users share the same credentials so you hit soon to the rate limits of the APIs. Can you provide a link where I can investigate about TOS and conditions of the provider?


Provide a link to add to CONTRIBUTING.md

After setting up cla-assistant for a project I help maintain (tldr-pages), at no step I could find a link to the CLA page (i.e. not the gist, but the actual page at cla-assistant.io).
Eventually, by clicking in the "Details" link in a pull request, I figured out that a link in the form https://cla-assistant.io/tldr-pages/tldr would work. It would be nice if this was pointed out during the initial setup.

I'm still interested in this.

I would like to know about this too.

I linked the name of the CLA file with the CLA page. You can easily navigate to this page by clicking on the link. I hope it is sufficient for your use case.


Invalid operands types in ycbrcr422_8 to rgb444 shader

On line 25 of ycbcr422_8_to_rgb444.shader
https://github.com/deltacasttv/video-viewer/blob/1cfb300544d8b9aae8770198e7699e4ea96d44af/src/ycbcr422_8_to_rgb444.shader#L25
A mod operation is performed on an int and float, which throws an error.
Proposed change:
bool odd_column = (mod(coords.x, 2) >= 1.0);\n

Fixed in pull request #11


Option to specify different API URL suffix from Name

When API is created Name is used in API-URL suffix, would like to gave an option to differ from name.

I'm not sure if I'm understanding your request, can you please elaborate more and/or add a screenshot?
If you want to have an api suffix on the gateway that is different from the name you can simply change that during or after creation of the api itself.

<EMAIL_ADDRESS>We are deploying from a swagger file, but in the end we will get https://apitstinh.azure-api.net/tst-onderwijsinstelling/v2-api/onderwijsinstelling/onderwijseenheden.
If we can modify the base url. To test and keer the name tst-onderwijsinstellingv2-api that would be awesome. If we modify the URL in azure it still works, however next deployment the API URL suffix will be overwritten again with full name.
So only if API URL Suffix –eq “” it should copy Name, else it should use the suffix given in deployment.
Kindest Regards,
Dirk Jellese
Informatie Voorziening & Technologie (IVT) – Technisch Applicatie Beheer
From: Tom Kerkhove<EMAIL_ADDRESS>Sent: donderdag 12 juli 2018 15:40
To: stephaneey/azure-apim-extension<EMAIL_ADDRESS>Cc: Jellese, Dirk<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [stephaneey/azure-apim-extension] Option to specify different API URL suffix from Name (#8)
I'm not sure if I'm understanding your request, can you please elaborate more and/or add a screenshot?
If you want to have an api suffix on the gateway that is different from the name you can simply change that during or after creation of the api itself.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/stephaneey/azure-apim-extension/issues/8#issuecomment-404515488, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AnPvOakbWGUBgoUxElgmiRCVuXNIDcoyks5uF1GwgaJpZM4VMqxR.

Unfortunately I cannot see the image that you've added but when you import - Do you do it in the portal or via PowerShell?

Hi,
@tomkerkhove  I guess they just use my extension to deploy their API and indeed, I'm not offering any option for the API suffix as you have in the portal. I will rework the extension, you can expect to have a V2 anytime soon. I'm just back from Japan so I had no time but I will try to work on it soon.
Thanks
Best Regards

Hello,
That would be awesome, it is our last piece of the puzzle for deployment via TFS/VSTS.
I’ll try to make a public folder on my OneDrive to share the screenshots for the future.
I’m trying to get familiar with GitHub, the desktop program is not doing what it should on my laptop.
I don’t know if you appreciate any extra’s via a fork, let me know. Maybe I can contribute to your great work.
I use powershell a lot to make any task easier.
Kindest regards,
Dirk Jellese
From: stephaneey<EMAIL_ADDRESS>Sent: donderdag 12 juli 2018 16:49
To: stephaneey/azure-apim-extension<EMAIL_ADDRESS>Cc: Jellese, Dirk<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [stephaneey/azure-apim-extension] Option to specify different API URL suffix from Name (#8)
Hi,
@tomkerkhovehttps://github.com/tomkerkhove I guess they just use my extension to deploy their API and indeed, I'm not offering any option for the API suffix as you have in the portal. I will rework the extension, you can expect to have a V2 anytime soon. I'm just back from Japan so I had no time but I will try to work on it soon.
Thanks
Best Regards
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/stephaneey/azure-apim-extension/issues/8#issuecomment-404538720, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AnPvORN_8g3KaZtsmmpsocpK5KKfksgLks5uF2HIgaJpZM4VMqxR.

I added the screenshot I was talking about.

Hi @DirkJelleseInh
Something like this

I need time to make a PR.
Regards!

@lurumad yes that's the part we would like to controle separate of the name

@DirkJelleseInh  @lurumad  I'm working on this, I'm fixing the easiest problems first :) but I'll definitely work on that one too.

Hi @stephaneey
I've done this in a private branch.
Regards!

Hi @lurumad
Might be interesting to share so that I don't reinvent the wheel.
Thanks

Done in #9
Regards!

Hello,
Great, thanks! Just published a new release on the market place.

I set it using New-AzApiManagementApi specifying -Path`.
The problem is that you can't left it blank, like for -ServiceUrl.
A workaround maybe using directly New-AzResource directly, but I had problems defining versions in such case.
See this S.O. question: https://stackoverflow.com/questions/60882705/azure-create-a-new-api-management-service-without-a-service-url/60962169?noredirect=1#comment107926794_60962169.


multi-line bytes

Would be great to have an ability to specify multi-line bytes:
stdout
  as-string
    01-03-43-44-A8-
    09-32-55-C3

@yegor256 This is done, please close

@andreoss thanks!


Add support for Public IP Address Prefix on Load Balancer frontend IP and Azure Public IP resources in loadbalancer sub-module

Is your feature request related to a problem?
In loadbalancer sub-module, both azurerm_public_ip resource and azurerm_lb resource does not allow a way to pass in a public_ip_prefix_id. This is necessary in cases where we want to either 1) BYO-IP with Custom IP Prefix, or 2) reserve a static range of Azure public IPs. In our case, we have onboarded a /24 range via BYO-IP with Custom IP Prefix and have created a smaller /28 range as Azure Public IP prefix. We want to be able to have the Public IP of the Load Balancer to be allocated from this Azure Public IP Prefix instead.
Describe the solution you'd like
Here's an example of adding azure_public_ip_prefix_id...
resource "azurerm_public_ip" "this" {
  for_each = { for k, v in var.frontend_ips : k => v if v.create_public_ip }

  name                = each.value.public_ip_name
  resource_group_name = var.resource_group_name
  location            = var.region
  allocation_method   = "Static"
  sku                 = "Standard"
  zones               = var.zones

  public_ip_prefix_id = each.value.public_ip_prefix_id

  tags                = var.tags
}

resource "azurerm_lb" "this" {
  name                = var.name
  resource_group_name = var.resource_group_name
  location            = var.region
  sku                 = "Standard"
  tags                = var.tags

  dynamic "frontend_ip_configuration" {
    for_each = var.frontend_ips
    iterator = frontend_ip
    content {
      name = frontend_ip.value.name
      public_ip_address_id = frontend_ip.value.create_public_ip ? (
        azurerm_public_ip.this[frontend_ip.key].id
      ) : try(data.azurerm_public_ip.this[frontend_ip.key].id, null)

      public_ip_prefix_id = frontend_ip.value.create_public_ip ? null : try(frontend_ip.value.public_ip_prefix_id, null)

      subnet_id                     = frontend_ip.value.subnet_id
      private_ip_address_allocation = frontend_ip.value.private_ip_address != null ? "Static" : null
      private_ip_address            = frontend_ip.value.private_ip_address
      zones                         = frontend_ip.value.subnet_id != null ? var.zones : null

      gateway_load_balancer_frontend_ip_configuration_id = frontend_ip.value.gwlb_fip_id
    }
  }

 ....

Describe alternatives you've considered.
No response
Additional context
No response

Hello @jinkang23, thanks for raising this. I suppose you wanted to use a Public IP Prefix as an LB frontend for outbound traffic from VM-Series firewalls. I implemented the improvements in PR #64. Should be released soon when approved.

Hi @acelebanski  - Yes, and thank you for working this feature request!

Hello @jinkang23, I changed the PR associated with this issue. We changed the approach and we're going to offer this functionality with the new public_ip module.


Upgrade tRPC to version 10

Context
Upgrade current version of tRPC to version 10.
The upgrade guide is here:
https://trpc.io/docs/migrate-from-v9-to-v10
Expected Behavior
There should be no functional changes but the code should be refactored for v10.
Provide any additional information here

Closed #113


Fixes Issue #604 : Central Limit Theorem(A) #1666

Description 📜
Fixes #1666  ML 1.3 : Central Limit Theorem (A)
Added file README.md that provides a link to google drive audio.

Type of change 📝

[x] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)

Domain of Contribution 📊

[x] Machine Learning

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

@Khushi-Shah-1 you have added the files to main, please delete those and add it to machine learning branch and also follow the the demo folder for audio format as you have created your own folder.


Remove useless repo reference to dotnet-xref

Learn Build status updates of commit c4a0f61:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Add read and write tracers

🚅Search before asking

We needs many tracers using eBPF to track operations on data. There is no tracers to trace read and write operations on files. So we need read and write tracers.
🚅Description

Add new read and write bcctracer just like other tracers here.
🏕Solution

1.See our Developer Manual
2.Look at implentation of other tracers.
3.Fork our project and use BCC to write  bcctracers under our framework and test them locally.
4.Create a PR.

Acknowledged


Audio Cues for other events

One of the problems I've faced when using Dialogic is the task of having to set up audio events that play once during certain events, like a character portrait introduction/change, or unique sounds for each dialog box. Something like OFF is what I had in mind for this.

Hey @loansharkmann, I think there is already a dialog sound per character planned, which could help for your idea.
I think it will be very hard to figure out a clean UI for adding sound options to other events. Of course you can just use a Sound Event when a character enters. Also you could listen to the "event_start" signal of the dialog node. You could check the type of event and even it's specifics (like what player entered) and then play a sound or do whatever you want. It requires a bit more understanding of godot, gdscript and dialogic though.
If this is what you were looking for and you need some help, we are available on emilios discord server.

Well, I was using Audio Events for it, but there were some delays between the portraits showing up and the audio being played, so I wanted to know if a more streamlined way of doing it would be possible. Anyway, thanks!

It would be interesting to make it easier to add sound to events being executed. Events like character join, close dialog, open dialog should all be easy to hookup with sounds. Maybe if we properly emit signals once those events are present we can write a small guide to how to write a global script to handle those sounds. Leaving the issue open to not forget about this one.


Error with Notebook

It throws the following error,
initialize network with normal
pre-trained renderer does not exist...
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
<ipython-input-11-a13d7e15e5e1> in <module>()
      1 pt = Painter(args=args)
----> 2 optimize_x(pt)

1 frames
/content/stylized-neural-painting/painter.py in _load_checkpoint(self)
     74         else:
     75             print('pre-trained renderer does not exist...')
---> 76             exit()
     77
     78

NameError: name 'exit' is not defined

Hi @Zumbalamambo, are u running on Colab or on your local machine with command? It seems that the checkpoint loader cannot find your pretrained model. Have you downloaded and unzip the pretrained renderers first? If you are running locally, can you show me which command are you using?

I had the same issue, make a copy in drive, I just totally forgot.


HmIP-FROLL ch:3 / Status vermisst

I agree to the following

[X] I have read the documentation
[X] I am aware of the latest release notes
[X] The Backend (CCU/Homegear/...) is working as expected and connected devices are controllable by its own UI.
[X] I am running the latest version of the custom_component (and Home Assistant)

The problem
Vielen Dank für eure Arbeit an dieser Integration!
Ich vermisse den Status Kanal / Channel 3 des og. Aktors. Die versteckten und deaktivierten Entitäten habe ich bereits durchsucht: nix.
Kann dieser Kanal „aktiviert“ werden?
What version of HomematicIP (local) has the issue?
1.40.1
What was the last working version of HomematicIP (local)?
No response
What type of installation are you running?
Home Assistant OS
What type of installation are you running for your homematic backend?
RaspberryMatic Standalone
Which version of your homematic backend are you running?
<IP_ADDRESS>30626
What hardware are you running for your system?
Proxmox
Which config details do you use

[ ] Username and password
[ ] TLS
[ ] callback data (see)

Which interfaces do you use?

[X] Homematic IP
[ ] Homematic (Bidcos-RF)
[X] Groups (Heating-Group)
[ ] BidCos-Wired (HM-Wired)

Diagnostics information
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response

Da der Kanalstatus (4,5,6) bei den Broll/Froll/... nicht sauber umgesetzt wird (kann springen), verwendet die Integration für den ersten Aktorkanal (4) den Status von Kanal 3. Die weiteren virtuellen Kanäle verwenden jeweils ihren eigenen Status.


New apps doesn't show in the homescreen

Requires reboot, or relaunch of the homescreen to get them

weird, opening any app should reload all the apps container.
will study this ...

Should be updated as soon as the app is installed, not launched

On 01 Feb 2016, at 17:39, leandro<EMAIL_ADDRESS>wrote:
weird, opening any app should reload all the apps container.
will study this ...
—
Reply to this email directly or view it on GitHub.


⚠ Bofrost.at has degraded performance

In a5e809d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1724 ms

Resolved: Bofrost.at performance has improved in d86502c after 6 minutes.


BotConfiguration does not have a LoadSync() method

This exists in the NodeJS implementation

Errr, that's because that's not how you would do it in .NET, right? .NET has a specific configuration story and I would argue you want to follow that, so you would load a BotConfiguration from config using the built in configuration APIs.
In .NET Core the simplest solution for this would be to treat it as an IOptions<T>. In fact, I had tested this a while back when I was first writing the integration lib and I'm pretty sure it already works. We would want to research this further tho 'cause I think there are some types on BotConfiguration these days that are not easily expressed from a configuration perspective (e.g. non-intrinsitc types). For that we'd just need to explore whether or not we want to write some type converters.
For .NET FF (i.e. WebAPI) we'd just want to add a custom ConfigurationSection into that box.

Fix merged.


Fix example env "allinone-centos" logging variables

This will be solved when this (https://github.com/blueboxgroup/ursula/pull/2349) merges


Header not showing

I've just tried to implement the basic example but the header isn't displaying? I'm on:
"react-native": "0.63.3"

Using:
  const [index, setIndex] = useState(0);

  const [routes] = useState([
    { key: 'first', title: 'First' },
    { key: 'second', title: 'Second' },
  ]);

  const _renderHeader = () => (
    <View style={styles.header}>
      <Text style={styles.headerText}>COLLAPSIBLE</Text>
    </View>
  );

  const _onTabPress = (tabProps) => {
    tabProps.jumpTo(tabProps.route.key);
  };

  const _renderTabBar = (props) => {
    return <TabBar {...props} onTabPress={_onTabPress} />;
  };

  return (
    <CollapsibleTabView
      navigationState={{ index, routes }}
      onIndexChange={setIndex}
      renderHeader={_renderHeader}
      renderScene={SceneMap({
        first: () => null,
        second: () => null,
      })}
      renderTabBar={_renderTabBar}
    />
  );

Any ideas?

It seems like you should include the header in renderTabBar?
const [index, setIndex] = useState(0);

  const [routes] = useState([
    {
      icon: (
        <FontAwesomeIcon
          color={C.COLOR_BLACK}
          icon={['fab', 'apple']}
          size={20}
          style={styles.iconStyle}
        />
      ),
      key: 'first',
      title: 'First',
    },
    { key: 'second', title: 'Second' },
  ]);

  const _renderHeader = (props) => (
    <>
      <View style={styles.header}>
        <Text style={styles.headerText}>COLLAPSIBLE</Text>
      </View>
      <TabBar {...props} onTabPress={_onTabPress} />
    </>
  );

  const _onTabPress = (tabProps) => {
    tabProps.jumpTo(tabProps.route.key);
  };

  return (
    <CollapsibleTabView
      navigationState={{ index, routes }}
      onIndexChange={setIndex}
      renderScene={SceneMap({
        first: () => <SomeRoute color="white" routeKey="first" />,
        second: () => <SomeRoute color="black" routeKey="second" />,
      })}
      renderTabBar={_renderHeader}
    />
  );

Hi @alexpchin no, the header shouldn't be included in the tab bar.
Did you forget to add the styles? Assuming you are copying from the quick start example in the readme.
const styles = StyleSheet.create({
  header: {
    height: HEADER_HEIGHT,
    backgroundColor: '#2196f3',
    justifyContent: 'center',
    alignItems: 'center',
    elevation: 4,
  },
  headerText: {
    color: 'white',
    fontSize: 24,
  },
  content: {
    height: 1500,
  },
});

Hi @PedroBern I do appreciate that this issue seems like I haven't followed the installation instructions... I promise I'm not simple ;)  I am adding to an existing react-native application.
Firstly, to get up and running I had to install @react-navigation/material-top-tabs. Whilst I do have react-navigation running in the project, it seemed from the README that you only had to do this if you were integrating with react-navigation rather than just using the component on a screen.
I will investigate further and perhaps create a demo to share on CodeSandbox or something.
Question - If the content of one of the tabs is shorter than the other, are the tabs meant to stick at the top?
Thanks,
Aleex

FYI,  a small update. The issue is when you omit the headerHeight which the docs say is optional. I checked the code in your example. If you comment out CollapsibleTabViewDemoExample, you will see the issue I was facing.
return (
    <CollapsibleTabView
      // headerHeight={HEADER_HEIGHT} // optional, will be computed.
      navigationState={{ index, routes }}
      onIndexChange={handleIndexChange}
      renderHeader={renderHeader}
      renderScene={renderScene}
    />
  );

Thanks!

FYI, a small update. The issue is when you omit the headerHeight which the docs say is optional. I checked the code in your example. If you comment out CollapsibleTabViewDemoExample, you will see the issue I was facing.

That's weird, it does not happen here. I've just commented out, I get the same behavior as before.

Question - If the content of one of the tabs is shorter than the other, are the tabs meant to stick at the top?

Do you mean the tab or the screen of the tab? If you have a tab screen smaller than the window, you can see small content example.

I will investigate further and perhaps create a demo to share on CodeSandbox or something.

Perfect, if can do that I appreciate :)

Thank you for the heads up on the small content example.
So far my steps:

I forked the repo.
Loaded the packages in example with yarn.
Ran the example using ios simulator. (Everything worked ok).
Commented out the line about headerHeight which causes the header not to appear.

Interestingly, the header works fine if the value is:
headerHeight={1}

The line in CollapsibleTabView:
{headerHeight > 0 && renderHeader()}

If the default headerHeight is 0 and there is no headerHeight provided by props, if renderHeader has been provided then a header will render, if not then you'll render null... So can you not just omit this check?
{renderHeader()}

Thank you for the heads up on the small content example.

It will be handled inside the package in the next release with #17
Regardings the header height, I will check it today and come back here.

UPDATE2 ...

The 48 is the minHeight. You can check the real tabBarHeight with the following code in your fork. We need to chose between computing the real tabBarHeight or headerHeight onLayout, we can't guess both, only if one of then is provided, in this case, I choose to always have tabBarHeight, allowing to render a header without up front height.
Add this to your fork, in the CollapsibleTabView.tsx.
const getHeaderHeight = React.useCallback(
    (event: LayoutChangeEvent) => {
      const value = event.nativeEvent.layout.height - tabBarHeight;
      console.log(value - 250) // 250 is the header height from the example. It will log the real tabBarHeight, around 49.xx
      ....

I get 49.428558349609375.
Check out #18, at any moment the preview will be ready. Or see the code and try to implement by yourself to see if works. I don't have access to iOS simulator right now, so I couldn't tell.

Hi @PedroBern Thanks! I've just fetched #18 and the problem still occurs. I will look at a possible solution now.

@alexpchin thanks, please if you solve share it here or open a PR :)

Hello @PedroBern From what I can tell, I think this is working:
const getHeaderHeight = React.useCallback(
    (event: LayoutChangeEvent) => {
      const value = event.nativeEvent.layout.height - tabBarHeight;
      if (Math.round(value * 10) / 10 !== Math.round(headerHeight * 10) / 10) {
        onHeaderHeightChange?.();
        setHeaderHeight(Math.max(value, 0));
        setTranslateY(
          scrollY.interpolate({
            inputRange: [0, Math.max(value, 0)],
            outputRange: [0, -value],
            extrapolateRight: 'clamp',
          })
        );
      }
    },
    [headerHeight, onHeaderHeightChange, scrollY, tabBarHeight]
  );

Accompanied by:
{renderHeader()}

Of course! Already pushed to #18

Solved in v1.3.1, with #18

👍🏻 Kudos on the library by the way. Nice work!

Thanks :) please let me know if you find more problems


Wrong IP shows in the status bar

When trying to connect the wrong IP in shown.

I've fixed this issue in the latest commit, it should work fine now.


[Snyk] Security upgrade semver from 0.0.0-condition-4d8c2f to 5.7.2

Snyk has created this PR to fix 2 vulnerabilities in the yarn dependencies of this project.
Snyk changed the following file(s):

eslint/babel-eslint-parser/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed with an upgrade:

Issue
Score

Regular Expression Denial of Service (ReDoS) SNYK-JS-SEMVER-3247795
  265

Regular Expression Denial of Service (ReDoS) npm:semver:20150403
  75

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Regular Expression Denial of Service (ReDoS)

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)
:white_check_mark: license/snyk check is complete. No issues have been found. (View Details)


Make keyboard events easier to use on Android PlatformViews

https://github.com/flutter/flutter/issues/55046 reported that the keyboard doesn't work for Android EditText's inside of PlatformViews.  After researching the problem we found that things like webview_flutter use a complex setup of InputConnection's in order to make keyboard access work.  So, it isn't a problem of being impossible, but it is unacceptably difficult to implement.  The workaround is detailed in the issue.
We should find a way to take the InputConnection manipulation and push it higher so it lives in PlatformView's code so no one has to apply this workaround.  Additionally we might need to provide a more convenient way to use the workaround for plugins who don't want to accept the dependency on the latest engine.
Relevant code:

ThreadedInputConnectionProxyAdapterView  the class that swaps out the "InputConnection" for the one provided to the plugin, for the PlatformView's view in webview_flutter
InputAwareWebView where the proxy used to hook up the keyboard input to the WebView.

cc @letsar @mklim

I could be misreading the text in the hair as a suggestion but just in case: I don't think webviews workaround should be pushed higher, it should be confined to that plugin and ideally removed completely. As mentioned on that bug and in more detail on the Android Platform Views wiki page, it only exists to interface with Chromium. Instead the engine should be fixed so that no such complicated logic is required for text views to work at all.

Basically, at some point the engine probably regressed

We know this isn't a regression because of the sample code from the other issue was tried on many versions of the engine and none were found to work.  The issue had been reported for years.  We've never seen a definitive working example beyond webview.

OK, granted that this is more likely a bug than a regression. :) I don't think that really makes a difference in the approach though? We still wouldn't want to propagate all of webview's multi threaded logic into the engine itself since that's purely a way of interfacing with Chromium. Ideally the fix would be to figure out what part of the engine code is implicitly relying on something webview is doing, and correct that assumption if at all possible.

@mklim Can you explain further about multi-threaded logic?  When I implemented the workaround I didn't add anything except code that gets executed on the main thread.  Do you think there are steps in my workaround that can be simplified or removed?  Given my understanding of the system my only option is to expand on what works instead of redesign the system.

Yeah, no problem.
setInputConnectionTarget and by extension ThreadedInputConnectionProxyAdapterView are the "multi-threaded" logic I'm referencing in your workaround. That Runnable gets posted on the Handler of whatever targetView is. The Handler itself is typically something that's running on the UI thread, but it isn't guaranteed. It depends on the View class. The reason that that particular logic exists at all in the webview plugin is because Chromium creates and consumes InputConnections from within a unique (non-UI) thread that Chromium itself creates and manages. Chromium uses
this same View.post/Runnable pattern in order to create InputConnections on its own thread (source). Generally View#post() is executed on the UI thread, but in the above source Chromium has overridden getHandler() so that it points to its own custom thread instead. Flutter webview is then passed this same view so that its setInputConnectionTarget also posts a Runnable to this unique thread, using the input view's getHandler(). If we weren't managing the InputConnection from targetView's thread, we'd never get InputConnections created by Chromium since they don't happen on the UI thread. I've tried to write it up in detail on the wiki, but let me know if that doesn't make sense and I can expand here/in the article in more detail.
So what I'm trying to say is that none of that should be required at all for a standard case, since the getHandler() override is Chromium-specific. So in your specific workaround setInputConnectionTarget I don't see a reason to exist since there's no Chromium thread to intercept, and because of that the entire class ThreadedInputConnectionProxyAdapterView also should presumably be deleted. That class only exists to be instantiated and passed as a param to setInputConnectionTarget.

i think it is the bug of platform_channel


ERR! parse-server-push-adapter APNS cannot find vaild connection

Issue Description
Whenever i use the following cloud code to send a push notification on Parse Server 2.2.24
Parse.Push.send({
     where: query,
     data: {
        alert: "You have a new comment on " + rift.get("title")
     }
     }, { useMasterKey: true }).then(() => {
        console.log('Push ok');
     }, (e) => {
        console.log('Push error', e);
});

I get the following logs with verbose = 1 set on heroku.
Found BELOW
So it says it was sent successfully (we recieve NO notification to the device) and we get an ERR! parse-server.... for every device token registered from a valid device on a app distributed on Apple's TestFlight Application. I have read multiple posts regarding ways to fix this and have tried everything out there but nothing works. IF anyone has any insight on why this could be happening please let me know! I will be ever grateful
our index.js has the following config setup... we have checked the production cert and even rejected all our certs and generated new ones just to be sure.
push: {
     ios: {
      pfx: 'cert-prod.p12',
      bundleId: 'a.bundle.id'
   }
}

[FILL THIS OUT]
Steps to reproduce

Setup push certs following proper documentation provided by parse
Add config to index.js
Use cloud code to send push notification to a valid production apple device token.

Expected Results
The device gets the push notification and no ERR is thrown in logs
Actual Outcome
The device does not get the push notification but the logs specifies that it has successfully pushed the notification along with the ERR.
Environment Setup

Server

parse-server version (Be specific! Don't say 'latest'.) : 2.2.24
Operating System:    Ubuntu (Heroku)
Hardware:            N/A
Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Heroku

Database

MongoDB version:  mLab v3.2.10
Storage engine: MongoDB
Hardware:        N/A
Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): Heroku

Logs/Trace
You can turn on additional logging by configuring VERBOSE=1 in your environment.
2016-11-06T05:08:06.783331+00:00 app[web.1]: verbose: RESPONSE from [POST] /api/1/push: {
2016-11-06T05:08:06.783333+00:00 app[web.1]:   "headers": {
2016-11-06T05:08:06.783334+00:00 app[web.1]:     "X-Parse-Push-Status-Id": "NbZCxyCOgc"
2016-11-06T05:08:06.783334+00:00 app[web.1]:   },
2016-11-06T05:08:06.783335+00:00 app[web.1]:   "response": {
2016-11-06T05:08:06.783336+00:00 app[web.1]:     "result": true
2016-11-06T05:08:06.783336+00:00 app[web.1]:   }
2016-11-06T05:08:06.783337+00:00 app[web.1]: } X-Parse-Push-Status-Id=NbZCxyCOgc, result=true
2016-11-06T05:08:06.787076+00:00 app[web.1]: Push ok
2016-11-06T05:08:06.788233+00:00 app[web.1]: verbose: sending push to 1 installations
2016-11-06T05:08:06.789569+00:00 app[web.1]: verb parse-server-push-adapter APNS APNS Connection 0 Notification transmitted to 443d4d770217648350c5c7cd7bb22d2da77223e23c06f3eb016b2e2ca76d6202
2016-11-06T05:08:06.790600+00:00 app[web.1]: verbose: sent push! 1 success, 0 failures
2016-11-06T05:08:06.867209+00:00 app[web.1]: ERR! parse-server-push-adapter APNS cannot find vaild connection for 443d4d770217648350c5c7cd7bb22d2da77223e23c06f3eb016b2e2ca76d6202
2016-11-06T05:08:06.868965+00:00 app[web.1]: verb parse-server-push-adapter APNS APNS Connection 0 Disconnected
2016-11-06T05:08:06.928135+00:00 app[web.1]: verb parse-server-push-adapter APNS APNS Connection 0 Connected

I had this issue recently. Did you make sure the path to the pfx file is a complete path? I used the path module to remedy this:
var path = require('path');
  opts.push.ios = {
    // The filename of private key and certificate in PFX
    pfx: path.join(__dirname, env.IOS_PUSH_PFX),
    bundleId: env.IOS_BUNDLE_ID
}

@apersaud you are an all star thanks so much!


yaml file

working in python 3.4.3, i had to modify my database.yml file to read as follows, lest I received errors:
#
# Database connection info

host: localhost
drivername: postgres
database: XMLExporter
username: xmlexporter
password: xmlexporter

Thanks for the info, I'll look into this.

Added a check to verify that the yml file works.


Add record/replay support for creating Error objects via JsRT.

Adding code to support unimplemented functionality. Adds new action tag, execute/emit/parse methods, record methods to EventLog class, and updates jsrt.cpp.

LGTM

@dotnet-bot test Windows arm_release please
@dotnet-bot test Windows x64_test please


Get more developers interested from the start - Improve the homepage

I just saw Evan's presentation about from the Curry on talk.
As a programmer myself I know hard it is to switch between technical
and marketing stuff. Is any help for marketing appreciated?
I think the developers are more interested what's in it for them.
Maybe it's a good idea to translate the features to benefits.
If I use the iPod slogan as comparision - the current homepage sounds
more like "2 GB hard drive" instead of Apple's "300 songs in your pocket".
Maybe we could translate the features to meaningful things for the developer.
Here are you some ideas how to translate them:
Less time debugging
What's the worst about coding? - Debugging. It's time-wasting, it's frustrating,
it let's you having a bad day.  How?
Learn more >
Enjoy snappy websites
Most of the time performance is not a concern. But in the rare situations when
performance is important, it's good to have a [insert good english idiom for comparision here :)].
Wanna know how fast elm is?
Learn more >
Upgrades with confidence
Ever upgraded a library from eg. 1.0.3 to 1.0.4 and thought it's easy - only to find some
breaking api changes. That's thing of the past. Elm compares the apis during the submission
and rejects wrongs numbering. Impossible?
Learn more >
Faster readable code
You read more code than you write. If a programmer writes 7 new lines a day you sure read a hello lot
more code than that. Today attention is a rare good. Conclusion - your language's syntax should not distract you. Elm is minimalistic. How does Elm prevent unnecessary noise?
Learn more >
Some of the hard features included
Some features help the user experience tremendously. E.g. an undo function. Your users should be allowed to make mistakes (and they'll do). It's normally a hard thing to do. In Elm you could see a part of the language. What else is possible?
Learn more >
Don't feel guilty about NOT testing anymore
Testing is hard in the non-functional world. Do you know about mocks, stubs, spies, whatever? These are things you don't need to know in Elm. If everything is a stateless function writing tests is no-brainer.
Wanna know how easing testing is in Elm?
Learn more >
The "Learn more >" links would lead to more information about the subject.
If we track the links we could learn more about what the developers are interested in.
Any suggestions, ideas, thoughts are welcome :)

:+1:

:+1:

I remember Evan saying how he couldn't think of a good way to explain "safe", as in type safety. When I'm programming in JavaScript, it let's me do things I shouldn't, like use an array with undefined elements, that'll haunt you later. Elm doesn't let you do things that will haunt you (bite you in the arse).

Upfront errors: no errors waiting to happen. Rather than "no runtime errors", because I remember not knowing what runtime means.

"No null, no undefined."

The compiler messages are like having the language designer help you build your project.

List.head []as a concrete example of no runtime errors, compared with even Haskell.

type alias Model =
    { things : Maybe (List Thing)
    }

as a concrete example of Elm helping you to build your UI properly (see http://blog.jenkster.com/2016/06/how-elm-slays-a-ui-antipattern.html).

I try to curate the messaging myself, but I think the root idea here makes a ton of sense.
That said, this is too many things in one issue. I think the bullets on the current home page do a pretty good job of translating technical details into useful information, without going so far as to become vague and marketing-y. If you think there are specific ones on the current page that should change, it makes sense to talk about them one at a time.


B/primary reloc bug

and it seems as if there are more kill integration tests which can fail: https://travis-ci.org/crate/crate/jobs/74254391#L2393

ack


Issue with CRUD generation

Getting following error during CRUD generation
TypeError

  Brackets\CraftablePro\Commands\CrudGeneratorCommand::buildRule(): Argument #1 ($columnType) must be of type string, null given, called in ~/vendor/brackets/craftable-pro/src/Commands/Trait/BuildCrudGeneratorTrait.php on line 25

  at vendor/brackets/craftable-pro/src/Commands/Trait/BuildCrudGeneratorTrait.php:366
    362▕
    363▕     /**
    364▕      * Return rules for requests.
    365▕      */
  ➜ 366▕     protected function buildRule(string $columnType, bool $required): array
    367▕     {
    368▕         $rules = collect([]);
    369▕         $rules->push($required ? 'required' : 'nullable');
    370▕

      +19 vendor frames

  20  artisan:13
      Illuminate\Foundation\Application::handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))

Model for which i am trying to generate CRUD for
 Schema::create('customer', function (Blueprint $table) {
            $table->id();
            $table->timestamps();
            $table->string('facility_name');
            $table->string('email');
            $table->string('phone');
            $table->enum('currency', ['INR', 'USD', 'AED', 'SAR']);
            $table->string('first_name');
            $table->string('last_name');
        });

Laravel version - 11.0
brackets/craftable-pro - 2.0

Thank you for the report. We will get back to you tomorrow.

Hello, which type of database are you using: PostgreSQL or MySQL?

Mysql version - 8.0.33

The issue has been fixed in release v2.0.2 (see https://docs.craftable.pro/changelog#v202---2024-04-15).


How to use a struct(pyclass) as argument in both Rust and Python side without copy?

Because Python for-loop is slow, I use Pyo3 to run a loop and manipulate some struct(contains Python class with methods).
To do that I have three struct-Player(Pure Rust)  Account(Pure Rust)  Context(empty in Rust and user define its real code in Python), Player has Account and Context in it, it will loop the method of Context .
While in each loop, it would send its Account instance as &mut self.acc argument into its Context instance. Because Account would contains a lot of data, and it would be also use in Rust side and Python side. I couldn't  copy it everytime.
So here is the question: what should I do to self.acc in Player struct to make it could be used as argument in Rust and Python at sametime without copy? Or say how to send a pyclass as an argument to a PyAny object and call ites method?
use pyo3::exceptions::PyValueError;
use pyo3::prelude::*;
use pyo3::types::PyAny;

#[pymodule]
fn play(_py: Python, m: &PyModule) -> PyResult<()> {

    m.add_class::<Context>()?;
    m.add_class::<Player>()?;
    m.add_class::<Account>()?;
    Ok(())
}

#[pyclass]
#[derive(Debug, Clone)]
pub struct Account {
    cash: i64
}

#[pymethods]
impl Account {
    #[new]
    pub fn new(cash: i64) -> Self {
        Account { cash:100 }
    }
    pub fn add_money(&mut self, money: i64) {
        self.cash += money
    }
    pub fn clear_cash(&mut self) {
        self.cash = 0
    }
}

#[pyclass]
#[derive(Debug, Clone)]
pub struct Context {
    pycls: Py<PyAny>,
}

#[pymethods]
impl Context {
    #[new]
    pub fn new(pycls: Py<PyAny>) -> Self {
        Context { pycls }
    }

    pub fn on_calculation(&mut self, acc: &mut Account) {

        Python::with_gil(|py| {
            //-----------------------------------------------------------------------------------------------
            // Account need to borrowed or as_ref and send into python method "on_calculation"
            // this can't work ??????
            let acc: PyObject = acc.into_py(py);
            //-----------------------------------------------------------------------------------------------
            let py_model = self.pycls.as_ref(py);
            py_model
                .call_method("on_calculation", (acc,), None)
                .unwrap();
        });

    }
}

#[pyclass]
pub struct Player {
    acc: Acc,
    context: Context,
}

#[pymethods]
impl Player {
    #[new]
    pub fn new(acc:Account, ctx: Context) -> Self {
        Player { acc, context:ctx }
    }

    pub fn run(&mut self, num:i64) {
        for _i in 0..num {
            self.context.on_calculation(&mut self.acc);
        }
        self.acc.clear_cash()  // Account need to be used in Rust !!!!
    }
}

Python code:
import play
class TestContext:

    def on_calculation(self, acc):
        print("here is user define code and would run in rust")
        acc.add_money(99)   #use method of acc here!!!!

pycls = TestContext()
rust_struct = play.Context(pycls)
acc = play.Account(999)
x = x.Player(acc, rust_struct)
x.run(3)

You should change your Player struct to:
#[pyclass]
pub struct Player {
    acc: Py<Acc>,
    context: Py<Context>,
}

This way the acc and context fields will be stored as their Python representations.

Thanks for reply. If method of 'Py‹Account›' need to be called in rust， I must aquire gil first then call the method？ If so， the performance would be worse than pure rust method of origin struct？

You should change your Player struct to:

#[pyclass]

pub struct Player {

    acc: Py<Acc>,

    context: Py<Context>,

}

This way the acc and context fields will be stored as their Python representations.

Thanks for reply. If method of 'Py‹Account›' need to be called in rust， I must aquire gil first then call the method？ If so， the performance would be worse than pure rust method of origin struct？

I must aquire gil first then call the method？ If so， the performance would be worse than pure rust method of origin struct？

Yes, but in your example you already have the GIL when entering run, you just need to add an argument to access it, e.g.
#[pymethods]
impl Player {
    pub fn run(&mut self, num:i64, py: Python) {
        for _i in 0..num {
            self.context.on_calculation(&self.acc, py);
        }
        self.acc.as_ref(py).clear_cash()  // Account need to be used in Rust !!!!
    }
}

I must aquire gil first then call the method？ If so， the performance would be worse than pure rust method of origin struct？

Yes, but in your example you already have the GIL when entering run, you just need to add an argument to access it, e.g.

#[pymethods]

impl Player {

    pub fn run(&mut self, num:i64, py: Python) {

        for _i in 0..num {

            self.context.on_calculation(&self.acc, py);

        }

        self.acc.as_ref(py).clear_cash()  // Account need to be used in Rust !!!!

    }

}

Could I make this conclusion that if I want to fully achieve pure rust performance I must make sure no 'acquire gil' in my rust code of the extension module？

Could I make this conclusion that if I want to fully achieve pure rust performance I must make sure no 'acquire gil' in my rust code of the extension module？

This is probably not the definite answer you want to hear, but when assessing the performance of software, then you just need to measure. Whether taking the GIL is problem or not is hard to say in a general manner and without additional context. There can even be places where taking the GIL can advantageous, e.g. if separate synchronization mechanisms would be required otherwise.
In your particular case, Player::run will definitely be invoked with the GIL held as it is invoked from Python code. So in this particular case, you should just make sure that you do not do Python::with_gil within a loop because that is superfluous work (it will just check that the GIL is already held and move on). The mitigation as shown above is to pass the Python token via function arguments.

Thanks! I understand that.
What I want to achieve is to let the flexible part be written in Python while the fixed part executed in Rust.
Some people use Python+ctypes+cpp to do the same stuff like what I did.But they have a trick that they can use cython to re-write their Python codes easily with its 'nongil' mode, so they could get a better performance than a for-loop with gil.
Could we do some thing like that？

We've been talking about making a #[pyclass(immutable)] variation. I think that the interesting thing there is that you wouldn't need to have to hold the GIL to access the Rust data stored in a Py<Acc> if Acc was immutable, because there would be no need to mediate access to the Rust data by the GIL if it was immutable.
The draft PR is #1979
Perhaps you'd be interested in helping test and finish off the functionality? Hopefully we can get it complete for the 0.17 release.
cc @mejrs

We've been talking about making a #[pyclass(immutable)] variation. I think that the interesting thing there is that you wouldn't need to have to hold the GIL to access the Rust data stored in a Py<Acc> if Acc was an immutable pyclass, because there would be no need to mediate access to the Rust data by the GIL if it was immutable.
The draft PR is #1979
Perhaps you'd be interested in helping test and finish off the functionality? Hopefully we can get it complete for the 0.17 release.
cc @mejrs

It seems that immutable pyclass is very suitable for read data which is read-only？
In fact I understand that if we call a method in Python we must get gil first， but what I do confused is that   if 'Acc' is write in pure Rust，why couldn't we call its methods and change value directly while skip gil action？
At the beginning， the reason I wtire the example is to expose less to the Python side and let 'Player' do some manipulate work on 'Acc' so I wouldn't need to write much in Python side. But if I must use gil to call acc in Player ，it seems make no sense？

The point is that in Py<Acc>, Python threads can modify the Acc data, so we cannot access it without borrow checking. The GIL is used to make the borrow-checking thread safe.
If Acc was our theoretical immutable pyclass, then Py<Acc> could be accessed by as many threads as we like without needing any synchronization, because the data would be guaranteed to not change.

Thank you very much!
When access some vector or array type data, people may use unsafe fn get_unchecked to skip the bound check while he could make sure not exceed the boundary.  Sadly it seems we can not skip borrow check even in unsafe. https://steveklabnik.com/writing/you-can-t-turn-off-the-borrow-checker-in-rust


added skinnyorca

Hi! What is your PR about?

[ ] Add or edit a skin
[ ] Add a custom domain for your space
[ ] Add an alias to migrate your space

added skinnyorca.eth


Also auto-close "Out of Scope", "Declined", and "Won't Fix"

I noticed that we have a few more labels that look like they're intended to be "dead ends" (and the "how to triage" doc says get closed).

https://github.com/microsoft/TypeScript/issues?q=label%3A"Declined"+is%3Aopen+sort%3Aupdated-desc
https://github.com/microsoft/TypeScript/issues?q=label%3A"Out+of+Scope"+is%3Aopen+sort%3Aupdated-desc+
https://github.com/microsoft/TypeScript/issues?q=label%3A"Won't+Fix"+is%3Aopen+sort%3Aupdated-desc

Currently roughly 78 issues have these labels.
There's also "Too Complex" which the triage doc says is also a close (28 currently open), but I'm less sure about that conceptually.
If desired, I can also make some of these closed after longer periods of inactivity; it's not too hard to do.

Daniel I think said adding Too Complex would be fine, so I may send that on Monday.


Support swaysome

Describe the bug
Using the workspace switcher just goes between 1-X but when using Swaysome it changes workspaces so they are handled similarly to Awesome WM where each monitor has it's own set of workspaces.
With Swaysome monitor 1 is prefixed with 0, and monitor 2 is prefixed with 1. So you have workspaces like 01,02 on monitor 1 and 11, 12, 13 on monitor 2.
https://git.hya.sk/nabos/swaysome
To Reproduce
Steps to reproduce the behavior:

Launch nwg-dock
Use workspace switcher

Expected behavior
With support I would like to see it use existing workspaces rather than just scrolling through numbers.
Screenshots
Not relevant
Desktop (please complete the following information):
Not relevant
Additional context
Not relevant

Closing due to no response.


HDF5 support

Any plans for HDF5 support?

Hello @mikecharles
Working with HDF5 data by hand is all right: we already have the HDF C library as a dependency and the Python H5Py module is nicely featured.
However, this requires the user to fully manage the interpretation of their metadata to build Iris Cubes before any further Iris benefits can be usefully accessed.
HDF5 is a generic container, one can put any metadata (or none); knowing what all the parts mean is not a generally soluble problem.
In order to get the kind of load behaviour we have for CF-netCDF, GRIB2 etc. we would need to talk about an appropriate metadata standard used for HDF data sets.
Are there metadata standards for HDF which you have in mind that fit in this space?
marqh

Thanks @marqh, I'm not sure about the HDF metadata standards we would use. I'm not even sure we're going to be using HDF. Here at CPC in NOAA, everything's in grib2, but I'm investigating storing my data in something with more flexibility, and iris came up at a workshop here in the D.C. area.
Thanks for the info.

Thanks for asking @mikecharles. I'll go ahead and close this. FWIW, it is possible to construct Iris cubes by hand, as has been done in this (reasonably complex) example: http://scitools.org.uk/iris/docs/latest/examples/General/custom_file_loading.html#custom-file-loading
Thanks!


F#747 new context menu option

Description

Add mismatch and missing (clean) in context menu
Related Issue :

#747
How Has This Been Tested?

Go to dataflow main grid -> click context menu -> clean -> try mismatch and missing
when one or more column is selected clean menu is disabled

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project. it will be added soon
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document. it will be added soon
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

Additional Context

run build
deploy to 1

@joohokim1 @mh0203  UI에서 ruleString 을 잘못 보내고 있는 건지 확인 부탁드립니다.

run build
deploy to 3

run build
deploy to 3

run build
deploy to 3


Working with virtual environment

I use the python virtual environment "virtualenv" where ansible is stored. Sourcing the environment is not the problem, but rundeck lose the environment settings especially the global variable path.
Is it possible to add a feature, that sources the virutalenv to hold the settings for  ansible? Or did anyone know a solution for this behavior?

Hi @lokly ,
Did you try sourcing the file in /etc/rundeck/profile and restarting rundeck ?

Thanks for this hint. I did not source it in the rundeck profile, made it and it works fine!
Thank you!


feat: enhance moderation experience

Description
related discussion on #446
Changes
Isue Template
new-framework-support has been changed from a GitHub Template to a GitHub Form, enforcing the content completion.
The Describe the solution you'd like  section is a textarea field supporting markdown format. There is a required validation upon it to be able to submit the issue to create it.
The Provide a link to a GitHub repo containing an example of the framework is a simple input field as it only includes an URL. No required validation.
The Additional context  is a textarea field supporting markdown format. No required validation.
An example of the experience provided is available here
PS: If the required validation doesn't prove itself to be enough to mitigate low quality contributions, I might create a GitHub Action to close related issues opened with the [FRAMEWORK NAME] part of the title still present.
GitHub Action
A GitHub Action has been added to close issues opened with an empty body.
Even if most of these issues are putting little effort and are opened mainly by GitHub new users, I would encourage adding a closing message as a promotion for more meaningful contributions. By automating it with the GitHub Action, it wouldn't require any further work for the maintainers.
An example of the experience provided is available here

Besides the global context, here are some details to review:

the field type for each section of the GitHub Issue Form (using a simple input field or a textarea)
the required validation on different fields
a closing message to be added for the GitHub Action

@jrvidal

changes done.
Once merged, I'll create a related PR in the core repository.


[#1048] fix(coord): ExcludeNodes does not take effect when the coordinator restarts.

What changes were proposed in this pull request?
Make updateExcludeNodes no delay first time.
Why are the changes needed?
Fix: #1048.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
UT.

Codecov Report

Merging #1049 (ad5a1d0) into master (a5ba479) will increase coverage by 0.20%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1049      +/-   ##
============================================
+ Coverage     54.28%   54.49%   +0.20%
+ Complexity     2549     2398     -151
============================================
  Files           386      349      -37
  Lines         21828    18317    -3511
  Branches       1807     1717      -90
============================================
- Hits          11849     9981    -1868
+ Misses         9277     7739    -1538
+ Partials        702      597     -105

Files Changed
Coverage Δ

...ache/uniffle/coordinator/SimpleClusterManager.java
77.52% <ø> (+0.56%)
:arrow_up:

... and 42 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more