runtime: VirtualAlloc of 1048576 bytes failed with errno=487

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?
go version go1.6 windows/386

What operating system and processor architecture are you using (go env)?
set GOARCH=386
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=386
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\tpt_programs\go_3td;C:\tpt_programs\Jenkins\jobs\xxx\workspace\src\engine
set GORACE=
set GOROOT=C:\tpt_programs\go
set GOTOOLDIR=C:\tpt_programs\go\pkg\tool\windows_386
set GO15VENDOREXPERIMENT=1
set CC=gcc
set GOGCCFLAGS=-m32 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1

What did you do?
(Use play.golang.org to provide a runnable example, if possible.)
run 'go build' on the windows

What did you expect to see?
Build is ok.

What did you see instead?

runtime: VirtualAlloc of 1048576 bytes failed with errno=487
fatal error: runtime: cannot map pages in arena address space

runtime stack:
runtime.throw(0x657940, 0x30)
	c:/go/src/runtime/panic.go:530 +0x7f
runtime.sysMap(0x41380000, 0x100000, 0x30c3fd01, 0x728fd8)
	c:/go/src/runtime/mem_windows.go:116 +0xf9
runtime.(*mheap).sysAlloc(0x7189a0, 0x100000, 0x0)
	c:/go/src/runtime/malloc.go:429 +0x121
runtime.(*mheap).grow(0x7189a0, 0x8, 0x0)
	c:/go/src/runtime/mheap.go:651 +0x52
runtime.(*mheap).allocSpanLocked(0x7189a0, 0x1, 0x313d9e60)
	c:/go/src/runtime/mheap.go:553 +0x485
runtime.(*mheap).alloc_m(0x7189a0, 0x1, 0x17, 0x16600, 0x313d9e60)
	c:/go/src/runtime/mheap.go:437 +0x116
runtime.(*mheap).alloc.func1()
	c:/go/src/runtime/mheap.go:502 +0x3d
runtime.systemstack(0x30c3fec4)
	c:/go/src/runtime/asm_386.s:329 +0x88
runtime.(*mheap).alloc(0x7189a0, 0x1, 0x17, 0x27f0100, 0x1606)
	c:/go/src/runtime/mheap.go:503 +0x5a
runtime.(*mcentral).grow(0x719c18, 0x0)
	c:/go/src/runtime/mcentral.go:209 +0x8e
runtime.(*mcentral).cacheSpan(0x719c18, 0x313d9e60)
	c:/go/src/runtime/mcentral.go:89 +0x4c0
runtime.(*mcache).refill(0x310000, 0x17, 0x313d9e60)
	c:/go/src/runtime/mcache.go:119 +0xab
runtime.mallocgc.func2()
	c:/go/src/runtime/malloc.go:642 +0x2b
runtime.systemstack(0x109ae000)
	c:/go/src/runtime/asm_386.s:313 +0x5e
runtime.mstart()
	c:/go/src/runtime/proc.go:1048

goroutine 1 [running]:
runtime.systemstack_switch()
	c:/go/src/runtime/asm_386.s:267 fp=0x3bd937f4 sp=0x3bd937f0
runtime.mallocgc(0x1c0, 0x5bd5c0, 0x0, 0x4)
	c:/go/src/runtime/malloc.go:643 +0x6ca fp=0x3bd93860 sp=0x3bd937f4
runtime.newobject(0x5bd5c0, 0x0)
	c:/go/src/runtime/malloc.go:781 +0x41 fp=0x3bd93874 sp=0x3bd93860
cmd/link/internal/ld.writelines()
	c:/go/src/cmd/link/internal/ld/dwarf.go:1651 +0xe77 fp=0x3bd93aac sp=0x3bd93874
cmd/link/internal/ld.Dwarfemitdebugsections()
	c:/go/src/cmd/link/internal/ld/dwarf.go:2108 +0x94a fp=0x3bd93bc0 sp=0x3bd93aac
cmd/link/internal/x86.asmb()
	c:/go/src/cmd/link/internal/x86/asm.go:729 +0xea2 fp=0x3bd93cdc sp=0x3bd93bc0
cmd/link/internal/ld.Ldmain()
	c:/go/src/cmd/link/internal/ld/pobj.go:248 +0x1ac6 fp=0x3bd93f28 sp=0x3bd93cdc
cmd/link/internal/x86.Main()
	c:/go/src/cmd/link/internal/x86/obj.go:44 +0x1c fp=0x3bd93f2c sp=0x3bd93f28
main.main()
	c:/go/src/cmd/link/main.go:25 +0xf6 fp=0x3bd93f98 sp=0x3bd93f2c
runtime.main()
	c:/go/src/runtime/proc.go:188 +0x234 fp=0x3bd93fc0 sp=0x3bd93f98
runtime.goexit()
	c:/go/src/runtime/asm_386.s:1585 +0x1 fp=0x3bd93fc4 sp=0x3bd93fc0

The code is closed source.

The code is closed source.

Please show me small code that can reproduce.

I don't think there is anything that can be done. Virtual address space on windows/386 is very limited and the program you are trying to build is simply too big.
Are you able to use a 64bit platform ?

I will try it on 64bit later.

The program you're trying to link is just too big
for 32-bit toolchain.
Even if you're building 32-bit binaries, if you're
using 64-bit windows, try using the 64-bit tool
chain.

errno=487 is ERROR_INVALID_ADDRESS. I wonder why calling VirtualAlloc here returns ERROR_INVALID_ADDRESS.
Alex

I run it on 64bit and is ok.
I run it on 32bit again and is ok.
it is  arise almost by accident


I cant see DAI generated after opening a n ETH-C vault from my safe.

Describe the bug
I submitted a transaction to create a vault on ETH-C using 161 ETH as collateral with the minimum liquidation price possible, when teh transaction was confirmed I didnt recieved any DAI on the safe account, I was expecting to receive 66000 DAI.
To Reproduce
Steps to reproduce the behavior:
Go to ETH-A and create a vault from a gnosis safe.
Expected behavior
I was expecting to recieve 66000 DAI on my safe account but it didnt happened.
Screenshots

Desktop/Smartphone (please complete the following information):
Linux, Ubuntu.
Additional context
I did this plenty of times and I always received dai every time I created a vault, what happened? im freaking out.
Here is the TX of the vault creation: https://etherscan.io/tx/0xd9ca74fc244de849c1a13b46b8d44733f37bf0106b75b20cb628bca5190e8357

Hello AugustoL. You've opened ETH-C multiply position which means that all debt that has been generated was used to buy more collateral, in your case 39.9 ETH. That is why Total collateral in your position is 200.9 ETH instead of 161 ETH. You can check history event of this action too see what exactly happened.

Keep in mind that you can switch between multiply and borrow vault type using option in form dropdown.

If you will have more question please reply here or reach out to us using our Discord support channel. Regards.

Perfect, thanks!!, yes I realized a few minutes after creating the issue. I guess thats the difference between ETH-C and ETH B and A? That automatically increases the collateral instead of sending back generated DAI?
What I wanted to do was to use the DAI generated to buy ETH and then sell the ETH back at a higher price and pay back the DAI debt ending up with ETH winnings in the end. I guess this as been done automatically now and all that I need to do is just close out the vault when ETH is at a higher price?

No, the differences between ilks ETH-A, ETH-B and ETH-C are things like dust limits and borrow rates. You can open ETH-C position using either our Borrow or Multiply products built on the top of Maker protocol. I encourage you to read articles in our knowledge base here.
Answering your second question - yes, you can just wait until ETH price will rise and at selected moment close your position or increase multiply, hoping for even higher increase of ETH price.
Btw. check our Take Profit feature which you can find here. It will realize your strategy automatically when ETH price will hit selected threshold :)


Replace docker with podman

Some Test Comment

Some Test Comment

I am closing this as already done in comit https://github.com/artemiscloud/activemq-artemis-broker-image/commit/9629fd42c0d14542d461fe90d0d11be4663219e2


WIP: initial packaging work

To do before merging:

[ ] Compatibility with Python 2 and Python 3
[ ] Get PyPI name (either via coordination of existing name owners or a new name)
[ ] Installation instructions for both PyPI and Git
[ ] Potentially convert Markdown to ReStructuredText, especially for PyPI?
[ ] Stubs on Read The Docs.
[ ] Remove hard local paths.

Refactoring, including unit tests and potential API changes, are for later pull requests. The initial release on PyPI will be marked as a "pre-release", indicating that the API may change.

is this ready to be merged, or shall we discuss it in ~30 mins? Are you coming to my office?

Not yet ready to be merged, the PR + checklist is just a convenient way for me to keep track of what I need to get done.
I'll see you in your office shortly.


Safari

On safari V. 9.0 (11601.1.56)  after loading, the lazy-hidden class isn't removed from the wrapping div.

Same issue on Mac Safari 10.1.2 and iOS Safari 10. It happens on Above-the-fold of browser. If you scrolled page, there is not the issue. It seems a occasional issue.


Mishighlights "longloops" 'repeat'

