Docs update 18-11-2022

Learn Build status updates of commit 04fbc96:
:warning: Validation status: warnings

File
Status
Preview URL
Details

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/New-MgIdentityConditionalAccessTemplate.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/Remove-MgIdentityConditionalAccessTemplate.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/Update-MgIdentityConditionalAccessTemplate.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement.Actions/Invoke-MgDeviceManagementOrganizationalMessageTenantConsent.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement.Actions/Update-MgDeviceManagementOrganizationalMessageTenantConsent.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement.Functions/Get-MgDeviceManagementOrganizationalMessageTenantConsent.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement.Functions/Invoke-MgSummarizeDeviceManagementUserExperienceAnalyticRegressionSummaryDeviceRegressionPerformance.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Get-MgDeviceManagementUserExperienceAnalyticRegressionSummary.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Get-MgDeviceManagementUserExperienceAnalyticRegressionSummaryManufacturerRegression.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Get-MgDeviceManagementUserExperienceAnalyticRegressionSummaryModelRegression.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Get-MgDeviceManagementUserExperienceAnalyticRegressionSummaryOperatingSystemRegression.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/New-MgDeviceManagementUserExperienceAnalyticRegressionSummaryManufacturerRegression.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/New-MgDeviceManagementUserExperienceAnalyticRegressionSummaryModelRegression.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/New-MgDeviceManagementUserExperienceAnalyticRegressionSummaryOperatingSystemRegression.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Remove-MgDeviceManagementUserExperienceAnalyticRegressionSummary.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Remove-MgDeviceManagementUserExperienceAnalyticRegressionSummaryManufacturerRegression.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Remove-MgDeviceManagementUserExperienceAnalyticRegressionSummaryModelRegression.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Remove-MgDeviceManagementUserExperienceAnalyticRegressionSummaryOperatingSystemRegression.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Update-MgDeviceManagementUserExperienceAnalyticRegressionSummary.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Update-MgDeviceManagementUserExperienceAnalyticRegressionSummaryManufacturerRegression.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Update-MgDeviceManagementUserExperienceAnalyticRegressionSummaryModelRegression.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Update-MgDeviceManagementUserExperienceAnalyticRegressionSummaryOperatingSystemRegression.md
:warning:Warning
n/a (file deleted or renamed)
Details

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Microsoft.Graph.Applications.md
:white_check_mark:Succeeded
View (graph-powershell-1.0)

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/New-MgServicePrincipal.md
:white_check_mark:Succeeded
View (graph-powershell-1.0)

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Applications/Update-MgServicePrincipal.md
:white_check_mark:Succeeded
View (graph-powershell-1.0)

This comment lists only the first 25 files in the pull request.

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/New-MgIdentityConditionalAccessTemplate.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/New-MgIdentityConditionalAccessTemplate.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/Remove-MgIdentityConditionalAccessTemplate.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/Remove-MgIdentityConditionalAccessTemplate.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/Update-MgIdentityConditionalAccessTemplate.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-1.0/Microsoft.Graph.Identity.SignIns/Update-MgIdentityConditionalAccessTemplate.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement.Actions/Invoke-MgDeviceManagementOrganizationalMessageTenantConsent.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement.Actions/Invoke-MgDeviceManagementOrganizationalMessageTenantConsent.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement.Actions/Update-MgDeviceManagementOrganizationalMessageTenantConsent.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement.Actions/Update-MgDeviceManagementOrganizationalMessageTenantConsent.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement.Functions/Get-MgDeviceManagementOrganizationalMessageTenantConsent.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement.Functions/Get-MgDeviceManagementOrganizationalMessageTenantConsent.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement.Functions/Invoke-MgSummarizeDeviceManagementUserExperienceAnalyticRegressionSummaryDeviceRegressionPerformance.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement.Functions/Invoke-MgSummarizeDeviceManagementUserExperienceAnalyticRegressionSummaryDeviceRegressionPerformance.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Get-MgDeviceManagementUserExperienceAnalyticRegressionSummary.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Get-MgDeviceManagementUserExperienceAnalyticRegressionSummary.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Get-MgDeviceManagementUserExperienceAnalyticRegressionSummaryManufacturerRegression.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Get-MgDeviceManagementUserExperienceAnalyticRegressionSummaryManufacturerRegression.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Get-MgDeviceManagementUserExperienceAnalyticRegressionSummaryModelRegression.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Get-MgDeviceManagementUserExperienceAnalyticRegressionSummaryModelRegression.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Get-MgDeviceManagementUserExperienceAnalyticRegressionSummaryOperatingSystemRegression.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Get-MgDeviceManagementUserExperienceAnalyticRegressionSummaryOperatingSystemRegression.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/New-MgDeviceManagementUserExperienceAnalyticRegressionSummaryManufacturerRegression.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/New-MgDeviceManagementUserExperienceAnalyticRegressionSummaryManufacturerRegression.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/New-MgDeviceManagementUserExperienceAnalyticRegressionSummaryModelRegression.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/New-MgDeviceManagementUserExperienceAnalyticRegressionSummaryModelRegression.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/New-MgDeviceManagementUserExperienceAnalyticRegressionSummaryOperatingSystemRegression.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/New-MgDeviceManagementUserExperienceAnalyticRegressionSummaryOperatingSystemRegression.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Remove-MgDeviceManagementUserExperienceAnalyticRegressionSummary.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Remove-MgDeviceManagementUserExperienceAnalyticRegressionSummary.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Remove-MgDeviceManagementUserExperienceAnalyticRegressionSummaryManufacturerRegression.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Remove-MgDeviceManagementUserExperienceAnalyticRegressionSummaryManufacturerRegression.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Remove-MgDeviceManagementUserExperienceAnalyticRegressionSummaryModelRegression.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Remove-MgDeviceManagementUserExperienceAnalyticRegressionSummaryModelRegression.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Remove-MgDeviceManagementUserExperienceAnalyticRegressionSummaryOperatingSystemRegression.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Remove-MgDeviceManagementUserExperienceAnalyticRegressionSummaryOperatingSystemRegression.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Update-MgDeviceManagementUserExperienceAnalyticRegressionSummary.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Update-MgDeviceManagementUserExperienceAnalyticRegressionSummary.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Update-MgDeviceManagementUserExperienceAnalyticRegressionSummaryManufacturerRegression.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Update-MgDeviceManagementUserExperienceAnalyticRegressionSummaryManufacturerRegression.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Update-MgDeviceManagementUserExperienceAnalyticRegressionSummaryModelRegression.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Update-MgDeviceManagementUserExperienceAnalyticRegressionSummaryModelRegression.md was deleted without redirection. To avoid broken links, add a redirection.

microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Update-MgDeviceManagementUserExperienceAnalyticRegressionSummaryOperatingSystemRegression.md

[Warning: file-not-redirected - See documentation] File microsoftgraph/graph-powershell-beta/Microsoft.Graph.DeviceManagement/Update-MgDeviceManagementUserExperienceAnalyticRegressionSummaryOperatingSystemRegression.md was deleted without redirection. To avoid broken links, add a redirection.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


update python version for redbot

Description
update python version
All Submissions:

[x] Have you ensured there aren't other open Pull Requests for the same update or change?
[x] Have you created a new branch for your changes and PR from that branch and not from your master branch?

Are there any benefits for using python 3.10 as they still use 3.8 for the workflows: https://github.com/Cog-Creators/Red-DiscordBot/blob/1fa76bf43f0df9eecf264c0f21dd3d3505d89d60/.github/workflows/publish_release.yml#L18

the still say that python 3.8 or 3.9 is supported, I don't see 3.10 mentioned


Refactor netebpfext

Signed-off-by: Alan Jowett<EMAIL_ADDRESS>Description
Refactor netebpfext to permit building in a user mode test.
Testing
CI/CD
Documentation
No

Merging into feature branch.


General micro-optimizations

I've made some micro-optimizations to reduce method calls and such.
They won't make a huge difference in the grand scheme of things, but the optimized bits introduced some overhead and fuzzed up profiling results just by the sheer amount of calls these methods received or performed.

@Zapotek Thanks for you work! I commented on one thing.


Deployment needs some help

I can't find it work properly when deployed to server.
It gives the information of server's ISP and not my local ISP from where I'm opening in the browser
By the way I used heroku
Any help highly appreciated

It works fine when deployed to a server.
This package is not designed to make a copy of the speedtest.net website. It doesn't work in the browser. It's not for the browser. It will only work to test the internet speed of the system that the code runs on.
If this is not not what you want to do then this package is not for you.

I meant no disrespect.
It works fine on my local machine and when deployed on the server too it
worked.
But I didn't know it was not meant for browser and your reply clarified it
I always respect coders and their works
Thanks
On Thu, Jun 25, 2020 at 11:18 PM Han de Boer<EMAIL_ADDRESS>wrote:

Closed #111 https://github.com/ddsol/speedtest.net/issues/111.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ddsol/speedtest.net/issues/111#event-3483484647, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ALT5ARB2WFZM4E6YETTLII3RYOEYRANCNFSM4OGX6PLA
.


Add HTTP/2 support

Is there any way I can use it with http/2?

As long as you use the standard library it should work, if you are using something else you should provide some code example.
Take a look in net/http2/h2c.


Deprecate implicit rootProject.name assignment

Also assigns 'root' if the name is empty.
If this deprecation seems sensible, I'll add docs to describe it.
Fixes #15655

If I read the deprecation code correctly, it would require you to always set rootProject.name for any build (also any build in a composite). I think that would be too aggressive.
I 100% agree that the name should be set if the project is in the "root of something" (root of the Git repo, root of the file system...). But if the project is inside a folder that has a stable name - for example a folder that is committed to git - then the name, based on the folder name, is stable. There should be no need to repeat it in a rootProject.name statement.
I think we will see more setups in the future where projects are inside folders of git repos and not directly in the root. Especially with composite builds.


2.1.7. Testers do not work correctly with non-latin state names

USCXML Tester has the next issues:

does not correctly transmit non-latin state names and such states are not highlighted
does not encode trigger values from UTF-8 to global locale

QT SCXML Tester has the next issues:

does not correctly transmit non-latin state names and such states are not highlighted
monitor output breaks after receiving at least one non-latin word

Fixed in 2.1.8. Require update folders: ScxmlEditor\QtScxmlTester, ScxmlEditor\UScxmlTester and ScxmlEditor.exe


