Libuv not compatible with opam-monorepo

This seems to be an issue caused by https://github.com/ocaml/dune/issues/4121, however, I'm opening an issue here as well to track it on opam-monorepo.
This is preventing users from using eio in mono repositories at the moment (since the backend on macOS uses luv). I've pushed a small reproduction here: https://github.com/tmattio/repro-eio-monorepo.
The issue has been observed while trying to port https://github.com/moby/vpnkit to opam monorepo.

Looks like @patricoferris has a workaround: https://github.com/patricoferris/luv/tree/monorepo


I have created a folder and made some changes to add some functions.

Related Issue

I have added some functions created my own Css file.

Closes: #[issue number that will be closed through this PR]
Describe the changes you've made
There were some basic functions that were present i added few more functions to make the calculator more functionable and can be used in many areas. I have used my own Css file and made significant changes in HTML file and Javascript file.
Describe if there is any unusual behaviour of your code(Write NA if there isn't)
NA
Screenshots:
Here is a Screenshot of my project.

Extremely sorry sir, I'm new to github and only knew this way of creating a new branch and adding it. I will make the following changes by tomorrow.

why it's showing conflicts as i added the card component in the index.html file.

Thanks for the approval, is there anything i more need to do like taking any screenshots or it's dealt by you.
thanks for giving me this opportunity means a lot.


Refactor -nameopt option

This might be the last of the "refactoring" PR's.
It moves the - nameopt description to openssl.pod
I tried to improve the wording, would greatly appreciate feedback.

Based on #10159 so only look at the top commit or wait for that to get reviewed and merged.

Rebased (because #10159 was merged), resolved conflicts, and pushed.

just renamed to be more descriptive.

rebased and fixed conflict; pushed.

fixup commit pushed.

Ping @levitte for a final review

Trivial wording changes, but ping @levitte to re-approve.

Trivial wording changes, but ping @levitte to re-approve.

Yes, exactly what I meant ;-)

I think we both commented at the same time ;)

@levitte, @InfoHunter do you still approve or does this need re-review?  The labels seems wrong.

Reposting a week later: @levitte, @InfoHunter do you still approve or does this need re-review? The labels seems wrong.

Label is OK - @InfoHunter approved @levitte or someone else from OMC needs to re-review.

Ping @openssl/otc for a review.

It seems this could be merged now

Squashed and pushed to master, thanks!


Cannot install for Laravel 5.5

Hi guys :)  Seems Composer is instructed to require Laravel ^6.
From the project front page:  "User to Team associations with invitation system for the Laravel 5 Framework".....?
I'm trying to install in my Laravel 5.5 project and get the following response from Composer:
PS C:\xampp\htdocs\ds_dev_01> composer require mpociot/teamwork
Using version ^6.0 for mpociot/teamwork
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for mpociot/teamwork ^6.0 -> satisfiable by mpociot/teamwork[6.0.0].
    - mpociot/teamwork 6.0.0 requires laravel/framework ^7.0 -> satisfiable by laravel/framework[7.x-dev, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.10.0, v7.10.1, v7.10.2, v7.10.3, v7.11.0, v7.12.0, v7.13.0, v7.14.0, v7.14.1, v7.15.0, v7.16.0, v7.16.1, v7.2.0, v7.2.1, v7.2.2, v7.3.0, v7.4.0, v7.5.0, v7.5.1, v7.5.2, v7.6.0, v7.6.1, v7.6.2, v7.7.0, v7.7.1, v7.8.0, v7.8.1, v7.9.0, v7.9.1, v7.9.2] but these conflict with your requirements or minimum-stability.

Is there a workaround or a prior version I should use (or am I forced to upgrade to a later Laravel?)
Please advise.

Hi @hondaman900
In order to install the Teamwork package for that version of Laravel, you should use this command:
composer require mpociot/teamwork:^5.3

Thank you!


how to define  flink command line

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
I want to use *.zip or *.pyz  in flink task,it can not do.
select  flink >1.10,and  again edit ,it become  flink<1.10.
flink run
--pyModule table.word_count
--pyFiles examples/python/table
flink run-application -t yarn-application
like this command,how to  do it
I use pyflink 1.15
What you expected to happen
I want to use *.zip or *.pyz  in flink task,it can not do.
select  flink >1.10,and  again edit ,it become  flink<1.10.
flink run
--pyModule table.word_count
--pyFiles examples/python/table
flink run-application -t yarn-application
like this command,how to  do it.
I use pyflink 1.15
How to reproduce
I want to use *.zip or *.pyz  in flink task,it can not do.
select  flink >1.10,and  again edit ,it become  flink<1.10.
flink run
--pyModule table.word_count
--pyFiles examples/python/table
flink run-application -t yarn-application
like this command,how to  do it
I use pyflink 1.15
Anything else
No response
Version
3.0.0
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

It may need to refactor the Flink task plugin to support this or you can use shell task plugin.


Firstpr/priyankdixit

Please specify if further changes to be done!

I am getting this error while submitting my pull request.Please help me out!


Android loader doc: Can support API >29 with workaround

A change was recently contributed to Monado to be able to lift the limitation of "must build for 29 or below" caused by having to use the package manager to find the runtime and load the Java code in the client/app process. Instead it now computes a path to the dex file and loads that directly.
The loader design doc currently calls out the 29 API limit because at the time I wasn't sure if a workaround existed. At the very least, that restriction can be removed, since we know it is possible, with Monado as an existence proof. A Monado contributor suggested mentioning how the workaround is done, so that other runtimes can do similarly, if required.
I wondered if it may be better to update the broker and its spec to have another path for the dex file, since the "find my dex based on my shared library" logic is not fully documented and is based on some assumptions/implementation details that may change. My thought was that runtimes could be kept running even after a platform change by having an updated broker, but I'm not sure that logic holds or makes sense.
See the discussion on the Monado gitlab here: https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1476#note_1536766

@rpavlik If app uses OpenXR loader and targets its sdk to 30+(Android 11+), especially 32/33, the app also needs declare query or android.permission.QUERY_ALL_PACKAGES to bind Monado's service with https://gitlab.freedesktop.org/monado/monado/-/merge_requests/1476#note_1536766. Looks like there are extra work needed to be done to remove this restriction totally.

Yeah sorry I didn't update this issue, am aware of that. Think we are just going to use the same intent filter for runtime service as used for runtime discovery.

Think we are just going to use the same intent filter for runtime service as used for runtime discovery.

Sounds great. org.khronos.openxr.OpenXRRuntimeService can be a great choice to use query in loader AAR because it is a contract defined in OpenXR Loader spec between loader and Runtime.

This has been released in 1.0.28 (the query part anyway. Loading of classes is not documented but this should be easy to search for - haven't heard from others that this blocks them.)


ngClick with ngTouch prevent nested link on mobile

With ngTouch module, If an element has ngClick directive, then its child link can't work.
Demo: http://embed.plnkr.co/pz7AEhTqFwBZVtmo3pJQ/
The links in the nav have parent <li> with ngClick, and its click event be busted.
Use chrome simulator to reproduce this issue.

This is a duplicate of a lot of other issues. At this point, we advise you to not use ngTouch, but use hammer.js / fastclick,js instead

Ok, thanks.


[ZEPPELIN-5910] Remove hamcrest-all as compile dependency

What is this PR for?
This PR is minimally invasive. This PR updates atomix from 3.0.0-rc4 to 3.0.0-rc5 which removes hamcrest-all as compile dependency from zeppelin-interpreter.
Deprecated methods were migrated accordingly.
https://github.com/atomix/atomix-archive/compare/atomix-3.0.0-rc4...atomix-3.0.0-rc5
What type of PR is it?
Bug Fix
What is the Jira issue?

https://issues.apache.org/jira/browse/ZEPPELIN-5910

How should this be tested?

CI

Questions:

Does the license files need to update? Yes
Is there breaking changes for older versions? No
Does this needs documentation? No

I need a review here.

I approved it. BTW, you can feel free to ping me or assign me as a reviewer to send me a notification :-) I'm willing to help to review if needed.


Use different request/response types for each endpoint

When I used this library, I found it a bit confusing because all functions were sharing the same request type and I wasn't sure which one is used when –without reading other driver codes. Therefore, I separated  request/response types of each endpoint.
This is a breaking change but what users of the library will see is clearer and precise:

There's a bit of repetitive code due to the type system and lacks of generics in Go –but it's not too much (hence it should be acceptable, I'm guessing).
I am still not sure why the drivers are responding with  the mount point in both Path() and Mount() calls, though...

@calavera wdyt?

I personally don't like it. The request and response structs are the same basically because the request and responses from and to docker are the same json documents. This only adds unnecessary complexity to implement drivers.

The request and response structs are the same basically because the request and responses from and to docker are the same json documents

Bad design.


Feature Request : Comment Fee Control

 Issue : 1186
 Title : Comment Fee Control
 Author : Public_N_M_E
 Status : Proposed
 Type : Enhancement
 Created : 2024-05-23

Abstract
This issue describes an enhancement proposal to make territory founder able to control the comment/reply fee within their territory.
Motivation

Posting content is low in my territory but engagement is high in comments.  If I were able to adjust the comments/reply fees I think I could make my way to sustainability as a territory.  Replies are 1sat per post. But to post a discussion or something is the only adjustable fee, people are chatting away and engaging with each other for 1sat per comment, but very few posts get posted, the ability to make the comment/reply fees adjustable might really help.

Quoted from SN comment 548398
Acknowledgements
This idea was first proposed by @Public_N_M_E around an hour ago. Since @Public_N_M_E has yet to submit an issue, i thought i'd submit an issue related to this so a good idea like this won't be lost/ignored.

I found tweaking the category to a free one(for example 'dev') or a slightly cheaper one o help


Py 3 RPC implementation + Clipper Admin compatibility with Python 3

RPC implementation now compatible with python 3
Clipper Admin also compatible with python 3
Issue #138

Can one of the admins verify this patch?

jenkins add to whitelist

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Clipper-PRB/985/
Test FAILed.

@jwirjo What's the difference between this PR and #416?

Dup of #416


Timeout in Websocket::from_url

When I connect to a valid address but with an invalid port from_url returns a nullptr, but when the address is wrong it's just blocking forever. Is there a way to add a timeout?

I have this same timeout issue.
I use select() to add a timeout when connect() in from_url().


proteome comparison links should open in new tab

@maovt, please reassign it to Fangfang, if it needs to be fixed from the service side.
-Maulik

Can you clarify which link this is referring to?

Fangfang,
I think that it's referring to the links for the features in the circular image. This requires server side fix in circos.html - adding "target='_blank'" in the link construction.
Chunhong
From: "Fangfang Xia"<EMAIL_ADDRESS>To: "PATRIC3/patric3_website"<EMAIL_ADDRESS>Cc: "Chunhong Mao"<EMAIL_ADDRESS>"Mention"<EMAIL_ADDRESS>Sent: Monday, October 24, 2016 2:17:43 PM
Subject: Re: [PATRIC3/patric3_website] proteome comparison links should open in new tab (#1133)
Can you clarify which link this is referring to?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub , or mute the thread .
--
Chunhong Mao, Ph. D.
Research Assistant Professor
Biocomplexity Institute of Virginia Tech
Virginia Tech (0477)
1015 Life Science Circle
Blacksburg, VA 24061
Tel:<PHONE_NUMBER>
Fax:<PHONE_NUMBER>

Fixed in PR: https://github.com/TheSEED/app_service/pull/58

confirmed on production


Add read/import of pool name for resource ip_address

When importing an ip_address the pool parameter is missing. This PR add getting this pool name during import and read.

ping @EfficientIP-Labs

Hello,
Thank you for your contribution.
This will be included in the next release.
Kind regards

Great, thanks!

Hi @alexissavin,
Can you consider releasing a new version of this provider with this fix ?
Thanks,

Hello @pablo-ruth,
Just released v1.1.17 for you :)
I was reluctant to publish a release for such a small change,
but it's been a while since the provider has been built and
there was some need for updating the dependencies.
Hope this help :)
Again, thanks for your contribution.
Kind regards