repeat 1; do echo foo; done highlights the first semicolon as unknown-token, presumably because it expects the shortloops syntax (implemented in #222).

PR: #319

Fixed in 47144ad.


Light Theme

I added light theme to the Project.

As mentioned in the issue the combo of a light theme and a switch was required so I can't merge it in the current state
But if you can restructure the folder structure such that both the themes can co exist I can merge it even without the switch
(The reason I am asking for the restructure is because if I merge this PR the existing dark theme will be erased.)
@chharikha2003

Can you give more  details  regarding  switch

Switch : A toggle button using which we can switch between dark and light themes


Add database views for popular tags.

Breaks out serializers and maps both to the same endpoint.
Closes #54
Provides
All tags for a specific subject
GET /tags?taggable_id=123&taggable_type=Subject
Popular tags for any source:
GET /tags/popular
Most popular tags for subjects on a project:
GET /tags/popular?taggable_type=Subject&section=project-123
Most popular tags for a specific subject:
GET /tags/popular?taggable_type=Subject&taggable_id=123
Subjects by most common tag usage -- find all subjects with a tag, ordered by most usages
GET /tags/popular?name=whatever&taggable_type=Subject
@aweiksnar This does have a breaking change -- renaming the root of the /tags/popular responses to 'popular' instead of 'tags'.
@DarrenMcRoy this will support most of the stuff we had discussed previously about tags

@aweiksnar Actually the front-end doesn't need to change to support this, so it's going to production too.

Awesome, those endpoints all look super useful


Plugin load but i can see on ihm

Hello,
I don't see on the interface, nor in the notifications the plugin, I need help please

INFO  [CmdLineTool] Loaded plugin: AWS plugins 4.0.2 [org.graylog.aws.AWSPlugin]
INFO  [CmdLineTool] Loaded plugin: Collector 4.0.2 [org.graylog.plugins.collector.CollectorPlugin]
INFO  [CmdLineTool] Loaded plugin: Threat Intelligence Plugin 4.0.2 [org.graylog.plugins.threatintel.ThreatIntelPlugin]
INFO  [CmdLineTool] Loaded plugin: Elasticsearch 6 Support 4.0.2+1987d10 [org.graylog.storage.elasticsearch6.Elasticsearch6Plugin]
INFO  [CmdLineTool] Loaded plugin: Elasticsearch 7 Support 4.0.2+1987d10 [org.graylog.storage.elasticsearch7.Elasticsearch7Plugin]
INFO  [CmdLineTool] Loaded plugin: Slack 3.0.0 [org.graylog2.plugins.slack.callback.SlackAlarmCallback]

Hi, same behavior here.


Create first pass of security items based on OWASP recommendations

Try to incorporate a number of cheat sheets and other external resources to cover as much of the OWASP recommendations as possible.

Work complete and merged


Is the app deeplink enabled?

I would like to provide a link to your Corona Alert app in my ios and android application.
Is this app deeplink enabled so i may use the deeplink to call it?
Thanks!

There is no deep linking in the app right now, so this is not possible unfortunately.


Add a warning in case the range in uid/gid mapping too small

Otherwise it is hard to understand the culprit of the following error:
"No available uid/gid map could be found"

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

Feels like the problem message should be added to the returned error rather than logged though.

Feels like the problem message should be added to the returned error rather than logged though.

I thought about this, but decided to make it a warning, like No available uid/gid map could be found.
I guess the original reason can be because w/o uid/gid map privileged containers works.
Do you still think that it should be fatal error?

I'm just worried this is going to add noise in the logs that is not particularly useful.
When do you encounter the "No available uid/gid map could be found" error?

When do you encounter the "No available uid/gid map could be found" error?

When I've added too small range in subuid/subgid (65535 actually, not that small)

Which lxc command triggers this warning?

Not lxc, but simply starting lxd

Not lxc, but simply starting lxd

OK thanks, but what I'm getting at is how does the warning actually manifest as a problem? (That is where we should try and improve the error)

but what I'm getting at is how does the warning actually manifest as a problem? (That is where we should try and improve the error)

Not sure that I got this. Can you elaborate?
My case was that I've created a range that is lower then 65536, and I did not know that there is some limitations in LXD, and so when I tried to use LXD unprivileged container it does not started (because it does not accepted by range). After looking into sources I saw this limitation, but it is impossible to understand the root cause without looking into source code right now.

when I tried to use LXD unprivileged container it does not started (because it does not accepted by range)

Did you get a helpful error when the container failed to start? It feels like if not it would be better to improve that rather than add background logginh so people don't have to know tolook in the logs.

Did you get a helpful error when the container failed to start?

No, and even after this patch the helpful message will be only in lxd log, which not be provided to user, since those checks is done when the daemon starts and did not propagated to user wen it tries to create nonprivileged container.

It feels like if not it would be better to improve that rather than add background logginh so people don't have to know tolook in the logs.

Ok, closing.

Yeah that was my point. It would be useful to know what error you did get do we can identify and improve it. Thanks.

It would be useful to know what error you did get do we can identify and improve it

lxd.log
t=2022-01-03T22:46:35+0300 lvl=info msg="LXD is starting" mode=normal path=/var/lib/lxd version=4.21
t=2022-01-03T22:46:35+0300 lvl=info msg="Kernel uid/gid map:"
t=2022-01-03T22:46:35+0300 lvl=info msg=" - u 0 0<PHONE_NUMBER>"
t=2022-01-03T22:46:35+0300 lvl=info msg=" - g 0 0<PHONE_NUMBER>"
t=2022-01-03T22:46:35+0300 lvl=warn msg="No available uid/gid map could be found"
t=2022-01-03T22:46:35+0300 lvl=warn msg="Only privileged containers will be able

# lxc launch ubuntu:20.04
Creating the instance
Error: Failed instance creation: Failed creating instance record: Failed initialising instance: Invalid config: LXD doesn't have a uid/gid allocation. In this mode, only privileged containers are supported

BTW if you talking about more sane checks, that it worth also checking that mapping for lxd/root are the same then (AFAIU it is required only for uninstall or smth like this)


MINOR: Use right enum value for broker registration change

More detailed description of your change
In ClusterControlManager.replay and ReplicationControlManager, we use BrokerRegistrationFencingChange.FENCE when unfencing a broker and use BrokerRegistrationFencingChange.UNFENCE when fencing a broker, this is confusing.
Summary of testing strategy (including rationale)
Didn't change any logic.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

ping @dajac @cmccabe @jsancio

@dengziming Thanks for improving this! There are a lot of test failures. Can you take a look at those?

@dengziming I merge trunk to try to kick off a build.

@dengziming I merge trunk to try to kick off a build.

Thank you.

We need to make sure that we handle these changes depending on which commit gets merged first:
https://github.com/apache/kafka/pull/12240/commits/db8224767457c79e8af31af0b4ddbd9988f41086#diff-7e2c147bf9c397298568e943069881bd7f01dd9c391f2a8ead700e232987e0aaL96-R107

@dengziming I merged KAFKA-13916. When you have sometime can you take a look at this change again?

ping @jsancio

cc @jsancio.

cc @jsancio


Publish our automatically generated api docs

We set up generation of api docs in #63 - these are stored in circleci.
We need to work with @moxiegirl to figure out where we should publish them and in which format.

Currently, the generated documentation on circle ci is just linked in the README

see #91


no such host Error while applying Application Operator Scaler

Issue:
Using kubeconfig file:  /Users/diwakartiwari/.kube/config
prometheusAddress=http://prometheus-operated.monitoring:9090
Error querying Prometheus: Post "http://prometheus-operated.monitoring:9090/api/v1/query": dial tcp: lookup prometheus-operated.monitoring: no such host
exit status 1
Link to the documentation:
https://github.com/IBM/operator-sample-go/blob/main/operator-application-scaler/README.md#application-operator-scaler

Test case was not fit for Local Environment


Confusing to get out of TextureRegion editor

Godot version:

3.1
OS/device including version:

Ubuntu 14
Issue description:

I was creating a theme. I added the panel container class, added a stylebox, added a texture to the style box, then I couldn't figure out how to get out of the TextureReigon editor back into the Style editor. I eventually figured out you had to minimize the panelcontainer in the inspector, and reload the theme to get the style editor back.

I just encountered it in 3.2.2. This is another issue similar to #28211, the editors for theme and texture region are conflicting here.

I had the exact same issue twice in 2021, expect minimizing did not work, I had to find a scene which had a control node with this theme assign to click on it there to make the theme edit show up, which makes no sense.


Revert "MXNet FFI for Operator Imperative Invocation"

Reverts apache/incubator-mxnet#17510
Breaks cmake build: libmxnet.so: undefined symbol: MXNetFuncListGlobalNames

@hzfan feel free to provide a quick fix and I'll close this. Otherwise let's revert FFI until fixed.

Closing this, as the error is specific to a special case where Python binding attempts to load an inconsistent set of shared libraries. On one side, a shared library compiled prior to #17510 as well as some other shared library resulting from #17510.


Closes #1422 adlb ncictcv5@devel

Thank you for your Pull Request! We have developed this task checklist from the Development Process Guide to help with the final steps of the process. Completing the below tasks helps to ensure our reviewers can maximize their time on your code as well as making sure the admiral codebase remains robust and consistent.
Please check off each taskbox as an acknowledgment that you completed the task or check off that it is not relevant to your Pull Request. This checklist is part of the Github Action workflows and the Pull Request will not be merged into the devel branch until you have checked off each task.

[x] Place Closes #<insert_issue_number> into the beginning of your Pull Request Title (Use Edit button in top-right if you need to update)
[x] Code is formatted according to the tidyverse style guide. Run styler::style_file() to style R and Rmd files
[x] Updated relevant unit tests or have written new unit tests - See Unit Test Guide
[x] If you removed/replaced any function and/or function parameters, did you fully follow the deprecation guidance?
[x] Update to all relevant roxygen headers and examples
[x] Run devtools::document() so all .Rd files in the man folder and the NAMESPACE file in the project root are updated appropriately
[x] Address any updates needed for vignettes and/or templates
[x] Update NEWS.md if the changes pertain to a user-facing function (i.e. it has an @export tag) or documentation aimed at users (rather than developers)
[x] Build admiral site pkgdown::build_site() and check that all affected examples are displayed correctly and that all new functions occur on the "Reference" page.
[x] Address or fix all lintr warnings and errors - lintr::lint_package()
[x] Run R CMD check locally and address all errors and warnings - devtools::check()
[x] Link the issue in the Development Section on the right hand side.
[x] Address all merge conflicts and resolve appropriately
[x] Pat yourself on the back for a job well done! Much love to your accomplishment!

Think I resolved everying @bms63. Regarding example having subject IDs, I was trying to save the space for the variabes that have an impact on the grade. I could add subject IDs if you feel strongly about it.

Hmm,  checks failing due to OCCDS vignette! Wil try merging in devel branch and see if it still fails.

Think I resolved everying @bms63. Regarding example having subject IDs, I was trying to save the space for the variabes that have an impact on the grade. I could add subject IDs if you feel strongly about it.

That makes sense.  @thomas-neitmann any thoughts on not including subject ids?

@yangc71 thanks for looking into the unt tests, hope your eyes didn't go cross-ways ;-)
@bms63 just spotted ADLB template failing, I will take a look.

@bms63 could yo review updates I made to ADLB template around the grades, ie NCICTCaev4/v5.
Thanks!


Report summary in build log

It would be really useful if the spotbugs task would show a report summary directly in the Gradle build log, so one wouldn't need to delve in the report file for obvious mistakes. This is even more true in CI setups where the report might not even be easily accessible.
For example, the Checkstyle plugin shows the following output:
[ant:checkstyle] [ERROR] Xxxx.java:9: Wrong lexicographical order for 'xxx' import. Should be before 'xxx'. [CustomImportOrder]

That would be extremely useful for CI environments.

I still don't see this happening, I'm using 5.0.14
My console only has:
Execution failed for task ':my-project:spotbugsMain'.
> A failure occurred while executing com.github.spotbugs.snom.internal.SpotBugsRunnerForHybrid$SpotBugsExecutor
   > Verification failed: SpotBugs ended with exit code 1. See the report at: file:///.../my-project/build/reports/spotbugs/main.html

I am also puzzled. The bug seems unsolved, or regressed.

Can this issue be reopened, there's lots of reports of this reoccurring.


Add example of watching a node that represent an array of Dinosors

Hello,
I'm a bit confused with the understanding of the parser function and the Resource.(*Dinosor) at the end of the event for. Would it be possible to add an example of watching a node that represent an array of Dinosors please ?
If I well understand, we need to create a function that is in charge of "updating" le the node we receive at the begining of the watch, otherwise, the data become false.
Thanks a lot.

Not 100% sure I understand your question, but I will try to explain the parser function...

Listen to a Firebase location. The updates will arrive as raw JSON strings.
Most likely, the raw JSON represents a Go struct you've defined somewhere... let's call it Foo
You provide a parser function that unmarshals the JSON into a Foo instance.
An update arrives, now we have the raw JSON.
The raw JSON is sent to your parser function.
The channel sends you that object as an interface{}... you type-assert to a Foo type.

If you need to review how type assertions work, I suggest you review this part of the Go Language Tour: https://tour.golang.org/methods/15
Issue #2 proposes a better way of doing this that I think will make this library much easier to use. However, I've moved on to other things in my work lately, and haven't had the time to get back to this yet. Have a look at #2 and let me know what you think.
Thanks, Eddy

@ereyes01 : Thanks a lot for the explanation, that is what I understood. At the first call, everything is good, as the big node received can be unmarshalled in my map of struct. But after, I only receive an update containing only the change and the path, so.. things are not so simple. I mean I cannot only type-assert it.
Right ?

Yes, actually, you are correct. If the updates you get are partial (i.e. just one element of a multi-key object), you will not be able to blindly unmarshal and type assert.
In that case, you have a few options:

Provide a nil unmarshaller callback, and you will get map[string]interface{}
Provide an unmarshaller that inspects the changed path (one of the parameters in the function signature) and acts accordingly

For instance, if your DB looks like:
"top": {
    "record1": {
        "a": 10,
        "b": 20
    }
}

and then you set top.record1.a = 20, you will get a raw event that looks like (assuming your are watching top.json/):
{"path": "/record1/a", "data": 20}
Whereas if you to add "{"record2": {"a":100, "b": 200}}", that would give you:
{"path": "/", "data": {"record2": {"a":100, "b": 200}}}
... and in this case, you could unmarshal updates to path == "/" into a:
type Foo struct {
    A int
    B int
}

My applications typically only watch for new objects instead of changes to existing ones, so unmarshalling to a type makes sense for my usage (only full objects show up in my change streams). Otherwise, you'd have to either write a more sophisticated unmarshaller that keys off of the changed path, or just settle for map[string]insterface{}.
Hope that makes sense?

Hello, thanks for your time ! Yes we are in phase ;)
I need to unmarshal based on the path.
Things is.. at this point, is there, and I'm sure yes, a way to do it generically, one time, and for all kind of watches.. I mean a global parser. Key point for the relatime sync for Firebase.

