Split ElastAlerter class into multiple parts

Currently mostly everything except finding matches in rules and sending alerts is done in the gigantic ElastAlerter class. Different requests to Elasticsearch are decided by a whole series of if conditions. This is very unclear and makes it hard to implement a new variant of Elasticsearch query, if needed for a new rule_type.
To structure this, the query parts and everything connected to this can be moved to query classes. One class for normal Elasticsearch queries, one for terms queries, one for count queries and one for aggregation queries. Also parts of the rule execution can be moved to a rule class (base class for RuleType). In this way the execution of a rule is handled by the rule itself and the query part is handled by a query object.
A possible way to do this is in https://github.com/JasperJuergensen/elastalert.

Yelp/elastalert is no longer maintained. Please use jertel/elastalert2.
https://github.com/jertel/elastalert2


Installing Docker: FAILED

I'm having issues when I get to the mupx setup command in the README.
Meteor Up: Production Quality Meteor Deployments
------------------------------------------------
Configuration file : mup.json
Settings file      : settings.json

“ Checkout Kadira!
  It's the best way to monitor performance of your app.
  Visit: https://kadira.io/mup ”

Started TaskList: Setup (linux)
[My IP Address] - Installing Docker
[My IP Address] x Installing Docker: FAILED

	-----------------------------------STDERR-----------------------------------
	bash: line 4: docker: command not found
	rm: cannot remove ‘/var/cache/apt/archives/lock’: No such file or directory
	W: Failed to fetch https://apt.dockerproject.org/repo/dists/ubuntu-vivid/main/binary-amd64/Packages  Hash Sum mismatch

	E: Some index files failed to download. They have been ignored, or old ones used instead.

I always seem to get this error but I have no idea what is wrong. Can anyone help?

+1

Same issue all of sudden on a fresh machine (ubuntu server 16.04).

Official only Ubuntu was supported (before the new version at kaditahq/meteor-up) but 15 was okay so I'd be surprised if Ubuntu 16 doesn't work?  Anyway to confirm that would be nice.
Can anyone experiencing this problem 'manually' install docker on the target machine via SSH etc. and confirm a simple hello world type container works?

In my case I had problems with the locale. So once that was fixed, then it was fine. :)


Catalog of My Things: Kanban Board

PROJECT BOARD
Below is a link to the Kanban Board for this project:
Kanban Board via Projects
The project comprises 3 team members:

@peterdtitan (team member 1)
@preciousbetine (as member 2)
@Yidnekachew-cmd (as member 3)

Following this, the project requirements and tasks have been broken down evenly amongst the collaborators in this order.

Hi @peterdtitan,
Good job so far!
There are some issues that you still need to work on to go to the next project but you are almost there!

Highlights

Group work ✔
Good implementations ✔

Required Changes ♻

[ ] [REQUIRED] Good job so far! All cards should have the number of points in the [Xpt] prefix and assigne to team members like your other cards, please implement it provided below the card 🙏🏼

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Fuzz Testing Multiple ABI and BIN Files

Dear Author,
I hope this message finds you well. I have read your article and attempted to replicate the tool. Following the usage guide provided in the README, I was able to successfully fuzz a single .bin and .abi contract and identify vulnerabilities.

However, when a contract generates multiple .abi and .bin files after compilation, how should I use the command to conduct fuzz testing in this case?

If a source code file contains (defines) multiple contracts, then the compiler will generate multiple .bin and .abi files. This often occurs when one contract inherits another one.
In such case, you must manually decide which is the contract that you want to test, and provide appropriate one to the testing tool. For this reason, other testing tools (especially source-based testing tools) also ask the user to specify the target contract to focus on.

thanks!


Need to specify sa namespace when create clusterrolebindings.

Fixed https://github.com/kubernetes-sigs/federation-v2/issues/145
/cc @marun @shashidharatd @onyiny-ang

This is undoing some of #139, which makes me think we need to have a CI test for join to validate PRs.

/approve


Feature request / community question: option not to output headers

Hello everyone,
In xsv there is an option to ignore the input's headers, which is fine, but we don't have an option not to output the headers.
Here is why I think it could be useful: I often find myself wanting to pipe the output of a simple xsv select to xargs and friends. But the presence of the header prevents me from doing so.
Does anyone knows of a clever trick to ignore the first line of a stream (which is always a drag in unix and not straigthforward when dealing with CSV data since adventurous users may use carriage returns in header names, sigh)? Or could this be a useful addition?

I think it would be a useful option, but you can use xsv select … | tail -n +2 to omit the headers.

x-ref https://github.com/BurntSushi/xsv/issues/168

Why was this closed? This would be very convenient.

| tail -n +2

As an alternative, xsv slice -n --start=1 is working for me.

Agreed, this would be very nice. Seems an obvious time saver.


Update NetworkRigidbody.md

good find, seems that it was more than just a typo, I've corrected it here instead https://github.com/vis2k/Mirror/commit/b82f4a1f34cd7496264f1205cc7e3ad0a4669f10


Feature request: Simple upload images and files like in django-ckeditor

Usually clients wants to upload file and generate source code for uploaded images via editor

Thanks for the issue. I don't think I'm going to add an image upload because there's so much infrastructure work to do for image handling, and also, generally, I have documented my views on this here:
https://github.com/matthiask/django-prose-editor?tab=readme-ov-file#about-rich-text-editors

but it works in django-prose
maybe they won't mind sharing a ready-to-use solution?