Improve Map and MapOf godoc

Codecov Report
Base: 96.45% // Head: 96.78% // Increases project coverage by +0.32% :tada:

Coverage data is based on head (e4adb17) compared to base (b1929a1).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #72      +/-   ##
==========================================
+ Coverage   96.45%   96.78%   +0.32%
==========================================
  Files           6        6
  Lines         932      932
==========================================
+ Hits          899      902       +3
+ Misses         26       24       -2
+ Partials        7        6       -1

Impacted Files
Coverage Δ

map.go
97.01% <ø> (ø)

mapof.go
96.38% <ø> (ø)

rbmutex.go
94.87% <0.00%> (+7.69%)
:arrow_up:

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Stream command output to logger

This PR tries to fix #345 by using a TeeReader on the command stdout and stderr, and streaming the output to the log as it comes from the invoked command.
Following discution on my original PR #344, i have rewritten this PR to follow @moorereason 's advice (request to merge on development branch, remove unrelated commit)

hey @bdubertret  any update on this PR from project leads?  I am also interested in this feature as we have long running executables that we would like to see the log.

I'd be happy to rebase so we can get this live


Added Windows JNI download to README

The Java README is missing the download link for the Windows JNI download

Can one of the admins verify this patch?

@Rabrg : Thanks very much for the PR.
However, if you don't mind, I'd like to abandon this PR as I have another change that is updating the same file with both Windows and Maven instructions. There are a few issues with Maven and RC0 on Windows that I've discovered that I'd like to fix.
FWIW though, that URL is correct for now so feel free to use it.


testnet network support - 3blyvt6a5t7va - validator,rpc,api

@Ilinca89, Your Moniker and validator addresses are required, please update the PR with those details.

@Ilinca89, Your Moniker and validator addresses are required, please update the PR with those details.


On-prem

Hi
I am using umbraco deploy in a project and currently looking for a way to create a report of all diifs in content between to environments. Not sure if this package can help me but it might at least be a good starting point :)
However, we run on prem so when I made a quick test by installing the nuget package I got an error saying that the file umbraco-file.json is missing.
Would it be possible to use this package on prem aswell?

Hi @Abrissirba !
If I recall correctly, the umbraco-cloud.json is used to provide the list of available environments for comparison. The structure is like this:

{
    "Deploy": {
        "Project": {
            "Name": "CLOUD PROJECT NAME",
            "Alias": "CLOUD_ALIAS",
            "Id": "PROJECT GUID",
            "Workspaces": [
                {
                    "Id": "WS GUID",
                    "Name": "Development",
                    "Type": "development",
                    "Url": "https://CLOUD_ALIAS.euwest01.umbraco.io"
                },
                {
                    "Id": "WS GUID",
                    "Name": "Live",
                    "Type": "live",
                    "Url": "https://CLOUD_ALIAS.euwest01.umbraco.io"
                }
            ]
        }
}
}

Notice the "Workspaces" data. As a test you could add a file with this JSON structure to your project, named "umbraco-cloud.json", and put in your own information.
I'd imagine there is nothing preventing the package from working on-prem (other than that missing cloud data file to provide the list of Workspaces) It would be great if this package could support on-prem. I just don't have access to an on-prem setup myself.
What is the file name for on-prem that holds the list of environments? I'm sure we could have the code check for the Cloud file, and if not found, check for the on-prem file.


Opening URDF with STL files in same directory crashes in macOS

Hi,
I'm a student trying to use MuJoCo for a robotics college club looking to simulate legs for a person in need.
I'm looking for some help loading a URDF with other STL files included within it. I converted the Xacro to a URDF and put the STL files in the same directory. It seems to crash on startup when I try to load it.
Other questions I have:

Is there some way to spawn the model through terminal?

Is this able to be used with ROS2 to be used with a launch file and have the model give joint and robot state positions?

Here is the model and the STL files which explain my question.
Crash Log converted to TXT

It might be more helpful to attach the URDF rather than Xacro - we don't work with these conversion tools ourselves.

Is there some way to spawn the model through terminal?

You can run the Simulate binary through the command line and pass a file path to the model as a command line argument. The terminal logs would be more helpful than the log you attached, I think:
./MuJoCo.app/Contents/MacOS/simulate /path/to/my/model

Closing for now, do re-open if you fail to load the STL.


Add GDX Snowplow tracker

link to demo deployment of your smk based app is
https://smk-mrdt-rt-b16795-dev.apps.silver.devops.gov.bc.ca
Verify that it looks good, if so merge the pull request which will trigger a prod deployment, otherwise close the pull request without merging
mentions / notifications: @dgboss, @NicoledeGreef

Closing this. Prior changes deployed to dev were overwritten by another PR. When GDX is ready to test changes in dev, I'll create a new PR to trigger a fresh deploy to dev.


Add new, simplified, reactive Out Of Box Experience.

Okay, so something has changed in CODAL since the code was created, the "face logo touch to record" part doesn't work as expected.
Will revert this back to a WIP PR and will fix next week.

Fixed and force pushed, so this PR is ready for review.

Looks good to me, lets merge this in :)


Parallelize CI tests

Seems like an easy win for CI test times...
Runtime comparison between CI runs (before change vs after change):

CPU Tests:      4m 43s  =>  2m 22s
LLVM Tests:    7m 49s  =>  3m 58s
Torch Tests:    4m 26s  =>  2m 15s
GPU Tests:      9m 21s  =>  4m 26s

#527

This is 🔥, thanks!


unable to implement redo ("shift" "ctrl" "z") shortcut

Hi,
in  Event:: there is no ShiftCtrlChar(). Can it be added? If not, then how to do a walkaround for linux-only?
Kindest Regards
Andrzej Skalski

Hi!
First, on the ncurses backend, Ctrl+Z (and Ctrl+Shift+Z) will pause the application and return to the shell.
Second, there is no ShiftCtrlChar because it would be Ctrl('Z') instead (with a upper-case Z).
Third, doing this will not work because the terminal actually sends the same code if you press Ctrl+Z or Ctrl+Shift+Z (usually it's the byte 0x18): from the application point of view, there is no difference.
This shows the limitations of terminal input: many key combinations don't work, and there's nothing we can do from this application (that I know of).
You can try the key_codes example from the Cursive directory, it prints received events on the screen. This can help you debug what cursive receives when you press various key combinations.

Right, thanks. I got a mind eclipse I guess. You are obviously right.

Btw, just trying to disable system hooks for ctrl-c, ctrl-z etc. and don't know how to do it. Can you elaborate? Can I grab (somehow) termion backend and paly with it?

To try the termion backend, just compile cursive with the termion-backend feature. So to run the key_codes example:

cargo run --features termion-backend --example key_codes

To catch these events in the ncurses backend as well, I'll investigate our options. I may try raw mode, or maybe just catch SIGINT signal and send Ctrl+C from there. Not sure if I can catch SIGTSTP for Ctrl+Z.

Tried termion the command you gave, and ctrl-c still exits program.

Ah yes, I bound the Ctrl-C event sent by termion to the Exit event which
stops the clevent loop. That could be configurable if I can get it to work
on the other backends.
On Fri, May 11, 2018, 12:35 Andrzej J. Skalski<EMAIL_ADDRESS>wrote:

Tried termion the command you gave, and ctrl-c still exits program.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/gyscos/Cursive/issues/240#issuecomment-388464923, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAiep90UdtRT7ifMwalzvdObLKc6Muyyks5txegVgaJpZM4T6iPz
.

Oh. Ok. So let me know if you decide to proceed with that.


[Feature Request] Allow record types

What do you think about allowing record types in addition to struct?

@jeffward01 you should check out SteveDunn/Vogen

@viceroypenguin - big thanks! i have not heard of this library! It looks very promising!
btw - I love your username.
The other libraries I have heard of are:

https://github.com/Cysharp/UnitGenerator
https://github.com/fluxera/Fluxera.ValueObject
https://github.com/Andreas-Dorfer/base-types

Thanks again! ill check it out

SteveDunn/Vogen looks great! I'll add a link in the README since I haven't had much time to develop this library

@martinothamar - Should we keep this issue open as a future 'wishlist' item for WrapperValueObject?

Yes sure, no need to close 👍


Migrate from Standard Vault to Bank-Vaults

Hey guys - thank you very much for this inspiring project! 👋
I would like to ask whether it's possible and there's some documentation (couldn't find it) to migrate to your Vault Operator from a standard Vault instance deployed thru the official Helm chart.
In my particular case - using Amazon DynamoDB for the storage and AWS KMS for the auto-unsealing. Obviously, my Root token and Recovery keys (yes, not Unseal keys) are NOT on AWS S3.
Or is the only way thru the operator migrate? Still the keys and root token won't be on AWS S3 though.

Hi @Xtigyro, thanks! :)
unseal with Vault itself (using the seal stanza) is supported as well with the operator, as you can see in this GCP example: https://github.com/banzaicloud/bank-vaults/blob/master/operator/deploy/cr-gcs-ha-autounseal.yaml#L35
The data doesn't have to be migrated, you can use the DynamoDB backend with the operator as well (for the operator it doesn't matter which Vault storage backend are you using), so the operator migrate subcommand is not necessary.
The only thing you need to do is to copy the root-token to a location that the operator can understand (AWS S3 for example, encrypted with KMS). Please see https://banzaicloud.com/docs/bank-vaults/unseal-keys/ for more details.


