Error while installing

Anyone getting this error while installing? I just created a fresh environment in my Ubuntu / Linux VM and followed the installation instructions (git clone, cd, pip install)
Defaulting to user installation because normal site-packages is not writeable
Obtaining file:///home/user/lm-evaluation-harness
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build editable ... done
  Preparing editable metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing editable metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [75 lines of output]
      ModuleNotFoundError while trying to load entry-point bdist_wheel: No module named '_ctypes'
      running dist_info
      creating /tmp/pip-modern-metadata-jutws4fo/lm_eval.egg-info
      writing /tmp/pip-modern-metadata-jutws4fo/lm_eval.egg-info/PKG-INFO
      writing dependency_links to /tmp/pip-modern-metadata-jutws4fo/lm_eval.egg-info/dependency_links.txt
      writing entry points to /tmp/pip-modern-metadata-jutws4fo/lm_eval.egg-info/entry_points.txt
      writing requirements to /tmp/pip-modern-metadata-jutws4fo/lm_eval.egg-info/requires.txt
      writing top-level names to /tmp/pip-modern-metadata-jutws4fo/lm_eval.egg-info/top_level.txt
      writing manifest file '/tmp/pip-modern-metadata-jutws4fo/lm_eval.egg-info/SOURCES.txt'
      reading manifest file '/tmp/pip-modern-metadata-jutws4fo/lm_eval.egg-info/SOURCES.txt'
      adding license file 'LICENSE.md'
      writing manifest file '/tmp/pip-modern-metadata-jutws4fo/lm_eval.egg-info/SOURCES.txt'
      creating '/tmp/pip-modern-metadata-jutws4fo/lm_eval-0.4.2.dist-info'
      Traceback (most recent call last):
        File "/home/user/.local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/home/user/.local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/user/.local/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 181, in prepare_metadata_for_build_editable
          return hook(metadata_directory, config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 453, in prepare_metadata_for_build_editable
          return self.prepare_metadata_for_build_wheel(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 366, in prepare_metadata_for_build_wheel
          self.run_setup()
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 5, in <module>
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup
          return distutils.core.setup(**attrs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 184, in setup
          return run_commands(dist)
                 ^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
          dist.run_commands()
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
          self.run_command(cmd)
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 968, in run_command
          super().run_command(command)
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
          cmd_obj.run()
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/setuptools/command/dist_info.py", line 97, in run
          bdist_wheel = self.get_finalized_command('bdist_wheel')
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 302, in get_finalized_command
          cmd_obj = self.distribution.get_command_obj(command, create)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 861, in get_command_obj
          klass = self.get_command_class(command)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 715, in get_command_class
          self.cmdclass[command] = cmdclass = ep.load()
                                              ^^^^^^^^^
        File "/usr/local/lib/python3.11/importlib/metadata/__init__.py", line 202, in load
          module = import_module(match.group('module'))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
          return _bootstrap._gcd_import(name[level:], package, level)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
        File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
        File "<frozen importlib._bootstrap_external>", line 940, in exec_module
        File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/wheel/bdist_wheel.py", line 27, in <module>
          from .macosx_libfile import calculate_macosx_platform_tag
        File "/tmp/pip-build-env-uo6rkjff/overlay/lib/python3.11/site-packages/wheel/macosx_libfile.py", line 43, in <module>
          import ctypes
        File "/usr/local/lib/python3.11/ctypes/__init__.py", line 8, in <module>
          from _ctypes import Union, Structure, Array
      ModuleNotFoundError: No module named '_ctypes'
      [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.

It looks like you didn't install full python in your environment, and the errors have nothing to do with this project.
Checking https://stackoverflow.com/questions/27022373/python3-importerror-no-module-named-ctypes-when-using-value-from-module-mul might help!


Introduction of the emoji of the Belarusian flag of 1994

I would like to ask you to add an official emoji with the WRW flag (see the attached photo) as a sign of support and solidarity with the peaceful protesters of Belarus, it will be a nice support from your side^^

Duplicate of #444


Null values should be sent as null not omitted from jsonapi payload

https://github.com/shwoodard/jsonapi/pull/17 fixes


[FEEDBACK] text not translatable

Hello,
It is not possible to translate some parts of dashy like for example:
Update Configuration :

Sign Out :

The "Logging In..." at the time of connection :

The "Logged Out" at the time of Sign Out :

Do you think it would be possible to integrate this into the language file?
Thank you
Edit : I think it will have been more appropriate in "Feature Request", sorry

Thanks for spotting these, must have missed these when I implemented the language file, I've fixed it in #129 :)


About how to build the wiki dataset

Hi Daniil,
I am a PHD student from Tsinghua University, I am very interested in your work.  Recently, I have tried to link the wikipedia to wikidata for building a relation dataset with some special restriction,  but I met some trouble.
I used string match to link entity in sentences, which are recognized by Stanford CoreNLP toolkit or with link annotations,  to the  wikidata ids.  But I found it does not work very well since titles and alias in wikidata entity may be the same.

In your paper, "From each sentence in a complete article we extract link annotations and retrieve Wikidata entity IDs corresponding to the linked articles. There is an unambiguous one-to-one mapping between Wikidata entities and Wikipedia articles".  I have trouble to  find the unambiguous one-to-one mapping between Wikidata entities and Wikipedia articles.

For the  entity  recognized by Stanford CoreNLP toolkit in sentence, What step does "the using HeidelTime to extract dates" work for?

If it is convenient, could you share your code for building the wiki dataset? Or could you share your code for entity linking?
Hope to get your help!  Thanks a lot in advance!
Deming Ye

Fine, I found the the unambiguous one-to-one mapping between Wikidata entities and Wikipedia articles.

Hi!
For this dataset, we have only linked the mapped the Wikipedia link annotations to Wikidata IDs. If you have a Wikipedia link, you can use the Wikidata sitelinks (https://www.wikidata.org/wiki/Help:Sitelinks) for the one-to-one mapping between Wikipedia articles and Wikidata entities. Is that the one you have found?
Linking all entities recognised by the Stanford CoreNLP NE tool is much harder. As you correctly mention, this is a problem of entity linking. You can link some named entities to Wikidata by simple string matching, but for a general case you would need a full entity linker.
We have shared the code for our entity linker here:
https://github.com/UKPLab/starsem2018-entity-linking Unfortunately, you'd need a local installation of Wikidata for it to work. There are other entity linkers, that you might want to consider, for example, DBPedia Spotlight. Anyway, as I said above, we didn't use an entity linker for the relation extraction dataset.
HeidelTime is just a tool to recognise dates in text and we used to extract date values. Dates are not entities and you don't need to link them to Wikidata, but some relations connect entities and dates (for example "founded in"). If an entity and a data appear in the same sentence, we have extracted relations for such a pair as well.
The code that we have used to put together the dataset was part of a different project and has a lot of dependencies in Java. I will try to look if we can share it here.
I hope it helps! Feel free to post follow up questions.
Best,
Daniil

Thanks for your enthusiastic reply!
Wikipedia sitelinks will help me a lot!
I am still a little confused. In your papar, "We extract named entities and noun chunks from the input sentences with the Stanford CoreNLP toolkit  to identify entities that are not covered by the Wikipedia annotations (e.g. Obama in the sentence above).  We retrieve IDs for those entities by searching through entity labels in Wikidata.."
What is the searching process?  Is that string matching or other?
Your entity linking tool is so fantastic, but I am worried about the time it take for wikipedia article as the neural model. I am trying some statistic method to do entity linking now.
Thank you again for your
Deming Ye

Hi!
Oh yes, sorry, that was a simple string matching, no fancy entity linking there. We extracted named entities and noun chunks and if it matched some entity in Wikidata (no ambiguity) than we linked it, too. Obama is actually is not a very good example, since there are several entities with the name "Obama".
Yes, entity linking can be very resource heavy.
Best,
Daniil

Thanks a lot!


Crashes Unity Editor on Unity 2018.1b

Crashes Unity Editor upon complete build. Below are the last lines of the Editor.log"
*** Completed 'Build.Player.WindowsStandaloneSupport' in 18 seconds (18037 ms)

Receiving unhandled NULL exception
Obtained 0 stack frames.
 Commenting out the line doesn't crash the editor.

Thanks for the info. I'll download 2018.1b and try replicating the issue.

There were a few issues in 2018.1b that I've resolved, but now that I'm looking at the line you've noted as a problem, this seems like exclusively a Mac problem that probably should've been a problem even before Unity 2018.

Closing, as this is no longer happening on Unity 2018.1 on macOS Big Sur with 1.0.0-pre.1 and Unity Player API Compatibility set to .NET 4.x. Do feel free to re-open if you find the issue persists for you after updating your SuperUnityBuild version.


dcim/cable search fields missing termination_a_id, termination_b_id

Environment

Python version: 3.8.5
Nautobot version: 9c57a71265ba (v1.0.3b1)

Proposed Functionality
Allow to search for dcim/cables in swagger api UI with the input-fields that are required for dcim/cables.

Also GraphQL will complain when trying that fields as filter.

Use Case
The user wants to check if data already exists by providing the required fields of dcim/cables as filter

Database Changes
None

External Dependencies
None

Thanks for the report!

Is there any update on this one?
I'm using pynautobot and wish to check if the cable exists before creating.
This is the code I'm using:
source = nb.dcim.interfaces.get(name='et-0/0/1',device='switch1')
target = nb.dcim.interfaces.get(name='et-1/0/1',device='switch2')

nb.dcim.cables.get(termination_a_type="dcim.interface", termination_b_type="dcim.interface", termination_a_id=source.id, termination_b_id=target.id)

I've confirmed I get the right IDs for the ports, but the query errors with this:
  File "/usr/local/lib/python3.8/dist-packages/pynautobot/core/endpoint.py", line 206, in filter
    raise ValueError("filter must be passed kwargs. Perhaps use all() instead.")
ValueError: filter must be passed kwargs. Perhaps use all() instead.

Closed via #1981


Generate internal link library

If you look at the commit list there are commits from 5th of February authored by me about the support of universal links, but based on the title of this pull request there is no relation between this and the creation of the internal link.
There is no conflicts with the current branch but this is because you are trying to merge the same commits and obviously it shouldn't generate any conflict at all.
In order to be able to perform the code review we need to clean up the commit history and keep only the ones you performed.


Adding Profile Picture to card

Fetching github profile picture using github API & adding them to card.
Fixes #82

@unsuitable001 Please follow this :point_right:  STYLE GUIDELINE to pass the CI tests

@RocktimSaikia Done!

@unsuitable001 Hi . I just tested your code and currently it does not seems to work.Because the List is being rendered before it gets updated with the fetched profile pictures.Are you familiar with promises and callbacks . You need to do something like this
(the github profile are being fetched )
   and when done; update the `List `with the fetched data.
   then render the list to the view

Right now the List is being rendered before the fetching is done.thats why we are not seeing the images.You need to work with promises to work around with this issue. There are tons of articles on promises you can check online.

@RocktimSaikia I think it has another issue. I was console logging and the response of the API was limit exceeded. The current Rate Limit is 60/hr. (I utilized most of it in other purpose)

Delete most of the list (except 4-5 people), while testing.. :smiley:

#100 fixed


⚠ ClamAV has degraded performance

In ded0c02, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 72 ms

Resolved: ClamAV performance has improved in 1143d0a.


quiet outline working in new windows

The plugin does not support exploration or navigation in notes opened in a new window

Click outline panel first, then select note in new window. After that, you can navigate with outline.

Thanks for the answer, but the question I have is that while you are browsing different headers in a note in a new window, the plugin does not track that is, the text focus in the right panel, the navigation by clicking on a header in the right panel works, and even the note headings are recognized in the right panel.
Uploading video.mp4…

Thanks for the answer, but the question I have is that while you are browsing different headers in a note in a new window, the plugin does not track that is, the text focus in the right panel, the navigation by clicking on a header in the right panel works, and even the note headings are recognized in the right panel.
https://github.com/guopenghui/obsidian-quiet-outline/assets/72080184/9f8e680c-4e0b-4499-8a2b-9fb4cdf497d2

Thanks for the answer, but the question I have is that while you are browsing different headers in a note in a new window, the plugin does not track that is, the text focus in the right panel, the navigation by clicking on a header in the right panel works, and even the note headings are recognized in the right panel.

test in 0.3.33

thank you so much


Add header stating its not usable module and remove other sections

what

Add header stating its not usable module and remove other sections

why

Its confusing to see repo like terraform-opsgenie with only example module until first PR is merged

/test all


_metadata isn't well documented

this page makes it seem like the _metadata is part of databricks. I beleive it is part of the core spark however there does not seem to be any documentation on it that I could find.
Could this article be updated to include the minimum pyspark version (and DBR) that this is supported for this feature and a link back to the documentation in the spark page (https://spark.apache.org/docs/3.3.0/api/python/reference/index.html)

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 15da48de-9b2a-85cb-8757-05c3c1d5d467
Version Independent ID: 15da48de-9b2a-85cb-8757-05c3c1d5d467
Content: File metadata column - Azure Databricks
Content Source: databricks/ingestion/file-metadata-column.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@jasonhorner
Thanks for your feedback! We will investigate and update as appropriate.

@jasonhorner
Thank you for bringing this to our attention.
I've delegated this to content author @mssaperla, who will review it and offer their insightful opinions.

@mssaperla
Could you please review add comments on this, update as appropriate.


Fixed excluding docs from install

Fix the exclusion rules to use wildcards, as that is necessary to recursive exclude a directory.  Otherwise, docs/_theme is still included.

Fantastic, thank you!

Thanks!

THe new version is online :)


 I have a bootloader written in assembly language. And I wonder how to connect this to the kernel. I was browsing the files in the target folder and came across a file called "blog_os" in the path: ./target/x86_64-blog_os/debug/blog_os. I also noticed that every time qemu starts up, it starts the botimage-blog_os file. The bootimage-blog_os file has a bootloader provided because it is bootable. If I'm right when I use cargo objcopy to create blog_os.bin from blog_os and attach my bootloader to it, it should work. I'd like to know what you @phil-opp  think.

@phil-opp  Recently you advised me to connect my bootloader to the system I have to compile it as static lib when I do this then you can't do anything about it. Neither use cargo objcopy nor anything else.


Cannot open app - not supported on this Mac-type

Hello,
I have created a little app using Platypus 5.2 which is working just fine on my mac (Macbook Air, macOS High Sierra 10.13.3, Intel).
When trying to run the app on a client's mac (Macbook Pro, macOS High Sierra 10.13.1, Intel) i am getting an error message, as well as a blocked sign on the app icon.

Did you by any chance send the app via email without zipping it first?

Ah, cheers - that was probably it. I used Dropbox, and it got a .zip from it when I downloaded, but I had to manually zip it to get it to work. Sorry - don't know if this is the right place to get support, but thanks for replying. Great app!


Coursier doesn't download lwjgl dependencies specified by the sbt-lwjgl-plugin

To try, download an example project (e.g. https://github.com/bbarker/SME), and make sure the coursier plugin is uncommented in plugins.sbt.
From sbt, do runHelloSimpleApplication.
At this point, I expect to see something like:
[info] Copying files for linux64
[trace] Stack trace suppressed: run last *:lwjglCopyNatives for the full output.
[error] (*:lwjglCopyNatives) java.io.FileNotFoundException: No Natives found in: /home/brandon/.ivy2/cache/org.lwjgl.lwjgl/lwjgl-platform/jars
[error] Total time: 1 s, completed Sep 30, 2017 12:48:47 PM

@bbarker The problem doesn't seem to come from coursier here. sbt-lwjgl has the ivy2 cache hardcoded in its sources here or there, which can't work with coursier. sbt-lwjgl should rely on more generic mechanisms for that (e.g. like sbt-scalafmt does afaik).

Thanks for the feedback. I believe it has been abandoned, I really need to try to find the time to rewrite it at some point (though I keep hesitating in the hope of switching to CBT first :) ).

Ok, closing this issue then.


allow oldUrls array in page data

Published pages contain the "canonical" url, but they should also store a simple array of all the urls that have been added to it. This allows 3rd party services to easily know when pages have been re-published, and allows us to easily add redirects when re-publishing.
They are listed oldest to newest, like so:
{
  "url": "http://nymag.com/scienceofus/2016/06/new-slug.html",
  "oldUrls": [
    "http://nymag.com/scienceofus/2016/06/old-slug.html",
    "http://nymag.com/scienceofus/2016/06/new-slug.html"
  ]
}

Current url is included in oldUrls?  such as   http://nymag.com/scienceofus/2016/06/new-slug.html
Maybe rename to allURLs?

Hmm, good point.

Coverage remained the same at 100.0% when pulling 57fea7df76466c08ee73b3f9d81cd81557cced61 on oldUrls into 3e9667d2446b3d3ad17ca16d3781b537f41fdfd2 on master.

On a related note, it'd be useful to include id field in page representation, since it looks like url isn't stable. Something like GUID in RSS feeds.
3rd party vendors that listen to amphora page notification event can use stable id of the page instead of history of changing URLs of the page. They could just update their datastore with given page id, instead of deleting multiple items listed in oldUrls and adding one item with url (assuming they have built their datastore where key is page's url).

@saml the page URI is stable. Perhaps we could use that?

@cruzanmo a page can have many (public) urls.
For example, /asite/pages/a  is stable. This key won't change in amphora.
But there are  /asite/uris/a, /asite/uris/b, /asite/uris/c, ..   that resolve to /asite/pages/a.
You can use any of those public uris to access /asite/pages/a.
It'd be nice to include the stable (private?) key,  /asite/pages/a in the page json as well.

We don't include the page uri in the page data itself because anyone who's doing a request for the page already knows the uri. That being said, the notifications service (which fires the webhooks) should somehow include the uri in the stuff it's sending, since it's not requesting page data from the uri.

To keep it RESTful, we could have the page URI in a header, i.e. a link header https://www.w3.org/wiki/LinkHeader

@cruzanmo @saml let's continue this discussion in this ticket https://github.com/nymag/amphora/issues/276

Adding URL history to the body adds convenience, but might also be also be adding complexity. A third-party service should only need a stable id to know if a page is being re-published.

@cruzanmo how would a 3rd party service know that the url has changed, though?

(also, without some kind of record, even our internal publishing service has no idea if a page url has changed)

@yoshokatana I'm not sure if 3rd party service is concerned with history or change of public URL as long as they have ID of the page. When a 3rd party service is using url as id, it's nice for amphora to provide history of url so that the 3rd party can know if current publish event is for one of the known pages, not a new page. And it can update the existing page instead of creating a new one.
But if 3rd party service uses id as id, it does not care if current publish event is new or republish of an existing page. It can diff the change that's included in this publish event against its datastore, detect url change, and do whatever it wants to do.
I think the problem is that amphora currently includes only url in publish event that could be used to identify the page being published.
Including stable id in publish event would be great, in addition to providing url history.

it's nice for amphora to provide history of url

This is exactly what this PR does...

The discussion of whether notifications should include a uri is separate from this pull request, and should be done here → https://github.com/nymag/amphora/issues/276

I do not think it is necessary to include the URL history, if we resolve issue #276.

This PR really shouldn't depend on resolving that issue, though. They're completely unrelated.

👍  from our irl discussion


Remove '@ts-ignore' Suppression

CodeFactor found an issue: Do not use "@ts-ignore" because it alters compilation errors.
It's currently on: src\inject.ts:14 Commit 205d74e

I'm gonna ignore this one because _data is indeed undocumented.


Add GitHub thumbprint in upper case

lower case causes perpetual swap.

:tada: This issue has been resolved in version 0.5.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add current project as development dependency

[x] I have searched the issues of this repo and believe that this is not a duplicate.
[x] I have searched the documentation and believe that my question is not covered.

Question

To be able to use an import statement like import poetrytest.sub_package within the package poetrytest during development, I need to add the path to the package folder to PYTHONPATH or I can use pip install -e /path/to/project if I have a setup.py. The second way is usually my way of choice.
Now I would like to do the same with poetry: Adding the current package project as a development dependency in editable mode. I tried:
poetry add --dev --path /home/finswimmer/tmp/poetrytest -- poetrytest

And this results in:
Updating dependencies
Resolving dependencies... (0.0s)

[AssertionError]

add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] <name> (<name>)...

Running with -vvv gives me:
Using virtualenv: /home/finswimmer/.cache/pypoetry/virtualenvs/poetrytest-py3.6

Updating dependencies
Resolving dependencies...
   1: fact: poetrytest is 0.1.0
   1: derived: poetrytest
   1: Version solving took 0.006 seconds.
   1: Tried 1 solutions.

[AssertionError]

Exception trace:
 /home/finswimmer/.poetry/lib/poetry/_vendor/py3.6/cleo/application.py in run() at line 94
   status_code = self.do_run(input_, output_)
 /home/finswimmer/.poetry/lib/poetry/console/application.py in do_run() at line 88
   return super(Application, self).do_run(i, o)
 /home/finswimmer/.poetry/lib/poetry/_vendor/py3.6/cleo/application.py in do_run() at line 197
   status_code = command.run(input_, output_)
 /home/finswimmer/.poetry/lib/poetry/console/commands/command.py in run() at line 77
   return super(BaseCommand, self).run(i, o)
 /home/finswimmer/.poetry/lib/poetry/_vendor/py3.6/cleo/commands/base_command.py in run() at line 146
   status_code = self.execute(input_, output_)
 /home/finswimmer/.poetry/lib/poetry/_vendor/py3.6/cleo/commands/command.py in execute() at line 107
   return self.handle()
 /home/finswimmer/.poetry/lib/poetry/console/commands/add.py in handle() at line 139
   status = installer.run()
 /home/finswimmer/.poetry/lib/poetry/installation/installer.py in run() at line 73
   self._do_install(local_repo)
 /home/finswimmer/.poetry/lib/poetry/installation/installer.py in _do_install() at line 165
   ops = solver.solve(use_latest=self._whitelist)
 /home/finswimmer/.poetry/lib/poetry/puzzle/solver.py in solve() at line 38
   packages, depths = self._solve(use_latest=use_latest)
 /home/finswimmer/.poetry/lib/poetry/puzzle/solver.py in _solve() at line 171
   self._package, self._provider, locked=locked, use_latest=use_latest
 /home/finswimmer/.poetry/lib/poetry/mixology/__init__.py in resolve_version() at line 7
   return solver.solve()
 /home/finswimmer/.poetry/lib/poetry/mixology/version_solver.py in solve() at line 79
   next = self._choose_package_version()
 /home/finswimmer/.poetry/lib/poetry/mixology/version_solver.py in _choose_package_version() at line 380
   for incompatibility in self._provider.incompatibilities_for(version):
 /home/finswimmer/.poetry/lib/poetry/puzzle/provider.py in incompatibilities_for() at line 448
   for dep in dependencies
 /home/finswimmer/.poetry/lib/poetry/puzzle/provider.py in <listcomp>() at line 448
   for dep in dependencies
 /home/finswimmer/.poetry/lib/poetry/mixology/incompatibility.py in __init__() at line 59
   assert by_ref[ref] is not None

add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] <name> (<name>)...

Adding "external" dependencies like this works. So am I doing something wrong?
fin swimmer

Ok, I've found the correct way to it. Thanks to the issue #1382
After init the project with poetry new poetrytest I just need to invoke a poetry install inside the project folder.


Project is marked as a GitHub template

GitHub template projects are intended as base git repositories when someone is creating a new repository. The content in this repo doesn't appear to be a good fit for that.
https://help.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-template-repository

Thanks @nschonni, I turned it off.


[QUESTION] Loading difficulties for xplat pwsh modules

Having an issue reliably loading native libraries from Skia within a powershell module on non-Windows platforms.
The error we're getting, predictably, is:
Message        : Unable to load shared library 'libSkiaSharp' or one of its dependencies. In order to help
                 diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
                 dlopen(liblibSkiaSharp, 1): image not found
TypeName       :
Data           : {}
InnerException :
TargetSite     : IntPtr sk_fontmgr_ref_default()
StackTrace     :    at SkiaSharp.SkiaApi.sk_fontmgr_ref_default()
                    at SkiaSharp.SKFontManager.get_Default()
                    at PSWordCloud.WCUtils..cctor() in
                 /Users/****/Documents/Git/PSWordCloud/Cmdlet/src/WCUtils.cs:line 153
HelpLink       :
Source         : SkiaSharp
HResult        : -2146233052

So it seems as though we can work around this just by adding the right folder to the referenced environment variable... however, this doesn't seem to work. Adding the folders containing the native libs to the variable doesn't let them load.
For PowerShell this is a particular problem, because I can't ship a version of my module for every OS; I have to ship everything together. Well, I suppose I can, but that reduces discoverability. 🙁
Is there a way we can build Skia to look for the native libraries under different filenames? Currently, several of the files that get dropped in <OS>/native have identical names, making it impossible for me to put them all in the same folder as the main SkiaSharp.dll. If we could give them discrete names and still have Skia recognise and load the correct one, it'd neatly solve this problem.

That's what the structure looks like after a standard dotnet publish, but I'm not sure how to go about making sure each native library is accessible on a given platform that may be running pwsh.

🤔 would it be better to just have Mac/Linux users install Skia separately via mono itself, and avoid bothering to package too many native libs?

Well, we could go the one route and just put the x64 binaries for macOS/Windows/Linux as they have different extensions dylib/dll/so.
For Windows, you can either just ship the x64 binary, or, load each of the assemblies dynamically:
[DllImport("kernel32.dll")]
static extern IntPtr LoadLibrary(string dllToLoad);
...
if (is64Bit)
    LoadLibrary("path/to/64.dll");
else
    LoadLibrary("path/to/32.dll");

Something like this:
https://github.com/xamarin/urho/blob/a484a103208c854aead8f0d5cdc2150429f2813a/Bindings/Desktop/DesktopUrhoInitializer.cs#L41

I see you opened this issue: https://github.com/PowerShell/PowerShell/issues/8861 :)

😄  Yeah, best to ask on both ends of the dependency chain, I figured. Also @TylerLeonhardt asked me to open one for PowerShell specifically, because clearly we need better support for this stuff in-the-box for ourselves.
Appreciate the resource, thank you so much! <3

No prob. Now that I have commented on that issue, I will keep an eye on it.

Resolved by: https://github.com/PowerShell/PowerShell/pull/11032
Docs: https://docs.microsoft.com/en-us/powershell/scripting/learn/writing-portable-modules?view=powershell-7#dependency-on-native-libraries


[BugReport] sumbitit_local won't work for more than 1 GPUs

[BugReport] sumbitit_local won't work for more than 1 GPUs :confused: .
[2024-11-06 13:33:45,945][root][INFO] - Exporting PyTorch distributed environment variables.
[2024-11-06 13:33:45,945][root][INFO] - SLURM detected!
[2024-11-06 13:33:45,969][root][INFO] - MASTER_ADDR:
	gpu2103
[2024-11-06 13:33:45,969][root][INFO] - MASTER_PORT:
	25425
[2024-11-06 13:33:45,970][root][INFO] - Process group:
	2 tasks
[2024-11-06 13:33:45,970][root][INFO] - 	rank: 0
[2024-11-06 13:33:45,970][root][INFO] - 	world size: 2
[2024-11-06 13:33:45,970][root][INFO] - 	local rank: 0
[2024-11-06 13:33:45,971][root][ERROR] - Error setting up distributed hardware. Falling back to default GPU configuration.
Traceback (most recent call last):
  File "/oscar/home/vsharm44/projects/ssl-perturbation-augmentation/.venv/lib64/python3.9/site-packages/stable_ssl/base.py", line 499, in _set_device
    self.config.hardware = setup_distributed(self.config.hardware)
  File "/oscar/home/vsharm44/projects/ssl-perturbation-augmentation/.venv/lib64/python3.9/site-packages/stable_ssl/utils/utils.py", line 101, in setup_distributed
    torch.distributed.init_process_group(
  File "/oscar/home/vsharm44/projects/ssl-perturbation-augmentation/.venv/lib64/python3.9/site-packages/torch/distributed/c10d_logger.py", line 83, in wrapper
    return func(*args, **kwargs)
  File "/oscar/home/vsharm44/projects/ssl-perturbation-augmentation/.venv/lib64/python3.9/site-packages/torch/distributed/c10d_logger.py", line 97, in wrapper
    func_return = func(*args, **kwargs)
  File "/oscar/home/vsharm44/projects/ssl-perturbation-augmentation/.venv/lib64/python3.9/site-packages/torch/distributed/distributed_c10d.py", line 1520, in init_process_group
    store, rank, world_size = next(rendezvous_iterator)
  File "/oscar/home/vsharm44/projects/ssl-perturbation-augmentation/.venv/lib64/python3.9/site-packages/torch/distributed/rendezvous.py", line 221, in _tcp_rendezvous_handler
    store = _create_c10d_store(
  File "/oscar/home/vsharm44/projects/ssl-perturbation-augmentation/.venv/lib64/python3.9/site-packages/torch/distributed/rendezvous.py", line 189, in _create_c10d_store
    return TCPStore(
RuntimeError: The server socket has failed to listen on any local network address. port: 25425, useIpv6: 0, code: -98, name: EADDRINUSE, message: address already in use
[2024-11-06 13:33:46,033][root][INFO] - GPU info (nvidia-smi):
[2024-11-06 13:33:46,033][root][INFO] - 	NVIDIA GeForce RTX 3090, 24576 MiB, P2, 4, GPU-5d8fa3d4-f78d-6100-dbbc-4382e6fe64ae, 00000000:25:00.0
NVIDIA GeForce RTX 3090, 24576 MiB, P8, 4, GPU-62c84bb3-c568-5485-7888-a55548254a6f, 00000000:A1:00.0

opinion: If user uses submitit then we should use its job environment to get torch distributed configs. Trying to overwrite the configs with slurm or local system's params leads to bugs and unexpected behavior.


[Bug]: 404 error at URL: /txns/IMkxEma22ZAYcUcuoMMr8T-kbWQ-cvFjC6HjeK-AmoA

What happened?
A bug happened!
URL
https://explorer.helium.com/txns/IMkxEma22ZAYcUcuoMMr8T-kbWQ-cvFjC6HjeK-AmoA
What browsers are you seeing the problem on?
Brave
Do you see the issue on Mobile or Desktop?
Desktop
Relevant log output
No response

commented as part of #1057. solution was to contact the exchange, transaction has failed.


fix: compute fixes for extension types

While working on github.com/apache/iceberg-go to enable reading data, I came across a few issues when dealing with UUID / extension types and some other small compute things. This fixes those issues and adds tests to account for them.

I'm not sure what are the problems to be fixed...
It may be better that:

We use one pull request per problem
We add how to reproduce the problem, actual result and expected result in issue/PR description

I can separate the change in the compute side from the change on the parquet side. While the changes on the compute side are fixing 2 different issues, they are intertwined and would end up having duplicate code between them if i separate them into different PRs.
I'll split the PR into those two separate ones tomorrow.  Essentially it's related to just reading UUID fields from parquet files and utilizing UUID extension types in the compute package to perform comparisons, along with a small error propagation issue.

Closing in favor of #173 and #174


I dont have mainmenu.json file

I dont have mainmenu.json file. am i supposed to create it or is there a link to get it

happened to me too, it is supposed to create itself. For me i just made the Version in another folder inside .minecraft to sepparate the fabric /forge versions. I forgot about that and looked inside the .minecraft.  If not add me on Discord i will try to help you there. My discord: Captin500#9774


money - Safety deposit box

Mod(s) Affected

SquareOne money

Description of planned update
Safety deposit box is an inventory storage item, like a chest, which is password protected rather than assigned to the players. The intention is to have an area in the server bank to store the safe and they will not become 'abandonned' after a year, like protectors.
Password protection is to allow cross-account access, without having a list of 'allowed' names.

password security functions

[x] After place node, open formspec to assign the chest a player which will be used to set up their password on the safe
[x] Disallow click actions if there is no 'owner' set up
[x] After the password is set, the owner meta is not used for access functions
[ ] on right click, open password formspec and only show inventory on successful authorization
[ ] If after X amount of failed auth attempts, timelock the safe for like an hour or something.
[x] Textures for node

Items allowed to be deposited?

[ ] limit items to 'valuables' only

[ ] allow any item, its not the banks business to know what they store

Optional brainstorm ideas

[ ] What about a bank account?
[ ] ...?

Testing Q/A

Live environment test
[ ] Yes
Any unforseen bugs?
[ ] No

Deployment Status

[x] Not Ready, stalled
[x] Not Ready, under development
[ ] Ready, not uploaded
[ ] Ready and uploaded, pending server reboot
[ ] Is live on server

After Deployment

Any new bugs being reported?

[ ] No, Close ticket

[ ] Yes, Describe and open new ticket.

Anything else to add?

Add Screenshots if needed.

Password protection of nodes poses a security risk: in the case where a player uses a password they use elsewhere, due to the unencrypted network traffic between the client and server.
Need to either wait for CSSM implementation, or figure out a solution for the interim.


Issue configuring enphase inverters due to token size

Enphase configuration fails because authentication token exceeds BLE's 512-byte transmission limit (MTU).

A quick fix could be to remove stuff from the token as it is a jwt e.g. the header is not needed and can be reconstructed in the gateway instead... it could also be an idea to send it as plain json and not in jwt format, keys kan be shorter and base58 is quite bloaty.

we will move to using credentials in the UI and the gateway will fetch the token. This also makes it easier for the end user.

Gateway now accepts either a token or a user/pwd gw serial combo. Next step is the configurator :)


Unable to find/change slider

Describe the bug
I've got a page with two sliders and Taiko seems unable to find them (and change their value):

I've tried several approaches for finding the first slider (id: 'loanAmount', selectHiddenElements, proximity selector (above, below)) but I always get a "Error: Range ... not found".
 (URL can be provided via mail or Spectrum Chat.)
Use Taiko's 'range' API to change the value of the sliders.
See error.

Logs
Error:  not found
    at RangeWrapper.firstElement (/[...]/node_modules/taiko/lib/elementWrapper/helper.js:8:11)
    at async RangeWrapper.select (/[...]/node_modules/taiko/lib/elementWrapper/rangeWrapper.js:63:18)

Error: Range above 6.000 not found
    at RangeWrapper.firstElement (/[...]/node_modules/taiko/lib/elementWrapper/helper.js:8:11)
    at async RangeWrapper.select (/[...]/node_modules/taiko/lib/elementWrapper/rangeWrapper.js:63:18)
    at async /[...]/slider.js:7:9

Expected behavior
Slider is found and its value is changed.

Versions:

Taiko: 1.0.26
OS 10.15.7 (19H2)
Node.js v14.13.1

Thanks for sharing the page source code. Taiko's range selector only works on input type range. It looks like you are trying to use range on a custom slider which does not use the correct input type.
As it is a custom control please use evaluate api to run a script on the browser to select values.

@zabil Thanks for your feedback. The slider in question is indeed not an input type range one. Thanks for pointing me to the alternative solution via evalute. In my case, since for my current tests I only need to change the slider to a different value than the initial one (since the test consists in validating the general functionality of the slider) and not to a specific value, I found out that I can achieve this via dragAndDrop:
await dragAndDrop($('#loanAmount'), { right: 1 });

This moves the slider to the right (actually irregardless of the value of right)  and thereby changes its value -- which is sufficient for my (smoke) test.


Add "rank" to the ordered nodes table

From @hyanwong: ordered_leaves should all have rank "species" or (possibly) "no rank - terminal", so we shouldn't need to include, but we could check and log any times they are not

It appears that 'rank' is a reserved word, which causes some friction.
Options:

Backquote it as rank in all SQL queries, which works but requires special casing this column
Name the column rnk instead

@hyanwong I'm tempted to go with 'rnk'. What do you think?

Ha. I can imagine why that was difficult to track down. Either rnk, or taxonomic_rank would be fine, IMO.

The basic change is quite simple. When it comes to

ordered_leaves should all have rank "species" or (possibly) "no rank - terminal"

I'm running into an interesting case, where an ott is a subspecies for OpenTree, but a species for OneZoom:
563163	|	563165	|	Felis silvestris	|	species	|	ncbi:9683,gbif:7964291,irmng:10201332	|		|		|
54743	|	563163	|	Felis silvestris bieti	|	subspecies	|	ncbi:458418,gbif:2435040,irmng:11269571	|		|	infraspecific	|

For OneZoom, this OTT is a species (Felis bieti), based on our bespoke trees.
But since we get the rank from OpenTree, we end up having a leaf that's marked as a subspecies.
None of that affects the new logic we care about, since this is only a sanity check that our leaves are indeed species.
Options:

Don't bother with this sanity check (or revisit later)
Loosen the sanity check to allow for leaves to be stamped as 'subspecies'

I went with 'rnk', and for now omitted the check on leaves.
Here is the distribution of ranks through the entire OneZoom tree:
mysql> SELECT rnk, COUNT(*) FROM ordered_nodes GROUP BY rnk ORDER BY COUNT(*) DESC;
+--------------------+----------+
| rnk                | COUNT(*) |
+--------------------+----------+
| NULL               |  2113842 |
| genus              |   104546 |
| family             |     7291 |
| subfamily          |     2908 |
| tribe              |     1665 |
| subgenus           |     1132 |
| order              |      842 |
| superfamily        |      640 |
| no rank            |      450 |
| subtribe           |      318 |
| suborder           |      246 |
| section            |      222 |
| class              |      216 |
| species group      |      148 |
| phylum             |      130 |
| infraorder         |       96 |
| subclass           |       94 |
| species subgroup   |       74 |
| superorder         |       37 |
| subphylum          |       17 |
| parvorder          |       16 |
| subsection         |       13 |
| infraclass         |       12 |
| superclass         |        8 |
| infrakingdom       |        6 |
| cohort             |        5 |
| kingdom            |        4 |
| no rank - terminal |        2 |
| infraphylum        |        2 |
| supertribe         |        2 |
| domain             |        2 |
| varietas           |        1 |
| superphylum        |        1 |
| subspecies         |        1 |
| subkingdom         |        1 |
| subcohort          |        1 |
+--------------------+----------+

Some are a bit odd, and maybe we'll need to only include those from a known set and ignore the rest.

Neat, thanks. I will talk about this with James next week.

Re Felis bieti, we will indeed have some things in the bespoke trees that are not of species rank in the OpenTree, but that's fine.

This is now complete.


Website not working

Can not access https://www.podcastfy.ai/

Hello, thanks for your question.
podcastfy.ai simply redirects to this very github repo
What are you looking for?

hey, my bad. Any api documentation or playground?

Paper | Python Package | CLI | REST API | Web App | Feedback


Show table units in a separate column

In the current table display of charts, for example for the chart CO2 emissions, the units are displayed in each cell in the chart:

The issue with this visualisation is that 1) it has a lot of redundancy, decreasing the clarity of the table and 2) it is less easy to copy table data to Excel. My proposal would be to change this visualisation, for example by adding a separate column where the units are displayed.
@marliekeverweij what do you think of this idea?
@noracato would this idea be possible?

@noracato is this something you could look into at some point? For some charts, like the new CO2 intensity of hydrogen production chart, repeating the unit in each cell can get quite distracting:


Menu positioning breaks with custom button element

🐛 Bug report
Current behavior
When I use a custom button element for MenuButton the automatic positioning of the menu ceases to work. Looking at the menu's div element the style attribute toggles between display: none when the menu is closed and empty when the menu is open.
The custom button element I am using just renders an HTML button and it also maps all passed in props on to the button element.
Steps to reproduce the bug
Menu component:
import {
  useMenuState,
  Menu,
  MenuItem,
  MenuButton,
  MenuSeparator,
} from "reakit/Menu";

const Button = props => <button {...props} className='exampleCustomClass'>Open menu</button>

function Example() {
  const menu = useMenuState();

  return (
    <>
      <MenuButton {...menu} as={Button}>Menu</MenuButton>
      <Menu {...menu} aria-label="Example">
        <MenuItem
          {...menu}
          onClick={() => {
            menu.hide();
            console.log("clicked on button");
          }}
        >
          Button
        </MenuItem>
        <MenuItem {...menu} as="a" href="#" onClick={menu.hide}>
          Link
        </MenuItem>
      </Menu>
    </>
  );
}

In the abov example the menu won't be positioned. Removing the as prop from MenuButton makes positioning work again.
Expected behavior
The menu positioning should continue to work as it does when a custom button element is not provided via the as prop.

Hi @liegeandlief! You have to forwardRef on your custom Button component. You should've seen a console warning about that.

Thanks @diegohaz! Are you able to provide an example of what you mean? Thanks :)

Sure:
const Button = React.forwardRef((props, ref) => (
  <button {...props} ref={ref} className='exampleCustomClass'>Open menu</button>
));

That worked a treat. Thanks!


Issues inside docker

I'm having trouble with using restish inside a docker container.
My dockerfile creates a user 'cli-user', unzips the restish code into /user/local/bin and adds an apis.json and api spc in the /home/cli-user/.restish folder
when I run my container as the cli-user, and run restish list I see this error:
**_panic: open /home/cli-user/.restish/cache.json: permission denied
goroutine 1 [running]:
github.com/danielgtaylor/restish/cli.initCache(0xd3f496, 0x7)
/home/runner/work/restish/restish/cli/cli.go:393 +0x483
github.com/danielgtaylor/restish/cli.Init(0xd3f496, 0x7, 0xf28444, 0x5)
/home/runner/work/restish/restish/cli/cli.go:101 +0x73
main.main()
/home/runner/work/restish/restish/main.go:14 +0x52_**
when I run my container as an admin and run restish list I get this error:
Caught error: Get "https://list": dial tcp: lookup list on <IP_ADDRESS>:53: no such host
Please let me know what I can do to fix these issues.    What permissions is 'cli-user missing'?
What is trying to be done on <IP_ADDRESS>:53 ?? Do I need to make changes to my docker network

I fixed the permission error with a simple chmod on the .restish folder.
The latest is that when I try run inside of a docker container, the -H flag to pass the access token doesn't seem to be working.
For example this command works for me out side of docker and I get a list of client records:
restish a-ci  -H "Authorization: bearer eyJhbGciOiJ…” tenant-client-controller-find 1
but when I run it inside my container, I am prompted to log in:
`Open your browser to log in using the URL:
https://a-ci.labshare.org/_api/auth/ls/authorize?audience=https%3A%2F%2Fa-ci.labshare.org%2F_api%2Fauth%2Fls&client_id=auth-ui2&code_challenge=cQEM37t-W79EcUEla8hrsOSZZw4v0TFZzED7Zdhlby8&code_challenge_method=S256&redirect_uri=http%3A%2F%2Flocalhost%3A8484%2F&response_type=code&scope=openid+profile+email
Alternatively, enter the code manually:
Unable to get a code. See browser for details. Aborting!
`
Any theory about how the docker envonment could be effecting the processing of the bearer token ?

Found the issue - the latest published build (0.7) does not have the fix for the -H issue.  Also needed to make sure docker had a linux x86 build and not my local osx build


Add linux builds for x86_x64

What about to add cross platform builds with github actions and upload them to release page? it will be nice to have it.

Is Lapce-linux.tar.gz not x86_x64?


Add jcenter/bintray as repository for Maven

This pull request adds jCenter from bintray.com as repository for Maven, to mirror the change via #2.
The build logs show that the new settings are applied.

I say remove pom.xml and not worry about keeping these in sync.

Alright, let's do it this way.


Added Atomic Design book into free-programming-books-subjects.md

What does this PR do?
Add resource
For resources
Description
The Atomic Design book from its autor's page.
Why is this valuable (or not)?
Details a metodology to creating and maintaining robust design systems
How do we know it's really free?
It has a link to the table of contents. It's free for those who wants to read it online.
For book lists, is it a book? For course lists, is it a course? etc.
Is it a free book.
Checklist:

[☑] Read our contributing guidelines.
[☑] Search for duplicates.
[☑] Include author(s) and platform where appropriate.
[☑] Put lists in alphabetical order, correct spacing.
[☑] Add needed indications (PDF, access notes, under construction).
[☑] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Thanks, and welcome to free-programming-books!


fix: The withDefaults function loses arguments when assigning a function default value #5253

fix: The withDefaults function loses arguments when assigning a function default value
Fix #5253

Could you please resolve the conflicts?

Could you please resolve the conflicts?

I opened a new Pull Request https://github.com/vuejs/core/pull/12243


Flash loader

I am putting this branch for PR so we can soon merge it
The loader is quite complex by nature of the machine, hence the testing will also include such.
It is mostly a porting from hextof-processor with some bugfixes, a change in the multiprocessing backend, a bit of refactoring.
I will keep pushing the tests as I do them but I'd suggest you to review the loader first.

I am happy to review that, however, before please
-fix the merge conflicts first (either rebase onto main (preferrred), or merge main into this branch)
-make sure linting and tests pass
-provide some test data and an example notebook
WIthout these, it's quite difficult to review, and won't be mergabale anyways

I agree with @rettigl here, at least regarding the first and last point. Sooner or later those requirements have to be met in order to merge this branch. So, instead of review some not-ready-to-merge code, I would address them as soon as possible.
This will save time in the long run to the reviewers ;)


Adds an event stream to Baker.

Do not merge yet, depends on a release of kagera 0.2.24

Events are received for processes on the local JVM only and at most once.

Codecov Report

Merging #17 into master will increase coverage by 0.17%.
The diff coverage is 88%.

@@            Coverage Diff             @@
##           master      #17      +/-   ##
==========================================
+ Coverage   77.65%   77.82%   +0.17%
==========================================
  Files          48       48
  Lines         962      974      +12
  Branches       41       45       +4
==========================================
+ Hits          747      758      +11
- Misses        215      216       +1

Impacted Files
Coverage Δ

.../main/scala/com/ing/baker/runtime/actor/Util.scala
47.61% <ø> (ø)
:arrow_up:

.../scala/com/ing/baker/runtime/java_api/JBaker.scala
61.9% <0%> (-3.1%)
:arrow_down:

.../com/ing/baker/runtime/petrinet/TaskProvider.scala
85.18% <100%> (ø)
:arrow_up:

...a/com/ing/baker/runtime/actor/KryoSerializer.scala
100% <100%> (ø)
:arrow_up:

.../main/scala/com/ing/baker/runtime/core/Baker.scala
79.76% <100%> (+1.83%)
:arrow_up:

...scala/com/ing/baker/runtime/actor/ActorIndex.scala
82.85% <100%> (+1.77%)
:arrow_up:

...uage/src/main/scala/com/ing/baker/il/package.scala
80% <100%> (+3.52%)
:arrow_up:

...ing/baker/runtime/actor/ShardedActorProvider.scala
77.77% <75%> (-3%)
:arrow_down:

...main/scala/com/ing/baker/il/petrinet/package.scala
91.66% <75%> (+1.66%)
:arrow_up:

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 11d4e23...875c6b7. Read the comment docs.


Migrate to RDS

Description

Migrate the DB from Dynamo to RDS.
Even though we could make auth work with NoSQL, attaching the notifications system onto it would just not make sense.
Alternatively, we can make the notification separate from the auth system, and people just sign up for notifications on a per-email/phone number basis.

@ap0nia What do you think? It would make more sense, but we'd have to throw away the work we put in to keeping Dynamo (which is sunk cost, yes).

Idea: create a script that populates the postgres database on RDS with entries from the DynamoDB.


Update request: bun 0.6.2 → 1.0.6

Package name: bun
Latest released version: 1.0.6

Current version on the unstable channel: 0.6.2
Current version on the stable/release channel: 0.6.2

[ Done ] Checked the nixpkgs pull requests

Notify maintainers

Note for maintainers: Please tag this issue in your PR.

https://github.com/NixOS/nixpkgs/pull/260679 Bun is already at 1.0.6

Nvmd i don't know how i did not switch channels but here we are, however, ti's in 0.6.2 in the 23.05 channel

Breaking changes don't get backported to stable in general, per guidelines. If you need the current version, use unstable.


[BEAM-7176] don't reuse Spark context in tests (causes OOM)

reuseSparkContext was set true in the legacy Spark runner's validation test config (not sure why), but it seems to be causing OOM errors.
After this PR, there still seem to be memory issues, but they happen later on in test execution (110+ tests pass vs ~60).

Run Python PreCommit


Fix infinite loop when emplace() is called with no empty slots

Hello
We encountered this, which I believe is a bug, in our usage of ExcaliburHash
Basically, if a HashMap has only Tombstones left, but no Empty slots anymore, emplace() will loop infinitely
My attempt to fix, with a very rough understanding of linear probing and tombstones, is that once we've completed a loop over all elements (reached startItem) we can safely insert in the first encountered tombstone as we are sure there are no duplicate keys

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (b99119a) to head (fb159c4).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##              main       #14   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines         1325      1326    +1
=========================================
+ Hits          1325      1326    +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Turbolinks 5 and jQuery compatibility

I have a hidden field that's activated when clicked on the link using jQuery. When clicking on the link, the field appears just for a second and then disappears.
  $('.use-different-card').on "click", ->
    $(".card-on-file").hide()
    $(".card-fields").removeClass("hidden")

When I remove turbolinks,  jQuery seems to work just fine.
I've tryied adding compatibility.coffee but I had no luck.
And using:
$(document).on "turbolinks:load", ->
This is my source tree.
//= require jquery
//= require jquery_ujs
//= require jquery.turbolinks
//= require turbolinks
//= require turbolinks-compatibility
//= require_tree .

Anything suggestion on what to try next?

If the element with .use-different-card is an <a>, you need to cancel the click event:
$('.use-different-card').on "click", (event) ->
  event.preventDefault()
  $(".card-on-file").hide()
  $(".card-fields").removeClass("hidden")

or
$('.use-different-card').on "click", ->
  $(".card-on-file").hide()
  $(".card-fields").removeClass("hidden")
  false

@javan that was really helpful. Both worked!
Thanks you!


revert back to original code

Reverting back to the original code.
@ranasaria  Can you fix your tests accordingly or disable them temporarily until we figure out a way.
This PR fixes #11109

Coverage decreased (-0.2%) to 35.29% when pulling 17874d01dd99cfc5ef2ff9be4d7ad5f5296b921a on fix/findRegressionFromTests into fb52760be1c16f9ce3004ae32ab832c3b55bd747 on main.

Since this is an ask mode bug waiting to happen and we're at code complete (and I just tested this myself), merging this in.


SIGTERM handling not compatible with Windows

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2901
Originally created by @aaronsteers on 2021-08-18 22:02:56

As described in #2743, the SIGTERM handling is not currently supported on Windows.
Here is a possible explanation with workaround: https://stackoverflow.com/questions/26061814/signal-handling-in-windows

View 5 previous comments from the original issue on GitLab

I'm assigning myself here!

Example from the Stack Overflow question AJ linked is old and not accurate with the newer version of python
import signal
import os
import time

def handler(signum, frame):
    if signum == signal.SIGINT:
        print('Signal received')

if __name__ == '__main__':
    print('My PID: ', os.getpid())
    signal.signal(signal.SIGINT, handler)

    while True:
        print('Waiting for signal')
        time.sleep(5)

Works as expected on Windows.
My goal for this PR is to get poetry run pytest tests/meltano/core/job/test_job.py to pass on Windows as it has the Signal issues baked into it.

Two other places signal is being called https://github.com/meltano/meltano/search?q=send_signal

Things left to do

[ ] - Fix  poetry run pytest tests/meltano/cli/test_upgrade.py (Probably caused by Signal issues)
[ ] - Find what calls https://github.com/meltano/meltano/blob/dfd9650170ff97fd69fdff7ac8dc7dc0841bf663/src/meltano/cli/utils.py#L468

Come back to?
https://github.com/meltano/meltano/blob/a852de1e1a88d15a3a62356ffcc6c8f9ca8164d6/src/meltano/core/upgrade_service.py#L41
Gives me some pause as I wonder if this works with the Uvicorn feature flag https://gitlab.com/meltano/meltano/-/merge_requests/2644/diffs

https://maruel.ca/post/python_windows_signal/#:~:text=There's no real SIGTERM on,it takes too much time is a good read for Windows SIGTERM signal stuff as well

https://stackoverflow.com/questions/35772001/how-to-handle-a-signal-sigint-on-a-windows-os-machine

SIGTERM is working fine on Windows in the method that's setup.
Here's an example file proving this. No need to fix this other than in the test like we already have.

import asyncio
from contextlib import contextmanager
import signal

@contextmanager
def propagate_stop_signals(proc):
    """When a stop signal is received, send it to `proc` and wait for it to terminate."""

    def _handler(sig, _):  # noqa: WPS430
        print("1 stopping child process...")
        proc.send_signal(sig)
        print("2 stopping child process...")
        # unset signal handler, so that even if the child never stops,
        # an additional stop signal will terminate as usual
        signal.signal(signal.SIGTERM, original_termination_handler)
    print("setup handler")
    original_termination_handler = signal.signal(signal.SIGTERM, _handler)
    try:
        print("try")
        yield
    finally:
        print("finally")
        signal.signal(signal.SIGTERM, original_termination_handler)

async def run(cmd):
    proc = await asyncio.create_subprocess_exec(
        cmd,
        stdout=asyncio.subprocess.PIPE,
        stderr=asyncio.subprocess.PIPE)
    with propagate_stop_signals(proc):
            #stdout, stderr = await proc.communicate()
            # Read one line of output.
            data = await proc.stdout.readline()
            line = data.decode('ascii').rstrip()
            proc.send_signal(signal.SIGTERM)
            #signal.raise_signal(signal.SIGTERM)
            stdout, stderr = await proc.communicate()
            print(f'[{cmd!r} exited with {proc.returncode}]')
            print(f"stdout: {stdout.decode()}")
            #print(f"Exit code: {exit_code}")

asyncio.run(run('ipconfig'))

The reason I went down this path is because of the error in https://gitlab.com/meltano/meltano/-/issues/2743
Traceback (most recent call last):
  File "c:\users\derek\appdata\local\programs\python\python38\lib\site-packages\meltano\core\job\job.py", line 229, in _handling_sigterm
    signal.signal(signal.SIGTERM, original_termination_handler)
  File "c:\users\derek\appdata\local\programs\python\python38\lib\signal.py", line 47, in signal

of which is happening for a seperate reason, and not related to signals on Windows not working (most likely at least) it's more likely Async.io is removing the signal module before it gets called here.


Use Chalk's built-in representations for fn items and pointers

The TypeName::FnDef was just added; the function pointer variant has existed for a while, I just forgot about it because it's special (because fn pointers can be higher-ranked over lifetimes).
We could also make FnPtr a separate Ty variant instead of a TypeCtor variant, which would make the conversion code a bit less special-casey, but it doesn't seem worth doing right now.

bors r+


branch-buttons and list-prs-for-file break the layout

branch-buttons can be fixed with a display: inline-flex or white-space: nowrap or something like that.
list-prs-for-file needs a better solution when there are more than 1-2 PRs open, maybe it could show a dropdown.
Test
https://github.com/microsoft/TypeScript/blob/07364595e4ca539578cf34eeb5a6efd452061d10/src/compiler/program.ts

Still broken for default-branch: https://github.com/typescript-eslint/typescript-eslint/blob/fbf1640c5ab67770a1ace5a9bad2bddfa35bd88d/packages/eslint-plugin/docs/rules/type-annotation-spacing.md


Add a HowTo for reviewing.md

Each template will have a companion how to guide that explains how to fill out the template, and also provides context and encouragement to bother adding this template to their project repository.
We have added a section to the website with optional templates and their how to's: https://deploy-preview-131--cncf-contribute.netlify.app/maintainers/github/templates/optional/
Here is the preview of the How To for reviewing.md: https://deploy-preview-131--cncf-contribute.netlify.app/maintainers/github/templates/optional/reviewing/
The template was added in this PR: https://github.com/cncf/project-template/pull/19

/approved


feat(cli): made i18n command more robust

Should close #185

Hi @partik03 – thanks for the PR, it's almost perfect!
Some feedback:

pnpm new (from the root) -> add a brief summary of your change, don't leave it empty
Please revert the changes made to the lockfile
Finally – let's simplify your PR: I like the concept behind --strict in general, but let's be even more ambitious, and throw always, treating it like --strict is always there.

Wrap the following with try/catch to prevent a single localization failure from breaking the entire localization run:
const processedTargetData = await localizationEngine.process({
              sourceLocale: i18nConfig!.locale.source,
              sourceData,
              processableData,
              targetLocale,
              targetData,
            }, (progress) => {
              bucketOra.text = `[${i18nConfig!.locale.source} -> ${targetLocale}] (${progress}%) AI localization in progress...`;
            });

... and just throw everywhere else (if the config can't be loaded, etc).
Let me know if the above doesn't make sense, I'll provide more context!

@maxprilutskiy for what I have understood you want that I should consider throwing error every time and stop the execution on the first error (if I consider --strict is always there), then I think we'll just revert back to the existing behaviour only with better error handling
Am I correct?

@partik03 ah I see what you mean!

Some errors, like "we couldn't read your config" kind of errors, must fail the entire command execution flow and stop the execution of the command, because this type of things is a critical error that 100% would fail the following steps.
Other errors though, like "we couldn't localize en -> hi" kind of situation, must not break the entire command (unless --strict is enabled), because we're still capable of continuing and processing other locale pairs.

While this is not VERY obvious, this improves the developer experience significantly, given the feedback we receive. :)
Let me know if the above makes sense!

@maxprilutskiy got it!

@maxprilutskiy I have completed the desired changes


No mention that "Runtime environments" are in preview

This article/doc does not mention front and center that Automation Account feature "Runtime environment" is in preview. This is what you see in the Azure portal as of 2024-04-29:

No mention of GA in the Azure updates feed either:

https://azure.microsoft.com/en-us/updates/?query=automation "runtime environment"

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: cebaf894-e65f-342e-9977-0720a0f5b453
Version Independent ID: e16b87dd-1e4a-d563-ad40-d26d3c8c0112
Content: Runtime environment in Azure Automation
Content Source: articles/automation/runtime-environment-overview.md
Service: automation
Sub-service: process-automation
GitHub Login: @SnehaSudhirG
Microsoft Alias: sudhirsneha

@o-l-a-v
Thanks for your feedback! We will investigate and update as appropriate.

@o-l-a-v, thank you for sharing this feedback and helping us keep our docs updated.
I have submitted a PR to include this information in the doc.


x/net/http2:

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
What did you do?
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
What did you see instead?

@Eycheh you bug report is empty

Please include some information at least describing the bug otherwise we don't have actionable information.

@Eycheh your bug report is empty

Please include some information at least describing the bug otherwise we don't have actionable information.


Modify: Python.Python.3.5 version 3.5.3

This pull request is automatically generated by 🥟 Dumplings
Microsoft Reviewers: Open in CodeFlow

/AzurePipelines run


Type System For DSL

This short issue serves to mark a reminder to mark a longer issue and series of checkpoints for this task.

Following the 9/26 meeting with Prof. Foster, we now explore a type system and the concept of well-formedness from a policy standpoint, which will allow us to accurately restrict hierarchical policies between $stream \rightarrow stream$ versus $set \rightarrow stream$.

Follow along in #63 😁

Done!


Add pkg/crypto:MakeSelfSignedCAConfigForSubject

pkg/crypto:MakeSelfSignedCAConfig requires that the be supplied as a string. This PR adds an equivalent method that accepts a pkix.Name to allow creation of a new self-signed cert for service ca rotation that retains all the subject fields of the previous cert.
This change is in support of https://github.com/openshift/service-ca-operator/pull/73

/lgtm
/approve


Bugfix 249 warnings

Pull Request Testing

[x] Describe testing already performed for these changes:

ran all unit tests on Mac OS

on 'seneca', using environment /home/met_test/.conda/envs/metcalcpy_py38_env

  Clone the bugfix_249_warnings branch

  activate the conda environment /home/met_test/.conda/envs/metcalcpy_py38_env

  cd to METcalcpy/test and run all tests:
          pytest

all tests should pass

[x] Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:
verify tests pass on 'seneca'  following steps above

[x] Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [NA]

[x] Do these changes include sufficient testing updates? [Yes]

[x] Will this PR result in changes to the test suite? [No]
If yes, describe the new output and/or changes to the existing output:

[x] Please complete this pull request review by [Thursday Feb 23 evening].

Pull Request Checklist
See the METplus Workflow for details.

[ ] Review the source issue metadata (required labels, projects, and milestone).
[ ] Complete the PR definition above.
[ ] Ensure the PR title matches the feature or bugfix branch name.
[ ] Define the PR metadata, as permissions allow.
Select: Reviewer(s)
Select: Organization level software support Project or Repository level development cycle Project
Select: Milestone as the version that will include these changes
[ ] After submitting the PR, select Development issue with the original issue number.
[ ] After the PR is approved, merge your changes. If permissions do not allow this, request that the reviewer do the merge.
[ ] Close the linked issue and delete your feature or bugfix branch from GitHub.

tied to https://github.com/dtcenter/METcalcpy/issues/249
Already merged into develop branch

Thanks!  You can ignore my earlier email regarding this PR..

Minna Win
Pronouns: she/her
National Center for Atmospheric Research
Research Applications Lab
Developmental Testbed Center
Phone:<PHONE_NUMBER>
Fax:<PHONE_NUMBER>
On Thu, Feb 23, 2023 at 1:06 PM Hank Fisher @.***>
wrote:

Merged #281 https://github.com/dtcenter/METcalcpy/pull/281 into
main_v2.0.
—
Reply to this email directly, view it on GitHub
https://github.com/dtcenter/METcalcpy/pull/281#event-8595525689, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4UJHU3J3YNGDOZ5JTA3QDWY67MNANCNFSM6AAAAAAVFAIBLE
.
You are receiving this because you authored the thread.Message ID:
@.***>


add output format support

now only support markdown.
add csv table json ...

https://github.com/maguowei/starred/issues/55

JSON is my favourite here. This will also allow to retain much more metadata of the entries, and serialise it into other forms.


WIP Update to glutin 0.30

Glutin 0.30 drops the dependency on winit, allowing it to be used with winit or other things that can provide a raw window handle. (Perhaps this could change the relationship between iced_winit and iced_glutin?)
This needs some fixes to error handling, and a few other things.

So currently iced_winit requires a Compositor, which means a wgpu compositor? I wonder what API would be best to make iced_winit rendering backend agnostic, so it could be used with wgpu, glutin 0.30, or a software renderer.

I'm thinking the way this works could be improved by doing something like this:

Unify Compositor and GlCompositor as a single trait, with an Api associated type

The types methods take and return could depend on this

Make iced_winit generic over this API (using some trait it implements for APIs it supports)
Remove iced_glutin and move context creation and a couple other small details using glutin 0.30 to iced_winit (behind a feature flag)

Advantages

Window creation, input event handling, etc. is handled in one place, instead of being duplicated between iced_winit and iced_glutin
It should be fairly easy to also add support for a software renderer with a new Api, and a bit of support code in iced_winit (in addition to implementing the software renderer backend)

I'm not sure how dynamic selection of a renderer (https://github.com/iced-rs/iced/issues/457) would fit in here, but otherwise this seems like a good way to improve things (assuming actually implementing it works out well).

e.g. winit and glutin, possibly druid-shell

And iced_sctk for Wayland layer-shell surfaces. And supporting things like xdg_popup (handling those sorts of things with winit remains an issue).

I also think we should unify Compositor, but I don't see the need of adding the Api associated type

Hm, I guess the traits' definitions aren't so different. I was thinking .present() has different type signatures, but that's actually for methods in the backends that aren't part of the trait. But anyway there needs to be logic somewhere to setup the OpenGL context (using Glutin) and do a couple other things an OpenGL renderer is in use; so that needs to be controlled by a type generic or something else.
Using Glutin here is non-trivial and is needs to call things from winit to deal with XlibErrorHookRegistrar, and make sure the context and window are created in the right order for the platform (https://github.com/rust-windowing/glutin/issues/1511)

Additionally, I did this exact work (https://github.com/derezzedex/iced/commit/ef0097a89f59537bd5ea67091cd1290d9559d171), of switching to glutin 0.30 on my branch of multi_window, maybe we could unify this.

Yep. I guess I need to look at what changes multi-window support entails. Though if the glutin update is somewhat independent of the multi-window changes and could be merged earlier it would be good to not have one thing blocked on the other.

@wash2 should have some ideas about what changes would be needed to accommodate things like iced-sctk as a "shell" without having to patch other parts of Iced.

iced_sctk probably can't exist as a shell without adding some platform specific actions and events as well as the application and sandbox traits. It could probably share the same application & sandbox trait as multi-window, though at the moment there is a separate view function for each windows, layer surfaces, and popups.
While working on iced-sctk, I've pretty much combined iced-glutin & iced-winit & an sctk 0.30 replacement for winit to roughly make iced-sctk. I think all of my changes to iced itself are behind feature flags and work alongside iced_winit with its single + multi-window as they are. iced_sctk currently couldn't be switched to at runtime; however if we are ok with it sharing a trait with multi-window & including all of the platform specific additions that are behind a feature right now, i think it probably could use the same or a similar approach to multi_window.

You might want to try https://crates.io/crates/glutin-winit for winit integration. If you find lucking some features from it please open an issue in glutin tracker.

glutin-winit would probably help here, but since Iced also has a wgpu renderer and may want to add a software renderer, it may be better to unify the uses of winit for glow/wgpu and just use glutin directly. Though I'm not sure exactly what that would look like.

This should be fine, the codebase already has platform specific events and we won't be able to offer cross-platform "native" support without these.

If the "shell" was somehow represented with a trait, it could have an associated type for shell-specific events. Then an out-of-tree shell implementation could add events without forking Iced, shared crates aren't polluted with events that are specific to iced-sctk/etc., and it could be checked at compile time if those events are available.
This is similar to the idea I had recently of a renderer-specific primitive, to be able to have a primitive render directly with OpenGL/wgpu, or use a texture imported from a dmabuf.

Superseded by https://github.com/iced-rs/iced/pull/1688.


Warning from adapters when containers doesnt have any test cases

foo.txt
Description

Warnings from adapter when a test containers doesn't have any tests

Steps to reproduce

What steps can reproduce the defect?
vstest.console.exe "F:\AgentDTAtestingint_work\15\s\TIAdogfood\TIAdogfoodTests1\bin\Release\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll" "F:\AgentDTAtestingint_work\15\s\TIAdogfood\TIAdogfoodTests1\bin\Release\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll" "F:\AgentDTAtestingint_work\15\s\TIAdogfood\TIAdogfoodTests1\bin\Release\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll" "F:\AgentDTAtestingint_work\15\s\TIAdogfood\TIAdogfoodTests1\bin\Release\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll" "F:\AgentDTAtestingint_work\15\s\TIAdogfood\TIAdogfoodTests1\bin\Release\Microsoft.VisualStudio.TestPlatform.TestFramework.dll" "F:\AgentDTAtestingint_work\15\s\TIAdogfood\TIAdogfoodTests\bin\Release\Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.dll" "F:\AgentDTAtestingint_work\15\s\TIAdogfood\TIAdogfoodTests\bin\Release\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.Interface.dll" "F:\AgentDTAtestingint_work\15\s\TIAdogfood\TIAdogfoodTests\bin\Release\Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.dll" "F:\AgentDTAtestingint_work\15\s\TIAdogfood\TIAdogfoodTests\bin\Release\Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll" "F:\AgentDTAtestingint_work\15\s\TIAdogfood\TIAdogfoodTests\bin\Release\Microsoft.VisualStudio.TestPlatform.TestFramework.dll" /logger:trx /TestAdapterPath:F:\AgentDTAtestingint_work\15\s

Expected behavior

It should just run test if discovered.

Actual behavior

What is the behavior observed?
Warning: Input string was not in a correct format.

Warning: Input string was not in a correct format.
Warning: Input string was not in a correct format.
Warning: Input string was not in a correct format.
Environment
Logs are attached
foo.txt

+1, Quite annoying.

We are unable to repro this issue with latest adapter i.e. MSTest 1.2.0.
Please feel free to re-open this thread if you are blocked on this.


[UPDATE] Message

change Category name

In section (without title)
Page (with title)
Add dismissable category (every variant must-have category dismissable)

cc @treecore @resir014

Change icon-close on the error message to be IconWarningRounded
@zanuarmirza


Object assumed to be string, not Object

Hello, running version 0.45.0 and am getting this error:
imports/workpop-dash/client/reducers/index.js:120
120:     const isMatch = Object.keys(obj).reduce((pointer: boolean, key: string): boolean => {
                                     ^^^ string. This type is incompatible with the expected param type of
120:     const isMatch = Object.keys(obj).reduce((pointer: boolean, key: string): boolean => {
                                                           ^^^^^^^ boolean

Which is referring to this code:
function findIndex(arr: Array<Object>, obj: Object): number {
  if (isUndefined(obj)) {
    return -1;
  }
  for (let i = 0; i < arr.length; i++) {
    const compare = arr[i];
    const isMatch = Object.keys(obj).reduce((pointer: boolean, key: string): boolean => {
      return pointer && (compare[key] === obj[key]);
    }, true);
    if (isMatch) {
      return i;
    }
  }
  return -1;
}

Obviously Object.keys when called on an Object will return a string array, so our key will always be a string, and our pointer will always be a boolean, and we'll then return a boolean, all as dictated by our types.

Just upgraded to 0.45.0 and it persisted.

Is this issue related to flow.js in any way?

Holy crow, I put this in the wrong repo, I am so sorry to waste your time.


Modify to using a pvc capacity for calculate new storage request

#77
I modified to using a pvc capacity size to calculate the new storage request size.
This change requires pvc.status.capacity to be set, but for the major CSI drivers are set pvc.status.capacity to some value, so I don't think it's a problem.
NOTE

pvc.status.capacity is set the same value to linked pv.spec.capacity and the PVC is stored async: https://github.com/kubernetes/kubernetes/blob/v1.23.5/pkg/controller/volume/persistentvolume/pv_controller.go#L809
pv.spec.capacity is set the CreateVolumeResponse.volume.capacity value if the pv was created by a CSI Driver: https://github.com/kubernetes-csi/external-provisioner/blob/v3.1.0/pkg/controller/controller.go#L744-L833
above pv is saved by the sig-storage-lib-external-provisioner controller: https://github.com/kubernetes-csi/external-provisioner/blob/v3.1.0/vendor/sigs.k8s.io/sig-storage-lib-external-provisioner/v8/controller/volume_store.go#L155
GetCapacityBytes method return 0 if the res.volume is nil https://github.com/kubernetes-csi/external-provisioner/blob/v3.1.0/vendor/github.com/container-storage-interface/spec/lib/go/csi/csi.pb.go#L1555

CreateResponse Implementations

topolvm - use requestGiB: https://github.com/topolvm/topolvm/blob/v0.10.6/driver/controller.go#L142
hcloud - use Volume API response: https://github.com/hetznercloud/csi-driver/blob/v1.6.0/driver/controller.go#L65-L93
AWS EBS - use Volume API response: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/v1.5.1/pkg/driver/controller.go#L732
Azure Disk - use requestGiB:https://github.com/kubernetes-sigs/azuredisk-csi-driver/blob/v1.13.0/pkg/azuredisk/controllerserver.go#L257
GCE PB - use Volume API response: https://github.com/kubernetes-sigs/gcp-compute-persistent-disk-csi-driver/blob/v1.4.0/pkg/gce-pd-csi-driver/controller.go#L1223-L1226

Would you update commit message? Now it is not WIP :)

Would you update commit message? Now it is not WIP :)

I removed the word "WIP" from the commit message.


worker-threads: move to common and organize different implementations

v5:

rebased and ported to Kbuild

v4:

rebased

v3:

use atomic inc to maintain the static counter consistent among threads

v2:

added simple static counter for setting glib worker threads' names

Merged v5. Check out the previous PRs for comments.


Why can I not input capital letter in character editer?

What is your question?
Why can I not input capital letter in character editer?

you have to hold shift. i still dont know why they've added caps lock support.

Haxe.


Build for osx_arm64

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)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

Actually, I think this should just be a noarch: python package, like xstatic and xstatic-bootstrap are as well.

Closing in favor of #10.


Update 0.8 to 0.9 value.replace is not an object

After I've made the update from 0.8 to 0.9.1 an error is thrown.:
undefined is not an object (evaluation value.replace)
fillStringWithArguments in utils.js
After a couple of hours trying to figure out this issue, I couldn't manage to find anything. I didn't change anything in my part of the code, so i suspect it comes from the lib. But if I'm the only one with this issue, it might comes from me.
Any idea about this?

This looks like a bug on my side. Can you tell me if you are using Android or iOS? Which function throws this error?

I'm actually running some tests, I keep you in touch.

After apr. 2h of tests, I can't reproduce the error. I'm closing this for now.


Unable to assign multiple scopes to a client

I try to add multiple scopes to a client but I can only add one:

Any suggestions?

I'll check it. Thanks!

Thanks a lot skoruba, looking forward to hear from you. BTW, did you noticed that Identity Server will be directly integrated to #aspnetcore 2.x ? Here is announcement: https://twitter.com/leastprivilege/status/1042311196924432384
Your awesome admin ui will probably get much more users ;-). Well done!

Yes, it is great announcement. 👍
I will be happy, if this project helps others. :-)

@mjisaak I can't reproduce this issue. Tested in IE, Chrome, FF. :)
What happens if you click on the "Profile" in the section "Search Result"?
Thanks!

Then one scope gets added. But as soon I try to add another scope, the previously selected scope gets replaced:

Yes, I get plenty of the following java script errors, but I don't think that they cause the issue:
2:1 Refused to load the font 'data:font/woff;base64,d09GRgABAAAAAGVUABEAAAAAxuQAAQABAAAAAAAAAAAAAAAAAAAAAAAAAABHREVGAAABgAAAAC4AAAA0ArgC7UdQT1MAAAGwAAAQ6AAALgxKsqRTR1NVQgAAEpgAAAH3AAAELqI5y+RPUy8yAAAUkAAAAE8AAABgaGyBu2NtYXAAABTgAAABlAAAAkQkRATXY3Z0IAAAFnQAAABeAAAAugDsQf1mcGdtAAAW1AAABZcAAAvNb3/BHGdhc3AAABxsAAAACAAAAAgAAAAQZ2x5ZgAAHHQAAEApAAB3CtbiupxoZWFkAABcoAAAADYAAAA2BkubWWhoZWEAAFzYAAAAIAAAACQHFARfaG10eAAAXPgAAAI6AAAEEk4TN4Nsb2NhAABfNAAAAhIAAAISiLhpam1heHAAAGFIAAAAIAAAACACigzgbmFtZQAAYWgAAACUAAABHhQGLdJwb3N0AABh/AAAAq4AAASRk5y6n3ByZ...QxUajCCFt4p9HP4fzdSWs2XhWl5HvJazrIrFUyB0l5dpqcW10lV2wukjMLuAvyMHNiYpgPsrCVXZDKrkpll6UWkh7kABVAFVCDe7UFmxagDegA+hLHRPbqtMo7ZHCpKdT6tPGXybzo0+RXBLoPZt1tELcXxCmAAyZwYTJvdDFZKnDER44X2451rDqCyunIsRWvLSx6wnWqwPj/uX5/KuEy6DL0z6A/Fn79VihxMFJsrlAFy4DpZOcvNlMeNp+BRDLj0r+XFdRxdSNSNxiI/AL3ojKdAAB4AWPw3sFwIihiIyNjX+QGxp0cDBwMyQUbGdictkUwWDAwsDJogTgOPN4c9iz6bMos4iysHFChUDZXJnMWTSZZJrAQt9M+YQYBBh4GTgY2kEZOoJiA0z4GBxiEiDEzuGxUYewIjNjg0BGxkTnFZaMaiLeLo4GBkcWhIzkkAqQkEggceHw5HFkM2VRZJFlYebR2MP5v3cDSu5GJwWUDW9xG1hQXAFAmKZU=' because it violates the following Content Security Policy directive: "font-src 'self' https://fonts.googleapis.com/ https://fonts.gstatic.com/".
I am using the latest version of Chrome (Version 69.0.3497.100 - 64 Bit).  I pulled the sources a week ago, I can try to use the latest version later too.

I just tried the latest version and that seems to work, I will check whether I changed something in the code but I think you can close this.

Maybe missing property multiple-select="true"?
Anytime, please, if you have any issues, let me know. :)
Thanks!


Svelte 5: Allow for disabling playing transitions on mount

Describe the problem
I have a SvelteKit personal website that I am trying to upgrade to Svelte 5. My homepage has a list of projects / portfolio entries, along with client-side search functionality to filter through them easily. As the user is typing, the projects appear/disappear using Svelte transitions (i.e. transition: with |global, because the transitions are jerky when local, more details on that to follow).
With Svelte 4, this has been working great (visit https://calebevans.me/ and try typing into the search box to see how it looks). However, when I upgrade to Svelte 5, there is an added side effect of the transition running on page hydrate, before I've even typed into the search box. This creates some layout shift on hydrate, which makes for an quirky user experience when the user first lands on the page. Please see my attached screen recording of how this looks.
For what it's worth, the full source code for my website is available here, if it helps:
https://github.com/caleb531/personal-website
https://github.com/user-attachments/assets/d8e1e3b2-6b49-4013-bd42-33b4722d7c81
Describe the proposed solution
As far as I can tell, https://github.com/sveltejs/svelte/pull/12351 changed some configuration to play transitions when the component mounts (previously in Svelte 4, transitions did not automatically play on mount). My suggestion would be to have an option to disable this from SvelteKit on a per-component basis, e.g.
export const intro = false;

(although since Svelte 5 props use the $props rune instead of export, I'm not sure what a Svelte 5-equivalent syntax would look like)
Alternatives considered
In testing, I noticed that play-on-mount behavior is disabled when the transitions are local instead of global. But switching to local transitions breaks the fluidity of my transitions such that parent containers disappear immediately rather than sliding away. I don't know if the behavior of global transitions can be achieved using only local transitions. However, if you have any pointers on how to use the latter properly (if you think it would help), please let me know! I have attached another short video of the issue using local transitions.
https://github.com/user-attachments/assets/1d721035-f25f-40ab-9c4f-48a411116ee4
I also tried setting animation-duration: 0ms when the search box was not focused, but this did not work either (I believe because Svelte 5 switched to using the Web Animation API for Svelte transitions/animations).
Importance
i cannot use SvelteKit without it
Additional Information
I designated this as a feature request rather than a bug because I recognize that my use case may be very particular and that the behavior I'm seeing may represent Svelte-correct behavior. Granted, I will not be able to upgrade to Svelte 5 until there is a sufficient solution or workaround.

Okay, I was able to work around the issue by having a "noop" transition set by default, then setting the actual desired transition on component mount. The code looked something like this:
// MyComponent.svelte

// Specify a transition with zero-duration to effectively achieve the effect of
// no transition; this is because Svelte's `transition:` directive cannot be
// conditionally applied; note that in conjunction with the use of this noop
// transition function, the animation must also be conditionally disabled with
// CSS to prevent the element from immediately disappearing on DOM removal (see
// the .no-transition class in styles.css)
export function noopTransition(node: Element): TransitionConfig {
  return fade(node, { duration: 0 });
}

// Svelte 5 runs global transitions on mount by default, and in SvelteKit,
// there's no way to disable this intro transition on mount; this creates a
// CLS issue at the time of hydration, so we need to set a noop transition
// initially and only set the actual transition when the component mounts
let transition: TransitionType = $state(noopTransition);
onMount(() => {
  transition = myTransition;
});

// styles.css

// Simply setting duration:0 via noopTransition will cause the element to
// immediately disappear; however, we can properly disable the transition and
// keep the element alive by setting animation:none (source:
// <https://github.com/sveltejs/svelte/issues/3753#issuecomment-728875227>)
.no-transition {
  animation: none !important;
}

This solved my issue perfectly, and I am now pleased to say that I can upgrade my personal website to Svelte 5. I think I also realized the reason global transitions were playing on mount is due to the nature of global transitions, therefore I'm not sure it actually represented a bug or gap in the first place.
Therefore, closing this issue.
cc @mattpilott


License ?

Hello, under what license is this project released under ? Thank-you.

MIT license added


fix: trigger release for 106

https://github.com/netlify/angular-runtime/pull/106#issuecomment-2066539254

oh no :/ it looks like I didn't merge with a squashed commit, and now the commit landed on main doesn't have the fix: prefix either. could you maybe try again and include the prefix in the commit message?

sorry!


Find references - Small fix and tests

Fixed duplicate entries for properties (the getter/setter and backing properties were being returned)
Still unsure if the reference should return it'sself or not.
Added tests for most situations I can think of.

thanks!


Threaded safe creation

Will upgrade lab to v11.3 and test out.

Will upgrade lab to v11.3 and test out.

Hey @infamousjoeg ,
Any update?

Will upgrade lab to v11.3 and test out.

Hey @infamousjoeg ,
Any update?

Sorry for the delay, testing this now...

@AssafMiron I'm testing on PowerShell Core and not experiencing behavior I would expect out of this script.  What PS Version did you happen to test this on yourself during development?

@infamousjoeg I'm using Powershell 5 for this
From the errors you encountered these are even without the Jobs and threaded mode so I guess the error is around the Logon Header
I changed it recently from Global to non-global and did not have time to check it yet, that might caused the issues
I added a way now to send the Logon header to all methods so that might solve things here
try running the script with -Debug -Verbose, this should show the REST Error and then we can verify it
Thanks,
Assaf

@AssafMiron
This is almost a year old, do we need it or can I go ahead and close it?

Think this can be closed
I think there is also anPR waiting for it, not sure if it was fully tested
or not
On Thu, Dec 16, 2021, 18:36 bab29 @.***> wrote:

@AssafMiron https://github.com/AssafMiron
This is almost a year old, do we need it or can I go ahead and close it?
—
Reply to this email directly, view it on GitHub
https://github.com/cyberark/epv-api-scripts/pull/24#issuecomment-995983931,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC3PN3MKHI5GFG66JHII23TURIIPVANCNFSM4LTPS65Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

I will close this and if needed we can create a new one.


Support functions in Data Prepper expressions #2626

Description
Adds supports for functions in expressions.
Only length() function is supported initially.
Resolves #2626
Issues Resolved
#2626
Check List

[ X] New functionality includes testing.
[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[X ] Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #2644 (12a6896) into main (94974df) will increase coverage by 0.06%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main    #2644      +/-   ##
============================================
+ Coverage     93.45%   93.51%   +0.06%
- Complexity     2185     2234      +49
============================================
  Files           258      260       +2
  Lines          6107     6264     +157
  Branches        497      518      +21
============================================
+ Hits           5707     5858     +151
  Misses          268      268
- Partials        132      138       +6

Impacted Files
Coverage Δ

...prepper/expression/ExpressionFunctionProvider.java
100.00% <100.00%> (ø)

...taprepper/expression/LengthExpressionFunction.java
100.00% <100.00%> (ø)

...taprepper/expression/ParseTreeCoercionService.java
100.00% <100.00%> (ø)

... and 11 files with indirect coverage changes

Also, there is a test failure:
LengthExpressionFunctionTest > testWithOneStringArgumentWithOutQuotes(int) > org.opensearch.dataprepper.expression.LengthExpressionFunctionTest.testWithOneStringArgumentWithOutQuotes(int)[1] FAILED
    java.lang.StringIndexOutOfBoundsException at LengthExpressionFunctionTest.java:30