Rename fastify instance to app

🚀 Feature Proposal
As followup
https://github.com/fastify/website/issues/259
Motivation
Better naming convention

Can I take up this issue...

Can I take up this issue...

Go for it

Just a doubt, should I fork the repo, or push a feature branch

Just a doubt, should I fork the repo, or push a feature branch

Fork it and make a branch on your fork
You cannot push a feature branch here without permission.

@Eomm is this still an issue? I see instance being used on fastify docs here

@Eomm is this still an issue? I see instance being used on fastify docs here

I was thing about from:
fastify.addSchema()

to:
app.addSchema()

But there are many things that are not mapped yet. I use a lot this snippet repo ffhello saves me a lot to help people debug little things


Support schema creation

how about support for index creation?

I am thinking about whole schema not only managing index. But where is the best place to initialize it?

I think it's better to use JPA style(using annotation) than grails way( defining in a mapping). There shoud be a init stategy, which do creating and check if created or schema consistence (based on code)

Ok, what if this way: at compile time we create special initial method somewhere which you can call yourself at startup.
JPA way is also possible, but have not enough time right to implement

@dongwq can you please check this:
GraphSchemaTransformationTest.groovy

Implemented in v0.1.1

@eugene-kamenev do you notice what gradle test failed with exceptions:
Cannot open local storage 'test' with mode=rw
com.orientechnologies.orient.core.exception.OStorageException: Cannot open local storage 'test' with mode=rw
	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:244)
	at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.open(ODatabaseDocumentTx.java:249)
	at com.orientechnologies.orient.core.db.OPartitionedDatabasePool$DatabaseDocumentTxPolled.internalOpen(OPartitionedDatabasePool.java:140)
	at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.openDatabase(OPartitionedDatabasePool.java:343)
	at com.orientechnologies.orient.core.db.OPartitionedDatabasePool.acquire(OPartitionedDatabasePool.java:313)
	at com.groovy.orient.document.OrientDocumentTransformationsTest.setup(OrientDocumentTransformationsTest.groovy:20)
Caused by: com.orientechnologies.orient.core.exception.OStorageException: Cannot open the storage 'test' because it does not exist in path: test
	at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.open(OAbstractPaginatedStorage.java:185)
	... 5 more

gradle test runs fine, but through ide it fails, i am not sure what happened, but I belive gradle more. But will try to discover what actually happens.

If you configure run test configuration with replacing default IDE Make task to "gradle build" then test is passing.


Adds Python 3.8 ValidatesRunner tests for Dataflow.


Kong Terraform template

this should be added to getkong.org

+1

+1

Is anyone actively working on this? I'd definitely be interested in it and willing to help out but didn't want to duplicate work.

@arsdehnel no one is working on it atm

I'd be happy to test any WIPs.  I have kong deployed in mantl (deployed
with terraform) via the example addon atm.
https://github.com/CiscoCloud/mantl/tree/master/examples/kong
On Mon, May 9, 2016 at 8:38 AM, Augusto Marietti<EMAIL_ADDRESS>wrote:

@arsdehnel https://github.com/arsdehnel no one is working on it atm
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/Mashape/kong/issues/608#issuecomment-217866174

--
kesten broughton
devops @ cognitivescale

Well this is what I have so far.  As the readme of the repo indicates I'm relatively new to Terraform, Kong and AWS so I might be doing some things a bit out-of-the-ordinary.  If so I'm love some feedback on that.
https://github.com/arsdehnel/kong-tf
I'm using the AWS CloudFormation templates from here (https://getkong.org/install/aws-cloudformation/) and attempting to reverse engineer from there.  Most of the big pieces are there, I need to get the provisioner commands included but the instances all appear to be firing up and have the right security groups and things.
Again, any feedback is welcome (and help would be even better).

I made a small PR https://github.com/arsdehnel/kong-tf/pull/2
I've only verified the TF brings up infrastructure and machines that look right haven't poked around the EC2 instances themselves just yet but so far so good
We should probably include / allow for setting up the Kong AMI from more than just one region

I've merged that PR and also refactored a bit into modules (so that I can reuse the modules for each of our environments).  I'm having a problem getting the Cassandra instance to properly start though and wondering if anyone can help me out.  I have one AWS account that has a Kong setup that uses the CloudFormation template and then I'm creating these Terraform instances in the same VPC and subnet.  Clearly not something you'd want to go to production with but when I started connecting Kong and Cassandra neither seemed to be working so this allowed me to connect my TF instances to working instances to identify where the problem was.
Kong now works when I connect it to Cassandra from the CF setup.  But Cassandra in the TF setup isn't fully starting.  I look at the CF instance startup and see this:
apt-get -y install python-setuptools
easy_install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
publicip=`curl http://<IP_ADDRESS>/latest/meta-data/public-ipv4`
publichost=`curl http://<IP_ADDRESS>/latest/meta-data/public-hostname`
cfn-signal -e 0 --data $publicip --id $publichost --reason "Kong setup completed" 'https://cloudformation-waitcondition-us-west-2.s3-us-west-2.amazonaws.com/arn%3Aaws%3Acloudformation%3Aus-west-2%3A078092555195%3Astack/kong-pre2/4a82c650-2091-11e6-ad49-50a68a0e328e/CassandraWaitHandle?AWSAccessKeyId=AKIAIY5RM4DUXMU25KNA&Expires=1464058314&Signature=DIGbJIik%2BhxWpe%2BMt2OvbH1IJCk%3D'
--clustername Cassandra Cluster --totalnodes 1 --version Community --release 2.2.4

But most of those seem related to CF itself so I didn't include them.  I just have sudo apt-get -y install python-setuptools running as part of a remote-exec provisioner.  So when I SSH into the cassandra box now I get this:
Cluster started with these options:
--clustername kong-qa --totalnodes 1 --version community

Waiting for cluster to boot...
Installation started.

And it never seems to go anywhere from here.  Anybody have any thoughts or help on that situation?

It's not exactly related, but I started working on a Kong provider for Terraform, available here. It's still WIP (very much), but the main parts (API and consumer management) are working fine.

There is a 3rd-party Terraform provider for Kong noted in the Kong Hub, where we maintain documentation and pointers for various integrations with Kong: https://docs.konghq.com/hub/zillowgroup/kong-terraform/.
@martinivanov if you still maintain your Terraform provider, please consider adding it to the Kong Hub as well!


altair should render graphql responses if http status code != 2XX

Describe the bug
If you send an invalid graphql query, some servers (apollo-express) return a 400 status code. Altair doesn't show the actual errors included in the response, instead it just shows a "Server Error"
To Reproduce
Steps to reproduce the behavior:

Send an invalid query

Expected behavior
Errors are displayed. Ideally altair should check for the presence of a json object that has data and/or errors and just display it. If it doesn't then it's probably an error. However in that case I would also argue for showing the complete error and not just a "Server Error" message

Hey, this is a valid point. Currently there is a check for the response status code to determine if it should show an error or not. However, I can't figure out the reason why that check is there. I'd remove the check and return the data instead.

I think this is still an issue. I get debug info in the JS Console and no feedback in the client:
false
Error Code: 400
Message: Http failure response for http://user-account.user-account/: 400 Bad Request
Backend returned code undefined, body was: undefined

@bag-man Doesn't that mean that there is no data returned with the error to be shown?

Running into the same issue, however, it should probably be in another issue since there is no graphql error, but an HTTP one:
Firing a request which leads to an invalid status code and an undefined body is just silently ignored. There is no way to figure out what is wrong without opening the devtools. Would be nice if there is a status/error display on HTTP level somewhere in the client


Port ArrayExcept to functions-array subcrate

Is your feature request related to a problem or challenge?
ArrayExcept function need to be ported to new functions-array subcreate in terms of https://github.com/apache/arrow-datafusion/issues/9285.
Describe the solution you'd like
Port ArrayExcept to functions-array subcrate
Describe alternatives you've considered
No response
Additional context
No response

take


Not able to import otg_pb2_grpc and otg_pb2 from snappi

Version information
The pypi version or branch of openapiart.
Describe the bug
Getting exception at the time of imports autogenerated pb2 files
import otg_pb2_grpc as pb2_grpc
import otg_pb2 as pb2

We are getting this because otg_pb2_grpc  and otg_pb2  present within snappi folder. And user mainly use "import snappi"
To Reproduce
Build snappi in this openapi art
Expected behavior
We need to expose both options
try:
    from snappi import otg_pb2_grpc as pb2_grpc
except ImportError:
    import otg_pb2_grpc as pb2_grpc
try:
    from snappi import otg_pb2 as pb2
except ImportError:
    import otg_pb2 as pb2

We need to also handle the same in autogenerated pb2_grpc file
Additional context
Please merge this fix before trigger any other snappi build

Issue should fix in https://github.com/open-traffic-generator/openapiart/releases/tag/v0.1.36


Fix #918

Image and Camera plugins disable automatically on rviz2 window minimization. This behavior is really annoying in particular when you have the plugin nested into groups (each time you minimize the rviz window you need to traverse the tree and enable to plugin again).
In rviz (ROS1) this is not the case, correct me if I am wrong.
This pull request aims to solve this "undesired" behavior taking the cue from the solution proposed by @kudoukidd in #918.
With this change the plugin does not disable automatically on window minimization.

Can you please retarget this PR to rolling?  Our usual process is to get changes into Rolling first, then backport them to active distributions as appropriate.  Thanks.


400 error with swagger-ui.html

I am using spring boot app to build the swagger documentation using below dependency.
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.7.0'
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.7.0'
I can able to access http://localhost:8130/{contextPath}/v2/api-docs sucessfully
When i try to access swagger ui http://localhost:8130/{contextPath}/swagger-ui.html throwing 400 error.
response
{"message":"Could not find acceptable representation"}

@dilipkrish Please can you help on this issue.

You should be able to access it using http://localhost:8130/swagger-ui.html Also would be great if you used 2.9.2 which is the latest version as of this moment

@dilipkrish I have tried using following url http://localhost:8130/swagger-ui.html but i got below error from web page.
No web page was found for the web address: http://localhost:8130/swagger-ui.html
Note:  I have updated to 2.9.2 version as well.
I have defined my context path in applications.properties. so, tryied using my context path url then it showing 400 error like above.

how did u set the port to 8130? are u sure its serving on that port?

@dilipkrish I have defined server.port=8130 in application.properties file.

@dilipkrish I also got HttpStatus 400 after I set host by new Docket().host() manually in my springfox configuration file.
As I click the try it out button, then I check the development kit in browser, swagger-ui send an empty request body to the backend.
Do I miss something?


Icons don't have tool-tisp on snapshot dialog window from vm sidebar

Icons don't have tool-tips on snapshot dialog window from VM sidebar (storage > view all button)
Steps:

Go to Virtual machines
Select VM and go to Storage tab in the sidebar (you need to find VM with snapshot or create a
new one)
3.Click on View all button.

