Do Unsloth within Factory capable of multiGPU learning?

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
--use_unsloth
Expected behavior
No response
System Info
No response
Others
Original Unsloth library claims only sinlge GPU training. I'm not sure, do Unsloth option of Factoty still allows for distributed training within multiple GPUs or renders as ignored?

Consider the vanilla DDP distributed training, you can find the comparison here: https://github.com/hiyouga/LLaMA-Factory/wiki/Performance-Comparison


fix: add dynamically branch name, defaults to main

This is a fix for #71
goldenverba/components/reader/githubreader.py

The description of the GithubReader class has been updated to include the {branch} placeholder in the format string.
The fetch_docs method has been refactored to correctly handle the GitHub branch and folder path. It now accounts for the possibility of a branch being specified and defaults to "main" if not.
The download_file method has been updated to include the branch in the URL when fetching file contents from GitHub.

Unfortunately, I didn't handle cases where the branch can be called "fix/something" as is has slashes like the folder path, but I think the main problem is addressed for this specific issue.
Any suggestions?

I agree! And yes, I'm a member of the Weaviate Slack Channel! :)

Amazing work! Thanks a lot 🚀


Readme outdated?

Is the readme outdated?
https://github.com/zuazo/ssl_certificate-cookbook/blob/master/recipes/default.rb#L23
Default recipe is deprecated, but the readme says to include the default recipe.
{
  "name": "example.com",
  "[...]": "[...]",
  "run_list": [
    "recipe[ssl_certificate]"
  ]
}

@ghostsquad Sorry for the delay in the answer.
Yes, that needs to be removed from the README. Thanks for pointing it out :smile:
You can send me a PR if you want and I will merge it.


⚠ Spryr has degraded performance

In 8c5b5ce, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 4646 ms

Resolved: Spryr performance has improved in c0d34dd after 7 minutes.


Feature/new cell factories

Thanks to Eli Connely for asking for, and providing an early draft of the above changes!


IN installation-and-setup

in your documention at https://docs.spatie.be/laravel-activitylog/v3/installation-and-setup/#
you are added migration step before publishing config file step, because migration depend on config fi e this make migration error.
SQLSTATE[42000]: Syntax error or access violation: 1103 Incorrect table name

@abdosaeedelhassan could you provide some more details on how you're getting this error. Please make sure that you've published the migration by running:
php artisan vendor:publish --provider="Spatie\Activitylog\ActivitylogServiceProvider" --tag="migrations"

it worked for me, but i mean that the error in documentation in ordering steps:
firstly: publishing config file
second: doing migration
in the documentaion described in revese, please look at  https://docs.spatie.be/laravel-activitylog/v3/installation-and-setup/#

@abdosaeedelhassan I've reviewed the documentation. The order that is presented on the documentation is correct. The migrations will run successfully without publishing the config file. I've verified this on a new install this morning.

@abdosaeedelhassan try to run php artisan config:clear or php artisan config:cache before migrating


Transform: broken path_arc_centers kwarg/attribute

Description of bug / unexpected behavior

The Transform constructor accepts a keyword argument, path_arc_centers, which is only being used once and this use is not working as intended.
Inspecting Transform's __init__ code, at line 64, there's the following code:
if self.path_arc_centers is not None:
    self.path_func = path_along_circles(
        path_arc,
        self.path_arc_centers,
        self.path_arc_axis,
    )

self.path_func: Callable | None = path_func

As it can be seen, if self.path_arc_centers is not None, it is used to construct a path function which is assigned to self.path_func. But inmediately after this, self.path_func is assigned the path_func keyword argument in all cases, overwriting any possibly stored value in self.path_func.
Thus, this path_arc_centers keyword argument is not working as intended, and as mentioned before, it's not being used anywhere else inside Transform's definition.
Expected behavior

How to reproduce the issue

Additional media files
Logs
System specifications
Additional comments

Contrary to what I thought before (and also contrary to any sort of reasonable coding practice), this is actually wrong. When we discussed this earlier, I missed that path_func is actually a property whose setter checks whether the value that is being assigned is None (and if so, the actual function is not changed).
So actually, if path_arc_centers is passed, a "proper" path_func is constructed and assigned (which the setter also does properly, as not-None is passed), then self.path_func = None is run and the setter actually does not change the value of the internal attribute.
Which means that this is not a bug, but just something that needs to be documented better (and I actually also think that changing the two blocks would not hurt either). I actually played around with the path_arc_centers argument briefly, but I'm still not entirely sure how exactly it should be used.


update get-version and get-upgrade table formatters

Small PR that updates:

Get-versions adds the required preview suffix in the -o table mode as seen on the cli-extension
Get-upgrades fix allows it to run properly in -o table mode

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[x] I adhere to the Command Guidelines.

@palma21 FYI, @yugangw-msft wanted to raise this to you just as FYI given we are very close to cutoff.

/lgtm

Fixes #10059


pex does not support the compatible release clause

I'm trying to incorporate the use of hyper into my pants project, however, I'm running to an issue. Here is the breakdown:
$ pip show pex
---
Metadata-Version: 2.0
Name: pex
Version: 1.1.8
...

$ pex hyper==0.6.0
...
ValueError: ('Expected version spec in', 'hyperframe ~=3.2', 'at', ' ~=3.2')

This spec is outlined here: https://www.python.org/dev/peps/pep-0440/#compatible-release. I can get the command to work if I change the setup.py of hyper to be hyperframe>=3.2,<4.0, rather than hyperframe~=3.2

Seems like there is already an issue for this, but seems to be buried
https://github.com/pantsbuild/pex/issues/50