A global parser for everything would be really nice. I think the model behind Firebase's streaming REST design is that the user maintains a cache of everything he is watching, and based on the updates, keep the cache current.
In order to create a true global parser, I think you would have to follow that model and implement a cache of your objects (starting with the first update). That way, you can apply the partial update to your cache as each change arrives.
Without the cache, you would have to do multiple queries (i.e. GET the rest of the object)... but then your multiple operations would not be atomic with each other.
Disclaimer: I don't work for Firebase :-)


feat: add support for saving safetensors in the save_weights

Proposed changes
Close https://github.com/ml-explore/mlx/issues/486
Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING document
[x] I have run pre-commit run --all-files to format my code / installed pre-commit prior to committing changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have updated the necessary documentation (if needed)

Beautiful, thanks!
I left a minor comment for the docstring.
Also would you mind updating the docstring for load_weights to mention it supports .safetensors as well?

Yeah, I will update it now.


feat : add usePointerEvent props

I want to fix a bug I reported in a previous PR,
Inspired by the comments in the previous PR, we have modified the policy to allow users to freely choose by Props.

Thank you for your review.
We have made corrections in response to your comments.

I have closed my previous PR.
Is there anything else I can do to get this PR merged?

@martijnrusschen
Thanks for your advice.
I have tried to replace enzyme to RTL as best I can, what do you think?


ImportError: Ray is not installed. but verified it is installed!

llm = LLM(model="meta-llama/Llama-2-70b-chat-hf", tensor_parallel_size=4)
I having the following error
File ~/miniconda3/envs/vllm/lib/python3.8/site-packages/vllm/engine/ray_utils.py:64, in initialize_cluster(parallel_config, engine_use_ray, ray_address)
62 if parallel_config.worker_use_ray or engine_use_ray:
63     if ray is None:
---> 64         raise ImportError(
65             "Ray is not installed. Please install Ray to use distributed "
66             "serving.")
67     # Connect to a ray cluster.
68     ray.init(address=ray_address, ignore_reinit_error=True)
ImportError: Ray is not installed. Please install Ray to use distributed serving.
But verified it is installed with vllm with:
import ray
ray.init()
running version 2.6.2 , Also tried to uninstall and install older versions!

Add
    import traceback
    traceback.print_exc()

in ray_utils.py:28 to print the exception detail, maybe other package is not installed.

same to me. I'm using this command to fix the problem.
pip install --upgrade ray
pip install --upgrade pyarrow
pip install pandas

the main reason is pandas.
when you import TorchDistributedWorker, it depends on pandas.
it raise ImportError seems ray not installed, but the root is pandas.

try:
    import ray
    from ray.air.util.torch_dist import TorchDistributedWorker

    class RayWorker(TorchDistributedWorker):
        """Ray wrapper for vllm.worker.Worker, allowing Worker to be
        lazliy initialized after Ray sets CUDA_VISIBLE_DEVICES."""

        def __init__(self) -> None:
            self.worker = None

        def init_worker(self, worker_init_fn):
            self.worker = worker_init_fn()

        def __getattr__(self, name):
            return getattr(self.worker, name)

        def execute_method(self, method, *args, **kwargs):
            executor = getattr(self, method)
            return executor(*args, **kwargs)

except ImportError as e:
    ray = None
    TorchDistributedWorker = None
    RayWorker = None  # pylint: disable=invalid-name

Hit the same issue, after installing pandas, never shows up, but got another one：

try to use the following command to install ray:
pip install -U "ray[data,train,tune,serve]"
That's the official recommended way.


Add React Native Absolute import support to node resolver

Hi there,
First, thanks for eslint-plugin-import it really helps development.
I was having some issues using it with React Native and opened a StackOverflow question that turned into an issue of the project #626. Instead of creating a new resolver for React Native as suggested in this issue I've added a new setting to node resolver that is used to resolve absolute imports. If you prefer it to be a separate resolver, I can refactor it.
This is working in my RN project as expected.
Thanks, cheers
Miguel

BTW, just a suggestion. It would be nice to include how to run tests in the contribution guidelines and also how to trigger log debugging DEBUG=eslint-plugin-import:resolver:node

Hmm, tough call. I think as part of this v3 push I'd like to make resolvers more composable, so you could wrap a light React Native resolver around the normal Node resolver.
adding to v3 milestone to decide during planning

actually, see #626, looks like @guzart beat you to it? just catching up on issues/PRs so I just saw that.
closing this to defer to his resolver. 😎


[Layout] xs prop naming

There is a PR for the original layout, but I figured we need to parse out some separate discussions.
Description
I approach design as mobile first.  I'm finding that the default props for this are always prefixed with xs which is explicit - so there's no magic. 👍
What I do find is that it is perhaps a bit more than needed.
If material-ui is mobile first
Then the default prop name should apply to all ranges
When a responsive change is needed
Then you must prefix the prop with that responsive range
I would propose that all xs prefixes be removed.
<Layout
  container
  xsDirection='column'
  xsJustify='space-between'
  xsAlign='center'
  xsGutter={0}
  mdGutter={8}
>

would change to
<Layout
  container
  direction='column'
  justify='space-between'
  align='center'
  gutter={0}
  mdGutter={8}
>

I think this is distinctly better, easier to comprehend and easier to see responsive differences.
Thoughts?
/cc @oliviertassinari
Versions

Material-UI: next
React:
Browser:

Agreed, I went through that confusion too when testing the Layout  Component

I'm all in with that proposal 👍 . Benchmarking other libraries, Bootstrap isn't exposing any responsive classes for xs.
Making .col-6 the default style applied from 0 to (sm - 1)px

Oups, by the way, I have noticed one issue with the implementation. We loose the xs={4} style if the screen width is under the media query point. I don't think we need any media query for the xs properties.

Agreed, no media queries required for these properties.


Kinesis Elasticsearch Sink: correct shredding example in comment

This is the comment: https://github.com/snowplow/snowplow/blob/master/4-storage/kinesis-elasticsearch-sink/src/main/scala/com.snowplowanalytics.snowplow.storage.kinesis/elasticsearch/Shredder.scala#L202
"unstruct" should be "unstruct_event".

Similarly here https://github.com/snowplow/snowplow/blob/master/4-storage/kinesis-elasticsearch-sink/src/main/scala/com.snowplowanalytics.snowplow.storage.kinesis/elasticsearch/Shredder.scala#L103-L104, "context" should be "contexts"

Moving forwards


fix(build): check if release yaml is nil before accessing hash

Fixes #103
This can be tested with the example-java-jetty app with
BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-java.git#v46
This also requires deis/slugrunner#50, where the same error comes up in the slugrunner.

I tested default processes still work in apps without procfiles, just to make sure I didn't break anything. I removed procfile from the nodejs express example app (causing it to default to npm start) and it worked fine.


use constant time mem_cmp to compare sensitive data

when checking private keys and inside secure separator

@secumod can you please check my latest comment, and close issue if you feel that adding constant time mem cmp is not relevant in these cases?
https://github.com/cossacklabs/themis/pull/245#discussion_r147983115

Yes. Taking another look - seems it is not needed here, since all the parameters are public.

thank you :)


Initial Django REST framework progress

Currently a WIP

Hi phalt, can you merge this pull request into master. I'm free today. I'll checkout the "csv to database" task #9. The database should be accessed as an api through django-rest-framework right?

@vamsivarikuti this is no where near being completed :P

Updated to reflect new model changes. Not yet complete.

Hey @phalt has this actually been working for you so far? I've been tinkering with this and feel like I have things wired up right for Abilities and no matter what I do when I visit http://localhost:8000/api/v2/ability/ I get a 500 page.

@zaneadix sorry no. As I keep saying - I'm building APIs full time at work and development on this has all but stopped :cry: I committed this half done, so it doesn't surprise me there are 500's. Turn on DEBUG=True and that'll point in the right direction!

Thanks for getting back. I found out it was actually just a few missing commas in the REST_FRAMEWORK settings. I've got Abilities serving now. Working on more.