feat: adding base ingress for argo workflow

This is a base ingress to allow environmental overlays from the undercloud-deploy repo. argo-server is a service setup by the namespace-install argo-workflow manifest. Natively I am not seeing anything the manifest interacting with that port, but if I had to guess perhaps the workflow-controller that is also installed by the manifest also communicates with the server on that port.

closing, this is superseded by https://github.com/rackerlabs/understack/pull/20.


WIP - PDF export

A work in progress, this PR adds an export-to-PDF functionality to the app. It's functional: when you click 'Export' it generates a 2-page PDF populated with the current map (exports the canvas to PNG), and an overview of levers and stats.
Support needed on two things:
@vgeorge What's the best way to get the currently selected values of: the levers; and the active filters?
@ricardomestre Can we discuss layout and design? Before I spend a lot of time incorporating more elements, I'd like to agree on an overall layout. There is still quite some information to include in this document, including the levers and more stats.

@olafveerman good to know that you could implement this so quickly. Regarding filters and levers, their state is kept in the "Explore" view:
https://github.com/developmentseed/gep-explorer/blob/develop/app/assets/scripts/views/Explore.js#L35-L36
You can pass their values down do the "Export" button via "Summary" component, as it is done with the "Dashboard":
https://github.com/developmentseed/gep-explorer/blob/develop/app/assets/scripts/views/Explore.js#L218-L225

@vgeorge I implemented this, but now realized that filterState and leverState contain the state of the filters and levers on the left side pane. Unless the user hits 'apply changes' this is not necessarily the state that was used to generate the results. What's the best approach here? Have another prop to track those?

Yes, I guess it is better to track changes in a separate prop, renderedFilters maybe? This would also make it easier to have a "Reset changes" button in the future.


Correctly set "PATH" environment variable for the sandboxed Python runner process

Previously, we didn't add "/bin" directory to the "$PATH" environment variable which is set for the sandboxed Python runner process.
This means that if the Python action tried to access a binary / script which was installed inside a virtual environment bin directory (e.g. ansible Python package installs ansible binary, etc.) or if they wanted to spawn a new python process, a default system version would be used instead of the one which is specific to the virtual environment.
Once this issue is resolved, workaround described at https://github.com/StackStorm/st2contrib/issues/273 won't be needed anymore.
@manasdk and I discussed this change and decided to skip inclusion in v0.13.0. This change needs a bit more testing so we can be sure it doesn't introduce some unexpected regression.

Very nice. This will also simplify many of the Ansible examples as well.
/cc @armab

+1
Will try out with openstack pack and report back today.

Tested - works.

I think we should include in 0.13

@manasdk Cool.
I'm fine with including it in v0.13.
In case something breaks we can always spin up a patch release and fix it. It's also worth nothing that if something does break, it relied on a ninvalid / broken behavior so it's a good idea to fix it anyway.

One of those geniusly simple solutions, which solves several problems at once :cake:


http://localhost:3001/api/getUser failed

Please i need your help....
how can I connect my github to the portfolio ??
FetchError: request to http://localhost:3001/api/getUser failed, reason: connect ECONNREFUSED <IP_ADDRESS>:3001

@mohamedebrahim96, you can run the decoupled API that I build for this project, here: https://github.com/sineto/snio.portfolio-api
Tell me if you have any problem, ok?  :+1:

really thanks for your replaying.
please i need documentation how to use this project portfolio-api with the snio.portfolio

Sure, @mohamedebrahim96! It's a quit simple. Once eu have both repositories on your local directory, you can run using the command yarn next. If you noticed, the snio.portfolio repository have a .env.local file with a API_HOST env variable. You can change it if you like. The Nextjs always run the server on :3000 port, but you can set another port with -p yarn flag. So:

Change the API_HOST value on .env.local file
And set the same port to -p yarn flag like yarn next -p 3001

The important thing about those is you have to set the same localhost port for both API_HOST env variable and Nextjs server. Sorry my english, but if you cannot understand me I can try to explaine this to you again.

Waiting for an answer. If you need help for this issue, please reopen it. Thanks!

WOW, Works like charm!
thanks alot for ur documentation

one last thing
how can I deploy two repo together on a server?
in other words:
how can make two repo works together?

@mohamedebrahim96, you can join the API to the front-end server just put the utils API directory on it. And then call the getData module inside pages/index.jsx like this:
/* snio.portfolio repository */

// pages/index.jsx
import getData from '../utils/getData';

export const getServerSideProps = async (context) => {
	// const request = await fetch(`${process.env.API_HOST}/api/getUser`);

        // call getData module instead of fetch api
        const { repositories } = await getData('username');
	return {
		props: {
			repositories
		}
	};
};

After do that, you can hosting the project on Vercel that builds Nextjs servers like magic. That's the simple way. The another way is up both repositories on separated servers on Vercel. And then when you are configuring the front-end server you can setting up Environment Variables, giving to API_HOST an url to the hosted API.
Let me know if need more help! Cheers

again Cheers!🥳🥳🔥
works like charm on vercel but heroku not working
https://mohamedebrahim96.vercel.app/
thank you so much

Awesome, @mohamedebrahim96! Enjoy!
ps.: sorry the Heroku thing... I don't give a try to host my portfolio there, so I can't help you on it. :/


Misleading type signature of UpdateFn

As specified in base.py, the UpdateFn should only take in two arguments: an RNG key and the previous state. However many samplers take in additional arguments. For example, sgld also takes a minibatch of data and a step size after the rng and state. Maybe let's add *args to the signature of UpdateFn.__call__?

not sure if adding *args to UpdateFn.__call__ works or will just force us to add # type: ignore[arg-type] to every use of SamplingAlgorithm (instead of just the ones that deviate from the two arguments you mentioned).
but you can try opening a PR with the change to see if it works @JGameCreation, and we can see from there.

I created a draft pull request but it doesn't seem to run any tests for some reason

I updated the setting so it the tests should run for you now.

Related to https://github.com/blackjax-devs/blackjax/issues/700


remove envs dependency from server index

The reason for that is the environment should probably be in api package because that's where the keys belong to.

The reason for that is the env vars should probably be in api package because that's where the keys belong to.

Yes, was going to say the same, I'm not comfortable it being in server exports 📦

@VandeurenGlenn Or even better, maybe we should put the .env file at the root of the project. so for example server can use the port, and api the keys, etc.

If we do that we should probably make a env package too :eyes:

@VandeurenGlenn check that https://github.com/VandeurenGlenn/blue_server/pull/12

Let's just close this branch, it's f*cked


Reading design information from GFF and GenBank files

Having the ability to use standard GFF/GenBank files would simplify the import of designs. It should be possible to set up a user-defined mapping of types and attributes.

A new function load_design_from_ff has been added. GenBank files are not directly supported as there are numerous tools to convert from GenBank to other formats such as GFF. This may be added at a future date.


[Feature Request] Some tiny features

Hi @alpertuna, thank you so much for this fantastic plugin!  I manually added file headers until I find this.
Just some tiny features that will make the experience better.

Jump to the last line automatically after inserting the headers.
In my function I wrote something like normal G + normal o, and that makes more convenient. So I can type i to edit directly, otherwise I have to type 'G' + 'o' +'Enter'...

Allow user to chose the path of the python
Although python2 will retire after 2020, this path #!/usr/bin/env python points to python2 for the most part. https://github.com/alpertuna/vim-header/blob/5a867acc89e7473a95953e26d1b8e79a3f77add3/autoload/header.vim#L105
In my option, this can be added permanently and canceled  after 2020 :sweat_smile:

How do you think that?

Sorry for late reply, I am a little busy.

You are right about jump issue and I will implement it as you say.
About python case, do you propose an option field for vimrc that sets python path?

@alpertuna Usually python path is /usr/bin, just change /usr/bin/env python to /usr/bin/env python3.
Does this work?

It is ok now


Add explicit sizes to each texture in the silt strider generator

This makes sure that the atlas generates correctly even when the sizes of the textures aren't all the same relative to each other as they are in the vanilla textures (e.g. if some of the textures used for the atlas are higher resolution textures, but not all).
This may or may not be an issue referenced by the README, as the way it's worded could also refer to textures whose width/height ratios have changed compared to vanilla:

If the new textures are different proportions than vanilla, the atlas may be generated incorrectly.

This MR is for the simple way of doing this, which is to add -resize commands to every input texture.
Note that I've tested it, but only using Wine on Linux, and while that should behave identically, I can't guarantee it.
Making things complicated
I don't think the simple way really scales well to every atlas in the project, as all the resizes make the generator scripts longer and harder to read, and the lack of inline arithmetic (as far as I can tell) makes it a bit messy. However I'm not sure what sort of improvement would be considered acceptable since it would significantly change the workflow for atlas generation, so I thought I'd also bring that up (the discussion can be moved to an issue if you'd prefer).
I spent some time playing around with a python script which takes a template file, instead of separate scripts per atlas. Note that the following is a mock-up, though I had a working generator for a slightly simpler (but flawed) template format.
The script can also handle things such as cleaning up temporary files automatically, creating parent directories, and setting the compression for dds files (which could even be user-configurable given that OpenMW may support BC7 in future).
E.g.
# Ratio of the atlas width, as a [width, height] tuple
# We could probably omit the height, since the script will apply the resize before any other commands
# such as rotation.
# The purpose of this is not to forcibly correct textures which have completely different aspect ratios
# than what was expected.
ratios:
- tx_siltstrider_skin_00.dds: [1, 1]
- tx_siltstrider_skin_01.dds: [1, 1]
- tx_siltstrider_skin_04.dds: [1/4, 1/2]
- tx_siltstrider_skin_07.dds: [1/4, 1/2]
- tx_siltstrider_skin_02.dds: [1/2, 1/2]
- tx_siltstrider_skin_03.dds: [1/2, 1/2]
- tx_siltstrider_stem_00.dds: [1/4, 1/8]
- tx_siltstrider_stem_01.dds: [1/4, 1/4]
- tx_siltstrider_skin_05.dds: [1/4, 1/8]
- tx_siltstrider_skin_06.dds: [1/4, 1/4]
- tx_siltstrider_skin_08.dds: [1/4, 1/4]
- tx_siltstrider_skin_09.dds: [1/4, 1/4]
- tx_siltstrider_skin_11.dds: [1/4, 1/4]
- tx_siltstrider_skin_12.dds: [1/4, 1/4]
- tx_siltstrider_skin_13.dds: [1/4, 1/4]
- tx_creature_duskyalit_09.dds: [1/2, 1/2]