Possibility of distinguish the extension opened as popup and side panel

This task is a follow up to this one: https://github.com/superhero-com/superhero-wallet/issues/2083
We need to have the possibility to know if user is opening the extension as the popup or side panel. This would allow us to open the confirmation modals to be open within the app instead of new windows when displaying as side panel.

I spent some time on trying to write logic that would check if user opened the extension popup or side panel and I didn't found any solution. I asked the community for help: https://stackoverflow.com/questions/78791831/detecting-if-browser-extension-is-running-as-popup-or-side-panel


Websocket under Chrome interrupt by RSV != 0

Hi,
we are using Vertx with websocket and frameHandler for handling Websocket. Normally it works well, but on some operating systems of our customers this error message is thrown:
ERROR ConnectionBase:187 [vert.x-worker-thread-6] - io.netty.handler.codec.CorruptedFrameException: RSV != 0 and no extension negotiated, RSV:4
ERROR LoggerVerticle:87 [vert.x-worker-thread-2] - WebsocketServerVerticle : an exception occur on the WebSocket
java.lang.Exception: RSV != 0 and no extension negotiated, RSV:4
As we know, they using Android devices with Chrome. Sometimes they can work as well too, but under unknow circumstances vertx thrown this errors and our customers couldn't do anything.
I couldn't tell you much about the operation system, all i know is there is an apache for forwarding all requests between device and vertx.
Does anyone has the same issue or can tell me how to solve this problem? All I found was to set "allowExtensions" to true but the HttpServerImpl setting this to false and i couldn't find a way to change this.
Thx for repsonse.

I also have this problem

this is my search information about this problem, may be to resolve it, but I do not to practice。
/**
one:
 * it seems that gravity cannot work with compression in websockets,
 * the Sec-WebSocket-Extensions: permessage-deflate header causes an error (RSV != 0 and no extension negotiated, RSV:4),
 * if you put nginx before gravity and cut the Sec-WebSocket-Extensions: permessage-deflate header,
 * then error (RSV != 0 and no extension negotiated, RSV:4) disappears
 *
tow:
 * https://github.com/netty/netty/issues/2953
 */


Chinese Simplified Support

This is a great project, and I wish I could contribute the Simplified Chinese translation!

Hello! Thank you very much for your feedback and support! I have added Simplified Chinese to FocusTide's Crowdin page (https://crowdin.com/project/anotherpomodoro/zh-CN)!

❤

Thank you so much for your help, @huangyinhaow! I approved your translations, version 1.5 will include them :)
I'll reopen the issue until the changes are merged as I'll have to include an additional line for the translations to be enabled.

Sorry for taking so long with this, I have one final question before merging and enabling the language. Is it correct to write "简体中文" as the language's name in the language picker?


Appending categoricals fails with to_parquet

With dask[complete] 0.19.4, fastparquet 0.1.6 and Python 3.6.6:
#!/usr/bin/env python3
# coding: utf-8

import pandas as pd
import dask.dataframe as dd
import fastparquet as fp

PARQUET_PATH = "test_parquet"
FPARQUET_PATH = "test_fparquet"

df = pd.DataFrame({"x": ["a", "a", "b", "a", "b"]})
# the following has the same behaviour as a ddf.categorize(['x'])
df["x"] = df["x"].astype("category")
ddf = dd.from_pandas(df, npartitions=1)

fp.write(FPARQUET_PATH, df)
dd.to_parquet(ddf, PARQUET_PATH)

# this succeeds:
fp.write(FPARQUET_PATH, df, append=True)

# this fails:
dd.to_parquet(ddf, PARQUET_PATH, append=True)

The above fails with the following error:
Traceback (most recent call last):
  File "categoricals_to_parquet.py", line 23, in <module>
    dd.to_parquet(ddf, PARQUET_PATH, append=True)
  File "/Users/gavin/.local/share/virtualenvs/dask_playground-wLgMaRNp/src/dask/dask/dataframe/io/parquet.py", line 1229, in to_parquet
    **kwargs)
  File "/Users/gavin/.local/share/virtualenvs/dask_playground-wLgMaRNp/src/dask/dask/dataframe/io/parquet.py", line 589, in _write_fastparquet
    set(df.dtypes.iteritems())))
ValueError: Appended dtypes differ.
{('x', CategoricalDtype(categories=['a', 'b'], ordered=False)), ('x', 'category')}

It appears this is a regression/recurrence of #2174
I've also tried installing from master of dask and fastparquet (as per following pip freeze), and was able to reproduce as above.
-e git+https://github.com/dask/dask@b1f06aa605dcdd801bec012bf025be12d91d5bc1#egg=dask
-e git+https://github.com/dask/fastparquet@c8457d1726bdc81fd8973a11bcb3166e8413a001#egg=fastparquet

Yeah, on the face of it, those two dtypes do appear compatible, although should assure that the category values are the same, not just that both are categorical.

I am encountering the same thing and I explicitly know the category values are the same as it's synthetically generated data.

Ugh this is ugly. The docs at http://pandas-docs.github.io/pandas-docs-travis/categorical.html#equality-semantics explain this a bit, but all CategoricalDtypes are equal to the string 'category' for backwards compat.
In [10]: x = pd.api.types.CategoricalDtype(['a', 'b'])

In [11]: x == 'category'
Out[11]: True

fastparquet is essentially comparing a set of those
In [12]: {x} == {'category'}
Out[12]: False

which is false, I assume because of hashing differently? I'm not sure how set equality works.
Anyway, I think that fastparquet may need to read the actual CategoricalDtype from the file before comparing. I don't think this is a dask issue.

cc @martindurant
On Mon, Nov 26, 2018 at 6:57 AM Tom Augspurger<EMAIL_ADDRESS>wrote:

Ugh this is ugly. The docs at
http://pandas-docs.github.io/pandas-docs-travis/categorical.html#equality-semantics
explain this a bit, but all CategoricalDtypes are equal to the string
'category' for backwards compat.
In [10]: x = pd.api.types.CategoricalDtype(['a', 'b'])
In [11]: x == 'category'
Out[11]: True
fastparquet is essentially comparing a set of those
In [12]: {x} == {'category'}
Out[12]: False
which is false, I assume because of hashing differently? I'm not sure how
set equality works.
Anyway, I think that fastparquet may need to read the actual
CategoricalDtype from the file before comparing. I don't think this is a
dask issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/4120#issuecomment-441614407, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AASszPBGFcHFnNlAKQooahdaHPdVQjYfks5uy9cjgaJpZM4X1xX3
.

@TomAugspurger , do you think the following super-ugly condition captures it?
--- a/dask/dataframe/io/parquet.py
+++ b/dask/dataframe/io/parquet.py
@@ -583,7 +583,10 @@ def _write_fastparquet(df, fs, fs_token, path, write_index=None, append=False,
             raise ValueError('Appended columns not the same.\n'
                              'Previous: {} | New: {}'
                              .format(pf.columns, list(df.columns)))
-        elif set(pf.dtypes[c] for c in pf.columns) != set(df[pf.columns].dtypes):
+        elif (set(pf.dtypes[c] for c in pf.columns if pf.dtypes[c] != 'category') !=
+              set(d for d in df[pf.columns].dtypes if d != 'category') or
+              any(pf.dtypes[c] != 'category' for c in pf.columns if pf.dtypes[c] == 'category')
+              ):

I guess @galvanist 's case should be turned into a test.

@martindurant, any thoughts on Tom's suggestion above?

Yes, I think it should be tried: we know the line to put it in, and there's a decent test at the top of the thread.

This no longer fails (although you must ignore divisions int he given example)


issue #101 compile with MSVC(Win32)

in order to compile yasl with MSVC;
- MSVC causes error for using sprintf
- MSVC cannot compile division by 0 constant; 0.0/0.0 is changed to NAN, and also use INFINITY.
- MSVC _VA_ARGS_ macro expansion bug work around; adding function to emulate intention
- MSVC cannot treat int64_t without stdint.h
- size of size_t is different from yasl_int

Looks good, I'll merge it in!
I was planning on supporting MSCV eventually, but it looks like you beat me to it.
Thanks!

Thank you for merging them.

No problem. Let me know how YASL works for you! Any troubles integrating it, any issues/missing features with the language itself, etc


Update kafka_log_log_size metric with new labels

JIRA: https://issues.redhat.com/browse/MGDSTRM-10072
These are duplications of the pre-existing label names for compatibility. The new names are part of the consistent user-facing metrics initiative. In future we'll also come to rename the metric itself.

Thanks for the reviews folks, merging this now.


Add out parameter to pdist and cdist

To reduce memory load of repeated calls to pdist/cdist. I don't think outneeds to be set to zero, does it?

Sorry, I'm new to github. Is there any special way to add tests, or do I just add a test script to the patch branch?

If you install pep8 package, you can test for pep8 issues via pep8 myfile.py on the terminal which will tell you problems if there is any. Or you can use an editor that can automatically perform the checks periodically.
Also if you are not on Windows (which is very tedious to set things up), you can simply call python runtests.py -s <module name> to run tests of that module.  Currently you have an error that says esp is not known because in the test you have a typo of esp instead of eps local checks will reduce the effort of committing and waiting for Travis CI to check (no worries I was there too).
I'm mainly a Windows user but what I did is to setup a Oracle VM VirtualBox and installed different Linux machines there. Then whenever I feel like ready I switch to those machines and perform builds and testruns on those machines to check for problems. Then I commit to here.

Don't worry if you are new, there is always a first time ;)
Here you can find some useful info about scipy policies, how to run test or a script, the naming conventions for commits and PR, etc.
As @ilayn has suggested, using an editor with pylint and pep8 packages can help you spot errors right away while editing ;)
P.s. I tipically use Atom or VisualStudio Code as editors and the are availlable both for Linux and Windows.

@apbard Thanks for the links and I apologize for the ill-formatted commit messages. I'm currently using Eclipse for Python and C, and Atom for everything else. Have used Spyder and RStudio also. Eclipse has pep8.

You can do it on Spyder too. see Realtime code analysis part with pep8 setting