Refactor  components from React-Router to Wasp Links

https://github.com/wasp-lang/open-saas/issues/181
Description

Describe your PR! If it fixes specific issue, mention it with "Fixes # (issue)".

Fixes #181
Contributor Checklist

Make sure to do the following steps if they are applicable to your PR:

[ ] Update e2e tests: If you changed the /template/app, then make sure to do any neccessary updates to /template/e2e-tests also.
[ ] Update demo app: If you changed the /template/app, then make sure to do any neccessary updates to /opensaas-sh/app_diff also. Check /opensaas-sh/README.md for details.
[ ] Update docs: If needed, update the /opensaas-sh/blog/src/content/docs.

@zjy2024 looking good, thanks for the PR! Just to check, how did you know which Link's to switch to Wasp's Link? The thing is, Wasp's Link works only for the Routes defined in main.wasp file. So for Links leading to those, we want Wasp's Link, and for other Link's it is ok to use react-router one directly. Seems like all the changes you did are good. I wonder how you detected those, did you replace all the Link's, or hunted down those that are Wasp relevant only? Are you sure there are no Link's still left that could have been converted?


[Migration] IS-7.0.0 scripts fails on Oracle databases

Describe the issue:
The scripts to migrate to IS-7.0.0 when using Oracle databases insert multiple record on the IDN_CONFIG_TYPE table [1]. However this sentence does not meet Oracle's INSERT specifications [2] causing a syntax error (INSERT ALL clause is missing at the beginning of the statement):
Error occurred while executing :  INTO IDN_CONFIG_TYPE (ID, NAME, DESCRIPTION) VALUES ('8469a176-3e6c-438a-ba01-71e9077072fa', 'APPLICATION_BRANDING_PREFERENCES', 'A resource type to keep the application branding preferences') INTO IDN_CONFIG_TYPE (ID, NAME, DESCRIPTION) VALUES ('f4e83b8a-d1c4-a0d6-03a7-d48e268c60c5', 'PK_JWT_CONFIGURATION', 'A resource type to keep the tenant private key jwt configuration.') INTO IDN_CONFIG_TYPE (ID, NAME, DESCRIPTION) VALUES ('9ec61e9d-f0e6-4952-9a09-ab842aeb2db2', 'ATTRIBUTE_CONFIGURATION', 'A resource type to store attribute related configurations.') INTO IDN_CONFIG_TYPE (ID, NAME, DESCRIPTION) VALUES ('132b0ee6-43e0-462d-8b4b-15b68109d71d', 'ORGANIZATION_CONFIGURATION', 'A resource type to keep the organization configurations.') INTO IDN_CONFIG_TYPE (ID, NAME, DESCRIPTION) VALUES ('1fc809a0-dc0d-4cb2-82f3-58934d389236', 'CUSTOM_TEXT', 'A resource type to keep the tenant custom text preferences.') SELECT 1 FROM dual
        at org.wso2.carbon.is.migration.service.SchemaMigrator.executeSQL(SchemaMigrator.java:349)
        at org.wso2.carbon.is.migration.service.SchemaMigrator.executeSQLScript(SchemaMigrator.java:265)
        ... 32 more
Caused by: java.sql.SQLSyntaxErrorException: ORA-00900: invalid SQL statement

Expected behavior:
IS-7.0.0 Migration scripts should run without syntax errors.

<MIGRATION_CLIENT>/migration-resources/7.0.0/dbscripts/step1/identity/oracle.sql
<MIGRATION_CLIENT>/migration-resources/7.0.0/dbscripts/step1/identity/oracle_rac.sql

Environment information:

Product Version: IS 7.0.0
Database: Oracle

[1] https://github.com/wso2-enterprise/identity-migration-resources/blob/e1530f3a321b8f28143c95b551af27029836e0f8/components/org.wso2.is.migration/migration-resources/7.0.0/dbscripts/step1/identity/oracle.sql#L1-L12
[2] https://docs.oracle.com/en/database/oracle/oracle-database/19/sqlrf/INSERT.html

The Oracle syntax issue is fixed now hence closing the issue.


Expose variants from recipe

Adds variants function to a recipe's runtimeFn.
This is a continuation of #712.

Thanks @mszczepanczyk 🍻


Manifest file is missing or unreadable

Hi Chrome showed this message when installing. Thank you

Tried to Unpack Upload the /src folder and it is installed


Should run after VitePWA plugin

I'm using "vite-plugin-pwa" in my React project. Currently the zip pack plugin in running before the pwa plugin and the files generated by pwa plugin is missing from the zip file.

Added the sample project Devil7DK/vite-zip-pack-test

Raised a pull request to fix this.


[BUG] If opened from the last buffer line, content is misaligned

Hey, thanks for the cool plugin.
I found a bug where if your buffer is scrollable (has content from top to bottom), the content is misaligned when opened at the bottom of the buffer.

Would be an easy fix once this gets merged:

https://github.com/MunifTanjim/nui.nvim/issues/18

Without that PR, we'll need to do complex calculations to make sure this doesn't happen.

Would be an easy fix once this gets merged:

https://github.com/neovim/neovim/pull/14770

Without that PR, we'll need to do complex calculations to make sure this doesn't happen.


Version bump for ssh-agent needed.

Users running node 0.12 will hit this issue which has been fixed already.

Updated ssh-agent version<EMAIL_ADDRESS>and<EMAIL_ADDRESS>published


show changed cells visually

Feature
the same vscode shows changed rows in text file by adding a marker to the line, it would be nice if edit-csv did something similar.
Possible suggestions:

add a marker like vscode code
show the cell in a different color
show the cell in bold/italic

Can you show me a picture of how "vscode shows changed lines"? Do you mean the indicators when the file is in a git repository?
Anyway, interesting idea. This requires a copy of the original table to be kept in memory (and after each save).
This is because the user can do the following: Initial value -> change -> back to initial value.
The undo/redo data is not sufficient to recognise this and false positives would occur.
I think this would be best as an option for the extension as it might distract the normal user.
As for the colors, we could use green (new) and blue (change). I think it would be a good idea to color the background of a cell. Currently the search function also uses this approach to color matching cells.


fix:upload image demo

Types of changes

[ ] New feature
[√ ] Bug fix
[ ] Enhancement
[ ] Documentation change
[ ] Coding style change
[ ] Component style change
[ ] Refactoring
[ ] Test cases
[ ] Continuous integration
[ ] Typescript definition change
[ ] Breaking change
[ ] Others

Background and context

图例中的image弹框没有展示图片
Solution
修改下内部取值逻辑，用一下自己处理的url

How is the change tested?

修改即可生效查看

Changelog

Component
Changelog(CN)
Changelog(EN)
Related issues

Checklist:
无

[ ] Test suite passes (npm run test)
[ ] Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
[ ] Changes are submitted to the appropriate branch (e.g. features should be submitted to feature branch and others should be submitted to main branch)

Other information
无

deploy-site-preview / deploy-preview (pull_request)
这个错误我如何可以解决呢？


Improve article 2211.09085

Some of the text is overwrittern over some other sections https://ar5iv.labs.arxiv.org/html/2211.09085

Thank you for the report!
Based on the log the article also needs latexml support for tgpagella.sty and mhchem.sty.
The figure overlap you are seeing appears related (maybe the same) as the remaining tcolorbox.sty issue in #4


Next.js basics with payroll system

Article checklist
Topic approved
This closes #7549

@unholydisaster
Can you please link the issue and your previous PR here?
Will start my tech review soon

Link issue
Previous PR

Plagiarism check complete

Hey @unholydisaster ,
Just checking if i can reopen this PR and start the review?

You can reopen

You can reopen

Why was the PR closed?
cc @srishilesh
If many revisions are needed - we should be closing this PR 👍

Hey, I have already finished the suggestions but I have a problem with my local repository, I need a backup of the .git/config file of the engineering-education repo.

Hey, I have already finished the suggestions but I have a problem with my local repository, I need a backup of the .git/config file of the engineering-education repo.

@unholydisaster
Are you not able to push the changes? What issue are you facing exactly?

I am not able to push the changes
On Wed, 11 May 2022, 06:10 Srishilesh P S, @.***> wrote:

Hey, I have already finished the suggestions but I have a problem with my
local repository, I need a backup of the .git/config file of the
engineering-education repo.
@unholydisaster https://github.com/unholydisaster
Are you not able to push the changes? What issue are you facing exactly?
—
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/pull/7617#issuecomment-1123132651,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOQNVYFABH6DRTY4ETGB37LVJMQKVANCNFSM5UEKN5YQ
.
You are receiving this because you were mentioned.Message ID:
<section-engineering-education/engineering-education/pull/7617/c1123132651
@github.com>

@unholydisaster
Can you share a screenshot of the error?
Or you can try opening a new PR.

Hey, I have created the new PR.

Next.js basics with payroll system #7653

Please notify the reviewer of the new PR
On Thu, 12 May 2022, 00:26 hectorkambow, @.***> wrote:

Closed #7617
https://github.com/section-engineering-education/engineering-education/pull/7617
.
—
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/pull/7617#event-6593738339,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOQNVYAG6POXSH3MMCXB3H3VJQQZFANCNFSM5UEKN5YQ
.
You are receiving this because you were mentioned.Message ID:
<section-engineering-education/engineering-education/pull/7617/issue_event/6593738339
@github.com>

I don't know how but my systems app data got erased. Am going to make a new
PR with the changes and notify you.
On Wed, 11 May 2022, 06:49 Srishilesh P S, @.***> wrote:

@unholydisaster https://github.com/unholydisaster
Can you share a screenshot of the error?
Or you can try opening a new PR.
—
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/pull/7617#issuecomment-1123151678,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOQNVYGCM5LZNLCDAAUES7TVJMU3PANCNFSM5UEKN5YQ
.
You are receiving this because you were mentioned.Message ID:
<section-engineering-education/engineering-education/pull/7617/c1123151678
@github.com>


RSDK-2806: Movement sensor distance values should be in meters