commands:
- tx_siltstrider_skin_00.dds tx_siltstrider_skin_01.dds -append ATL/temp1.bmp
- tx_siltstrider_skin_04.dds tx_siltstrider_skin_04.dds -rotate 90 +append ATL/temp2.bmp
- tx_siltstrider_skin_07.dds tx_siltstrider_skin_07.dds -rotate 90 +append ATL/temp3.bmp
- tx_siltstrider_skin_02.dds tx_siltstrider_skin_03.dds +append ATL/temp4.bmp
- tx_siltstrider_stem_01.dds tx_siltstrider_stem_01.dds -append ATL/temp5.bmp
- ATL/temp5.bmp tx_siltstrider_stem_00.dds -layers merge -gravity north -append ATL/temp6.bmp
- tx_siltstrider_skin_09.dds tx_siltstrider_skin_12.dds -append ATL/temp7.bmp
- tx_siltstrider_skin_11.dds -rotate -90 +append ATL/temp8.bmp
- tx_siltstrider_skin_08.dds tx_siltstrider_skin_13.dds tx_siltstrider_skin_13.dds ATL/temp8.bmp -rotate 90 +append ATL/temp9.bmp
- tx_siltstrider_skin_05.dds tx_siltstrider_skin_05.dds -append ATL/temp10.bmp
- ATL/temp10.bmp ATL/temp10.bmp ATL/temp10.bmp tx_siltstrider_skin_06.dds +append ATL/temp11.bmp
- ATL/temp6.bmp ATL/temp7.bmp tx_creature_duskyalit_09.dds +append ATL/temp12.bmp
- ATL/temp1.bmp ATL/temp2.bmp ATL/temp3.bmp ATL/temp4.bmp ATL/temp12.bmp ATL/temp9.bmp ATL/temp11.bmp -append ATL/atlad_siltstrider.dds