Feature ID:
vm_vmsnap_viewall

@tamazlykar please add feature ID to descritpion

@ershovaelena description was updated

Test on:
tamazlykar/1052-tooltips
Regression:
vm_vmsnap_viewall

@tamazlykar
Tested on tamazlykar/1052-tooltips


No name in Action object creation

On a mod I'm working on, I tried to use integrate_sa_xmlpreview to add previews for the mod, but because the name isn't used when the action object is created the hook is not created.
https://github.com/elkarte/Elkarte/blob/7664d9d7786aa53ed44ee6a502c416bdaf1ddf7e/sources/controllers/XmlPreview.controller.php#L46

nods ... a bit inconsistent there, I'll add it to 1.1.6 as $action = new Action('xml_preview');


Docs Updated

Docs updated
new knative_executor()
some fixes

Developer's Certificate of Origin 1.1
   By making a contribution to this project, I certify that:

   (a) The contribution was created in whole or in part by me and I
       have the right to submit it under the Apache License 2.0; or

   (b) The contribution is based upon previous work that, to the best
       of my knowledge, is covered under an appropriate open source
       license and I have the right under that license to submit that
       work with modifications, whether created in whole or in part
       by me, under the same open source license (unless I am
       permitted to submit under a different license), as indicated
       in the file; or

   (c) The contribution was provided directly to me by some other
       person who certified (a), (b) or (c) and I have not modified
       it.

   (d) I understand and agree that this project and the contribution
       are public and that a record of the contribution (including all
       personal information I submit with it, including my sign-off) is
       maintained indefinitely and may be redistributed consistent with
       this project or the open source license(s) involved.

@JosepSampe we have one doc and you changed 16 files ;) Is it ready to merge?

@gilv ready ;)


Build fails with NoClassDefFoundError: com/moowork/gradle/node/NodePlugin

I upgraded to '0.12' and received this error:
$ gradle --stacktrace clean build
Starting Build
FAILURE: Build failed with an exception.

* What went wrong:
com/moowork/gradle/node/NodePlugin
> com.moowork.gradle.node.NodePlugin

* Exception is:
java.lang.NoClassDefFoundError: com/moowork/gradle/node/NodePlugin
	at com.moowork.gradle.grunt.GruntPlugin.apply(GruntPlugin.groovy:16)
	at com.moowork.gradle.grunt.GruntPlugin.apply(GruntPlugin.groovy)
	at org.gradle.api.internal.plugins.ImperativeOnlyPluginApplicator.applyImperative(ImperativeOnlyPluginApplicator.java:35)
	at org.gradle.api.internal.plugins.RuleBasedPluginApplicator.applyImperative(RuleBasedPluginApplicator.java:43)
	... 54 more

I do not get this error when using 0.11.  Here is my build.gradle:
plugins {
    id 'com.moowork.grunt' version '0.12'
}

node {
    version = '4.4.2'
    download = true
}

I cannot seem to replicate this error. But you could try to apply the node plugin too, like this:
plugins {
  id 'com.moowork.node' version '0.12'
  id 'com.moowork.grunt' version '0.12'
}


Connection timeout is wrongly implemented

Reading both the code of our createBrowserXhrRequester and createNodeHttpRequester I think the way we implemented the "Connection timeout" is really wrong.
This timeout should trigger when it took more than 2s to (TCP/HTTPS) connect but reading this code I understand that we really trigger this timeout whenever we haven't been receiving data within the next 2s (as the clearTimeout is done within the response callback). This is wrong, it should be the "responseTimeout" for this.

Looks like this was also wrong in v3? It's called reqTimeout, but it gets started as the connect timeout, which gets cleared on readystatechange:
https://github.com/algolia/algoliasearch-client-javascript/blob/11409ef891dac8f2d976682bb87e81c82d101a52/src/browser/createAlgoliasearch.js#L78
https://github.com/algolia/algoliasearch-client-javascript/blob/11409ef891dac8f2d976682bb87e81c82d101a52/src/browser/createAlgoliasearch.js#L187-L199

in node v3 it seems to be the same story:
https://github.com/algolia/algoliasearch-client-javascript/blob/11409ef891dac8f2d976682bb87e81c82d101a52/src/server/builds/node.js#L142
https://github.com/algolia/algoliasearch-client-javascript/blob/11409ef891dac8f2d976682bb87e81c82d101a52/src/server/builds/node.js#L161-L163

current status (as well as v3) is thus:
node:

https.request is created
connect timeout started
request is .end ed (actually means it's started)
"response" event (means first byte)
connect timeout cancelled
response timeout started
"end" event
response timeout cleared

browser:

XMLHttpRequest is created
connect timeout started
request is .open ed (actually means it's started)
"readystatechange" event is fired with > OPENED (means headers are arrived)
connect timeout cancelled
response timeout started
"load" event
response timeout cleared

What we want to find for both node & xhr is an event that gets called when TLS is finished, not when the headers / first byte is received, so that the connect timeout is long enough


"Show Documentation" button in "Create Container" view

I'd love to see a "Show Documentation" button in the "Create Container" view. Often there is the need to quickly look into the Dockerhub info page to look up what ports a container exposes, etc.
A button like this would be very convinient.

Seems like good first issue @deviantony can i take a look on this?

@hzlmn sure feel free to open a PR. Note that this button should only be displayed when the "Dockerhub" registry is selected.

Following the comment in #2440, a link in the image details view should be added as well.

We have a Search button here now for Docker Hub images, which should get you most of the way there.


[Feature] Collect feedback on generating OC Data Coverage

What projects is this feature for?
OpenChallenges
Description
Upcoming work related to code coverage made me think that we could report a similar metric for OC data, namely OC data coverage?
Code coverage is computed as the percentage of testable lines that are executed by tests.
Similarly, we could reported on the percentage of {challenge,organization} fields that are not null/empty.
Generating this metric could be useful to report internally on data collection effort. Increasing this metric could also help data submitter visualizes how their submission positively contributes to increasing the comprehensiveness of OC challenge data.
Anything else?
No response
Code of Conduct

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

@tschaffter I would call this "data completeness" instead of "data coverage".  I think data coverage could mean how your data represents a population, while data completeness is how much "expected data" is present in your dataset.
A low completeness score would mean you have many missing or null values


Upgrade to 64 bits

Added possibility to compile in 64bit and restructuring to compile all projects in bin and lib folder separated by 64 and 32 bits. Added folder with dlls 32 and 64 bits

@AdrianoHebreu , thanks for your contribution. I'll start reviewing today.


Folders should define the type of file (main, raw, derivative)

Currently, the system expects a tif as the main image, searching for the tif extension in a case-sensitive folder. Should move to just taking all files, minus md5 file, in subfolders that define the contents. This will reduce redundancy.

In place now.


[FancyZones] hotkey to grow/shrink to adjacent zone

Summary of the new feature/enhancement
using a hotkey + arrow combination for the direction, it should be possible to make a window grow or shrink

When you want to grow a window that you have snapped to a smaller zone, and you want to make it temporarily larger, you have to manually make it longer or wider. It would be easier if you could use a key+arrow combo to grow the window with the zone the arrow points to.
Of course, this should be restricted to zones that combine to rectangles.
I don't know if this matches your vision of the product, but this is what I miss in the current version. Or maybe this functionality already exists and I have missed it.

what is the use case?  we're thinking about resizing windows together if there is a shared border (#1193) but not this.

@crutkas I think he means he wants a way to expand a window to fill two or more zones.
For example, say you divide your screen into a 3x3 grid. FancyZones would be exponentially more powerful if you could choose multiple zones (forming a rectangle) to fit a window to.
You could have one window that spans the left 3 rows, the one that spans the top 2 rows of the middle column, one window on the bottom row of the middle column, and three windows in the last column.
Say you want to close everything in the middle column and want to make the window in the right column expand to fill ⅔ of the screen. You'd have to expand it by hand, currently.

@NSExceptional

FancyZones would be exponentially more powerful if you could choose multiple zones (forming a rectangle) to fit a window to.

https://github.com/microsoft/PowerToys/commit/629ba763d7172338355a9547163d6448bd34cc14
Currently it supports only dragging to snap to two zones, but it shouldn't be too complicated to support a shortcut key as well, the major problem is to find an available key combination :)

@crutkas I think he means he wants a way to expand a window to fill two or more zones.
For example, say you divide your screen into a 3x3 grid. FancyZones would be exponentially more powerful if you could choose multiple zones (forming a rectangle) to fit a window to.
You could have one window that spans the left 3 rows, the one that spans the top 2 rows of the middle column, one window on the bottom row of the middle column, and three windows in the last column.
Say you want to close everything in the middle column and want to make the window in the right column expand to fill ⅔ of the screen. You'd have to expand it by hand, currently.

Yes. This is what I mean.  Thanks for helping me explain it.
I have used other window managers in the past and at least one of them had this functionality. It makes the Grid layout much more powerful. But it's not really easy to use if you have to use your mouse to manually resize.
Thanks @crutkas for at least considering it.

Lets keep it intuitive, same as you would hold shift now when dragging a window and snap into any zone. Simply hold shift while resizing a window` to let it snap snap to any zones you hit causing the window to resize covering both zones.

Lets keep it intuitive, same as you would hold shift now when dragging a window and snap into any zone. Simply hold shift while resizing a window to let it snap snap to any zones you hit causing the window to resize covering both zones.

Good idea, but that only works for people who haven't changed that setting. I changed it. Every time I move a window it will snap to the zone. Will that setting carry over?

Alternatively another cool way would be when you hold shift now when dragging a window + hold right mouse button to mark any zones you want to use for that window. As if you where painting the zones the window should resize to and cover.

Method 2 would be allot faster and done in the same action you already need to do most of the time, and that is shift drag a window to pick a zone. Although when a window is already placed in a zone and you simply want to make it bigger and use the zone next to it method 1 would be preferable. Both are useful at different times.

My main use case would be to quickly grow and shrink a window when I want it too. Preferably without having to use the mouse. Your suggestion is very good for when you're position windows at the beginning of a task, though.

Lets keep it intuitive, same as you would hold shift now when dragging a window and snap into any zone. Simply hold shift while resizing a window to let it snap snap to any zones you hit causing the window to resize covering both zones.

Good idea, but that only works for people who haven't changed that setting. I changed it. Every time I move a window it will snap to the zone. Will that setting carry over?

Alternatively another cool way would be when you hold shift now when dragging a window + hold right mouse button to mark any zones you want to use for that window. As if you where painting the zones the window should resize to and cover.

Method 2 would be allot faster and done in the same action you already need to do most of the time, and that is shift drag a window to pick a zone. Although when a window is already placed in a zone and you simply want to make it bigger and use the zone next to it method 1 would be preferable. Both are useful at different times.

My main use case would be to quickly grow and shrink a window when I want it too. Preferably without having to use the mouse. Your suggestion is very good for when you're position windows at the beginning of a task, though.

Hmm in order to quickly grow and shrink existing windows without a mouse would mean holding down a hotkey button and then use the arrow keys to grow it in the direction you want to.  The question would remain, what hotkey would be a good default for that... perhaps Win + ALT + Arrow key perhaps.

Lets keep it intuitive, same as you would hold shift now when dragging a window and snap into any zone. Simply hold shift while resizing a window to let it snap snap to any zones you hit causing the window to resize covering both zones.

Good idea, but that only works for people who haven't changed that setting. I changed it. Every time I move a window it will snap to the zone. Will that setting carry over?

I think it should carry over. Meaning that in your case it would automatically snap when resizing. For free resizing you would have to hold shift just like you have to hold shift for free moving. This would be consistent.

+1 for this useful feature. As for the kebindings: have you thought about prefix shortcuts a'la screen/tmux/moom? Press a prefix, zones appear, use cursor keys + shift to select which zones it should extend to. With a 4x4 grid, this would give you quick access to half screen both ways and 3:1 side/top/bottom panels.

This feature has the back-end already implemented (multiple zone selection using the mouse).
Adding support for keyboard should be fairly straightforward.

Would love to see this happen in combination with Windows + Shift + Left/Right when Windows + Left/Right is already overwritten. Would be happy to provide a PR, this could take a while though as I neither know the codebase nor the language yet.

@dbartholomae
Both Win+Ctrl+Arrows and Win+Shift+Arrows are already used by Windows, and Win+Alt+Arrow is not detected, so we decided to use Ctrl+Win+Alt+arrows.

But isn't Win+Arrows also used? I would only overwrite Win+Shift+Arrows when Win+Arrows is also overwritten.

Fixed in 0.23.0 https://github.com/microsoft/PowerToys/releases/tag/v0.23.0

@enricogior how do you activate it?

@NSExceptional
I need to update the wiki, sorry about that.
win + ctrl + alt + arrows
I know is not a great combination but it was the only available at least until we will offer to choose a custom one.

@NSExceptional
I forgot to mention that you also need to turn on:

This requirement may be removed in the future.

Ohhh that's nice! While activating the zone picker, you can just hit win+ctrl+alt and drag it from the zone you were hovering over to other zones and make it stretch to fill any rectangle you want.
GAs someone using the "hold a non primary mouse button while dragging the window" person, I would love to be able to just hold shift or some other key combo on top of that to begin selecting multiple zones, and simply release it if I change my mind. But this is fine until you get a custom shortcut option added as you said :)
Thanks so much! This is a game changer!

@NSExceptional
when dragging the window with the mouse you only need to press and hold the cntrl key to activate the multi zone selection.
Win + Alt + Cntrl are needed (along with the arrows), to expand the window to adjacent zones using just the keyboard.

Oh neat, awesome

That looks great. Thanks for implementing this!

Wiki updated with instructions: https://github.com/microsoft/PowerToys/wiki/FancyZones-Overview#snapping-a-window-to-two-or-more-zones

@dbartholomae
you mean "to provide an option to change the default shortcut"?

Thank you for making Fancy Zones, after coming from a Mac where I use Magnet, this is really a very useful tool. If you wonder about shortcuts, this is how Magnet does it on the Mac: Not sure how feasible these options are on Windows.

(source: https://i0.wp.com/ackoy.com/wp-content/uploads/2018/10/Screen-Shot-2018-10-11-at-16.17.53.png?resize=416%2C610&ssl=1)

@roland-d magnet operates under a fixed style, we provide freedom of whatever you want.  They are fundamentally different.

Thank you very much for implementing this.

Would you be open to a PR that allows to override the keys, e. g. to Windows+Shift+Arrows?

I'd very much appreciate this. Win + Shift would be perfect for me. Fun fact, PowerToys' keyboard manager cannot be used to remap Win + Shift to Ctrl +Win + Alt + Shift

@W4RH4WK we don't allow modifier only shortcut remapping.  I don't believe anyone has opened an ask (may be an open issue but i don't think there is) for that and we couldn't figure out a use case where someone would want this. If this is an ask, please file an issue.

@dbartholomae
you mean "to provide an option to change the default shortcut"?

Yes. To be honest, I'm not sure if I will be able to do it, but for me the current keyboard shortcuts are more or less useless as pressing 4 keys is really unergonomical for task I do so often, so I still use the mouse, and I would be willing to dive a bit into the repo to see what I can do about it.

@dbartholomae
open a new issue as a feature request, then add a link to the new issue here so other users will find it.
Thanks.


Fix(1654907): Ensures role attribute has an appropriate value

https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1654907
Verified that aria-allowed-role: Ensures role attribute has an appropriate value for the element, does not throw any error.
This change also fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1654908 and presentation-role-conflict does not throw any error.

This probably needs additional work to be really correct, but removing role="presentation" will make a big difference. If you’re interested in going further, you might want to read through https://www.w3.org/WAI/ARIA/apg/patterns/carousel/


Change link to new Constraints Marathon Documentation page on error message in GUI

Actual page https://github.com/mesosphere/marathon/wiki/Constraints does not
exist.
Changed to: https://mesosphere.github.io/marathon/docs/constraints.html.

Thanks!


rke-network-plugin-deploy-job fails to deploy after k8s upgrade to 1.20.2-rancher2-1

What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):

Deploy clusters 1.19,1.18,1.17,1.16 on 2.5.5 rancher server
Run pre upgrade automation checks - deploys workloads, ingress, service discovery
Upgrade rancher to 2.5.6-rc4
RUn post upgrade checks - this looked good.
Upgrade k8s - 1.19 to 1.20.2-rancher1-1
On all the clusters except the cluster where the upgrade was done from 1.17 to 1.20.2, other clusters are stuck in Provisioning.
Error seen: Failed to get job complete status for job rke-network-plugin-deploy-job in namespace kube-system
Logs of network plugin pod:

configmap/canal-config unchanged
customresourcedefinition.apiextensions.k8s.io/bgpconfigurations.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/bgppeers.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/blockaffinities.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/clusterinformations.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/felixconfigurations.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/globalnetworkpolicies.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/globalnetworksets.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/hostendpoints.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/ipamblocks.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/ipamconfigs.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/ipamhandles.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/ippools.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/kubecontrollersconfigurations.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/networkpolicies.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/networksets.crd.projectcalico.org configured
clusterrole.rbac.authorization.k8s.io/calico-kube-controllers unchanged
clusterrolebinding.rbac.authorization.k8s.io/calico-kube-controllers unchanged
clusterrole.rbac.authorization.k8s.io/calico-node unchanged
clusterrole.rbac.authorization.k8s.io/flannel unchanged
clusterrolebinding.rbac.authorization.k8s.io/canal-flannel unchanged
daemonset.apps/canal configured
serviceaccount/canal unchanged
deployment.apps/calico-kube-controllers unchanged
serviceaccount/calico-kube-controllers unchanged
The ClusterRoleBinding "canal-calico" is invalid: roleRef: Invalid value: rbac.RoleRef{APIGroup:"rbac.authorization.k8s.io", Kind:"ClusterRole", Name:"calico-node"}: cannot change roleRef
poddisruptionbudget.policy/calico-kube-controllers unchanged

Expected Result:
Network plugin pod gets deployed and cluster comes up Active
Other details that may be helpful:
Environment information

Rancher version (rancher/rancher/rancher/server image tag or shown bottom left in the UI): 2.5.6-rc4
Installation option (single install/HA): single

Cluster information

Cluster type (Hosted/Infrastructure Provider/Custom/Imported): custom cluster rke

Validated on an upgrade from 2.5.5 to 2.5-head - commit id 8201e08

Deploy Canal - 1.19, calico - 1.18, weave - 1.16 and flannel - 1.17 clusters.
Run pre upgrade checks - they look good.
Upgrade rancher to 2.5-head
post upgrade checks look good.
Upgrade k8s version of all clusters to 1.20.2-rancher2-1
weave and flannel clusters upgrade successfully.
canal and calico clusters are stuck in provisioning Failed to get job complete status for job rke-network-plugin-deploy-job in namespace kube-system

Reopening the issue

Reopening this issue as the issue is seen on an upgrade from 2.5.5 to 2.5-head, cluster - calico - 1.18 to 1.20 k8s versions.

Related issue https://github.com/projectcalico/calico/issues/4237. Quick fix is to add preserveUnknownFields: false to the crd until upstream fixed it.

testing from 2.5.5 to 2.5-head commit id: 761c805d

Deploy calico 1.18 and canal 1.19 clusters
run pre upgrade checks
Upgrade rancher to 2.5-head
run post upgrade checks
update k8s version to 1.20.2-rancher2-1
Calico cluster fails to come up with error Failed to get job complete status for job rke-network-plugin-deploy-job in namespace kube-system
Canal clster come sup Active.

Validated from 2.5.5 to 2.5-head commit id: dba332111

Deploy calico 1.18 and 1.19 and canal 1.18 and 1.19 clusters
run pre upgrade checks
Upgrade rancher to 2.5-head
run post upgrade checks
update k8s version to 1.20.2-rancher2-1
Clusters come up active. Post upgrade checks look good.

Reopening for fix in master

Verified on an upgrade from 2.5.5 to master-head - commit id: 9ef8e69d2d

Deployed clusters - Calico and canal - 1.18 k8s, Flannel, weave - 1.17 and 1.19 k8s versions.
Upgrade to master, upgrade k8s versions, no errors seen.
Clusters come up Active.


Setup Globus endpoint data mover on Roger

Issues:

now need NCSA two-factor
convert endpoint to HTTP?
does it make sense to set up an NCSA/TERRA share? Or setup with group and add users.

duplicated by #51


Command line section causing every warning to trigger

UserWarning: None is not valid as xmin, using default of -5    (and similar warnings for other parameters)
This is due to the command line giving values of 'none' if not value is specified. Is there any way to make it give correct defaults?
Another potential solution that i think would be better in theory, but more work, is to split the command line section into a different file, that can call solving_tdse as a module and give it inputs through kwargs.

I may have a quick look into my second proposed solution soon, gonna create a branch for it but if it doesn't work and i give up, or I never get round to it I'll delete it again

that should already be resolved, i put in some if statements that got rid of the NoneTypes (or at least they're meant to). i'll run some checks of my own in a bit to see if that's become an issue again somehow.

Isn't the program working as intended, you didn't specify a parameter so it defaulted to -5 for the case of xmin? I.e the correct default? I'm not sure what you mean.

Ah I think i see the issue, the section that runs the checks got put before your fix

Oh, but switching the order causes "'TDSE' object has no attribute 'xmin'"
I cant see an easy way of keeping the warnings working for invalid inputs, but not having them triggered by empty ones from the command line

If the warnings are functioning correctly anyway due to none parameters, then I think its okay to keep them as is or do what TrueEnder suggested

I think the warnings shouldnt trigger if the user just doesnt input a value, because otherwise that'll be extremely annoying for the user. If they just wanted to run the default setup, it would trigger every warning, or they have to go and manually enter everything

I see, then could you consider writing to a warnings.txt? Or log.txt for them?

Okay, come up with a solution:

moving the float to the end now means the try cant fail until its checked for 'none'
It's gonna be awful to look at, but it'll work

how about a check for if the value isn't a valid integer/float? that way if it gets past the "not None" (which would set all none to integer) then it'll criticise them for putting something that isn't valid

Thats basically what the try --> float does, checks for if its a number by whether or not it can float() it without crashing. Cause when it takes in a kwarg it does so as a string, not an int or float,

I made a branch for it, you can work on it there

Cool, will do
Shouldnt take long

Done!

I may still experiment with splitting the main section and the command line into separate files, i imagine it making use as a module or a python file on its own easier. But i'm aware we're short on time so now this is solved I won't prioritize it.


[ISSUE apache#149] updated lombok version in pom.xml

What is the purpose of the change
#149
Brief changelog
#149 - maven compilation was failing because of lombok version.

@Oliverwqcwrw Please merge this to master if possible So that build will not fail for other changes/PR which I will be raising.

@Oliverwqcwrw Hey, when it will be merged to master because the other two changes which I am working on all are interdependent.

@Oliverwqcwrw Hey, when it will be merged to master because the other two changes which I am working on all are interdependent.

done


fixed crash when using purchaseProductWithIdentifier method

Hi, could You please take bug fix,
That was crash happened when i use purchaseProductWithIdentifier method
crash log:
*** -[GNInAppPurchasePayment transaction]: message sent to deallocated instance 0x1704482b0
Thanks
Alex

sorry my commit did't fix the crash

Hi @Latyntsev,
is the crash still occurring? Do you use transaction manager outside of main thread? The payment observer of queue should be removed when dealloced, so the message shouldn't be sent again.


[Header] 'Logo' image, 'Magnifying glass' image lose quality when zoom page.

Environment: Firefox Version 78.0.2 (64-bit)/Windows 10 Home 1903
Reproducible: always
Build found: 0ee1777
Steps to reproduce

Go to GreenCity https://ita-social-projects.github.io/GreenCityClient/#/welcome
Zoom page on 200%. ( Ctrl + '+')

Actual result
'Logo' image, 'Magnifying glass' image and some items of header lose quality.

Expected result
All items of page have not to lose quality when zoom.

The bug was not fixed. When user sets 200 % resolution the logo sign  is not visible on a page.


FIXED WRONG NAMING IN README.md

experimental group and control group were switched in the original readme. In fact the first 3 rows refer to the group treated with amelioride and not to the control group.

Thanks for catching that @thom-99. I'm going to merge your pull request momentarily.


Docs: Add docs for GetEnvironmentVariableValuesAsync

we add GetEnvironmentVariableValuesAsync method at PR #4530
add some <remarks> which cover where this method is useful and considerations around the sync nature. As well as one or two <example> sections that cover its usage.

Closing this since we wouldn't defer adding XML doc comments before merging the PR. XML doc comments should always go in with the PR that adds the API.


Fix capped manager on Tf engine

Description
This is to fix a problem in the capped manager feature which is triggered when running gradle :integration::test on TensorFlow engine. In testIndexationUsesSpecificUncappedManager, the resource, whose original manager is capped, is temporarily attached to a submanager. At the end of the try block, it will be attached back to the original capped manager. (So this error doesn't trigger test failure, but only appears as an exception).  The fix is to apply attachUncappedInternal which circumvents capping protection.

Codecov Report

Merging #1952 (0be6ee5) into master (bb5073f) will decrease coverage by 2.18%.
The diff coverage is 67.25%.

:exclamation: Current head 0be6ee5 differs from pull request most recent head 2c344d2. Consider uploading reports for the commit 2c344d2 to get more accurate results

@@             Coverage Diff              @@
##             master    #1952      +/-   ##
============================================
- Coverage     72.08%   69.90%   -2.19%
- Complexity     5126     5707     +581
============================================
  Files           473      544      +71
  Lines         21970    25197    +3227
  Branches       2351     2734     +383
============================================
+ Hits          15838    17615    +1777
- Misses         4925     6241    +1316
- Partials       1207     1341     +134

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

...rc/main/java/ai/djl/modality/cv/output/Joints.java
71.42% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...main/java/ai/djl/modality/cv/output/Rectangle.java
72.41% <0.00%> (ø)

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <0.00%> (-5.24%)
:arrow_down:

...odality/cv/translator/BigGANTranslatorFactory.java
33.33% <0.00%> (+8.33%)
:arrow_up:

...nslator/InstanceSegmentationTranslatorFactory.java
14.28% <0.00%> (-3.90%)
:arrow_down:

.../cv/translator/SemanticSegmentationTranslator.java
0.00% <0.00%> (ø)

.../cv/translator/StyleTransferTranslatorFactory.java
40.00% <ø> (ø)

... and 446 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


How does one specify prettier options?

Is it possible to specify the prettier options used on a given project, so the check can be performed using the right flags?

 Closing, but it may be worth adding a note about that in the README?


update default build source info

Signed-off-by: soulseen<EMAIL_ADDRESS>

/cc @magicsong @runzexia

I strongly in person recommend you to use MutatingAdmissionWebhook to achieve the goal of this pr as we already had a ValidatingAdmissionWebhook. ref #7. it is aslo cheap to make a MutatingAdmissionWebhook.
However, we can also do "defaulting" in a controller. This pr
/lgtm

/cc @magicsong @runzexia

/lgtm

/approve
Sent with GitHawk


Accessing "info" on series selection, then "browse" from info page, fails to open series.

When accessing information of a series, "browse" option within this "info" window fails to open the series. It results in a few spinning circles / screen flashes, then nothing.
For movies, "play" within the "info" window does successfully play a movie selection.
Any help on this issue would be great!

Next time open an Issue thread in correct way thanks.
There is a bug in Kodi 18 and 19 that not handle add-on path
the "browse" button is not usable

I got a response from Kodi developers
For Kodi 18.x the button will not be fixed (is now EOL)
For Kodi 19.x the button will be fixed in next releases


[Style] Make Abstract Particle Swarm Background responsive

What's the style idea?
We need to improve the responsiveness of Abstract Particle Swarm Background component for small devices.

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a KWOC'24 contributor.

Code of Conduct

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

Hey, I think I can work on this issue, I did some testing in my local environment, I propose using the getClientBoundingRect() and a window onResize event listerner to make the canvas.width and canvas.height update dynamically everytime window viewport changes, additionally use css to make the width height of the canvas 100vw and 100vh to take the complete viewport, that way it will spread to the complete screen on mobiles aswell. I would request you to assign me this issue aswell if possible.

Please complete your assigned issue first @ThePhoenix08

Go ahead @ThePhoenix08


Skip GCP Integration Tests using Statement Execution API

Changes
Statement Execution API is not supported in GCP, so we must skip any integration tests in GCP that use this API.
Tests

[ ] make test passing
[ ] make fmt applied
[ ] relevant integration tests applied

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
see 2 files with indirect coverage changes
:loudspeaker: Thoughts on this report? Let us know!.


English README

There is some people coming here from reddit, so an English README file would help.

I added a pull request qith an english version.

Check the tip comment in the PR.


Issues with googleArray

Hey,
I've issues with making external calls to google via googleArray. it fails with an exception.
I found a solution which would replace the /custom to /cse which solves the issue.
Regards,
Oleg.

The google section does not seems to work at all anymore. The live demo returns errors.

Correct, I posted a solution here. find in 'seostats.google.php' the string '/custom' and replace with '/cse'.
This would do the magic.
Oleg.

That seems to work!
Good work finding this!

I'm trying CSE, I'm still getting no results with any google methods.

Im getting a checksum error on line 224 since a couple of days.

@etiennedupuis: eyecatchup's PageRank checksum API died. He can put it back to life, or put closed code from his API into SEOstats.

Any ETA on this eyecatchup?

Recently I found out that the old code from 2006 generates correct checksum. Check it out!
http://driversworld.us/app/link/?id=4424
echo 'CHECKSUM = ' . CheckHash(HashURL('http://google.com/'));

After a long while not taking care on SEOstats, i'm back. ;-) I will take a look at all issues and try too fix as many as possible, as soon as possible.

Fix the pagerank thing first! :)

@etiennedupuis It's fixed since a few days already!


Progressbar for installing extentions

A progress bar will be nice. Sometimes we want to know that how much work is left.

@vikas-0 We already show Installing status on the extension. Is not that sufficient?


alignment "center" example in the align documentation (change example)

Description
In the documentation  the image for the example should change to have more vertical space or less text, because it is not clear that "center" is supposed to only center the text horizontally.
Use Case
I think the alignment "center + horizon" is especially useful for title pages. Anyways, the way it is now the image seems to indicate that the alignment "center" centers the text horizontally and vertically:

Moreover, the name "center" does not make clear, that it is only centered horizontally.

Arguably an alternative solution would be to change the example to center + horizon (or center + something else).

We could add a comment above the set align statement, something like "Top of the page".


Allow untyped sections to change types on the fly - alt for #2178

If the template doesn't have a specific section type, this will let it flip on the fly. This should only affect plain mustache sections.
I also cheated a bit on bind, since there was a DRY TODO on update. With this bind is slightly more expensive if there's a model as it now just delegates to update, but its code got way shorter.

Forgot to mention #2178...


Create Contributors Guideline

Objective
Create Contributors Guideline to help new Contributors get started with this Project.
Features

Add a CONTRIBUTING.md to allow new users to get started with knowing how to contribute.
Add Screenshots wherever possible.
Add the basic information about creating Issues, Pull Requests, and Branching.
Mention tutorials related to Git and Github to help them better understand.

Hi, I would like to do this under DWoC

Hi, I would like to work on this under GSSoC'21.

Hi i think coding period will start from 1 st

Hi i think coding period will start from 1 st

Yes, GSSOC'21 KickStarts on 1st March.

Ok assigning you

hi i have completed the guidelines because some picture required my repo.


enroot issue with installation inside

After installing enroot in our dgx box, we tried starting the sqsh file.
enroot start -m /ads_ds3/data/eclair trtllm_2024022700.sqsh
We are able to get inside the container. Then  we tried below installing and it failed with error of "read-only file system for my home directory".
Please advise.
luzhang@dc7nvdgxluna001:/ads_ds3/data/eclair$ pip install einops
WARNING: The directory '/home/luzhang/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you should use sudo's -H flag.
Defaulting to user installation because normal site-packages is not writeable
Collecting einops
Downloading einops-0.8.0-py3-none-any.whl (43 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.2/43.2 KB 3.5 MB/s eta 0:00:00
Installing collected packages: einops
ERROR: Could not install packages due to an OSError: [Errno 30] Read-only file system: '/home/luzhang/.local'
luzhang@dc7nvdgxluna001:/ads_ds3/data/eclair$ df  -h /home
Filesystem      Size  Used Avail Use% Mounted on
fuse-overlayfs 1008G  128K 1008G   1% /

luzhang@dc7nvdgxluna001:~$ chmod 777 /home/luzhang
chmod: changing permissions of '/home/luzhang': Read-only file system
luzhang@dc7nvdgxluna001:~$ chmod 777 /home/
chmod: changing permissions of '/home/': Read-only file system
luzhang@dc7nvdgxluna001:~$ chmod 777 /
chmod: changing permissions of '/': Read-only file system
luzhang@dc7nvdgxluna001:~$ ps -ax |grep fuse
3425165 pts/21   T      0:00 fuse-shim
3425168 pts/21   S      0:04 squashfuse -f -o uid=27139,gid=27139 /ads_ds3/data/eclair/trtllm_2024022700.sqsh /run/user/27139/enroot/overlay/lower
3425177 pts/21   S      0:00 fuse-overlayfs -f -o lowerdir=/run/user/27139/enroot/overlay/lower,upperdir=/run/user/27139/enroot/overlay/upper,workdir=/run/user/27139/enroot/overlay/work /run/user/27139/enroot/overlay
3428962 pts/21   S+     0:00 grep --color=auto fuse
luzhang@dc7nvdgxluna001:~$ cd  /run/user/
bash: cd: /run/user/: No such file or directory
luzhang@dc7nvdgxluna001:~$ cd /run
luzhang@dc7nvdgxluna001:/run$ ls
lock  nvidia-fabricmanager  nvidia-persistenced

Use the --rw argument:
$ enroot start --help
Usage: enroot start [options] [--] NAME|IMAGE [COMMAND] [ARG...]

Start a container and invoke the command script within its root filesystem.
Command and arguments are passed to the script as input parameters.

In the absence of a command script and if a command was given, it will be executed directly.
Otherwise, an interactive shell will be started within the container.

 Options:
   -c, --conf CONFIG    Specify a configuration script to run before the container starts
   -e, --env KEY[=VAL]  Export an environment variable inside the container
       --rc SCRIPT      Override the command script inside the container
   -r, --root           Ask to be remapped to root inside the container
   -w, --rw             Make the container root filesystem writable
   -m, --mount FSTAB    Perform a mount from the host inside the container (colon-separated)

Thank you very much. The suggestion works !
From: Felix Abecassis @.>
Date: Tuesday, October 29, 2024 at 7:02 PM
To: NVIDIA/enroot @.>
Cc: Lucy Zhang @.>, Author @.>
Subject: Re: [NVIDIA/enroot] enroot issue with installation inside (Issue #216)
Use the --rw argument:
$ enroot start --help
Usage: enroot start [options] [--] NAME|IMAGE [COMMAND] [ARG...]
Start a container and invoke the command script within its root filesystem.
Command and arguments are passed to the script as input parameters.
In the absence of a command script and if a command was given, it will be executed directly.
Otherwise, an interactive shell will be started within the container.
Options:
-c, --conf CONFIG    Specify a configuration script to run before the container starts
-e, --env KEY[=VAL]  Export an environment variable inside the container
--rc SCRIPT      Override the command script inside the container
-r, --root           Ask to be remapped to root inside the container
-w, --rw             Make the container root filesystem writable
-m, --mount FSTAB    Perform a mount from the host inside the container (colon-separated)
—
Reply to this email directly, view it on GitHubhttps://github.com/NVIDIA/enroot/issues/216#issuecomment-2445662993, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL6M4OS6NPRD576GD7XQEL3Z6A44BAVCNFSM6AAAAABQ3CLR4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBVGY3DEOJZGM.
You are receiving this because you authored the thread.Message ID: @.***>

It seems that enroot start will only use 1 GPU.
Could you let me know how I can make use of multiple GPU in the command ?  I don’t see an option for that.
Thanks
Lucy
From: Lucy Zhang @.>
Date: Wednesday, October 30, 2024 at 10:30 AM
To: NVIDIA/enroot @.>, NVIDIA/enroot @.>
Cc: Author @.>
Subject: Re: [NVIDIA/enroot] enroot issue with installation inside (Issue #216)
Thank you very much. The suggestion works !
From: Felix Abecassis @.>
Date: Tuesday, October 29, 2024 at 7:02 PM
To: NVIDIA/enroot @.>
Cc: Lucy Zhang @.>, Author @.>
Subject: Re: [NVIDIA/enroot] enroot issue with installation inside (Issue #216)
Use the --rw argument:
$ enroot start --help
Usage: enroot start [options] [--] NAME|IMAGE [COMMAND] [ARG...]
Start a container and invoke the command script within its root filesystem.
Command and arguments are passed to the script as input parameters.
In the absence of a command script and if a command was given, it will be executed directly.
Otherwise, an interactive shell will be started within the container.
Options:
-c, --conf CONFIG    Specify a configuration script to run before the container starts
-e, --env KEY[=VAL]  Export an environment variable inside the container
--rc SCRIPT      Override the command script inside the container
-r, --root           Ask to be remapped to root inside the container
-w, --rw             Make the container root filesystem writable
-m, --mount FSTAB    Perform a mount from the host inside the container (colon-separated)
—
Reply to this email directly, view it on GitHubhttps://github.com/NVIDIA/enroot/issues/216#issuecomment-2445662993, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL6M4OS6NPRD576GD7XQEL3Z6A44BAVCNFSM6AAAAABQ3CLR4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBVGY3DEOJZGM.
You are receiving this because you authored the thread.Message ID: @.***>


I can't install intelrealsense-view

Required Info

Camera Model
{D400 }

Operating System & Version
/ Linux (Ubuntu 16.04)

Kernel Version (Linux Only)
(e.g. 4.14.13)

viewer  -[x] i can't install realsense-viewer
**
/usr/bin/ld: rs-hello-realsense: hidden symbol __cpu_model' in /usr/lib/gcc/i686-linux-gnu/5/libgcc.a(cpuinfo.o) is referenced by DSO
/usr/bin/ld: 最后的链结失败: 错误的值
collect2: error: ld returned 1 exit status
examples/hello-realsense/CMakeFiles/rs-hello-realsense.dir/build.make:95: recipe for target 'examples/hello-realsense/rs-hello-realsense' failed
make[2]: *** [examples/hello-realsense/rs-hello-realsense] Error 1
CMakeFiles/Makefile2:453: recipe for target 'examples/hello-realsense/CMakeFiles/rs-hello-realsense.dir/all' failed
make[1]: *** [examples/hello-realsense/CMakeFiles/rs-hello-realsense.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
`
**

Hi @wearefiv   Another RealSense user who experienced this same error in the past shared advice for how they solved the problem in their particular case.

cd ~/librealsense
sudo rm -rf ./build/
mkdir build && cd build
cmake .. -DBUILD_EXAMPLES=true && make -J && sudo make install

Hi @wearefiv  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


how can I rebuild the dropdowmmenu instantly after deleting the item  without closing it .

Use case
I have dropdownButton with dropdownMenuItem ,  I have a feature like on  longpress the item i get the popup  menu with delete option , once I delete the item I want  the item to be removed from the list instantly . It gets updated when I close and open dropdown again .
Proposal

this is not a issue this is a how to, its off-topic
try below
// usual in ur DropDownButton
onChanged: (newValue) {
            setState(() {
              _selectedItem = newValue;
            });
          },
// ...other codes

// then in your popup menu

setState(() {
          _dropdownItems.remove(selectedItem);
          if (_selectedItem == selectedItem || _dropdownItems.isEmpty) {
            _selectedItem = null;
          }
        });

@M-R-007  fixed?


Disable "New" or "Remove" with NestedForm

The nested form feature ($form->hasMany()) is really powerful.
How should we disable the "New" or "Remove" buttons? Some scenarios would require to not allow these.

i think i can use ->hasMany( ... )->setView('myview') to use another view and override... but I would strongly suggest that NestedForm has a method like disableNew and disableRemove or one for both.

@z-song Is it possible to disable new button in Hasmany form?

how disable new after add  form ?

$form->hasMany('orders', function (Form\NestedForm $form) {

                        $form->text('id');
                        $form->text('description');
                    })
                        ->disableCreate()
                        ->disableDelete();

@fhferreira is that method working on your side ? I checked but not working.

Nested form is empty in edit section even data of nested form exist ,so i means i cant edit the nested form ,can any one tell me to edit the nested form


Leaflet markers within a radius

Good morning can help me with some tutorial, where I can draw a marker anywhere on the map and by a combo box can choose a distance and I can draw a circle by seeing the names of markers that are in that circle, something like that

This seems like a more general Leaflet JS question, but I can try to answer it.  You can use Leaflet.Draw for the drawing functionality.  When a user draws a circle, you can get the radius in meters of that circle.  Or, you can let the user place a marker using Leaflet.draw and then add a new L.Circle layer to the map using the radius from the combobox.  Once you have center point + radius, you can use TurfJS to help with the computation of finding points within the polygon/circle.  turf.circle will create a circle polygon given a center point and radius, and then you can use turf.within to find the points that fall within that circle polygon.  This assumes you're using GeoJSON for representing points.  If you're not using GeoJSON, you could do something more basic like calculating the distance of every point from the center point and then only keeping points that fall within the user desired radius.  Leaflet JS includes functions for making these calculations while taking into account the curvature of the Earth.  Turf JS also includes the distance function, which performs a similar calculation.
Are you storing/serving up these points through a web service, or will all points be added to the map then filtered?  The above approaches will work fine with 100s/1000s of points but may be slow/lock up the browser with larger numbers of points.  If you have a lot of points that you're trying to filter, you should probably stick those in a geospatial database or other geo services that move those calculations out of the browser.


[0010] Clarify behavior of vk::aliased_pointer on vk::BufferPointer

Specifically, clarify interaction with default (restrict) BufferPointer.
Fixes #87.

I have added clarifying text for alias casting. I have also added an example.

@s-perron Please review

@llvm-beanz Can you review this for the second approval.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-yml-archive-non-versioning-archive/pull/9 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-yml-archive-non-versioning-archive.git

Docs Build status updates of commit 32cba83:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

docs/TOC.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level1/article3-1-3.yml
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-1.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-2.md
:white_check_mark:Succeeded
View

docs/to-be-archive/level2/article3-2-3.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Add feature to allow only administrators to create new streams.

Fixes #691.
Still need to update UserProfile.can_create_streams(), fix some linting errors, and add tests but just looking for initial feedback on this.

Automated message from Dropbox CLA bot
@phansen01, it looks like you've already signed the Dropbox CLA. Thanks!

Cool, yeah, this looks basically right for doing the data flow -- just need to actually make it do something, both for backend and for the frontend (don't want to offer stream creation to users who can't do it; but we might want to have some sort of note to talk to their realm admins if they need a stream created).

I worked on this issue too,a few days ago.
Wanted to fix some typos and find a smaller variable name so i didn't pr yet.
What i did for the setting to take effect, was to go to zerver/models.py and replace
 def can_create_streams(self):
            return True

with:
 def can_create_streams(self):
        if not self.realm_new_setting_name or self.is_realm_admin:
            return True
        else:
            return False

This way, if a user shouldn't be able to create new streams,he won't see the create new stream button at all.
If he hasn't refreshed the webpage since the setting took effect and try to create a new stream he will get an error that only admins may create new streams.

if you were already working on this feel free to submit a pr and I can
close mine; I will be pretty busy the rest of this week so I might not be
able to give the rest of this a look until the end of the weekend 😃
On Wed, May 11, 2016, 8:01 PM Frouk<EMAIL_ADDRESS>wrote:

I worked on this issue too,a few days ago.
Wanted to fix some typos and find a smaller variable name so i didn't pr
yet.
What i did for the setting to take effect, was to go to zerver/models.py
and replace
def can_create_streams(self):
return True
with:
def can_create_streams(self):
if not self.realm_new_setting_name or self.is_realm_admin:
return True
else:
return False
This way, if a user shouldn't be able to create new streams,he won't see
the create new stream button at all.
If he hasn't refreshed the webpage since the setting took effect and try
to create a new stream he will get an error that only admins may create new
streams.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/zulip/zulip/pull/777#issuecomment-218632916

@Frouk sounds pretty reasonable, if you combine that with @phansen01 's data flow work and add some automated tests, that should work pretty well!

This is what i have done so far https://github.com/Frouk/zulip/commit/f2f7c11b29c804367d837c92d70d66f9d26dd905
It's allmost identical to your solution.
If i get the time this weekend i will create some tests that can be used in either solution.

I updated my branch and added a casper test.
https://github.com/Frouk/zulip/commit/448e63a5e5fe2a6d1a7af69972a3b12712f72877
Everything seems to be working fine.
To tell you the truth i was hopping i could log out from admin and log in to a normal user to do more tests using casper but it seems frontend_tests/casper_lib/common.js has access only to admin's credentials.
If we edit tools/generate-test-credentials and refactor common.js a little bit we could easily support this.
I believe it would help in many other tests but we should probably discuss it in a new Issue.

@Frouk yeah it'd be great to add that feature to our Casper test framework; I agree it'd be better as a separate PR though.

@Frouk the code looks pretty good -- The other issue I see is that if an admin toggles this setting, I think users' browsers won't update properly to remove the UI for creating streams until those users reload, since nowhere in this PR do you update page_params.can_create_streams, which actually controls which users can create streams.  It's not strictly required to fix that, since that's certainly on the long tail of situations, but it'd certainly be nice.
Can you add a test to EventsRegisterTest in zerver/tests/test_events.py for the new actions function?

Merged via #802, thanks @phansen01 !


lid switch binding is not working anymore

this binding
bindl = ,switch:Lid Switch,exec,lid.sh
does not do anything anymore. I have confirmed with hyprctl device that "Lid Switch" is the name of the lid switch

"anymoar"
git bisect? Version which broke it at least?

ah forget it. not hyprland's problem. my ACPI driver was not compatible with linux 6.2.1


DerAsnUtcTime.Value should return a DateTimeOffset object

See https://github.com/huysentruitw/pem-utils/pull/8#discussion_r209692091

Needs to be re-implemented for v3.0 according to this spec: http://luca.ntop.org/Teaching/Appunti/asn1.html


support sent mail (unread, read, read and replied) status icon.

Expected behaviour
sent mail folder shows emails with icons to know if the email is unread, read, read and replied by the receiver.
Actual behaviour
Tell us what happens instead
Steps to reproduce

Environment
K-9 Mail version:
Android version:
Account type (IMAP, POP3, WebDAV/Exchange):

See also #1432


OSX El Captain compatibility issue

It seems that using OS X El Captain beta the mouse move doesn't work, mouse get is pretty working well
If you need any log, feel free to ask

Hey! Sorry for the delay. I probably won't be able to look into this until I update my Mac, and I'm afraid to do this if it's going to break RobotJS. I'll see if I can get a VM going when I have time.
Thanks for the report!

Is there an error message or does the mouse just not move?
Are you running the OS in a VM or native?
Also if anyone else is running OS X El Captain could you confirm if you have the same issue?

I was running it on a native mac, so not VM.
But I can't help you anymore, I was forced to revert to 10.10

I got the latest version of El Captain running, it turns out that there is some problem with CGEventCreateMouseEvent, I'm in the process of figuring it out, will post when I find out more. It appears the mouse move is the only function having problems.

I'm going to close this, there aren't any incompatibilities with El Captain at the moment.


RegisteredFunction.Invoke should handle receiving 'null' for 'args'

This is a bit strange.
This is my JS function:
Blazor.registerFunction('BlazorLogger.Logger.Count', function (label) {
    if (label !== null) console.count(label);
    else console.count();
    return true;
});

And defined these two interop functions:
public static void Count()
{
  RegisteredFunction.Invoke<bool>("BlazorLogger.Logger.Count", null);
}

public static void Count(string label)
{
  RegisteredFunction.Invoke<bool>("BlazorLogger.Logger.Count", label);
}

And calling it like so:
Logger.Count();
Logger.Count(null);
Logger.Count("bob");

Strangely, lines 2 & 3 work fine, but line 1 which seems to do more or less the same thing as line 2 does not:
Uncaught Error: System.ArgumentNullException: Value cannot be null.
Parameter name: source
  at System.Linq.Enumerable.Select[TSource,TResult] (:11690/System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] selector) <0x1c01168 + 0x0001a> in <2e4578bfc56440cca13db140d3ae997a>:0
  at Microsoft.AspNetCore.Blazor.Browser.Interop.RegisteredFunction.Invoke[TRes] (:11690/System.String identifier, System.Object[] args) <0x1c00820 + 0x00018> in <92ed9c6772a34798bccecc99cc26cbcd>:0
  at :11690/BlazorLogger.Logger.Count () <0x1c003b0 + 0x00006> in <f4f92b4bec764f4ab07179cba15c0d18>:0
  at :11690/Sample.Pages.Index.onclickCount () <0x1bff3b8 + 0x00004> in <0f6654494db343ba856c72c5c375f027>:0
  at Microsoft.AspNetCore.Blazor.Components.EventHandlerInvoker.Invoke (:11690/Microsoft.AspNetCore.Blazor.UIEventArgs e) <0x1bff148 + 0x00076> in <0d9c96ffc9704aa9b088cbbe138126c6>:0
...

Thanks for reporting this.

Hi I would like to contribute to this project and start by resolving this issue. I checked PRs and didn't see anyone mention that they were fixing this. Since I would like to fix this issue I would like to also create a unit test for this bug but was unsure the right location to add the tests.


Make AddApis obsolete

Change MapApis to search for the IApis  instead of needing the service collection to manage all IApi-derived classes

Fixed


Figure out who are the "team leads"

We'll not be able to install the action on the repositories of #32 until a decision has been made on https://github.com/paritytech/ci_cd/issues/257.
Currently I can only assume we'll be using @paritytech/substrateteamleads which is the same group used for "team leads" in processbot.

Replaced by #67


Add AUX_HEATING switch option

When used with a Midea Heat Pump the plugin reports that it does not support the AUX_HEATING attribute:
[homebridge-midea-platform] [net_ac_3234] Attempt to set unsupported attribute AUX_HEATING to false
It would be very useful to add this switch option allowing the user to set Auxiliary Heating to ON or OFF.

Heat pump is currently not supported, I think the charecteritics of a heat pump is not the same as a dehumifider or an air conditioner.
Could you please provide informations about the heat pump? Which informations you can read/need, what can you control, etc...

Thank you for replying so quickly.
I just ran a device discovery from the plugin and this is what it returned
for my heat pump:
[18/01/2024, 08:49:53] [Homebridge UI] [homebridge-midea-platform]
Discovered device:
{"ip":"<IP_ADDRESS>","port":6444,"id":150633093369528,"model":"00000Q1B","sn":"000000P0000000Q1B096EA9032340000","name":"net_ac_3234","type":172,"version":3}
In HomeBridge it shows up as an Air Conditioner and the following
functionality works properly in the Apple Home app:

Shows and can set Cool/Heat mode (with the exception of Auxiliary Heat
modes)
Shows and can set "Fan only" mode
Shows and can set Fan Speed
Shows and can set Target temperature
Shows current temperature, both for the Indoor unit and the Outdoor
unit

My Midea heat pump (rebadged as Moovair) has a built-in electric heat coil
which can be used as an auxiliary source of heat if needed ("Aux & Heat"
mode). It can also run exclusively on auxiliary heat ("Aux" mode) or set to
never use the auxiliary heat ("Heat" mode). Please see attached screenshot
from the MSmartHome app (now called Smart Home) showing these two
additional operating modes.
The only thing missing from the way the plugin works right now is to
include two additional modes of operation to the list of operating modes:

Aux
Aux & Heat

A nice to have would be to show when the heat pump is actually using
Auxiliary Heat when in "Aux & Heat" mode. I believe that the MSmartHome app
can show this.
Please let me know if I can help in any way.
Thanks
Albert
On Thu, 18 Jan 2024 at 08:24, Kovalovszky Patrik @.***>
wrote:

Heat pump is currently not supported, I think the charecteritics of a heat
pump is not the same as a dehumifider or an air conditioner.
Could you please provide informations about the heat pump? Which
informations you can read/need, what can you control, etc...
—
Reply to this email directly, view it on GitHub
https://github.com/kovapatrik/homebridge-midea-platform/issues/64#issuecomment-1898474546,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDPKXQDXIFTIVNRSSZ3CWTYPEPAVAVCNFSM6AAAAABCAFCKIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJYGQ3TINJUGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hm, interesting that it shows up as an air conditioner as Midea has an explicit "Heat Pump" device type.
I think you have forgotten to attach the photos, can you please reupload them? Also can you please tell me the exact name of your device?
The list which shows the available mode is limited as far as I know (so I can only filter the Apple supported type of modes, like heat or cool, and cannot add a new one), but I will test it.

Sorry, I replied directly in GMail and the attachment shows there but not here in GitHub. I'm attaching it here...

The exact name of my heat pump is "Moovair Electric Heat Pump Model DMA24HOS20230E7 with Moovair Air Handler FMA24HIAHUU230X7". It came with a KJR-120N Wired Thermostat which I connected to my network and to the Midea cloud.
That's weird about the Heat Pump device type. I think they're just treating it as an Air Conditioner but including "Heat" as a valid mode. Strange.
One idea for the Apple modes would be to treat Auxiliary as an additional switch, similar to "Fan Only". So, if the Apple mode is "Heat", the new "Auxiliary" switch would indicate "Heat" mode (if OFF) or "Aux & Heat" mode (if ON). Of course this leaves out "Aux" mode (Auxiliary heat only). Maybe in this case the Apple supported mode could be "OFF" and the Auxiliary switch "ON"?

Okay, I think the theromstat is a generic device (so it can be used for an air conditioner as well), that's why it's exposed as an air conditioner, but I don't know why isn't it a thermostat at this point. What type the Midea app displays for the device? Is it a heat pump in the application as well?
This looks like an edge case to me, but maybe it can be handled. The auxillary switch could be an option. Btw can you set your heat pump to cool mode? Or only heat, aux, aux+heat is possible?

The Midea app shows it as an Air Conditioner device type. No mention of heat pump except that it shows all the heat modes.
Yes, the heat pump can definitely be used in cool mode as an Air Conditioner and can also be set to Auto where it automatically switches from heat to cool modes as needed.

Ah okay, it all makes sense now. One more question: in your first message you've sent the AUX_HEATING attribute. How does the log looks like if you push on Aux or Aux+Heat options? I want to find out which settings should be handled in both cases, so could you please test this?

Finally got some time to test.
Set mode to "Aux":
[19/01/2024, 03:26:46] [homebridge-midea-platform] [net_ac_3234] Attempt to set unsupported attribute SMART_EYE to true
Set mode to "Aux & Heat":
[19/01/2024, 03:27:18] [homebridge-midea-platform] [net_ac_3234] Attempt to set unsupported attribute SMART_EYE to false
[19/01/2024, 03:27:18] [homebridge-midea-platform] [net_ac_3234] Attempt to set unsupported attribute AUX_HEATING to true
Set mode back to "Heat":
[19/01/2024, 03:27:40] [homebridge-midea-platform] [net_ac_3234] Attempt to set unsupported attribute AUX_HEATING to false

Cool, thank you! I will try to implement this by the end of the week.

Hopefully this means that SMART_EYE is used to indicate when the electrical Auxiliary heating is actually being used.
In the first test when I set it to "Aux" it would be true since it's being forced to use it. When I then set it to "Aux & Heat" it wasn't cold enough outside for it to need to supplement with Auxiliary heat so I'm hoping that's why it set SMART_EYE to false. Hopefully in "Aux & Heat" mode it would switch SMART_EYE between true and false when it actually uses/stops using Auxiliary heat.
I don't have a way to test it until it actually gets cold enough outside though since the heat pump is a "Cold Climate" model which is handling -15C outside without needing Auxiliary heat.

I would assume that the SMART_EYE attribute just set the heat pump to automatically turn off/on the auxillary heating based on the temperature, so the attribute itself won't jumps from true to false. If what you describe would be true, how could be the feature itself turned on or off?

Good point.
So I tested it again but this time I set it first to "Aux & Heat":
[19/01/2024, 04:57:03] [homebridge-midea-platform] [net_ac_3234] Attempt to set unsupported attribute AUX_HEATING to true
Then I set it to "Aux":
[19/01/2024, 04:57:23] [homebridge-midea-platform] [net_ac_3234] Attempt to set unsupported attribute AUX_HEATING to false
[19/01/2024, 04:57:41] [homebridge-midea-platform] [net_ac_3234] Attempt to set unsupported attribute SMART_EYE to true
Then I set it back to "Heat":
[19/01/2024, 04:57:54] [homebridge-midea-platform] [net_ac_3234] Attempt to set unsupported attribute SMART_EYE to false
So it seems that:

SMART_EYE=true & AUX_HEATING=false -> Aux mode
SMART_EYE=false & AUX_HEATING=true -> Aux & Heat mode
SMART_EYE=false & AUX_HEATING=false -> Heat and other modes (no Aux)
SMART_EYE=true & AUX_HEATING=true -> Hopefully means that it's using Auxiliary heat while in Aux & Heat mode

In the next version this will be added. I will let you know when it's released.

In the next version this will be added. I will let you know when it's released.

That's awesome thanks!

I've released the version which includes this feature, can you test it out please?

Thanks Patrik. So far I've tested setting "AUX" mode and "AUX&HEAT" mode from the Smart Home app and they both reflect correctly in Apple Home.
However, when I turned "AUX&HEAT" mode from ON to OFF using the Apple Home app it seems to have turned the heatpump completely off. Apple Home still thinks it's on but the heatpump is actually off.

Can you please send me some logs about this? Don't forget to turn on the Enable verbose logging options in the settings.

Please see my comments embedded in the logs below:

[17/03/2024, 13:36:13] [homebridge-midea-platform] Restarting Process...
[17/03/2024, 13:36:14] [homebridge-midea-platform] Launched child bridge with PID 20279
[17/03/2024, 13:36:14] Registering platform 'homebridge-midea-platform.midea-platform'
[17/03/2024, 13:36:14] [homebridge-midea-platform] Loaded homebridge-midea-platform v1.0.0 child bridge successfully
[17/03/2024, 13:36:14] Loaded 1 cached accessories from cachedAccessories.0E3667187BA8.
[17/03/2024, 13:36:15] [homebridge-midea-platform] Loading accessory from cache: net_ac_3234
[17/03/2024, 13:36:15] [homebridge-midea-platform] Start device discovery...
[17/03/2024, 13:36:15] Homebridge v1.7.0 (HAP v0.11.1) (homebridge-midea-platform) is running on port 50097.
[17/03/2024, 13:36:15] [homebridge-midea-platform] Discovered device: {"ip":"<IP_ADDRESS>","port":6444,"id":150633093369528,"model":"00000Q1B","sn":"MYSERIALNUMBER","name":"net_ac_3234","type":172,"version":3}
[17/03/2024, 13:36:15] [homebridge-midea-platform] [Moovair] Restoring existing accessory from cache: net_ac_3234
[17/03/2024, 13:36:15] [homebridge-midea-platform] [Moovair] Cached device, using token/key from config file
[17/03/2024, 13:36:15] [homebridge-midea-platform] [Moovair] Starting network listener.
[17/03/2024, 13:36:16] [homebridge-midea-platform] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic was supplied illegal value: number 999 exceeded maximum of 102. See https://homebridge.io/w/JtMGR for more info.
[17/03/2024, 13:36:16] [homebridge-midea-platform] This plugin generated a warning from the characteristic 'Rotation Speed': characteristic was supplied illegal value: number 999 exceeded maximum of 102. See https://homebridge.io/w/JtMGR for more info.
[17/03/2024, 13:36:18] [homebridge-midea-platform] [Moovair] Status change: {"POWER":true,"MODE":4,"TARGET_TEMPERATURE":20,"FAN_SPEED":60,"SWING_VERTICAL":false,"SWING_HORIZONTAL":false,"AUX_HEATING":true,"SCREEN_DISPLAY":true,"INDOOR_TEMPERATURE":24,"OUTDOOR_TEMPERATURE":7}
[17/03/2024, 13:36:18] [homebridge-midea-platform] [Moovair] Status change: {"TOTAL_ENERGY_CONSUMPTION":0,"CURRENT_ENERGY_CONSUMPTION":0}
[17/03/2024, 13:36:23] [homebridge-midea-platform] All configured devices added to Homebridge
[17/03/2024, 13:36:49] [homebridge-midea-platform] [Moovair] Status change: {"INDOOR_TEMPERATURE":23}

I turned AUX & HEAT from ON to OFF using Apple's Home app which also turned the heat pump off:

[17/03/2024, 13:37:53] [homebridge-midea-platform] [Moovair] Set device attribute POWER to: false
[17/03/2024, 13:37:53] [homebridge-midea-platform] [Moovair] Set device attribute AUX_HEATING to: false
[17/03/2024, 13:37:54] [homebridge-midea-platform] [Moovair] Status change: {"AUX_HEATING":true,"SCREEN_DISPLAY":false}
[17/03/2024, 13:37:55] [homebridge-midea-platform] [Moovair] Status change: {"AUX_HEATING":false}
[17/03/2024, 13:37:56] [homebridge-midea-platform] [Moovair] Status change: {"INDOOR_HUMIDITY":0}

I turned the heat pump back on using the SmartHome app:

[17/03/2024, 13:38:20] [homebridge-midea-platform] [Moovair] Status change: {"AUX_HEATING":true}
[17/03/2024, 13:38:26] [homebridge-midea-platform] [Moovair] Status change: {"POWER":true}
[17/03/2024, 13:38:30] [homebridge-midea-platform] [Moovair] Status change: {"AUX_HEATING":false}
[17/03/2024, 13:38:51] [homebridge-midea-platform] [Moovair] Status change: {"SCREEN_DISPLAY":true}

Can you tell me what the expected behaviour is? I still don't understand the problem you've got.

Ideally if AUX or AUX&HEAT are turned OFF from ON then it should be set back to HEAT mode and POWER stays on. In both AUX and AUX&HEAT modes the heat pump is supplying heat so if a user turns them OFF from ON they would want it to continue to supply heat not to turn off.
If it's not possible to do this, then the fact that POWER is now off should be displayed so apps like Apple Home would reflect that. Currently when I turned AUX&HEAT mode from ON to OFF in the Apple Home app the app showed that the heatpump was still on when in fact it was off.

Ah, I see. It's possible to do what you described.

Do you know how to install a plugin using the command line?

Do you know how to install a plugin using the command line?

I can access the command line but I would need the exact command to use

Okay, so first thing first, delete the currently installed version of my plugin. Then in the command line insert the following one by one:

git clone https://github.com/kovapatrik/homebridge-midea-platform.git
git switch fix/aux
npm i
npm run build

Then restart Homebridge, the plugin should appear now in your plugin list with the version v1.0.1. You can test the aux switches after this.

Ah, I forgot a command. Run cd homebridge-midea-platform before running git switch fix/aux.
 You might get an error for it, in that case you have to run sudo npm link ..

Great thanks.
Do I also need to run hb-service add homebridge-midea-platform?

Great thanks. Do I also need to run hb-service add homebridge-midea-platform?

Please ignore my last question. I should have been in the /var/lib/homebridge/node_modules directory before cloning the repository. I have now installed v1.0.1 correctly and will start to test with verbose logging enabled

I started with the heatpump in HEAT mode and wanted to test changing to AUX mode.
I first used the SmartHome app to change to AUX and the logs showed:
[19/03/2024, 13:58:10] [homebridge-midea-platform] [Moovair] Status change: {"SMART_EYE":true,"INDOOR_TEMPERATURE":22,"OUTDOOR_TEMPERATURE":1}
Soon after I used SmartHome to change it back to HEAT and the logs showed:
[19/03/2024, 13:58:53] [homebridge-midea-platform] [Moovair] Status change: {"SMART_EYE":false}
I then used the Apple Home app to change to AUX mode and the logs showed:
[19/03/2024, 13:59:57] [homebridge-midea-platform] [Moovair] Set device attribute SMART_EYE to: true [19/03/2024, 13:59:57] [homebridge-midea-platform] [Moovair] Set device attribute AUX_HEATING to: false [19/03/2024, 13:59:57] [homebridge-midea-platform] [Moovair] Status change: {"SMART_EYE":false}
Also, the heatpump automatically cancelled AUX mode (see last log entry) and went back to HEAT mode

Could you please also write down what is the expected behavious in these cases? I don't know what the flow is with the device, it's really hard to develop it without having such a device.

Could you please also write down what is the expected behavious in these cases? I don't know what the flow is with the device, it's really hard to develop it without having such a device.

The expected behaviour is exactly what your code is instructing: set SMART_EYE to true and set AUX_HEATING to false. However, the heatpump responds by setting SMART_EYE to false instead.
I wonder if it has anything to do with sending it two commands in rapid succession? Is it possible to send a single command with multiple status changes? While using the SmartHome app I've noticed log entries with multiple status attribute changes like this one: [Moovair] Status change: {"SMART_EYE":false,"AUX_HEATING":true}

Currently it's not possible, but I thought about one thing, I will push that change tomorrow, I would ask for your assistance in testing it, if it's okay for you.

Of course I would be happy to help test it.
I really do appreciate the work you are doing on this plugin!

I've pushed the new changes. In this cases you have to do the following:

go to the directory of the plugin
git fetch
git pull
npm run build

I just updated it and did some preliminary testing, turning modes On and Off with both the SmartHome and Apple Home apps and it now works as expected with both apps showing the correct current mode.
Bravo!

I've released this fix with version v1.0.1. Could you please also test this with the live version?

I've released this fix with version v1.0.1. Could you please also test this with the live version?

I uninstalled the plugin and installed the official v1.0.1. I'll let you know if I notice any issues

Thank you! I will close the issue, please reopen it if you notice something.


Boxes

Purpose/implementation Section
What changes are being implemented in this Pull Request?
updating box style code for easier sync
What was your approach?
moving box image files to a dir that can be added to the sync
What GitHub issue does your pull request address?
Tell potential reviewers what kind of feedback you are soliciting.
New Content Checklist

[ ] New content/chapter is in an Rmd file with this kind of format and headers.

[ ] New content/chapter contains Learning Objectives and are in the correct format.

[ ] Bookdown successfully re-renders and any new content files have been added to the _bookdown.yml.

[ ] Spell check runs successfully in Github actions style-n-check).