@dezmondgoff did you maybe forget to push that next commit that you mention in a couple of replies above?
Also would be good if you could rebase this PR (let us know if you're not sure how to do that), there's a merge conflict now.

@dezmondgoff ping. Looks like this PR is close to the finish line. We're branching the next release in a week, if you want this to be included then would be good to come back to this very soon.

@rgommers would you like me to take this over and try to have it finished by the 16th?
If yes, how should I proceed?
Clone his branch, squash everything (keeping his authorship) and then add another commit with the final changes? Or change directly the squashed commit? open a new pr? or else?

@apbard yes good idea, please do!

Clone his branch, squash everything (keeping his authorship) and then add another commit with the final changes?

Yes that sounds right.

Finished and merged in gh-7637, so closing this.


Does Not Work with LiveKit Cloud

LiveKit cloud gives you a URL with wss scheme, e.g. wss://xxx.livekit.cloud
Some API calls such as list rooms crash saying the scheme is not supported.

Hello @kornatzky,
The server SDK should be using https rather than wss, which is used only for a websocket connection.
Let me know if this fixes your issue.

Hello. It does not. The problem is that when you generate a project in LiveKit Cloud, you get a URL which is wss. There is no way to get a URL from the LiveKit Cloud which is https.

Hi,
I understand what you are saying although every server side calls are made to the same address although change url scheme fromwss:// to https://. That should resolve your issue.
I have just ran to full the full test suite on cloud and everything reported green.
Room Service Client (Agence104\LiveKit\Tests\RoomServiceClient)
✔ Create room
✔ List rooms
✔ Delete room
✔ Update room metadata
✔ List participants
✔ Get participant
✔ Remove participant
✔ Mute published track
✔ Update participant
✔ Update subscriptions
✔ Send data
Hope this helps.

This indeed solves the issue.


basic CPUPROFILE usage fails on osx (with gperftools installed via brew)

I tried to follow the steps outlined in (see below links) but nothing worked:
brew install gperftools
brew test gperftools # works, sanity check

clang -o /tmp/z01 -lprofiler hello.c
CPUPROFILE=/tmp/prof.out /tmp/z01
pprof /tmp/z01 /tmp/prof.out

Using local file /tmp/z01.
Using local file /tmp/prof.out.
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /usr/lib/liboah.dylib (No such file or directory)
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/otool-classic: can't open file: /usr/lib/liboah.dylib (No such file or directory)
...

likewise with /usr/local/opt/gcc/bin/gcc-11 -o /tmp/z01 -L/usr/local/Cellar/gperftools/2.9.1/lib -lprofiler -g hello.c
links

https://stackoverflow.com/questions/22623934/how-to-install-gprof-on-os-x
https://stackoverflow.com/questions/10562280/line-number-in-google-perftools-cpu-profiler-on-macosx?noredirect=1&lq=1
https://stackoverflow.com/questions/29308174/how-to-profile-from-the-command-line-on-mac-os-x?noredirect=1&lq=1
https://gperftools.github.io/gperftools/cpuprofile.html

It seems linked to some libs moved around on recent versions of MAC OS: https://developer.apple.com/forums/thread/655588
Reproduced through an Homebrew install on my side.
Trying to reproduce installing from sources.

Was there ever any luck with this issue?

Anyone figure this out?

Still an issue

I've met the question

Same issue arises with gperftools installed via MacPorts

Same issue, could someone please share the solution? thanks!

Just to keep this list up and running. I'm also having the same issue with gperftools installed via MacPorts

Same issue here.

Same issue here.

Same issue!

it works for me. Few notes:
a) make sure that your program runs at least 10 seconds or to get at least some precision.
b) use pprof from github.com/google/pprof (golang version). But be aware of https://github.com/google/pprof/issues/477
As for brew version of gperftools, since I am not really OSX expert, also do consider checking which verion(s) it is actually giving you.

E.g. see below. I also tested that whenever graphviz is installed pprof --http thingy works (which is my main mode of interaction with profiles which I highly recommend)
alk@hair gperftools % c++ -Wall -O2 -o malloc_bench_std benchmark/malloc_bench.cc benchmark/run_benchmark.c -L.libs -lprofiler
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
alk@hair gperftools % CPUPROFILE=$PWD/pr DYLD_LIBRARY_PATH=.libs ./malloc_bench_std
profiler before init
profiler after init
Trying to randomize freelists...done.
Benchmark: bench_fastpath_throughput                        32.939903 nsec
Benchmark: bench_fastpath_throughput                        38.229328 nsec
Benchmark: bench_fastpath_throughput                        38.182063 nsec
PROFILE: interrupts/evictions/bytes = 1648/595/74568
alk@hair gperftools % pprof --text ./pr
Local symbolization failed for libsystem_kernel.dylib: error reading fat Mach-O file /usr/lib/system/libsystem_kernel.dylib: architecture not found in /usr/lib/system/libsystem_kernel.dylib: arm64
Local symbolization failed for libsystem_malloc.dylib: stat /usr/lib/system/libsystem_malloc.dylib: no such file or directory
Local symbolization failed for libsystem_c.dylib: stat /usr/lib/system/libsystem_c.dylib: no such file or directory
Local symbolization failed for libdyld.dylib: stat /usr/lib/system/libdyld.dylib: no such file or directory
Local symbolization failed for libc++abi.dylib: stat /usr/lib/libc++abi.dylib: no such file or directory
Some binary filenames not available. Symbolization may be incomplete.
Try setting PPROF_BINARY_PATH to the search path for local binaries.
 Someone (not me) should consider debugging and fixing it.
Here is pointer(s).  Our profile format (so called legacy, because modern pprof's native format is proto) is described here: https://github.com/gperftools/gperftools/blob/master/docs/cpuprofile-fileformat.html
Part of that is dump of /proc//maps. On Linux we just do that. On OSX apparently there is no procfs, so we synthesize it. In this code: https://github.com/gperftools/gperftools/blob/9d44463380716ebad2f8ba13ce8a737f22bb2602/src/base/sysinfo.cc#L749
Something is apparently making it output not entirely right paths, perhaps.

Still have this issue at March 2024

We still need someone who likes and knows this OS to help us update pprof to do the right thing.
What I said above above /proc/pid/maps stuff likely isn't entirely accurate. otool also dump 'wrong' paths for dynamic libraries. It doesn't seem something very new (maybe few years new, but it wasn't the case some number of years ago). Looks like for whatever reason apple choose to place those dynamic libraries somewhere else, or hide them who knows.
So I propose, first, someone googles and asks around or somehow else figures out where those files actually are. Perhaps find / incantation might help you find those files. We're talking about what seems like equivalent of libc for osx e.g. /usr/lib/system/libsystem_c.dylib
With that we should be able to figure out how to update github.com/google/pprof to find those files (we can also update our obsolete perl version but maybe not). I can help with the later but I need help with first.
@Deeperand @lsk567 @ropmacedo @mttjcksn @melishua

Hi, I'm in the first day to learn gperftools. It seems like gperftools can't work currently on Macos (not fixed it yet?), and the only way to use it is to switch to go version pprof? Maybe I should consider studying it in Linux or Win now? Thank you.

We're not in "can't work" territory on OSX. There is definitely issues in our support of cpu profiling and so called heap profiling, but they work (for some definition). Malloc bits work (but OSX "features" makes performance advantage mostly moot; malloc/new performance is broken on those OSes).
For sure, you'll get fullest and best experience on GNU/Linux (not windows), but learning by fixing/doing could also be great motivation. If for some reason Apple's systems are your passion, feel free to dive in and contribute.

We're not in "can't work" territory on OSX. There is definitely issues in our support of cpu profiling and so called heap profiling, but they work (for some definition). Malloc bits work (but OSX "features" makes performance advantage mostly moot; malloc/new performance is broken on those OSes).
For sure, you'll get fullest and best experience on GNU/Linux (not windows), but learning by fixing/doing could also be great motivation. If for some reason Apple's systems are your passion, feel free to dive in and contribute.

Thanks for your prompt reply and suggestions. I get it likes a temporary OSX support issue. I am switching my studies to linux server and all looks fine now. 👍

So I looked at this some more. Basic usage definitely works. There is issue of failing to symbolize those "system" libraries. And it appears to be some sort of sick intention of OSXers. But all the non-system binaries are symbolized correctly. At least on my test box.
To summarize: those 'can't open file' messages are Apple's intention.  Also don't use our pprof version. Use github.com/google/pprof (get it by go install github.com/google/pprof@latest and it'll be at ~/go/bin/pprof). We'll soon stop shipping "our" version entirely.
Reference on the system libraries on osx: https://developer.apple.com/forums/thread/655588?answerId=665804022#665804022 and https://developer.apple.com/forums/thread/715385


Fixes the permissions spec and related to fixtures to reflect correct action-group names

Description

Re-arranges the fixture load in a test to reflect the correct updates.
Updates action-group names in fixture files.

Issues Resolved

Related to https://github.com/opensearch-project/security-dashboards-plugin/issues/2055

Check List

[x] Commits are signed per the DCO using --signoff

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

Flaky error;
1) Permissions page
       should create new action group successfully by selecting `Create from selection`:
     CypressError: Timed out retrying after 60000ms: `cy.wait()` timed out waiting `60000ms` for the 1st request to the route: `getPermissions`. No request ever occurred.

seems to be an issue with cypress, as mentioned here: https://github.com/opensearch-project/opensearch-dashboards-functional-test/issues/284

@DarshitChanpura Seems failed to backport automatically, could you please backport to 2.x manually?

@DarshitChanpura Seems failed to backport automatically, could you please backport to 2.x manually?

@SuZhou-Joe Done. Could you please review backports?


The package needs some fixes to work with more recent rq versions.

Looks good. I'll merge it.

Added a release tag for 0.3.13


UserBadge does not send payload to security user

Hi,
I can not figuring out what I'm doing wrong If I setup a database-less user provider with symfony 5.3 like descibed .
With custom user class "App\Security\User"
When I send my users data to the login_check the paylod is empty, since the UserBadge provides only one parameter
$this->user = ($this->userLoader)($this->userIdentifier);
Therefore the payload recived by createFromPayload is empty and the user creation will fail, because we have to few arguments to construct the user
security:
    # https://symfony.com/doc/current/security/authenticator_manager.html
    enable_authenticator_manager: true
    providers:
        jwt:
            lexik_jwt:
                class: App\Security\User

    firewalls:
        login:
            pattern: ^/api/login
            stateless: true
            jwt: ~
            # provider: jwt
            json_login:
                check_path: login_check
                success_handler: lexik_jwt_authentication.handler.authentication_success
                failure_handler: lexik_jwt_authentication.handler.authentication_failure

This is the trace