I was thinking there are two decent options for the formatting:
One is to use something like yaml (above) and create a proper python package for the atlas generator tool (since we'd need at bare minimum to deal with the yaml library dependency).
The other (below) is to do do a simple line by line parser with headers and key-value pairs split on the equals sign, which would depend only on the python standard library and could be included as a single script. It would have some issues, such as there would be no easy way to split a command over multiple lines, and it would be more prone to breaking if the file names contain unusual characters.
[ratios]
tx_siltstrider_skin_00.dds = 1
tx_siltstrider_skin_01.dds = 1
...

[commands]
tx_siltstrider_skin_00.dds tx_siltstrider_skin_01.dds -append ATL/temp1.bmp
tx_siltstrider_skin_04.dds tx_siltstrider_skin_04.dds -rotate 90 +append ATL/temp2.bmp
...

This whole thing is indeed what that part of the readme is referring to. Overhauling the workflow of the BATs or reworking them in any way that works better is certainly welcome, the current scripts are pretty flawed and still have issues with compatibility. Basically, if you have any way to improve on the current stuff, please suggest it.
I'm not much of a programmer so some of this stuff is a bit over my head, ha. If I understand right and adding the yaml dependency would require a separate download and install, imo it would be best to go with the latter option so everything can be in the one download. As for unusual characters in file names, the BATs should only be grabbing vanilla files, which as far as I know don't contain any of those.

This whole thing is indeed what that part of the readme is referring to. Overhauling the workflow of the BATs or reworking them in any way that works better is certainly welcome, the current scripts are pretty flawed and still have issues with compatibility. Basically, if you have any way to improve on the current stuff, please suggest it. I'm not much of a programmer so some of this stuff is a bit over my head, ha.

If I understand right and adding the yaml dependency would require a separate download and install, imo it would be best to go with the latter option so everything can be in the one download.

That's more or less correct. It's worth noting that python itself could be a separate download, but it's relatively common anyway, so it's likely it's already installed. It might be possible to create a helper .bat script that does this without adding any new dependencies, but I'm not very familiar with .bat files, and using python will also make it cross-platform. Plus python has a

As for unusual characters in file names, the BATs should only be grabbing vanilla files, which as far as I know don't contain any of those.

Yes, I don't think it should be an issue, it's just something that occurred to me that would be missing compared to using an established data format.
There are already other projects like RR Better Meshes providing atlas generators in the style of Project Atlas, so I feel like this should be designed to at least be reasonably useful outside of Project Atlas itself. On the other hand, I realised that there's a way to handle parsing the ratios which should allow for files with =, though still not files beginning with # (which are treated as comments and ignored).


Use Keychain for Session Storage, Session Bug Fix

What does this PR Do?

Moves session storage away from UserDefaults and into the more secure Keychain.
Fixes a bug where, after signing out, the user and session variables still held the old data from before signing out.

Why?
The Keychain should be used to store user data such as refresh tokens, access tokens and emails. When this data is stored in UserDefaults it can be stolen quite easily by just reading the public plist file that UserDefaults creates. This can lead to bad actors stealing user tokens with ease and using that to steal private data. This is not good.
Storing this data in the Keychain is the safe alternative. GoTrueKeychain implements the necessary functions for storing and deleting session data from the Keychain, and GoTrueSessionManager manages migrating from UserDefaults to Keychain, and fetching and storing session data using the keychain wrapper.
The Keychain wrapper stores the session data in a service called "supabase.gotrue.swift" so as to separate the keys stored by supabase and the keys stored by the app's developer.
My Keychain implementation also allows for developers to set an accessGroup to store the session data in, which will allow developers to share auth state between the app and extensions such as widgets or Siri Shortcuts. By default the access group is not set and is stored in the default Keychain.

One thing that Supabase could implement that Firebase lacks on iOS is the ability to migrate from one keychain access group to another. Possibly with an API like: auth.migrateFrom(keychainGroup, to) but that can come later. This implementation does allow for flexibility like that in the future.

If this is ready I'd love to merge it!


[Autopilot] approval for rule pgbench/test1-pvc-ddeb72be-f422-4599-b05f-a836cb101c78 rule: test1

This is a request to approve an autopilot action. The request was triggered based on an AutopilotRule test1 defined in your cluster.
What actions will be taken
Action: resize

Params: map[scalepercentage:1]

ExpectedResult
PVC will resize from 10Gi to<PHONE_NUMBER>2
What objects will get affected

PersistentVolumeClaim pgbench/pgbench-data (pvc-ddeb72be-f422-4599-b05f-a836cb101c78)

Object Owner(s):

ReplicaSet pgbench-57f9d94764

How do I approve
Once you review the above,

To approve, simply approve and merge this PR
To declined, close the PR

Autopilot will be watching for the merged specs in the cluster and will proceed with the action if approved and declined the action if not.

[Autopilot] Closing PR as the approval pgbench/test1-pvc-ddeb72be-f422-4599-b05f-a836cb101c78 was deleted in the Kubernetes cluster. The deletion could be due to one of below reasons:

The object: pvc-ddeb72be-f422-4599-b05f-a836cb101c78 for the approval no longer exists in the cluster.
The rule conditions for the object: pvc-ddeb72be-f422-4599-b05f-a836cb101c78 are no longer met in the cluster.
The approval was deleted by a user..


Which version of Markdown is supported in Notebooks?

Which flavor of markdown is supported in ADS:

Common Mark
Github Markdown
Markdig
Something else?

I've noticed several incompatibilities in ADS Notebooks compared with Github Flavored Markdown and Common markdown.
For example, code blocks that specify a language.  e.g.
SELECT 42 AS TheAnswer

Here, in github this renders with the expected text colors.  In ADS, the colors are not used.

@chlafreniere this seems like a bug. In a standard markdown document the code block is colorized as expected. This indicates we're likely missing some CSS rules or other processing that makes this work.

@gbritton1 we're using the standard markdown parser used by VSCode elsewhere. I don't believe it supports Github markdown, but we can look to see if that can be extended. We should look at creating a separate issue to track that since this specific case it clearer.

Thanks!  BTW, is  the markdown supported by the standard md processor documented?  Or can we say that is is like CommonMark or something else?  There are some other things I thought would work but discovered otherwise.  It would be nice to have a handy reference to go to,

@chlafreniere can you help on this? I'm not as knowledgeable as you.

We used a markdown renderer from VS Code, which targets the CommonMark spec: https://code.visualstudio.com/docs/languages/markdown#_does-vs-code-support-github-flavored-markdown.
The caveat to this is that we don't share 100% of the same CSS, so it's possible that we see differences between the 2 products. We can take a look at any differences and try to understand where gaps exist.

I opened a new issue on this: https://github.com/microsoft/azuredatastudio/issues/7304


Confict example: make sure we take the other branch version

If we take same branch version then the git status is empty and this may be very weird.

Can you please elaborate this a bit

i think this refers to episode 10, where during conflict resolution one should pick the version of the other branch (that one is merging into current branch), since only then does git status show output (if one picks the current branch's version then there's nothing more to do)

Exactly.


cannon 2.11.24

Fix slow parsing errors
Includes the following fix: https://github.com/usecannon/cannon/pull/840/files

Closing in favor of #2094


Add build number as output variable

https://github.com/microsoft/azure-pipelines-tasks/issues/11784

@avivanoff That will need to wait until the agent is released. We will deploy agent first and then the task.

New PR - https://github.com/microsoft/azure-pipelines-tasks/pull/12545 - closing this one.


Update upgrade-json-fallback-to-2-from-1.topic

Added clarity for code to be updated

The current version of the documentation mentions namespace. You propose to explicitly specify a reference to a class. In this case, you will need to change the description to specify that it is a reference to a class and not a namespace. In this case, the idea of changing the namespace as such will be lost.
When writing the documentation, the reason why we mention namespace is because it can be contained in a "use" block as well as in a class reference.
use LaravelLang\JsonFallbackHotfix\TranslationServiceProvider; // that one

return [
    'providers' => [
        // ...
        TranslationServiceProvider::class,
    ]
];

return [
    'providers' => [
        // ...
        LaravelLang\JsonFallbackHotfix\TranslationServiceProvider::class, // that one
    ]
];

So I'm leaning towards leaving the current version of the documentation as the clearer one. But thanks for the suggestion.


Can't use environments from registry directly for model endpoint deployment.

Package Name: azure-ai-ml
Package Version: 1.12.0
Operating System: Ubuntu 22.04
Python Version: 3.11.2

Describe the bug
There is no way to use Environments from Registry which are workspace agnostic to deploy models without registering the same Environment to the workspace. Even registering an Environment from registry to a workspace isn't possible right now.
To Reproduce
Steps to reproduce the behavior:

Attach a KubernetesCompute to the workspace

Open Azure ML Studio

Open Models

Select a model and click deploy real-time (or batch)

Select Subscription and workspace

Select endpoint as new and give it a name.

Select compute as Kubernetes and click Next.

Keep default values for Model and Deployment sections and click Next to go to Code + Environment section.

Select custom environments and it'll only show environments from this workspace even though I have other environments registered in the global ML registry.

Expected behavior
When selected "Custom Environments" in Environment Type drop down, it should also include Environments from the global registry.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
If tried to achieve same thing using python SDK azure-ai-ml,
KubernetesOnlineDeployment(
   ...
   environment=ml_client_registry.environments.get(name=env_name, version=env_version),
   ...
)

It fails with ACRTokenExchangeFailed even though the workspace's identity has all the required role assignments on the Azure ML Registry.

Hi @alegend4u , thanks for your contact, we'll investigate ASAP.
@azureml-github Can anyone in ml team help on it?

Hi @banibrata ,
Here are the Steps to reproduce using SDK:

Make sure a KubernetesCompute is attached to the workspace.
Register an environment to the registry (not the workspace).
Here's the output of print(ml_client_registry.environments.get(name=model_environment_name, version=model_environment_version)):

creation_context:
  created_at: '2023-10-19T11:26:56.976309+00:00'
  created_by: Rishabh Prajapati
  created_by_type: User
  last_modified_at: '2023-10-19T11:26:56.976309+00:00'
  last_modified_by: Rishabh Prajapati
  last_modified_by_type: User
description: ''
id: azureml://registries/soroco-wgm-dev/environments/pytorch_transformers/versions/2
name: pytorch_transformers
os_type: linux
tags: {}
version: '2'

Register a model to the workspace. (Using model from registry doesn't work either. Refer #33598)
Create MLClient instances for workspace and registry.

ml_client_workspace = MLClient(
      DefaultAzureCredential(),
      subscription_id,
      resource_group,
      workspace_name,
      logging_enable=True,
  )

ml_client_registry = MLClient(
    credential=DefaultAzureCredential(),
    registry_name=registry_name,
    registry_location=registry_location,
    logging_enable=True,
)

Get environment from registry and model from workspace

environment = ml_client_registry.environments.get(name=model_environment_name, version=model_environment_version)
model = ml_client_workspace.models.get(name=model_name, version=model_version)

Create endpoint and deployment objects

endpoint = KubernetesOnlineEndpoint(
    name=endpoint_name,
    description=endpoint_description,
    compute=compute,
    auth_mode="key",
)
deployment = KubernetesOnlineDeployment(
    name=deployment_name,
    endpoint_name=endpoint_name,
    model=model.id,
    environment=environment.id,
    code_configuration=CodeConfiguration(
        code=str(model_script_path.parent), scoring_script=model_script_path.name
    ),
    instance_type=instance_type,
    instance_count=instance_count,
)

Create the endpoint and deployment.

ml_client_workspace.online_endpoints.begin_create_or_update(endpoint).result()
ml_client_workspace.online_deployments.begin_create_or_update(deployment).result()  # This raises.

The last statement above raises following exception with traceback:
---------------------------------------------------------------------------
OperationFailed                           Traceback (most recent call last)
File ~/miniconda3/envs/rishabh/lib/python3.11/site-packages/azure/core/polling/base_polling.py:757, in LROBasePolling.run(self)
    756 try:
--> 757     self._poll()
    759 except BadStatus as err:

File ~/miniconda3/envs/rishabh/lib/python3.11/site-packages/azure/core/polling/base_polling.py:789, in LROBasePolling._poll(self)
    788 if _failed(self.status()):
--> 789     raise OperationFailed("Operation failed or canceled")
    791 final_get_url = self._operation.get_final_get_url(self._pipeline_response)

OperationFailed: Operation failed or canceled

The above exception was the direct cause of the following exception:

HttpResponseError                         Traceback (most recent call last)
Cell In[38], line 1
----> 1 ml_client_workspace.online_deployments.begin_create_or_update(deployment).result()

File ~/miniconda3/envs/rishabh/lib/python3.11/site-packages/azure/core/polling/_poller.py:251, in LROPoller.result(self, timeout)
    242 def result(self, timeout: Optional[float] = None) -> PollingReturnType_co:
    243     """Return the result of the long running operation, or
    244     the result available after the specified timeout.
    245
   (...)
    249     :raises ~azure.core.exceptions.HttpResponseError: Server problem with the query.
    250     """
--> 251     self.wait(timeout)
    252     return self._polling_method.resource()

File ~/miniconda3/envs/rishabh/lib/python3.11/site-packages/azure/core/tracing/decorator.py:78, in distributed_trace.<locals>.decorator.<locals>.wrapper_use_tracer(*args, **kwargs)
     76 span_impl_type = settings.tracing_implementation()
     77 if span_impl_type is None:
---> 78     return func(*args, **kwargs)
     80 # Merge span is parameter is set, but only if no explicit parent are passed
     81 if merge_span and not passed_in_parent:

File ~/miniconda3/envs/rishabh/lib/python3.11/site-packages/azure/core/polling/_poller.py:270, in LROPoller.wait(self, timeout)
    266 self._thread.join(timeout=timeout)
    267 try:
    268     # Let's handle possible None in forgiveness here
    269     # https://github.com/python/mypy/issues/8165
--> 270     raise self._exception  # type: ignore
    271 except TypeError:  # Was None
    272     pass

File ~/miniconda3/envs/rishabh/lib/python3.11/site-packages/azure/core/polling/_poller.py:185, in LROPoller._start(self)
    181 """Start the long running operation.
    182 On completion, runs any callbacks.
    183 """
    184 try:
--> 185     self._polling_method.run()
    186 except AzureError as error:
    187     if not error.continuation_token:

File ~/miniconda3/envs/rishabh/lib/python3.11/site-packages/azure/core/polling/base_polling.py:772, in LROBasePolling.run(self)
    765     raise HttpResponseError(
    766         response=self._pipeline_response.http_response,
    767         message=str(err),
    768         error=err,
    769     ) from err
    771 except OperationFailed as err:
--> 772     raise HttpResponseError(response=self._pipeline_response.http_response, error=err) from err

HttpResponseError: (None) DeploymentIdentityError: Failed to create Kubernetes deployment identity, Reason:ACRTokenExchangeForbidden Details:Cluster exchange ACR token failed because AAD token is unauthorized. The role assignment takes some time, please wait a moment and try again. The identity is used to give access for user container, such as pull image from ACR. Please see troubleshooting guide, available here: https://aka.ms/amlarc-tsg
Code: None
Message: DeploymentIdentityError: Failed to create Kubernetes deployment identity, Reason:ACRTokenExchangeForbidden Details:Cluster exchange ACR token failed because AAD token is unauthorized. The role assignment takes some time, please wait a moment and try again. The identity is used to give access for user container, such as pull image from ACR. Please see troubleshooting guide, available here: https://aka.ms/amlarc-tsg
Exception Details:	(None) DeploymentIdentityError: Failed to create Kubernetes deployment identity, Reason:ACRTokenExchangeForbidden Details:Cluster exchange ACR token failed because AAD token is unauthorized. The role assignment takes some time, please wait a moment and try again. The identity is used to give access for user container, such as pull image from ACR. Please see troubleshooting guide, available here: https://aka.ms/amlarc-tsg
	Code: None
	Message: DeploymentIdentityError: Failed to create Kubernetes deployment identity, Reason:ACRTokenExchangeForbidden Details:Cluster exchange ACR token failed because AAD token is unauthorized. The role assignment takes some time, please wait a moment and try again. The identity is used to give access for user container, such as pull image from ACR. Please see troubleshooting guide, available here: https://aka.ms/amlarc-tsg

Please note that the UserAssigned identity that is assigned to workspace and the attached KubernetesCompute has following role assignments:

Hi @banibrata ,
Here are the Steps to reproduce using SDK:

Make sure a KubernetesCompute is attached to the workspace.
Register an environment to the registry (not the workspace).
Here's the output of print(ml_client_registry.environments.get(name=model_environment_name, version=model_environment_version)):

creation_context:
  created_at: '2023-10-19T11:26:56.976309+00:00'
  created_by: Rishabh Prajapati
  created_by_type: User
  last_modified_at: '2023-10-19T11:26:56.976309+00:00'
  last_modified_by: Rishabh Prajapati
  last_modified_by_type: User
description: ''
id: azureml://registries/soroco-wgm-dev/environments/pytorch_transformers/versions/2
name: pytorch_transformers
os_type: linux
tags: {}
version: '2'

Register a model to the workspace. (Using model from registry doesn't work either. Refer Can't deploy a model directly from AML registry to a workspace: InferenceContainerConfiguration.ServingContainer.Image: 'Image' must not be empty. #33598)
Create MLClient instances for workspace and registry.

ml_client_workspace = MLClient(
      DefaultAzureCredential(),
      subscription_id,
      resource_group,
      workspace_name,
      logging_enable=True,
  )

ml_client_registry = MLClient(
    credential=DefaultAzureCredential(),
    registry_name=registry_name,
    registry_location=registry_location,
    logging_enable=True,
)

Get environment from registry and model from workspace

environment = ml_client_registry.environments.get(name=model_environment_name, version=model_environment_version)
model = ml_client_workspace.models.get(name=model_name, version=model_version)

Create endpoint and deployment objects

endpoint = KubernetesOnlineEndpoint(
    name=endpoint_name,
    description=endpoint_description,
    compute=compute,
    auth_mode="key",
)
deployment = KubernetesOnlineDeployment(
    name=deployment_name,
    endpoint_name=endpoint_name,
    model=model.id,
    environment=environment.id,
    code_configuration=CodeConfiguration(
        code=str(model_script_path.parent), scoring_script=model_script_path.name
    ),
    instance_type=instance_type,
    instance_count=instance_count,
)

Create the endpoint and deployment.

ml_client_workspace.online_endpoints.begin_create_or_update(endpoint).result()
ml_client_workspace.online_deployments.begin_create_or_update(deployment).result()  # This raises.

The last statement above raises following exception with traceback:
---------------------------------------------------------------------------
OperationFailed                           Traceback (most recent call last)
File ~/miniconda3/envs/rishabh/lib/python3.11/site-packages/azure/core/polling/base_polling.py:757, in LROBasePolling.run(self)
    756 try:
--> 757     self._poll()
    759 except BadStatus as err:

File ~/miniconda3/envs/rishabh/lib/python3.11/site-packages/azure/core/polling/base_polling.py:789, in LROBasePolling._poll(self)
    788 if _failed(self.status()):
--> 789     raise OperationFailed("Operation failed or canceled")
    791 final_get_url = self._operation.get_final_get_url(self._pipeline_response)

OperationFailed: Operation failed or canceled

The above exception was the direct cause of the following exception:

HttpResponseError                         Traceback (most recent call last)
Cell In[38], line 1
----> 1 ml_client_workspace.online_deployments.begin_create_or_update(deployment).result()

File ~/miniconda3/envs/rishabh/lib/python3.11/site-packages/azure/core/polling/_poller.py:251, in LROPoller.result(self, timeout)
    242 def result(self, timeout: Optional[float] = None) -> PollingReturnType_co:
    243     """Return the result of the long running operation, or
    244     the result available after the specified timeout.
    245
   (...)
    249     :raises ~azure.core.exceptions.HttpResponseError: Server problem with the query.
    250     """
--> 251     self.wait(timeout)
    252     return self._polling_method.resource()

File ~/miniconda3/envs/rishabh/lib/python3.11/site-packages/azure/core/tracing/decorator.py:78, in distributed_trace.<locals>.decorator.<locals>.wrapper_use_tracer(*args, **kwargs)
     76 span_impl_type = settings.tracing_implementation()
     77 if span_impl_type is None:
---> 78     return func(*args, **kwargs)
     80 # Merge span is parameter is set, but only if no explicit parent are passed
     81 if merge_span and not passed_in_parent:

File ~/miniconda3/envs/rishabh/lib/python3.11/site-packages/azure/core/polling/_poller.py:270, in LROPoller.wait(self, timeout)
    266 self._thread.join(timeout=timeout)
    267 try:
    268     # Let's handle possible None in forgiveness here
    269     # https://github.com/python/mypy/issues/8165
--> 270     raise self._exception  # type: ignore
    271 except TypeError:  # Was None
    272     pass

File ~/miniconda3/envs/rishabh/lib/python3.11/site-packages/azure/core/polling/_poller.py:185, in LROPoller._start(self)
    181 """Start the long running operation.
    182 On completion, runs any callbacks.
    183 """
    184 try:
--> 185     self._polling_method.run()
    186 except AzureError as error:
    187     if not error.continuation_token:

File ~/miniconda3/envs/rishabh/lib/python3.11/site-packages/azure/core/polling/base_polling.py:772, in LROBasePolling.run(self)
    765     raise HttpResponseError(
    766         response=self._pipeline_response.http_response,
    767         message=str(err),
    768         error=err,
    769     ) from err
    771 except OperationFailed as err:
--> 772     raise HttpResponseError(response=self._pipeline_response.http_response, error=err) from err

HttpResponseError: (None) DeploymentIdentityError: Failed to create Kubernetes deployment identity, Reason:ACRTokenExchangeForbidden Details:Cluster exchange ACR token failed because AAD token is unauthorized. The role assignment takes some time, please wait a moment and try again. The identity is used to give access for user container, such as pull image from ACR. Please see troubleshooting guide, available here: https://aka.ms/amlarc-tsg
Code: None
Message: DeploymentIdentityError: Failed to create Kubernetes deployment identity, Reason:ACRTokenExchangeForbidden Details:Cluster exchange ACR token failed because AAD token is unauthorized. The role assignment takes some time, please wait a moment and try again. The identity is used to give access for user container, such as pull image from ACR. Please see troubleshooting guide, available here: https://aka.ms/amlarc-tsg
Exception Details:	(None) DeploymentIdentityError: Failed to create Kubernetes deployment identity, Reason:ACRTokenExchangeForbidden Details:Cluster exchange ACR token failed because AAD token is unauthorized. The role assignment takes some time, please wait a moment and try again. The identity is used to give access for user container, such as pull image from ACR. Please see troubleshooting guide, available here: https://aka.ms/amlarc-tsg
	Code: None
	Message: DeploymentIdentityError: Failed to create Kubernetes deployment identity, Reason:ACRTokenExchangeForbidden Details:Cluster exchange ACR token failed because AAD token is unauthorized. The role assignment takes some time, please wait a moment and try again. The identity is used to give access for user container, such as pull image from ACR. Please see troubleshooting guide, available here: https://aka.ms/amlarc-tsg

Please note that the UserAssigned identity that is assigned to workspace and the attached KubernetesCompute has following role assignments:

Hi @alegend4u , have you granted the environment's ACR ACRPull role to the online endpoint's identity? If it still failed, could you provide the subscription, resource group, workspace, endpoint name?
https://learn.microsoft.com/en-us/azure/machine-learning/how-to-access-resources-from-endpoints-managed-identities?view=azureml-api-2&tabs=system-identity-cli#give-access-permission-to-the-managed-identity

Hi @alegend4u , have you granted the environment's ACR ACRPull role to the online endpoint's identity? If it still failed, could you provide the subscription, resource group, workspace, endpoint name?
https://learn.microsoft.com/en-us/azure/machine-learning/how-to-access-resources-from-endpoints-managed-identities?view=azureml-api-2&tabs=system-identity-cli#give-access-permission-to-the-managed-identity

@yuyue9284, the endpoint is able to fetch environments images if the selected environment is registered in the workspace. Meaning it has required permissions to access workspace's own ACR.
However, the issue arises when the selected environment for endpoint is from Azure Machine Learning Registry (which is workspace agnostic). Also refer the step 2 in "Steps to Reproduce", the id of the environment says azureml://registries/<registry_name>/environments/<env_name>/versions/2.
Now as shown in the screenshot (which lists the role assignments of the managed identity assigned to the workspace and KubernetesCompute attached to it), the managed identity has role Contributor role assigned to the Azure Machine Learning Registry. Still, it's raising the error.
One more thing I've observed: In the resource overview page of Azure Machine Learning Registry, there's an attribute named managed resource group which contains a Storage Account and an ACR. The managed resource group's Access Control section has Deny Assignments set as below:

This means that I can't assign ACRPull role on that managed resource group's ACR to that managed identity.

Hi @alegend4u , have you granted the environment's ACR ACRPull role to the online endpoint's identity? If it still failed, could you provide the subscription, resource group, workspace, endpoint name?
https://learn.microsoft.com/en-us/azure/machine-learning/how-to-access-resources-from-endpoints-managed-identities?view=azureml-api-2&tabs=system-identity-cli#give-access-permission-to-the-managed-identity

@yuyue9284, the endpoint is able to fetch environments images if the selected environment is registered in the workspace. Meaning it has required permissions to access workspace's own ACR.
However, the issue arises when the selected environment for endpoint is from Azure Machine Learning Registry (which is workspace agnostic). Also refer the step 2 in "Steps to Reproduce", the id of the environment says azureml://registries/<registry_name>/environments/<env_name>/versions/2.
Now as shown in the screenshot (which lists the role assignments of the managed identity assigned to the workspace and KubernetesCompute attached to it), the managed identity has role Contributor role assigned to the Azure Machine Learning Registry. Still, it's raising the error.
One more thing I've observed: In the resource overview page of Azure Machine Learning Registry, there's an attribute named managed resource group which contains a Storage Account and an ACR. The managed resource group's Access Control section has Deny Assignments set as below:
This means that I can't assign ACRPull role on that managed resource group's ACR to that managed identity.

Hi @alegend4u, registry is not supported for compute type: kubernetes,  if you are using the CLI v2 it should return the error message state that it is not supported explicitly, sorry for the confusion.

Thanks for letting me know.
Currently, I have a workaround that is about downloading the weights from the registry to local and then registering to the workspace.
ml_client_registry.models.download(
    name=model_name, version=model_version, download_path=download_path
)
ml_client_workspace.models.create_or_update(
    Model(name=model_name, version=model_version, path=Path(download_path) / model_name / model_name)
)

But this is a bit tedious.
Just like we have a way to share model (source):
# share the model from the registry to workspace
ml_client.models.share(name="nyc-taxi-model", version=1, registry_name=<registry_name>, share_with_name=<new-name>, share_with_version=<new-version>)

Do we have a way to share an environment/model from a registry to a workspace directly?
If not, is there any roadmap planned for this feature?

Thanks for letting me know. Currently, I have a workaround that is about downloading the weights from the registry to local and then registering to the workspace.
ml_client_registry.models.download(
    name=model_name, version=model_version, download_path=download_path
)
ml_client_workspace.models.create_or_update(
    Model(name=model_name, version=model_version, path=Path(download_path) / model_name / model_name)
)

But this is a bit tedious.
Just like we have a way to share model (source):
# share the model from the registry to workspace
ml_client.models.share(name="nyc-taxi-model", version=1, registry_name=<registry_name>, share_with_name=<new-name>, share_with_version=<new-version>)

Do we have a way to share an environment/model from a registry to a workspace directly? If not, is there any roadmap planned for this feature?

Currently there is no plan to support registry.


Pass Typed.List to get_matching_indices

In the future, support of the use of list will be deprecated in numba. See Deprecation of reflection for List and Set types.
get_matching_indices and remap_genotypes should be updated accordingly.

Not doing this because I'll disable numba during testing instead. See #124

No, oops, I forgot. This is a separate issue about future deprecation.


Update 3 devices to conventions

Updates 3 tuya devices which I have to current HA/ tuya-local conventions.

Merged the changes that do not cause backward compatibility issues.


HV fails to subvert in UEFI mode on Intel i9 13900k

Hi, this is a new github account, although I have worked closely with you before a few years ago over email regarding. I built an introspection engine for detecting bootkits with MiniVisorPkg back when it was first released.
I just upgraded to an i9 13900k from an i7 10900k and it doesn't seem to work. I'll investigate, but I'm leaving this here so if anyone else has this issue in the future, we can provide a solution.
Fails out at in HandleHostException seemingly during the execution of EnableHypervisor on all cores. InterruptNumber 0x6C (undocumented, reserved as far as I can tell) and error code 0x0. Note that at this stage, cr2 is 0. I believe that should be expected though at this phase of subverting the cores.

I cannot test serial, as this is a new build and i don't have a serial card yet. Will get one in for testing soon. VMWare same version of Win10 works fine, as does testing the same version on my i9 build. The only difference in this build is CPU change.

I updated ia32. @tandasat you might want to start the transition to new ia32 (I think MV is back in 2018 in terms of that). I'd be happy to contribute my update to ia32 Dec 2022.
That + disabling e-cores (only subvert p-cores) solves the problem. In the future I'd like to not have to hurt my CPU by 50% performance to subvert, so I'll come up w a solution eventually for dealing with e-cores.

@spectra-analytics are you referring to ia32-doc headers? If so, I am happy to update the headers. Please consider making a PR against https://github.com/ia32-doc.
HandleHostException getting 0x6c is interesting. IIRC, I have seen 0x6c before and guessed it might be a UEFI thing, though did not take a deeper look.  Are you sure that it is received in HandleHostException over, say UEFI's exception handler? The host should run with interrupt disabled, so I do not see why HandleHostException would receive an interrupt. Where does rip point to?


WIP: Chunked cube imaging

This PR adds a handler to split the imaging of cubes into smaller chunks (e.g., image individual channels). It's meant primarily for imaging really large data cubes that either hit memory limits on normal machines or take a very long time to run (>1 week). While it could be run on a single machine, I'm writing the new handler with distributed computing in mind, where a "chunk" of a cube is imaged as a single job on the cluster.

[ ] Alter the clean call creation to understand/create sub-clean jobs based on N number of chunks
[x] Task to split MS by chunks
[x] Task to initialized per chunk clean calls
[ ] Task to setup and split SD data for SDintimaging
[x] Task for dirty imaging
[x] Task for MS imaging
[x] Task for SS masking
[x] Task for SS imaging
[x] Task for gathering chunks into a cube
[x] Task for splitting intermediate products from a cube to chunks
[ ] Task to split user clean masks per chunk
[x] Task to (optionally) export chunks to FITS
[ ] Double-check link ups to various SDintimaging code (names, alternate handling, etc)

Tests:

[ ] Local small cube test for consistency split by different chunk sizes
[ ] Small cube test of normal vs. chunked imaging for consistency
[ ] Full test with 1 chunk as test for job submission on a cluster
[ ] Full test run with SDintimaging

I've resurrected this long-standing PR based on the newly released CASA Memo 13 led by @Kitchi which demonstrates (among other things) that there is no performance gain in splitting channel to independent MSs for parallelized tclean runs.
This avoids several difficulties in tracking and producing an additional set of MSs (for which I was running into an apparent bug that ended up being nearly impossible to reproduce where MS metadata would lead the last channel in an image to be flagged).
The current version in this PR implements a separate image handling/execution class ImagingChunkedHandler that reproduces the PHANGS imaging recipe in sub-cubes. However, it will not work for separately imaging each channel as this breaks the noise and masking routines.

See benchmarking scripts here: https://github.com/Kitchi/cube_parallelization_benchmarking

Basic functionality is working based on a local test.
A few to-dos remain above but this is minimally working in its current form.

Pinged for a few reviews while I finish the last checks. Thanks to anyone who has time to look through!

Ok, this can be merged in its current form to make initial testing easier. Non of the changed here should alter the normal pipeline steps.
There's now a couple examples of deploying chunked imaging and individual targets to a cluster to run in parallel (as we're definitely going to increasingly hit cases where this makes imaging easier).
The remaining steps to be addressed in an upcoming PR are:

Ensuring clean masks are appropriately split to match the chunked imaging jobs
Finish connecting the additional steps to use SDIntimaging with the chunked imaging handler


Git Integration & Python

Describe what did you try to do with TM1py
I have a client wanting to use Git for their SDLC with PA.  I see there is Git integration in TM1PY, but have not implemented this functionality yet.  Are there some samples or documentation that I can use to get up to speed on the Git usage?  I eventually want to write a Python script for the client to use.
Describe what's not working the way you expect
There is nothing inherently not working, I just have a knowledge gap on using the Git functionality of TM1PY.  Need guidance
Version

TM1py 1.6.2]
TM1 Server Version: <IP_ADDRESS>

Additional context
There also seems to be a line missing from the "__init__.py" in the Services namespace.  I added
from TM1py.Services.GitService import GitService

to my local copy to be able to enable the Git intellisense:
from TM1py.Services import TM1Service

with TM1Service(**config[instance_name]) as tm1:
    tm1.git.git_init()

IMHO so far the best description of the git integration comes from @ykud.
https://www.ykud.com/blog/cognos/tm1-cognos/git-integration-for-tm1-part-1/
https://www.ykud.com/blog/cognos/tm1-cognos/git-integration-for-tm1-part-2/
The official ibm documentation is filled with wrong samples and useless descriptions.
https://www.ibm.com/support/knowledgecenter/SSD29G_2.0.0/com.ibm.swg.ba.cognos.tm1_rest_api.2.0.0.doc/tm1_md/tm1-source-specification.html#tm1-project

Thanks Christoph, that was what I needed,


Configure STS to use us-east-1 regional endpoint

On the driver side, we have set the AWS_STS_REGIONAL_ENDPOINTS environment variable to "regional". Per the documentation, this will automatically infer the correct STS regional endpoint based on the configured AWS region. While we do set AWS_REGION in the CDK, also setting the region explicitly will ensure we always use a regional endpoint instead of the global STS endpoint.
As a reminder, we are interested in only using STS regional endpoints as it will allow us to have better latency and request higher TPS limits.
Testing

Tested locally with the AWS_STS_REGIONAL_ENDPOINTS environment variable set to "regional" and can confirm the correct regional endpoint is being hit depending on the region passed into boto3.client().

@raghumdani description has been updated 👍


folderNameOfTrash should consider hierarchical trash

If the trash folder is placed in a hierachy, the upmost directory will be set as folderNameOfTrash effectively making it the Trash. This is caused in folderFromResponse

In ICEndpoint>>folderFromResponse: the folder name for Trash is always the first member of the folderPath array.
If we have a trash folder below Inbox called Inbox.Trash e.g., currently we only take the first member Inbox.
See this loc:
(responseLine includesSubstring: '\Trash') ifTrue: [self folderNameOfTrash: folderPath first].
The idea of simply using ICEndpointFolder>>folderPath which holds Inbox.Trash in the example did not work, because on many sites we get protocol errors. It seems to be more complicated than that.


[Fix #60] Add new cop Minitest/GlobalExpectations

To check against deprecated global expectations. These will be removed in Minitest 6.
Closes #60

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run bundle exec rake default. It executes all tests and RuboCop for itself, and generates the documentation.

Thanks!


Name it properly!

test-stack/webdriver is just boring and especially "webdriver" doesn't say anything about the fact, that this will be whole new environment, not just some another webdriver for selenium.

I vote "Harrnes" because: https://en.wikipedia.org/wiki/Test_harness by ISTQB is test framework => in czech language postroj and in english is't harness

:+1: for "harness", let's change it!

done


Release taskcat [0.9.4]

18f9095 Bump Version - Creating a new minor version
52e0732 travis config updated prod release  based on tags
0434cde Update date css for docs
7f4d80d Bump Version - Creating a new minor version
38a2e10 Adjusting travis regex for prod release
65e2d44 Update date css for docs
9c798ea Bump Version - Creating a new minor version
5ab4f5b Throwing an exception if a parameter value is None. Fixes #391
7f1c33b Update e2e tests to check for default lambda source folder
77d7116 Ignore files created in legacy unit tests
7e85ded Update unit tests to check for source in default path
93ee0fa Update tests data to use default lambda_fuctions dir
09b13c9 Update package command default to look in project-root/lambda_functions
04bc0bf Increase timeout for taskcat version check - Set timeout 5 seconds
92b7b4d fix typo

Codecov Report

Merging #401 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #401      +/-   ##
==========================================
- Coverage   73.53%   73.49%   -0.04%
==========================================
  Files          30       30
  Lines        2724     2724
  Branches      464      464
==========================================
- Hits         2003     2002       -1
  Misses        611      611
- Partials      110      111       +1

Impacted Files
Coverage Δ

taskcat/_lambda_build.py
85.24% <0%> (-1.64%)
:arrow_down:

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 5500f07...18f9095. Read the comment docs.


Payments - Growl has incorrect message when removing a paypal account

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Navigate to payments
Add a Paypal.me
Click on Paypal option
Delete the Paypal.me and save the changes.

Expected Result:
There's a growl saying that the account was successfully removed.
Actual Result:
There's a growl saying that the account was successfully added.
Workaround:
N/A, visual issue.
Platform:

Where is this issue occurring?

Web
iOS
Android
Desktop App
Mobile Web

Version Number: 1.1.0
Reproducible in staging?: yes
Reproducible in production?: yes
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

Expensify/Expensify Issue URL:
Issue reported by: @Santhosh-Sellavel
Slack conversation: https://expensify.slack.com/archives/C01GTK53T8Q/p1632167193470100
View all open jobs on GitHub

Triggered auto assignment to @stitesExpensify (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

I personally think this is a non-issue that will be fixed by a combo of https://github.com/Expensify/App/issues/5418 (which will not let you edit your paypal anymore) and https://github.com/Expensify/Expensify/issues/169126 (which will let you delete your paypal with a button rather than by just emptying it out)

@stitesExpensify we can edit by just tapping on already added paypal method (Without using add payment method)

Delete button is best fix here for removal, was the internal issue created already?

Yep! I've got a WIP PR at the moment


Fixed race condition in OwinHandler.cs

It seems to be a race condition in websocket handling. This fix just uses TrySetCanceled() instead of SetCanceled().
UnhandledException System.InvalidOperationException: An attempt was made to transition a task to a final state when it had already completed.\n  at System.Threading.Tasks.TaskCompletionSource`1[TResult].SetCanceled () [0x00015] in <94fd79a3b7144c54b4cb162b50fc7761>:0 \n  at Nowin.OwinHandler.FinishReceiveData (System.Boolean success) [0x0001d] in <6ac31060d0b54aa987e5b546abb289cb>:0 \n  at Nowin.Transport2HttpHandler.FinishReceive (System.Byte[] buffer, System.Int32 offset, System.Int32 length) [0x00066] in <6ac31060d0b54aa987e5b546abb289cb>:0 \n  at Nowin.SaeaLayerCallback.ProcessReceive () [0x00067] in <6ac31060d0b54aa987e5b546abb289cb>:0 \n  at Nowin.SaeaLayerCallback.IoCompleted (System.Object sender, System.Net.Sockets.SocketAsyncEventArgs e) [0x00049] in <6ac31060d0b54aa987e5b546abb289cb>:0 \n  at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs e) [0x00014] in :0 \n  at System.Net.Sockets.SocketAsyncEventArgs.Complete () [0x00000] in :0 \n  at System.Net.Sockets.Socket.m__7 (System.IAsyncResult ares) [0x00068] in :0 \n  at System.Net.Sockets.SocketAsyncResult+c__AnonStorey0.<>m__0 (System.Object _) [0x00000] in :0 \n  at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem () [0x00019] in <94fd79a3b7144c54b4cb162b50fc7761>:0 \n  at System.Threading.ThreadPoolWorkQueue.Dispatch () [0x00096] in <94fd79a3b7144c54b4cb162b50fc7761>:0 \n  at System.Threading._ThreadPoolWaitCallback.PerformWaitCallback () [0x00000] in <94fd79a3b7144c54b4cb162b50fc7761>:0 "

Thanks!


ISLE: Polish reference

Basically just typo fixing and more succinct wording, without any intent to change the original meaning.

Couldn't seem to find the spec for decl multi in the reference. Is it forgotten or like TBD?


Update README.md

Added --depth 1 to git clone command.
Example:
$ git clone https://github.com/andreyvit/create-dmg.git --depth 1
Cloning into 'create-dmg'...
remote: Enumerating objects: 12, done.
remote: Counting objects: 100% (12/12), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 12 (delta 1), reused 7 (delta 0), pack-reused 0
Unpacking objects: 100% (12/12), done.

Maybe would be better to point to the Releases in this case?

It is an option, but the whole release will need to update the Readme.
Maybe create a tag called latest? And this tag should always point to the most recent Release.

I meant the Releases section (https://github.com/andreyvit/create-dmg/releases), so the user can download the final release (without any extra depth) or clone the repository.


Button Delegate Error

In InterfaceController.m there is following error:
Overlapping accesses to 'buttonDelegate', but modification requires exclusive access; consider copying to a local variable

I think this is fixed in 1.1.1, is it not?


[New Widget] Table Widget

WHY
Why not?

How to use
Widget::make([
    'type'        => 'table',
    'wrapperClass' => 'col-md-6',
    //'height' => '550px',
    'class' => 'table table-hover',
    'content' => [
        'header' => 'Sales Report 2024',
        'thead' => ['Month', 'Sales', 'Expenses', 'Net Income'],
        'tbody' => [
            ['January 2024', '$100,000', '$50,000', '$50,000'],
            ['February 2024', [
                'value' => '120,000',
                'prefix' => '$',
                'suffix' => '*',
                'limit' => 10,
                'wrapper' => [
                    'element' => 'a',
                    'class' => 'text-success fw-bold',
                    'href' => url('something'),
                    'target' => '_blank',
                    'title' => 'Send a new email to this user',
                ]
            ], '$60,000', '$60,000'],
            ['March 2024', '$130,000', '$70,000', '$60,000'],
            ['April 2024', '$140,000', '$80,000', '$60,000'],
            ['May 2024', '$150,000', '$90,000', '$60,000'],
            ['June 2024', '$160,000', '$100,000', '$60,000'],
            ['July 2024', '$170,000', '$110,000', '$60,000'],
            ['August 2024', '$180,000', '$120,000', '$60,000'],
            ['September 2024', '$190,000', '$130,000', '$60,000'],
            ['October 2024', '$200,000', '$140,000', '$60,000'],
            ['November 2024', '$210,000', '$150,000', '$60,000'],
            ['December 2024', '$220,000', '$160,000', '$60,000'],
        ],
        'tfoot' => ['Month', 'Sales', 'Expenses', 'Net Income'],
    ],
])->onlyHere()

looks great! does the table widget support actions & pagination?

Hey @ziming
Sorry, It's a simple table widget. One can set up link buttons using the wrapper for now.
When I submitted this PR, I was building reports using widgets in one of my projects and i needed a static table.
When I showed this small PR to the Backpack team. They told me the same as you asked... They said, People will ask for pagination & actions. 😀
Let's see how it goes.


Automate ndk build

ndk build need to be run separately, let's make it part of meson

:octocat: cibot: Thank you for posting issue #784. The person in charge will reply soon.

#785 resolves this


Apply soft-transition to devtools for ClipboardStatusNotifier change

The https://github.com/flutter/flutter/commit/c74a646b7bba1641d0b2b29f6024dc867844e94c breaks devtools
devtools_app/lib/src/debugger/variables.dart

170: Widget buildToolbar(                                                  'VariableSelectionControls.buildToolbar' ('Widget*
                                                                           Function(BuildContext*, Rect*, double*, Offset*,
                                                                           List<TextSelectionPoint*>*, TextSelectionDelegate*,
                                                                           ClipboardStatusNotifier*, Offset*)*') isn't a valid override of
                                                                           'MaterialTextSelectionControls.buildToolbar' ('Widget
                                                                           Function(BuildContext, Rect, double, Offset,
                                                                           List<TextSelectionPoint>, TextSelectionDelegate,
                                                                           ValueListenable<ClipboardStatus>?, Offset?)'). #invalid_override

188: canCut(delegate) ? () => handleCut(delegate, clipboardStatus) : null, Too many positional arguments: 1 expected, but 2 found.
                                                                           #extra_positional_arguments

190: ? () => handleCopy(delegate, clipboardStatus)                         Too many positional arguments: 1 expected, but 2 found.
                                                                           #extra_positional_arguments

272: if (!widget.clipboardStatus.disposed) {                               The getter 'disposed' isn't defined for the type
                                                                           'ClipboardStatusNotifier'. #undefined_getter

We need to do a soft transition instead

Reland merged, next step:

wait for a beta release
pin devtool to that beta version and apply migrations
clean up the todos in the ClipboardStatusNofifier and TextSelectionControls

change reverted

Quick question about this ticket: This is just about the status if the access to the clipboard is possible right?
I was looking for a solution to observe clipboard changes.

@rekire You can create a ClipboardStatusNotifier and call update to get the latest status, It can only do polling.

@chunhtai This was already fixed, right?


Create FindTheLongestPath sample

This one will be similar to finding the shortest path, but still useful as example.

Move this issue to https://github.com/Kemsekov/GraphSharp.Samples


request: mapping in geom_* and stat_*

The geom_ and stat_ functions should support specific mapping arguments.
For example, I don't see how I can make a plot that shows color-coded points as well as a single regression or trend line (stat_smooth) (rather than one for each color).

I face the same restrictions. Making the data= parameter work would also help. Currently it seems impossible to overlay multiple plots.

I made myself a workaround:
Added this definition to geom.py:
    def _update_data(self, data, _aes):
        if 'mapping' in self.params:
            _aes = self.params['mapping']
        if 'data' in self.params:
            data = self.params['data']
        return (data, _aes)

and then at the beginning of def plot(self, ax, data, _aes): for geometry of choice (in my case geom_line.py):
(data, _aes) = self._update_data(data, _aes)

I have no idea what that might break or not, because I didn't really understand some of the code:
For example why in in def _get_plot_args(self, data, _aes): the data is first put into mpl_params just to be removed from it again later

This just might work. I will run the tests and see what happens!
@schmeing can you submit a PR?

Did break the aes evaluations like 'x+1'
Pushed a fix

merged and on master

released in 0.11


Pacbot installation created too many instances

❔ Question
Is it normal for pacbot installation to create so many instances? I checked the autoscalling group created by pacbot and saw that it has a desired number instances set to 28 and max instances set to 28. Am I missing something?

The instances spawn up because batch jobs might be running. There are 105 Cloudwatch rules which trigger the batch jobs. These jobs are designed to pull data from AWS services and put in Elasticsearch. PacBot application pulls data from this ElasticSearch data.


Add server and socket constructors receiving a Socket::Address

Currently, to create a TCPSocket connecting to a Socket::IPAddress, you have to access host and port properties and pass them in as separate arguments:
address = Socket::IPAddress.new("localhost", 12345)
TCPSocket.new(address.address, address.port)

with this PR, the socket address can be used as a constructor argument directly:
address = Socket::IPAddress.new("localhost", 12345)
TCPSocket.new(address)

Overloads have been added for:

TCPServer.new
TCPServer.open
TCPSocket.new
TCPSocket.open

And with Socket::UNIXAddress:

UNIXServer.new
UNIXServer.open
UNIXSocket.new
UNIXSocket.open

UDPSocket#bind and UDPSocket#connect already have overloads accepting a Socket::IPAddress.

From my perspective it helps avoid duplicating address.address, address.port in constructors for TCP sockets. If nothing else, this is just a missing piece that completes the API: Socket classes already return Socket::Address from #local_address and #remote_address, so it makes sense to also use this type to create a socket. It is the natural data type to describe a socket address, the string (+ int) overloads are essentially just short cuts to avoid having to create a IPAddress/UNIXAddress manually when creating a socket.
If it would be preferable to always use host+port/path individually, why does Socket::Address exists anyway? The socket methods could also return a tuple and we'd just need a converter method from LibC address pointer.
I don't think that would make any sense and I like having the address type, although it is probably not used that much. But if this type exists, you should be able to use it to create a socket.

Closing stale PR.


Camel YAML DSL doesn't have default value false for boolean fields

Describe the Bug
In the Camel Catalog, boolean fields have defaultValue: false, this is not present on the Camel YAML DSL.
Steps to Reproduce the Bug or Issue
Check any EIP from the Camel YAML DSL
Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 0.30.0]

It's possible this needs to be addressed in the Camel YAML DSL schema directly

Please @igarashitm, when you have time, could you take a quick look?

It could be just a matter of
diff --git a/core/camel-core-model/src/main/java/org/apache/camel/model/ProcessorDefinition.java b/core/camel-core-model/src/main/java/org/apache/camel/model/ProcessorDefinition.java
index 156de5bda88..317390122a4 100644
--- a/core/camel-core-model/src/main/java/org/apache/camel/model/ProcessorDefinition.java
+++ b/core/camel-core-model/src/main/java/org/apache/camel/model/ProcessorDefinition.java
@@ -83,7 +83,7 @@ public abstract class ProcessorDefinition<Type extends ProcessorDefinition<Type>
     @XmlTransient
     private static final AtomicInteger COUNTER = new AtomicInteger();
     @XmlAttribute
-    @Metadata(label = "advanced", javaType = "java.lang.Boolean")
+    @Metadata(label = "advanced", javaType = "java.lang.Boolean", defaultValue = "false")
     protected String disabled;
     @XmlAttribute
     protected Boolean inheritErrorHandler;


module not found

On a CCU3 in the Palette-view I get the message "module not found".
When deploying, I get the message "flows stopped as nodes not found" (similar, but not exactly).
How can I find out what is missing and solve the issue?

anyone hat home?

are you paying me for my work and for it to solve your problems? obviously not...
you join by my telegram group asking for help and I replied. you left without leaving feedback, so I'm closing the issue here

I didn't want to hijack the telegram group. Therefore I only used it to get in touch with you.
If I remeber correct, you told you will answer on github. By this I assumed a) the reply you gave on TELEGRAM would be repeated on this github issue and b) any further discussion would take place here!
So, from my point of view, no reason to get angry!

Hi William,
I don't know if it is okay to comment here or open a new issue for the same problem.
I have the same problem on two different machines (ubuntu and raspberry) both running Node-RED 3.0.2.
I am available for any testing you deem appropriate.
Thanks in advance
Carlo

I've altro tried to upgrade to Node-RED 3.1.0 with non success.


Numbers should be permitted as property name in object literal

Related issue: https://github.com/Samsung/jerryscript/issues/1282
Binary size doesn't change. (at least for linux/release build)

LGTM

LGTM

Could you rebase this to the current master? After landing, please rebase another one where you have two LGTMs.


[INSTALLER] .htacess dynamic

Try to generate the .htaccess dynamic when the user installs bludit.
Auto-generate RewriteBase with the proper directory.

Done, on v2.3 beta 2