Run metric_depth/evaluate.py in a single image

Does any one know how to evaluate a single image's depth instead of a dataset.

At this time this would require creating a "custom dataset" and editing various configs. You should be able to use the "pointcloud.py" and "evaluate.py" to create custom code setup do this. I was able to load a custom dataset this way, and even single images by modifying the process_images() in pountcloud.py. However, I wasn't able to get a close metric depth using this method when I tried to load the model with Zoedepth encoder. So your results may vary.
Note: If you can figure out if what you get is close to the absolute depth close as to what would be in the labels. Please let me know, I had issues with getting it myself, and am unsure why... I know I had some issues with different layers, and tensor stuff like '[0]', and went through multiple variations of the process_images code below.
The "Infer()" from evaluate.py will be needed.
This is how my main function looks for loading the checkpoint. I kept the settings from pointcloud.py
but had to change the "INPUT_DIR" and "OUTPUT_DIR" data/myfiles
main
`if name == 'main':
parser = argparse.ArgumentParser()
parser.add_argument("-m", "--model", type=str, default='zoedepth', help="Name of the model to test")
print(os.getcwd())
parser.add_argument("-p", "--pretrained_resource", type=str, default='local::../checkpoints/depth_anything_metric_depth_indoor.pt', help="Pretrained resource to use for fetching weights.")
args = parser.parse_args()
main(args.model, args.pretrained_resource)`

Process_images()
'def process_images(model):
if not os.path.exists(OUTPUT_DIR):
os.makedirs(OUTPUT_DIR)
image_paths = glob.glob(os.path.join(INPUT_DIR, '*.png')) + glob.glob(os.path.join(INPUT_DIR, '*.jpg')) + glob.glob(os.path.join(INPUT_DIR, '*.JPEG'))
for image_path in tqdm(image_paths, desc="Processing Images"):
    try:
        # Note: Loading a bunch of images may not be needed, just append values
        # to a list and print the values, and the final value.

        #perform yolov8 calculation of image.

        #perform inferences based on evaluate.py that uses zoedepth.
        #open image
        color_image = Image.open(image_path).convert('RGB')

        ## perform  transforms
        image_tensor = transforms.ToTensor()(color_image).unsqueeze(0).to('cuda' if torch.cuda.is_available() else 'cpu')

        # Perform inference
        pred = infer(model, image_tensor, dataset=DATASET)

        #convert image from tensor for visualization and saving
        pred =  colorize(pred.squeeze().cpu().numpy(),0,10)

        Image.fromarray(pred).save(os.path.join(OUTPUT_DIR,  os.path.splitext(os.path.basename(image_path))[0] + "_pred.png"))

    except Exception as e:
        print(f"Error processing {image_path}: {e}")'

Good luck!


Feature/recursive equivalents coverage

Description
A cache for maintaining the Recursive Equivalents of identifiers in the system.
Motivation and Context
Currently the recursives are re-computed everytime they are required. Which can be fairly exhaustive, especially with the WorkCoverageRecord workflow (search-index-update)
To save on the CPU cycles of the DB cluster, we pre-compute the recursive equivalents in an isolated job, which can then be used by all other scripts/APIs
How Has This Been Tested?
Unit tests have been written for both happy path and edge cases
Manual testing has been done by reseting the coverages
Checklist