django-prose builds on Trix (https://trix-editor.org/), that's a completely different foundation to build an editor on, so we couldn't just use it 1:1.
Still interesting to look at their implementation of the upload view. It seems there's no media library, it's just attachments without a way to browse the uploads later. That seems quite straightforward to implement.
I'm still thinking about ways to extend the editor in project-specific environments, I'd want to solve that first.

What's about: https://prosemirror.net/examples/upload/ ?

Yes, that would probably be the way to implement it.


error_prone_annotations dependency is inconsistent in this repo

We have errorprone.version defined in
https://github.com/googleapis/sdk-platform-java/blob/f5f201e9846c46f6e7241a15674d28711fe984f4/java-shared-dependencies/third-party-dependencies/pom.xml#L33
We have error_prone_annotations with a different version in
https://github.com/googleapis/sdk-platform-java/blob/f5f201e9846c46f6e7241a15674d28711fe984f4/api-common-java/pom.xml#L66

Maybe it's better if we declare it in shared-config

https://github.com/googleapis/sdk-platform-java/pull/2574 works around this, for now.


equipages, bradykinesia (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


Format of canvas image_data

To further proceed with the canvas result, image_data, I need to know its type to work with opencv. Can you suggest a way that will work for opencv functions as well as displaying the image with st.image()

Hello @deepika2502 ,
Thanks for reporting, you're right I didn't specify the typing of image_data in the docs. It's a (height, width, 4) numpy array representing the RGBA values at the given pixel position. You can directly display if with st.image(canvas_result.image_data).
I did not test but judging from https://stackoverflow.com/questions/7587490/converting-numpy-array-to-opencv-array#7587819 you'll need to convert the numpy array to cv array beforehand with cv.fromarray.
You can also convert if to a Pillow image, which I think OpenCV can work on:
from Pillow import Image
im = Image.fromarray(img_data)

Hope this helps,
Fanilo

Hello, I tired converting the canvas image using pillow and then to opencv, but it only lead to more errors. I couldnt display the image using st.image() and sometimes there was an issue with the no of channels. This has 4 which I found last night. Is there a way to eliminate the 'A' from RGBA? and save the array?

Hello, Thank you for the response. I figured it last night and converted the canvas image to opencv format, eliminating the A from RGBA. I cannot display the image using st.image() now. It gives a black picture

Hello, Thank you for the response. I figured it last night and converted the canvas image to opencv format, eliminating the A from RGBA. I cannot display the image using st.image() now. It gives a black picture

Hey, I figured it out. Thank you (:

For anyone else who stumbles across this and wonders "what was the answer in the end", I've made it work with the following, assuming img_2d is a 2D greyscale image (numpy array) with float intensities in the range (0, 1):
from PIL import Image

display_img = (
    Image.fromarray((img_2d * 255).astype(np.uint8))
    .resize(img_2d.shape)
    .convert("RGB")
    )

For anyone else who stumbles across this and wonders "what was the answer in the end", I've made it work with the following, assuming img_2d is a 2D greyscale image (numpy array) with float intensities in the range (0, 1):
from PIL import Image # note that this is using 'Pillow'

display_img = (
    Image.fromarray((img_2d * 255).astype(np.uint8))
    .resize(img_2d.shape)
    .convert("RGB")
    )

canvas_result = st_canvas(..., background_image=display_img)

Hello @komodovaran, thank you for adding a solution

Sorry, if I didn't understand this currently.
But in my case after uploading an image and drawing something on it I would like to get the drawing as well as the image that was uploaded back.  st.image(canvas_result.image_data) only displays the drawing and not the uploaded image in bg.

Hi @murtazabasu,
Unfortunately it is not possible for now :/ it's technically a bit of a pain to do as the drawing and background image are on different canvases on the JS side.
I think you should be able to superimpose the drawing and the image on the Python side though (https://pythonexamples.org/python-opencv-add-blend-two-images/)

Sorry, if I didn't understand this correctly.
But in my case after uploading an image and drawing something on it I would like to get the drawing as well as the image that was uploaded back. st.image(canvas_result.image_data) only displays the drawing and not the uploaded image in bg.

Thank you for the reply @andfanilo
I solved it using PIL.
bg_image = st.sidebar.file_uploader("Base image:", type=["png", "jpg"])
image = Image.open(bg_image)
canvas_result = st_canvas(
    stroke_width=stroke_width,
    stroke_color=stroke_color,
    background_image=image,
    update_streamlit=True,
    height=image.size[1],
    width=image.size[0],
    drawing_mode=drawing_mode,
    key=key
)
uploaded_image = Image.fromarray(np.array(image))
drawing = Image.fromarray((canvas_result.image_data).astype(np.uint8))
uploaded_image.paste(drawing, (0,0), mask=drawing)  # super imposed image


evaluation results available?

Looks like, with SSA, it becomes possible to compare the performances of SAM against SOTA on popular benchmark datasets. Would you report the validation results of SSA for semantic segmentation or instance segmentation on AED20k or coco?

Thank you. We have introduced a close-set semantic segmentation pipeline and tested its performance on both Cityscapes and ADE20K in the README. We will include more benchmark results soon.


Allow setting a volume attach limit per node

It is a common concept for CSI drivers to advertise the maximum allowed number of volumes per node, so that kube-scheduler can honor that limit and cap pvcs per node/host.
This is briefly documented by Kubernetes here: https://kubernetes.io/docs/concepts/storage/storage-limits/.
The CSI spec caters for that via a max_volumes_per_node attribute in NodeGetInfo https://github.com/container-storage-interface/spec/blob/master/spec.md#nodegetinfo.
Trident should provide a flag to allow cluster admins to set limits according to their environments and ideally propose a default value for the flag.
Related approach has been followed in other CSI drivers like aws-ebs-csi-driver: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/pull/522
This is currently affecting us, as we are trying to limit pvcs to ~20 per node in a busy cluster, after profiling our nodes and workloads during events such as a link loss, and could really help with cluster stability in some cases.

Hi, I patched and tried the following change in one of our lower environments: https://github.com/NetApp/trident/commit/2d9888f584dc7e51a5a070d63b190eba20d42304 and seems to do what we are requesting. Setting the specified flag (based on our patch) to -volume_attach_limit=10 will modify the drivers allocatables count, while not setting it will allow unlimited vols per node. For example, kubectl describe csinodes.storage.k8s.io gives:
Spec:
  Drivers:
    csi.trident.netapp.io:
      Node ID:  worker-0.exp-1.merit.uw.systems
      Allocatables:
        Count:        10
      Topology Keys:  [topology.kubernetes.io/zone]

and trying to schedule more trident volumes to a node will result in something like:
Events:
  Type     Reason            Age   From               Message
  ----     ------            ----  ----               -------
  Warning  FailedScheduling  32s   default-scheduler  0/8 nodes are available: 1 node(s) exceed max volume count, 2 node(s) had taint {node-role.kubernetes.io/master: }, that the pod didn't tolerate, 5 node(s) didn't match Pod's node affinity/selector.

Let me know if you find this useful and want me to raise a PR against trident.

Closing. NetApp support suggested that we use Kubernetes taints and tolerations to spread load in the cluster and do not intend supporting a limit from the driver.

The spread constraints feature is probably the best way to prevent too much I/O load from ending up on any one node. Alternatively, other forms of pod anti-affinity can be used.
The reason I'm not in favor of using volume-attach limits is that it's designed for hard limits, where the difference between N volumes and N+1 volumes is make or break, regardless of I/O load. It would be nice if, some day, Kubernetes supported IOPS quotas and I/O load could be managed like other resources, but for now we can use the spread constrains to get a mostly good outcome.

thanks for the reply @bswartz. One of the cases we are trying to protect against is an attachment and path reinstating storm after a link loss is resolved, so we think that an hard upper volumes limit per node could be valuable for our setup. It will give us an extra layer of protection and will allow us to do operations with less or even no downtime at all. Regardless, we are exploring other existing kube mechanisms to achieve the same, as you mentioned above.


No unique ID?

i am wondering how to add unique ID for these entities from my S1c?
This entity ('sensor.broadlink_s1c_door_sensor') does not have a unique ID, therefore its settings cannot be managed from the UI. See the documentation for more detail.

It is normal, you can use customization


Enable code folding and collapsing

I searched but couldnt find this in the issues. Id love to be able to collapse sections of the code. Any thoughts?

https://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/7752321-add-code-folding-support
https://github.com/Microsoft/vscode/wiki/Roadmap

Now that is being developed, I have a few suggestions:

Please add support for this code folding operation (I don't know what to call it):

Fold all blocks
Unfold the block that the cursor is currently in (where it was located before the fold all command)

In the ACE Editor this is called 'FoldOther' and it is bound to hotkey Alt+0 by default. Try it out here (put your cursor inside of a function block and press Alt+0; Shift+Alt+0 then unfolds all).
This folding operation is incredibly useful because it allows you to quickly collapse everything except for the block of code you're currently looking at - which lets you focus on a single block of code.

Please make all curly braces create a folding block in C-style languages
Example: In Visual Studio (not visual studio code) - curly braces only produce a folding widget for classes and members, which is why this plugin exists. The problem is the plugin has major performance issues in large files, which is something that can be avoided if the proper folding support is added natively. Note: This should be supported in ALL C-style languages including: C, C#, JavaScript, Java, etc...

Please include support for region folding in all C-style languages
Regions are officially part of C#, but not other C-style languages. However, they are useful in other C-Style languages.
The ACE Editor already has support for this type of folding.
This feature should have an option to turn it off, because for every person that loves regions, there is another person who hates them.
Also, it would be great to have this for SQL-Server (Microsoft's SQL) mode (once the language is added). I personally created a SQL Server mode for the Ace Editor and I included this feature. Try it here: Select 'SQLServer' for the document in the top left corner.

:+1:

+1

I have trouble working with large files without code folding, may switch to other editors for a while until vs code gets this

I would like notepad++ compatible code folding:

//{ This folds
code here
//}

Important feature indeed.
With Netbeans, we can also add  tags to create a folding block.

Hopefully this will work in all languages for curly braces including PowerShell and Javascript and not only C languages. Comment folding would be nice to.

A first version of this feature will be on the February release.

A first version of this feature will be on the February release.

:+1:

1 day left in this month... should we have asked which February? :)

Folding function must be in March 31st to have it?

@hulang See the release dates here https://github.com/Microsoft/vscode/issues/2616

After update to latest version of VSCode (0.10.10) if found that folding doesn't work for recommended C# comment tags. ( https://msdn.microsoft.com/en-us/library/5ast78ax.aspx )

#REGION folding seems missing.

Don't understand why Visual Studio Code team not adding this #region #endregion feature still after so many builds of theirs. Its a must for their product.

Please add #region #endregion feature. Its a must for well management code.

+1 for #region #endregion, needs to be added!

And for typrescript/javascript:
//#region
code here
//#endregion
would also be great!

#region and #endregion would be amazing for JS

+1 for #region and //#region.

yes!

Another request for #region folding here.

Same here, would love it for C#, TS and JS.

would like it too 😄

+1 for PHP in both Visual Studio and WebMatrix

even Intellij Idea supports //region folding

Really wish region folding was implemented in VSCode!

How to I disable it? I do not want the pluses to take my horizontal space.

when you use a small screen it becomes relevant. I have just disabled them by searching for folding in "preferences"

Hello i want this for CSS is this implemented yet? I see that the issue is closed. Thanks for making this great editor btw.

@ColacX The current folding only depends on indentation and is not language aware.
The request for language aware folding is #3422


Filter event by time

Reference: https://www.figma.com/file/VceN562hgOF0bRhg5t32Vz/Events-filtering?node-id=231%3A1132

add A/B testing with feature-flags (create a new one)
time rage should be the same used to show the event time

examples:

https://decentraland.litebox.ai/openings?experienceFrom=0&experienceTo=20
https://github.com/nicolasgalano/talent-hub/tree/develop

Related to PR #142


Implement for par_iter and par_iter_mut on Query

Shouldn't that variant be called par_map?

Alright, I rewrote the whole thing, and now it exposes par_iter methods on queries which let you use the parallel iterator interface in bevy_tasks.

I find myself in need of this PR. I have many places where I am filtering, and collecting based on query-data, and I wish to make these parallel executed.
If I can help with this PR, then that would be great.

What is the status of this MR ?

I'll fix it up eventually, though probably not that soon, given it's likely to break again.

@TheRawMeatball, are you interested in cleaning up the PR description and rebasing? Or should this wait on future work.
Totally fine if it's not a priority, but I'll add a Abandoned label so other folks know to pick up the work. This would be valuable, so I don't want to leave it sitting forever.

I think this PR could be very valuable, it can avoid using Mutex or RwLock when extracting parallelized block data

Query::par_iter and Query::par_iter_mut now exists


Conda installation failing for M1 Macbook

Description
I am not able to install via conda on an M1 Macbook. Seems like there is no distribution setup for osx_arm64.
conda install xeus-sql -c conda-forge
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - xeus-sql

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/conda-forge/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

tracking progress of this here: https://github.com/conda-forge/xeus-sql-feedstock/pull/17#event-8690859023

The feedstock has been updated, xeus-sql is now available for osx-arm. Let us know if you have any issue with it

Going to close it as I could reproduce and now can't.
Thanks Johan!


Data dumps seem to be more than a week out of date (maybe even a month?)

I know that the data dumps are not expected to be as up to date as the API, but iirc it was only expected to always be a few hours out of date whereas right now it looks like its at least 10 days.
I noticed this as osv-detector was saying it had last updated its databases "Tue, 05 Jul 2022" for at least the RubyGems and npm databases, and at least GHSA-crrq-vr9j-fxxh, GHSA-3hhc-qp5v-9p2j, and GHSA-pg8v-g4xq-hww9 are missing in the latest version of the data dumps - the last of those being created 22 days ago.

I'm wondering if this is because of #451 - maybe the source of the data dumps is still pointed at the fork, which is not being updated?

Thanks for flagging! It looks like our exporter was running out of memory without indicating so on kubernetes. We've bumped the memory and we seem to be getting everything uploaded now.
We're planning a number of monitoring and reliability improvements this quarter to prevent this from happening again.

@oliverchang it looks like this has happened again a few days after you closed this - these advisories are missing:

GHSA-mhxj-85r3-2x55 (npm, published 6 days ago)
GHSA-42m6-g935-5vmq (npm, published 2 days ago)
GHSA-m58q-qq5h-mgqq (composer/Packagist, published 6 days ago)
GHSA-5qj8-6xxj-hp9h (composer/Packagist, published 9 days ago)

Thanks for flagging once more. Looks like we inadvertendly reverted our memory bump. We've bumped it back once more.


Add dotcomboom.somnolescent.net

👋 🐍

[Incomplete PR.
](Submit a Pull Request with the location of the webring icon on your site.
)

Submit a Pull Request with the location of the webring icon on your site.


Webhook is being improperly crafted for send.

https://github.com/Friskytool/command-handler/blob/864d62ec313e05b876de1eaf428b3bfdc6399ab6/squid/context.py#L31
Code currently uses discord.py's webhook class which relies on different endpoints which fail to send content.
Should work on a form of lightweight scheduling to pump these out without worrying about response conflicts from the http server

I've moved over to an http client based implementation


new:usr: added corrections email provided

new:usr: added corrections email provided and git hub address

Hi dimitar nikolov,
As i have talked to you in the morning regarding the pull request, here i have just removed one of my mail id(the non-iu one )  and because of my report.tex crashed ...


Add license  information to package.json

The package.json does not contain a license field. This makes it more difficult for automatic tools to determine the license.

Hi @huerlisi ,
Thanks for pointing this out.
I've added the licenses section to the package.json file and it will be apart of the next release.
Aviad.

Cool, thanks!


Refactor syslog Log else clause

Fixes #11649
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

LGTM

Thanks!
LGTM


Upgrade maven-compiler-plugin to 3.8.1

Resolved via https://github.com/r2dbc/r2dbc-spi/commit/1345355eae0d25cfa7710699bcee4a60bea1db08.


pip install / python setup.py error: Multiple top-level modules discovered in a flat-layout: ['run', 'install_cli'].

pip3 install --user wakatime
Collecting wakatime
  Using cached wakatime-14.0.0.tar.gz (6.9 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [14 lines of output]
      error: Multiple top-level modules discovered in a flat-layout: ['run', 'install_cli'].

      To avoid accidental inclusion of unwanted files or directories,
      setuptools will not proceed with this build.

      If you are trying to create a single distribution with multiple modules
      on purpose, you should not rely on automatic discovery.
      Instead, consider the following options:

      1. set up custom discovery (`find` directive with `include` or `exclude`)
      2. use a `src-layout`
      3. explicitly set `py_modules` or `packages` with a list of names

      To find more information, look for "package discovery" on setuptools docs.
      [end of output]

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

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

other variations showed same error, e.g.
pip3 install --user https://github.com/wakatime/wakatime-cli-pip/archive/refs/heads/main.zip
Did a git clone of this repo and got the error as well
python3 setup.py install --user
error: Multiple top-level modules discovered in a flat-layout: ['run', 'install_cli'].

To avoid accidental inclusion of unwanted files or directories,
setuptools will not proceed with this build.

If you are trying to create a single distribution with multiple modules
on purpose, you should not rely on automatic discovery.
Instead, consider the following options:

1. set up custom discovery (`find` directive with `include` or `exclude`)
2. use a `src-layout`
3. explicitly set `py_modules` or `packages` with a list of names

To find more information, look for "package discovery" on setuptools docs.

I figured out a fix/workaround: changed name of run.py to run (dropping the .py extension) in my local clone and things worked
$ mv run.py run
$ python3 setup.py install --user
running install
/usr/local/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/usr/local/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
running bdist_egg
running egg_info
creating wakatime.egg-info
writing wakatime.egg-info/PKG-INFO
writing dependency_links to wakatime.egg-info/dependency_links.txt
writing entry points to wakatime.egg-info/entry_points.txt
writing top-level names to wakatime.egg-info/top_level.txt
writing manifest file 'wakatime.egg-info/SOURCES.txt'
reading manifest file 'wakatime.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'run.py'
adding license file 'LICENSE'
writing manifest file 'wakatime.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.13-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
copying install_cli.py -> build/lib
creating build/bdist.macosx-10.13-x86_64
creating build/bdist.macosx-10.13-x86_64/egg
copying build/lib/install_cli.py -> build/bdist.macosx-10.13-x86_64/egg
byte-compiling build/bdist.macosx-10.13-x86_64/egg/install_cli.py to install_cli.cpython-311.pyc
creating build/bdist.macosx-10.13-x86_64/egg/EGG-INFO
copying wakatime.egg-info/PKG-INFO -> build/bdist.macosx-10.13-x86_64/egg/EGG-INFO
copying wakatime.egg-info/SOURCES.txt -> build/bdist.macosx-10.13-x86_64/egg/EGG-INFO
copying wakatime.egg-info/dependency_links.txt -> build/bdist.macosx-10.13-x86_64/egg/EGG-INFO
copying wakatime.egg-info/entry_points.txt -> build/bdist.macosx-10.13-x86_64/egg/EGG-INFO
copying wakatime.egg-info/not-zip-safe -> build/bdist.macosx-10.13-x86_64/egg/EGG-INFO
copying wakatime.egg-info/top_level.txt -> build/bdist.macosx-10.13-x86_64/egg/EGG-INFO
creating dist
creating 'dist/wakatime-14.0.0-py3.11.egg' and adding 'build/bdist.macosx-10.13-x86_64/egg' to it
removing 'build/bdist.macosx-10.13-x86_64/egg' (and everything under it)
Processing wakatime-14.0.0-py3.11.egg
creating /Users/dpc/Library/Python/3.11/lib/python/site-packages/wakatime-14.0.0-py3.11.egg
Extracting wakatime-14.0.0-py3.11.egg to /Users/dpc/Library/Python/3.11/lib/python/site-packages
Adding wakatime 14.0.0 to easy-install.pth file
Installing wakatime script to /Users/dpc/Library/Python/3.11/bin

Installed /Users/dpc/Library/Python/3.11/lib/python/site-packages/wakatime-14.0.0-py3.11.egg
Processing dependencies for wakatime==14.0.0
Finished processing dependencies for wakatime==14.0.0

spoke too soon.  trying to run the script named wakatime that gets placed in path, it yields an error
<EMAIL_ADDRESS># EASY-INSTALL-ENTRY-SCRIPT: 'wakatime==14.0.0','console_scripts','wakatime'
import re
import sys

Traceback (most recent call last):
  File "/Users/dpc/Library/Python/3.11/bin/wakatime", line 33, in <module>
    sys.exit(load_entry_point('wakatime==14.0.0', 'console_scripts', 'wakatime')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dpc/Library/Python/3.11/bin/wakatime", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 202, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1142, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'run'

the main issue is the error in pip/setup.py prevents the install_cli.py code from being run

$ pip3 -V
pip 23.0.1 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)

found a finish to the "Workaround" above that sticks
cp run /Users/dpc/Library/Python/3.11/lib/python/site-packages/run.py

now running wakatime works
$ which wakatime
/Users/dpc/Library/Python/3.11/bin/wakatime
$ wakatime
Command line interface used by all WakaTime text editor plugins.

Usage:
  wakatime-cli [flags]

<<< snip >>>

So this is probably solved with an update to the MANIFEST and setup.py configuration.

Can you try with v14.0.1?

Seems to be working. no errors during install, and wrapper works too
❯ pip install --user wakatime
Collecting wakatime
  Downloading wakatime-14.0.1.tar.gz (7.0 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: wakatime
  Building wheel for wakatime (setup.py) ... done
  Created wheel for wakatime: filename=wakatime-14.0.1-py3-none-any.whl size=7048 sha256=1264ebbfb9e5a08b5018222332d2b276877c7d35e94146ee2946214b82462341
  Stored in directory: /Users/dpc/Library/Caches/pip/wheels/d7/55/ba/663b58726ccb92cbf0c2abc6d8e1939257d6b8f91d46eeee6e
Successfully built wakatime
Installing collected packages: wakatime
Successfully installed wakatime-14.0.1
❯ which wakatime
/Users/dpc/Library/Python/3.11/bin/wakatime
❯ wakatime
Command line interface used by all WakaTime text editor plugins.

Usage:
  wakatime-cli [flags]

Will CLOSE as it is FIXED
v14.0.1 https://github.com/wakatime/wakatime-cli-pip/commit/e01137af809e6daf364aaae4a58447189f694a09


MINIFICPP-1545 - MQTT keeps rebuilding after clean incremental build

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically main)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file?
[ ] If applicable, have you updated the NOTICE file?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check GitHub Actions CI results for build issues and submit an update to your PR as soon as possible.

What's the reason of removing the patch? We don't need it anymore?

What's the reason of removing the patch? We don't need it anymore?

Yes, that's the reason. Patch step is also removed.


Structs + type unions don't work in Java

:bug: Bug Report
Affected Languages

[ ] TypeScript or Javascript
[ ] Python
[x] Java
[ ] .NET (C#, F#, ...)
[ ] Go

General Information

JSII Version: 1.29.0
Platform: Darwin 186590cdb71d.ant.amazon.com 18.7.0 Darwin Kernel Version 18.7.0: Mon Mar  8 22:11:48 PST 2021; root:xnu-4903.278.65~1/RELEASE_X86_64 x86_64

What is the problem?

Structs that have type unions do not work correctly in Java.
For example:
        CfnBucket cfnBucket = CfnBucket.Builder.create(this, "CfnBucket").build();
        cfnBucket.setAccelerateConfiguration(CfnBucket.AccelerateConfigurationProperty.builder()
                .accelerationStatus("Suspended")
                .build());
        System.out.println(cfnBucket.getAccelerateConfiguration());

prints out:
software.amazon.jsii.JsiiObject@68a13400

while it clearly should return an instance of CfnBucket.AccelerateConfigurationProperty.
This is not a problem in other languages; for example, in Python:
        bucket = s3.CfnBucket(
            self, 'CfnBucket'
        )
        bucket.accelerate_configuration = s3.CfnBucket.AccelerateConfigurationProperty(
            acceleration_status='Suspended',
        )
        print(bucket.accelerate_configuration)

prints out:
AccelerateConfigurationProperty(acceleration_status='Suspended')

Which is what I would expect.
This is negatively impacting CDK customers that use Java (example: https://github.com/aws/aws-cdk/issues/12338).

Another example: a CDK customer is using the SES CfnTemplate class:
        CfnTemplate cfnTemplate = new CfnTemplate(this, "InvestigationSuccessTemplate", CfnTemplateProps.builder()
                .template(CfnTemplate.TemplateProperty.builder()
                        .templateName("SuccessfulInvestigation")
                        .htmlPart("html part")
                        .subjectPart("subject")
                        .build())
                .build());

They want to use ((CfnTemplate.TemplateProperty) cfnTemplate.getTemplate()).getTemplateName() in a further part of their CDK app, but they cannot, because cfnTemplate.getTemplate() returns JsiiObject, making cfnTemplate pretty much useless.


Feature request: On close activate editor on the left or right

VSCode Version: 1.22.1
OS Version: Windows 10

It seems that when an editor is closed, VSCode will activate the most recently used editor, which may feel a little unpredictable.
There is an option workbench.editor.openPositioning to control where a new editor opens. Isn't it nice to have a companion option workbench.editor.activateOnClosePositioning that, unsurprisingly, controls which existing editor to activate when one is closed? Thanks.

Duplicate of https://github.com/Microsoft/vscode/issues/43459


[Relay][Op] Pad operator

This was not very conceptually difficult; please review to ensure that all is in order and according to proper conventions.

Will do


F/wasm

This PR ports the portal module to JS using WASM
I have not yet managed to import the wasm file using a bundler into a js project, but it works very well in a raw HTML file. We would likely want to create a typescript npm module for this package. The question is if we want this in this repo, or a separate one?
The JS interface is not very JS-like, so there is potential for improvement

Codecov Report

Merging #24 (8c27ed7) into develop (43be615) will increase coverage by 3.29%.
The diff coverage is 46.51%.

@@             Coverage Diff             @@
##           develop      #24      +/-   ##
===========================================
+ Coverage    33.33%   36.62%   +3.29%
===========================================
  Files            3        5       +2
  Lines          129      172      +43
===========================================
+ Hits            43       63      +20
- Misses          70       86      +16
- Partials        16       23       +7

Impacted Files
Coverage Δ

portal/portal.go
36.11% <36.11%> (ø)

portal/config.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

PR should be merged after GH-23.


Window possition on screen by hwnd (Windows)

How can I read the position and size of the window after hwnd?

https://github.com/go-vgo/robotgo/issues/87  Only Windows you can try package github.com/lxn/win.
var rect win.RECT
win.GetWindowRect(hwnd, &rect)
posionX := int(rect.Left)
posionY := int(rect.Top)
hwndWidth := int(rect.Right - rect.Left)
hwndHeight := int(rect.Bottom - rect.Top)


Client gets null pointer exception when connection tag is disabled

This is related to this PR: https://github.com/feedhenry/fh-js-sdk/pull/213
When the connection tag is disabled, all the parameters passed to the error callback, including req, are apparently undefined. That PR assumes that req is defined, even though there's an explicit check for req not being there a couple lines above it. Line 86 in initializer.js thus throws a null pointer instead of calling the callback with the appropriate error.
https://github.com/feedhenry/fh-js-sdk/blob/2.23.0/src/modules/initializer.js#L86

@davidffrench
According to [~mburkman] this issue just occurs when the client application is running locally and [~evanshortiss] believe that it can have some relation to and you agreed either that it must be an issue or inconsistency with the JSONP fallback. My guess is that the client app is not set up to use the cloud app deployed on RHMAP.
So, could we close this issue as the PR is merged or is required here some further action?


Adds clarification on Turbo Streams Partial

This adds a little more information around what is necessary to get Turbo Streams running out of the box. I picked an arbitrary example which may need to be adjusted but I think mentioning that you need the domid in the partial may help clarify how it works.

Thanks!


Create A Template Gallery

It would be great to have a gallery.md markdown file which would contain screenshots from a new screenshots branch in this repo or something similar of all of the templates. This would make it easier for users new and experience alike to quickly see what template they may want to use.

PRs #14 and #15 have added images for this. Still waiting on a markdown / rst document to tie them all together.

Completed with PR #17


not work in rollup api mode

the same simple options  . work well in rollup runtime, but not auto import in rollup api mode.
v0.21.1

We temporarily close this due to the lack of enough information. Please provide a minimal reproduction to reopen the issue. Thanks.

Why reproduction is required


Error: 'name' getter called on an object that does not implement interface File.

Hi guys,
An error has occurred when I watch deeply an object that is implementation of File interface.
This is the error I have received
Error: 'name' getter called on an object that does not implement interface File.
equals@http://localhost:3000/assets/angular/angular-3c7181b1fa8efd68c9fcb7292e0d9281.js?body=1:932:15
equals@http://localhost:3000/assets/angular/angular-3c7181b1fa8efd68c9fcb7292e0d9281.js?body=1:932:16
equals@http://localhost:3000/assets/angular/angular-3c7181b1fa8efd68c9fcb7292e0d9281.js?body=1:917:18
$RootScopeProvider/this.$get</Scope.prototype.$digest@http://localhost:3000/assets/angular/angular-3c7181b1fa8efd68c9fcb7292e0d9281.js?body=1:14303:31
$RootScopeProvider/this.$get</Scope.prototype.$apply@http://localhost:3000/assets/angular/angular-3c7181b1fa8efd68c9fcb7292e0d9281.js?body=1:14572:13
timeout/timeoutId<@http://localhost:3000/assets/angular/angular-3c7181b1fa8efd68c9fcb7292e0d9281.js?body=1:16309:25
completeOutstandingRequest@http://localhost:3000/assets/angular/angular-3c7181b1fa8efd68c9fcb7292e0d9281.js?body=1:4925:7
Browser/self.defer/timeoutId<@http://localhost:3000/assets/angular/angular-3c7181b1fa8efd68c9fcb7292e0d9281.js?body=1:5313:7

Any idea for this issue?
Thanks

Sounds like a duplicate of https://github.com/angular/angular.js/issues/10524 - see the discussion in there. If you believe that this is not a duplicate, please provide a minimal reproduce scenario using plunker + provide other essential info to reproduce (ex. a browser and its version used). See:
https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#submitting-an-issue


Readout icons should be reasonable size, vertically centered

Currently icons in ReadoutItem component are enormous and not centered. Icons in ReadoutItems should be closer to text size and centered.

Closed by #660


Localized Language is not working

Hi Mentors,
For my project, I wanted to use Localized languages.
I created my data model like this
entity ProductCategory {     key categoryid : Integer;         name        : localized String;         }
And than exposed it like below
@readonly entity ProductsCategory as projection on ProductCategory;
I also created some CSV to upload the sample data with file names ProductCategory.csv and ProductCategory_texts.csv
When i use it on sqlite.. I can access the localized data by passing the url parameter sap-language=DE. However the same doesn't work when i use postgresql as db. The metadata for postgresql does show the generated text table so that means the data tables are all generated fine.

Url called to get localized data
/ProductsCategory?sap-language=DE
Please note that same works fine for sqlite DB.
Thanks,
Parth

yep, no support of localized entities yet in cds-pg.
also see #116 and #104.
any help appreciated, PRs welcome!


make def-install  error

Describe the bug
follow https://github.com/oam-dev/kubevela/blob/master/contribute/developer-guide.md prepare local debug,
make def-install  error
To Reproduce
Steps to reproduce the behavior:
1.git clone git@github.com:oam-dev/kubevela.git
2. make
3. make manager
4. make core-install
5. make def-install
6. make core-run
Expected behavior

Screenshots

KubeVela Version
ref: master
Cluster information
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.4", GitCommit:"e6c093d87ea4cbb530a7b2ae91e54c0842d8308a", GitTreeState:"clean", BuildDate:"2022-02-18T02:26:27Z", GoVersion:"go1.17.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.11-aliyun.1", GitCommit:"d966b365d87fb2783deab0d244047d340f1be146", GitTreeState:"clean", BuildDate:"2022-01-19T01:10:01Z", GoVersion:"go1.15.15", Compiler:"gc", Platform:"linux/amd64"}
Additional context

成功解决问题，十分感谢


Fix stlink on mingw64

%zx gets printed as zx. Just using %x suffices in the cases in this PR.
This fixes stlink for us.

Great, thanks for the improvement!

Sorry reverted in PR #573

Hmmm... That's unfortunate... Isn't there a platform independent formatting? We could cast it to something that works everywhere.
Also, why wasn't this caught by Travis?

yes, %zu is in the C99 standard. but .... mingw64 wraps windows printf which doesn't support it :(
http://stackoverflow.com/a/22114959/1836746

Would you accept a PR turning formatting warnings into errors on Travis and casting all size_t formatting to unsigned long long before formatting?

Sure, just make a proposal!
Sent from my Nokia 3210

On 15 Mar 2017, at 23:20, Oliver Schneider<EMAIL_ADDRESS>wrote:
Would you accept a PR turning formatting warnings into errors on Travis and casting all size_t formatting to unsigned long long before formatting?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or mute the thread.


[desktop] remove mutagen content

It was already redirected to the docker for mac landing page.

@usha-mandya ptal


client: component - cart

import cart item
Cart contains:

title: Cart

calculate total functionality
Checkout/Create Acct depending on auth

(if not logged in)

upon hover, highlight to suggest a click
available whether logged in or out
cart item [when clicked, modal opens: has image of product, title, quantity, and functionality to delete]
Total calculate
If logged in, checkout button to stripe page. If not logged in, buttons to create account or log in.
closes wither with button or when clicked outside of modal
NOTE: unlike Bay model, checkout immediately redirects to Stripe to reduce workload


Tkinter doesn't work with rye's cpython

Steps to Reproduce
~
❯ rye init test
success: Initialized project in /home/aether/test
  Run `rye sync` to get started

~
❯ cd test/

test on  master is 󰏗 v0.1.0 
❯ rye sync
Initializing new virtualenv in /home/aether/test/.venv
Python version<EMAIL_ADDRESS>Generating production lockfile: /home/aether/test/requirements.lock
Generating dev lockfile: /home/aether/test/requirements-dev.lock
Installing dependencies
Resolved 1 package in 3ms
   Built test @ file:///home/aether/test
Prepared 1 package in 3.38s
Installed 1 package in 5ms
 + test==0.1.0 (from file:///home/aether/test)
Done!

test on  master is 󰏗 v0.1.0  3s
❯ python -m tkinter

Expected Result

Actual Result
test on  master is 󰏗 v0.1.0 
❯ python -m tkinter
[xcb] Unknown sequence number while appending request
[xcb] You called XInitThreads, this is not your fault
[xcb] Aborting, sorry about that.
python: xcb_io.c:157: append_pending_request: Assertion `!xcb_xlib_unknown_seq_number' failed.
Aborted (core dumped)

Version Info
test on  master is 󰏗 v0.1.0 
❯ rye --version
rye 0.40.0
commit: 0.40.0 (a928cd53a 2024-09-22)
platform: linux (x86_64)
self-python<EMAIL_ADDRESS>symlink support: true
uv enabled: true

Stacktrace
No response

Related to https://github.com/astral-sh/uv/issues/6893  && https://github.com/astral-sh/rye/issues/1366
Please please please please, I beg for a fix!! This is the only thing preventing me from using Rye, and I love the concept, but I can't work without interactive plotting (Tk support)!


UIVisualEffectView

I saw your note on Apple rejecting due to using toolbar implementation.  UIVisualEffectView with BlurEffect is the trick.

Create UIVisualEffectView
Set Frame
Add as subview

You can see how I implemented it if you take a look at the app entourage.io


docs: changing version numbers

https://github.com/openebs/mayastor-docs/pull/151 closed this PR to include the changes in #152


Categories aren't added

While struggling with #307 I uploaded image with Ukrainian interface. Now I see that file is not categorised.
https://commons.wikimedia.org/w/index.php?title=File:Чорнобривці_.jpg&oldid=210922719
Though I did check three categories from the suggestions:

Hm, I just tested the latest version again and could not reproduce your bug. Does it repeatedly fail to categorize any image or is it just this one?

I've just uploaded another one - same thing.
https://commons.wikimedia.org/?curid=52554328

Changed device to English - same thing
https://commons.wikimedia.org/wiki/File:Monastery_hill.jpg

Wow, interesting. @AtaZh what version of the app are you using? Do you remember if categories worked for you prior to this version?

Ah, okay, I think I might have reproduced this issue. It seems that categories are never submitted along with the file, but rather added later (e.g. my contribution history https://commons.wikimedia.org/wiki/Special:Contributions/Misaochan ) . Not sure why this is done, I'll have to delve into the preexisting code to see.
But it seems that in some cases, like @AtaZh 's submissions and a few of the files I submitted, the 'extra step' doesn't happen at all, and thus no categories are added.

I'm pushing a fix that I think might solve the problem (mostly just reversing any changes I made to the relevant code). Can't check whether or not it works yet though, since the category addition can take up to several hours after submission. If it doesn't work, I'll try to contact the original dev to ask.

Seems to work on my phone: https://commons.wikimedia.org/wiki/File:Christchurch_Botanic_Gardens_2.jpg
Hope it works for you guys as well.

Is anyone still experiencing this issue?

I figured out why categories aren't submitted with the original file but are submitted as a modification later - it's because uploading starts immediately when the picture is selected, whereas categories are selected after that. So unless we only start uploading when categories have all been selected, this is necessary.
I still haven't figured out why it 'misses' the modification sometimes, and why it takes so long sometimes.

Another user is having issues; https://commons.wikimedia.org/wiki/File:Plat_tunisien_de_sauce_d'épinards_et_de_viande,_21_février_2017.jpg
I don't think this will be an easy fix but we should put it on the priority list.

The user has informed us that all his categories were added a few days later, lol. We should probably try to talk to yuvipanda about this.

@misaochan - Is this still a bug that needs to be addressed?

@psh It hasn't happened recently for me, but not sure. Has anyone else experienced this recently? @AtaZh ?

Still there

I'm still experiencing this; see https://commons.wikimedia.org/w/index.php?title=File:Hari-kondabolu-onstage_2.jpg&oldid=274778522 .

@AtaZh and @brainwane , thanks for letting us know!

Hi, I am not getting categories, either, although the files were saved from the category page in the app. The images are always uploaded but the ctg is not, even after 2 days. Example: https://commons.wikimedia.org/wiki/File:Český_Krumlov,_PP_Cvičák.jpg, uploaded as "Uncategorized" (ctg added by myself 2 days later). The same thing happened today (uploaded image w/o the ctg). Using verion 2.7.2, update requests always allowed.

@Czeva
Do you mean that categories are never saved?
Would you mind pressing "menu > settings > send log file" 5 seconds after having choosing the categories and pressing the floppy icon, and then a minute after? Thanks!
The best would be to sniff local traffic, you could try this using one of the methods described at https://stackoverflow.com/questions/41152974/whats-the-best-way-to-capture-packets-sent-and-received-by-my-own-android-app

@nicolas-raoul
Well, every time I have used the app, no ctg was uploaded although it was added before upload. I did my best to send the log from my phone but had to use a different email address (gmail) than the one I had registered here with. The methods mentioned above are, I'm afraid, a bit difficult, sorry.

Hmmm. I looked through the log file and unfortunately I can't find anything there that would help pinpoint the problem. :/
As this has been a longstanding and difficult-to-solve problem that causes users a lot of inconvenience, I would like to raise again the possibility of solving this issue by simply having categories sent alongside with the image upload as part of the template, instead of as a modification afterwards.
I do understand that the downside of this would be that the image upload would begin later - instead of beginning BEFORE the categories are selected, it would only start AFTER the categories are selected. However, I personally feel that this is unlikely to impact the user too much, since they can start another upload or do whatever else they want with the app while the first image is uploading. From a user point of view, does it really matter that the upload finishes 30 seconds later, if they aren't having to wait for it?
What do you guys think?

I believe @misaochan's solution is implemented in new upload flow, so this shouldn't happen any more. Please reopen if it does.


Cannot create migrations with paths using glob patterns

Given a migrations path with a glob pattern new migrations will be created in a directory literally named after the pattern. Thus:
paths:
  migrations: foo/*/migrations

Executing phinx create FooBar will create a new migration in the path foo/*/migrations/20160503134337_foo_bar.php literally.
Not sure how to tackle this properly but maybe ask the user where to put the migration if a glob pattern is used?

The use of glob patterns in the migrations path is not properly supported due to this issue.
Make sure the documentation is updated too.
Could be worth looking at https://github.com/robmorgan/phinx/issues/232 also.

Yeah, everything works fine with the latest releases, thanks. :-)


Scan but shows nothing

Title.
The scan seems to work but that all it does. It stops there.
Also maybe auto detect where the game window is and add your overlay on top of it, not necessarily at 0, 0.
Best match for Innocence-Touched: x=868, y=505 = 0.3763728737831116
Best match for Shakari-Touched: x=1557, y=175 = 0.224538192152977
Best match for Abberath-Touched: x=1005, y=503 = 0.25460344552993774
Best match for Tukohama-Touched: x=467, y=891 = 0.2090228796005249
Best match for Brine King-Touched: x=818, y=48 = 0.27301040291786194
Best match for Arakaali-Touched: x=818, y=48 = 0.26048415899276733
Best match for Solaris-Touched: x=867, y=504 = 0.4317409098148346
Best match for Lunaris-Touched: x=867, y=572 = 0.33439430594444275
Best match for Effigy: x=1005, y=505 = 0.5558437705039978
Best match for Empowered Elements: x=1005, y=505 = 0.544024646282196
Best match for Crystal-Skinned: x=1074, y=505 = 0.4914858043193817
Best match for Invulnerable: x=1213, y=505 = 0.5003355741500854
Best match for Corrupter: x=1005, y=505 = 0.5553673505783081
Best match for Mana Siphoner: x=1283, y=574 = 0.6990996599197388
Best match for Storm Strider: x=936, y=575 = 0.5346771478652954
Best match for Mirror Image: x=867, y=572 = 0.5481978058815002
Best match for Magma Barrier: x=1144, y=574 = 0.5836771726608276
Best match for Evocationist: x=1282, y=505 = 0.6637076735496521
Best match for Corpse Detonator: x=1005, y=505 = 0.556984007358551
Best match for Flame Strider: x=1144, y=505 = 0.7006315588951111
Best match for Soul Eater: x=1074, y=505 = 0.5310088396072388
Best match for Ice Prison: x=1006, y=506 = 0.7218332886695862
Best match for Frost Strider: x=1213, y=505 = 0.6485772728919983
Best match for Treant Horder: x=1005, y=505 = 0.5847986340522766
Best match for Temporal Bubble: x=867, y=573 = 0.6713113188743591
Best match for Entangler: x=1074, y=505 = 0.5266912579536438
Best match for Drought Bringer: x=1213, y=505 = 0.6485772728919983
Best match for Hexer: x=1005, y=575 = 0.561439573764801
Best match for Executioner: x=1005, y=505 = 0.5578096508979797
Best match for Rejuvenating: x=1005, y=505 = 0.5826340317726135
Best match for Necromancer: x=1074, y=505 = 0.5675181150436401
Best match for Trickster: x=1005, y=505 = 0.5278065204620361
Best match for Assassin: x=1074, y=505 = 0.6211720108985901
Best match for Empowered Minions: x=1005, y=505 = 0.5571519136428833
Best match for Heralding Minions: x=1213, y=505 = 0.5443004965782166
Best match for Arcane Buffer: x=1144, y=90 = 0.7410596609115601
Best match for Berserker: x=1076, y=158 = 0.8221065998077393
Best match for Bloodletter: x=1074, y=159 = 0.7532392740249634
Best match for Bombardier: x=1074, y=228 = 0.6801440119743347
Best match for Bonebreaker: x=1005, y=228 = 0.7415825724601746
Best match for Chaosweaver: x=936, y=159 = 0.7006719708442688
Best match for Consecrator: x=867, y=505 = 0.7653407454490662
Best match for Deadeye: x=936, y=159 = 0.7219099402427673
Best match for Dynamo: x=867, y=436 = 0.773443877696991
Best match for Echoist: x=1004, y=297 = 0.8088420629501343
Best match for Flameweaver: x=867, y=228 = 0.7731313705444336
Best match for Frenzied: x=1144, y=436 = 0.7603250741958618
Best match for Frostweaver: x=867, y=159 = 0.726263165473938
Best match for Gargantuan: x=797, y=228 = 0.7560962438583374
Best match for Hasted: x=938, y=160 = 0.734603762626648
Best match for Incendiary: x=796, y=366 = 0.6911076903343201
Best match for Juggernaut: x=1074, y=228 = 0.7377718091011047
Best match for Malediction: x=936, y=159 = 0.7729506492614746
Best match for Opulent: x=272, y=649 = 0.4965763986110687
Best match for Overcharged: x=1144, y=228 = 0.7165210843086243
Best match for Permafrost: x=1144, y=159 = 0.7348309755325317
Best match for Sentinel: x=867, y=89 = 0.7284806370735168
Best match for Soul Conduit: x=1213, y=159 = 0.7449194192886353
Best match for Steel-Infused: x=867, y=159 = 0.7768889665603638
Best match for Stormweaver: x=867, y=159 = 0.6312894225120544
Best match for Toxic: x=1145, y=367 = 0.7680716514587402
Best match for Vampiric: x=797, y=233 = 0.6251742243766785
{}

If the scan didn't show up anything, then that means it didn't find anything it is confident with. Here, all the 'Best match' values are below confidence threshold which is 0.90 (will be changed soon to 0.94).
Could you provide a bit more information about your setup? What's your resolution? Are you running the game in windowed fullscreen?

I have the same issue.
I run windowed, resolution is 2560x1000
I set the scan area to fit the inventory but I am not sure what to set the image scale to. I suggest implementing an example size so you can properly scale what it should be.
Aside from that, I cant figure out a way to get it to work.
Also, the program does not save my settings after close.

I'm running a bit of a marginal resolution (5120 x 1440) and the game is running @ 2560 x 1440 in windowed mode.
Hope this helps :)

I have the same issue. Running at 3840 x 2160 in windowed full screen mode. Tried adjusting the DPI setting suggested in https://github.com/4rtzel/poe-archnemesis-scanner/issues/3#issuecomment-1035917756 . Also adjusted the the scanner window to overlap only the location of the nemesis items. All I get is results with less than 40% confidence, some even lower.

@halexh, your image scale value seems to be a bit too low for your resolution. Try 1.365. You may also want to lower confidence threshold a little bit (0.91?).

@halexh, your image scale value seems to be a bit too low for your resolution. Try 1.365. You may also want to lower confidence threshold a little bit (0.91?).

Thank you - that definitely fixed my issues. Where did you come up with 1.365 though? I would consider expanding the settings to take a input resolution from the user so you can calculate and use that internally maybe? Cause the user is going to have no idea what an appropriate image scale might be

The tool already does all the calculation based on your resolution. I just inputted your resolution in the function used for calculations and got 1.365. I don't know why your value were different.
What might need to be updated is threshold value. It seems that it needs to be lowered for resolutions != 1440p.

I have the same issue. My resolution is 1920x1040. Windowed fullscreen mode. When I press scan, nothing happens.
What should I do? Please help!
thanks

I have the same issue, I have PoE on non main monitor, could this be related?
How do I tell to have the scan on the non-main monitor?


[OffloadPolicies] per topic

Describe the solution you'd like
Support OffloadPolicies at topic level.

@315157973 already did it. Nvm.


Simplify container creation

Honestly, this is primarily for testing and examples but I'm tired of having to create a service module when I just want to provide a registration callback:
return createContainer((services) => {
    services.singleton<ILogger>(ExampleServices.logger, new ConsoleLogger());
});

https://github.com/aesop-fables/containr/commit/379ff2e34513993a4214a84502f8c53a11a743eb


osrm-backend: 5.17.2 -> 5.18.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/osrm-backend/versions.
These checks were done:

built on NixOS
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-extract -h’ got 0 exit code
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-extract --help’ got 0 exit code
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-extract -v’ and found version 5.18.0
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-extract --version’ and found version 5.18.0
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-partition -h’ got 0 exit code
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-partition --help’ got 0 exit code
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-partition -v’ and found version 5.18.0
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-partition --version’ and found version 5.18.0
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-customize -h’ got 0 exit code
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-customize --help’ got 0 exit code
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-customize -v’ and found version 5.18.0
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-customize --version’ and found version 5.18.0
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-contract -h’ got 0 exit code
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-contract --help’ got 0 exit code
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-contract -v’ and found version 5.18.0
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-contract --version’ and found version 5.18.0
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-datastore -h’ got 0 exit code
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-datastore --help’ got 0 exit code
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-datastore -v’ and found version 5.18.0
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-datastore --version’ and found version 5.18.0
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-routed -h’ got 0 exit code
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-routed --help’ got 0 exit code
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-routed -v’ and found version 5.18.0
ran ‘/nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0/bin/osrm-routed --version’ and found version 5.18.0
found 5.18.0 with grep in /nix/store/9qxw8mgxq15czqp580vwxwkc70mc3l2g-osrm-backend-5.18.0
directory tree listing: https://gist.github.com/dfbc55be9a7c8ad0f9dc070af96865e2
du listing: https://gist.github.com/8791bb0044495bd4d8dbf95ab3f97175

meta.description for osrm-backend is: '"Open Source Routing Machine computes shortest paths in a graph. It was designed to run well with map data from the Openstreetmap Project"'.
cc @erictapen for testing.

Success on aarch64-linux (full log)
Attempted: osrm-backend
Partial log (click to expand)
shrinking /nix/store/9ifqvi6p9jgijhpp2d6wl0vg6nkczbmy-osrm-backend-5.18.0/bin/osrm-contract
shrinking /nix/store/9ifqvi6p9jgijhpp2d6wl0vg6nkczbmy-osrm-backend-5.18.0/bin/osrm-customize
shrinking /nix/store/9ifqvi6p9jgijhpp2d6wl0vg6nkczbmy-osrm-backend-5.18.0/bin/osrm-partition
shrinking /nix/store/9ifqvi6p9jgijhpp2d6wl0vg6nkczbmy-osrm-backend-5.18.0/bin/osrm-extract
shrinking /nix/store/9ifqvi6p9jgijhpp2d6wl0vg6nkczbmy-osrm-backend-5.18.0/bin/osrm-components
strip is /nix/store/gp7fylxwn18b7pl2c18ks89hsiaxyfvf-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/9ifqvi6p9jgijhpp2d6wl0vg6nkczbmy-osrm-backend-5.18.0/lib  /nix/store/9ifqvi6p9jgijhpp2d6wl0vg6nkczbmy-osrm-backend-5.18.0/bin
patching script interpreter paths in /nix/store/9ifqvi6p9jgijhpp2d6wl0vg6nkczbmy-osrm-backend-5.18.0
checking for references to /build in /nix/store/9ifqvi6p9jgijhpp2d6wl0vg6nkczbmy-osrm-backend-5.18.0...
/nix/store/9ifqvi6p9jgijhpp2d6wl0vg6nkczbmy-osrm-backend-5.18.0


<EMAIL_ADDRESS>fix checkver and update

fixed the checkver by querying the github api for the lastest tag (as upstream sometimes only makes a tag and not a release while still uploading binaries)

[x] I have read the Contributing Guide.

/verify


Footer Links

add correct links to footer

Coverage remained the same at 61.366% when pulling 31a832842ccc89dadc88205acbe01e754081352c on josephkane:footer-links into 516db8e73b73a18bdbb1466302d8a01ed4829564 on supergiant:master.


Align with global zlib pinning

The recipe depends on libzlib and libzlib-wapi. However these are unconstrained in the global pinnings. As a result the latest version of these libraries gets picked up, which is now 1.3.1 ( https://github.com/conda-forge/zlib-feedstock/pull/78 ). Updated to 1.3 earlier this year ( https://github.com/conda-forge/zlib-feedstock/pull/76 )
This differs from other libraries, which use zlib and match the global pinnings of zlib (currently at 1.2). As the run_exports on zlib is fairly tight, 1.2 and 1.3 cannot be in the same environment. Thus the cudnn packages produced with latest zlib cannot be mixed with python.
To fix this, add the zlib variant as a pinning for libzlib and libzlib-wapi. This ensure these will be pinned the same way zlib is in the global pinnings. Also this ensures re-rendering pulls in the corresponding global pinning of zlib. As a result cudnn packages built with this constraint will match the global pinnings in terms of zlib and be installable next to other packages using those pinnings (like python)

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Fixes https://github.com/conda-forge/cudnn-feedstock/issues/81

xref: https://github.com/conda-forge/pytorch-cpu-feedstock/pull/224#issuecomment-1993358085

We should add pins for libzlib and libzlib-wapi in https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/main/recipe/conda_build_config.yaml with a comment that they need to match zlib.
Sth like what's done for https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/c7a46d58e2328ff04313e3133822ae676ba00dac/recipe/conda_build_config.yaml#L606-L608

That sounds reasonable to me 👍
Tobias do you want to pick that up? 🙂


cardano-sl cant  sync

[cardano-sl.node:Debug:ThreadId 336] [2019-08-20 04:55:21.49 UTC] ticking the slot in the submission layer...
[cardano-sl.node:Debug:ThreadId 336] [2019-08-20 04:55:26.50 UTC] ticking the slot in the submission layer...
[cardano-sl.production:Info:ThreadId 329] [2019-08-20 04:55:28.47 UTC] Triggering recovery because we need it
[cardano-sl.production:Debug:ThreadId 329] [2019-08-20 04:55:28.47 UTC] Recovery triggered, requesting tips from neighbors
[cardano-sl.diffusion.outboundqueue.self:Debug:ThreadId 329] [2019-08-20 04:55:28.47 UTC] message MsgRequestBlockHeaders Nothing not enqueued to any nodes of type NodeRelay since no such (relevant) peers listed in Peers {peersRoutes = Routes {_routesCore = [], _routesRelay = [], _routesEdge = []}, peersClassification = fromList []}
[cardano-sl.production:Debug:ThreadId 329] [2019-08-20 04:55:28.47 UTC] Finished requesting tips for recovery
[cardano-sl.node:Debug:ThreadId 336] [2019-08-20 04:55:31.50 UTC] ticking the slot in the submission layer...
[cardano-sl.node:Debug:ThreadId 336] [2019-08-20 04:55:36.50 UTC] ticking the slot in the submission layer...
[cardano-sl.node:Debug:ThreadId 336] [2019-08-20 04:55:41.50 UTC] ticking the slot in the submission layer...
[cardano-sl.node:Debug:ThreadId 336] [2019-08-20 04:55:46.50 UTC] ticking the slot in the submission layer...
[cardano-sl.production:Info:ThreadId 329] [2019-08-20 04:55:49.47 UTC] Triggering recovery because we need it
[cardano-sl.production:Debug:ThreadId 329] [2019-08-20 04:55:49.47 UTC] Recovery triggered, requesting tips from neighbors
[cardano-sl.diffusion.outboundqueue.self:Debug:ThreadId 329] [2019-08-20 04:55:49.47 UTC] message MsgRequestBlockHeaders Nothing not enqueued to any nodes of type NodeRelay since no such (relevant) peers listed in Peers {peersRoutes = Routes {_routesCore = [], _routesRelay = [], _routesEdge = []}, peersClassification = fromList []}
[cardano-sl.production:Debug:ThreadId 329] [2019-08-20 04:55:49.47 UTC] Finished requesting tips for recovery
[cardano-sl.production:Info:ThreadId 334] [2019-08-20 04:55:51.45 UTC] createAndArchiveCheckpoints is starting...
[cardano-sl.production:Info:ThreadId 334] [2019-08-20 04:55:51.45 UTC] pruneAndCompress pruned 0 old archives.
[cardano-sl.production:Info:ThreadId 334] [2019-08-20 04:55:51.45 UTC] pruneAndCompress compressed 1 archives.
[cardano-sl.diffusion:Error:ThreadId 318] [2019-08-20 04:55:51.47 UTC] DNS resolution for [NodeAddrDNS "todo.defaultDnsDomain.com" Nothing] gave no results
[cardano-sl.diffusion:Error:ThreadId 318] [2019-08-20 04:55:51.47 UTC] DNS resolution failure for [NodeAddrDNS "todo.defaultDnsDomain.com" Nothing]: [NameError]
[cardano-sl.node:Debug:ThreadId 336] [2019-08-20 04:55:51.50 UTC] ticking the slot in the submission layer...
[cardano-sl.node:Debug:ThreadId 336] [2019-08-20 04:55:56.50 UTC] ticking the slot in the submission layer...
[cardano-sl.node:Debug:ThreadId 336] [2019-08-20 04:56:01.50 UTC] ticking the slot in the submission layer...
[cardano-sl.node:Debug:ThreadId 336] [2019-08-20 04:56:06.50 UTC] ticking the slot in the submission layer...
---node-info---
curl http://localhost:8090/api/v1/node-info
{"data":{"syncProgress":{"quantity":0,"unit":"percent"},"blockchainHeight":null,"localBlockchainHeight":{"quantity":0,"unit":"blocks"},"localTimeInformation":{"status":"available","localTimeDifference":{"quantity":4570,"unit":"microseconds"}},"subscriptionStatus":{}},"status":"success","meta":{"pagination":{"totalPages":1,"page":1,"perPage":1,"totalEntries":1}}}
---node-info---
plz,help.

@Alteryy How did you solve it?


Can now choose which subreddit to query.

Added dropdown to choose between /r/all, /r/dataisbeautiful, and /r/programming
Note that "subreddit" related charts won't appear when querying anything but /r/all
Charts now show in two columns for better side-by-side comparison (using bootstrap's grid system)
Removed "total comments" section and refresh button
All charts now show a loading indicator when switching between subreddits
Created a better template/view heirarchy in our folders
Added favicon

Shipit

ack


[DEV] Update collect to store network interfaces in SMD

Short Description
We will need to store all of the network interfaces to know whether it is infiniband or not. The main concern with Magellan is to confirm that the network interfaces are included in the output of the collect command. Additionally, the function in SMD that parses and stores the data received from Magellan will have to be updated to store the network interfaces as well.
Definition of Done
This issue will be complete once it is confirmed that Magellan is including the network interfaces in the collect subcommand's output that is being sent to SMD. Modifying SMD to handle the new output is outside of the scope of this issue.

Sure, go for it!

@davidallendj So I have basics of this working. Extracting the networking interface ( names and description ). If the aim is to identify infiniband interfaces we probably need to include network device function, network adapter and/or network port information?

Yes, they are all available through Redfish. I think any of the three would allow one to tell the "type" of network interface. I take a stab at coming up with something for others to comment on.

Check out https://github.com/OpenCHAMI/magellan/blob/main/pkg/crawler/main.go which has some reference implementation for pulling EthernetInterface details.

Thanks, the NetworkInterface object is pretty sparse ( basically links to other objects ), so it a question of determining what to include.

Out of curiosity, do you have any other systems to test on? I'm wondering if the NetworkInterface would be the same or similar between different hardware or Redfish implementations. It's an issue we've ran into before where the Redfish implementations were different enough to require checking more thoroughly for them.

The only thing I have been testing against is: https://github.com/Cray-HPE/csm-redfish-interface-emulator. Which has multiple examples, but their not "real" systems.

Ah, that's right. I can test things out on our hardware once you have something ready.


pandera-core 0.15.2

Changelog: https://github.com/unionai-oss/pandera/releases
License: https://github.com/unionai-oss/pandera/blob/main/LICENSE.txt
Requirements: https://github.com/unionai-oss/pandera/blob/v0.15.2/setup.py
Actions:

Clean up the recipe:

Remove noarch python
Skip py<37 and py>311
Add flags --no-deps --no-build-isolation to script
Add missing setuptools & wheel to host
Fix python in host and run

Update runtime dependencies, add hypothesis >=5.41.1 to run because the downstream package recommenders depends on extras_require strategies with hypothesis >= 5.41.1, see https://github.com/microsoft/recommenders/blob/1.1.1/setup.py#L50

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_801prpvx_y/clone/recipe/meta.yaml:27: python_build_tool_in_run: The python build tool packaging is in run depends
Warnings were found

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_e986e7w7or/clone/recipe/meta.yaml:27: python_build_tool_in_run: The python build tool packaging is in run depends
Warnings were found

what is it with packaging in run and linter lately?

WARNING: /tmp/abs_e986e7w7or/clone/recipe/meta.yaml:27: python_build_tool_in_run: The python build tool packaging is in run depends

is it supposed to be removed or added as exception?

what is it with packaging in run and linter lately?

WARNING: /tmp/abs_e986e7w7or/clone/recipe/meta.yaml:27: python_build_tool_in_run: The python build tool packaging is in run depends

is it supposed to be removed or added as exception?

As this warning will be removed in a new anaconda-linter release we can ignore it

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_3ew9x1t3hw/clone/recipe/meta.yaml:27: python_build_tool_in_run: The python build tool packaging is in run depends
Warnings were found


Improvement to SCIM user filtering with ge and le operations

Currently, SCIM user filtering is supported with eq, sw, co and ew operations. With these operations, it is not possible to filter users for cases like filtering users by last password modified date. To support that it is required to introduce the following operations to the product.

ge (greater than or equal)
le (less than or equal)

The solution is not implemented in legacy flow. So le, ge filters will not work if pagination parameters are not defined.
Should be addressed with https://github.com/wso2/product-is/issues/4943 https://github.com/wso2/product-is/issues/10580


Get GCC's backend debug dumps (RTL)

When developing in GCC, I very often compare RTL dumps for different passes in the backend. Having them available in compiler-explorer will help my day-to-day work. I've already started a prototype, and if you think it could be interesting, I could polish it when ready and push a PR....?

Would love to have a PR for such a thing. Let us know if you need any help with it!

Thanks ! I'm still new to all this javascript idioms and frameworks, so it may take some time before my ugly prototype is good for merge.
Currently, I'm using a some *Sync() methods that should probably be forced async instead (fs accesses).
Regarding files, it looks like all files are automatically cleaned by the temp module, which forces me to read and store in memory all the dumps. When the user selects a given pass in the drop-down menu, it simply gets what is stored in memory.... But in some cases, dumps can be really big, so having the files would probably be better than loading all of them.
Can you confirm that files are getting cleaned when the compiler has been executed and all callbacks are finished ? (and that when the user starts playing with the UI, the files are already gone).

Hi, thanks for suggesting this feature. I would also be great if compiler explorer can provide the output of -fdump-tree-gimple or -fdump-tree-optimized in my humble opinion.
The output of that option provides high level understanding of how complicated C++ programs are destructured while it still preserves the source format that is more readable than assembly output.

I guess this is straightforward, as long as you don't expect to link dumps to source code. Simply getting the text file displayed in a window is easy (and what I am planning to do).

Hi @dkm
To answer your questions: yes, files are automatically cleaned by the temp module as soon as the compilation process has completed and results have been read out.
It's worth realising that in general Compiler Explorer (the main website at least) runs on a cluster of computers, and user requests will likely not go back to the same machine they first compiled on. So even if we left temporary files around for a while, and hoping the user can load a new one as they change "dump" settings in the UI won't work.
I'm thinking you'll have to recompile ech time, and pick the one dump the user has asked for. As time ticks on we can improve the caching etc, and even move to a distributed cache for the main site.
So yes, by the time the user is in the UI the files are gone, and likely as not their requests won't hit the same node when they recompile/change UI settings.
I'm happy to discuss more: feel free to join us on the cpplang slack: https://cpplang.now.sh/ for more interactive discussion.
Thanks! Matt :)

@honggyukim This is also a great idea, thanks!

@mattgodbolt ok, thanks for the reply. I will keep that in mind :). I'll join the slack next time I'm hacking this, thanks !

@honggyukim This is also a great idea, thanks!

@mattgodbolt Thanks for considering it!

So, prototype is on the beta site: https://godbolt.org/g/92nDRj yay!
Some things I spotted:

The icons now spill onto a new line (on my setup at least). We need a more scalable solution for these things.
I found myself wanting to open two views (with different passes) and then diff them. If we relax the constraint of only having one open (unlike the Clang AST etc) then it should be pretty easy to teach the differ to diff RTL too.
Syntax colouring would be nice; it's pretty straightforward to do - I designed all the novel modes in https://microsoft.github.io/monaco-editor/monarch.html :)
Obviously I have to come up with a solution to the ordering problem. Now I have the code locally I'll take a look.

Looking good! Thanks so much for the contribution @dkm !

not sure I understand. If you are talking about the 'Pass filter' and 'Pass dump to display' being on 2 separate lines, that's expected. I was trying to make things easier to read/understand...
diffing would be really great. That would be really really helpful !
syntax coloring was in my mind. I wanted to open a PR for that, but was waiting a bit, I've already used a bit of your time :). Problem is that not all passes uses the same lang. The backend uses RTL, but the earlier passes use gimple. I was thinking of a way to keep track of this and use the correct language highlight setup.

Point 1 refers to the compiler icons. I'm on the middle of generalizing buttons that open another panel so this should not worry you (I should finish it sooner than later)
For point 3, note that if you know which pass you're in, you can tell monaco editor which language is it, and if you add a definition for said language, it will handle the colouring nicely

Please never worry about the time...your patience is appreciated but we want CE to continue to improve :)
Thanks, yes @RabsRincon is right for point one I meant the compiler icons. He's on the case! (Yay Rabs)
For point 2. cool - do you think it would be OK to enable multiple views? I think it would be OK anyway...I can take a look at this if you aren't quite sure.
Point 3: I'd be happy to start off without and add it later, and I can help if needed too.

After re-reading, I realized I did not understand correctly your point 2. In fact, diff 2 passes will mostly shows garbage as each passes prints loads of debug info that are specific. Sometimes it even has RTL duplicated so a single function will have its RTL several times in the same file.
I'm less sure about the gimple dumps as I never use them, so maybe diffing them would be meaningful... I'm convinced that the code won't work with multiple views as there are some values stored in compiler.js : it should be easy to store values for each views...
point3: I'll have a look. I already have some ideas that I need to test :)
Thanks for your time !

re: 2 Ahhh I see. I was thinking it might output something useful, but playing around a bit and I see what you mean!
Great stuff!
(PS I just made a mailing list if you don't want to or can't join the #ce_implementors group on slack. All the details are in the new README.md!)

I've joined the slack channel :) See you there !


Add Textarea option to UI.getInputFromUser

fixes #450
Tried following along from

https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/TextUILayer/Tasks/TextInScrollView.html
https://github.com/AnimaApp/CocoaPowder/blob/788cbfad1a2abb93fd0a3c5bbeb77b8ebd8d3d6f/CocoaPowder Sample.sketchplugin/Contents/Sketch/CocoaPowder.js#L123

Todos:

[x] Figure out how to appease linter?
[x] Figure out what the frame height for the accessory view should be so that the multiplier works properly
[x] Update Documentation

Example usage
UI.getInputFromUser("What's your favorite design tool?", {
  type: UI.INPUT_TYPE.textarea,
  numberOfLines: 10, // defaults to 3,
  initialValue: 'hi',
}, (err, value) => {
  if (err) {
    // most likely the user canceled the input
    return
  }
  console.log(value)
})

Screenshot

To "appease" the linter, you will need to add a few globals to the .eslintrc.yml: NSScrollView, NSViewWidthSizable, NSTextView, NSMakeSize and NSViewWidthSizable .  You will also need to add // eslint-disable-next-line no-bitwise in line 95

Warnings

:warning:
This pull request may need a CHANGELOG entry.

:warning:

Source/ui/UI.js changed, but not:

🧪 its tests

That's OK as long as you're refactoring.

  Generated by :no_entry_sign: dangerJS

@mathieudutour When you get a chance, let me know if there is anything else I can do to help this PR along!


Error while adding annotation SnpEff

Hello,
I would like to try SMuRF to predict variants from BAM.
Here what I run on test files.
myresults <- smurf(mydir, "combined")

 Completed but with warning:

Time difference of 15.69459 secs
 Warning messages:
 1: In FUN(X[[i]], ...) :
   duplicate ID's in header will be forced to unique rownames
2: In FUN(X[[i]], ...) :
   duplicate ID's in header will be forced to unique rownames

Then I run.....
myresults <- smurf(mydir, "cdsannotation")

 .....
[1] "Predicting SNVs"
|======================================================================| 100%
|======================================================================| 100%

[1] "Predicting INDELs"
|======================================================================| 100%
|======================================================================| 100%

[1] "SNV annotation"
[1] "Adding CDS and annotations"
[1] "reading mutect2"
Error in (function (classes, fdef, mtable)  :
  unable to find an inherited method for function ?scanVcf? for signature ?"character", "GRanges"?
 In addition: Warning messages:
 1: In FUN(X[[i]], ...) :
   duplicate ID's in header will be forced to unique rownames
 2: In FUN(X[[i]], ...) :
   duplicate ID's in header will be forced to unique rownames

I would really like to get variants with annotations from SnpEff/SnpSift. How do i get it from SMuRF. Do I have to run SMuRF first and then save the output to vcf, which then parsed to SnpEff?
Many thanks.

Hi Jemkon, apologies, please have your .vcf files tabix indexed as the annotations require an indexed .tbi file. For example tabix –p vcf *.vcf.gz on the unix console, for the mutect2, vardict, varscan and freebayes vcf files. Thanks


[Pornbox] New extractor

IMPORTANT: PRs without the template will be CLOSED
Description of your pull request and other information

This extractor adds support for videos on pornbox.com. Most of the videos on the site must be purchased individually or are accessible via channel membership options. The test case is for one of the few free promotional videos. However, it still requires an account.
This extractor can return metadata with --dump-json and --ignore-no-formats, but otherwise requires cookie authentication.
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests
[x] Checked the code with flake8 and ran relevant tests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Fix or improvement to an extractor (Make sure to add/update tests)
[x] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

Copilot Summary

🤖 Generated by Copilot at 6ff3131
Summary
🚀🗣🛠

Add support for --write-link and --write-url options to write video or playlist URLs to a file. Refactor the code for writing metadata files to avoid duplication and improve readability.

get and set methods
refactored for readability
autumn leaves falling

Walkthrough

Add new extractors for various video platforms (F0L

I had to replace the first test case with a new video because the old one was no longer available, and as far as I can see this is one of the four remaining free videos, so I'm not sure if this test case will work for long. However, it passes the test.


haskellPackages: update stackage and hackage

This Merge
This PR is the regular merge of the haskell-updates branch into master.
This branch is being continually built and tested by hydra at https://hydra.nixos.org/jobset/nixpkgs/haskell-updates.
I will aim to merge this PR by 2021-09-19. If I can merge it earlier, there might be successor PRs in that time window. As part of our rotation @sternenseemann will continue these merges from 2021-09-20 to 2021-10-03.
haskellPackages Workflow Summary
Our workflow is currently described in
pkgs/development/haskell-modules/HACKING.md.
The short version is this:

We regularly update the Stackage and Hackage pins on haskell-updates (normally at the beginning of a merge window).
The community fixes builds of Haskell packages on that branch.
We aim at at least one merge of haskell-updates into master every two weeks.
We only do the merge if the mergeable job is succeeding on hydra.
If a maintained package is still broken at the time of merge, we will only merge if the maintainer has been pinged 7 days in advance. (If you care about a Haskell package, become a maintainer!)

This is the follow-up to https://github.com/NixOS/nixpkgs/pull/136589. Come to #haskell:nixos.org if you have any questions.
You may be able to find an up-to-date build report at https://github.com/cdepillabout/nix-haskell-updates-status.

There are still a few packages that have yet to build on darwin and aarch64, but none of them are maintained, so I will go ahead and merge this in.  There are no evaluation errors on Hydra.


Laravel 5 Docs Note

I know Laravel 5 is not currently supported, but the community are looking to use this great package and have found ways with your help. The issue about fixing the composer.json is fairly easy to find in the issues, but I had a hell of a time figuring out that I had to publish the config. Maybe we could just add it as note somewhere?
https://github.com/Zizaco/entrust/commit/0fc10dc5b24204d6c517131cc8f949bc053424bc
I'm new the open source game, so if I'm supposed to do it myself some where and pull request, please let me know...
Thanks!

@andrewelkins I think "fix" little things in my pull-request

Please test with the laravel-5 branch


Video Initialisation requires to download entire video from the network URL

Hi @OutdatedGuy, I am using this package from the last two months. It's working well. But, I recently noticed when my android app handles large video file from the network then it took more time for init the video. I think it is downloading and caching then initialise the video. So, if there is something like buffering/streaming while downloading will be the added advantage for this package. It improves user experience. also, we can keep the caching part in the background task once it gets completed.
Thanks in advance!

Hi @iamkbkarthikeyan, the caching is handled in background only.
Can you try it with the plain video_player plugin and see if you get any different results.

Hi @OutdatedGuy Thanks for your reply. Yes, there is nothing wrong in terms of caching. It works well. But, it took 3-6 seconds for initialisation every first time. sometimes it took 10-15 seconds.
Actually i am trying to make shorts kind of app. So, it involves multiple video player. If there is something like streaming or buffering then i think we can reduce some time. As you said, It should be in the Original Video Player. I will check the package again and get back to you. If i got any idea to improve this in a better way, then we can implement that in our package.
Cheers,
KB

Some LRU caching or buffered caching is there in exoplayer which requires native code changes but that could be advantageous in my opinion. What do you guys think @iamkbkarthikeyan @OutdatedGuy

i haven't used this package yet but i had similar experience trying to use the video_player and flutter_cache_manager. the time it takes to download then cache is extremely long. I tried HLS videos but it didn't improve anything. I also tried isolates but you cant cache files in anything except the main thread. The only solution is to use native code to start another thread where you can do the caching. that way load times for a video would be 5 seconds or less on the first run, then within a second on future loads, since  you will be loading from the cache.

@sagnik-sanyal Hi, I'm not familiar with either native Android or iOS codes. So I cannot really implement it.
But if you can PRs are always welcomed 😄

@iceekreeam the way this package works is if there is no cache available, the package starts caching the video in background and initializes the video from network directly, else the cache is used.
Also, what I have found with some testing is that the larger the video from network the more time it takes for the base video_player plugin takes to initialize it.

Hey @OutdatedGuy  if it actually caches in the background then this might be the solution i was looking for. i'll try it out at some point. Just not sure how you managed that if the download and cache are running on the main thread. My experience was really slow using flutter cache manager to the point that i removed caching from my app until i could resolve this issue. Anyways happy to try it out and give feedback.

@iceekreeam the way this package works is if there is no cache available, the package starts caching the video in background and initializes the video from network directly, else the cache is used.
Also, what I have found with some testing is that the larger the video from network the more time it takes for the base video_player plugin takes to initialize it.

Hey @OutdatedGuy is that mean each video getting downloaded twice?

@Yaronkr unfortunately yes. Unless we can find a way to cache the already downloaded data from network, it has to download the video twice

@OutdatedGuy hi there better player plugin has caching functionality can you confirm is it what that we want for our usecase so that we can integrate similar functionality for this plugin?

I'm curious if we are alluding to the same problem. because the the caching and downloading makes the initialization with flutter_cache_manager a lot longer. the downloading twice would explain it.  when you say "caching in the background" can you explain that?  are you using multithreading?

@sagnik-sanyal I'll look into it and let you know once I'm free.

@iceekreeam sorry for the confusion, by background I meant Asynchronously in the main thread, not in a separate isolate.

@OutdatedGuy  ok so that gives me more confidence in saying that the second download is slowing the initalization too much. which can make a 3 second download appear like 6 to 10 seconds or more.  i tested with and without caching and the speeds are massively different. So my recommendation goes back to my initial comment. If you can't avoid the second download, then a native ios functionality needs to do the caching in another thread. (I couldn't get isolates to access the fs). Is your team able to do that?

@OutdatedGuy  Any updates on this one? i'm hoping to avoid learning ios/swift development to get around this issue lol

@iceekreeam I'm busy with work hence cannot look into it currently. However, PRs are always welcomed.


Update solana.tokenlist.json

Fixed the address problem and added a new token.

[x] I will not ping the Discord about this pull request.

Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR
At minimum each entry should have

Token Address:  8b4iEKhHCaUJ61TKW2J2hR2v8U1HedM8jcMMbXyYpsLe
Token Name: Ozzy appreciation Club
Token Symbol: OZZY45
Logo https://github.com/imnikola/token-list/blob/main/assets/mainnet/4KdWQGpm7Ap3A5261ZYvi9hsicKjH94h9u1XPgVkKRd8/12849166.png
Link to the official homepage of token: goodv1bes.com
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Changed the logo link. Let me know if there is anything else to add/change :)

logo link should point to token-list repo. Website is not up.


Formatting and deprecation updates

Replaced print methods with puts, as Swift went from println to print, so there was unintentional recursion.
Replaced countElements with count.
Made code styling consistent, e.g. from var:Type, var : Type to var: Type, as per Apple spec.

wait, this is getting use? I was about to delete the repo :dancers:

@orta yes! I was studying it for another text-based game I started working on, but alas gave up on...