(Just to be clear: I reviewed the .proto file but skipped all the .ts and .go ones. If you have manually changed anything in the other files, I won't have noticed.)


Reduntant error return value in getTime()

Hey 👋🏼
I was curious about why uuid.New() may return an error then I noticed that the GetTime() method has an error return parameter.
Is there any acceptable reason to has an error value in the return parameters? There is no returned error in the getTime() method. Only returns nil value at the end of the method.
https://github.com/google/uuid/blob/master/time.go#L66

Historical.  This package is quite old and harkens from pre go 1.0 days in which os.Time() was used and could potentially return an error.  uuid.New() returns a Version 4 UUID and has no error return while uuid.NewUUID() returns a Version 1 UUID and does have an error return.  Version 1 UUIDs are rarely used, people almost always use Version 4 (random).  The version 1 implementation is also not 100% correct as it technically requires persistent state outside of the application, probably another reason Version 1 UUIDs are not favored.  At this point it would potentially be breaking to remove the error return and there is very little benefit in doing so.

Maybe the note about error case should be replaced by insurance that no need to worry about the error.

If GetTime fails to return the current NewUUID returns nil and an error.


In Viewport calculation is off by one

Check out these examples where I have created two boxes:

Example 1: http://codepen.io/weotch/pen/VmWxJj
Example 2: http://codepen.io/weotch/pen/RogJbp

In the first example, they are both have heights of 100vh.  Note that they both register as in viewport even though the second box should be pushed out of it by the first, which should completely fill the viewport.
In the second example, the boxes have heights of calc(100vh + 1px).  Now, the second box correctly registers as being out of the viewport.

😮
Is it consistent between browsers?

Yeah, happening in latest chrome, firefox, safari as well as IE edge.

🍻

Did you publish to npm?  Not seeing it there:

Oops, published.


Layout animation bug

This was discovered by @hasanbalci:
Open up daily Newt, set animation true (perform animation during layout), set incremental off (randomize: true) and perform layout on default graph. You'll see that at the very end of layout things get messed up (compounds placed in weird locations):

This doesn't happen when animation if off (animation is set to 'end'). I don't know if this is somehow related to https://github.com/cytoscape/cytoscape.js-cose-bilkent/issues/45.
We suspect this was introduced after tiling was moved in l-level.

@ugurdogrusoz I made the requested change for #45 and it did not solve this problem as I expected (Because that change is inside  if(this.options.animate !== 'during'), but in this case animate option is 'during').
Then, in cose-bilkent go back to  v1.6.7 where tiling is not moved to l-level yet. I see that this problem does not appear in v1.6.7. It appeared right after tiling is moved to l-level as you suspected.

@ugurdogrusoz it seems to be fixed now.

@hasanbalci can you verify and close the issue please?


default-branch-button: Button links to repo root

Description
The default branch button links to https://github.com/typescript-eslint/typescript-eslint/blob/main.
Unsure if related: When I checked the console after encountering this issue, the error in https://github.com/refined-github/refined-github/issues/8184 appeared.
How to replicate the issue + URL
https://github.com/typescript-eslint/typescript-eslint/blob/86409083167bee4ba1ad3ebba22785b3a4a262ee/packages%2Feslint-plugin%2Fdocs%2Frules%2Fstrict-boolean-expressions.mdx
Extension version
24.12.20
Browser(s) used
Chrome 131
Token ⚠

[X] I set a token in the options page. I understand that some features require a token to work.

May be related:

https://github.com/refined-github/refined-github/issues/8180


Remove old operator bundles [v1.36]

These operator bundles are not necessary for us to keep around, so in the interests of cleaning up the repository we can just remove them. Cherry-pick of #3582.

I'm sorry but I failed delete the branch after merging the pull request.


Fix typo

Thanks a lot! Sorry for having missed your PR :'( I still struggle setting GH notifications correctly, I see.
I will close this as I see it is fixed on master. But thank you anyway!


Add own entries to schedule

As a user I want to add my own entries to the schedule, as the ZPA does not always have all my subjects listed.

Fixed by Cacaocow


ostest:add sem protocl to priority inheritance

Summary
ostest,sem use lock need set protocl SEM_PRIO_INHERIT
patch
Testing
ostest

Do we need such a change if we enable the priority inheritance feature?

@anjiahao1 @xiaoxiang781216 Do we need such a change if we enable the priority inheritance feature?

if sem used as lock,need set protocl to priority inheritance, others do not need

@masayuki2009 @pkarashchenko do you have more concern about this change?

@masayuki2009 @pkarashchenko do you have more concern about this change?

This is a case of counting semaphore with priority inheritance enabled. We discussed this  https://github.com/apache/incubator-nuttx/pull/6965#discussion_r985285801 . So the question that I raise long time in the past comes again: Should priority inheritance be an option of semaphore or mutex only. In this case I'll rephrase it: Should we allow enabling of priority inheritance for non-binary semaphores. If yes, then we probably need to update many places in code with similar changes.

@masayuki2009 @pkarashchenko do you have more concern about this change?

This is a case of counting semaphore with priority inheritance enabled.

Yes, but ostest is very special one, because it verify the internal detail of OS implementation, and understanding the real behavior change between the enable and disable of priority inheritance.

We discussed this apache/incubator-nuttx#6965 (comment) . So the question that I raise long time in the past comes again: Should priority inheritance be an option of semaphore or mutex only. In this case I'll rephrase it: Should we allow enabling of priority inheritance for non-binary semaphores. If yes, then we probably need to update many places in code with similar changes.

I don't believe that the non-binary semaphore can work well with the priority inheritance in general. The priority inheritance is meaningful only when:

The semaphore has the binary value(0 or 1)
The semaphore is used as lock

Yeah, currently with CONFIG_SEM_PREALLOCHOLDERS > 2 this will work. I mean that the current implementation with some configuration allows priority inheritence on counting semaphores and really do not makes sense to me, but to unblock further changes.
IMO anyway we need to make a kernel implementation of mutex objects instead of making a semaphore wrapper, so application will use pthread_mutex and kernel will use nxmutex, but that may never happen since many things like mutex usage in libc in FLAT build are not clear.

Let me merge this PR since https://github.com/apache/incubator-nuttx/pull/5070 has been merged.


Have SZ, nx_loc, n_groups etc. accessible "globally"

At the moment all the variables that define block sizes are defined in various places and sometimes duplicated over multiple structures. For example, backend_t has nx_loc, ny_loc, ny_loc, but so has backend_t%xdirps%n etc.
SZ is accessed in m_omp_common or m_cuda_common depending on the backend, meaning we can't access it outside the backend functions (unless being passed as argument from there etc.).
It would be good to have a single consistent way of accessing all of these variable. It will also reduce the number of arguments needed to be passed around.

I agree, there is a bit duplication in some variables and its better to clean them up sooner than later. Lets try to come up some sensible notation here and then implementing it will be easy.
I think the most important point is having a clear distinction between padded dimensions and actual domain dimensions. This will help for a smooth transition from periodic to non-periodic BCs. Currently in both backends we use nx/y/z_loc as if they're padded dimensions, especially in reorders, but their name doesn't suggest this at all. Maybe we can drop _loc because we almost always work with the local dimensions, and rarely with global. We can highlight in the name when a size is global and just not bother for local dimensions I think. So maybe we can replace nx/y/z_loc with dims_padded(3)?
For the actual local domain size, I think dirps%n is the best place to store it. tds_solve is passed the dirps and the domain size is already taken from the dirps%n I suppose.
Also, dirps%n_blocks is probably the best for accessing the number of pencil groups in the domain. Its name is the worst though, back then there was only CUDA stuff around and because the CUDA block dimension is the number of pencil groups, this influenced me to give it a wrong name. So maybe we can rename n_blocks to n_groups, and get rid of the globs%n_groups_x/y/z as it is completely a duplicate and has very few uses that can easily be replaced. n_groups may not be the best though, so please share if you have an idea. n_pencilettes could be a fun one :laughing:, as pencils were these chunky groups of lines in a 2D domain decomposition setting and the new SZ many lines grouped together are small compared to that.
SZ is a different story. Its annoying it comes from two different sources based on the backend, but having a single source can be a problem for performance when running a heterogeneous simulation. We don't support this yet, however if we give up now and collapse SZs into one then we will stop passing it as an argument, and then it'll be a pain to bring this seperation back into the codebase. I think this affects very few places in the code though, so would be good if can keep it as is.

I agree with getting rid of _loc as we are almost always dealing with local domain indeed.
Happy with n_pencilettes :) but n_groups would also work for me
About SZ, I wasn't suggesting we have a single value. It should be based on the architecture/backend. But have a single way of accessing it would be good. At the moment we need to run either use m_omp_common, only: SZ or use m_cuda_common, only: SZ. And while most of the time it is ok because only under backend things, there are some moments when we will need to get SZ outside that and I'd rather not use ifdef cuda... unless we really have to. I had to do something like that for the ordering because that module shouldn't live under any backend for example.
Just a thought but, nx/ny/nz, n_groups, and SZ define dimensions of the fields. Could they be stored in field_t instead of dirps and be adapted depending on the dir.
For example, if a field is in the y direction, field%n => ny, field%n_padded => ny_padded field%n_groups => n_groups_y, field%SZ => SZ etc. All of these variables would be defined in the allocator and setup automatically when issuing get_block(DIR_Y).
That way any loop working on a particular field will always work with the same loop ranges (field%n_groups, field%n and field%SZ) and these values will always be 'at hand' without passing dirps around when it isn't needed.

solved by #95


Support previewing audio files

Audio file types

.mp3
.wav

Taken from here: https://github.com/microsoft/AzureStorageExplorer/issues/6627
### Tasks
- [ ] CELA review codecs (Jason)
- [ ] PR with Electron at MSFT team (Jason)
- [ ] Update build scripts/pipeline to use new FFmpeg flavor (Richard)
- [ ] Actual audio preview (Richard)

Electron prep work is done in 1.30.0.


[Feat]: Convert images to webp format

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I would like to change images to webp format
Use Case
Webp images are faster to load and offer optimization
Benefits
No response
Priority
High
Agreements

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC contributor
[X] I'm a Hacktoberfest contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

please assign this issue to me under gssoc or hacktoberfest . thankyou .

I would like to work on this issue. Could you please assign me this task


Plan for and Set-up Collaboration Space on Gitlab.com into & migrate issues & docs (this space)there

Currently we're using Github (right here where this issue exists) for collaboration -- e.g., issue/task management and documentation. Since the code will be on Gitlab, and PURE/Alloy is built on Gitlab, and keeping with the principle to keep docs as close to the code as possible, we should migrate the issues and docs we've been temporarily putting here in Github to Gitlab as soon as possible.

We have figured out this issue, as we decided that everthing that relates to the PURE/Alloy platform is on GitHub, everything that is related with modeling is hosted in GitLab; documentation will follow accordingly. Closing issue.


Question: Does the meteor dev database run?

When running in dev mode, does the meteor database also run?
I'm assuming you need to have your own database configured? Also, how does one go about connecting meteor to the database? It might be a good addition to the README.

Whoops, good question, I forgot to mention that -- you have to run mongod yourself in a separate shell.

The connection is configured by the MONGO_URL environment variable, which I put in the .env file.


created cloud init workflow and documentation

/cc @lmilbaum I need these to build the images. I cannot access the container even after ignoring failures which cause any steps in the Ansible playbook to fail, but the github action thinks its succeeded, so it just ignores those sections.