If I cut down the constructor to only username the CheckCredentialsListener.php checks the password, which is not present in users data and failes. It seems that I missed something in the configuration of the authentification.
I tried to extend the payload. The events are not fired right now,

Sorry, I saw that stackoverflow is the current support platform. I think I got it. I've to create an user provider returning an valid user. Then the events are fired and I get a token in response. The readme of database-less seems to be easy but it does not describe the whole needed setup.

If you think we can improve something in the docs, please consider opening a PR. Thank you.


[WIP] Contract remarks

:white_check_mark: Build AElf <IP_ADDRESS>69 completed (commit https://github.com/AElfProject/AElf/commit/23c7f2dd9a by @jason-hoopox)

:white_check_mark: Build AElf <IP_ADDRESS>46 completed (commit https://github.com/AElfProject/AElf/commit/47c7cbf6e8 by @jason-hoopox)

:white_check_mark: Build AElf <IP_ADDRESS>55 completed (commit https://github.com/AElfProject/AElf/commit/6c5f26e448 by @jason-hoopox)


Wrongfully merged .aspk

When merging splits from this app - https://play.google.com/store/apps/details?id=huepix.grapicdesigner an extra classes2.dex is being created and it is not a .dex file
So in order for app to start you have to delete this classes2.dex file and rename the rest dexes accordingly
Easy to replicate. MT Manager converts it just fine.
P.S. termux is being used for this

You didn't use issue template nor describe how to reproduce, closing

I did replicate this issue
Describe the bug
If merging APK that contains a file named classes.dex inside a subfolder, in this case res/raw/classes.dex, this file will be copied to the base of the merged APK and can break it
To Reproduce
Steps to reproduce the behavior:

Used version: action build https://github.com/REAndroid/APKEditor/commit/6cc11dbe211d83dc062edd63b01a5efbc9a12c76
Operating system: Windows 10 64bit
Command: java -jar APKEditor-1.4.1.jar m -i "Banner Maker Flyer Ad Design_2.1_APKPure.zip"
(Source of the file does not matter)

Log/Stacktrace
00.000 I: [MERGE] Using: APKEditor version 1.4.1, ARSCLib version 1.3.5
-i = "Banner Maker Flyer Ad Design_2.1_APKPure.zip"
-o = "Banner Maker Flyer Ad Design_2.1_APKPure_merged.apk"

00.023 I: [MERGE] Extracting to: tmp_ad29c3e9
00.228 I: [MERGE] Searching apk files ...
00.231 I: [MERGE] Found apk files: 9
00.332 I: [MERGE] Found modules: 9
00.393 I: [MERGE] Merging: huepix.grapicdesigner
00.394 I: [MERGE] Added [huepix.grapicdesigner] classes.dex -> classes.dex
00.394 I: [MERGE] Added [huepix.grapicdesigner] res/raw/classes.dex -> classes2.dex
00.394 I: [MERGE] Added [huepix.grapicdesigner] classes2.dex -> classes3.dex
00.394 I: [MERGE] Added [huepix.grapicdesigner] classes3.dex -> classes4.dex
00.680 I: [MERGE] Merging: config.de
00.734 I: [MERGE] Merging: config.fr
00.758 I: [MERGE] Merging: config.xxhdpi
00.785 I: [MERGE] Merging: config.es
00.804 I: [MERGE] Merging: config.en
00.824 I: [MERGE] Merging: config.it
00.842 I: [MERGE] Merging: config.pt
00.859 I: [MERGE] Merging: config.in
00.905 I: [MERGE] Sanitizing manifest ...
00.909 I: [MERGE] Removed-attribute : extractNativeLibs
00.910 I: [MERGE] Removed-attribute : isSplitRequired
00.912 I: [MERGE] Removed-element :  name="com.android.vending.splits.required"
00.912 I: [MERGE] Removed-element :  name="com.android.stamp.source"
00.912 I: [MERGE] Removed-element :  name="com.android.stamp.type"
00.916 I: [MERGE] Removed-table-entry : res/xml/splits0.xml
00.916 I: [MERGE] Removed-element :  name="com.android.vending.splits"
00.917 I: [MERGE] Removed-element :  name="com.android.vending.derived.apk.id"
00.945 I: [MERGE] Writing apk ...
00.956 I: [MERGE] Buffering compress changed files ...
01.412 I: [MERGE] Writing files: 1166
01.505 I: [MERGE] Writing signature block ...
01.528 I: [MERGE] Saved to: Banner Maker Flyer Ad Design_2.1_APKPure_merged.apk
Used apk file
Attach/share your apk
Banner Maker Flyer Ad Design_2.1_APKPure.zip
Additional context
This problem seem to originate from getDexNumber in InputSource of ARSCLib, it strips relative path before checking if name equals classes.dex. I don't know if this is intended/correct behavior for purposes other than merging, but in AntiSplit M, I return -1 in this method if name contains '/'

@AbdurazaaqMohammed Thank you reopening


Update README.md

Let's float the JS Standard sticker to the top right, it's more efficient this way.

Thanks @revelt!


[Relay] Port LSTM to Relay for testing

We would like to be able to evaluate Relay's performance on an LSTM, particularly since Relay can directly incorporate control flow. However, I could not find a concise example of an LSTM in NNVM to port over. @merrymercy pointed me to his own prior implementation of an LSTM cell, which is what I ported over.
However, in order to get this to match up with the other examples, I would also need to set up the rest of the network and load in a benchmark; I would appreciate any pointers as to how I could proceed, since I am not familiar with LSTMs. Namely, a pointer to NNVM implementations I could point over would be most helpful for being able to set up comparisons. (@tqchen, @merrymercy)
I would also appreciate any advice on how to best present this example (e.g., references to include).
Edit: Full disclosure, this variant of an LSTM is still an unrolled loop because we haven't merged in planned changes for abstract data types in Relay. Relay can currently handle a loop via recursion but without ADTs, it can't take in an arbitrary-length input list

This now constructs an LSTM example but the typechecking is failing on SplitRel for reasons I cannot easily discern. I will continue to try to debug, but if anyone knows what's wrong, feel free to point it out.

I will do a substantial refactor using the ScopeBuilder to see if that might help anything

Annotated every type and am no longer getting type errors in Relay (this points to some serious shortcomings in type unification and inference), but now it hangs on create_workload, possibly looping infinitely. Would appreciate pointers as to what could be done differently.

@slyubomirsky can you update this PR? it is ready for another look?

No, I just want to make sure if you need further updates, we can merge this in as it is

Ah, in that case I would say it's not waiting on further changes. We can perhaps simplify the Relay implementation in a follow-up PR


Why two click is required to get the start date in DatesRangeInput

If the date range is already selected then two-click is required, one-click to empty the start date and one-click for the select date, can't we do that in one click.


Model - Combination - Author string

Changing author for species does not change one for combination.
https://sfg.taxonworks.org/tasks/nomenclature/browse?taxon_name_id=396756

See also misspellings and misapplications.

Basic issue is fixed, edge case if misspellings and misapplications needs to be handled.


[Improvement] Introduce Dependabot for dependency automate upgrade

Code of Conduct

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

Search before asking

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

What would you like to be improved?
Introduce Dependabot for dependency automate upgrade, see https://github.com/dependabot
For example: https://github.com/apache/druid/pull/11079
How should we improve?
No response
Are you willing to submit PR?

[ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
[ ] No. I cannot submit a PR at this time.

cc @bowenliang123 @pan3793
We can raise a discussion in dev mail list later.


duplication of arrays within callouts

What happened?
on the discord dataview server, i discussed a problem with an inline query within a callout where the array was being duplicated in the results. The duplication problem persisted when I simplified the query within a callout to just > [!NOTE] =this.days``.
I am using the following field/values:  days:: [[2022-05-23]], [[2022-05-24]], [[2022-05-25]], [[2022-05-26]], [[2022-05-27]], [[2022-05-28]],  [[2022-05-29]]
Interestingly, inline queries within callouts work as expected in Dataview v0.4.26. And the array duplication problem seems to exist only in dataview beta 0.5.20.
images

beta 0.5.20

v0.4.26

Mnvwvnm commented:

DQL

[!NOTE] =this.days

JS
No response
Dataview Version
0.5.20
Obsidian Version
0.14.15
OS
Windows

Pretty strange, though perhaps because the line is being read both as a list item and a regular paragraph... I think this is a weird nuance of the Obsidian markdown metadata, but probably not too bad to fix.


Add Word Alignment engine:

Add HTTP API
Add Grpc
Add Echo
Add Serval services
Add machine level implementation
Add tests

This change is

Codecov Report
Attention: Patch coverage is 8.53659% with 75 lines in your changes missing coverage. Please review.

Project coverage is 56.51%. Comparing base (083d68e) to head (275fe7d).

Files with missing lines
Patch %
Lines

...ks/Consumers/WordAlignmentBuildFinishedConsumer.cs
0.00%
29 Missing :warning:

...oks/Consumers/WordAlignmentBuildStartedConsumer.cs
0.00%
26 Missing :warning:

...val.Shared/Contracts/WordAlignmentBuildFinished.cs
0.00%
7 Missing :warning:

....Shared/Contracts/WordAlignmentBuildFinishedDto.cs
0.00%
6 Missing :warning:

...rval.Shared/Contracts/WordAlignmentBuildStarted.cs
0.00%
4 Missing :warning:

...l.Shared/Contracts/WordAlignmentBuildStartedDto.cs
0.00%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #506      +/-   ##
==========================================
- Coverage   56.97%   56.51%   -0.47%
==========================================
  Files         277      284       +7
  Lines       14194    14314     +120
  Branches     1907     1908       +1
==========================================
+ Hits         8087     8089       +2
- Misses       5519     5637     +118
  Partials      588      588

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

@ddaspit - this is finally ready for review.


Removing redundant async code

Please describe the changes this PR makes and why it should be merged, as well as any and all proof of successful tests:
Uses readdirSync, removing the need for async code. It's not major, but this make the guide easier to understand and removes some unneeded processing
The code changes do not affect any variables, or the sequence of the code. It is effectively no change.
Semantic versioning classification:

[ ] This PR changes the framework's interface (methods or parameters added)

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)

[ ] This PR only includes non-code changes, like changes to README, etc.

No. No way. You do not use Sync code in a bot. It's not redundant, buddy, it's non-blocking. Go look up those meanings and then please don't try to shittify our code.

I understand what non-blocking code is, but if you look at the code I edited, it runs linearly anyway. What purpose is there in using an async function for that code block?


How to fix this error please ?

From comfyui manager install pip package diffusers>=0.26.0.

That worked , thank you :)


Arrange a meeting to carry out your task (Sequence Diagram) | share task among assignees. [March 21, 23.59]

It is important to arrange a meeting or share task among assignees. Let's discuss what we should do.

here, my suggestions:

tuesday afternoon 1-3pm or after 7pm
wednesday after 4pm
thursday before the evening
friday before 11am or between 1-3pm

then let's meet tomorrow to complete and revise.


jruby support

there're some failures on jruby
https://travis-ci.org/sass/sassc-ruby/jobs/534281860
it looks like all failures are caused by loading a tempfile in compile_file_context see
https://github.com/sass/libsass/blob/c55821a43551f4a4090fd962cd40443a9d3e54aa/src/context.cpp#L425
it returns an error status 3 - SassC::SyntaxError: Error: File to import not found or unreadable: styles.scss
note that the tempfile exists on the filesystem.

I don't use jruby, so a contributor will have to submit a patch for this.

I diged into it a little and I've found this function
https://github.com/sass/libsass/blob/b260394263f8db363e0b1bd335edcead011800c3/src/file.cpp#L58

ok, the problem is that Dir.chdir isn't propagated outside of the jvm process, I'm not sure it's even possible.
anyway the problem affects tests only, sassc works fine on jruby.
@bolandrm would you accept a PR that will remove dependency on https://github.com/bhb/test_construct ?

@ahorek yes, if you need to remove that dependency to resolve the test failures that would be fine.

I've chosen to skip tests that depends on a tempfile. Thanks @bolandrm


Next beta, release and prio. of features visualisation

Thanks for your invitation for collaboration.
In my last merged pull request, there started a discussion about the next beta, release 0.11 and priority of features. I made a new issue to give this discussion a space.
Visualization as project board
I think we can make there a way which is easy to  maintain and to give the users and the contributes a good overview over the next steps.
We have already the prerelease label. I think we can create a project board where all prerelease labeled issues are mapped to. This gives an overview for the next steps.
https://help.github.com/articles/tracking-the-progress-of-your-work-with-project-boards/
If we add more labels then we get a good overview for the next steps like beta 5.
Content of next steps
Goals for 0.11.0-beta5

[ ] Extension tests for configuration and building a CMake project
[ ] Tests for variable substitutions (PRs #319, #317)
[ ] Ninja bug (refer to issue #290)
[ ] Missing CMake messages (refer to issue #296)

There are still some goals missing from this list. The rest can be found in project 0.11.0-beta5: To do.
Goals for 0.11.0

[ ] User definable location for cmake-kits.json (refer to issue #293)

There are still some goals missing from this list. The rest can be found in the *0.11.0 milestone.
I know that are a lot of ideas and text. What do you think about?

I think the very first step is to do a triage of what is already open. There are many issues in the "Backlog" milestone, and many issues which are not. I think it will be useful to create a 0.11.0 milestone and start moving important issues into it. I don't want a milestone for beta releases since we can use projects for that purpose. A few steps, long term:

Find all the issues that should be included in 0.11.0 and label them with that milestone (maybe even pulling some from "Backlog").
Create a Project for 0.11.0-beta5 and bring in all 0.11.0 milestone issues.
Get'm done.
Push out a final beta5.
Any new issues go into 0.11.0
Finish with a 0.11.0 project
Release 0.11.0

Comments?

I think it is good. I thought that project could be linked directly to labels, but that does not possible.

Is it just me, or are there no Milestones yet? At least I can't seem to find any...

There's only a "Backlog" milestone. I think only collaborators are able to create Milestones. I'll add you as a collab, just to make this simpler.

I would suggest closing all (beta4) unrelated issues, since they have become somewhat obsolete, for now.
We can always reopen or create new ones if there is a need for it.

As a non-collaborator, closing issues that have become obsolete does make the issues section easier to navigate. Mine too got closed which I forgot to close by myself, simply because I jumped on board 0.11 betas, my original issues were solved (by Kits), but there were new ones which I started to report.
I was considering becoming a collaborator, but then I got engaged with Vcpkg development, where I didn't have to learn TypeScript to become a contributor. Contributing seriously to a tool I use every day is still on my backlog.
Thanks to all the folks taking a part in making CMake Tools a great extension! You da real MVP!

So, I have gone through all open issues and closed unrelated and/or stale issues.
Unfortunately the list is still pretty big, being at 68 open issues, but it is better than the previous 100+.

Thanks, @MathiasMagnus. Your activity in the past has been a real help for me. If you ever want to jump on board as a collaborator I'd be more than happy to send you an invite.

@vector-of-bool I don't know if you already know about it, but there is this (Octobox) tool that improves GitHub notifications a lot. Maybe you will like it ^^

@Randshot, looks awesome! Trying to sort through GitHub emails is a nightmare.
@KoeMai, I've made a branch feature/smoke where I was experimenting with "smoke tests" to address tests that the extension can configure/build a project. It uses CTest as a test driver. You can see how it works by looking in the smoke directory. They're much more heavy-duty tests than the unit tests that we already have, and the tests make sure the extension always starts with a clean state, which is a desirable property for reproducible tests.


Update customer-key-set-up.md

Added the requirement of an invoiced account.

Issue# https://github.com/MicrosoftDocs/microsoft-365-docs/issues/2296

@JohanFreelancer9 Please copy review

@KCCross Please merge this PR. Thanks

Requested additional reviewers through email. Good catch.

@msbemba The invoice requirement is for Azure Subscriptions that are used to create Azure Key Vaults for the Customer Key setup. If the Azure Subscription is of Pay As You Go type (especially with Credit Card) then it can not be tagged for Do Not Cancel. We need to separately call out requirements for Azure Subscriptions and the M365 licenses.
There's a separate PR that's pending publishing which @KCCross  is working on. That needs to be updated first before making this additional change for the Subscription requirement.
I am curious on what specific error the customer faced with the non-invoiced account. Can you please share those error details. Thank you.

@brdesai Thank you for the response. Below is the response from the customer when they contacted Microsoft about this
Response from Customer-
Ok, so you don't get a direct error. It isn't like you try to click something or execute one of the PS commands and it tells you 'no'.
During the early stages when you email the two teams (SPO and EXO) and provide your tenant information, you will be informed that you need an invoiced account to do the Customer Key(CK) process.

The processes for invoiced are to do it at time of purchase, change your billing method in the admin consoles, OR if invoice is not available to you in the console, you have to do a new purchase, and then start a tenant to tenant migration. Except that isn't fully true, if you start a support ticket and get someone that isn't just going to tell you to do a new purchase, you will get forwarded to the billing team, and they will work with the credit team to do the credit check required for invoiced billing. This can be a long process (9 weeks for us), and company (or personal) information will be shared, and tenant information will be changed to fit wording and information expected to be seen by the credit team.
Now, there are two credit teams. There is one for 365 and one for Azure, so this must be done with both teams, and their process is not synced.
Once you get to invoiced, either through a new purchase or through a drawn-out process getting to the credit teams, you can then continue the path of setting up CK with the SPO and EXO teams.

Thanks
Sri

@msbemba Thanks for the info.

@KCCross Please reply. Thanks


MyPlot merge Bug

I have a plot merge bug that always occurs when I see pictures
Steps to reproduce the issue
/p auto
/p claim
/p merge
OS and versions
*Plugin Version 1.11.1
*PocketMine-MP 3.23.1
*PHP 7.4.22
*Game Version 1.17.30
###Other Plugins
*Multiworld
*EasyEdit
the problem persists even if only MyPlot is installed
There is no system error

@jasonwynn10 was the bug found?

the bug is actually being investigated @jasonwynn10


Cannot use Portus REST API to create or update

I am working an a Python script to be able to clone a V2 registry with as little manual intervention as possible.  If I look at the Rails Routes via /rails/info/routes, it appears that this should be possible.  I have found all the GET APIs work, but upon trying a POST API, I get a ActionController::InvalidAuthenticityToken exception with this stack trace:
actionpack (4.2.2) lib/action_controller/metal/request_forgery_protection.rb:181:in `handle_unverified_request'
actionpack (4.2.2) lib/action_controller/metal/request_forgery_protection.rb:209:in `handle_unverified_request'
devise (3.5.1) lib/devise/controllers/helpers.rb:251:in `handle_unverified_request'
actionpack (4.2.2) lib/action_controller/metal/request_forgery_protection.rb:204:in `verify_authenticity_token'
activesupport (4.2.2) lib/active_support/callbacks.rb:432:in `block in make_lambda'
activesupport (4.2.2) lib/active_support/callbacks.rb:164:in `call'

Then a did a "view source" of the "create team" page and, sure enough, I see the HTML tags:
    <meta name="csrf-param" content="authenticity_token"/>
    <meta name="csrf-token" content="2vvKRkLFqq13cp2SIx7oTyakKt6tGpdoHKNXlvcAO1+145O/Qmk5J2OU5J/yr+zMsQnF7k4nW1f/D44to5WS0g=="/>

...which my Python API code will have no knowledge of.  In other words, the create/update APIs only seem to support Ajax from HTML Forms, rather then general RESTful API access, unless I'm missing something such as session cookies, etc.
Upon searching around, I find there should be a way to conditionally turn CSRF on/off based on whether the API is called from a form or as a service:
http://stackoverflow.com/questions/16258911/rails-4-authenticity-token
In fact, the RoR docs make this suggestion:
http://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection.html
So I modified Portus/app/controllers/application_controller.rb to conform to the above suggestion, but I still got InvalidAuthenticityToken... :(
Here is the fragment of code in my Python REST client that tries to create a team in Portus:
    def create_team(self, name, hidden, description):
        teams = [{"name": name, "hidden": hidden, "description": description}]
        response = requests.post(self.urlbase + '/teams.json', json=teams,
            headers={'Content-Type':'application/json', 'Accept': 'application/json'},
            auth=(self.username, self.password), verify=False)
        if response.status_code is not 200:
            raise APIException(response.text, response.status_code)
        data = response.json()
        self.log.debug(data)

Notice that my resource path is appended with .json, which I thought would inhibit the CSRF mechanism with my code change from the RoR docs:
http://api.rubyonrails.org/classes/ActionController/RequestForgeryProtection.html
Also I noticed that there is no user CRUD API.
In summary - how can we use the REST API from a script to create/modify teams, namespaces, etc.?

I changed my REST client code to first load the form page, e.g. /teams, then parse out the csrf-token from the page and send it via the X-CSRF-Token header upon posting to /teams.json and I still get InvalidAuthenticityToken...

Will there ever be support for RESTful changes to the registry? i.e. add/delete/modify?

Hi @wolfch. When designing/implementing Portus we never had in mind opening a REST API to control it. Honestly, it didn't even occur to me :sweat_smile:. Since we have already settled on the features for the next release and this would be quite a big change, don't expect us to work on this anytime soon. That being said, I'm generally in favor of this change.
@flavio what do you think ?

@flavio what do you think ?

I'm not entirely convinced about that. Why don't you issue commands against distribution's API?

Hi @flavio - sorry, I was not clear - what I want to accomplish is cloning/replicating a registry via API calls.  Yes, image-related activity would be done via the distribution API, but to replicate the Portus metadata, i.e. users, namespaces, teams, roles, registriy registration, etc. are purely Portus objects that distribution/registry knows nothing about.

Hello there,
I am trying to create a team/namespace by using the exposed API (basically copying the request made by the browser) but always end up getting a 422 Unprocessable Entity.
The goals behind that is to be able to provision our Portus instance using LDAP (creating teams/users/namespaces) as features in #734 are still not implemented.
Here's my current script :
#!/bin/bash

BASE_URL="https://portus.domain.local/teams"
TOKEN=$(curl -ski "${BASE_URL}/teams" -u "user:password" | grep "csrf-token" | sed 's/<meta name="csrf-token" content="//' | sed 's/" \/>.*//')

declare -A HEADERS
HEADERS=(
    [Host]="https://portus.domain.local"
    [Accept]="*/*;q=0.5, text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
    [X-CSRF-Token]=$TOKEN
    [Content-Type]="application/x-www-form-urlencoded; charset=UTF-8"
    [X-Requested-With]="XMLHttpRequest"
    [Referer]="https://portus.domain.local/teams"
)

function set_header {
    echo "-H $1: ${HEADERS[$1]}"
}

curl -vki "${BASE_URL}.json" \
"$(set_header Host)" \
"$(set_header Accept)" \
--compressed \
"$(set_header X-CSRF-Token)" \
"$(set_header Content-Type)" \
"$(set_header X-Requested-With)" \
"$(set_header Referer)" \
--data 'utf8=%E2%9C%93&team%5Bname%5D=bash&team%5Bdescription%5D=bash&commit=Add'h
-u "user:password"

Which give :
*   Trying <IP_ADDRESS>...
* Connected to portus.domain.local (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering http/1.1
* Cipher selection: ALL:!EXPORT:!EXPORT40:!EXPORT56:!aNULL:!LOW:!RC4:@STRENGTH
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: none
* TLSv1.2 (OUT), TLS header, Certificate Status (22):
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Client hello (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS change cipher, Client hello (1):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384
* ALPN, server did not agree to a protocol
* Server certificate:
*  subject: C=FR; O=LINAGORA; OU=SERVER; CN=docker-ci.linagora.com
*  start date: Mar  7 21:38:16 2016 GMT
*  expire date: Mar  7 21:38:16 2018 GMT
*  issuer: C=FR; O=LINAGORA; OU=0002 431473669; CN=LINAGORA Service CA
*  SSL certificate verify result: self signed certificate in certificate chain (19), continuing anyway.
> POST /teams.json HTTP/1.1
> Host: portus.domain.local
> User-Agent: curl/7.48.0
> Accept: */*
> Accept-Encoding: deflate, gzip
>  Host: https://portus.domain.local
>  Accept: */*;q=0.5, text/javascript, application/javascript, application/ecmascript, application/x-ecmascript
>  X-CSRF-Token: 6b0qSIlvToY3xGbNFPX3mijHX92/cywfkJHqpr5Zi3hCG2OetR7Nb/mBynadE5BelsVIDO9p+CrdSc+1Z5IuXg==
>  Content-Type: application/x-www-form-urlencoded; charset=UTF-8
>  X-Requested-With: XMLHttpRequest
>  Referer: https://portus.domain.local/teams
> Content-Length: 72
> Content-Type: application/x-www-form-urlencoded
>
* upload completely sent off: 72 out of 72 bytes
< HTTP/1.1 422 Unprocessable Entity
HTTP/1.1 422 Unprocessable Entity
< Date: Mon, 23 May 2016 09:22:11 GMT
Date: Mon, 23 May 2016 09:22:11 GMT
< Server: Apache/2.4.18 (Unix) OpenSSL/1.0.1k
Server: Apache/2.4.18 (Unix) OpenSSL/1.0.1k
< Content-Type: text/html; charset=utf-8
Content-Type: text/html; charset=utf-8
< X-Request-Id: 54aa76de-9393-465b-856c-3926f3e0ab13
X-Request-Id: 54aa76de-9393-465b-856c-3926f3e0ab13
< X-Runtime: 0.004051
X-Runtime: 0.004051
< Content-Length: 0
Content-Length: 0

<
* Connection #0 to host portus.domain.local left intact

It is by design or am I missing something ?

We are starting to develop a REST API. For now we have only included users and application tokens, but more will come in the future. Closing this in favor of #1412.


Fix development setup so that env variables load properly in all environments

This update fixes the development setup so that env variables load properly. I have tested this on WIndows 10 and Ubuntu 20.04.

The changes look good and work as described.


'shared_with_me' parameter

Hi,
I've noticed that 'shared_with_me' parameter was removed. Is there another way not to mount .shared folder?

No, because it would break the "Add shortcut to my Drive" feature. Now that Google removed "Add to my drive" for shared files, there is no other way to access them.

I don't use the "Add shortcut to Drive" feature so disabling .shared folder from being mounted wouldn't really brake anything for me. It would be nice if it was still available with a warning that it could break some files from working.


Feat / Maintenance 2024-Q1

Maintenance 2024-Q1
Prepare

[x] Pull main, run yarn
[x] Test dev server and release build
[x] If warnings/errors/dev issues already exist: fix or add a note to readme

Update dependencies

[x] Run yarn upgrade and test dev server
[x] Run yarn audit
[x] Fix critical issues (must)
[x] Fix high risk issues (should)
[x] Fix moderate risk issues
[x] Log skipped or notable updates in PR description below
[x] Run npx syncyarnlock -skgl and yarn
[x] Run linting, unit tests, e2e tests
[x] Test dev server and release build
[x] Verify and update deployment scripts (i.e. node_version, actions)
[x] Verify and update app libraries (i.e. Vite, Capacitor, React-native, player (sdk))
[x] Verify and update native SDK version (i.e. minSdkVersion)
[x] Check if project needs modernisation (i.e. missing readme, dependabot config, AppCenter-Stores from API)
[x] Run linting, unit tests, e2e tests
[x] Test dev server and release build
[x] Create PR: Feat / Maintenance 2024-Q1
[x] Rebase dependabot PR's onto this PR, see if still needed, merge and monkey test

Clean up

[ ] Remove unused branches and PR's
[x] Remove local repository if project is not planned for next Q

After merge

Rebase and check left over dependabot issues (+ monkey test dev/release)
Make new version
Push build to acc/stg (production is postponed)
Push apps to stores + bèta review (including production)
Update maintenance rollout table
Notify PM if specific features need extra testing

Skipped or notable updates

I skipped cleaning old repositories, because I don't have the time currently to figure out which ones should be kept. Next maintenance!
Decided to add the tag to this branch, to make the final step simple
Made the same mistake as last sprint: should've done this earlier, so we could've used it in our projects (which ones?)

Looks good! To comment on your last PR description note: at least all ott platforms (Symphony, beIN, (JW) ott-web-app) could benefit from doing the maintenance on this project earlier.

Thanks @MelissaDTH! I added a comment to the tickets of these repositories for next maintenance.


Issues reproducing Llama3.2-1B results on MMLU

Results Log
hf (pretrained=/data/models/meta-llama/Llama-3.2-1B,dtype=auto,), gen_kwargs: (None), limit: None, num_fewshot: 5, batch_size: auto (4)

Tasks
Version
Filter
n-shot
Metric

Value

Stderr

mmlu
2
none

acc
↑
0.3107
±
0.0039

- humanities
2
none

acc
↑
0.2912
±
0.0066

- formal_logic
1
none
5
acc
↑
0.1984
±
0.0357

- high_school_european_history
1
none
5
acc
↑
0.3758
±
0.0378

- high_school_us_history
1
none
5
acc
↑
0.3284
±
0.0330

- high_school_world_history
1
none
5
acc
↑
0.3291
±
0.0306

- international_law
1
none
5
acc
↑
0.4215
±
0.0451

- jurisprudence
1
none
5
acc
↑
0.3889
±
0.0471

- logical_fallacies
1
none
5
acc
↑
0.2761
±
0.0351

- moral_disputes
1
none
5
acc
↑
0.2775
±
0.0241

- moral_scenarios
1
none
5
acc
↑
0.2380
±
0.0142

- philosophy
1
none
5
acc
↑
0.3183
±
0.0265

- prehistory
1
none
5
acc
↑
0.3673
±
0.0268

- professional_law
1
none
5
acc
↑
0.2595
±
0.0112

- world_religions
1
none
5
acc
↑
0.4386
±
0.0381

- other
2
none

acc
↑
0.3602
±
0.0086

- business_ethics
1
none
5
acc
↑
0.3600
±
0.0482

- clinical_knowledge
1
none
5
acc
↑
0.3358
±
0.0291

- college_medicine
1
none
5
acc
↑
0.2890
±
0.0346

- global_facts
1
none
5
acc
↑
0.2000
±
0.0402

- human_aging
1
none
5
acc
↑
0.3812
±
0.0326

- management
1
none
5
acc
↑
0.3301
±
0.0466

- marketing
1
none
5
acc
↑
0.4103
±
0.0322

- medical_genetics
1
none
5
acc
↑
0.3900
±
0.0490

- miscellaneous
1
none
5
acc
↑
0.4266
±
0.0177

- nutrition
1
none
5
acc
↑
0.3824
±
0.0278

- professional_accounting
1
none
5
acc
↑
0.2624
±
0.0262

- professional_medicine
1
none
5
acc
↑
0.2868
±
0.0275

- virology
1
none
5
acc
↑
0.4036
±
0.0382

- social sciences
2
none

acc
↑
0.3191
±
0.0084

- econometrics
1
none
5
acc
↑
0.2807
±
0.0423

- high_school_geography
1
none
5
acc
↑
0.3687
±
0.0344

- high_school_government_and_politics
1
none
5
acc
↑
0.3472
±
0.0344

- high_school_macroeconomics
1
none
5
acc
↑
0.2462
±
0.0218

- high_school_microeconomics
1
none
5
acc
↑
0.2605
±
0.0285

- high_school_psychology
1
none
5
acc
↑
0.3376
±
0.0203

- human_sexuality
1
none
5
acc
↑
0.3511
±
0.0419

- professional_psychology
1
none
5
acc
↑
0.3023
±
0.0186

- public_relations
1
none
5
acc
↑
0.3000
±
0.0439

- security_studies
1
none
5
acc
↑
0.3510
±
0.0306

- sociology
1
none
5
acc
↑
0.3284
±
0.0332

- us_foreign_policy
1
none
5
acc
↑
0.5200
±
0.0502

- stem
2
none

acc
↑
0.2829
±
0.0080

- abstract_algebra
1
none
5
acc
↑
0.2600
±
0.0441

- anatomy
1
none
5
acc
↑
0.3704
±
0.0417

- astronomy
1
none
5
acc
↑
0.2303
±
0.0343

- college_biology
1
none
5
acc
↑
0.2500
±
0.0362

- college_chemistry
1
none
5
acc
↑
0.2200
±
0.0416

- college_computer_science
1
none
5
acc
↑
0.3000
±
0.0461

- college_mathematics
1
none
5
acc
↑
0.2500
±
0.0435

- college_physics
1
none
5
acc
↑
0.2255
±
0.0416

- computer_security
1
none
5
acc
↑
0.5000
±
0.0503

- conceptual_physics
1
none
5
acc
↑
0.3447
±
0.0311

- electrical_engineering
1
none
5
acc
↑
0.2690
±
0.0370

- elementary_mathematics
1
none
5
acc
↑
0.2354
±
0.0219

- high_school_biology
1
none
5
acc
↑
0.3032
±
0.0261

- high_school_chemistry
1
none
5
acc
↑
0.2611
±
0.0309

- high_school_computer_science
1
none
5
acc
↑
0.3200
±
0.0469

- high_school_mathematics
1
none
5
acc
↑
0.2667
±
0.0270

- high_school_physics
1
none
5
acc
↑
0.2318
±
0.0345

- high_school_statistics
1
none
5
acc
↑
0.2778
±
0.0305

- machine_learning
1
none
5
acc
↑
0.3571
±
0.0455

Groups
Version
Filter
n-shot
Metric

Value

Stderr

mmlu
2
none

acc
↑
0.3107
±
0.0039

- humanities
2
none

acc
↑
0.2912
±
0.0066

- other
2
none

acc
↑
0.3602
±
0.0086

- social sciences
2
none

acc
↑
0.3191
±
0.0084

- stem
2
none

acc
↑
0.2829
±
0.0080

Hi, thx for the work. I'm trying to reproduce the reported results for the Llama3.2-1B model on MMLU. The result I got is 0.3107, which is lower than the 0.493 reported by Meta
Could you pls let me know if there are any specific settings I might have missed? Thx in advance!

Hi! @VoiceBeer Meta MMLU has a different prompt style, please follow this readme and checkout this PR to reproduce our MMLU number for 3B.

Thx @wukaixingxp！Appreciate it!


Avoid platform-specific attributes

Problem
Program crashes on startup on some platforms:
$ python pm.py
Traceback (most recent call last):
  File "/home/person/courses/491/4GP-Password-Manager/pm.py", line 6, in <module>
    pm.core.main()
  File "/home/person/courses/491/4GP-Password-Manager/pm/core.py", line 4, in main
    root = MainWindow()
  File "/home/person/courses/491/4GP-Password-Manager/pm/ui.py", line 18, in __init__
    self.attributes('-toolwindow', True)
  File "/usr/lib/python3.10/tkinter/__init__.py", line 2005, in wm_attributes
    return self.tk.call(args)
_tkinter.TclError: bad attribute "-toolwindow": must be -alpha, -topmost, -zoomed, -fullscreen, or -type

Cause
According to the docs, toolwindow is a Windows-specific attribute:

https://wiki.tcl-lang.org/page/wm+attributes
https://tcl.tk/man/tcl8.6/TkCmd/wm.htm#M6

Fix
If we're going to use platform-specific attribs, it should be checked first:
import platform

if platform.system() == 'Windows':
    self.attributes('-toolwindow', True)

If not, we should stick to platform-independent attribs (source: https://tcl.tk/man/tcl8.6/TkCmd/wm.htm#M6):

All platforms support the following attributes (though X11 users should see the notes below):

-alpha

Specifies the alpha transparency level of the toplevel. It accepts a value from 0.0 (fully transparent) to 1.0 (opaque). Values outside that range will be constrained. Where not supported, the -alpha value remains at 1.0.

-fullscreen

Places the window in a mode that takes up the entire screen, has no borders, and covers the general use area (i.e. Start menu and taskbar on Windows, dock and menubar on OSX, general window decorations on X11).

-topmost

Specifies whether this is a topmost window (displays above all other windows).

Potential fix: 5ce068


Disallow Numbers in Names

don't allow numbers in cluster names

fixes https://github.com/supergiant/supergiant/issues/874

Coverage remained the same at 61.532% when pulling 669b497bb6af7926c4033762c10305204349b912 on josephkane:cluster-name-pattern-fix into 8b879b4be3ea52a1dfa8eeae5909b79dd40ca7fc on supergiant:master.


Ensure PRs to APISnoop generate data

Request: Enable others to contribute data processing and UI within a single PR
Short description:

Current state:

Manual updates of test-grid source buckets
Manual generate of target data
Manual upload of target data to gs://apisnoop/

Desired state:

PR can update the source buckets
Prow Job will generate target data
Job will upload results to GCS

Tasks:

[x] Locate credentials for uploading to GCS
[x] Ensure those creds are available via Prow
[x] Create prow job to react PR and run simple job
[x] expand job (create container) to process
[x] decorate job to upload results to GCS

PRs update data, now we need to ensure the data generated for a specific commit on a PR is correctly linked to it's netlify preview deploy.

From here we head to #159


active area of the links has shrunk from full width to only where the letters are with the recent update (regression)

Hi. I have unlauncher installed from F-Droid
there has been an update recently
not sure which version was before, but right now it is 2.0.0
now to use the unlauncher menu i have to tap precisely where there're letters of the app name
i'm pretty sure that before I could tap anywhere on its level
this makes it like much-much harder to use
screenshot attached: i marked with green how (i suspect) it was before, with red - how it is now
the same problem applies to the apps in the full list too - it became even more difficult to use it now (it had its problem in that the options are too close to each other and you cannot adjust that, that's a subject for another issue though, but now coupled with the new problem of having to tap precisely at the text, it made it that much worse)

it's weird though i was pretty sure that it WAS full-width just until the latest update
may be people from here installed 2.0.0 from source and used it while I was still using the older version where tap-area was full-width

duplicate of #150


docs(guide): copyedit TS user-input chapter

Also fix print formatting to not print the sidenav.

@wardbell here's another copyedit, for you to review at your leisure. I'm now going to start converting the Dart version of the first chapter I edited (displaying-data).

@wardbell I'm going to start converting this to Dart. If we subsequently make any changes to the TS version before committing this, then I'll make them to the Dart version, as well.

Dive right in!

I like all your suggestions. Pushing them (after squasing).
N.B. We have to come back and change all "template expressions" to "template statements".
I'll do that in a subsequent PR.


Adds protoc-gen-map to protobuf tool list

Please include protoc-gen-map in the list of protoc tools.
For more information on the framework, please visit https://github.com/jackskj/protoc-gen-map

@googlebot  I signed it


Tab identation for multiline text edit

With this PR we resolve #73, allowing opt-in tab indentation in TextEdit
When we load a string in TextEdit we keep the tabs as they are and by default tab_as_space is initialized to false and tab_moves_focus is initialized to true.
To config tab_as_spaces and tab_moves_focus to the values we want we can use the following helper functions:

TextEdit::tab_as_spaces()
TextEdit::tab_moves_focus()

Example:
ui.add(egui::TextEdit::multiline(&mut multiline_text_input)
    .tab_as_spaces(self.tab_as_spaces)
    .tab_moves_focus(self.tab_size));

Now depending on tab_as_spaces and tab_moves_focus properties of the TextEdit we have the following situations:

When tab_as_spaces is false, then when we press TAB the result is a TAB char is added to the string with the width of 4 spaces.

When tab_as_spaces is true, then when we press TAB the result is a chunk of 4 spaces are added to the string.

To fully understand how to use TextEdit with those two opt-in behaviors check the "Misc Demos" demo.
Other two helper functions were added to Ui and TextEdit to simplify the creation of a TextEdit focused on code editing:

code_editor
code_editor_with_config

The following key combinations are supported. Depending on the "tab-as-spaces" config the indentation block will be firstly converted to the appropriate type and the increased or decreased.

tab
Insert \t or needed number of spaces to align to the tabulation size. \t char will be rendered so that it will align to the tabulation size
shift+tab
Will remove indentation at the end of the indentation block to align the text to the tabulation size. This works on the current line or with multiple lines selected.
shift+[ and shift+]

Remove and add indentation at the end of the indentation block to align the text to the tabulation size.
Another improvement was done to build_demo_web.sh script to adapt the "open" command to the platform we work on. This is not covering all possible platforms, but it's a good template to have for when we need to adapt to a new platform:

xdg-open for Linux, Fedora for example
start for Windows, MSYS
open for anything else

Oh wow, this kind of got out of hand didn't it :) It's amazing with a code editor in egui, but I'm a worried about adding 1550 lines of code. The whole egui crate is only 14kloc!
I won't have time to review this for another few days, but anything you can think of the reduce the complexity would be appreciated. In particular: do we really need to supports spaces for indentation? Making an editor that only supports tabs would make everything A LOT simpler (just add or remove the first tab on a line). If a user wants spaces in their code when they save to disk, then can just convert to/from spaces on load/save instead. The code to convert to/from tabs/spaces would also be a lot simpler as we wouldn't need to track the cursor position.
Or, going the other direction, if we want a full-fledged code editor for egui, maybe that should be a separate crate (egui-code or something) that builds on egui rather than being a part of egui.

Well yes, I went from ecstasy to frustration and back to ecstasy. I will try to think of a way to reduce the complexity. For me at least the biggest complexity was represented by keeping track of remaining tabulation size. I used VS Code as a blueprint for how to add, remove or convert indentation and also how to keep the selection while adding or removing indentation.
What I can tell you is that I added quite a few tests. A birds eye view gives me around 500 lines of tests in text_edit.rs.

To explain my last post a bit more: I consider all code to be a liability and a burden. I always strive to express as much as possible with as little as possible. Each line of code is something that needs to be maintained in perpetuity, therefor each line of code must pull its weight.
In this particular case I know that the cursor handling in egui will need to be rewritten in the future, probably several times, to support things like right-to-left languages and moving over graphemes rather than characters. This PR will make such work a lot harder.
If an advanced code editor was a separate crate, then egui can be refactored and the code editor crate can follow, instead of doing both in one swoop (and by the same person).
But in this case I think we can get 90% of the result with 10% of the code by only supporting tabs for indentation, and force users to convert their code to that convention if they want to use egui as a code editor. As stated before, it is rather simple to convert to/from tabs when loading said code, so there is really no need for egui to support both.
PS:
Supporting variable-width tabs would also be great (https://twitter.com/sarah_federman/status/1146544481556033537?lang=en) but can also wait for a separate PR. It is always better with many small PR:s than one huge PR.

TL;DR: IMHO this should all be in a separate crate except for the part where you can disable tab moving focus and swap over to tab inserting '\t' instead.
Nice work! However, this has some major flaws:

4-space tab is an arbitrary number

2-space tabs and even 3-space tabs are used
if we were to have a code editor widget, I'd expect it would at least support those

tabbing/shift-tabbing keybinds should be customizable
tab indents does NOT mean code

selecting and tabbing/shift-tabbing is a coding convention and should not be on by default... or be there at all
the whole idea of spaces as tabs is also a coding convention and should not be on by default... or be there at all

Overall, although I like the idea, all the stuff aside from not moving focus on tab should at the very least be separated into a separate PR. Further, IMHO, the code here is too big to be wieldy while also being too "basic" for many use cases anyway. Both of these factors make it unfit for the core library and as such it should really be just a separate crate. egui is a GUI library. It should expose just enough features so the user can build whatever they want to using it. It shouldn't try to build the GUI for the user; that's still the user's job (and for good reason, as it's unreasonable for one library to support every opinionated use case).

Hello sorry for the inactivity, I was focusing on something else.
I will try to clean the PR this weekend, but my questions is, what should I leave in it?
Only the part where you can capture the focus and insert \t and rendering it as 4 spaces as @emilk initially proposed in one of it's commits, before I went and coded all of this?
Now about configurable key bindings, at the moment all key bindings are hard coded and from what I know there is no KeyMapManager available that fires events when some configurable key binding was detected.
I'm OK with both giving up on this PR or cleaning it and leave only what's needed and/or acceptable.
I would appreciate a lot to know what to leave and what to purge from the PR.
Thank you a lot for your feedback!

Now about configurable key bindings, at the moment all key bindings are hard coded and from what I know there is no KeyMapManager available that fires events when some configurable key binding was detected.

Right, which is why the code editor should be implemented in user code. Along with the user's own key map manager.
I'm not emilk, but I think this PR should implement, as you say, only the part where you can capture the focus and insert \t and rendering it as 4 spaces. However, definitely don't get rid of your current code! You've done a lot of great work and it could be used as a starting point when implementing a code editor in the future on top of egui, probably as an external crate.

And in any case, even if we decide to add a "code editor" to core egui sometime, that doesn't need to happen in this very PR. Those two basic changes mentioned above would be enough to fix https://github.com/emilk/egui/issues/73. If we want to discuss this more and maybe merge more of your changes, you can always open a new PR.

I will try to clean the PR this weekend, but my questions is, what should I leave in it?
Only the part where you can capture the focus and insert \t and rendering it as 4 spaces as @emilk initially proposed in one of it's commits, before I went and coded all of this?

I think that would be good, yes. I think the main bulk of this PR could be turned into an egui-code crate or similar. Such a crate could have a lot more freedom to do things like adding integration with syntect.

Cleanup according to PR reviews

Removed tab_as_spaces idea.
Removed identation management

The only thing left is the tab rendering which adaps to the remaining
space inside the current tab block.
We consider the following sequence of characters, separated with
spaces for clarity:
\t 1 \t 12 \t 123 \t 1234 \t

It will be rendered like this, using ---> to denote the space occupied
by a tab:
1234 | 1234 | 1234 | 1234 | 1234
-----+------+------+------+-----
---> | 1--> | 12-> | 123> | --->

I don't really understand the adaptation thing. I don't seem to be able to replicate your example in Google Docs nor OSX Pages, could you clarify what this is actually supposed to be doing?

Even if I used a mono spaced font in Google Docs I just reproduced it without issues.
From my checks a tab in Google Docs is around 5 spaces and a bit.

All the simplifications should be done now.


Commands are not working any more after merge?

@OOHehir @LIFsCode
I know that both of you are busy the next days. So no stress about it. But should be fixed whenever someone has free time again.
Sending serial commands over BT doesn't seem to work any more. Before the merge i could start/stop recording (using setRecordMode) or get status reports with getStatus or getConfig command etc. There is no response any more and i guess the merge broke that somehow.
@OOHehir
The commands are described here. These commands can be sent using a Bluetooth serial program. This works on Android and this one on Windows. Pair the device first and after that you are able to connect and send commands. Don't forget that the BT will turn off automatically after 60 seconds. This can be overcome using a config file in the root of the sd card or knock on the device to wake it up.
If i can do anything to help with that, Please let me know.
Cheeers
ED

If this issue is dealt with at "Implement wav file writing control from Bluetooth".
The of course my post can be deleted.

@EDsteve This is no doubt as a result of the changes I pushed. Should get a chance to look at it tomorrow evening (my time).

It would have been a miracle if everything worked right away after the merge. Haha
Thanks for looking into it. Only if you have the time of course.

Sorry I'm also quite busy this week, I can be of more help next week.
@OOHehir What I noticed when I saw the merge, is that there is no usage of FreeRTOS Queue, but rather polling the 'buf_ready' flag with a delay of 10 Ms (WavWriter) and 1ms (inference).
Based on the priorities this could cause the Bluetooth task to starve during processing commands. Parsing the json may take some time. Also I don't remember the priority of the BT serial driver lib. This could be a potential issue as wenn due to timing requirements.
Just a theory, but maybe it helps.
@EDsteve Is the performance monitor active?do you have any CPU/task loads in the log?

@LIFsCode
Yes. It comes up every few seconds in the serial log. Looks like this:
    | Task         | Run Time   | Percentage
    |        stats |       3676 |   0%
    |    BT Server |     163583 |   1%
    |         IDLE |    5078727 |  47%
    |         IDLE |    3133361 |  29%
    |         main |     461375 |   4%
    |      Tmr Svc |          0 |   0%
    |         ipc1 |      10512 |   0%
    |       spp_tx |          0 |   0%
    |         ipc0 |      17763 |   0%
    | btController |    1073255 |  10%
    |    esp_timer |       1202 |   0%
    | Wav file writer | Created
    |         hciT | Created
    |     BTU_TASK | Created
    |     BTC_TASK | Created
    |     I2S read | Created
    -----------------------------------

@LIFsCode I'm working on this at the moment, when I try starting recording I get the response:
E (294486) BluetoothServer: Invalid Command setGPS^UNKNOWN, Received setGPS^UNKNOWN

Not sure whats causing it, will dig in a bit more..

Are you using the ELOC app?if yes this could be part of deprecated code. The "setGPS^" is deprecated and has been removed from the code. The app must not send it anymore
Actually I don't know if there is a new version of the app available @EDsteve ?
Are we maybe mixing up multiple problems?

Android App
BT Command interface
effects of the EI merge

Best just use a pure BT serial terminal.

@LIFsCode @EDsteve I'm using 4.67 AppBeta of the ELOC app, I don't see any other version of the app available.

The 4.67 still uses old commands only compatible with the ELOC 2.7 hardware. So that won't work. I should write that in the description actually.
The new app still needs the new commands to be implemented (within the next few days). That's why i am using BT serial tools for now to send commands for testing. As soon as the app is ready i will send you the link.

@EDsteve @OOHehir ok so if I understand it correctly there never has been a problem with the commands except for the start/stop of the recording, it was all about the command termination in the windows terminal.

The only thing in the code I'm unsure of is this line:
status += "{"recordingState" : ";
status += String(rec_req == REC_REQ_START);  <------------------------------------
status += "}";
ESP_LOGI(TAG, "%s Recording...", newMode);
Its commented out at the moment

@OOHehir this should best be set to the same as in the getStatus response field.
We have defined a format for enums in the json payload which is a tuple of the

interger value (must not be changed without change of CMD Interface Version) this uniquely identifies the enum state
string representation for better readability in Log Files

Sorry I have not added this to the command interface wiki yet.
I think in your last commit the tuple for the enum state is only a string. Basically the response of setRecordMode should be the same as in getStatus the field--> {"session" : {"recordingState" : }}

@LIFsCode Thanks, I think I understand where your coming from. Unfortunately I had used a strongly typed enum for the wav writer mode so it doesn't lend itself to the template conversion. I added a method to the wav writer class to report mode in string & int form & used that in the JSON. I'm not sure what you think of that approach, if you'd rather revert no problem.
From what I can see the wav writer operation is set at boot up, from Bluetooth & GPIO0. I understand the current code uses the FreeRTOS queue. To access the enum modes of the wav writer I had to include the header (in BluetoothServer.hpp)  for wav writer & the (globally scoped) object (to enable toggling the mode). At that point it seemed more efficient to set the mode directly rather than the queue but not sure if you want to proceed in that direction? If you wish to proceed in a solely based queue manner I can modifythe code. It is similar for the AI setting (discussed below).
@LIFsCode @EDsteve I've added code to report & set the AI operation. I've tested briefly & it looks to be working as expected. The mode can be changed, similar to the wav writing, as:
setAIMode (toggles)
setAIMode on
setAIMode off


Update usdc token address to goerli address

I noticed when going through the docs that the USDC address was still pointing to the rinkeby version. This will update it everywhere found in the docs to the goerli version

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