noting that I'm no longer able to repro this with the latest pex and a current setuptools:
[omerta ~]$ pex --version
pex 1.2.5
[omerta ~]$ pex hyper==0.6.0
Python 2.7.10 (default, Dec 16 2015, 14:09:45)
[GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> import hyper
>>> hyper.__file__
'/private/var/folders/bb/msvj_4_s741g93nzgrj19twc0000gn/T/tmpdaLsUE/.deps/hyper-0.6.0-py2.py3-none-any.whl/hyper/__init__.py'
>>>

marking as closed - but feel free to reopen if you can provide a new repro.


Custom group claim name

Is your feature request related to a problem? Please describe.
Some IdP providers (like Auth0) do not allow to add groups scopes to JWT. Instead IdP appends it as namespaces scope, e.g.:
https://claims.example.com/roles which contains "groups".
Describe the solution you'd like A clear and concise description of what you want to happen.
Allow to specify the oidc.groupsClaimName so the Identity Provider Mappers use it instead of hardcoded groups
See: https://github.com/redkubes/otomi-tasks/blob/923eb14a30422f5f9e76a8c1d1078aded5872875/src/tasks/keycloak/config.ts#L46

Hey team! Please add your planning poker estimate with Zenhub @Ani1357 @dennisvankekem @ElderMatt @ferruhcihan @merll


GeoJSONLayer - Update Layout and Paint

<Layout> will check if layout / paint have changed between updates, while <GeoJSONLayer> does not.
I haven't looked into it too much, but i'm fairly certain that all that needs to be done is to add:
    const { paint, layout,  before } = this.props;
    const { map } = this.context;

    if (!isEqual(props.paint, paint)) {
      const paintDiff = diff(paint, props.paint);

      Object.keys(paintDiff).forEach((key) => {
        map.setPaintProperty(this.id, key, paintDiff[key]);
      });
    }

    if (!isEqual(props.layout, layout)) {
      const layoutDiff = diff(layout, props.layout);

      Object.keys(layoutDiff).forEach((key) => {
        map.setLayoutProperty(this.id, key, layoutDiff[key]);
      });
    }

to <GeoJSONLayer>'s shouldComponentUpdate

After looking into it a bit more, I realize that my proposed solution does not actually work 😅.
I've got it working for fillPaint, but i'm fairly sure extending it to the 7 other props shouldn't be difficult at all.
    const { id } = this;
    const { data, fillPaint } = this.props;
    const { map } = this.context;

    if (props.data !== data) {
      (map.getSource(id) as MapboxGL.GeoJSONSource).setData(props.data);
    }

    // import `isEqual` and `diff`
    if (!isEqual(props.fillPaint, fillPaint)) {
      const fillPaintDiff = diff(fillPaint, props.fillPaint);

      Object.keys(fillPaintDiff).forEach((key) => {
        map.setPaintProperty(this.id + "-fill", key, fillPaintDiff[key]);
      });
    }

    // ... and so on and so forth


Add glusterfs-client version 6.9

@slash1387 Do we still need to bump these with the changed base images in 1.19 and higher?

@superseb I don't think so, will close this pull request.


GroupHeaderTemplate not working

Hello,
From what I've read it seems GroupHeaderTemplate should work as opposed to FlowGroupDisplayBinding however I'm not having any luck. Also looking at the source code it seems (if I understand it correctly) that it doesn't implement GroupHeaderTemplate.
This example works fines in a ListView. I've tried with and without FlowGroupDisplayBinding & FlowGroupShortNameBinding
<controls:FlowListView x:Name="flowListView" FlowColumnCount="10" SeparatorVisibility="None" RowHeight="100"
FlowUseAbsoluteLayoutInternally="false" FlowColumnExpand="None"
IsGroupingEnabled="true" FlowGroupDisplayBinding="{Binding Name}" FlowGroupShortNameBinding="{Binding Name}"
FlowItemsSource="{Binding Drawings}">
    <controls:FlowListView.GroupHeaderTemplate>
        <DataTemplate>
            <ViewCell>
                <StackLayout  Orientation="Horizontal">
                    <StackLayout  Orientation="Vertical">
                        <Label Text="Drawing Number" Font="15,Bold" />
                        <Label Text="{Binding Name}"/>
                    </StackLayout>
                </StackLayout>
            </ViewCell>
        </DataTemplate>
    </controls:FlowListView.GroupHeaderTemplate>
    <controls:FlowListView.FlowColumnTemplate>
        <DataTemplate>
            <Label HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand"
					XAlign="Center" YAlign="Center" Text="{Binding Number}" LineBreakMode="CharacterWrap" />
        </DataTemplate>
    </controls:FlowListView.FlowColumnTemplate>
</controls:FlowListView>

Looking at FlowListView.GetGroupedContainerList, it appears to only use groupDisplayPropertyName is it is not null otherwise it creates a FlowGroup with a null key value. I don't fully understand the code so its very well likely that it does as its supposed to.
The error I'm getting in my example is
[0:] Binding: 'Name' property not found on 'DLToolkit.Forms.Controls.FlowGroup', target property: 'Xamarin.Forms.Label.Text'
Thank you.

It works the same as in Xamarin.Forms.ListView you just need to set header binding context:
<controls:FlowListView x:Name="flowListView" Header="{Binding .}" .....

@MrMatthewSmith Could you make a repro so I could debug it?

I can confirm that the GroupHeaderTemplate is not working because it has no DataContext to bind. It works with static values but as soon as bindings comes into the game it wont work anymore. Same goes for the FlowGroupShortNameBinding - it always displays the FlowGroupDisplayBinding and not the binded property.

See this: https://github.com/daniel-luberda/DLToolkit.Forms.Controls/commit/3e97b6c1a212d51fe95c76e604065a7cc64143a3
You can now use Model property (set by FlowGroupHeaderModelBinding property) to have your custom binding context for group headers

The only thing I get is a TargetInvocationException when I use the FlowGroupHeaderModelBinding property.

How do you use it?

Well there is not much room how I can use it, is it?  Could you test it?

There is no longer an exception but the binding is also not successful. How should it work? I need properties from my Group in the Header but I guess "{Binding}" does not set it to the current group.

Still now working @daniel-luberda. Any update on this?

Still no update and it is still not working... we are stuck with Xamarin.Forms ListViews until this is fixed (at least if we need the grouping).

Are there still no updates on this? I can't not implement grouping so this bug pretty must renders the control useless.

Grouping works for me in 2.0.10, after mapping FlowGroupDisplayBinding to the path I want to see in the header and then use Key as reference in the GroupHeaderTemplate.
My only remaining issue now is that when I update the FlowItemsSource, it seems like the FlowListView cannot add new groups, only remove. Anyone with a solution to that?
<flv:FlowListView
    FlowColumnMinWidth="250"
    FlowGroupDisplayBinding="{Binding Title}"
    FlowItemTappedCommand="{Binding ViewSelectedItemCommand}"
    FlowItemsSource="{Binding DisplayEventInstanceGroups}"
    HasUnevenRows="True"
    IsGroupingEnabled="True"
    IsPullToRefreshEnabled="True"
    IsRefreshing="{Binding IsBusy}"
    RefreshCommand="{Binding RefreshCommand}"
    SeparatorVisibility="None">

    <!--  Group Header -->
    <flv:FlowListView.GroupHeaderTemplate>
        <DataTemplate>
            <ViewCell>
                <ContentView>
                    <StackLayout>
                        <Label Text="{Binding Path=Key}"/>
                    </StackLayout>
                </ContentView>
            </ViewCell>
        </DataTemplate>
    </flv:FlowListView.GroupHeaderTemplate>

    <!--  Item Template -->
    <flv:FlowListView.FlowColumnTemplate>
    </flv:FlowListView.FlowColumnTemplate>

</flv:FlowListView>


Moved all parameters to .yml file.

@wiktorfilipiuk I think you have to remove passed args (--fast-dev-run) in sanity check file, and set it to True for default config (or make sanity_check_config). Also I think we don't have to have two configs: default and non-deafult. Only default should be fine. Maybe then the second one for the sanity check?
Link: https://github.com/hearai/hearai/blob/main/.github/workflows/main.yml


chore(main): release 0.13.0

:robot: I have created a release beep boop
0.13.0 (2024-06-28)
✨ New Features

UX-1117: Semantic tags for SYNC  (#119) (1177222)

🪲 Bug Fixes

add braces to fab color (#110) (82c5feb)
Changed the functionality of dropdown sizes. Mini now sets the width of the menu to its largest child, and standard will set the minimum width to the width of the dropdown's parent. (d9bfe19)
Removed the default offest from dropdown and added an offest. (d9bfe19)
syntax error in action (#118) (a5fee0b)
UX-1006: Gave dropdown functionality to dropdown buttons in button groups  (#115) (d9bfe19)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.13.0
:sunflower:


Fix panic in store reader raw document iterator during segment merge

The store reader raw document iterator fails when the first document of a block past a new checkpoint has been deleted. This was caused by the reset_block_pos flag used to reset block_start_pos being discarded when the current document isn't alive.
Depending on the state of the segments, I could triggered two different panics related to the varint deserialization in the iterator. See this. One involves a bit shifting overflow in the Vint deserialization itself, and one involves reading a wrong and huge doc length, leading to a out of range slice. In all cases, another thread also panics after dropping a RamDirectory's VecWriter without flushing it, caused by a VInt deserialization error in IndexMerger.write, making the function return before closing writers.
Unfortunately, this is the minimal test I could find to reproduce the issue... I would have liked a straightforward test, but it seems like a few merges, with enough data per segment, need to happen to trigger the bug. Because of that, the test is slower than what I'd consider acceptable for a unit test (~10s on my machine).
Let me know what you want to do about the test, or if you have a better idea to test the issue.

@appaquet Thank you so much for the report. I assume this is with tantivy 0.15?
@PSeitz Can you create an issue, and investigate on Monday so that we can publish an hotfix ASAP?
For simplifying the unit test...
Using a single thread index writer is a good idea. Using larger documents is a good idea too.
A schema with a single STORED field is sufficient.
Finally merging manually.

@appaquet thanks for the detailed bug report! I just pushed a change to the PR, which moves the test for the regression into the doc store folder, since there is already some test data for such a case.


API for retrieving approval container status

Related to https://github.com/argoproj/argo/issues/172

Not going to do it now.


Python refactor: Sort imports does not work with setuptools 49.2

Environment data

VS Code version: 1.47.0
Extension version (available under the Extensions sidebar): 2020.6.91350
OS and version: linux Ubuntu 20.04
Python version (& distribution if applicable, e.g. Anaconda): Python 3.8.2
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Relevant/affected Python packages and their versions: isort
Value of the python.languageServer setting: Jedi

Expected behaviour
Calling "Python refactor: Sort imports" from command palette sorts import in active document
Actual behaviour
Nothing happens
Steps to reproduce:

install setuptools >= 49.2 in workspace venv
launch "Python refactor: Sort imports" from command palette

Logs
Devtools console:
Error: /home/me/work/proj/venv/lib/python3.8/site-packages/setuptools/distutils_patch.py:25: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
  warnings.warn(

	at i (/home/me/.vscode/extensions/ms-python.python-2020.6.91350/out/client/extension.js:1)
	at Socket.<anonymous> (/home/me/.vscode/extensions/ms-python.python-2020.6.91350/out/client/extension.js:1)
	at Socket.emit (events.js:203)
	at addChunk (_stream_readable.js:295)
	at readableAddChunk (_stream_readable.js:276)
	at Socket.Readable.push (_stream_readable.js:210)
	at Pipe.onStreamRead (internal/stream_base_commons.js:166)
$onExtensionRuntimeError @ workbench.desktop.main.js:sourcemap:4312

Output pane:
> ~/work/proj/venv/bin/python ~/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/pyvsc-run-isolated.py ~/.vscode/extensions/ms-python.python-2020.6.91350/pythonFiles/sortImports.py - --diff
cwd: ~/work/proj

This warning comes from isort that is installed in venv, both versions 4.3.21 and 5.0.9 (latest) produce this warning. Downgrading setuptools to <49.2 makes "Sort imports" command to work ok again - and this warning disappears. I believe this should not behave this way since even with the warning isort exit code is 0.

The issue with isort has been fixed in 5.1.0 but I believe the extension ships with some older version.

Maybe run isort with PYTHONWARNINGS="ignore"? As it stands this will reappear any time a warning is output by isort or any of its dependencies.

Things did not change with isort 5.1.1 - isort itself runs fine without issues (both with file name and stdin), fails when called from extension. The only way to have this command working is to downgrade setuptools.

I ran into this problem.
I was able to “fix” it by editing pythonFiles/sortImports.py
sys.stdin = io.BytesIO(stdin.read())
# End workaround

import setuptools # <— insert this line
import isort.main

isort.main.main()

None of workaround specified so far has worked for me. i.e, downgrading setuptools to <49.2 or adding import statement in sortImports.py file.

@zgoda

The issue with isort has been fixed in 5.1.0 but I believe the extension ships with some older version.

True, isort >5.1.0 fix it.
The issue is if someone use Pylint. Pylint is not yet compatible wiht isort 5 and thus lists in its dependencies isort <5.
That's why we are stuck at isort 4.3.21 .
https://github.com/PyCQA/pylint/issues/3722
@OutOfFocus4
I first tried your solution, to edit pythonFiles/sortImports.py but sadly it did not work out for me...
Then I check and the reason why is becuse I am using my env's isort "python.sortImports.path": "C:\\Users\\PC-Gil\\Miniconda3\\envs\\forge\\Scripts\\isort.exe" . So I am not reaching the sortImports.py script. I prefer to use my env's isort so I can control the version I use.
@zgoda @jahan01
I downgraded setuptools to 49.1.3, which remove the error from isort 4.3.21.
Now, I am having a weird behavior:
When "python.sortImports.args" is set (I tried a combination of one or more arguments  from this list :
[ "--multi-line=3", "--trailing-comma", "--force-grid-wrap=0", "--use-parentheses", "--line-length=119", ] ),
then the sort import is broken (doesn't work, and if set in "editor.codeActionsOnSave", prevents saving with infinite message Saving 'filename.py': Applying code action 'Sort imports'.). And it is broken with both isort, from vscode and from my env.
Here the Output pane when I sort with one args set for isort:
-With vscode's isort
> ~\Miniconda3\envs\forge\python.exe c:\Users\PC-Gil\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\pyvsc-run-isolated.py c:\Users\PC-Gil\.vscode\extensions\ms-python.python-2020.7.94776\pythonFiles\sortImports.py - --diff --line-length=119
cwd: c:\Users\PC-Gil\Documents\test

-With my env's isort
> ~\Miniconda3\envs\forge\Scripts\isort.exe - --diff --line-length=119
cwd: c:\Users\PC-Gil\Documents\test

If "python.sortImports.args" is not set, then it work perfectly, (with vscode's isort as well as with my env's isort) but with the default isort's settings....
I read in another issue that we can set isort args in a config file (https://github.com/microsoft/vscode-python/issues/5840#issuecomment-497321419).
I tried "python.sortImports.args": ["--settings-path=${workspaceFolder}\\setup.cfg"] and for now it works for me.

@zgoda I am able to reproduce this issue with the version you specified, thanks. However with the latest version, I no longer see this issue, please upgrade to the latest extension and let me know.
Can you please try setting PYTHONWARNINGS="ignore" in environment file and see if you still see this warning?

I believe this should not behave this way since even with the warning isort exit code is 0.

That's apparently not true. Quoting the docs: "If any warning is found, the command will exit with an error code"

Extension version v2020.7.94776
Vendored isort still throws an exception and does not work if setuptools 49.2 is installed in PYTHONPATH.
Custom provided isort 5.1.4 works fine.

Extension version v2020.7.94776
Vendored isort still throws an exception and does not work if setuptools 49.2 is installed in PYTHONPATH.
Custom provided isort 5.1.4 works fine.

can confirm. downgraded setuptools to 49.1 and it works again

Apparently isort 5.1.4 does not always works fine if called from extension.
> venv/bin/isort - --diff
cwd: ~/work/proj/src/proj/utils
Error: write EPIPE
Error 2020-07-20 20:00:24: Failed to format imports for '/home/jazg/work/proj/src/proj/utils/web.py'. [Error: write EPIPE
	at afterWriteDispatched (internal/stream_base_commons.js:146:25)
	at writeGeneric (internal/stream_base_commons.js:137:3)
	at Socket._writeGeneric (net.js:698:11)
	at Socket._write (net.js:710:8)
	at doWrite (_stream_writable.js:418:12)
	at writeOrBuffer (_stream_writable.js:402:5)
	at Socket.Writable.write (_stream_writable.js:302:11)
	at b.communicateWithIsortProcess (/home/jazg/.vscode/extensions/ms-python.python-2020.7.94776/out/client/extension.js:48:877798)
	at t.pythonExecutionFactory.create.resource (/home/jazg/.vscode/extensions/ms-python.python-2020.7.94776/out/client/extension.js:48:877349)
	at b._provideDocumentSortImportsEdits (/home/jazg/.vscode/extensions/ms-python.python-2020.7.94776/out/client/extension.js:48:875777)
	at runMicrotasks (<anonymous>)
	at processTicksAndRejections (internal/process/task_queues.js:85:5)] {
  errno: 'EPIPE',
  code: 'EPIPE',
  syscall: 'write'
}

For some reason, I am unable to repro the issue reliably - but I do see it. Seems to me that we can either go with @OutOfFocus4 's approach or pinning setuptools, as Pylint is not yet compatible with isort 5.

We're going to upgrade isort and make sure it doesn't break pylint.

Possible concerns with upgrading isort: https://github.com/microsoft/vscode-python/issues/12932#issuecomment-667233403

Downloading isort-5.3.2-py3-none-any.whl (93 kB)
|████████████████████████████████| 93 kB 166 kB/s
ERROR: pylint 2.5.3 has requirement isort<5,>=4.2.5, but you'll have isort 5.3.2 which is incompatible.

Import, install , isort many commands do not work.  Anaconda3 prompt does not recognize all those commands and I can not open Jupyter notebook and others, Recently I installed conda3, my previous version was working fine which I delete because some files was missing.  I tried lots of command did not work. Anaconda Doc I Read all, no solution I have seen.
Please any advice for fix

Upgraded isort. Should be fixed in the next release

Mr. RajNothing workI may be send some clue not sure
-----Original Message-----
From: Kartik Raj<EMAIL_ADDRESS>To: microsoft/vscode-python<EMAIL_ADDRESS>Cc: uksaha<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Sent: Thu, Aug 13, 2020 1:42 pm
Subject: Re: [microsoft/vscode-python] Python refactor: Sort imports does not work with setuptools 49.2 (#12949)
Closed #12949.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

It'll be fixed in the NEXT RELEASE which is scheduled in a month.

Mr. RajHow far you are now, everything mess, waiting long,almost every week I tried same asPlease let me know
Uttam
-----Original Message-----
From: Kartik Raj<EMAIL_ADDRESS>To: microsoft/vscode-python<EMAIL_ADDRESS>Cc: uksaha<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Sent: Sat, Aug 15, 2020 4:10 am
Subject: Re: [microsoft/vscode-python] Python refactor: Sort imports does not work with setuptools 49.2 (#12949)
It'll be fixed in the NEXT RELEASE which is scheduled in a month.—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Fix is already out on insiders. Try the Switch to insiders weekly channel command, which installs the insiders version of the extension.

Removing python.sortImports.path from settings.json fixed the issue for me


Visual Highlight for selected text might be too similar to background color on some screens

On certain screens, you can’t really see the difference between the regular background color and the text you visually selected, as the colors look so much alike.
Tried to change the values for the “visual” variable and “selection” one as well,  but seems like it’s not working.
Any ideas on how to change this so that i can have a better contrast for visual selection?

Seems like the issue was related to https://github.com/mvllow/modes.nvim having no transparency set, which caused the colors to not work properly. After setting an opacity of 50%+ on modes, it worked.


BAT_V_SCALING and BAT_C_SCALING disappeared w/o ROMFS vehicle updates

I just tried to fly my 3dr iris on master, but the battery voltage is reading 10.2 when it should be 12.5 volts. I looked at the firmware on master and saw that all of the params set fot he battery in the iris ROMFS have now disappeared.

BAT_V_SCALING -> BAT_CNT_V_VOLT
BAT_C_SCALING -> BAT_CNT_V_CURR
BAT_C_OFFSET -> BAT_V_OFFS_CURR

I've seen this happen a few times so I was trying to think of something we could do to catch it. Maybe we could default param set to fail if not found. Then if we had a nuttx sim build it could run through loading all airframe configs. The other option is just being more careful...

Yeah, sending a message to the use would be best via mavlink info.

Resolved for me on master.


Make active_connection_id_limit configurable

We have proxy.config.quic.proxy.config.quic.num_alt_connection_ids for active_connection_id_limit transport parameter, but it's not used for quiche impl.
It should be set by https://docs.rs/quiche/latest/quiche/struct.Config.html#method.set_active_connection_id_limit

@maskit Should we rename proxy.config.quic.num_alt_connection_ids to proxy.config.quic.active_connection_id_limit ?

Actually the description is wrong. We have proxy.config.quic.active_cid_limit_in/out for the transport parameter, which tells how many CIDs ATS wants.
It seems like proxy.config.quic.proxy.config.quic.num_alt_connection_ids is for the number of CIDs ATS provides, although it's currently unused.


feat: Split basic package in standalone packages.

This PR extracts Node, Vite and Next out of @platformatic/basic in the following three packages:

@platformatic/node
@platformatic/next
@platformatic/vite

@platformatic/basic is now a basic package for all of those and purposely does not list any of packages above as dependency to avoid circular problem.
At runtime @platformatic/basic is still used by @platformatic/runtime to autodetect and load other packages. If not installed as dependency, it will throw an error.

Also, CI is failing

lgtm but it seems README, LICENSE, NOTICE files are missing for the new packages
Also, CI is failing

On it! ^^

@mcollina All issues are fixed. Once CI is green I'll merge this.

CI is still red

Just fixed it locally. Should be green in the next run.


Sign xml with thumbprint

Hello everyone,
Due to changes for the code signing certificate I am no longer able to use a pfx file to sign an xml.
Therefore I am trying to sign an xml with a certificate thumbprint.
I added the certificate to my windows certificate store and the private key is available for the certificate (however it is provided with a Key Storage Provider).
Is there a way for me to sign a xml this way?
Or do I have to wait for #237?
Thank you and best regards,
Marcel

Hello,
It is impossible to sign anything with a certificate thumbprint. You have to use the private key that corresponds to the certificate.
Thanks for your interest in SignXML. Since this does not appear to be a bug with the library, I am going to close this issue now.

Hello @kislyuk,
I would like to apologize for being unclear.
The private key of my code signing certificate is stored on an HSM/token.
However, the private key can be accessed via a KSP (Key Storage Provider).
With the help of the KSP and certutil repairstore (https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/certutil#-repairstore) you can, for example, sign a file in signtool as normal using a thumbprint.
The Windows certificate manager shows that the private key is available for the certificate.
Unfortunately, it is not clear to me how I can sign an XML file based on a certificate in the Windows certificate manager (with a private key).
Best regards,
Marcel


Cleanup and minor fixes

What this PR does / why we need it:
Perform code cleanup and make minor fixes.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Please check the following list:

[ ]  Does the affected code have corresponding tests, e.g. unit test, E2E test?
[ ]  Does this change require a documentation update?
[ ]  Does this introduce breaking changes that would require an announcement or bumping the major version?
[ ]  Do all new files have an appropriate license header?

thanks


Impossible to install claspy package using pip

python -m pip install claspy
ERROR: Could not find a version that satisfies the requirement claspy (from versions: none)
ERROR: No matching distribution found for claspy

Which Python version do you use?

I tried:

Python 10: error

  ERROR: Command errored out with exit status 1:
   command: /Users/ncdaam/PycharmProjects/time-series-analysis/venv_mac/bin/python /Users/ncdaam/PycharmProjects/time-series-analysis/venv_mac/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /var/folders/k1/23kw474556dc5nt9ghkdmqfm848fbh/T/tmpncodlpkn
       cwd: /private/var/folders/k1/23kw474556dc5nt9ghkdmqfm848fbh/T/pip-install-32pu0gpl/claspy_83dc84bf14f64fa0bcd1c4d56a3438d1
  Complete output (36 lines):
  running dist_info
  creating /private/var/folders/k1/23kw474556dc5nt9ghkdmqfm848fbh/T/pip-modern-metadata-0pwf14hf/claspy.egg-info
  Traceback (most recent call last):
    File "/Users/ncdaam/PycharmProjects/time-series-analysis/venv_mac/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
      main()
    File "/Users/ncdaam/PycharmProjects/time-series-analysis/venv_mac/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "/Users/ncdaam/PycharmProjects/time-series-analysis/venv_mac/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py", line 164, in prepare_metadata_for_build_wheel
      return hook(metadata_directory, config_settings)
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/build_meta.py", line 166, in prepare_metadata_for_build_wheel
      self.run_setup()
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/build_meta.py", line 150, in run_setup
      exec(compile(code, __file__, 'exec'), locals())
    File "setup.py", line 16, in <module>
      setup(
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
      self.run_command(cmd)
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
      cmd_obj.run()
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/command/dist_info.py", line 31, in run
      egg_info.run()
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 292, in run
      writer(self, ep.name, os.path.join(self.egg_info, ep.name))
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/command/egg_info.py", line 635, in write_pkg_info
      metadata.write_pkg_info(cmd.egg_info)
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 1118, in write_pkg_info
      self.write_pkg_file(pkg_info)
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/dist.py", line 182, in write_pkg_file
      license = rfc822_escape(self.get_license())
    File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/_distutils/util.py", line 533, in rfc822_escape
      lines = header.split('\n')
  AttributeError: 'dict' object has no attribute 'split'

The error si the same for all the version of claspy, pip tried to install different versions but all the versions give this error.

Python 8: it works

But after installed, i'm not able to load the module:
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[8], line 1
----> 1 from claspy.segmentation import BinaryClaSPSegmentation
      2 from claspy.data_loader import load_tssb_dataset
      3 #dataset, window_size, true_cps, time_series = load_tssb_dataset(names=("CricketX",)).iloc[0,:]

ModuleNotFoundError: No module named 'claspy'

If i try to launch 'pip install claspy', the package results already installed.

Python 3.11 is currently not supported, I'll have a look at 3.10 though. For now, if it's an option for you, try 3.9. This is the version I'm developing claspy with.

I'm trying to understand how to format the dataset to use Claspy.
For now i'm just creating fake data with numpy:
import numpy as np

# Set random seed for reproducibility
np.random.seed(0)

# Generate random time series data
num_points = 200  # Number of data points
mean1 = 0.0  # Mean of the first segment
mean2 = 5.0  # Mean of the second segment
std1 = 1.0  # Standard deviation of the first segment
std2 = 1.5  # Standard deviation of the second segment

# Generate data for the first segment
segment1 = np.random.normal(loc=mean1, scale=std1, size=num_points // 2)

# Generate data for the second segment
segment2 = np.random.normal(loc=mean2, scale=std2, size=num_points - num_points // 2)

# Concatenate the two segments
data = np.concatenate([segment1, segment2])

Then i try:
clasp = BinaryClaSPSegmentation()
clasp.fit_predict(data)
clasp.plot(gt_cps=np.array([100]), heading="Segmentation of different umpire cricket signals", ts_name="ACC", file_path="segmentation_example.png")

But i got empty results:

Try using the Euclidean distance using:
clasp = BinaryClaSPSegmentation(distance="euclidean_distance").fit(time_series)
More info on parameters are in this notebook.

The only to get a result is to use acf as window size.
But why if a set the euclidean distance i get the "predict point" but not if i not set it?
clasp = BinaryClaSPSegmentation(window_size="acf").fit(data)

clasp = BinaryClaSPSegmentation(window_size="acf", distance="euclidean_distance").fit(data)

Sure, parameters often can be tuned. On default, ClaSP uses the normalized Euclidean distance, which only finds differences in shapes between segments, not in total values like in the time series you provided. In these cases, the normal Euclidean distance is a better choice.

@darioamorosodaragona-tuni I currently cannot reproduce your Python 3.10 error with claspy.
I use conda 4.9.2 and execute
conda create -n claspy-test python=3.10
conda activate claspy-test
pip install claspy

and it runs fine. Afterwards, I can successfully run the code from the readme in a Python interpreter. Do you get the same result if you do this?


Add a PR template and/or CONTRIBUTING.md

Looks like CI expects commits and/or PR titles to be formatted in a specific way; would be great to know how exactly!

Fixed by #231


Cannot read property 'split' of undefined

Hi!
Can you try helping me understand why some users are getting this error? I was not able to reproduce it, but from time to time some user gets it. I'm using latest versions, although this happened in version 3 also. I was hoping upgrade would help, but it didn't. Maybe you have an idea why this could be happening. Logs also show that iframe existed and was passed to the resizer.
It happens here:
function processOptions(options) {
      options = options || {}
      settings[iframeId] = {
        firstRun: true,
        iframe: iframe,
        remoteHost: iframe.src
          .split('/')
          .slice(0, 3)
          .join('/')
      }

...
    }

Sounds like some sort of race conditions, is it dependent on browser type?

In case you guys are still facing this issue. I was facing this issue in chrome and tried in a different browser  and it work. The problem with chrome was a popup blocker extension, which I suspect was stoping the iframe rendering. Just by disabling  it I was able to make it work.

Hi! Thanks for the response. I see it in different browsers. (I myself have not encountered it, but I see from logs it happens). I implemented a workaround by catching the errors and just applying min-height to the container so it's at least usable. If it's adblocker then nothing we can do, can't force the user to turn it off.
@SiddMajum1993 Which ad blocker did you use to see this error?

@bilmaijer its this one
https://chrome.google.com/webstore/detail/pop-up-blocker-for-chrome/bkkbcggnhapdmkeljlodobbkopceiche

Is the us file in the iframe being loaded from the same domain as the page in the iframe? Just wondering if that could cause ad blocker problems if they are on different domains.

@davidjbradshaw It's the same domain

I can indeed reproduce the error with the popup blocker. Could there be a workaround?

Not sure what it is doing, can you raise a bug with the pop-blocker?


Update assessment.md

Reviewed for spelling and grammar and made structural changes
Thank you for contributing to Azure Data Explorer documentation
Fill out these items before submitting your pull request:
If you are working internally at Microsoft:

Provide a link to an Azure DevOps Boards work item that tracks this feature/update.

Who is your Docs team contact? @mention them individually tag them and let them review the PR before signing off.

For internal Microsoft contributors, check off these quality control items as you go

[ ] 1. Check the Acrolinx report: Make sure your Acrolinx Total score is above 80 minimum (higher is better) and with no spelling issues. Acrolinx ensures we are providing consistent terminology and using an appropriate voice and tone, and helps with localization.

[ ] 2. Successful build with no warnings or suggestions: Review the build status to make sure all files are green (Succeeded).

[ ] 3. Preview the pages:: Click each Preview URL link to view the rendered HTML pages on the review.learn.microsoft.com site to check the formatting and alignment of the page. Scan the page for overall formatting, and look at the parts you edited in detail.

[ ] 4. Check the Table of Contents: If you are adding a new markdown file, make sure it is linked from the table of contents.

[ ] 5. #sign-off to request PR review and merge: Once the pull request is finalized and ready to be merged, indicate so by typing #sign-off in a new comment in the Pull Request. If you need to cancel that sign-off, type #hold-off instead. Signing off means the document can be published at any time. Note, this is a formatting and standards review, not a technical review.

Merge and publish

After you #sign-off, there is a separate PR Review team that will review the PR and describe any necessary feedback before merging.
The review team will use the comments section in the PR to provide feedback if changes are needed. Address any blocking issues and sign off again to request another review.
Once all feedback is resolved, you can #sign-off again. The PR Review team reviews and merges the pull request into the specified branch (usually the *main( branch or a release-branch).
From the main branch, the change is merged into the live branch several times a day to publish it to the public learn.microsoft.com site.

@DavidKuhn5000 - if you sign the CLA, we can review your PR. See instructions here: #2468.
Thanks.

Should I put the company as Matchpoint or Microsoft?
On Wed, Dec 4, 2024, 17:25 Diana Richards @.***> wrote:

@DavidKuhn5000 https://github.com/DavidKuhn5000 - if you sign the CLA,
we can review your PR. See instructions here: #2468
https://github.com/MicrosoftDocs/dataexplorer-docs/pull/2468#issuecomment-2517158949
.
Thanks.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/dataexplorer-docs/pull/2468#issuecomment-2517772063,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADNTYCB5A5ZUAZK4MKUFXDL2D4NHHAVCNFSM6AAAAABS7RUEOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJXG43TEMBWGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@microsoft-github-policy-service agree company="Microsoft"
On Wed, Dec 4, 2024, 10:05 microsoft-github-policy-service[bot] <
@.***> wrote:

@DavidKuhn5000 https://github.com/DavidKuhn5000 please read the
following Contributor License Agreement(CLA). If you agree with the CLA,
please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]
Options:

(default - no company specified) I have sole ownership of
intellectual property rights to my Submissions and I am not making
Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work
for my employer (or my employer has intellectual property rights in my
Submissions by contract or applicable law). I have permission from my
employer to make Submissions and enter into this Agreement on behalf of my
employer. By signing below, the defined term “You” includes me and my
employer.

@microsoft-github-policy-service agree company="Microsoft"
Contributor License Agreement Contribution License Agreement
This Contribution License Agreement (“Agreement”) is agreed to by the
party signing below (“You”),
and conveys certain license rights to Microsoft Corporation and its
affiliates (“Microsoft”) for Your
contributions to Microsoft open source projects. This Agreement is
effective as of the latest signature
date below.

Definitions.
“Code” means the computer software code, whether in human-readable
or machine-executable form,
that is delivered by You to Microsoft under this Agreement.
“Project” means any of the projects owned or managed by Microsoft
and offered under a license
approved by the Open Source Initiative (www.opensource.org).
“Submit” is the act of uploading, submitting, transmitting, or
distributing code or other content to any
Project, including but not limited to communication on electronic
mailing lists, source code control
systems, and issue tracking systems that are managed by, or on behalf
of, the Project for the purpose of
discussing and improving that Project, but excluding communication
that is conspicuously marked or
otherwise designated in writing by You as “Not a Submission.”
“Submission” means the Code and any other copyrightable material
Submitted by You, including any
associated comments and documentation.
Your Submission. You must agree to the terms of this Agreement
before making a Submission to any
Project. This Agreement covers any and all Submissions that You, now
or in the future (except as
described in Section 4 below), Submit to any Project.
Originality of Work. You represent that each of Your Submissions
is entirely Your original work.
Should You wish to Submit materials that are not Your original work,
You may Submit them separately
to the Project if You (a) retain all copyright and license information
that was in the materials as You
received them, (b) in the description accompanying Your Submission,
include the phrase “Submission
containing materials of a third party:” followed by the names of the
third party and any licenses or other
restrictions of which You are aware, and (c) follow any other
instructions in the Project’s written
guidelines concerning Submissions.
Your Employer. References to “employer” in this Agreement include
Your employer or anyone else
for whom You are acting in making Your Submission, e.g. as a
contractor, vendor, or agent. If Your
Submission is made in the course of Your work for an employer or Your
employer has intellectual
property rights in Your Submission by contract or applicable law, You
must secure permission from Your
employer to make the Submission before signing this Agreement. In that
case, the term “You” in this
Agreement will refer to You and the employer collectively. If You
change employers in the future and
desire to Submit additional Submissions for the new employer, then You
agree to sign a new Agreement
and secure permission from the new employer before Submitting those
Submissions.
Licenses.

Copyright License. You grant Microsoft, and those who receive the
Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive,
royalty-free, irrevocable license in the
Submission to reproduce, prepare derivative works of, publicly
display, publicly perform, and distribute
the Submission and such derivative works, and to sublicense any or all
of the foregoing rights to third
parties.
Patent License. You grant Microsoft, and those who receive the
Submission directly or
indirectly from Microsoft, a perpetual, worldwide, non-exclusive,
royalty-free, irrevocable license under
Your patent claims that are necessarily infringed by the Submission or
the combination of the
Submission with the Project to which it was Submitted to make, have
made, use, offer to sell, sell and
import or otherwise dispose of the Submission alone or with the
Project.
Other Rights Reserved. Each party reserves all rights not
expressly granted in this Agreement.
No additional licenses or rights whatsoever (including, without
limitation, any implied licenses) are
granted by implication, exhaustion, estoppel or otherwise.

Representations and Warranties. You represent that You are
legally entitled to grant the above
licenses. You represent that each of Your Submissions is entirely Your
original work (except as You may
have disclosed under Section 3). You represent that You have secured
permission from Your employer to
make the Submission in cases where Your Submission is made in the
course of Your work for Your
employer or Your employer has intellectual property rights in Your
Submission by contract or applicable
law. If You are signing this Agreement on behalf of Your employer, You
represent and warrant that You
have the necessary authority to bind the listed employer to the
obligations contained in this Agreement.
You are not expected to provide support for Your Submission, unless
You choose to do so. UNLESS
REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, AND EXCEPT FOR THE
WARRANTIES
EXPRESSLY STATED IN SECTIONS 3, 4, AND 6, THE SUBMISSION PROVIDED
UNDER THIS AGREEMENT IS
PROVIDED WITHOUT WARRANTY OF ANY KIND, INCLUDING, BUT NOT LIMITED TO,
ANY WARRANTY OF
NONINFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE.
Notice to Microsoft. You agree to notify Microsoft in writing of
any facts or circumstances of which
You later become aware that would make Your representations in this
Agreement inaccurate in any
respect.
Information about Submissions. You agree that contributions to
Projects and information about
contributions may be maintained indefinitely and disclosed publicly,
including Your name and other
information that You submit with Your Submission.
Governing Law/Jurisdiction. This Agreement is governed by the
laws of the State of Washington, and
the parties consent to exclusive jurisdiction and venue in the federal
courts sitting in King County,
Washington, unless no federal subject matter jurisdiction exists, in
which case the parties consent to
exclusive jurisdiction and venue in the Superior Court of King County,
Washington. The parties waive all
defenses of lack of personal jurisdiction and forum non-conveniens.
Entire Agreement/Assignment. This Agreement is the entire
agreement between the parties, and
supersedes any and all prior agreements, understandings or
communications, written or oral, between
the parties relating to the subject matter hereof. This Agreement may
be assigned by Microsoft.

—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/dataexplorer-docs/pull/2468#issuecomment-2516472876,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADNTYCA7KIJHHS7MJQBCQUD2D2ZS5AVCNFSM6AAAAABS7RUEOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJWGQ3TEOBXGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

@microsoft-github-policy-service agree company="Microsoft"
On Wed, Dec 4, 2024, 17:25 Diana Richards @.***> wrote:

@DavidKuhn5000 https://github.com/DavidKuhn5000 - if you sign the CLA,
we can review your PR. See instructions here: #2468
https://github.com/MicrosoftDocs/dataexplorer-docs/pull/2468#issuecomment-2517158949
.
Thanks.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/dataexplorer-docs/pull/2468#issuecomment-2517772063,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADNTYCB5A5ZUAZK4MKUFXDL2D4NHHAVCNFSM6AAAAABS7RUEOGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJXG43TEMBWGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@shsagir
Can you review the proposed changes?
Important: When the changes are ready for publication, adding a #sign-off comment is the best way to signal that the PR is ready for the review team to merge.

Closing assessment


Added ujson smarter loading to datapanel

Json->Ujson
Test
Creating dict of data while reading rather than reading in all data to list, then doing json transpose

Codecov Report

Merging #26 (b56ff60) into dev (927cec3) will increase coverage by 0.51%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev      #26      +/-   ##
==========================================
+ Coverage   62.05%   62.57%   +0.51%
==========================================
  Files          40       40
  Lines        2111     2116       +5
  Branches      362      364       +2
==========================================
+ Hits         1310     1324      +14
+ Misses        713      705       -8
+ Partials       88       87       -1

Flag
Coverage Δ

unittests
62.57% <100.00%> (+0.51%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

setup.py
0.00% <ø> (ø)

mosaic/datapanel.py
73.82% <100.00%> (+1.74%)
:arrow_up:

mosaic/tools/identifier.py
47.05% <0.00%> (+3.52%)
: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 927cec3...b56ff60. Read the comment docs.


Installation error

Hello,
I follow the installation instruction below
conda create -n libero python=3.8.13
conda activate libero
git clone https://github.com/Lifelong-Robot-Learning/LIBERO.git
cd LIBERO
pip install -r requirements.txt
While running " pip install -r requirements.txt "  there  are  errors as below

Created wheel for antlr4-python3-runtime: filename=antlr4_python3_runtime-4.9.3-py3-none-any.whl size=144555 sha256=d373f0a90c4e416d712cbade96eb0302316d954bb49f5cbef5f104d5f1bd5521

Stored in directory: /home/aries14/.cache/pip/wheels/b1/a3/c2/6df046c09459b73cc9bb6c4401b0be6c47048baf9a1617c485
Building wheel for egl_probe (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [356 lines of output]
/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/_distutils/dist.py:261: UserWarning: Unknown distribution option: 'tests_require'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-38/egl_probe
copying egl_probe/get_available_devices.py -> build/lib.linux-x86_64-cpython-38/egl_probe
copying egl_probe/init.py -> build/lib.linux-x86_64-cpython-38/egl_probe
running egg_info
writing egl_probe.egg-info/PKG-INFO
writing dependency_links to egl_probe.egg-info/dependency_links.txt
writing top-level names to egl_probe.egg-info/top_level.txt
reading manifest file 'egl_probe.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'egl_probe.egg-info/SOURCES.txt'
/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'egl_probe.glad' is absent from the packages configuration.
!!
          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'egl_probe.glad' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'egl_probe.glad' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'egl_probe.glad' to be distributed and are
          already explicitly excluding 'egl_probe.glad' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  /home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'egl_probe.glad.EGL' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'egl_probe.glad.EGL' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'egl_probe.glad.EGL' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'egl_probe.glad.EGL' to be distributed and are
          already explicitly excluding 'egl_probe.glad.EGL' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  /home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'egl_probe.glad.KHR' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'egl_probe.glad.KHR' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'egl_probe.glad.KHR' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'egl_probe.glad.KHR' to be distributed and are
          already explicitly excluding 'egl_probe.glad.KHR' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  /home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'egl_probe.glad.X11' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'egl_probe.glad.X11' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'egl_probe.glad.X11' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'egl_probe.glad.X11' to be distributed and are
          already explicitly excluding 'egl_probe.glad.X11' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  /home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'egl_probe.glad.X11.extensions' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'egl_probe.glad.X11.extensions' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'egl_probe.glad.X11.extensions' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'egl_probe.glad.X11.extensions' to be distributed and are
          already explicitly excluding 'egl_probe.glad.X11.extensions' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  /home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'egl_probe.glad.glad' is absent from the `packages` configuration.
  !!

          ********************************************************************************
          ############################
          # Package would be ignored #
          ############################
          Python recognizes 'egl_probe.glad.glad' as an importable package[^1],
          but it is absent from setuptools' `packages` configuration.

          This leads to an ambiguous overall configuration. If you want to distribute this
          package, please make sure that 'egl_probe.glad.glad' is explicitly added
          to the `packages` configuration field.

          Alternatively, you can also rely on setuptools' discovery methods
          (for example by using `find_namespace_packages(...)`/`find_namespace:`
          instead of `find_packages(...)`/`find:`).

          You can read more about "package discovery" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/package_discovery.html

          If you don't want 'egl_probe.glad.glad' to be distributed and are
          already explicitly excluding 'egl_probe.glad.glad' via
          `find_namespace_packages(...)/find_namespace` or `find_packages(...)/find`,
          you can try to use `exclude_package_data`, or `include-package-data=False` in
          combination with a more fine grained `package-data` configuration.

          You can read more about "package data files" on setuptools documentation page:

          - https://setuptools.pypa.io/en/latest/userguide/datafiles.html

          [^1]: For Python, any directory (with suitable naming) can be imported,
                even if it does not contain any `.py` files.
                On the other hand, currently there is no concept of package data
                directory, all directories are treated like packages.
          ********************************************************************************

  !!
    check.warn(importable)
  copying egl_probe/CMakeLists.txt -> build/lib.linux-x86_64-cpython-38/egl_probe
  copying egl_probe/query_devices.cpp -> build/lib.linux-x86_64-cpython-38/egl_probe
  copying egl_probe/test_device.cpp -> build/lib.linux-x86_64-cpython-38/egl_probe
  creating build/lib.linux-x86_64-cpython-38/egl_probe/glad
  copying egl_probe/glad/egl.cpp -> build/lib.linux-x86_64-cpython-38/egl_probe/glad
  copying egl_probe/glad/gl.cpp -> build/lib.linux-x86_64-cpython-38/egl_probe/glad
  copying egl_probe/glad/glx_dyn.cpp -> build/lib.linux-x86_64-cpython-38/egl_probe/glad
  copying egl_probe/glad/linmath.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad
  creating build/lib.linux-x86_64-cpython-38/egl_probe/glad/EGL
  copying egl_probe/glad/EGL/eglplatform.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/EGL
  creating build/lib.linux-x86_64-cpython-38/egl_probe/glad/KHR
  copying egl_probe/glad/KHR/khrplatform.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/KHR
  creating build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/X.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/XKBlib.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/Xatom.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/Xfuncproto.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/Xfuncs.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/Xlib.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/XlibConf.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/Xlibint.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/Xmd.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/Xosdefs.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/Xproto.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/Xprotostr.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/Xutil.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/cursorfont.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/keysym.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  copying egl_probe/glad/X11/keysymdef.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11
  creating build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11/extensions
  copying egl_probe/glad/X11/extensions/XKB.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11/extensions
  copying egl_probe/glad/X11/extensions/XKBstr.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11/extensions
  copying egl_probe/glad/X11/extensions/XShm.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11/extensions
  copying egl_probe/glad/X11/extensions/Xext.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11/extensions
  copying egl_probe/glad/X11/extensions/extutil.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11/extensions
  copying egl_probe/glad/X11/extensions/shape.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11/extensions
  copying egl_probe/glad/X11/extensions/shapeconst.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11/extensions
  copying egl_probe/glad/X11/extensions/shm.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/X11/extensions
  creating build/lib.linux-x86_64-cpython-38/egl_probe/glad/glad
  copying egl_probe/glad/glad/egl.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/glad
  copying egl_probe/glad/glad/gl.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/glad
  copying egl_probe/glad/glad/glx.h -> build/lib.linux-x86_64-cpython-38/egl_probe/glad/glad
  running build_ext
  Traceback (most recent call last):
    File "/tmp/pip-install-xphv4il_/egl-probe_7c56899f66954c868e9ae14bfa42c9e5/setup.py", line 21, in run
      out = subprocess.check_output(['cmake', '--version'])
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/subprocess.py", line 415, in check_output
      return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/subprocess.py", line 493, in run
      with Popen(*popenargs, **kwargs) as process:
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/subprocess.py", line 858, in __init__
      self._execute_child(args, executable, preexec_fn, close_fds,
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/subprocess.py", line 1704, in _execute_child
      raise child_exception_type(errno_num, err_msg, err_filename)
  FileNotFoundError: [Errno 2] No such file or directory: 'cmake'

  During handling of the above exception, another exception occurred:

  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "/tmp/pip-install-xphv4il_/egl-probe_7c56899f66954c868e9ae14bfa42c9e5/setup.py", line 50, in <module>
      setup(
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/__init__.py", line 117, in setup
      return distutils.core.setup(**attrs)
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 183, in setup
      return run_commands(dist)
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 199, in run_commands
      dist.run_commands()
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 954, in run_commands
      self.run_command(cmd)
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/dist.py", line 950, in run_command
      super().run_command(command)
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
      cmd_obj.run()
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/command/bdist_wheel.py", line 398, in run
      self.run_command("build")
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
      self.distribution.run_command(command)
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/dist.py", line 950, in run_command
      super().run_command(command)
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
      cmd_obj.run()
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/_distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
      self.distribution.run_command(command)
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/dist.py", line 950, in run_command
      super().run_command(command)
    File "/home/aries14/miniconda3/envs/libero/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 973, in run_command
      cmd_obj.run()
    File "/tmp/pip-install-xphv4il_/egl-probe_7c56899f66954c868e9ae14bfa42c9e5/setup.py", line 23, in run
      raise RuntimeError("CMake must be installed.")
  RuntimeError: CMake must be installed.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for egl_probe
Running setup.py clean for egl_probe
Building wheel for promise (setup.py) ... done
Created wheel for promise: filename=promise-2.3-py3-none-any.whl size=21483 sha256=72fbd7b4b767047d5c77ec2cbaa8bc1f114bb330a0dacffbd843641232caf903
Stored in directory: /home/aries14/.cache/pip/wheels/54/aa/01/724885182f93150035a2a91bce34a12877e8067a97baaf5dc8
Building wheel for pathtools (setup.py) ... done
Created wheel for pathtools: filename=pathtools-0.1.2-py3-none-any.whl size=8793 sha256=9253d89084847684afeeef4da346c31902aa2726197ea4a0f1c348e1212a49b0
Stored in directory: /home/aries14/.cache/pip/wheels/4c/8e/7e/72fbc243e1aeecae64a96875432e70d4e92f3d2d18123be004
Building wheel for evdev (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for evdev (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [46 lines of output]
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-38/evdev
copying evdev/eventio.py -> build/lib.linux-x86_64-cpython-38/evdev
copying evdev/genecodes.py -> build/lib.linux-x86_64-cpython-38/evdev
copying evdev/evtest.py -> build/lib.linux-x86_64-cpython-38/evdev
copying evdev/uinput.py -> build/lib.linux-x86_64-cpython-38/evdev
copying evdev/init.py -> build/lib.linux-x86_64-cpython-38/evdev
copying evdev/ff.py -> build/lib.linux-x86_64-cpython-38/evdev
copying evdev/util.py -> build/lib.linux-x86_64-cpython-38/evdev
copying evdev/ecodes.py -> build/lib.linux-x86_64-cpython-38/evdev
copying evdev/device.py -> build/lib.linux-x86_64-cpython-38/evdev
copying evdev/events.py -> build/lib.linux-x86_64-cpython-38/evdev
copying evdev/eventio_async.py -> build/lib.linux-x86_64-cpython-38/evdev
running egg_info
writing evdev.egg-info/PKG-INFO
writing dependency_links to evdev.egg-info/dependency_links.txt
writing top-level names to evdev.egg-info/top_level.txt
reading manifest file 'evdev.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'evdev/ecodes.c'
adding license file 'LICENSE'
writing manifest file 'evdev.egg-info/SOURCES.txt'
copying evdev/input.c -> build/lib.linux-x86_64-cpython-38/evdev
copying evdev/uinput.c -> build/lib.linux-x86_64-cpython-38/evdev
running build_ext
running build_ecodes
The 'linux/input.h' and 'linux/input-event-codes.h' include files
are missing. You will have to install the kernel header files in
order to continue:
      dnf install kernel-headers-$(uname -r)
      apt-get install linux-headers-$(uname -r)
      emerge sys-kernel/linux-headers
      pacman -S kernel-headers

  In case they are installed in a non-standard location, you may use
  the '--evdev-headers' option to specify one or more colon-separated
  paths. For example:

      python setup.py \
        build \
        build_ecodes --evdev-headers path/input.h:path/input-event-codes.h \
        build_ext --include-dirs path/ \
        install
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for evdev
Successfully built easydict robomimic bddl future gym antlr4-python3-runtime promise pathtools
Failed to build egl_probe evdev
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (egl_probe, evdev)

Hi, can you first double check if you can successfully install robosuite and run environments from robosuite. This error message is hard to parse, but I think overall the issue comes from egl. Depending on where you are install the code, this egl thing either needs to be fixed from the system level, or ignored (e.g. if you are using mac, the egl should not be installed because egl is supported for linux).


Remove the need for any data copies in the async interface

Hidden behind the feature flag lazy-data; builds upon and requires https://github.com/openwallet-foundation-labs/tsp/pull/41

Note: experimentally, I couldn't measure any significant improvement (which I did measure with #41)


a few undefined behaviour casting enums

found a few enum casting out of range i got no idea how to solve cleanly. thought id atleast make a bugreport about them.
https://github.com/hyprwm/aquamarine/blob/890d6177b2e008b79ef037c676d39b957f1f463d/src/backend/Wayland.cpp#L684
https://github.com/hyprwm/aquamarine/blob/890d6177b2e008b79ef037c676d39b957f1f463d/src/backend/Wayland.cpp#L751
casting to 0, while generated enum is
enum zwpLinuxBufferParamsV1Flags : uint32_t {
    ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_Y_INVERT = 1,
    ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_INTERLACED = 2,
    ZWP_LINUX_BUFFER_PARAMS_V1_FLAGS_BOTTOM_FIRST = 4,
};

don't think we can escape the protocol ones.

According to C++ standard [expr.static.cast] p.9, it's only UB if the enum doesn't have an underlying type. The flags enum has an underlying type, so the cast is fine.

According to C++ standard [expr.static.cast] p.9, it's only UB if the enum doesn't have an underlying type. The flags enum has an underlying type, so the cast is fine.
GCC doesn't enforce this, but Clang seems to consider casts to enums without an underlying type to be UB if the value is one bit bigger than the largest enum member:
enum foo {
  FOO = 200
};

enum bar : int {
  BAR = 200
};

constexpr foo f1 = foo(0);
constexpr foo f2 = foo(100);
constexpr foo f3 = foo(256); // error on Clang "256 is outside the valid range of values for the enumeration type"
constexpr bar b1 = bar(0);
constexpr bar b2 = bar(100);
constexpr bar b3 = bar(256);

yeah we figured that out in a hypridle PR just yesterday, heh so im closing this one. thanks tho :)


See if menu hover tooltip can be done a bit better

Try changing bh_TitleHover in gamemenu.res to bh_budhud to see if the hover tooltip element can be removed.

Might be able to use an EditablePanel here with SubButton to make this work correctly (thanks Zetos [if this ends up working])

Using an EditablePanel with SubButton in mainmenuoverride paired with a tooltip and command in gamemenu.res does the trick here.


LanguageBind_Image preprocessor_config.json is missing while running demo

https://github.com/PKU-YuanGroup/Video-LLaVA/issues/57

Sorry for the late reply. I have uploaded preprocessor_config.json. Feel free to let me know if this works.


prep commits for search pills

pulled from #26803

This seems to work correctly, so I'm merging this, thanks @evykassirer! Definitely did not feel easy to verify, so I'd not surprised if there's some subtle bugs, but hopefully we'll shake that out on chat.zulip.org if so.


Time consumption for training is very high(reading from excel,55000 conversations)

I'm training data of 55000 questions and answers reading from excel with two columns,the time consumption for training the data is  very high.Is there a solution for reducing time for training
alexa_bot=ChatBot("alexa_bot",trainer='chatterbot.trainers.ListTrainer',storage_adapter='chatterbot.storage.MongoDatabaseAdapter',database='Alexa_db')
#test_bot.storage.drop()
alexa_bot.set_trainer(ListTrainer)
alexa_data=pd.read_excel("Alexa_train_data.xlsx",encoding='latin1')
for index, row in alexa_data.iterrows():
alexa_bot.train([row["Question"], row['Answer']])

Hi @tghv, the MongoDatabaseAdapter will insert the statements one at a time which would be the main cause of the slowness. You might be able to achieve better performance by doing a bulk-insert operation to get the data into your database.
https://docs.mongodb.com/manual/reference/method/db.collection.insertMany/


utm.io

Do you want to add or update the vendor? Adjust the title accordingly!
How to use? Fill the yaml file below!

name: Use the vendors name
base_pricing: Use the vendors cheapest available price suitable for teams/companies. A plan limited to less than 10 users may not be suited for companies.
sso_pricing: Use the vendors cheapest price that includes SSO.
scim_pricing: Use the vendors cheapest price that includes SCIM.
pricing_scheme: How is the pricing? Is it per user per month? Per month?
pricing_sources: Add a link or a note to where you got the pricing from. One per line.
notes: If you need to clarify pricing, please add a note.
free_sso_providers: Do they support free SSO providers like Google, Apple, Github etc.? One per line.
updated_at: yyyy-mm-dd of the day you filed this.
vendor_url: Use the vendors public website

---
base_pricing: 19
currency: USD
free_sso_providers:
   - Google
name: utm.io
notes: SSO available on any paid tier for $500/year add on only.
pricing_scheme: per year unlimited users
pricing_sources:
  - https://web.utm.io/pricing/
  - Quote from vendor
scim_pricing: unknown
sso_pricing: 500 / year
updated_at: 2024-09-04
vendor_url: https://web.utm.io/

Thanks @richardr35 !


add temporary helper methods to ScheduledUserRepository

add a few methods for debugging purposes

LGTM, just remember to remove them after debugging. :+1:


Move to Asynchronous PRAW

This would improve performance and eliminate the 7-second time.sleep() by turning it into asyncio.sleep() where the bot has to wait and do nothing while it waits for a response from TrialBot when fetching reports.

Not possible, this would require extensive rewriting and is not worth the hassle.


BUG: Fix linear_sum_assignment hanging on an undefined matrix

Fixes issues #6370, #7005 by checking if the matrix contains inf or nan. Also added additional checks for non-numeric data types. Related: #6900

LGTM, thanks @evanlimanto

cost_matrix.dtype is np.dtype(np.bool) should use == instead of
is. Dtypes should not be assumed to be singletons (this is not true
for all types) --- if they sometimes are, this probably should be
considered is an implementation detail.

Dtypes should not be assumed to be singletons (this is not true for all types)

Thanks @pv, didn't know that. Will send a follow-up PR now.


Cannot read property 'getAttributeNames' of null, when using @includeWhen

Describe the bug
This is similar to issue #158 but that fix didn't work for me.
Basically, I have the following code in my Blade view:
@includeWhen($step == 1, 'livewire/group/step_1')

@includeWhen($step == 2, 'livewire/group/step_2')

@includeWhen($step == 3, 'livewire/group/step_3')

I have a button that changes the $step variable and moves through the steps. I get the following error as soon as I move to step 2:
livewire.js?id=a2c2e6c3df2dd31e7e08:1 Uncaught (in promise) TypeError: Cannot read property 'getAttributeNames' of null
    at e.value (livewire.js?id=a2c2e6c3df2dd31e7e08:1)
    at new e (livewire.js?id=a2c2e6c3df2dd31e7e08:1)
    at new DOMElement (livewire.js?id=a2c2e6c3df2dd31e7e08:1)
    at DOMElement.value (livewire.js?id=a2c2e6c3df2dd31e7e08:1)
    at DOMElement.value (livewire.js?id=a2c2e6c3df2dd31e7e08:1)
    at onNodeAdded (livewire.js?id=a2c2e6c3df2dd31e7e08:1)
    at X (livewire.js?id=a2c2e6c3df2dd31e7e08:1)
    at g (livewire.js?id=a2c2e6c3df2dd31e7e08:1)
    at g (livewire.js?id=a2c2e6c3df2dd31e7e08:1)
    at g (livewire.js?id=a2c2e6c3df2dd31e7e08:1)

There isn't even any "real" Blade in Step 2, just a regular old HTML form. Here is an abridged version:

School Information

            Name

                <input type="text" class="form-control" name="reg[school_name]" wire:model.lazy="reg.school_name" required />

            Address

                <input type="text" class="form-control" name="reg[school_address_1]" wire:model.lazy="reg.school_address_1" required />

Based on your answer to issue #158, I tried using wire:key, like this:

    @includeWhen($step == 1, 'livewire/group/step_1')

    @includeWhen($step == 2, 'livewire/group/step_2')

    @includeWhen($step == 3, 'livewire/group/step_3')

But I still get the same error. The only way that I can get this to work is to do:

    @include('livewire/group/step_1')

    @include('livewire/group/step_2')

    @include('livewire/group/step_3')

I'm fine to do this if need be, but I'm hoping to better understand what I'm doing wrong with wire:key that isn't fixing the problem.
Desktop (please complete the following information):

Browser: Chrome
OS: MacOS 10.12.6

Before I dive into this, are there <svg>s anywhere in the Livewire templates?

Nope.

@calebporzio I figured it out. It's just key and not wire:key. Your docs (https://livewire-framework.com/docs/css-transitions/) actually reference that, but in issue #158 you wrote wire:key. Not sure which is the one that you meant to use?

    @includeWhen($step == 1, 'livewire/group/step_1')

    @includeWhen($step == 2, 'livewire/group/step_2')

    @includeWhen($step == 3, 'livewire/group/step_3')

Hmmm, I think the docs are actually wrong on that. Which version are you using @intrepidws?

@calebporzio v0.2.8.


Version 1.2.2 does not work with IE11

Reports from @MalcolmShazell  that users are experiencing non-functioning graphs when running UKHPI 1.2.2 on IE11

@ijdickinson see 209 I don't think its just graphs not working, you can't select regions in the map - get a list of regions appear in the search bar, change dates etc

Sorry, didn't spot that you had already created a ticket.
Closing as duplicate of #209


Fix error: manifest for phusion/baseimage:latest not found: manifest …

Issue
I cloned the master branch and run the command:
docker-compose build workspace
It failed with the following error message
Building workspace
Step 1/81 : ARG NODE_VERSION=${NODE_VERSION}
Step 2/81 : FROM phusion/baseimage:latest
ERROR: Service 'workspace' failed to build: manifest for phusion/baseimage:latest not found: manifest unknown: manifest unknown
Fix
Looks like the latest tag is no more available for phusion/baseimage docker image, so I just updated it to  phusion/baseimage:bionic-1.0.0

Also got the same error.
I got it to work by changing latest to master.
Hope this gets merged soon.

Any news?

Any news?

Yes, it can be seen no the latest tag supported
https://registry.hub.docker.com/r/phusion/baseimage/tags?page=1&ordering=last_updated&name=latest
There is master with platform variations and the last stable is bionic-1.0.0


Fix cmake test for 128 bit CAS.

The cmake check_c_source_compiles() function seems to want to successfully link as well as compile the sample code.
https://godbolt.org/z/oGGcGY7Gn
https://stackoverflow.com/questions/62391538/how-can-i-link-sync-bool-compare-and-swap-16

It looks like it needs to check for __sync_val_compare_and_swap as well?

It looks like it needs to check for __sync_val_compare_and_swap as well?

Autotools configure.ac doesn't check for that.  I guess it's assumed that whole group of functions will be available if one of them is.

I think the bug here is line 45:
set(CMAKE_REQUIRED_FLAGS "-Werror" "-mcx16")

needs to be:
set(CMAKE_REQUIRED_FLAGS "-Werror -mcx16")

I would expect this to introduce a bug. The flags should be a list, so in CMake it should be semicolon-seperated, not space-separated, or am I missing something obvious here?

I think the bug here is line 45:
set(CMAKE_REQUIRED_FLAGS "-Werror" "-mcx16")

needs to be:
set(CMAKE_REQUIRED_FLAGS "-Werror -mcx16")

@cmcfarlen I would expect this to introduce a bug. The flags should be a list, so in CMake it should be semicolon-seperated, not space-separated, or am I missing something obvious here?

Maybe you could use either "-Werror -mcx16" or -Werror ; -mcx16.
Perhaps someday, somebody will write some low-voodoo CM tools.

String of additional flags to pass to the compiler. The string must be space-delimited--a ;-list will not work. The contents of CMAKE__FLAGS and its associated configuration-specific variable are automatically added to the compiler command before the contents of CMAKE_REQUIRED_FLAGS.

CMAKE_REQUIRED_FLAGS doesn't take a list - every other variable in the module does. Yay for inconsistent APIs. Thanks for the fix @cmcfarlen!

String of additional flags to pass to the compiler. The string must be space-delimited--a ;-list will not work. The contents of CMAKE__FLAGS and its associated configuration-specific variable are automatically added to the compiler command before the contents of CMAKE_REQUIRED_FLAGS.

CMAKE_REQUIRED_FLAGS doesn't take a list - every other variable in the module does. Yay for inconsistent APIs. Thanks for the fix @cmcfarlen!

yeah, I was surprised by this when I looked at the cmake log.  It just silently ignores anything past the first argument...  I did test this way and it worked with the space.


No LICENSE file/statement

As far as I checked, there is no license file/statement. Could you please add it to the source tree?

@nak3 Sure, will figure out the right one and add it tomorrow.

That's great. Thank you so much!


Search result not opened at the correct positions

When you want to open a search result within a rather long file, you don't jump to the correct place in the document. Only after several clicks it works. Disabling the theme solves this issue.
https://user-images.githubusercontent.com/44113468/159497337-2b396c14-4842-4884-9836-a2fea1c2d37e.mov

I don't think this is related to Minimal. I am able to reproduce the issue in the default theme.


Switches AppVeyor to use same build for 32 and 64 bit java tests

What failed here?

It looks like it just froze. I've seen that happen before randomly. I'll rebase and let it test again.

So it does look like it was just a random crash. This definitely would be a nice fix, because right now AppVeyor runs 4 builds

LGTM!


Add warning for assign command

Fixes #280
The assign command randomly assigns participants without ensuring a fair distribution.
Let's add a warning in the UG to explain this behaviour to the user.

lgtm


Unit tests for crane

We need UT code for many functions, and many of them are isolated enough so they can be picked up by new comers.
For example match() in pkg/controller/analytics/analytics_controller.go, help needed.

Hey @mfanjie I can work on other tests as well. Please let me know.

@alierkilic I assigned this ticket to you, so everyone know you are working on it


Cannot run tagui on Chrome - pending user checks and replication

raising from user query

I’m writing to ask for your assistance. I have started using TagUI and start some recording using TagUI chrome extension tool. When I am running the TagUI file on command prompt, Automation started successfully but when I run the same with Google chrome, a blank page is opening and stopping there without any functionality. I am using windows 10 operating system with 64 bit.
Kindly find the below screen shot of a sample 1_yahoo file run and attached tagui_chrome.log  file. I will very obliged if you provide me help and suggestion.
tagui_chrome.log
Command Prompt without chrome command and with chrome command

Another command prompt opens when I am running the same for chrome

Google chrome page is open when I run the chrome command.

Hi Brahma, I haven't come across this issue before and other users have not reported something like this before. It seems like for some reason, TagUI hangs and unable to send further commands to Chrome. What is normally expected would be sending the URL to Chrome, for this Yahoo example.
[tagui] INPUT  -
[2] {"id":2,"method":"Page.navigate","params":{"url":"https://ca.yahoo.com"}}
[tagui] OUTPUT -
[2] {"id":2,"result":{"frameId":"71728F87A821162B2C926AE5ACA48291","loaderId":"1FAA8C3A94D875A0DE3BAB7519F598FE"}}

Can you test with another laptop from your friend or colleague, to see if the same issue happens? If your work laptop has problem, try using your personal laptop to see if it happens. Not sure if it is because of network or firewall issue that is blocking access in some way.

Thanks for posting, I have uninstalled some antivirus(avast,adware) from my system. Now it’s working fine. Thanks for your help.

That's great! Thanks for the update Brahma, and have fun using TagUI :)


PrivateNetwork=yes implies PrivateMounts=yes in systemd 254, we need PrivateMounts=no for namespaces to work

This is visible in namespaced-wireguard-vpn-interface.service failing to set the namespace on the wireguard interface, with:
RTNETLINK answers: Invalid argument
/usr/sbin/namespaced-wireguard-vpn-interface: line 19: main: Died
Main process exited, code=exited, status=1/FAILURE
setting the network namespace "pia" failed: Invalid argument

See also https://github.com/systemd/systemd/blob/6f420b5f75a33de2ac9ecf6e08b30cae9246b062/NEWS#L93-L94 and https://bugs.archlinux.org/task/79341

Worked on my end.

I'm not using this much anymore, but thanks for the contribution!