moved to #430


Refactoring twig test fix

Apparently twig compilation has changed and tests were failing.
Updated lines in assets files.
Split up FunctionScanner logic in a separate class.

Oh well, turn out some dependencies on my end had been out of date. Sorry for that.

@oscarotero  can we get a release, please :)


Unable to connect LUIS - AI Dialog Bot Framework

I have explained my pblm in this stackoverflow question. Could you please help anyone on this??
http://stackoverflow.com/questions/42519844/bot-framework-unable-to-connect-luis-ai-dialog

Closing issue as problem is not a Bot Framework bug.


Do not require pods to have a nodeName

ModuleLoader pods that have an empty .spec.nodeName cannot terminate properly because we filter out events for those objects and never remove their finalizer.
Modify the PodNodeModule reconciler so it removes the finalizer for those objects, as it should.
Fixes #626
/cc @mresvanis @yevgeny-shnaidman

/lgtm

/cherry-pick release-1.1


Plugin appears horribly broken

I've got this in my build.gradle and I'm seeing this output:
plugins {
    id "idea"
    id "java"
    id "antlr"
    id "jacoco"
    id "checkstyle"

    id 'nebula.project' version '3.0.4'
    id 'nebula.contacts' version '3.0.1'
...
contacts {
<EMAIL_ADDRESS>{
        name 'Clay Reimann'
    }
}

<developers>
    <developer>
      <email>Clay Reimann</email>
    </developer>
    <developer>
      <email>name</email>
    </developer>
    <developer>
<EMAIL_ADDRESS>    </developer>
  </developers>

I think name has been changed to moniker (based on this comment). Can you please check?

Moniker partially resolves things.
contacts {
<EMAIL_ADDRESS>{
        moniker "Clay Reimann"
    }
}

produces:
  <developers>
    <developer>
      <name>Clay Reimann</name>
<EMAIL_ADDRESS>    </developer>
  </developers>

However this:
contacts {
<EMAIL_ADDRESS>{
        moniker "Clay Reimann"
        email<EMAIL_ADDRESS>    }
}

yields:
<developers>
    <developer>
      <name>Clay Reimann</name>
<EMAIL_ADDRESS>    </developer>
    <developer>
      <email>email</email>
    </developer>
  </developers>

and
contacts {
    "clay" {
        moniker "Clay Reimann"
        email<EMAIL_ADDRESS>    }
}

yields:
<developers>
    <developer>
<EMAIL_ADDRESS>    </developer>
    <developer>
      <email>email</email>
    </developer>
    <developer>
      <name>Clay Reimann</name>
      <email>clay</email>
    </developer>
  </developers>

At the least the README should be updated to reflect the moniker to name change.

I reviewed the current code and updated the docs accordingly. Thanks again for the bug report!

The attribute "id" is also mentioned on the github page once, but it seems to be deprecated. Any reason for this? It seems like "moniker" is used for the full name, so "id" could be used for the nickname.

@Nikecow I've fixed that reference. id was used interchangeably for GitHub and Twitter ids. There are now separate fields for those.

@DanielThomas Ok I see. I read that "name" was protected, so you went with moniker instead. Why don't you use "fullname" for example, and leave moniker for nicknames?


Add documentation on how to restart jobs

With the new plugins system, jobs can be easily restarted. Add documentation on how to do the job restart.

This is documented in the admin tutorial, which is the starting point for people helping in the qiita.admin account. Closing.


Market & regulator - buy asset actions

Unable to append lot for buy asset by regulator:
https://github.com/airalab/core/blob/master/sol/market/DAOMarketRegulator.sol
So this is a feature of lot constructor: no way for creating lots with fractional price.
Place lot to buy asset:

Asset
Value
Price

potato
10
50

This creates Lot with

Seller
Buyer
Sell
Buy
Value
Price

me
none
credits
potato
10*50=500
1 / 50 = 0.02

It's price not looks good because real types isn't supported by Solidity.

So may be the great way is constructor with

Seller
Buyer
Sell
Buy
ValueSell
ValueBuy

me
none
credits
potato
10*50=500
10

I think we should use only price for 1 unit :

Asset
Value
Price for 1 unit

potato
10
5

Now price is a price of one saled unit, as you say.
But, when I want to sale cheap unit, the price is too low as presented on example.

You can't sale unit with price low then 1 unit per 1 token. In Russia 1 token = 1 kopeyka, in USA 1 token = 1 cent

RLY? In theory a can say:
1 cup = 50 cent => 1 cent = 1/50 cup
Price is really sophisticated concept for the Lot contract and I want to reduce it.

1 cup = 50 cent => 1 cent = 1/50 cup

IMHO: you can't say 1 cent = 1/50 cup.
Only:

1 cup = 50 cent and 50 cent = 1 cup.
2 cup = 100 cent and 50 cent = 1 cup.
3 cup = 150 cent and 50 cent = 1 cup.
4 cup = 200 cent and 50 cent = 1 cup.
...

Looks good, bun don't solve the problem below:

some assets is too cheap and price of one unit of this is rational.

If 1 unit price is so cheap than you can't sell on Market 1 unit. That is normal. For example: many producers have a min quantity of goods in order, for this story 10 cups - one lot, 20 cups - second lot ... - why they doing that? Because producers sell box of cups (1 box = 10 cups) on wholesale market. If bayer want buy 1 cup - then he go to retail market.
So, we should reqired from seller price for 1 unit when he adding new lot. If his price is to low for Market token and many bayers want buy 1 unit then sellers create new Market with more cheap token. You will be usefull read that: https://en.wikipedia.org/wiki/Gresham's_law

Yes,
but in Lot notation the price field associated with sale token  and for one unit of sale and sometime, as we see, with sale credits(or another cheap token) we give fractional price. It's bad.
In my opinion we need replace price parameter.

Agree. So, you change price parameter to Buying price  for 1 unit for sell and buy lots ? Or anything else solution ...

Refactoring done, close


[Release-1.28] - Unable to create split role cluster

Backport fix for Unable to create split role cluster

#9540

Closing as this was found via KDM CI and is now passing there.


Use of CSS variables var(--*) on swatches

Hi @mdbassit :)
Is there a way to allow us using css var function as swatches colors?
I don't use the input[type="color"] and I built the swatches through an other way. Here is the result:
Coloris({
    // some other options
    swatches: [
        'var(--poseidon-color-1)',
        'var(--poseidon-color-2)',
        'var(--poseidon-color-3)',
        'var(--poseidon-color-4)',
        'var(--poseidon-color-5)',
        'var(--poseidon-color-6)',
        'var(--poseidon-color-7)',
        'var(--poseidon-color-8, "#ffffff")',
    ],
});

It's possible to get the var's color simply thanks to: getComputedStyle(document.documentElement).getPropertyValue('--poseidon-color-1')
Do you think there is a way to hook the setColorFromStr function?
If I select on a swatch instead of picking a color, I need the input to get the variable name (var(--poseidon-color-1)) as a result.
Thanks for your feedback.
Achraf

I don't see a point in doing it that way. But you are welcome to fork the project and customize it as much as you like.


Exception when creating Debug device on Windows 10 and SharpDx 3.0.2

I'm getting a ton of

Exception thrown: 'SharpDX.Diagnostics.ObjectTracker.GetStackTraceException' in SharpDX.dll

when creating a Direct3D11 device with Debug flags in Windows 10 with SharpDX 3.0.2.
Is it normal?

Yes, it should if you have enabled Configuration.EnableObjectTracking, this is the only way to get a stacktrace in a PCL assembly. Note that Configuration.EnableObjectTracking should be used only in debug scenarios.
Let me know if this is not the case.

Yes I'm using that (in debug scenario)... but in previous version (2.6.3) it was not throwing all those exceptions

Yes, because 2.6.3 was not PCL

Thanks


Error in Report Editor Tab

Hi @federicomarini
I have setup ideal shiny server on my end. Everything works correctly - however on the Report Editor tab I keep getting this error message - An error has occurred. Check your logs or contact the app author for clarification
I am using the demo airway data for this trial.
Within the logs, these set of lines keep repeating. I am not sure where to start looking to debug this. Thanks in advance.

Meanwhile, I will try on the local instance with the most up-to-date packages

hi @federicomarini
I see on the yihui/knitr#2252 that there was a fix proposed and you mentioned it works for you.
I would like to know how I should go about implementing this at my end
Thanks a lot

Just reinstall the latest version, either from Bioc or github, they should both "just work".
No need to change anything in the setups 😉

Hi @federicomarini
I reinstalled the latest version and I still have the same issue as before - does it work for you?
Do I need to restart shiny server or anything like that
Thanks

You should be safe in using the github version. This should propagate to the Bioc versions, but depending whether some other dependencies are there or not, it might or might not be available (yet)

Version 1.25.1 is on github and that should work.
Give the server a restart just to be extra safe?

Do you know if it matters if the R installation is 4.2.3 - will version 1.25.1 install cleanly OR does ideal_1.25.1 need R=4.3

If you install the github version, that is "not enforcing" R to be the 4.3.0 which would be needed for the new Bioc releases