[ ] Any newly necessary packages that are needed have been added to the Dockerfile and image.

[ ] Images are in the correct format for rendering.

[ ] Every new image has alt text and is in a Google Slide.

[ ] Each slide is described in the notes of the slide so learners relying on a screen reader can access the content. See https://lastcallmedia.com/blog/accessible-comics for more guidance on this.

[ ] The color palette choices of the slide are contrasted in a way that is friendly to those with color vision deficiencies.
You can check this using Color Oracle.

Need to find out if I should add these to the other style-set css code documents...


feat: bug fix - sorted_set_increment should be named sorted_set_increment_score

The Python SDK had implemented increment support for sorted sets
using the name sorted_set_increment, when the docs and all of
the other SDKs use the name sorted_set_increment_score. This fixes
the name to match the docs and other SDKs.

You'll have to update the init files for the new names from increment.py up the source tree. And consider renaming increment.py to increment_score.py :-)


extra checks to prevent Tranquilizer of being stuck

Tranquilizer relies on Beam chain to respect contract and return future for each message sent with sendAll. However it have no control on what Beam implementation is used and will be stuck if futureResults is empty.
We can't check that futures in response are in order but we can at least check the size match and the collection is not empty and fail fast.

@gianm Could you please take a look?


Fix typo in import_mappings command