[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.

TODO: Add to crontab

I've no particular criticisms of this code, but I think we should at least have type annotations on all methods. Could you add them?
Personally, I'd like to get us to the point where we can run with the strictest mypy settings. It's going to take a long time to get there, but I think getting as much type information into new code as possible will help.

@io7m Type hints added


Upgrade operator-sdk

- Description of the problem which is fixed/What is the use case
This patch series upgrades the operator-sdk to 1.20.1 and associated dependencies.
I tested the changes on an OpenShift 4.11 cluster
- Description for the changelog

Upgrade operator-sdk version to 1.20.1

/hold

/unhold


Bump crates-io to 0.6.0

@bors: r+

:pushpin: Commit daad512 has been approved by alexcrichton

:hourglass: Testing commit daad512 with merge a74ee87...

r? @brson
(rust_highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit 5f4b9f2 has been approved by alexcrichton

:hourglass: Testing commit 5f4b9f2 with merge 4cff0ce...

:broken_heart: Test failed - status-travis

@bors: retry
On Sun, Dec 25, 2016 at 9:02 AM, bors<EMAIL_ADDRESS>wrote:

💔 Test failed - status-travis
https://travis-ci.org/rust-lang/cargo/builds/186663064
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rust-lang/cargo/pull/3454#issuecomment-269130139, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAD95HoY7xwoaTj4plgy2d9TBM2jAOcjks5rLqGmgaJpZM4LVbir
.

:hourglass: Testing commit 5f4b9f2 with merge e9e58b6...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing e9e58b6410d8088a6f846c8b49acb7981b88fbed to master...


Use the correct lexer for Puppet 4 in setup.rb

Without this patch applied, rspec-puppet-init errors out with
`get_module_name_from_file': uninitialized constant Puppet::Parser::Lexer (NameError)
for Puppet 4.

This fixes the reported problem for me, without causing regressions when using puppet 4. So that's a net win for me.

@igalic OK - updated.

Looks like this needs a rebase now.

Why do you say a rebase is required @daenney - I just did a git pull on master and didn't bring in anything new?

OK - looks like someone already merged the first commit?  Not sure what's going on but anyway I've rebased and pushed again which just adds the README comment.

I'm sorry for the confusion, that happened while preparing the 2.2 release. I should have added the FIXME myself, when merging in this PR manually.

No worries!


HDPI rendering on retina

Midi Automator should render in hdpi on retina displays.

The problem is here:https://bitbucket.org/infinitekind/appbundler/issues/10/bundle-jre


Feat/wrpc

wRPC protocol in CP/DP communications

[x] connect via WebSockets, preserve existing authentication schemes.
[x] bidirectional RPC, passing data/args/results/errors in both directions.
[x] some error handling
request/response/pending expiration

[x] drop expired packets on reception
[x] drop expired waiters on response
[ ] drop expired waiters that never receive response

[x] encapsulate receive thread within protocol management
[x] encapsulate send thread within protocol management, only for "server" sockets.
[x] send periodic PINGs
[ ] detect and act on missing pings or pongs.
[x] send config data from CP to every DP on any change.
[x] handle hash or version of config data, to ignore unneeded config messages.
transform config data to fit protobuf spec

[x] wrap plugins config in Struct
[x] allow foreign keys to be passed in expanded form
[x] ensure "absent" fields don't get materialized with "default" or "empty" values on decoding.
...

[x] define inter-worker communication channel
[x] permit calls from any worker
[x] pass existing hybrid mode tests

Note: there's still some code duplication between the existing (json) protocol and this.  This is to ensure the feature flag (cluster_protocol=json|wrpc) doesn't activate any new code.  Once the version negotiation feature (#8397 ) is merged in, this will be refactored on top of that and repeated code will be factored away.

rebased on top of master

Your PR seems ready to merge, but there are some lint issues that fail checks. May you spend some time fixing that?


Is this framework no longer maintenance?

Hey guys!
Is this framework no longer maintenance?

@alexanderkhitev Hello, sorry for the late reply.
The original maintainer is busy these years due to personal issues.
Currently, I will pick up this repository for now and review the PR and issues.
Please feel free to tag me if there are anything that needs me to investigate/review.


SpreadsheetEngineSaveCellHateosHandler

Coverage increased (+0.02%) to 88.735% when pulling 5586ead806c9fe5c188130605155289aa88cecda on feature/SpreadsheetEngineSaveCellHateosHandler into d1dcfaf078b39cba26a6b7bd42b77aaeb6882091 on master.


Unittest WildcardNode and PartialNode

comprehensive Unittests
refactoring Unittests for MetaNode, ResultNode, Node, PartialNode, LeafNode to make use of speccing

Please have a look at the todos. At these positions, adding speccing triggers weird behavior

Please remove the draft label

Please comment on the (third) remaining todo


fix(button): contrast error

Improves colour contrast for CTA in secondary+wind variant when focused on saturated contexts
Improves colour contrast for button in secondary variant on saturated and dark contexts

Related issues
Closes #1997
What has changed and why

Use UI accent colour for button text on saturated and dark backgrounds
Use white for CTA text when focused on saturated in secondary+wind variant

Notes to reviewers:
For button, open current and PR preview in separate tabs, and run this snippet in the browser dev tools console:
document.querySelector("pfe-band:nth-of-type(2)").colorPalette = 'accent';

Before:

After:

For CTA, tab to the "Secondary + wind variant" on saturated context, with color-palette="base" (i.e. the middle card in that row)
Before:

After:

For CTA, tab to the "Secondary + wind variant" on saturated context, with color-palette="base" (i.e. the middle card in that row)

For the CTA screenshot examples shown vs the links given I am not seeing the lighter background color on the Secondary + wind variant that is depicted.  Should I be?
Current:

DPR 2014:

Localhost @ fix/button/contrast-error:

Side Note:
All these color combos will also need design reviewed and fixed for accessibility moving forward, which we've mentioned offline just wanted to note that again.  The secondary button definitely stands out in these screenshots as being low contrast on saturated.

To see the desired effect, you've got to focus the the element by tabbing to it, or via dev tools:

@bennypowers Are you migrating pfe-button straight to RHDS? If so, I don't think we can touch the design until after, but we could keep this issue open until then.

Yeah let's see this until https://github.com/RedHat-UX/red-hat-design-system/issues/370
And also https://github.com/RedHat-UX/red-hat-design-system/pull/349


[Contribution welcome] Reproduce Mapillary results

Thanks for the code. I see your method's score is very high in  Mapillary dataset provide by Paperswithcode. Is there pretrained model for Mapillary vistas dataset we can download?

Unfortunately, there is no Mapillary Vistas pretrained model yet. Our original models are trained with TensorFlow and I haven't tried training models on Mapillary Vistas with this code yet.

Mapillary Vistas panoptic segmentation has been supported in a recent work: https://github.com/facebookresearch/Mask2Former
Please refer to it if you are interested in Mapillary Vistas.

@bowenc0221 Is the original code available? If it's done with tf 1, I would like to translate it new tf 2 (keras) api.


Route props functionality in router.mock

What problem is this solving
When using the router mock as it currently is, we cannot test the prop changing functionality (described here in the vue docs).
More specifically to my situation: I have two routes that load the same component with a different prop, and the component itself contains links to both routes. I want to test some functionality that happens when the prop changes. I'd like to keep it as close to real use as possible, and in a real use situation the flow of events would go something like User clicks link -> vue-router pushes the given route -> vue-router updates the component's prop -> a watcher is triggered. I could easily use VTU's setProps function, but that would skip the first two steps, which isn't ideal.
Proposed solution
When I use the mocked router's push function, I would like for it to update the current component's props if there is a props option given in the route.
In order to not break existing code this could be added as an option similar to runInComponentGuards, which would be disabled by default.
Describe alternatives you've considered
As I stated above it's easy enough to use setProps, but that adds another step away from real use.

From the outside it looks like you want to test vue-router itself. While that might have some utility in an e2e test, you should probably limit your unit tests to the components' inputs and outputs. That's what UTs are for.

It's more so that I want to test behavior triggered by vue-router's functionality. You're right that it falls somewhat outside the scope of a unit test, but the tests that I'm writing aren't strict unit tests (it gets very hard to stick to straight unit testing when trying to test whole pages I've found).
I will check out the setQuery and setParams functions, hopefully one of those will help me get the functionality I need! Thanks


Error [ERR_REQUIRE_ESM]: require() of ES Module

Describe the Bug
I created project by manual setup followed this link https://react.email/docs/getting-started/manual-setup. I got this error when I tried to run yarn dev first time. It said
const stripAnsi = require('strip-ansi');
                  ^

Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/kty/Documents/email-template-generator/node_modules/strip-ansi/index.js from /Users/kty/Documents/email-template-generator/node_modules/ora/index.js not supported.
Instead change the require of /Users/kty/Documents/email-template-generator/node_modules/strip-ansi/index.js in /Users/kty/Documents/email-template-generator/node_modules/ora/index.js to a dynamic import() which is available in all CommonJS modules.
at Object.<anonymous> (/Users/kty/Documents/email-template-generator/node_modules/ora/index.js:7:19) {
  code: 'ERR_REQUIRE_ESM'
}

Node.js v20.10.0

Which package is affected (leave empty if unsure)
No response
Link to the code that reproduces this issue
https://github.com/resendlabs/react-email
To Reproduce
I had 2 ways that resolved this error.

I removed yarn.lock file (outside .react-email folder) and run yarn and yarn dev again.
Downgrade version of strip-ansi to be v6.0.0 in package.json (outside .react-email folder).

Expected Behavior
When run yarn and yarn dev, this error shouldn't happen.
What's your node version? (if relevant)
v20.10.0

I also have this problem on node v21.4.0. Have to do yarn install --no-lockfile to bypass the problem but I don't think it's a good solution as it can cause unexpected installation of packages.

I had this issue too, only this time I was using the yarn create email command instead.

This seems to be caused in part because strip-ansi 7.0.0 is pure ESM, do you guys have any idea what we use that depends on strip-ansi?

This is an issue with yarn v1 not compatible with eslint: Eslint #17215

Closing as a duplicate of #1075


Custom install step

Hi,
Is it possible to easily add steps to the wizard? Like a form to enter the default admin credentials & such things?

Yes, you can add your own routes and controllers.
https://github.com/RachidLaasri/LaravelInstaller/blob/master/src/routes.php

@RachidLaasri can I override your routes? for example on the environment to call my class instead of yours but keep the same url?

@giwrgos88 Can you explain more please?

@RachidLaasri now if my project has domain localhost, that means I will have localhost/install/enviroment where on the routes the parameter enviroment will call the "EnvironmentController@environment". How I can keep the same url but instead of calling the EnvironmentController to call the InstallerController

Hmm, You can create your own routes and link them to your controllers.

understood thanks

@giwrgos88 this is one of the reasons why I created https://github.com/marvinlabs/laravel-setup-wizard
@RachidLaasri maybe you find some useful ideas there to improve this package

Can you write an example of how to use custom controller and route for custom steps


Revert "Live Consent Sync (#1234)"

This reverts commit 0b0bcdebc982f5aedff99b851d64b54eb0f5193f.

Tests take milliseconds again after reverting this PR


is there any plan to make this library compatible with newer version of grpc?

This was a demo to show how streaming calls could be instrumented. gRPC tracing has evolved quite a bit since then and there are newer, more advanced frameworks such as OpenTelemetry available now.


Cannot Save Quests

[13:57:22] [Server thread/ERROR]: Error handling conversation prompt
java.lang.NullPointerException
at me.blackvein.quests.QuestFactory$SavePrompt.acceptInput(QuestFactory.java:1031) ~[?:?]
at org.bukkit.conversations.Conversation.acceptInput(Conversation.java:229) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3]
at org.bukkit.craftbukkit.v1_10_R1.conversations.ConversationTracker.acceptConversationInput(ConversationTracker.java:58) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3]
at org.bukkit.craftbukkit.v1_10_R1.entity.CraftPlayer.acceptConversationInput(CraftPlayer.java:1029) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3]
at net.minecraft.server.v1_10_R1.PlayerConnection$5.evaluate(PlayerConnection.java:1197) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3]
at org.bukkit.craftbukkit.v1_10_R1.util.Waitable.run(Waitable.java:24) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3]
at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:747) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3]
at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3]
at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3]
at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]

Which version of Quests are you running?

Dear,
I'm running the 2.6.4 version
Best regards

@Fargus5 Thanks. I've tried a few things but cannot replicate the error. Please post your quests.yml for testing.

Dear,
thanks, you can find it here
http://fargus.altervista.org/Quests.rar
waiting for news
best regards

Hello Fargus,
I raised a case about this myself, however since then I have found a way around the issue.
Instead of doing the whole quest in one go, do stages and save each time. For example, set the name of the Quest, the start and finish message; then Save it. Followed by /questadmin reload
Then add the Stages and when done, save it. Followed by /questadmin reload
Then add the rewards, when done, save it. Followed by /questadmin reload
Then you should be good to go, this worked for me anyway!
Ben M

It doesn't work...
I did like you told me... but anyway... basically it must not be the correct way to save a quest.... so there is at the same an error to fix....
At the end, when i put 13 to save, he ask to me if 1 yes or 2 no... I do 1 yes but anything happens.
Could you fix this?
[20:27:43] [Server thread/ERROR]: Error handling conversation prompt java.lang.NullPointerException 	at me.blackvein.quests.QuestFactory$SavePrompt.acceptInput(QuestFactory.java:1031) ~[?:?] 	at org.bukkit.conversations.Conversation.acceptInput(Conversation.java:229) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3] 	at org.bukkit.craftbukkit.v1_10_R1.conversations.ConversationTracker.acceptConversationInput(ConversationTracker.java:58) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3] 	at org.bukkit.craftbukkit.v1_10_R1.entity.CraftPlayer.acceptConversationInput(CraftPlayer.java:1029) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3] 	at net.minecraft.server.v1_10_R1.PlayerConnection$5.evaluate(PlayerConnection.java:1197) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3] 	at org.bukkit.craftbukkit.v1_10_R1.util.Waitable.run(Waitable.java:24) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3] 	at net.minecraft.server.v1_10_R1.MinecraftServer.D(MinecraftServer.java:747) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3] 	at net.minecraft.server.v1_10_R1.DedicatedServer.D(DedicatedServer.java:399) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3] 	at net.minecraft.server.v1_10_R1.MinecraftServer.C(MinecraftServer.java:672) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3] 	at net.minecraft.server.v1_10_R1.MinecraftServer.run(MinecraftServer.java:571) [minecraft_server-v1.10-SG1.10-R0.1.jar:git-Spigot-6016ac7-10c10b3] 	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]

I'm not anything to do with this plugin, just trying to offer a bit of support.
At what step does it not let you save? Or if when I'm home I can jump on your server and take a look?
Thanks.

Dear,
When i finish To made quest And To set everything. . I have To do 13 To Save.The Last Save . But doesn't works.
I told You
Anyway yes if You want To come in thé server You Can
I come At 18h30 Pm (FRANCE TIME)
if You cannot please To send me a /mail ... I Will ad You in administration And You Will be able To come When You want To See how thé plugin works
IP: emptyvoid.nitroserv.eu
Please To help me becouse quest i essential for m'y server

@Fargus5 I ask that you please be more patient. Having me use your server will not do any good.
Just found time to look at the quests.yml from your RAR file, but it is empty. In other words, there is no data (other than the "quests:" string). Maybe you upload the wrong one? Please post a valid file. Thanks!

Dear
I'm sorry, i didn't understand
So ok, you can find here the complete plugin:
http://fargus.altervista.org/Quests.rar
and here you can find only the file requested:
http://fargus.altervista.org/quests.yml
I hope that this will help you

@Fargus5 Even being unable to save quests, that file should not be empty as there are supposed to be example quests. If you are unable to delete the "data" folder, this may be a problem with your OS permissions. What OS are you running (Windows, Mac, Ubuntu, et al.)?
Try deleting your entire Quests folder and restarting the server (do a full restart, no /reload). If that does not populate quests.yml, copy and paste this into it manually and restart - http://pastebin.com/VMFdizB5

Now it works thanks, i will let you know if there are any problems


An example of how in-dialog validation might work.

This is more of a discussion PR than a full one. I includes an example of how in dialog validation might work.

I think that we need to do validation on commit, there might be multi property validation that will never be satisfied until the user is done with the dialog. The main problem is typing. The way you have it implemented the validation code will be run on every key press, so the validation state will change as you type, since the data is not complete it will show validation errors all of the time. I am of the opinion that we should only validate once the data entry is complete.
What if we created the list of validation errors when the user commits, and then instead of performing the action we update the validation errors list so we show the error ui state. The error ui state can be cleared only when the user commits valid data.

I think this is ready for review.

PTAL

Please, have the different strings for different purposes. I don't care if they are identical except for the special symbols. They are used in different ways and therefore must be different. Please please please use different strings for different purposes always.
As far as the class vs. type, I won't spend more mental time on this. Let's all agree on something and follow it. If it is type, type it is.

PTAL

This is a fix for #523.

LGTM


Fixes #30 Add CyberArk Conjur Support

Added support for read and write of secrets to CyberArk Conjur Secrets Manager (https://cyberark.com || https://conjur.org).

README.md updated to to include CyberArk Conjur
.teller.example.yml updated to include CyberArk Conjur
pkg/wizard_template.go updated to include CyberArk Conjur
pkg/providers/cyberark_conjur.go added with support for RetrieveSecret and AddSecret
gomock mock generated at pkg/providers/mock_providers/cyberark_conjur_mock.go
Vendored github.com/cyberark/conjur-api-go package

Thanks @infamousjoeg 🥇


Installation error: No module named 'aiohttp'

I'm getting an error on installation:
$ pip install gpt-chatbot-cli
Defaulting to user installation because normal site-packages is not writeable
Collecting gpt-chatbot-cli
  Using cached gpt_chatbot_cli-0.2.2-py3-none-any.whl (4.9 kB)
Collecting openai==0.27.1
  Using cached openai-0.27.1.tar.gz (57 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [73 lines of output]
      Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 419, in _parse_attr
          return getattr(StaticModule(module_name), attr_name)
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 26, in __init__
          spec = importlib.util.find_spec(name)
        File "/usr/lib/python3.10/importlib/util.py", line 94, in find_spec
          parent = __import__(parent_name, fromlist=['__path__'])
        File "/tmp/pip-install-simw0otx/openai_969885983d1b4eee91a4e6a7c9aaa71e/openai/__init__.py", line 9, in <module>
          from openai.api_resources import (
        File "/tmp/pip-install-simw0otx/openai_969885983d1b4eee91a4e6a7c9aaa71e/openai/api_resources/__init__.py", line 1, in <module>
          from openai.api_resources.audio import Audio  # noqa: F401
        File "/tmp/pip-install-simw0otx/openai_969885983d1b4eee91a4e6a7c9aaa71e/openai/api_resources/audio.py", line 4, in <module>
          from openai import api_requestor, util
        File "/tmp/pip-install-simw0otx/openai_969885983d1b4eee91a4e6a7c9aaa71e/openai/api_requestor.py", line 21, in <module>
          import aiohttp
      ModuleNotFoundError: No module named 'aiohttp'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 162, in get_requires_for_build_wheel
          return self._get_build_requires(
        File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 143, in _get_build_requires
          self.run_setup()
        File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 158, in run_setup
          exec(compile(code, __file__, 'exec'), locals())
        File "setup.py", line 3, in <module>
          setup()
        File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup
          return distutils.core.setup(**attrs)
        File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 122, in setup
          dist.parse_config_files()
        File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 804, in parse_config_files
          parse_configuration(
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 158, in parse_configuration
          meta.parse()
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 498, in parse
          section_parser_method(section_options)
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 469, in parse_section
          self[name] = value
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 222, in __setitem__
          value = parser(value)
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 599, in _parse_version
          version = self._parse_attr(value, self.package_dir)
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 422, in _parse_attr
          module = importlib.import_module(module_name)
        File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
          return _bootstrap._gcd_import(name[level:], package, level)
        File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
        File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
        File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
        File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
        File "<frozen importlib._bootstrap_external>", line 883, in exec_module
        File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
        File "/tmp/pip-install-simw0otx/openai_969885983d1b4eee91a4e6a7c9aaa71e/openai/__init__.py", line 9, in <module>
          from openai.api_resources import (
        File "/tmp/pip-install-simw0otx/openai_969885983d1b4eee91a4e6a7c9aaa71e/openai/api_resources/__init__.py", line 1, in <module>
          from openai.api_resources.audio import Audio  # noqa: F401
        File "/tmp/pip-install-simw0otx/openai_969885983d1b4eee91a4e6a7c9aaa71e/openai/api_resources/audio.py", line 4, in <module>
          from openai import api_requestor, util
        File "/tmp/pip-install-simw0otx/openai_969885983d1b4eee91a4e6a7c9aaa71e/openai/api_requestor.py", line 21, in <module>
          import aiohttp
      ModuleNotFoundError: No module named 'aiohttp'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

aiohttp already installed
$ pip3 show aiohttp
Name: aiohttp
Version: 3.8.4
Summary: Async http client/server framework (asyncio)
Home-page: https://github.com/aio-libs/aiohttp
Author:
Author-email:
License: Apache 2
Location: /usr/local/lib/python3.10/dist-packages
Requires: aiosignal, async-timeout, attrs, charset-normalizer, frozenlist, multidict, yarl
Required-by: openai

OS: Ubuntu 22.10 x86_64
Kernel: 5.19.0-38-generic
Python: Python 3.10.7

try installing inside vitrual environment.
And let me know if the issue still exist.
python -m venv .venv
source .venv/bin/activate
pip install gpt-chatbot-cli


[Bug] Snippet preview displays wrong tabSize

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

VS Code Version: v1.57.0
OS Version: Windows 10

Steps to Reproduce:
settings.json
{
  "editor.tabSize": 2
}

vue.json
{
  "router-view": {
    "prefix": "rv",
    "body": ["<template>", "\t<router-view></router-view>", "</template>", ""]
  }
}

Current preview:

Expected preview:

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Report Button

Whenever people can post publicly, some people will abuse it. Currently the 2nd most popular idea right now is "Incest Porn Machine Learning."
We need a way to flag ideas as inappropriate or off-topic (e.g. a joke not an idea). Another example is the currently most popular idea, a DDOS attack.

I 2nd this idea, currently someone is spamming "Watch Mr. Robot" which makes the recent tab unusable and the random idea button unusable.

I 2nd this idea, currently someone is spamming "Watch Mr. Robot" which makes the recent tab unusable and the random idea button unusable.

lol I wonder who did that :D

What to code has now recaptchav3 support! So i can close this ticket :)
Also banned words are not allowed


[FormBuilderChoiceChip]: add showCheckmark option to choice chip

Is there an existing issue for this?

[X] I have searched the existing issues

Package/Plugin version
9.1.1
What you'd like to happen
FormBuilderFilterChip has this option (showCheckmark), but FormBuilderChoiceChip doesn't.
It would be great if we could have showCheckmark for FormBuilderChoiceChip. Thanks.
Alternatives you've considered
No response
Aditional information
No response

This will be nice and simple. Only add showCheckmark, and also add other properties, to FormBuilderChoiceChip


Create function to parse text

E.g. remove stopwords punctuation

from nltk.tokenize import sent_tokenize, word_tokenize
from nltk.corpus import stopwords

stopWords = set(stopwords.words('english'))
data = "All work and no play makes jack dull boy. All work and no play makes jack a dull boy."
words = word_tokenize(data)
wordsFiltered = []
for w in words:
    if w not in stopWords:
        wordsFiltered.append(w)
print(wordsFiltered)

will output
['All', 'work', 'play', 'makes', 'jack', 'dull', 'boy', '.', 'All', 'work', 'play', 'makes', 'jack', 'dull', 'boy', '.']

@josephhalstead Lemmatization might be useful and also maybe n-grams.
@hsiaoyi0504 You should do a pull request, that way we might comment on the code.

@lwgray You are right, but I need to make sure which part we want to put this in.

I think query expansion is the most important part in this application.

Solve in #8.


feat: turn-key dev setup.

https://artsyproduct.atlassian.net/browse/PLATFORM-3403
This PR introduces "turn key development environments" pattern to this project, namely the shared configuration pattern.

change setup script into a shell script
make setup script do more, including pulling down shared config from S3
add .foreman to load env files in order
replace dotenv with foreman where applicable
update README

LGTM. No failure for rabbitmq.
Thanks @ovasdi for confirming.


Adjusted multi-db example to avoid confusion with DATABASES keys.

In the routers, it was not clear that auth_db is which auth_db between the lines 306-343. Was it the key of the dictionary or name field? I added _name suffix to name fields of databases. Now it's clear that reader should use dictionary key of a database in routers to access it. Not the name.

@MansurAliKoroglu Thanks :+1: Welcome aboard :boat:
Sorry for a late reply, I missed this PR.

Merged in d88952142bff1c0283a929749fb64c53d07ad91e.


Remove modifiers that are not recoverable from modifiersCache

Contains changes from https://github.com/ScorexFoundation/Scorex/pull/254

Coverage increased (+0.3%) to 46.83% when pulling 44ff7ee3ac5e55f8fd69f5ac0c3482ce49df7e5a on ei303 into cba6034594f9a3a1eca6fe1989828a370444e559 on master.


Radium breaks ReactTransitionGroup leave transition

While working with Radium, I've noticed that components that are enhanced with Radium and which contain a ReactTransitionGroup do not call the componentWillLeave animation lifecycle method. Have a look at this example:
https://jsbin.com/wolopuzubu/edit?js,console,output
If you comment out the following line in the example (towards the bottom)
var App = Radium(App);

you will see that the leave transition works properly. Also worth noting is that when enhanced with Radium, the "appear" lifecycle hooks are run, as opposed to the "enter" and "leave" hooks when not enhanced with Radium.
After some investigation into the Radium source I found that removing the following logic fixes the problem, although I am not sure of why, nor of any other implications of removing this code:
  // src/resolve-styles.js line 337

  // If nothing changed, don't bother cloning the element. Might be a bit
  // wasteful, as we add the sentinal to stop double-processing when we clone.
  // Assume benign double-processing is better than unneeded cloning.
  if (
    newChildren === renderedElement.props.children &&
    newProps === renderedElement.props
  ) {
    return renderedElement;
  }

From what I can tell, removing this code forces Radium to clone each element regardless of whether the children or props have changed, but again I am not sure why this fixes things.
Please let me know if I can offer any more information.

Thanks for the details repro and investigation! I'll take a look and see what we can do.

Did a little debugging, and noticed that ReactTransitionGroup's componentWillUpdate lifecycle method is never called; instead it always calls componentDidMount, indicating that something in Radium is causing the component instance not to be reused.

Great, I appreciate the quick response and will keep an eye out for a fix.

So, this all has to do with using React.Children.map, which "helpfully" adds keys if you didn't have any before. This key generation algorithm, however, is not very predictable, and adds an extra slash depending something about the element's children. If we avoid it entirely, we can't just use children.map, since that would create a new, non-blessed array, one that requires keys. But, if we modify the children in-place, this problem is mitigated entirely. We could also get the "blessed" children by calling React.createElement directly. Here is some working code I hacked together. I'll submit a PR soon:
if (Array.isArray(children)) {
  const resolvedChildren = children.map(child => {
    if (React.isValidElement(child)) {
      return resolveStyles(component, child, config, existingKeyMap);
    }

    return child;
  });

  // We don't want to use React.Children.map, since it adds keys and modifies the children
  // in a way component authors don't expect. To get a "blessed" array and avoid errors
  // about missing keys, call `React.createElement` and steal the children.
  return React.createElement.apply(
    null,
    ['div', {}].concat(resolvedChildren)
  ).props.children;
}

Instead of doing that, though, I fixed the bug in React: https://github.com/facebook/react/pull/5892
Not sure what we should do in the interim here...

@ianobermiller , thanks for figuring this out so quickly. It's not a blocker (for us, anyway) so we should be able to wait for the PR to be merged and released in the next React patch. Thanks again.

I believe that's released as of React 15, so going to close this one.


gemspec only works with HTTPS checkouts

Steps to reproduce:

Clone typesafe_enum with SSH:
$ git clone git@github.com:dmolesUC3/typesafe_enum.git

cd to the new clone and try to build the gem:
$ cd typesafe_enum
$ gem build typesafe_enum.gemspec

Expected:

gem builds.

Actual:

Build fails with bad URI error.
Invalid gemspec in [typesafe_enum.gemspec]: bad URI(is not URI?): git@github.com:dmolesUC3/typesafe_enum.git
ERROR:  Error loading gemspec. Aborting.

The culprit code is here in the .gemspec:
origin_uri = URI(`git config --get remote.origin.url`.chomp)
spec.homepage = URI::HTTP.build(host: origin_uri.host, path: origin_uri.path.chomp('.git')).to_s

If we don't want to hard-code the URLs, we need to be actually clever here, not just half-clever, and convert<EMAIL_ADDRESS>URIs to https.

Fixed in 748b969.


"Global" environment variables for all applications

Dokku has this built in for a while and it's an interesting feature: you can define some environment variables that will be exposed to all containers. This is extremely useful for setting things like SSH_KEY, or New Relic configuration.

Dupe of #1804

yep. Thanks for catching that :) closing as a dupe.


Update collection-spec.md

Fixing example description
Related Issue(s): #
Proposed Changes:

PR Checklist:

[x] This PR has no breaking changes.
[x] I have added my changes to the CHANGELOG or a CHANGELOG entry is not required.
[x] API only: I have run npm run generate-all to update the generated OpenAPI files.

Thank you, @constantinius. Unfortunately, we can't accept PRs against master. Could you redo the changes for the dev branch, please?

Base is now dev

Thank you. Approved.


[public report]: Claim to Review Does Not Open Wallet

User Impacted
0xe95608B6a7f97bf5D076F0594EEe07e77b9781b7
Discord ID (including number)
PCWCFA#0438
Workflow Impacted
Analyze
Feature Impacted
Claim to Review
Issue description
Trying to claim https://dev.metricsdao.xyz/app/analyze/m/0x1515455ca7842941dd1a90ae114cb4cf50397fd6/sr/1/review?quantity=10 results in no visual notification of failure, but the console shows some of error.

Blocking
yes it is
Relevant log output
No response

@gnomadic any idea what that error means?


test: e2e test

Test:

added e2e test for Linux, windows and macOS
includes 14 test cases: imported pem/pfx certs chain, unordered pem/pfx certs chain, azure key vault csr pem/pfx certs chain, self-signed pem/pfx certs, partial pem/pfx certs chain with local cert bundle and corresponding invalid cases.
the E2E automatically run for PRs from Azure/notation-azure-kv repo and will be skipped for folked repo

Additional files:

dockerfile for build distribution registry on windows
zot configuration for local registry on macOS
generate-certs.sh script for create certificate on azure key vault for future re-generating certificates.
download-server.py hosts a local download server for notation github action to download plugin.

Should .github/e2e/ be put at tests/e2e/

@shizhMSFT Updated.


Sorting right after npm init

Is there any particular reason for the order of which the keys are sorted?
For instance, why isn't a package.json that comes out of npm init considered sorted?
--- original-package.json	2017-03-30 14:13:27.363116322 +0000
+++ sorted-package.json		2017-03-30 14:13:29.727094856 +0000
@@ -1,11 +1,11 @@
 {
   "name": "sort-test",
   "version": "1.0.0",
   "description": "",
+  "license": "ISC",
+  "author": "",
   "main": "index.js",
   "scripts": {
     "test": "echo \"Error: no test specified\" && exit 1"
-  },
-  "author": "",
-  "license": "ISC"
+  }
 }

No particular reason, other than trying to put the most relevant info for users of the package upfront. license is very relevant to the user and so should go to the top of the file ("above the fold" if you will), as is author.

That makes sense. Shouldn't then engines be "above the fold" as well?

I don't mean to question every key here.
You've answered my question so you can close this whenever you'd like.

engines is probably worth being above the fold too, yes.
As the readme says initially it sets the order to how the docs are ordered. If you feel strongly about changing the order for a particular reason, I would welcome PRs 😄


0.9.5 - Japan

@hroncok : I've tested this branch on koji and it seems to build fine without the two existing patches, this should make your packaging work easier.


Template name not available - name changed - SAP Mobile Cards

Hello,
Scenario URL: https://developers.sap.com/tutorials/cp-mobile-cards-welcome.html

Step   2: In the Select Cards tab of the wizard, select the Sample Template Welcome   Card and click Next. --- Template with given name not available -- all template names are changed in the Mobile Services Portal -- template needs to be selected is "Welcome Card template Single Instance-- Version 2.0.
Please refer to the screenshot:

2). In   the Review tab of   the wizard, review the details you’ve entered and click Finish. -> Screenshot also needs   to be changed here because of different template name now.
3). Step 3:   In the SAP Cloud Platform Mobile Services Cockpit, you will now see the   Booster Welcome Card we have created. -> Screenshot update ->
OLD Image:

New Image:

Thanks,
Shubham
Labels to be added:
Sprint Label: SCPTest-2010A
Scenario Label:SCPTest-mcard
Landscape Labels: trial1,trial2,trial3
prio: high-prio

Hi @i353590
We recently updated the tutorials. These issues have been addressed in the previous release.
Can you please confirm if the issues raised have been resolved?
Warm Regards
Sandeep T D S

Closing the issue since it seems resolved.


Grav does not respect the documented lifecyle

While discussing about my plugin, I realized that Grav does not respect the documented lifecycle. In effect, I'm focusing on the onMarkdownInitialized and onTwigSiteVariables event here, but it's probably wrong with other event too.
In the documentation page here it says that onMarkdownInitialized happens in onPageInitialized (unconditionally of the cached state of the page) before onTwigSiteVariables. This is also what's stated in this linked documentation page: onPageInitialized happens in the page processor (position 10.3), while onTwigSiteVariables should happen later in position 12.3.1.
Yet, if you create a simple plugin with a var_dump for both events, you'll see that onTwigSiteVariables is called before onMarkdownInitialized.
This breaks my plugin, but also any plugin that would conditionally require assets based on the markdown content (to avoid paying for assets bandwidth when they are not required).
Also, and I can't explain why, on my website, the event order respect the documentation (but my website is an old version that was upgraded successively from 1.6.4 if I remember correctly).

Is it intentional ?
If so, why is it made this way ?
Can it be changed ?

@X-Ryl669, I'm currently in the process of rewriting the docs on Plugin Events to improve the order of events fired and explaining the implication of caching.
In the meantime, I would suggest to stick to the events written in Grav Lifecyle
In the discussion in your repo, I've explained how assets can be loaded conditionally and how Shortcodes instead of Markdown extensions may solve your issue.

Order of the events (or if they fire at all) is not guaranteed in Grav, mostly because plugins affect the order with their own logic. Many events are called on the first time things get accessed. So if something tries to do anything with twig, events for initializing those are run and if someone tried to parse markdown, those events fire instead.
To be honest, we need more specific events for events that can fire because of multiple reasons. Also, it may be a good idea to mark those events somehow to tell that they can fire at any instance.


[A11Y] [iOS] Focus issues causing inappropriate navigation through templates carousel present under "Build with AMP Start" Heading.

ENVIRONMENT:
Form factor : iPAD
Model : MC705LL/A
Version : 9.3.5(13G36)
Browser : Safari
Pre-requisite:
Turn 'VoiceOver' ON. ( Settings->General->Accessibility->VoiceOver->ON )
STEPS TO REPRODUCE:

Navigate to the URL:  https://ampstart.com
Linearly navigate to the “Build with AMP Start” section.
Linearly navigate through the template carousel and move focus on the “previous item in carousel” and "Next item in carousel" buttons and double tap on it.
Try to navigate further.

ACTUAL RESULTS:
Focus is stuck on those buttons when double tapped and does not navigate further.
EXPECTED RESULTS:
User should be able to double tap on either of the buttons and be able to perform respective actions and navigate further.
ATTACHMENT
Please refer to the Video in the below link for reference:
https://drive.google.com/corp/drive/folders/0BwgKOOZP99EuUzVWT25TVzl2S00

This is an amphtml issue , will open a amphtml bug for this.


Catch error in operator policy execution

Quick bugfix, When running check operator, we were not catching errors when calling engine.ExecuteChecks(), so we were getting results that reflected no checks were executed because the engine was throwing an error before any validations took place.
The check container command was updated to account for this, and I must have just ovelrooked check container. My apologies!
Signed-off-by: Jose R. Gonzalez<EMAIL_ADDRESS>

Given check operator and check container basically share their execution workflow, there's certainly an opportunity to move the function to a single place, and abstract the distinctions (which is basically the runtime.Config), and then call the same function for both use cases. Perhaps that's a PR for another day.


refactor(ui): Generalize FilterChips for reuse in other components

Description
A detailed explanation of the changes in your PR.
Feel free to remove this section if it is overkill for your PR, and the title of your PR is sufficiently descriptive.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why
you did not do so. Valid reasons include, for example, "CI is sufficient",
"No testable changes". Feel free to attach JSON snippets, curl commands,
screenshots.
In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

Current dependencies on/for this PR:

master

PR #7021

PR #7024

PR #7054   👈

This comment was auto-generated by Graphite.

@alwayshooin @sachaudh since you both either have recently worked on, or are currently working on VM 2.0 can you take a quick look at this too?
Also Linda I know default filters are disabled at the moment, but I did some manual testing and this will support the isGlobal prop used for custom rendering.


yarn upgrade

Coverage remained the same at 29.03% when pulling 57bd123e4388ecd355174023d685f5fb8e65f572 on upgrade into 252ea74acc5b2f797c94392ffdfdb818402cfa41 on master.


Imported Enhance power Control: Piloting upgrades mods generate errors.

Describe the bug
After being imported from Oggdude's data, the modifiers from both Control: Piloting upgrades of the Enhance force power generates error when trying to alter them.
Deleting and recreating them fix the issue.
To Reproduce
Steps to reproduce the behavior:

Import force powers from Oggdude
Open "Enhance" force power from the compendium
Click on the gear icon of one of the Control: Piloting ... upgrades to access modifiers
Change "Skill boost" to "Skill force boost"
See error: Attribute keys may not contain spaces or periods and in console TypeError: Cannot create property '-=Piloting: Space' on number '2' at PopoutModifiers._updateObject (popout-modifiers.js:96:67)
Any modification except deleting the modifier isn't saved.

Expected behavior
The modifiers is changed and saved without error.
Screenshots

Desktop (please complete the following information):

Foundry Version: 12.330
System Version mostly 1.902 with additional commits
Hosted on Forge: No

Nevermind, must have beens some stale import data...

The key set during import for the attribute containing the modifiers data use the skill name, i.e. system.upgrades.upgrade4.attributes["Piloting: Planetary"], while key created manual have a generic fomr atr+numbers, e.g. system.upgrades.upgrade8.attributes.attr1723360981032.


use ioutil.ReadFile to release dependency of Go 1.16

This is the only line that forces users to use Go 1.16+, and it brings few benefit

@Sandy4999 thanks for bringing this topic, we don't officially announce go version compatibility, though.
@disksing maybe we should setup a line declare the compatibility with go version.

I thought go 1.16 in go.mod already states compatible go version.

I thought go 1.16 in go.mod already states compatible go version.

Yes, it does. The problem here IMHO is that it doesn't have to be so high since this project can actually be compatible with lower versions. You may bump it to 1.16+ later when new features are required and when they bring real improvements.

Okay you've convinced me, I think you've made a good point. Would you like to update the version number in the go.mod as well by the way?
Also we need to update CI config to make sure 1.15 can be compiled without problems. But it is fine to leave this issue for me to fix later.
/cc @tisonkun do you have any more opinions?

I found another snippet using io.WriteFile (probably added after the v2.0.0-alpha release). Now all unit tests (go test ./...) passed with Go 1.14. I'm not sure if everything compiles and works well so please update the version number in go.mod by yourself after all CI tests succeed with a lower version :D

Okay you've convinced me, I think you've made a good point. Would you like to update the version number in the go.mod as well by the way?
Also we need to update CI config to make sure 1.15 can be compiled without problems. But it is fine to leave this issue for me to fix later.
/cc @tisonkun do you have any more opinions?

From a previous discussion we said go version in ci will be upgraded every six months. We may write a line in README about the go version requirement.
Changes like this one which cannot be guarded by ci is less maintainable. What if a series of following prs require to be compatible with more previous go version?
@Sandy4999 different from java software, as go binary are runtime free.  For managing different go version in one env, you can refer to gvm

@tisonkun The latest two major versions are maintained by the Go team. So 1.15 is a reasonable target now because people who cares about stability may stay at one major release older than the latest.

IMHO, It's really a bad idea to revert the go version back to 1.13 which has its end of life by 03 Sep 2019.

TiDB is a binary instead of a library, we only need a consistent version and use the latest feature. Keep the compatibility with multiple versions will increase developer’s work with few benefits. Currently our CI is based on go 1.16, so we can only promise that it will work on go 1.16, make it compilable with go 1.15 is unnecessary.

@Sandy4999 different from java software, as go binary are runtime free.  For managing different go version in one env, you can refer to gvm

It forces users who want to import this module to use higher version, while they may be conservative and want a mature version in their project (in fact we are using 1.15, and may bump to 1.16 after 1.17 released, similar strategy as described in this thread). Anyway of course I can just fork this repo to maintain a customized version, so it's totally up to you guys to make the final decision.

major

Make sense client-go as a library to be as compatible as possible.
@Sandy4999 would you mind to downgrade our ci go version to 1.15 and ensure it is compatible with that version? I'll approve for the ci to run but request changes to finish the whole version work.
@disksing may you make the final version.

I think 1.15 should be better than 1.14 as 1.14 is already marked archived on the golang website.

Hi @Sandy4999 we decide to support go1.15, would you like to update the version in go.mod?

Hi @Sandy4999 we decide to support go1.15, would you like to update the version in go.mod?

Okay

Error: ../../../../go/pkg/mod/github.com/pingcap/tidb@v1.1.0-beta.0.20210702041526-83acf6a4ac28/config/config_util.go:112:12: undefined: os.WriteFile

It seems to be complicated since it depends on tidb repo to run integration tests, which requires 1.16.

Error: ../../../../go/pkg/mod/github.com/pingcap/tidb@v1.1.0-beta.0.20210702041526-83acf6a4ac28/config/config_util.go:112:12: undefined: os.WriteFile

It seems to be complicated since it depends on tidb repo to run integration tests, which requires 1.16.

I think it's possible to only use Go 1.16 for tidb integration tests.

Hi @Sandy4999 We can use 1.16 in integration test. As long as the version of github.com/tikv/client-go/v2 is go1.15, the library can be used by applications that are using go1.15+.

Let's try again then

I'll update your branch before merging. Thanks for contributing.

Sure, thank you for understanding


DOC: badge with version of the doc in the navbar

Add a badge with the version information to the navbar between the logo and the sections. The badge is an hyperlink to the list of versions (https://docs.scipy.org/doc/).
The badge is responsive.
As discussed in #14128

Looks great to me!
Re: colors - Maybe green for most recent release, red for old releases, and yellow (/amber) for dev? I guess it doesn't work exactly like a traffic light, but could be reasonable choices nonetheless. Do you know of other libraries that color code?

Looks great to me!

🥳

Re: colors - Maybe green for most recent release, red for old releases, and yellow (/amber) for dev? I guess it doesn't work exactly like a traffic light, but could be reasonable choices nonetheless. Do you know of other libraries that color code?

Colors choices are tricky and I am not sure about best practices here for color deficient people. I will search other examples, but I have nothing in mind right now.

I found this nice website which gives nice color-blind palettes https://davidmathlogic.com/colorblind
I will see to make the logic for changing the colors and then select some colors from there.
So latest is on the same foot as recents, correct? Also what is recents? According to NEP29? If yes, do we want to have a manual list, or rely on some internal/external tools like pip install nep29?

I am just seeing https://github.com/scipy/docs.scipy.org/blob/master/_static/versionwarning.js_t. I am not sure how this will play along here. This would be something separate I would say...
So for now I propose to have green for latest stable and orange/amber for dev. @rgommers what do you think?

If the version from conf.py does not have dev here is the result:

So for now I propose to have green for latest stable and orange/amber for dev

Would there be a color for old versions?

Would there be a color for old versions?

I just don't know how to get this information. Would you have some way in mind? I could remove the javascript which currently add the banner and use the logic in conf.py to define a variable that I can use for that.

For reference here is the color palette https://davidmathlogic.com/colorblind/#%23E69F00-%23009E73-%23980F0F

@mdhaber I think now it should work. Locally I added tags.add('versionwarning') in conf.py and it's red as expected.
One tweak that could be done would be to change RELEASE as well depending on the status. Not sure here. But otherwise I think it looks good and it's ready.
What do you think @rgommers?

Unrelated note. Locally (macOS) I am always getting these warnings for odr. But this does not happen on CI. Is this known? Does not seem to be dramatic hence I did not open an issue yet.
.../scipy/scipy/odr/__init__.py:docstring of scipy.odr.rst:10: WARNING: autosummary: stub file not found 'scipy.odr.odr'. Check your autosummary_generate setting.
looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
writing output... [100%] tutorial/stats/discrete_zipfian
docstring of _odrpack.odr:16: WARNING: py:obj reference target not found: ODR
docstring of _odrpack.odr:28: WARNING: py:obj reference target not found: ODR
.../scipy/scipy/odr/__init__.py:docstring of scipy.odr:29:<autosummary>:1: WARNING: py:obj reference target not found: scipy.odr.ODR
release/1.6.0-notes.rst:47: WARNING: py:obj reference target not found: scipy.odr.ODR

Re odr warning: I've seen that happen before, probably Sphinx-version-dependent. I suggest ignoring it for now - scipy.odr.ODR is definitely a thing, and the formatting in the release notes is correct.

This should be actually part of the joint proposal to improve PyData Sphinx theme. So maybe not needed now. @jorisvandenbossche you might be interested.

Do we want to go with this or wait for a possible integration in the theme?

Fine with me to wait.

The preview has disappeared, regenerating.

Do we want to go with this or wait for a possible integration in the theme?

What's your preference @tupui?

The preview has disappeared, regenerating.

Do we want to go with this or wait for a possible integration in the theme?

What's your preference @tupui?

Before a few days I would have said we merge. But since I went over the theme's issue tracker, I revived the topic and there is a new active PR. So this might Lead somewhere this time. It would be easy as well to come remove later should we merge it so I am neutral here.
xref https://github.com/pydata/pydata-sphinx-theme/pull/433

Squash-merged so it's easier to revert when upgrading to the theme version with the switcher.

Squash-merged so it's easier to revert when upgrading to the theme version with the switcher.

Great, thanks Ralf!


GNOME updates 2024-06-25

Description of changes
adwaita-icon-theme not updated as it will be done as part of #316416.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

The release notes mentioned 1.46.2 but I am not sure if it was not a typo.
Would need to double check that the relevant commit is included.
On Tue, 25 Jun 2024, 15:27 Masum Reza, @.***> wrote:

@.**** commented on this pull request.
In pkgs/tools/networking/networkmanager/openvpn/default.nix
https://github.com/NixOS/nixpkgs/pull/322324#discussion_r1652824342:

@@ -21,11 +21,11 @@

stdenv.mkDerivation rec {
pname = "NetworkManager-openvpn";

version = "1.10.2";

Does NM 1.46.2 supports networkmanager-openvpn 1.12.0?
We can do a partial backport of this to stable then.
—
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/pull/322324#discussion_r1652824342, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFMEY7IWGWHTYSSW3IPMKDZJFV2XAVCNFSM6AAAAABJ3BEL2OVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDCMZYGY4DAMJUG4
.
You are receiving this because your review was requested.Message ID:
@.***>

Thanks.


Update connection parsing

Issue is #90.

Coverage: 71.338% (-0.4%) from 71.769% when pulling f16d187d9c4a00a79cd21dd630696ee9e8394f61 on 90.connection-parsing-fix into 333c8d04cdff1a76c7ba1f1b407753481ef2364f on main.


Notifications - Notification sound not coming in

Issue: If the User has only 1 friend added, and they are exploring through the app (not in that active chat) they won't get any sound when they receive new messages, like the app thinks the user is still in that active chat, even though they are in Settings/Files/etc. If the User is focused outside of the app Notification sound works fine
OS:
-Windows
-Mac
STR:
1, Add one friend on Uplink
2. Start a chat with them
3. Now leave the chat, but have the other user continue to message you
Screen recording:
https://user-images.githubusercontent.com/93608357/219460259-a04ffe4e-efef-4a18-97a8-506e6736a506.mov

Still replicated


How To Apply The Recommendations For chakracore.net.hosting

I see this recent update of the readme: https://github.com/JohnMasen/ChakraCore.NET/commit/7e0e2b96b58eb2efe64e870975107b1d944a42a3
I am wondering if and how I should apply these new recommendations to my project which integrates ChakraCore.NET.
To begin with, I am not yet sure if my project is currently using the chakracore runtime/context directly as mentioned in the readme, hence my question:
In my project, I call methods on ChakraCore.NET.ChakraRuntime and ChakraCore.NET.ChakraContext. Does this mean it is using the chakracore runtime/context directly?

based on your description, you’re using the runtime and context directly. The hosting namespace loads JavaScript class directly without runtime and context method call.
I’m preparing a new guide and sample to demonstrate how to integrate your c# and js with hosting namespace.

Thank you for the clarification.

I’m preparing a new guide and sample to demonstrate how to integrate your c# and js with hosting namespace.

Thank you, I am looking forward to it. In case there are more dependencies in the guide on how my current c# and js looks like, I am happy to demonstrate this.


dm: Fix panic in openapi

What problem does this PR solve?

Issue Number: close #8637
What is changed and how it works?
Check List
Tests

Manual test (add detailed scripts or steps below)

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
Fix a bug that causes the Swagger API info to return a failure

/cc @Ehco1996 @D3Hunter

/merge


I couldn't find the details where we can find the data_collection_rule_id and stream_name after creating the DCR for Custom Log

Type of issue
Missing information
Description
Hi,
I have not found the details of where we can find the data collection rule id and Stream name after creating the DCR for ingestion of log through api. could you please here to update the document or you can help here as well to where we can find the details.
Page URL
https://learn.microsoft.com/en-us/dotnet/api/overview/azure/monitor.ingestion-readme?view=azure-dotnet
Content source URL
https://github.com/Azure/azure-docs-sdk-dotnet/blob/master/api/overview/azure/latest/monitor.ingestion-readme.md
Document Version Independent Id
5da798d5-e439-c614-a39f-b57baf15207d
Article author
@azure-sdk
Metadata

ID: f40b578b-5251-044a-c16d-050d29b318dd
Service: monitor

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

@nisha-bhatia  could you please help here to find data collection rule ID?

Hi @anishsingh0302, this link has information about how to view details in the DCR: https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/data-collection-rule-overview?tabs=portal please let me know if you can't find what you need in here. I'll add it to the Ingestion docs as well.

Yes, I could not find here what will be data collection rule id and Stream name after creations of DCR here. you can specified or provide description document that Once DCR is created, we can find the details of these value on opening of view json file On DCR overview.


Add QueryPrinter for getting a string representation of a Query

Adds QueryPrinter
Resolves https://github.com/cozydev-pink/lucille/issues/107

With the simple string concat printer
[info] Result "pink.cozydev.lucille.benchmarks.QueryPrinterBenchmark.termQueriesPrint":
[info]   1243.056 ±(99.9%) 72.279 ops/ms [Average]
[info]   (min, avg, max) = (1154.453, 1243.056, 1339.269), stdev = 83.236
[info]   CI (99.9%): [1170.778, 1315.335] (assumes normal distribution)
[info] # Run complete. Total time: 00:40:03
[info] REMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on
[info] why the numbers are the way they are. Use profilers (see -prof, -lprof), design factorial
[info] experiments, perform baseline and negative tests that provide experimental control, make sure
[info] the benchmarking environment is safe on JVM/OS/HW level, ask for reviews from the domain experts.
[info] Do not assume the numbers tell you what you want them to tell.
[info] Benchmark                               (size)   Mode  Cnt     Score    Error   Units
[info] QueryPrinterBenchmark.orQueriesPrint     10  thrpt   20  3211.063 ± 96.092  ops/ms
[info] QueryPrinterBenchmark.orQueriesPrint    100  thrpt   20   430.307 ±  1.827  ops/ms
[info] QueryPrinterBenchmark.orQueriesPrint   1000  thrpt   20    41.614 ±  0.097  ops/ms
[info] QueryPrinterBenchmark.termQueriesPrint   10  thrpt   20  1285.718 ±  7.069  ops/ms
[info] QueryPrinterBenchmark.termQueriesPrint  100  thrpt   20  1308.197 ± 11.859  ops/ms
[info] QueryPrinterBenchmark.termQueriesPrint 1000  thrpt   20  1243.056 ± 72.279  ops/ms
[success] Total time: 2406 s (40:06), completed Dec 19, 2023, 8:30:50 PM

Benchmarks with the StringBuilder approach and also just calling .toString() on the Query case class as a sort of baseline:
[info] Benchmark                                       (size)   Mode  Cnt     Score     Error   Units
[info] QueryPrinterBenchmark.orQueriesPrint                10  thrpt   20  4913.727 ±  94.479  ops/ms
[info] QueryPrinterBenchmark.orQueriesPrint               100  thrpt   20   555.244 ±  19.572  ops/ms
[info] QueryPrinterBenchmark.orQueriesPrint              1000  thrpt   20    58.698 ±   0.279  ops/ms
[info] QueryPrinterBenchmark.orQueriesPrintOld             10  thrpt   20  3176.977 ±  85.412  ops/ms
[info] QueryPrinterBenchmark.orQueriesPrintOld            100  thrpt   20   430.566 ±   3.422  ops/ms
[info] QueryPrinterBenchmark.orQueriesPrintOld           1000  thrpt   20    41.384 ±   0.404  ops/ms
[info] QueryPrinterBenchmark.orQueriesPrintToString        10  thrpt   20  1077.642 ± 102.904  ops/ms
[info] QueryPrinterBenchmark.orQueriesPrintToString       100  thrpt   20   192.621 ±  28.387  ops/ms
[info] QueryPrinterBenchmark.orQueriesPrintToString      1000  thrpt   20    19.669 ±   2.172  ops/ms
[info] QueryPrinterBenchmark.termQueriesPrint              10  thrpt   20  1280.688 ±   6.515  ops/ms
[info] QueryPrinterBenchmark.termQueriesPrint             100  thrpt   20  1260.382 ±   9.133  ops/ms
[info] QueryPrinterBenchmark.termQueriesPrint            1000  thrpt   20  1255.772 ±  10.110  ops/ms
[info] QueryPrinterBenchmark.termQueriesPrintOld           10  thrpt   20  1243.494 ±  15.798  ops/ms
[info] QueryPrinterBenchmark.termQueriesPrintOld          100  thrpt   20  1222.824 ±  34.379  ops/ms
[info] QueryPrinterBenchmark.termQueriesPrintOld         1000  thrpt   20  1263.705 ±  17.696  ops/ms
[info] QueryPrinterBenchmark.termQueriesPrintToString      10  thrpt   20   680.583 ±   9.988  ops/ms
[info] QueryPrinterBenchmark.termQueriesPrintToString     100  thrpt   20   634.705 ±   9.397  ops/ms
[info] QueryPrinterBenchmark.termQueriesPrintToString    1000  thrpt   20   674.105 ±  17.697  ops/ms

These are in operations per second, so higher is better.
The Stringbuilder approach seems about 1.3-1.5 times faster than the string concatenation approach, an 3-4x fast that toString().
That the performance gap isn't larger makes sense, the string concatenation approach still leverages StringBuilders inside all the mkString calls.

I had been hesitant to call this "done" because it doesn't expose any configuration, in particular whether or not the printer should force in OR delimiters.
For example we parse the following query: cat hat and then print it back out as cat OR hat.
However, we also don't expose any configuration on the parsing side to explicitly say the default boolean (OR vs AND). So adding this in this PR would be a bit of work.
We should offer this configuration at some point, but perhaps it's better in another PR.
I think this PR is ready to go in its current scope.


Logical AND operator (&&) in animated view return value instead of render nothing.

Hi!
I came across this project and found it very suitable to my use case. However, some error occurred when I try to implement it.
Here is my video to showcase the issue:
https://github.com/alantoa/react-native-awesome-slider/assets/139465659/3b8a33b2-9aaa-4803-95b0-be68ba08125c
The following example can be pull from here

This is the references from react regarding this problem.
I have publish a PR to fix this issue.


Using "import" makes my namespace/module unavailable in other classes.

I have 2 TypeScript modules like below. In the second module when I import a module, the classes, modules in the same namespace won't be accessible ( seems they don't exist ).
MyName.Modules.ts:
module MyName.Modules{
    export class Class1 {
        Name:string;
    }
}

MyName.Modules.Extras.ts:
/// <reference path="MyName.Modules.ts"/>
/// <reference path="nunjucks.d.ts"/>

/* if I comment this line of code MyName.Modules.Class1 is available
and if I won't do it TypeScript compiler can't find it.
*/
import * as nunjucks from "nunjucks";

module MyName.Modules.Extas{
    export class Class2 extends MyName.Modules.Class1 {
        public DoNothing():void{

        }
    }
}

P.S: nunjucks.d.ts is just an example, It doesn't matter what you import ...

Isn't it related to:
Red Flags: https://www.typescriptlang.org/docs/handbook/modules.html
'Multiple files that have the same export namespace Foo { at top-level (don’t think that these are going to combine into one Foo!)'

When a file begins with a top level import or export statement, it represents an external module. This means that all of its exports must be imported explicitly. The first module you have written is what has been called an internal module or a namespace (the dedicated namespace keyword is now available and should be used to disambiguate internal vs external modules).
Anyway, I recommend something like
MyName/Modules.ts:
export class Class1 {
        Name:string;
}

MyName.Modules.Extras.ts:
import * as nunjucks from "nunjucks";
import { Class1 } from "./MyName/Modules.ts";

export class Class2 extends Class1 {
        public DoNothing():void{
        }
    }
}

You will need to set the compilerOptions.module property in your IDE/tsconfig.json.

Need to add this to the FAQ.

@aluanhaddad Thanks. It'll solve my problem.
P.S:
Yesterday I read TypeScript handbook but I didn't find you mentioned.

FAQ entry: https://github.com/Microsoft/TypeScript/wiki/FAQ#why-did-adding-an-import-or-export-modifier-break-my-program

This needs to be re-designed. If later on an import is required into a file that originally had no imports, that would create a ripple effect throughout the entire code base.

use --module none if you do not intend to use modules, this way you will get an error once you have a top-level import or export.

Didn't say I don't intend to use modules. The simple fact that an import extracts that particular file out of its original scope and isolates it into a module, without even bringing the original namespace originally spaced out across multiple files with it, is simply a cop-out design for this feature.

If you're using a module loader, everything you do is already in its own scope.
It's not constructive to call it a "cop out" to accurately model the behavior of an existing system. What code would you propose we emit for an AMD-targeting program?

The namespace should remain intact, that's all I'm saying. I don't see any reason why it shouldn't. The isolation is now performed very rudely on files, instead of intelligently being done on logical groupings.

@MoonStorm I sympathize with your regarding modules, but this is not a failure on the part of the TypeScript team, it is rather a direct consequence of the module specification.
The ECMAScript module specification defines physical modules not logical ones. While this has certain advantages, it's arguably a lower level of abstraction then what could be achieved through a logical module format. However by deviating from the specification, TypeScript would set itself up for long-term compatibility concerns.

Thanks for that @aluanhaddad . The situation is much more clear now.
So what's the solution then? Keeping everything in one TS file? Have one module per TS file? No thank you. It seems that the only common sense proposition for medium to large scale projects seems to be coding in a module-less manner and mash everything up at build time, however in this case the entire module support in Typescript can be thrown out the window. What is the general consensus on the matter?

The recommendation would be to code in modules and use a module bundler, like webpack, browserify or r.js for your output.

por que miguel por que

@MoonStorm the general consensus is to go ahead and use ES Modules, and to explicitly import every construct from every file where needed. Something many use is an organizational convention where groups of modules, that is files, are re-exported by a co-located file generally named index.ts. Often this file itself is dozens of lines long.
That said, if namespaces are working well for you, you can keep using them and you can still work with modular libraries via UMD style declarations and UMD bundles.
That said moving to ES Modules is a good idea because that's where everything seems to be headed and the support will be there.

Thought I'd chime in here, because it was just last week that I was complaining about this.
It is super unintuitive to go from using namespaces to using file modules. There's something inherently jarring about having individual files "knowing" about other individual files, physically (without additional work). I think the disappointment as far as being a TypeScript consumer goes is that there wasn't some whizbang magic solution that preserved the behavior of namespaces in TS files and completely hid the notion that one potential implementation of a namespaced system is by using window level globals.
From my POV, TS should be smart enough to allow the conveniences of namespace syntax while still, behind the scenes, following modern module loading patterns. The fact that it doesn't makes me think that there should be big red tape everywhere we mention using namespaces saying "Absolutely do not do this, you will regret it in 1-12 months".

What we have seen working with teams to migrate to modules that most of the time is about the logic and figuring out what is your dependency tree, more than actually switching to the module syntax/module loader.
when using namespace, all your code is in one place, and you have everything can access everything, once the initial load is done.
once you move to modules you need to answer the question, what is a module, what components can be loaded by themselves, and what components can not exist without another, and thus should be loaded together.
Sadly these are not things that the compiler can just know. it does not know if all declarations in a file should transition to a module because they are logical entity that need to live together, or they were placed in this file because it was convenient when this code was written. it does not know if a namespace should be split into two or modules, because the original design did not account for different load times or not.
The main source of frustration is that modules and namespaces are eerily similar in syntax to modules, yet they are completely different beasts; developers usually think the transition between these two constructs can not be that big, yet it is.


RFM - Lammer Context Menu

Current Maintainer

[X] I am the maintainer of the package and wish to pass it to someone else;

I DON'T Want To Become The Maintainer

[ ] I have followed the Package Triage Process and I do NOT want to become maintainer of the package;
[X] There is no existing open maintainer request for this package;

Checklist

[X] Issue title starts with 'RFM - '

Existing Package Details
Package URL: https://chocolatey.org/packages/lammercontextmenu
Package source URL: https://github.com/brutaldev/chocolatey-packages/tree/master/LammerContextMenu
Package is currently not passing verification which I suspect is due to the fact that the latest installer is not completely silent or has a dependency not available on the new server-based testing instances (such as .NET 4.x).

@brutaldev Are you listing this package for a new maintainer purely because you cannot get it through testing?

@pauby No, I have no time to maintain any packages other than my own software so I'm handing ll of them over to whoever wants to look after them. I've submitted quite a few packages here to find new maintainers. Was just providing additional information for the potential maintainer(s) to be aware of.

@brutaldev Thanks for clarifying that.

Status: In progress

Waiting to be added as maintainer (request already sent to Chocolatey contact-site admins).
Corrected package with .Net 3.5 as dependency is ready to be submitted: https://github.com/chtof/chocolatey-packages/tree/master/manual/lammercontextmenu

@chtof Added you as a maintainer.

Status: Review
https://chocolatey.org/packages/lammercontextmenu/<IP_ADDRESS>1

Status: Published
https://chocolatey.org/packages/lammercontextmenu/<IP_ADDRESS>1
Can be closed.


Deploy beta version

Deploy the beta release of Apinf on Apinf.io.
Definition of done

[ ] Re-purpose apinf.io VM for Apinf (Meteor).
[ ] Deploy Apinf to re-purposed VM.
[ ] Configure Apinf deployment to use umbrella.apinf.io as backend.
[ ] Make other configurations

[ ] admins
[ ] Github
[ ] Mailgun
[ ] Elastic

[ ] Create re-direct from Apinf.com to Apinf.io.

@ccsr Beta release is now available.
@elnzv Please assist @ccsr by providing credentials and configuration information for beta deployment.

@bajiat I can easily do it myself. @ccsr, couple things: VM address (with root access) and domain name.

@elnzv What's the status? Have you registered as the first admin in the deployment? Did you install the SSL certificate?


Is wasm-bindgen-rayon actually needed?

Hello! I see the note... but I'm able to compile and run with the following (and note... no mention of wasm-bindgen-rayon):
#!/usr/bin/bash
set -xeo pipefail
PORT=8080
cargo install trunk miniserve
cargo new rayon-wasm-test
cd rayon-wasm-test
touch index.html
cat <<EOF >Cargo.toml
[package]
name = "rayon-wasm-test"
version = "0.1.0"
edition = "2021"

[dependencies]
rayon = "1.7.0"
wasm-bindgen = "0.2.85"

[dependencies.web-sys]
version = "0.3.62"
features = [
    "console",
]
EOF
cat <<EOF >src/main.rs
use std::collections::HashMap;
use rayon::prelude::*;
use wasm_bindgen::JsValue;

fn main() -> Result<(), JsValue> {
    let map = HashMap::from([("a", 1), ("b", 2), ("c", 3)]);
    if let Some(b) =
        map
            .par_iter()
            .find_map_any(|(k, v)| if k.starts_with('b') { Some(v) } else { None })
    {
        web_sys::console::log_1(&JsValue::from_str(&format!("b = {b}")));
        // prints "b = 2" to console log
    }
    Ok(())
}
EOF
trunk build
cd dist
miniserve -vp $PORT --index index.html

Then surf to http://localhost:8080, open developer tools console, and should see "b = 2".
So... I'm wondering... is it falling back to sequential iterators? Or is it in fact using web workers? Or is something else going on? Thanks!

is it falling back to sequential iterators?

Roughly, yes, since #1019. I suppose we could mention that fallback in the README, but true multi-threading still requires outside help.


More of a question than an actual issue

Do you plan on implementing more of Endergy's End biomes + mobs + misc content in the future?
I've collected many of his posts, for you to look through. I probably likely did a duplicate of something in already, but eh, I'm tired.
https://www.reddit.com/r/minecraftsuggestions/comments/91o7et/new_end_monster_the_corruption_concept_art_of/
https://www.reddit.com/r/minecraftsuggestions/comments/9a1s7n/another_new_end_biome_the_barrends_the_creepy/
https://www.reddit.com/r/minecraftsuggestions/comments/96rns0/new_end_biome_the_purhogany_jungle_an_wild/
https://www.reddit.com/r/minecraftsuggestions/comments/98bis8/another_new_end_biome_the_ender_acid_volcano/
https://www.reddit.com/r/minecraftsuggestions/comments/9hap1g/the_end_well_portal_needs_a_redesign_here_is_how/

Possibly in the future, there were lots of cool things in those suggestions I didn't have the chance to add during the spooking jam. Recently tho, just haven't had much motivation to play or mod MC.


[PL-56270]: DEL 24.07.83609 Hotifx RN

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: DEL 24.07.83609 Hotifx RN
Jira/GitHub Issue numbers (if any): PL-56270
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66c4640b34addeed29ce8c45--harness-developer.netlify.app


update github solidarity config for IPI manifests path

Needed for https://github.com/RedHatQE/openshift-cli-installer/pull/332

/lgtm

/verified


[unit-test] properly configure operational dataset

Followup to #502

Codecov Report

Merging #503 (7a009e2) into main (d967477) will increase coverage by 0.04%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #503      +/-   ##
==========================================
+ Coverage   49.82%   49.86%   +0.04%
==========================================
  Files          38       38
  Lines        4610     4610
==========================================
+ Hits         2297     2299       +2
+ Misses       2130     2129       -1
+ Partials      183      182       -1

see 1 file with indirect coverage changes


Remove html versions of notebooks

Github now supports natively rendering Jupyter notebooks in the web UI. Additionally, I tried downloading one of the html files and it includes broken images. See the following example.

I can put together a PR to remove these files if the owners of this project think this is reasonable.

I'd love your contribution! There's a lot here that could use improving, but I have pretty limited time to do it, so this would be lovely. Thanks for your interest!

Were you still interested in doing this, @matthagy ? If not I should put it on my list, as I'm getting ready to do this course again. :)

Resolved in #98


Update setup instructions

Fix setup instructions for applying experiment CRs

LGTM. Could you also synchronize the changes to PlantD-website repo (should be in docs/tutorial/installation.md)?

@tomzhu1024 Here is the PR to update the instructions in PlantD-website repo https://github.com/CarnegieMellon-PlantD/PlantD-website/pull/2

Nice, merged. I'll close this PR then.


Fix second skin layer not rendering in 1.14.x -> 1.16.x

#142

Bug fixes! Always welcome :)
Merging. 👍


Volar does not recognize component is not imported in Vue 2.7

Steps to reproduce:

Create component HelloWorld
Put the component into another component:

<HelloWorld />
Expected result:
Volar shows an error in VSCode that the component is not registered
Actual result:
Volar does not show the information.

Duplicate of #2291


(Try to) clarify type smileys for .DEFINITE-ness

Based on conversation with @zoffixznet, try to add more context (and
definiteness) to the current elaboration for the :D, :U, and :_
type constraints.  I realize this is also a good place here to show type
objects and instances, to support the concept of definiteness.
Fixes #1469.

👍 Thanks!

Thanks too! 🎉


How to handle orientation change when autodismiss is off?

Android closes the dialog  unhappy - it logs an error android.view.WindowLeaked - when autoDismiss is turned off and the user changes the phones orientation.
If users of material-dialogs do not need to worry about that of if we need to do something about that, some documentation in the readme would be welcome. Currently the readme only comments on the cases where an action button is pressed or the user selects a list item.

That's not an issue with this library, that's how dialogs on Android work.
Use a DialogFragment.


Symbol resolution failure running java -version with OpenJDK8_ppc64_AIX_jdk8u141-b15

I downloaded the latest binary of OpenJDK8_ppc64_AIX_jdk8u141-b15
and tried to run java -version on several aix ppc64 machines that I have access to (each with slightly different versions of AIX), and encountered a variety of symbol resolution failures.
Here are some examples (AIX5.2/AIX6.1/AIX7.1 respectively):
aix52vm5% ./java -version
exec(): 0509-036 Cannot load program java because of the following errors:
rtld: 0712-001 Symbol ___strcmp64 was referenced
from module java(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol ___strcpy64 was referenced
from module java(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol __pth_init was referenced
from module java(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol __pthread was referenced
from module java(), but a runtime definition
of the symbol was not found.
rtld: 0712-002 fatal error: exiting.

aix61compvm15% ./java -version
exec(): 0509-036 Cannot load program java because of the following errors:
0509-130 Symbol resolution failed for java because:
0509-136   Symbol ___strcmp64 (number 9) is not exported from
dependent module /usr/lib/libc.a[shr_64.o].
0509-136   Symbol ___strcpy64 (number 12) is not exported from
dependent module /usr/lib/libc.a[shr_64.o].
0509-192 Examine .loader section symbols with the
'dump -Tv' command.

aix71p7vm35% ./java -version
Error: dl failure on line 893
Error: failed /openjdk/jdk8u141-b15/jre/lib/ppc64/server/libjvm.so, because       0509-130 Symbol resolution failed for /openjdk/jdk8u141-b15/jre/lib/ppc64/server/libjvm.so because:
0509-136   Symbol __setjmp (number 50) is not exported from
dependent module /usr/lib/libc.a[shr_64.o].
0509-022 Cannot load module /openjdk/jdk8u141-b15/jre/lib/ppc64/server/libjvm.so.
0509-026 System error: Cannot run a file that does not have a valid format.
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
Do I need a particular machine configuration or to setup?

@smlambert I would expect problems on anything before AIX7, but what's the output from "oslevel -s" on your 7.1 machine? It works ok on mine:
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal-jenkins_2017_07_19_05_28-b00)
OpenJDK 64-Bit Server VM (build 25.71-b00, mixed mode)
$ oslevel -s
7100-03-05-1524```

Ok, thanks, I see that 7100-04-00-0000 does work:
aix71p8vm1% ./java -version
openjdk version "1.8.0-internal"
OpenJDK Runtime Environment (build 1.8.0-internal-jenkins_2017_07_19_05_28-b00)
OpenJDK 64-Bit Server VM (build 25.71-b00, mixed mode)
but the machine I originally tried on was 7100-01-03-1207.

Adding the important tag mostly because we need to conclude whether it should work on earlier versions or if we're just going to support the later OS releases based on the information in https://github.com/AdoptOpenJDK/openjdk-build/wiki/[WIP]-Minimum-OS-levels - my gut feel is the latter unless there is demand for anything else.

Fixed some time ago


Split out arena crate

I’ve recently needed a simple arena, and have found that the implementations of crates like typed-arena, vec-arena, id-arena, slab, compact-arena and trove are all more complex than the simple Vec<T> in rust-analyzer’s arena. Although this complexity provides more features, these features are not ones that I need. Is splitting out the arena crate into a separate repository and crates.io package something that you would consider?

I think we could, but there's not much code in the anyway.
I should probably take a look at the other crates that you mentioned, now I'm curious what they do differently

I think we could, but there's not much code in the anyway.
I should probably take a look at the other crates that you mentioned, now I'm curious what they do differently

I would just write the implementation myself since it’s so simple, but I thought it might be better to split it out from here instead to avoid duplication.

I would just write the implementation myself since it’s so simple, but I thought it might be better to split it out from here instead to avoid duplication.

couldn't resist another Borges pun: https://github.com/rust-analyzer/rust-analyzer/pull/7271. But I also wanted to experiment with the /lib dir forever.
@arzg could you send a PR which fills-out Cargo.toml metadata and provides basic docs?

couldn't resist another Borges pun: https://github.com/rust-analyzer/rust-analyzer/pull/7271. But I also wanted to experiment with the /lib dir forever.
@arzg could you send a PR which fills-out Cargo.toml metadata and provides basic docs?

Could someone please publish a new version of la-arena that incorporates the recent changes? I think it might be a good idea to move the crate to a separate repository to avoid changes being made without new versions being published.
Thank you for getting this done so quickly!

Could someone please publish a new version of la-arena that incorporates the recent changes? I think it might be a good idea to move the crate to a separate repository to avoid changes being made without new versions being published.
Thank you for getting this done so quickly!

published 0.2
On Sun, 17 Jan 2021 at 11:18, Aramis Razzaghipour<EMAIL_ADDRESS>wrote:

Could someone please publish a new version of la-arena that incorporates
the recent changes? I think it might be a good idea to move the crate to a
separate repository to avoid changes being made without new versions being
published.
Thank you for getting this done so quickly!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rust-analyzer/rust-analyzer/issues/7267#issuecomment-761752884,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANB3M74ZONXT7JTMHXHBNLS2KMNTANCNFSM4WCK2VGQ
.

published 0.2
On Sun, 17 Jan 2021 at 11:18, Aramis Razzaghipour<EMAIL_ADDRESS>wrote:

Could someone please publish a new version of la-arena that incorporates
the recent changes? I think it might be a good idea to move the crate to a
separate repository to avoid changes being made without new versions being
published.
Thank you for getting this done so quickly!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/rust-analyzer/rust-analyzer/issues/7267#issuecomment-761752884,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANB3M74ZONXT7JTMHXHBNLS2KMNTANCNFSM4WCK2VGQ
.

Let's close this. The crate is published, even though the question of having a separate repository is still pending.

Let's close this. The crate is published, even though the question of having a separate repository is still pending.


Prog8 language detected as Lua

Problem Description
The Prog8 source code is detected as Lua language.
URL of the affected repository:
https://github.com/akubiczek/p8checkers
Last modified on:
2020-12-02
Expected language:
Prog8
https://prog8.readthedocs.io/en/latest/
https://github.com/irmen/prog8
Detected language:
Lua

This is happening because Linguist doesn't know anything about the "Prog8" language and currently only associates the .p8 extension with Lau:
https://github.com/github/linguist/blob/633d196c170e002bcccb4143d6906787f360e08b/lib/linguist/languages.yml#L3031-L3051
Unfortunately, as Linguist doesn't know about the language, you can't implement a workaround, however if Prog8 meets the requirements detailed in CONTRIBUTING.md, we'd be happy to accept a PR.

Quite difficult to search for usage using GitHub search, but using keyword ubyte gives <100 files and 26 repos, so I don't think this meets the requirements.

Yep, that's correct.
@akubiczek Until Prog8 satisfies the distribution criteria, you can "fix" the Lua misclassification by adding a .gitattributes file containing the following override:
*.p8 linguist-language=Text

Or if you want to repurpose another language's highlighting because it's syntactically similar (but obviously don't want it affecting classification), you can try:
*.p8 linguist-language=C linguist-detectable=false

(Note that I actually haven't tested this. YMMV…)
Because Text is recognised by Linguist as a prose-type language, it doesn't influence a repository's classification or language statistics. This hack tends to make a decent halfway-point between misrepresentation and support/recognition on GitHub.com.


fix(resources): update resources. Fixes HELP-1818

For the ones that have not seen HELP-1818; it's a request by the new Network Director so the changes are CD approved

:tada: This PR is included in version 1.32.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


TTNN atan2 op is reversing order of args

Blocked by metal issue with detailed description: https://github.com/tenstorrent/tt-metal/issues/14470
This is blocking us from implementing StableHLO to TTIR conversion for atan2 OP https://github.com/tenstorrent/tt-mlir/pull/1056.
Op is not used in models.
Easy workaround would be to switch arguments during ttir -> ttnn conversion.

FYI @tt-mpantic

Closing as it is excessive. Issues that referenced this one will reference metal issue directly.