Obsoletion request: [GO:0033386 geranylgeranyl diphosphate biosynthetic process

Please provide as much information as you can:

GO term ID and Label

GO:0033386    geranylgeranyl diphosphate biosynthetic process

Reason for deprecation Put an x in the appropriate box:

[ ]  The reason for obsoletion is that this term was an unnecessary grouping term.

(pathway intermediate, only has 3 pombe annotations)

"Replace by" term (ID and label)
If all annotations can safely be moved to that term

"Consider" term(s) (ID and label)
Suggestions for reannotation

Are there annotations to this term?

How many EXP:

Are there mappings and cross references to this term? (InterPro, Keywords; check QuickGO cross-references section)

Is this term in a subset? (check the AmiGO page for that term)

Any other information

Checklist for ontology editor
Check term usage and metadata in Protégé

[ ] check term usage in the ontology
[ ] check internal mappings: RHEA, EC, MetaCyc
[ ] check subset usage
[ ] check taxon constraints

Check annotations

[ ] create Annotation Review spreadsheet

Annotation Review template: https://docs.google.com/spreadsheets/d/1izV3q1jnq_Ybg5MJ53O_b5BCTkGtjl_Fi-cOg3-7eBE/edit#gid=0

Instructions: https://wiki.geneontology.org/Annotation_Review_Request

[ ] create annotation review ticket: https://github.com/geneontology/go-annotation/issues/new?assignees=&labels=annotation+review&template=annotation-review-for-obsoletion.md&title=Review+annotations+to+[INSERT+GO+TERM]
[ ] find external mappings (via IEAS), include in obsoletion notice
[ ] tag curators in Annotation Review ticket. Responsible annotator for each group: https://github.com/geneontology/go-site/blob/master/metadata/group-contacts.csv

Notification

[ ] create obsoletion announcement
[ ] announce to GO friends<EMAIL_ADDRESS>[ ] paste the text in the ontology ticket

The reason for obsoletion is that this term was an unnecessary grouping term.

Is it? There are 2 MetaCyc pathway
and there are no children.. how is it a grouping class?

well, unnecessary specificity, either way, it doesn't seem necessary; it's an intermediate in multiple pathways (between FPP and squalene), but it doesn't appear to be a branch point... I will look closer.
It only seems to be used for geranyltranstransferase activity

After discussion with @pgaudet  also look at
•	'geranyl diphosphate metabolic process' http://purl.obolibrary.org/obo/GO_0033383
•	'geranyl diphosphate biosynthetic process' http://purl.obolibrary.org/obo/GO_0033384

•	'geranylgeranyl diphosphate catabolic process' http://purl.obolibrary.org/obo/GO_1902247
•	'geranylgeranyl diphosphate metabolic process' http://purl.obolibrary.org/obo/GO_0033385
•	'geranylgeranyl diphosphate biosynthetic process' http://purl.obolibrary.org/obo/GO_0033386

•	'farnesyl diphosphate catabolic process' http://purl.obolibrary.org/obo/GO_0045339
•	'farnesyl diphosphate metabolic process' http://purl.obolibrary.org/obo/GO_0045338
•	'farnesyl diphosphate biosynthetic process' http://purl.obolibrary.org/obo/GO_0045337

•	'farnesyl diphosphate biosynthetic process, mevalonate pathway' http://purl.obolibrary.org/obo/GO_0010142

And these look like MFs, but I haven’t checked.
•	'peptidyl-S-geranylgeranyl-L-cysteine biosynthetic process from peptidyl-cysteine' http://purl.obolibrary.org/obo/GO_0018228
•	'peptidyl-S-farnesyl-L-cysteine biosynthetic process from peptidyl-cysteine' http://purl.obolibrary.org/obo/GO_0018226
•	'peptidyl-S-12-hydroxyfarnesyl-L-cysteine biosynthetic process from peptidyl-cysteine' http://purl.obolibrary.org/obo/GO_0018227
(NOTE "I think  farnesyl diphosphate biosynthetic process, mevalonate pathway" is OK (major branch point, FPP is the precursor for  farnesylation, dolichol,  heme A ubiquinone, gernylgerenylation, and precedes squalene the first dedicated step in sterol biosynthesis) but will review the others. It seems the catabolism terms have been used to model consumption of the metabolite by the next pathway component  (i..e NOT catabolism).

@pgaudet  what should the obsoletion  reason be? as you say it isn't really grouping class, it's pathway intermediate (but in this case it is sometimes used as grouping for preceding steps, but it  isn't an 'end point')

Actually @pgaudet  I think most of these are OK
geranyl diphosphate biosynthetic process'
and
geranyl diphosphate biosynthetic process'
are  end points.
I was only questioning GO:0033386 geranylgeranyl diphosphate biosynthetic process
which does not seem to be.
I will double check this with EcoCyc, I can't find good reviews for these few steps and it is complicated by the enzymes being multipuctional and having paralogs, and the chemical names being inconsistent and difficult to interpret.
The catabolic ones look dodgy, most seem to be used to annotate the preceding synthase so maybe I will begin with those.

GO:0033386 geranylgeranyl diphosphate biosynthetic process
was added here
https://github.com/geneontology/go-ontology/issues/4233
I will just remove the annotations I had made, and review the catabolic.

GO:0033386 geranylgeranyl diphosphate biosynthetic process is fine
GO:0033383  geranyl diphosphate metabolic process is questionable? (20EXP)

HI Val,
I am still unsure this/these term/s should be obsoleted, as. they have annotations and especially cross references. I am not sure why you point to the ticket where these terms were added (based on MetaCyc); what should I look for in https://github.com/geneontology/go-ontology/issues/4233 ?
GO:0033386  geranylgeranyl diphosphate biosynthetic process maps to 2 MetaCyc:

PWY-5121 superpathway of geranylgeranyl diphosphate biosynthesis II (via MEP)
PWY-5120, which is a smaller pathway. In that entry, MetaCyc states

In plants, geranylgeranyl diphosphate is an intermediate in the biosynthesis of essentail compounds such as chlorophylls, carotenoids, tocopherols, plastoquinones, and gibberellins [RodriguezConcep02], as well as a variety of secondary metabolites. In addition, GGPP is also used in posttranslational modifications of proteins (geranylgeranylation) which is important for membrane adhesion as well as the function of some proteins [Caldelari01, Johnson05].

So, that seems a useful intermediate (branch point).
GO farnesyl diphosphate biosynthetic process, mevalonate pathway maps to PWY-922, which seems to be a different pathway.
(although that xref is also shared with isopentenyl diphosphate biosynthetic process, mevalonate pathway)

If you can explain why the MetaCyc pathways are incorrect then we can consider obsoletion.

yes I requested the wrong term - I meant
GO:0033383 geranyl diphosphate metabolic process
(the reactions are all performed by the same enzyme PANTHER	FARNESYL-PYROPHOSPHATE SYNTHETASE)
GO:0033386 geranylgeranyl diphosphate biosynthetic is OK
GO:0045337 farnesyl diphosphate biosynthetic process is OK.
It sees that "GO:0033383 geranyl diphosphate metabolic process" was requested because curators probably wanted a  specific process to match the 'output' of each reaction,  but GPP doesn't need one (see image above)
I will change the title.

OK. I think this was created because it was standard to create the metabolic/biosynthetic/catalytic triad for any compound.
Depending on the group, 'metabolism' may mean synthesis or degradation :(

I am not so sure about this. The annotations are for bacteria.  Although this isn't an end point in eukaryotes as far as I can see, it might be an end point in bacteria.


#211: done

fixed #211

@rultor merge

@rultor merge

@yegor256 OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@yegor256 Done! FYI, the full log is here (took me 5min)

Job gh:cqfn/eo#213 is not assigned, can't get performer

@yegor256/z everybody who has role REV is banned at #213; I won't be able to assign anyone automatically; consider assigning someone manually (as in §19), or invite more people (as in §51), or remove the job from the scope (as in §14)


Babel plugin error after upgrading nuxt to 2.15.8

Versions

nuxt: 2.15.8
node: 14.17.1

Reproduction

Additional Details

See error gist here

Steps to reproduce

Upgrade nuxt to 2.15.8
Start dev server

What is Expected?
Nuxt not to crash
What is actually happening?
Nuxt crashes

Can confirm, the same issue for us.

I encountered the same problem and managed to solve it by recreating yarn.lock. Thanks!
node version: v12.16.3
{
  "dependencies": {
    "@babel/core": "^7.15.0",
    "@babel/preset-env": "^7.15.0",
    "@nuxt/types": "^2.15.7",
    "babel-core": "^7.0.0-bridge.0",
    "babel-jest": "^27.0.6",
    "nuxt": "^2.15.7",
    // ......
  },
  // ......
}

If you don't want to nuke your whole yarn.lock, you can delete just the @babel/... portions of it and then run yarn install again.  It will recreate just the Babel parts.  This resolved the issue for me.

I encountered the same problem and managed to solve it by recreating yarn.lock. Thanks!
node version: v12.16.3
Part of my package.json:
{
  "dependencies": {
    "@babel/core": "^7.15.0",
    "@babel/preset-env": "^7.15.0",
    "@nuxt/types": "^2.15.8",
    "babel-core": "^7.0.0-bridge.0",
    "babel-jest": "^27.0.6",
    "nuxt": "^2.15.8",
    // ......
  },
  // ......
}

The first part was enough to solve the problem. Thanks !

Can we rename this project bug.js ?


While compairing the speedTest between openssl-1.1.1o vs openssl-1.1.1l on solaris64 Plateform.There is almost 100+ Ciphers for which there is degradation more than 5% .

Degradation reported with openssl-1.1.1o compair to openssl-1.1.1l.

Did you compile the sources with exactly the same options? Which concrete ciphers show the degradation? Is the degradation reproducible when averaging multiple runs?

Yes , Sources compiled with same options. Some of  the Ciphers with degradation more than 13% are listed below -

md5_16   (-26%)
sha384_16 (-19%)
sha224_16 (-19%)
md4_16 (-18%)
sha384_64 (-18%)
md5_64 (-16%)
seed-ofb_1024 (-16%)
seed-ofb_64 (-15%)
mdc2_16 (-15%)
sha512-224_64 (-15%)
aria-192-cfb_256
rc2-cfb_16
sha384_256
aria-256-cfb1_256
aria-192-cfb_1024
sha512-224_16
aria-256-ofb_1024
aria-256-ofb_8192
aria-256-ofb_16384

degradation is reproducible when averaging multiple runs.
Also Performed the test on Isolated Machine.

These figures are not the output from our speed command.
Could you please provide such output vs a baseline?
Several of these seem to be old obsolete ciphers & digests for which performance is not considered critical.

1.1.1 is out of support.


feat: better errors for DataProxyEngine

Thanks for your contrib. I've merged it here https://github.com/prisma/prisma/pull/9893.

Really cool to see how easy it is to extend Errors in JS these days!


How to use the /commands API to create switches?

Is your feature request related to a problem? Please describe.
With our 2023 xc40 Mild-hybrid it's not possible to use the switch.volvo_{vin}_climate_status entity that is created by volvo2mqtt, because the vehicle is gas and must be started first.
The https://api.volvocars.com/connected-vehicle/v2/vehicles/{vin}/commands endpoint will return a list of commands for a given vehicle, for our vehicle I see this in the response:
{
  "data": [
    ...
    {
      "command": "ENGINE_START",
      "href": "/v2/vehicles/{vin}/commands/engine-start"
    },
    {
      "command": "ENGINE_STOP",
      "href": "/v2/vehicles/{vin}/commands/engine-stop"
    }
  ]
}

I am wondering if it's possible to create a new switch entity from this data, such that updating the switch value in HA invokes the correct API request for the command.
Describe the solution you'd like
At this point I am just wondering what is possible, any advice would be appreciated!
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Not possible at this time #118


DRDT-90: Ad Blocker Plugin

This plugin consolidates the different techniques we support for blocking
ads and other third parties services.
When enabled, it allows other plugins to register themselves as ad services,
and post types to support ad blocking.
From an ad-related plugin, one can add the following snippet to allow per-post
control of the service:
	add_filter( 'ad_services', function( $services ) {
		$services['tb'] = 'Taboola';
		return $services;
	});

Then use apply_filters( 'is_service_blocked', false, 'tb' )
to check whether the service (tb) is blocked or not. In some
cases it makes sense to not run the plugin code if the service
is blocked. In others, for instance when code depends on load order,
it may work better to de-register the relevant scripts.
If the current post type supports Ad Blocking, a metabox will
show up on the post edit screen, allowing to block any of the
registered ad services. To add support for Ad Blocking to new
post types, call  add_post_type_support( 'listicle', 'ad_blocker' );
(where listicle is the post type).

Created new staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-74
master
Result

Homepage
87
96
✘

Article
96
98
✔

Listicle
41
98
✘

Page
98
98
✔

Hub
97
95
✔

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

Updated staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-74
master
Result

Homepage
52
96
✘

Article
31
98
✘

Listicle
63
97
✘

Page
64
98
✘

Hub
4
94
✘

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-74
master
Result

Homepage
3
96
✘

Article
76
98
✘

Listicle
4
98
✘

Page
76
98
✘

Hub
4
97
✘

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-74
master
Result

Homepage
71
96
✘

Article
67
98
✘

Listicle
73
98
✘

Page
71
98
✘

Hub
74
95
✘

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-74
master
Result

Homepage
65
96
✘

Article
57
98
✘

Listicle
74
96
✘

Page
69
98
✘

Hub
74
95
✘

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-74
master
Result

Homepage
71
96
✘

Article
66
98
✘

Listicle
71
98
✘

Page
70
98
✘

Hub
75
97
✘

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-74
master
Result

Homepage
89
97
✘

Article
89
96
✘

Listicle
89
98
✘

Page
92
98
✘

Hub
92
94
✔

(Note: Tests are against the NOADS version of the pages!)

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-74
master
Result

Homepage
91
96
✔

Article
89
96
✘

Listicle
89
98
✘

Page
92
98
✘

Hub
89
96
✘

(Note: Tests are against the NOADS version of the pages!)

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-74
master
Result

Homepage
78
96
✘

Article
89
98
✘

Listicle
89
98
✘

Page
79
95
✘

Hub
83
95
✘

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-74
master
Result

Homepage
84
96
✘

Article
86
98
✘

Listicle
89
98
✘

Page
92
98
✘

Hub
91
94
✔

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-74
master
Result

Homepage
91
97
✘

Article
89
98
✘

Listicle
89
98
✘

Page
92
98
✘

Hub
65
97
✘

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-74
master
Result

Homepage
82
96
✘

Article
98
98
✔

Listicle
98
97
✔

Page
98
98
✔

Hub
97
94
✔

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

Updated staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

Updated staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-74
master
Result

Homepage
83
96
✘

Article
98
98
✔

Listicle
98
98
✔

Page
98
98
✔

Hub
97
96
✔

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-74. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

Congrats! Frontend performance tests passed!
Full Lighthouse performance results:

Page/Branch
pr-74
master
Result

Homepage
97
97
✔

Article
98
98
✔

Listicle
98
98
✔

Page
98
98
✔

Hub
97
97
✔

(Note: Tests are against the NOADS version of the pages!)


Single repo for the community

This repo can me merge with https://github.com/jsuarezruiz/awesome-dotnet-maui for the convenience and benefit of the dotnet maui community. This way the community will have single place to find all the awsome resources.

I'll take that in a consideration.


promql: fix incorrect results and panics in sum and avg over mixed custom and exponential buckets, or incompatible custom buckets

sum and avg could return incorrect results, or, in the case of avg, panic, if mixed custom and exponential buckets were encountered at a single timestamp, or if incompatible custom buckets were encountered at a single timestamp.

Thank you. Related to https://github.com/prometheus/prometheus/issues/13494

@charleskorn could you resolve the merge conflicts once more? I'll try to merge ASAP after that.

@charleskorn could you resolve the merge conflicts once more? I'll try to merge ASAP after that.

Yep, done.


Get list of all uploaded files. Closes #1134

Thanks @rafalsiwiec, this looks great. Nice tests too!


[GUI] Move qr code to modal

fix #949:

Remove Qr code from view
Add a button Show QR Code that display the QRCode in a new modal
Increased size of Qr Code as we now have more room

Do you think it would be worth also showing the address below the QR code in the modal? It could be reassuring to the user in case several addresses have been generated on the screen and they forget which one they clicked on.

adressed comments, here how it looks now:

Seems good, only need a rebase :+1:

rebased on master


Update wiremock-jre8 to 2.33.0

Updates com.github.tomakehurst:wiremock-jre8 from 2.32.0 to 2.33.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.tomakehurst", artifactId = "wiremock-jre8" } ]

labels: test-library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #94.


Control Panel

From release plan spreadsheet
Estimate from release plan: TBD
Expressing interest: none
This is an XMLUI only feature in 6.x. REQUIRES DISCUSSION
Corresponding UI ticket: https://github.com/DSpace/dspace-angular/issues/801
Screenshots of old XMLUI Control Panel
Java Information Tab

Configuration Tab

Systemwide Alerts Tab

Harvesting Tab

Current Activity Tab

NOTE that this feature also included some "extensible" options, configured in dspace/config/modules/controlpanel.cfg and documented at https://wiki.lyrasis.org/display/DSDOC6x/Extensible+control+panel
We'll need to discuss which of these extensible features should be retained, etc.

NOTE that this feature also included some "extensible" options, configured in dspace/config/modules/controlpanel.cfg and documented at https://wiki.lyrasis.org/display/DSDOC6x/Extensible+control+panel
We'll need to discuss which of these extensible features should be retained, etc.

Hi @tdonohue @heathergreerklein, for this issue we propose to use the spring boot actuator endpoints. You can find more information here: https://docs.spring.io/spring-boot/docs/current/reference/html/actuator.html
By default, the exposed endpoints would be /actuator/info, where it is possible to add general information about the application (name, version, etc.) and /actuator/health, where the application status would be displayed.
To calculate the status, we can use a series of predefined health indicators (such as those based on the status of the db or solr) or we can define custom indicators (which, for example, can check if particular configurations are ok).
We can also establish strategies based on the current user to show or not the details of the status.
In addition to the health endpoint, there are other actuators available by default (to see, for example, all the beans configured in the context, the properties, the scheduled tasks, etc.) and in addition, other custom ones can also be added.
If you agree I would try to do a PR where I try to include the actuators in dspace with a health indicator that shows the status of the application based on:

the status of the db
to the status of solr
the status calculated with a custom logic (for example, I could add a check on the correct GeoIP configuration).
I should be able to integrate them in 8h.

@LucaGiamminonni : I do like the idea of using existing Spring Boot Actuator endpoints & configuring/customizing them (or adding new ones where needed) for a control panel. I like that we can use something that's built into Spring already, rather than designing our own separate REST API endpoints for this interaction.
That said, we'd obviously need to make sure though that there's no issues with interacting with these Actuator endpoints from the Angular UI. I don't think there would be, but this is obviously the first time we'd be using Actuator endpoints.... and my understanding here is that these Actuator endpoints would be separate from our REST API endpoints, as they are provided by Spring Boot, instead of by our REST API.
In any case, this basic design sounds fine to me.  That said, I'm going to add this to next week's DevMtg agenda as well, to ensure others (like @benbosman) have a chance to give immediate feedback on this approach as well.

Hi @tdonohue, the actuators by default have /actuator as base path, so in our case can be used by contacting /server/actuator. I don't think this can be a problem for angular. In any case it would also be possible to configure the base path adding api as prefix (so it could be /api/actuator). But I think that if there are no problems on the angular side it is better to divide the actuators from the standard dspace api.

As discussed in today's meeting, the team likes the idea to use Spring Boot Actuators to fit the needs of the Control Panel.  Specifically the "info" and "health" actuators look to match up well with the old "Configuration" and "Java Information" tabs.
We also decided:

We'd like a very basic "Control Panel" Angular UI to simply display the "info" and "health" actuator responses in a nice manner.
All other actuators will ONLY be accessible via the Spring Boot Admin Server (https://github.com/codecentric/spring-boot-admin)... and we should provide basic documentation on how to run the Spring Boot Admin Server alongside DSpace

If possible, this may mean we'd want to find a way to easily "enable" the DSpace backend as a Spring Boot Admin client.
This may either mean enabling it out-of-the-box...or seeing if we can use something like @ConditionalOnProperty similar to what we do to enable OAI-PMH or SWORD, e.g. https://github.com/DSpace/DSpace/blob/main/dspace-oai/src/main/java/org/dspace/xoai/controller/DSpaceOAIDataProvider.java#L56
I think we should avoid requiring users to make Java code changes to use the Spring Boot Admin Server.  Either DSpace is setup to use that Spring Boot Admin Server by default, or a configuration should control it.

The other Control Panel tabs (displayed in screenshots at the top of this ticket) will be addressed separately:

The "SystemWide Alerts" tab will be treated as a separate ticket. (To be created)
The "Harvesting" tab is already addressed as this has moved to Scripts & Processes.  This feature exists in DSpace 7.2 already.
The "Current Activity" tab may need to be addressed separately, unless there's a Spring Actuator that corresponds well with the ability to "see" individual user activity in the system (e.g. it might be possible by viewing logs in Spring Actuator, but it may require additional analysis).  So, this tab is not required for the initial Control Panel feature.

@LucaGiamminonni : As we came to an agreement on this feature today, I'm assigning these tickets to you for you/your team to work on for 7.3.  However, please do verify if your initial estimate is still accurate, or if you'd like to update it based on discussions.


Readonly Attribute

The Checkbox Plug isnt respecting the ReadOnly attribute.
I need to use ReadOnly so that the control still postback to the server, because disabled fiedls dont post

I recommend changing the Disabled check to as follows
FROM
if (this.element.disabled) {
TO
if (this.element.disabled || this.element.readOnly) {

Readonly not supported for input[type="checkbox"] by default.
For readonly use
<input type="hidden" name="..." value="0|1">

This is readonly

Also see: http://getbootstrap.com/css/#forms-controls-static

Fixed in v1.5.0.
Thanks @LorenDorez!


Accessibility: Fix heading heirarchy

There seems to be some sections that jump from H1 to H5.

I can't find them in anything we make. But the cards created by Quarto/the HTML template uses h5 headers. We don't have control over that though.


Add metadata information to the PassContext configuration listing function

Add metadata information to the listing of PassContext configuration listing function.

Rename PassContext::ListConfigNames() to PassContext::ListConfigs() and its
Python counterpart tvm.ir.transform.PassContext.list_config_names -> list_configs()
Adjust PassContext::ListConfigs() to include also metadata (currently only including the data type)
Adjust unit tests

This is a follow up on #8212, and is needed so that I can present better error messages and parsing from the command line.
cc @comaniac @manupa-arm @gromero for reviews

Thanks! @leandron @comaniac