Released in [0.17.2](Fix typo in import_mappings command #73)


[Bug] Arm64 Mac tests not working

Which version of Microsoft.IdentityModel are you using?
dev branch
Where is the issue?

[ ] M.IM.JsonWebTokens
[ ] M.IM.KeyVaultExtensions
[ ] M.IM.Logging
[ ] M.IM.ManagedKeyVaultSecurityKey
[ ] M.IM.Protocols
[ ] M.IM.Protocols.OpenIdConnect
[ ] M.IM.Protocols.SignedHttpRequest
[ ] M.IM.Protocols.WsFederation
[ ] M.IM.TestExtensions
[ ] M.IM.Tokens
[ ] M.IM.Tokens.Saml
[ ] M.IM.Validators
[ ] M.IM.Xml
[ ] S.IM.Tokens.Jwt
[x] Other (please describe)

Is this a new or an existing app?
Source code.
Repro
./test.sh
.NET SDK:
Version:           8.0.201
Commit:            4c2d78f037
Workload version:  8.0.200-manifests.3097af8b
Runtime Environment:
OS Name:     Mac OS X
OS Version:  14.4
OS Platform: Darwin
RID:         osx-arm64
Base Path:   /usr/local/share/dotnet/sdk/8.0.201/
.NET workloads installed:
There are no installed workloads to display.
Host:
Version:      8.0.2
Architecture: arm64
Commit:       1381d5ebd2
.NET SDKs installed:
2.1.818 [/usr/local/share/dotnet/sdk]
6.0.417 [/usr/local/share/dotnet/sdk]
7.0.402 [/usr/local/share/dotnet/sdk]
8.0.100 [/usr/local/share/dotnet/sdk]
8.0.201 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.All 2.1.30 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.30 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.25 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.12 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.2 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.30 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.25 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.12 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 8.0.2 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
x64   [/usr/local/share/dotnet/x64]
registered at [/etc/dotnet/install_location_x64]
Environment variables:
Not set
global.json file:
Not found
Expected behavior
Tests should run
Actual behavior
Tests fail with following exception:

@Liamdoult Does the issue still occur to you? This test project uses the same props file as other tests. Do other test projects run successfully?


docs: add cmd for Lazy.nvim

Description
Lazy.nvim will by default not load a plugin until ultimately needed. One way to load the plugin is to enter the CodeCompanion* commands.
Add the commands using cmd that will make the plugin load.
Checklist

[x] I've read the CONTRIBUTING guidelines and have adhered to them in this PR
[x] I've updated the README and ran the make docs command

Thanks for the PR


Initial release of the Profile Page functionality

Refer to https://github.com/bcgov/sheriff-scheduling/pull/12 for details.
Check list:

[ ] Review for deployment configuration changes.
[ ] Update and apply any necessary configuration changes.

Should be good now?


comment on first line of templates affects rendering

Describe the bug
a select is meant to swap between sets of objects in the scene.
when the code has a comment on the first line of the template, objects are added to the scene, the old ones are not removed.
Reproduction
https://stackblitz.com/edit/tresjs-basic-hmkhgf?file=src%2Fcomponents%2FDonut.vue
Steps to reproduce
run the stackblitz.
change the select to 'donuts 1', a second set of donuts is added to the scene.
delete the comment in the template (Donut.vue) and refresh the view
this time when switching using the select, the scene objects are changed, not added
System Info
No response
Used Package Manager
npm
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

Just tested the 4.0.2 release in your reproduction, it looks like #717 did not fix it. We'll have to do more digging into how v-for is working behind the scenes


Allow access to the Public Organization Member lists with minimal permissions

Examining Organization membership should not necessarily require sign-in if the organization is public and the members are public. Therefore we should adjust /org/{org}/members to not require login.
Fix #7501
Signed-off-by: a1012112796<EMAIL_ADDRESS>

diff --git a/modules/context/org.go b/modules/context/org.go
index 9f4ce485e..fd808403d 100644
--- a/modules/context/org.go
+++ b/modules/context/org.go
@@ -12,6 +12,7 @@ import (
 	"code.gitea.io/gitea/models/perm"
 	user_model "code.gitea.io/gitea/models/user"
 	"code.gitea.io/gitea/modules/setting"
+	"code.gitea.io/gitea/modules/structs"
 )

 // Organization contains organization context
@@ -69,6 +70,18 @@ func HandleOrgAssignment(ctx *Context, args ...bool) {
 		return
 	}
 	org := ctx.Org.Organization
+
+	// Handle Visibility
+	if org.Visibility != structs.VisibleTypePublic && !ctx.IsSigned {
+		// We must be signed in to see limited or private organizations
+		ctx.NotFound("OrgAssignment", err)
+		return
+	} else if org.Visibility == structs.VisibleTypePrivate {
+		requireMember = true
+	} else if ctx.IsSigned && ctx.Doer.IsRestricted {
+		requireMember = true
+	}
+
 	ctx.ContextUser = org.AsUser()
 	ctx.Data["Org"] = org

diff --git a/routers/web/org/home.go b/routers/web/org/home.go
index d565a0c24..63243a391 100644
--- a/routers/web/org/home.go
+++ b/routers/web/org/home.go
@@ -39,11 +39,6 @@ func Home(ctx *context.Context) {

 	org := ctx.Org.Organization

-	if !organization.HasOrgOrUserVisible(ctx, org.AsUser(), ctx.Doer) {
-		ctx.NotFound("HasOrgOrUserVisible", nil)
-		return
-	}
-
 	ctx.Data["PageIsUserProfile"] = true
 	ctx.Data["Title"] = org.DisplayName()
 	if len(org.Description) != 0 {

I think this is required.

Codecov Report

Merging #20330 (3cc3ce9) into main (2399b59) will increase coverage by 0.38%.
The diff coverage is 21.59%.

:exclamation: Current head 3cc3ce9 differs from pull request most recent head 0c08884. Consider uploading reports for the commit 0c08884 to get more accurate results

@@            Coverage Diff             @@
##             main   #20330      +/-   ##
==========================================
+ Coverage   46.51%   46.90%   +0.38%
==========================================
  Files         976      976
  Lines      135007   135155     +148
==========================================
+ Hits        62802    63390     +588
+ Misses      64451    64002     -449
- Partials     7754     7763       +9

Impacted Files
Coverage Δ

cmd/admin.go
0.00% <0.00%> (ø)

cmd/manager.go
0.00% <ø> (ø)

models/db/context.go
65.16% <ø> (ø)

models/issues/label.go
57.33% <0.00%> (-0.11%)
:arrow_down:

models/issues/pull_list.go
64.17% <ø> (ø)

models/organization/team_repo.go
76.19% <ø> (ø)

models/repo.go
49.10% <0.00%> (+0.07%)
:arrow_up:

modules/charset/charset.go
71.73% <ø> (ø)

modules/doctor/breaking.go
23.07% <0.00%> (ø)

modules/hostmatcher/hostmatcher.go
87.20% <0.00%> (ø)

... and 58 more

Continue to review full report at Codecov.

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

Make lgtm work