Preset Wind Missing Functionality transition-[...]

example
transition-[color_background-color_border-color]
should generate
.transition-\[color_background-color_border-color\] {
    transition-property: color background-color border-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

use transition-color,background-color,border-color

@chris-zhu I think this issue is to address the gap compared to tailwindcss that you can define arbitrary values for the transition property like transition-[width]m transition-[height] etc..
transition-[width] should compile to
.transition-\[width\] {
  transition-property: width;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

or something similar. I think it makes sense to have a general rule instead of listing all possibilities.

For example I'm try to write transition-grid-template-rows, and it's not work, because the properties handler not cover grid-template-rows. So I agree with @itpropro to have a general rule, just like arbitrary-values for tailwindcss.
https://github.com/unocss/unocss/blob/089622a811ae8bdd19f7d38bda8470f37d8fa82d/packages/preset-mini/src/_utils/handlers/handlers.ts#L6-L24


enhance asio detection error message

for now asio detection made in cmake file generate an error when not detected. This error is maybe not really user friendly, would deserve to have a nice error message displayed.

I am working on this.
Is there any specific text that you would like the error message to display?
Cheers

Hello,
This issue was opened before there was any kind of custom error message regarding asio not being found. It has since been improved but we forgot to close this issue.
I'll close the issue and the associated PR; sorry about that. However, thank you for considering contributing to the project (may I ask how you came by it ?). If you would like improving the Parameter Framework in a similar way as fixing this issue, perhaps you could give us your opinion on the current build experience and feel free to raise any issue you come across.
Thanks again and sorry for not closing this earlier. I'll do some cleaning asap.


Update Toolkit to be compatible with latest api-compiler

There are a few changes:

SimpleDiagCollector is not used, and a similar class is already
implemented in api-compiler. It is removed.
Model no longer implements DiagCollector but contains one.
Code that converts Models to DiagCollectors are changed.
YamlReader no longer has 'read' method.
Code that uses this method is changed, but retains the old behavior.
Visibility aspect is removed from api-compiler.
It is also removed from toolkit.

Looks like the change to api-compiler hasn't been uploaded yet :cry:

LGTM


Upgrade to new ReactPHP components

This component uses deprecated SocketClient which has been replaced by Socket. Also, the HttpClient will be merged into the Http component. Both changes will involve a BC break to our (advanced) API, so I'd like to wait for the ReactPHP component to become more stable for updating this library.

Are you planning to keep the external API the same?

There are currently no plans to change anything about the API except for what needs to be changed, specifically this will mostly involve some minor changes to the namespaces of referenced classes.

Cool so targeting ^2.0 || ^1.0 should be fully compatible :tada:

I would love to see some interfaces so I can create for example throttling proxy.

@clue, I am not sure about lower bound of package version. While at least, Socket v0.7 should be used due to SocketClient, I've set it to 0.8 as I only tested it agains latest components + I am not sure about lower bounds for other packages

Small progress update: I've just release the intermediary v1.2.0 which now supports react/http v0.5 without causing a BC break :tada: While this doesn't fix this issue completely, this should relax this situation significantly.
I'll release a v1.3.0 shortly which requires this minimum version so we can update the Stream component to v0.6 at least.
The major bump to newest components has to be postponed to the v2.0.0 release because we currently expose a legacy React\SocketClient\ConnectorInterface on our API, which means we have a direct dependency on the deprecated react/socket-client, which does only support react/stream < v0.7.

I'll release a v1.3.0 shortly which requires this minimum version so we can update the Stream component to v0.6 at least.

The v1.3.0 release is now out :shipit:

I've just released another intermediary v1.4.0 release in order to ease passing an instance of ConnectorInterface directly to the Browser so that the legacy Sender is now marked as deprecated. This will allow us to drop the Sender and its outdated dependencies in a future version so that we can support all the latest versions again :shipit:


Fatal Error on Chrome 74

Getting the message:
Fatal error: Could not extract a stage height from the CSS. Traced height: 0px.
When using Chrome 74. Reverting to Chrome 73 (or 66), and it's fine. Latest version of Edge and Opera also show it fine.
Tried the various fixes listed for setting a manual height, but the same thing happens. Tried using the latest Galleria and jQuery files, same thing happens. Checked all the images (even tried removing all bar one), and that isn't the issue.

Adding this to the Head, fix it for me.
<style type="text/css">         body, html { margin:0; padding: 0 }         .galleria{ width: 100vw; height: 100vh; margin:0 }     </style>


Size of parser stack items makes parsing slow

One item that appears on benchmarks (currently measuring about 8% on anm-benchmark for th15/title.anm) is memcpy calls in lalrparser::__parse__Anything::__reduce:

After some digging in binja and CE, it appears that the majority of memcpy samples counted were likely in these calls to __symbols.pop():

These (Location, Symbol, Location) tuples are currently 256 bytes large.  __Symbol is a union of all kinds of nonterminal:
pub enum __Symbol<'input>
     {
        Variant0(Token<'input>),
        Variant1(&'input str),
        Variant2(::std::option::Option<Token<'input>>),
        Variant3(Sp<i32>),
        Variant4(::std::option::Option<Sp<i32>>),
        Variant5(()),
        ...
        Variant13(Sp<crate::parse::AnythingValue>),  // <-- largest variant
        ...
        Variant85(ast::Var),
        Variant86(ast::VarDeclKeyword),
    }

It's 256 bytes because Stmts are currently 208 bytes.  (then there's the 8-byte discriminant in AnythingValue, the 16 bytes added by Sp<...>, another 8 bytes for __Symbol's discriminant, then 8 bytes for each Location).
We could probably speed things up a little bit by making Stmt smaller.  I'm not sure how much we can do effectively short term aside from boxing some things, which has it's own cost; in the long term, arenas may help.  Also, It would be fantabulous if we could figure out how to fix Spans to only be 8 bytes instead of an awkwardly-padded 12.
More importantly, in the meanwhile.... we want to be careful about letting Stmt grow any bigger.

Current status:

Sp<Stmt> is currently 320 bytes
If I use black magic and sorcery to make Span and Option<Span> both 8 bytes, the size reduces to 256.

This "black magic and sorcery" actually makes it quite difficult to reason about things.  I might consider sticking some boxes into Stmt instead...

Boxing Stmt did not help.
I made all Stmt-producing productions return Box<ast::Stmt> or Box<ast::StmtKind> instead and dereferenced each when inserted into an AST node.  I copied the symbol enum from generated.rs and verified that the size was now reduced to 192 bytes.
Unfortunately the runtime performance did not change from what it is currently.
Doing this required me to write this travesty in place of what used to be <stmts:(Sp<Stmt>)*>:
#[inline]
SpStmts0: Vec<Sp<ast::Stmt>> = {
    => vec![],
    SpStmts1,
};

SpStmts1: Vec<Sp<ast::Stmt>> = {
    <stmt:Sp<BoxStmt>> => vec![sp!(stmt.span => *stmt.value)],
    <stmts:SpStmts1> <stmt:Sp<BoxStmt>> => util::push(stmts, sp!(stmt.span => *stmt.value)),
};

An aside:  It looks like inline rules in the grammar still generate states that are placed on the stack.
I discovered this when I tried to clean up the above code using the following so that I could write <stmts:(Sp<Unbox<BoxStmt>>)*>:
// NOTE:  pub type UnboxType<T> = <T as core::ops::Deref>::Target;
#[inline]
Unbox<Rule>: util::UnboxType<Rule> = <r:Rule> => *r;

Unfortunately despite the #[inline] this still produces a variant:
Variant102(util::UnboxType<Box<ast::Stmt>>),

From with the boxed Stmts.

Doesn't look like a significant contribution from allocation...

I tried replacing the boxes with a qcell-based Pool abstraction with a tiny fixed-size pool of two reusable Option<ast::Stmt> and Option<ast::StmtKind>s.  The statements in the symbol enum effectively became &'a LCell<Option<T>>; pointer-sized values.
This still had no effect.
This seems paradoxical.  It would leads me to believe that it is perhaps not the size of the Symbol enum that is the problem, but rather the size of the ast structs in general (including Stmt).  But, were that the case, then the loop desugaring/decompilation passes should show up much more on here...
I don't know.


[FIX] Return list instead of only first term for subject-level assessment

Closes #132
Checklist

[ ] PR has an interpretable title with a prefix ([ENH], [BUG], [DOC], [INFRA], [MAINT])
[ ] PR links to Github issue with mention Closes #XXXX
[ ] Tests pass
[ ] Code is properly formatted

For new features:

[ ] Tests have been added

For bug fixes:

[ ] There is at least one test that would fail under the original bug conditions.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
158

Relevant Lines:
158

💛  - Coveralls


Add react-router topic

Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md.
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Curating a new topic or collection

Curating a new topic or collection

[x] I've formatted my changes as a new folder directory, named for the topic or collection as it appears in the URL on GitHub (e.g. https://github.com/topics/[NAME] or https://github.com/collections/[NAME])
[x] My folder contains a *.png image (if applicable) and index.md
[x] All required fields in my index.md conform to the Style Guide and API docs: https://github.com/github/explore/tree/master/docs

react-router is a popular react tool that has 11509 repositories with that topic, many of which are highly active.

@sidx8 The logo should have the dimensions of 288x288 pixels.

@Luois45 I have updated the image can you review this

@sidx8 I can't review it because I'm not the code owner but it does look fine now. 👍


support show pump/drainer status && change pump/drainer's status

What problem does this PR solve?
support show pump/drainer status && change pump/drainer's status
What is changed and how it works?
git cherry pick
https://github.com/pingcap/parser/pull/217
https://github.com/pingcap/parser/pull/243
Check List
Tests

Unit test

LGTM


Prep for first stable release

TODO

[x] Improve composer

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 86.44%. Comparing base (262d731) to head (398ebce).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##               main      #29   +/-   ##
=========================================
  Coverage     86.44%   86.44%
  Complexity       81       81
=========================================
  Files             2        2
  Lines           177      177
=========================================
  Hits            153      153
  Misses           24       24

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


Clean up TagHelperDescriptor APIs.

@ajaybhargavb and I are getting PRs out now for the descriptor changes so they can be looked in consumable pieces over as we finish the test reaction work.

Removed all design time descriptors and put their API surface into their corresponding descriptor. Part of removing the design time API surface was removing the tracking of <Remarks>, it wasn't used so there's on need to track it until we need it.
Removed the Type requirement from TagHelperDescriptor. With this separation we'll be able to have abstract TagHelpers that aren't based on a class implementation.
Removed Prefix from the TagHelperDescriptor API surface. It was a legacy requirement based on how the Razor parser was put together. We can work around this now.
Stripped correlation information from the immediate TagHelperDescriptor API surface. Instead this information is now tracked in TagMatchingRules. This change means that you will not have multiple TagHelperDescriptors per TagHelper; instead it's all tracked in a single descriptor. A side effect of this change was the transformation of IsIndexer => 3 new properties.
Renamed many descriptor types and property names.
Added builder APIs to construct TagHelpers since they're inherently immutable in their API surface.
Added ITagHelperDescriptorBuilder to represent TagHelpers that are built from an ITagHelper implementing class. It re-introduces the TypeName association of a TagHelper.
Added ITagHelperBoundAttributeDescriptorBuilder to represent that an attribute was associated with a property.
Added validation methods to the descriptor builders to enable consumers to validate the current state of the builder and add diagnostics as necessary.
Moved descriptors away from RazorError.
Updated the various comparers to understand the descriptors new API.

#973

🆙 📅

🆙 📅


Build AppVeyor without test

Successful build will cache .stack-work.
DO NOT MERGE.

Looks like not needed.


Improve logging

Currently the binder/log.py file is not used, and so all logging is done through print statements to stdout. Ideally, we should use the appropriate helper functions in binder/log.py to do proper logging (respecting log levels, configurable log files, etc.).
Additionally, the Builder class (in web/builder.py) does very coarse stdout/stderr redirection for the child processes that are launched to do the builds. The output of grandchild processes, which is where most of the meat is, is not recorded in the log files.
This comment also included front-end changes that will make it easier to debug builds that are failing. During a build, the full stdout/stderr should be displayed in a Travis-style output window on the build page, and the failure page can perhaps display a more succinct error message.

Added with the log_reader and log_writer BinderD modules in #19

I'm going to keep this issue opened until the changes are deployed in production

Changes are currently deployed in production.


variable YAML files cleanup

The task is to cleanup existing variable files and the way how they are used. The driving principles are:

there are as few files as possible (ideally, though not really realistically, one per device)
variables are organized into trees with small "root system"
no default values or "default" YAMLs.

See also #4.


Publish command

Codecov Report

Merging #32 (521dd5e) into master (6f94424) will decrease coverage by 1.29%.
The diff coverage is 51.21%.

@@             Coverage Diff              @@
##             master      #32      +/-   ##
============================================
- Coverage     85.80%   84.51%   -1.30%
- Complexity      346      349       +3
============================================
  Files            43       43
  Lines          1064     1104      +40
  Branches         66       72       +6
============================================
+ Hits            913      933      +20
- Misses          122      138      +16
- Partials         29       33       +4

Impacted Files
Coverage Δ

...java/io/github/md2conf/toolset/PublishCommand.java
51.21% <51.21%> (-48.79%)
:arrow_down:

Continue to review full report at Codecov.

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


example from README does not work as-is - syntax error

(fosdem-volunteers)emanuil@midori:~/software/secure-smtpd$ python --version
Python 2.7.6

(fosdem-volunteers)emanuil@midori:~/software/secure-smtpd$ pip freeze | grep smtpd
secure-smtpd==3.0.0

(fosdem-volunteers)emanuil@midori:~/software/secure-smtpd$ cat run.py
from secure_smtpd import SMTPServer, FakeCredentialValidator
SMTPServer(
self,
('<IP_ADDRESS>', 465),
None,
require_authentication=True,
ssl=True,
certfile='examples/server.crt',
keyfile='examples/server.key',
credential_validator=FakeCredentialValidator(),
)
asyncore.loop()

(fosdem-volunteers)emanuil@midori:~/software/secure-smtpd$ python run.py
Traceback (most recent call last):
  File "run.py", line 3, in <module>
    self,
NameError: name 'self' is not defined

Ah, googled around and found your blog post: http://bencoe.tumblr.com/post/12753680108/writing-a-secure-smtp-server-in-python
There is actually a problem with the code in there too - seems like the debug keyword argument was removed from SMTPServer's constructor at some point, so that also gives a syntax error. Removing the debug=true arg from your blog post code seems to run it though (will test if working now). Might be worth including the snippet below in the README and therefore in PyPI - I'll make a PR after confirming it actually works as well.
The final code I used to run it was
import asyncore
from secure_smtpd import SMTPServer, FakeCredentialValidator

class SSLSMTPServer(SMTPServer):

    def __init__(self):
        pass

    def process_message(self, peer, mailfrom, rcpttos, message_data):
        print message_data

    def start(self):
        SMTPServer.__init__(
            self,
            ('<IP_ADDRESS>', 25465),  # note if you want to run it on the default port 465 for secure SSL SMTP you will need sudo rights as all ports below 1024 are privileged
            None,
            require_authentication=True,
            ssl=True,
            certfile='examples/server.crt',
            keyfile='examples/server.key',
            credential_validator=FakeCredentialValidator(),
        )
        asyncore.loop()

server = SSLSMTPServer()
server.start()

When an app tries to initiate a connection to that port, I just get
_accept_subprocess(): smtp connection accepted within subprocess.
and it dies immediately, no leftover python processes running secure-smtpd. Tried setting maximum_execution_time to 600 as well, but still did it (besides, I tried within 30 seconds of running it anyway). I'm looking to just dump the emails to stdout - basically I'd like to have a local secure SMTP running as the app expects one to be configured or it errors out.
Anyway, if there is something else I should modify in the run.py example to get better results, let me know - otherwise I'll wait a bit and submit a PR to update the README so we have a runnable copy/pastable example :).

@emanuil-tolev I would love your update to the README. I unfortunately am not writing too much Python anymore, and I've been relying on the community to keep my old Python projects is a healthy state -- greatly appreciate your debugging.

Probably a different issue, but all I see is:
  File "/Users/foo/bar/src/secure-smtpd/secure_smtpd/smtp_channel.py", line 9, in <module>
    from smtpd import NEWLINE, EMPTYSTRING
ImportError: cannot import name 'EMPTYSTRING'


[WFLY-19864] Update HostExcludesTestCase configuration to work with WF34

I had to add special handling for preview-only extensions like jakarta-data continuing as such beyond their initial release.
https://issues.redhat.com/browse/WFLY-19864

/retest

Thanks @yersan and @jamezp


Create CONTRIBUTING.md

Begin standardizing our contribution process. We should consider whether we want to automate formatting with black and isort using github actions.

@youngdjn If you want to add a CLA, feel free.

Looks great! I decided we're fine without an explicit CLA in this file. I'd support eventually automating black and isort (at least checking for compliance if not actively reformatting) via github.


docs/guides/grub-migration: add grub migration guide

based on https://github.com/zbm-dev/zfsbootmenu/discussions/600#discussioncomment-8671690

mount_zfs bpool/ROOT/debian
I believe this should be mount_zfs bpool/BOOT/debian
Step numbering is off (or Step 3 is missing.)
Step 6
zfs set canmount=noauto bpool/ROOT/debian

should be
zfs set canmount=noauto rpool/ROOT/debian

mount_zfs bpool/ROOT/debian
I believe this should be mount_zfs bpool/BOOT/debian

"Assuming your boot filesystem is bpool/ROOT/debian"

Step 6
zfs set canmount=noauto bpool/ROOT/debian

should be
zfs set canmount=noauto rpool/ROOT/debian

no, it is disabling mounting of the bpool's /boot

Oof - I got the "fix" backwards. The step is
zfs set canmount=noauto bpool/ROOT/debian

but that dataset does not exist.  I believe it should be
zfs set canmount=noauto bpool/BOOT/debian

There is a bpool/BOOTdataset andrpool/Rootbut nobool/ROOT`

this is just a guide, you are expected to adapt it to fit your exact situation. we define what naming convention we assume throughout at the start so that readers can adapt it as needed.


Invalid email address

https://github.com/RockefellerArchiveCenter/dimes/blob/0c79739ea0401972827777b25103806da105e653/src/components/PageBackendError/index.js#L18
Given that you don't obscure email addresses elsewhere, and given the use of the mailto: protocol, you probably meant this to have the @ sign.

🤦♂

@ctgraham I see there are a couple of other places where this email is hardcoded:

the site footer
the "Schedule a Research Appointment" button on the My List page
the Duplication Request modal

Is it worth thinking a bit more about whether these things should be configurable, or is that getting too far down a rabbit hole?

It's a rabbit hole that I am hoping to dedicate some staff time to.  In particular, I'm thinking we should leverage some i18n / l10n modules to enable both translation and customization of the text in the UI.  I should probably open a new issue for that so we can discuss and scope and strategize.

Sounds like a plan! I'll PR and fix this mistake.


Question about UWP device requirement

[Enter feedback here]
Dear Sir
"There are four components to a UWP device app: a device, an app, a device metadata package, and a device driver. "
Is it necessary for a UWP device app to bind with a real hardware device?
I want to implement UWP app, it will modify some registry to control my effect of Audio Processing Object (APO); but APO just a software component, do not have a real device.
BR.
Franky Lin

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

ID: d7e56d63-cf9a-0166-64f2-8780e5154c8a
Version Independent ID: ebb34e44-1721-1bc6-48f9-f28615938a80
Content: Building UWP device apps - Windows drivers
Content Source: windows-driver-docs-pr/devapps/the-workflow.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @EliotSeattle
Microsoft Alias: eliotgra

@frankylin680620 - Normally the APOs are affiliated with specific hardware. This allows the APO to benefit from an understanding of the capabilities and limitations of the hardware that it is running on. This topic describes APOs:
https://docs.microsoft.com/en-us/windows-hardware/drivers/audio/implementing-audio-processing-objects
When you develop your own audio driver and wrap or replace the system-supplied APOs, you must provide a driver package for installing the driver and APOs. For Windows 10, please see Universal Windows Drivers for Audio. Your audio related driver packages should follow the policies and packaging model detailed there.
For additional support on your development efforts, the new Microsoft Windows audio hardware forum would be the recommended resource. https://docs.microsoft.com/answers/products/windows
Good luck in finding a way to accomplish what you would like to with the Windows audio driver stack.


💬 [Question] How is a Search reflected in the starmap?

💬 Question

How is a Search reflected in the starmap?

Does it highlight elements?
Does it hide elements?
...

Closing in favor of https://github.com/dreammall-earth/dreammall.earth/issues/2223
it was discussed with @Hardy-Hart-am-Start .
Technical we can not only highlight elements since not all elements might be shown matching the search. Hence we need to render a complete new search result on the starmap. I think its wise to explore this and then make more informed decisions.


NLog.Config file ignored

I created an NLog.config file for an app, but it is completely ignored. The only way to configure spiffy appears to be the Initialize(Action<NLogConfigurationApi>) method.

This is by design as I prefer fluent configuration in code.
I'd be open to a NLogConfigurationApi.UseConfigFile(PATH_TO_CONFIG_FILE) semantic.


One test fails

Describe the bug
Test project /usr/ports/graphics/bgfx/work/.build
    Start 1: bx.test
1/2 Test #1: bx.test ..........................***Failed   43.57 sec
/usr/ports/graphics/bgfx/work/bgfx.cmake-1.121.8534-449/bx/tests/run_test.cpp(19): Compiler: Clang 15.0.7, CPU: x86, Architecture: 64-bit, OS: BSD, CRT: Clang C Library, Date: Jul  6 2023, Time: 23:22:58, C++: C++14
Randomness seeded to: 544512413
/usr/ports/graphics/bgfx/work/bgfx.cmake-1.121.8534-449/bx/tests/filepath_test.cpp(142): /usr/ports/graphics/bgfx/work/.build/cmake/bx
/usr/ports/graphics/bgfx/work/bgfx.cmake-1.121.8534-449/bx/tests/filepath_test.cpp(148): .
/usr/ports/graphics/bgfx/work/bgfx.cmake-1.121.8534-449/bx/tests/filepath_test.cpp(154): /usr/ports/graphics/bgfx/work
/usr/ports/graphics/bgfx/work/bgfx.cmake-1.121.8534-449/bx/tests/filepath_test.cpp(160): /tmp

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
bx_test is a Catch2 v3.1.0 host application.
Run with -? for options

-------------------------------------------------------------------------------
getProcessMemoryUsed
-------------------------------------------------------------------------------
/usr/ports/graphics/bgfx/work/bgfx.cmake-1.121.8534-449/bx/tests/os_test.cpp:11
...............................................................................

/usr/ports/graphics/bgfx/work/bgfx.cmake-1.121.8534-449/bx/tests/os_test.cpp:13: FAILED:
  REQUIRE( 0 != bx::getProcessMemoryUsed() )
with expansion:
  0 != 0

900.048000
===============================================================================
test cases:     207 |     206 passed | 1 failed
assertions: 8664810 | 8664809 passed | 1 failed

    Start 2: bx.bench
2/2 Test #2: bx.bench .........................   Passed    5.85 sec

50% tests passed, 1 tests failed out of 2

Total Test time (real) =  49.43 sec

The following tests FAILED:
	  1 - bx.test (Failed)
Errors while running CTest
FAILED: CMakeFiles/test.util

To Reproduce
Steps to reproduce the behavior:

Build
Test

Expected behavior
Tests should pass.
Screenshots
n/a
Additional context
Version: 1.121.8534-449
clang-14
FreeBSD 13.2

There is no support for any BSD.

Made it explicit:
https://github.com/bkaradzic/bx/commit/ae17a19ca2198ecd028c09568037dcd59fb93ae7

Well made software should work on all platforms.

I personally do not have interest in working on *BSD platform, nor there is community interest of submitting fixes for it.


Enable migration of apps to cluster-cloud-director

towards https://github.com/giantswarm/giantswarm/issues/31701
This PR:

adds a flag which allows migration of apps to the cluster chart

Checklist

[x] Update changelog in CHANGELOG.md, check all commits are in it before release (renovate included).
[x] Make sure values.yaml and values.schema.json are valid.

I don't see much point in running the E2E tests for this PR as the changes aren't testable by CI - they require manual steps

lgtm


Add a search bar to search the characters.

With pagination3 used, this is good but. The search of characters is not yet implemented. And search of character is a feature that I want you to work on.

@PGautam27 Can I work on this?

@Valliammai-SM you are assigned


Update json5 to close security vulnerability

DEVOPS PULL REQUEST
Related Issue

Prototype Pollution in JSON5 via Parse Method
CVE-2022-46175

Changes Proposed

Update json5 to a version that is not vulnerable

Additional Info

This is prep for turning on Dependabot security PRs.

Checklist for Primary Reviewer
Infrastructure

[x] Consult the results of the terraform-plan job inside the "Terraform Checks" workflow run for this PR. Confirm that there are no unexpected changes!

Security

[x] Changes with security implications have been approved by a security engineer (changes to  authentication, encryption, handling of PII, etc.)
[ ] Any dependencies introduced have been vetted and discussed

Cloud

[ ] Oncall has been notified if this change is going in after-hours
[ ] If there are changes that cannot be tested locally, this has been deployed to our Azure test, dev, or pentest environment for verification

Documentation

[ ] Any changes to the startup configuration have been documented in the README

This has been deployed to dev6.


Cleanup geometric generator example by removing raw html

Removes the raw html in geometric graph generator example and replaces it with markdown. The two big areas were:

Headers
math expressions, both inline and equations

Most the mathematical expressions were originally written with a combination of unicode characters and <sub>/<sup> tags. LaTeX math is preferable both for readability and font support - all output formats (pdf, html, and .ipynb) support LaTeX math either natively or via extensions like mathjax.

For comparison's sake, I'm hosting the current version as well:

Original version w/ raw html: https://rossbar.github.io/nx-notebooks/content/generators/geometric.html
This PR, html replaced with markdown + tex math: https://10-40210422-gh.circle-artifacts.com/0/site/_build/html/content/generators/geometric.html

Notice the improvement in the math rendering and the additional right sidebar, which is populated by the contents of the page (this doesn't work with html headings).


Include compose resources in SPM

How can I achive to include Jetbrains compose resources to be part of the generated SPM in a KMP project with composeResources/files folder, just like described here: Raw files.
When using same project as a pod, resources are passed as expected.
I would expect package to have Resources folder, and Package.swift to also detail as such.
Thanks.
multiplatform-swiftpackage version 2.2.2
kotlin 1.9.23
Compose 1.6.1

I've never played around with exporting resource files in a swift package. Do you know of any example swift projects that do that for reference? But fyi, I don't really have time to try and implement that right now, but prs are welcome.

@checoalejandro Do you have some news about Resources?

@checoalejandro Do you have some news about Resources?

Yes, I used moko-resources as it's based and those resources were included as expected in the SPM.
I also implemented an actual/expect to retrieve the content of the files based in file name, different from what moko resources does by using an object class. That last is more of a tip.

@checoalejandro can you provide a sample project? this is a very important thing for us. I want to use compose multiplatform resources or another library. using only xcframework. without using cocoapods. The project needs fonts and pictures


How to retrieve native spacy functionality for type 'Entity'

I do not know a great deal about spacy, but it appears that you are rewriting the Entity object for spacy here, which may cause issues with trying to use spacy functions after the dictionary match.
I have provided an example below of the trouble I'm having.
I was attempting to use the spacy 'GoldParse' to get performance measures after including a dictionary to improve my trained NER model.
Any idea how to fix the fact that spacy now thinks there is not an entity?
      9         if annot is None:
     10             annot = []
---> 11         doc = nlp_model(input_)
     12         gold = GoldParse(doc, entities = annot)
     13         try:

~/.local/lib/python3.6/site-packages/spacy/language.py in __call__(self, text, disable)
    350             if not hasattr(proc, '__call__'):
    351                 raise ValueError(Errors.E003.format(component=type(proc), name=name))
--> 352             doc = proc(doc)
    353             if doc is None:
    354                 raise ValueError(Errors.E005.format(name=name))

~/.local/lib/python3.6/site-packages/spacy_lookup/__init__.py in __call__(self, doc)
     38         for _, start, end in matches:
     39             entity = doc.char_span(start, end, label=self.label)
---> 40             for token in entity:
     41                 token._.set(self._is_entity, True)
     42             spans.append(entity)

TypeError: 'NoneType' object is not iterable

Doc.char_span() returns None if the span is invalid. This would happen, for example, if either index didn't coincide with the start or end of a token. That's almost certainly what's happening here. spacy_lookup merges multiple tokens in a successful lookup, and an attempt to slice into the document where one of the component tokens previously started or ended fails.

This was fixed with https://github.com/mpuig/spacy-lookup/pull/1 but it wasn't updated to pypi. Now it's done and it should work.


How to use rotate3d animation?

I tried:
anime({
    transform: [
          'rotate3d(1,0,1,90deg)',
          'rotate3d(1,0,1,0deg)',
        ],
})
//and
anime({
    rotate3d: [
          '1,0,1,90deg',
          '1,0,1,0deg',
        ],
})

But looks like it did not work, any other way to use rotate3d?

Not sure if you can use rotate3d exactly (as in, defining the vector that you're rotating around), but you might be able to get similar functionality out of this:
var elt = document.getElementById("item");
elt.style.transformOrigin = "50% 50% -150px";

anime({
  targets: item,
  rotateX: 10,
  rotateY: 20,
  rotateZ: 30
})

Minorly more performant I think since you're not querying for DOM elements twice:
anime({
  targets: item,
  rotateX: 10,
  rotateY: 20,
  rotateZ: 30,
  before: function(e) {
    e.animatables[0].target.style.transformOrigin = "50% 50% -150px";
  }
})

I think if you wanted to do some pre-rotations before the animation you'd need to do something like this:
anime({
  targets: item,
  rotateX: 10,
  rotateY: [20, 20], // to avoid being overwritten
  rotateZ: [30, 30],
  before: function(e) {
    e.animatables[0].target.style.transformOrigin = "50% 50% -150px";
    e.animatables[0].target.style.transform = "rotateY(20) rotateZ(30)";
  }
})

Not completely sure on that last one; if someone knows something less hacky I'd love to hear it.
Does that solve your problem?

@mdkq I've fallback to use rotateX,,Y,X separately, at least close to the effect I want, but maybe it's even greater to support rotate3d natively by the library 😆

Could be! Though, from what I've noticed when @juliangarnier doesn't include functionality it's usually because it would add a lot of weight to the library.


[FEATURE] Add oneDNN support for npx.reshape and np.reshape

Description
Function reshape() from modules mxnet.numpy and mxnet.numpy_extension will now be executed by oneDNN primitives as it is done in module mxnet.ndarray.
Checklist
Essentials

[x] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage

Changes

[x] Add oneDNN execution attributes to NNVM_REGISTER_OP(_npx_reshape)

Comments
Using two NNVM_REGISTER_OP() functions (one for mxnet.ndarray, second for mxnet.numpy/mxnet.numpy_extension) instead of one with .add_alias() because special values in npx.reshape's and nd.reshape's new_shape/target_shape parameters have different functionality. For example:
in nd.reshape():

"-3" use the product of two consecutive dimensions of the input shape as the output dimension.

in npx.reshape():

"-3" will skip current dimension if and only if the current dim size is one.

Performance comparison:

~50% peformance speedup for mx.np.reshape() and mx.npx.reshape().
Slight loss of performance for mx.nd.reshape() is caused by adding 0-shape checks to oneDNN path (necessary for mx.np and mx.npx).


Profile layout and its components (issue #124)

Created profile layout that has in itself:

my-profile.component/foreign-profile.component: responsible for displaying user data.
interaction-list.component: responsible for displaying subscribers/subscriptions/friends
games-list.component: responsible for displaying games.

Moved to new client users-interection.service that responsible for getting user subscribers/subscriptions etc.

Moved to new client user.service responsible for taking user nickname.

Created session.service for taking session user nickname for navigating to my page and for resolving if user opened his/her page.

Moved user model.

More detailed info:
#124 Profile layout, profile component and related components

Reallocating pull-request into develop branch


User env vars to define proxy

Is there a way in nuxt.config.js to set the desired proxy address based upon an environment variable?
npm run dev should set proxy:
'/json': 'http://localhost:5000/'
npm run beta should set proxy:
'/json': 'http://beta.application.com/'

This question is available on Nuxt community (#c7613)

Hi @stefandevo
See this issue https://github.com/nuxt/nuxt.js/issues/2335

Hi, not exactly. I need the proxy plugin because my vue client is running on localhost :3000 but my server is running (not Express, but .NET CORE) on :5000. So with the proxy this works great because all /json calls are proxied to :5000.
However, when I want to test the client locally against my beta server, I switch the /json proxy to something on the internet (https://mybeta.application.com).
It would be great if I can set this by settings some env vars, but the Nuxt Proxy plugin does not resolve the environment variables.

Ok thanks; you pointed my in the right direction!
I added this on top of the nuxt.config.js file:
const proxyConfig = () => {
  if (process.env.DEPLOY_ENV === 'local') {
    return {
      '/json': 'http://localhost:5000/'
    }
  } else {
    return {
      '/json': 'https://beta.myapplication.com/'
    }
  }
}

and in the settings itself:
proxy: proxyConfig(),

Works! Thanks

Glad to help!
@stefandevo can you update the status of the issue as resolved?


test: Fix the search for VIPs in cilium service list

In several different service tests, we check that cilium is handling or not handling a service VIP. To that end, we search for the given VIP in the output of cilium service list. That output looks something like:
ID   Frontend              Service Type   Backend
1    <IP_ADDRESS>:443       ClusterIP      1 => <IP_ADDRESS>:443
2    <IP_ADDRESS>:443     ClusterIP      1 => <IP_ADDRESS>:443
3    <IP_ADDRESS>:53       ClusterIP      1 => <IP_ADDRESS>:53
                                          2 => <IP_ADDRESS>:53
4    <IP_ADDRESS>:80      ClusterIP      1 => <IP_ADDRESS>:8080

Searching for the VIP directly in the output may return false positives however. For instance, searching for <IP_ADDRESS> in the above would match the last line when the IP doesn't actually match. Instead we should search for  VIP:, that is, with anchors at the beginning and end of the VIP.
Fixes: https://github.com/cilium/cilium/issues/13752

test-me-please

test-1.19-5.4

k8s-1.21-kernel-4.9 is failing with known flake https://github.com/cilium/cilium/issues/15097. Other tests are passing.


Update sandbox DSI configuration

Context
We want to configure the Sandbox environment to work as it would in production. APIs will all read in real-life data from production APIs.
The difference for Sandbox is that it should not submit real information to external partners, such as the ESFA.
Changes proposed in this pull request

Update DSI configuration in terraform/application/config/sandbox_app_env.yml to point to production DSI.
Add "sandbox" domains to Production DSI configuration.
Sandbox DSI secret has been added to the key vault.

Guidance to review
Considerations

External APIs should be read-only.
Writing to external partners, such as ESFA, should be configured to not go to actual external partners.

Writing to external partners, such as ESFA, should be configured to not go to actual external partners.

Is this already the case? Or does that need adding to this PR?
I'm also wondering about integrations like GOV.UK Notify. Will that send real-world emails to users, or are they caught?

Sorry, didn't realise you responded to this.
It's the case for ESFA, where we don't want actual payments to go through. I'd assume things like, updating mentor TRNs and others, we wouldn't want to really be updated either.
That being said, I think emails are still important to actually be sent. This is because, we want the ability to invite users onto the sandbox platform.

@ollietreend Right now, the Sandbox environment isn't being utilised at all. I think it's best to bring it into some kind of usage or drop it entirely.
Sandbox is intended to be an end-user playground, similar to Staging for internal DfE. The key difference is that end-users expect data similar to Production. They want to see their own school and associated providers.
That being said, I'll hand over the torch for this one to your team.


VSync should be forced from the app side, not driver

If supported by backend

Done with latest backend update


unable to alow site root only with enable-default-deny-strict enabled

Unable to alow site root only with enable-default-deny-strict enabled
Summary
I need to protect only site root (http GET / request), and deny any other requests.
Configuration used:
.....
enable-default-deny: false
enable-default-deny-strict: true

resources:
- uri: /
  methods:
  - GET
  roles:
   - 'some-client:my-super-role'

Expected Results
gatekeeper deny unauthorized requests GET / (allow authorized) and deny any other request to any locations (authorized or not).
Actual Results
$./gatekeeper --config myconfig.yaml

[error] you need a wildcard on the url resource to cover all request i.e. --resources=uri=/*

Additional Information
I think that this check is not needed. I have no ideas why we need it.

it is a little bit weird that you want to allow access only to "/", anyway i need to check what was historical reason to add this condition

it is a little bit weird that you want to allow access only to "/", anyway i need to check what was historical reason to add this condition

It was just a minimal example.
Other example that also not works:
enable-default-deny: false
enable-default-deny-strict: true

resources:
- uri: /
  methods:
  - GET
  roles:
   - 'some-client:my-super-role'

- uri: /public
  methods:
  - GET
  white-listed: true

@nikolaevn hmm as i checked it was introduced as it seems because people thought that "/" will protect all URIs, which was not the case, need to think about this

@p53 what about disable this check for deny-strict mode only?

@dafanasiev that wouldn't be consistent, maybe disable it only for site root, if it is only "/", but for other e.g. "/test/" it still would check

@nikolaevn @dafanasiev i allowed / only, you can try with 2.2.0-rc1 docker image

@p53 thanks for this fix! I just ran into this exact same problem and 2.2.0-rc1 fixes it nicely.


std/grpc/httptranscoding: introduce package which represents the http/grpc transcoding.

This is a step towards replacing the builtin gateway support within Go servers.
Depending on std/grpc/httptranscoding disables that builtin support. Although
this new package still does not yet configure the gateway.

LGTM


Echarts 0.4.14 - theme not assign..

Admin 5.0.10, echarts 0.4.14 - button with theme's names not apply to charts..

Cannot reproduce. Can you try 1.0.0?


Changes for 1.8.2

Reverted back the changes on the logging conditions for helo's like it
was in Version 1.8.0

Hey ksgy,
there is trouble with one release of the Bell 407 and the changes we made with the rotor brake - so we decided to revert the changes like they have been in Version 1.8.0.
There have no other changes being made.
I've tested the new script with one plane flight, where parking brake is still needed and one chopper flight to test, that the rotor brake is no longer tracked. All looking good!
It would be great, if you could merge this as Version 1.8.2, so the FSE community can use their choppers again.
Thanks,
Markus :-)

Sorry, just noticed this PR. Is it still required?


Use new segments and surah info data

The backend now has new segments and surah info data.

Incorporate the segments data from @cpfair
Loading surah info from API as opposed to HTML files
Removed the HTML files

Deployed to: http://staging.quran.com:33023

cc @cpfair

Very excited about segments 🎉 🎉 🎉

Could there be a link somewhere to the repo with the raw segment data so others can find it?

@mmahalwy we can remove src/containers/Surah/description.js file as api is returning this data as well.

Deployed to: http://staging.quran.com:33024


✅ [Feature Request]: Affine Cipher completed

✅ Fixes: #298
This pull request introduces a new AffineCipher class and corresponding unit tests to the pysnippets project. The main changes include the implementation of the AffineCipher class with encryption and decryption methods, and the addition of unit tests to verify the functionality of these methods.
New Feature: Affine Cipher Implementation

Added AffineCipher class with methods for encryption and decryption in pysnippets/Cipher_algorithms/affine_cipher.py. This class uses the Affine cipher algorithm with parameters a and b and includes methods to encrypt and decrypt messages.

Testing: Unit Tests for Affine Cipher

Created TestAffineCipher class in Tests/Cipher_algorithms/test_affine_cipher.py to test the AffineCipher class. This includes setup for the cipher object and unit tests for the encrypt and decrypt methods.

@UTSAVS26 can you review this PR and add proper labels to it

@UTSAVS26 can you review this PR and add proper labels to it


ENH: Backport libtiff fix of not displaying warning for unknown tags

Backport of https://gitlab.com/libtiff/libtiff/-/commit/382a2eb68d65edc967dacb72871b6af85723a7f6 to ITK's libtiff version.
It was easier to backport this change than update ITK's libtiff to the latest version (mainly due to complexity of symbol mangling).
PR Checklist

[X] No API changes were made (or the changes have been approved)
[X] No major design changes were made (or the changes have been approved)
[ ] Added test (or behavior not changed)
[X] Updated API documentation (or API not changed)
[X] Added license to new files (if any)
[X] Added Python wrapping to new files (if any) as described in ITK Software Guide Section 9.5
[X] Added ITK examples for all new major features (if any)

Refer to the ITK Software Guide for
further development details if necessary.

Should this go on the release branch to also hit ITK 5.4?

Matt, do you want to do the merges?

Merged to release-5.4, release, master.

https://github.com/InsightSoftwareConsortium/ITK/commit/15e47178d691f5a055ba9db87b09116ed36de649


Enhance Tradista Business objects implementation

Whatever the business object is in Tradista, the following rule seems to be always verified:
For 2 objects:

if both have positive ids they are equal if their ids are equal otherwise they are different
otherwise they are equal if they have the same business key. The business key is one or several of the object fields (ex: ISO code for a currency).

Analyse and confirm that the below statement is correct for all objects. In such case, think about a generic implementation of the equals  and hashcode methods, with usage of an abstract businessKey method that will be implemented by any Tradista object.
Such change will ease the maintenance of the application, we will have reliable equals/hashcode methods that will help in many situations.

equals method of TradistaObject is now implemented as follows:

if both objects have positive ids they are equal if their ids are equal otherwise they are different
otherwise they are equal if they have the same business key. The business key is one or several of the object fields (ex: ISO code for a currency).

hashcode method of TradistaObject is now implemented as follows: hashcode is calculated using fields of the composite key. If the object doesn't have a composite key, hashcode implementation of Object class is used.
Fields of a TradistaObject that are part of the business key must be annotated @Id.
In addition, on this ticket, TradistaObject class has been made Cloneable and clone() method of TradistaObjects have been implemented so only deep copies of mutable attributes are part of the clone. Also, getters of mutable attributes provide deep copies of them.


Options are not documented

Would you like to work on this feature?

[ ] Check this if you would like to implement a PR, we are more than happy to help you go through the process.

What problem are you trying to solve?
I want to see the full set of options that can be passed to the  component.
I was able to figure out a few things by trial and error but that's not how this is supposed to go.
For example, how can I hide the helper horizontal lines ? Or change the color for a data set? Change the gradient for area ?
Describe the solution you'd like
Documentation
Describe alternatives you've considered
Trial and error.
Documentation, Adoption, Migration Strategy
No response

That's a fair callout, maybe I can add a link to each chart type to the full list of configuration options in google charts.
Example for pie chart: https://developers.google.com/chart/interactive/docs/gallery/piechart#Configuration_Options


Dataflow runner: update Java container image

This matches the worker harness after the renaming from com.google.cloud.dataflow to org.apache.beam.
R: @lukecwik

LGTM


md2pdf: markdown tables

Hi,
Is there currently any way to have markdown tables translated to latex tables?
For me this just throws errors.
If not I'd like to file this as a feature request / enhancement.
If you can point me in the right direction, I'll happily attempt it myself.

Interesting.
I've now tried it with a much smaller document and suddenly it works.

hm, maybe you had pretty much big table, right ?
I confirmed small tables are rendered correctly.
For those tables with which :limit => true context is defined, #311 will help.

Yeah, it was a rather large table.


Missing status code: 420

The "Enhance Your Calm" status code implemented by Twitter is missing.

I think that this issue can be closed as the 420 code was implemented.


[WIP] ci: Re-enable clang-tidy

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

fwiw its not realistic to add clang-tidy as a precheck/hook/etc as i had hoped as it actually compiles stuff to run so can be expensive if there are a lot of changes
this PR does decouple it from generating compdb tho which is good - and it makes use of bazels caching/expiry to test the correct things on change
probs i should add compdb generation as a separate check - im looking at bazelifying that also

@wbpcode @jmarantz rerunning this now so we can see any current issues
im thinking as an interim measure, and so we can start testing/fixing up the clang-tidy bazel (aspect code) we can start running it on a schedule
this wont pick up problems immediately in PRs  but if we run it regularly enough it wont be hard to find where any issues are introduced etc, and to keep on top of them
i guess the first thing is to clean up any existing issues tho

Hi @phlax -- I'm curious how far (roughly) this is before landing.
Thanks!

I'm curious how far (roughly) this is before landing.

not far off (for the fixes at least) - down to the last couple of errors/warnings
last ci run is here https://dev.azure.com/cncf/envoy/_build/results?buildId=162153&view=logs&j=b7634614-24f3-5416-e791-4f3affaaed6c&t=2977bca8-7d96-53cb-e518-b36532847421&l=159
i have a pending diff with some more fixes

@jmarantz i have resolutions for ~all the current clang-tidy problems - im going to break out the fixes to a separate PR - they need to be checked fairly thoroughly
wrt the CI part of this PR - running this repeatedly in CI and the perf is not too bad if not totally optimal - so probably we can just add it back as a check that runs in prs/commits as usual
the one blocker is that i hacked the upstream that i forked to continue on error - not sure if i did that the best way but either way we need it to record and raise any errors at the end (of running the bazel aspect) - ill look further at this shortly


[BUG] Scoop updates do not appear in Software Updates list

Please confirm these before moving forward

[X] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions.
[X] This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version
3.1.1
Windows version, edition, and architecture
Windows 11 Pro / Version 23H2 / OS Build 22631.4037 / Windows Feature Experience Pack 1000.22700.1027.0 / x64
Describe your issue
Software updates do not list outdated Scoop apps. This happens even disabling then re-enabling Scoop in UniGetUI settings as well as refreshing the updates list.
Steps to reproduce the issue
No response
UniGetUI Log
[8/18/2024 10:29:38 AM]    __  __      _ ______     __  __  ______
                          / / / /___  (_) ____/__  / /_/ / / /  _/
                         / / / / __ \/ / / __/ _ \/ __/ / / // /
                        / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                        \____/_/ /_/_/\____/\___/\__/\____/___/
                            Welcome to UniGetUI Version 3.1.1
[8/18/2024 10:29:38 AM]
[8/18/2024 10:29:38 AM] Version Code:  3.11
[8/18/2024 10:29:38 AM] Encoding Code Page set to 437
[8/18/2024 10:29:39 AM] Using bundled GSudo at C:\Program Files\WingetUI\Assets\Utilities\gsudo.exe
[8/18/2024 10:29:40 AM] Loaded language locale: en
[8/18/2024 10:29:41 AM] Randomly-generated background API auth token for the current session: chl2t3g0fw6xaz04l9zvt3800k3bipakkldk0987628g3j35d3l30scljft9y76f
[8/18/2024 10:29:41 AM] Api running on http://localhost:7058
[8/18/2024 10:29:42 AM] Lang files were updated successfully from GitHub
[8/18/2024 10:29:42 AM] UniGetUI is up to date
[8/18/2024 10:29:42 AM] Downloaded new icons and screenshots successfully!
[8/18/2024 10:29:43 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Npm
                        █ Enabled: True
                        █ Found: True
                        █ Fancy exe name: npm
                        █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                        █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command npm
                        █ Version:
                        █   10.7.0
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[8/18/2024 10:29:43 AM] Starting scoop cleanup...
[8/18/2024 10:29:43 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Pip
                        █ Enabled: True
                        █ Found: True
                        █ Fancy exe name: pip
                        █ Executable path: C:\Users\MyUsername\scoop\apps\python\current\python.exe
                        █ Call arguments:  -m pip
                        █ Version:
                        █   pip 24.0 from C:\Users\MyUsername\scoop\apps\python\current\Lib\site-packages\pip (python 3.12)
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[8/18/2024 10:29:43 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Winget
                        █ Enabled: True
                        █ Found: True
                        █ Fancy exe name: winget.exe
                        █ Executable path: C:\Users\MyUsername\AppData\Local\Microsoft\WindowsApps\winget.exe
                        █ Call arguments:
                        █ Version:
                        █   System WinGet CLI Version: v1.8.1911
                        █   Microsoft.WinGet.Client PSModule version: ""
                        █   Using Native WinGet helper (COM Api)
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[8/18/2024 10:29:43 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: .NET Tool
                        █ Enabled: True
                        █ Found: True
                        █ Fancy exe name: dotnet tool
                        █ Executable path: C:\Program Files\dotnet\dotnet.exe
                        █ Call arguments: tool
                        █ Version:
                        █   8.0.400
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[8/18/2024 10:29:44 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Chocolatey
                        █ Enabled: True
                        █ Found: True
                        █ Fancy exe name: choco.exe
                        █ Executable path: C:\Users\MyUsername\AppData\Local\UniGetUI\Chocolatey\choco.exe
                        █ Call arguments:
                        █ Version:
                        █   2.2.2
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[8/18/2024 10:29:44 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Scoop
                        █ Enabled: True
                        █ Found: True
                        █ Fancy exe name: scoop
                        █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                        █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop
                        █ Version:
                        █   Current Scoop version:
                        █   859d1db5 chore(release): Bump to version 0.5.2 (#6080)
                        █
                        █   'main' bucket:
                        █   3d1c31876 stgit: Update to version 2.4.10
                        █
                        █   'extras' bucket:
                        █   f5e249038 sidekick-browser: Update to version <IP_ADDRESS>616-1131b84
                        █
                        █   'nirsoft' bucket:
                        █   b38031d updated manifests
                        █
                        █   'sysinternals' bucket:
                        █   6b2b695 sysmon: Update to version 15.15
                        █
                        █   'nonportable' bucket:
                        █   20e94245 10x-np: Update to version 1.0.202
                        █
                        █   'java' bucket:
                        █   84b7bb31 temurin11-nightly-jre: Update to version 11.0.25-3.0.ea
                        █
                        █   'games' bucket:
                        █   0456a6584 dolphin-dev: Update to version 2407-223
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[8/18/2024 10:29:45 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: PowerShell
                        █ Enabled: True
                        █ Found: True
                        █ Fancy exe name: powershell.exe
                        █ Executable path: C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe
                        █ Call arguments:  -NoProfile -Command
                        █ Version:
                        █   Name                           Value
                        █   ----                           -----
                        █   PSVersion                      5.1.22621.3958
                        █   PSEdition                      Desktop
                        █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
                        █   BuildVersion                   10.0.22621.3958
                        █   CLRVersion                     4.0.30319.42000
                        █   WSManStackVersion              3.0
                        █   PSRemotingProtocolVersion      2.3
                        █   SerializationVersion           <IP_ADDRESS>
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[8/18/2024 10:29:45 AM] Scoop cleanup finished!
[8/18/2024 10:29:51 AM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: PowerShell7
                        █ Enabled: True
                        █ Found: True
                        █ Fancy exe name: pwsh.exe
                        █ Executable path: C:\Program Files\PowerShell\7\pwsh.exe
                        █ Call arguments:  -NoProfile -Command
                        █ Version:
                        █   PowerShell 7.4.4
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[8/18/2024 10:29:52 AM] Resetting administrator rights cache for process id 50420
[8/18/2024 10:29:52 AM] Microsoft.Powershell.Client detection has been forcefully skipped as the module is not required on the current context
[8/18/2024 10:29:52 AM] Dependency WinGet PowerShell Module for manager Winget is present
[8/18/2024 10:29:53 AM] Dependency Scoop-Search for manager Scoop is present
[8/18/2024 10:29:53 AM] Dependency Git for manager Scoop is present
[8/18/2024 10:29:53 AM] Found 1 installed packages from Pip
[8/18/2024 10:29:54 AM] Dependency .NET Tools Outdated for manager .NET Tool is present
[8/18/2024 10:29:54 AM] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[8/18/2024 10:29:54 AM] Found 1 installed packages from .NET Tool
[8/18/2024 10:29:54 AM] Found 51 installed packages from Scoop
[8/18/2024 10:29:54 AM] Found 4 installed packages from Chocolatey
[8/18/2024 10:29:55 AM] Found 0 available updates from Chocolatey
[8/18/2024 10:29:55 AM] Found 1 available updates from Pip
[8/18/2024 10:29:55 AM] Found 0 installed packages from Npm
[8/18/2024 10:29:55 AM] Found 2 installed packages from PowerShell
[8/18/2024 10:29:55 AM] Found 0 available updates from Npm
[8/18/2024 10:29:56 AM] Found 0 installed packages from PowerShell7
[8/18/2024 10:29:56 AM] Found 0 available updates from PowerShell7
[8/18/2024 10:29:57 AM] Found 413 installed packages from Winget
[8/18/2024 10:29:57 AM] Found 28 available updates from Winget
[8/18/2024 10:30:02 AM] Found 0 available updates from .NET Tool
[8/18/2024 10:30:05 AM] Found 0 available updates from PowerShell
[8/18/2024 10:30:10 AM] Backup saved to Z:\Backups\WingetUI\installed packages 2024-08-18 10-29-58.json
[8/18/2024 10:30:51 AM] Error finding updates on manager Scoop
[8/18/2024 10:30:51 AM] System.TimeoutException: The operation has timed out.
                           at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.GetAvailableUpdates() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 188
[8/18/2024 10:31:52 AM] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[8/18/2024 10:31:52 AM] Loaded icon with URL=UniGetUI.Core.IconEngine.CacheableIcon for package Id=AutoHotkey.AutoHotkey
[8/18/2024 10:31:52 AM] Icon for package AutoHotkey.AutoHotkey stored on C:\Users\MyUsername\AppData\Local\UniGetUI\CachedMedia\Winget\AutoHotkey.AutoHotkey.png
[8/18/2024 10:31:54 AM] Resetting administrator rights cache for process id 50420
[8/18/2024 10:34:22 AM] Scoop buckets have been already refreshed in the last ten minutes, skipping.
[8/18/2024 10:34:23 AM] Found 51 installed packages from Scoop
[8/18/2024 10:34:24 AM] Found 1 available updates from Pip
[8/18/2024 10:34:24 AM] Found 0 available updates from Npm
[8/18/2024 10:34:25 AM] Found 0 available updates from PowerShell7
[8/18/2024 10:34:31 AM] Found 0 available updates from .NET Tool
[8/18/2024 10:34:32 AM] Found 0 available updates from Chocolatey
[8/18/2024 10:34:34 AM] Found 27 available updates from Winget
[8/18/2024 10:34:35 AM] Found 0 available updates from PowerShell
[8/18/2024 10:35:22 AM] Error finding updates on manager Scoop
[8/18/2024 10:35:22 AM] System.TimeoutException: The operation has timed out.
                           at UniGetUI.PackageEngine.ManagerClasses.Manager.PackageManager.GetAvailableUpdates() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.PackageEngine.PackageManagerClasses\Manager\PackageManager.cs:line 189
[8/18/2024 10:48:17 AM] Found 1 installed packages from .NET Tool
[8/18/2024 10:48:17 AM] Found 1 installed packages from Pip
[8/18/2024 10:48:17 AM] Found 51 installed packages from Scoop
[8/18/2024 10:48:17 AM] Found 4 installed packages from Chocolatey
[8/18/2024 10:48:18 AM] Found 2 installed packages from PowerShell
[8/18/2024 10:48:18 AM] Found 0 installed packages from PowerShell7
[8/18/2024 10:48:19 AM] Found 0 installed packages from Npm
[8/18/2024 10:48:27 AM] Found 413 installed packages from Winget

Package Managers Logs
Manager Scoop with version:
Current Scoop version:
859d1db5 chore(release): Bump to version 0.5.2 (#6080)

'main' bucket:
3d1c31876 stgit: Update to version 2.4.10

'extras' bucket:
f5e249038 sidekick-browser: Update to version <IP_ADDRESS>616-1131b84

'nirsoft' bucket:
b38031d updated manifests

'sysinternals' bucket:
6b2b695 sysmon: Update to version 15.15

'nonportable' bucket:
20e94245 10x-np: Update to version 1.0.202

'java' bucket:
84b7bb31 temurin11-nightly-jre: Update to version 11.0.25-3.0.ea

'games' bucket:
0456a6584 dolphin-dev: Update to version 2407-223

——————————————————————————————————————————

Logged subprocess-based task on manager Scoop. Task type is ListSources
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: " -NoProfile -ExecutionPolicy Bypass -Command scoop bucket list"
Process start time: 8/18/2024 10:29:43 AM
Process end time:   8/18/2024 10:29:44 AM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Scoop. Task type is RefreshIndexes
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: " -NoProfile -ExecutionPolicy Bypass -Command scoop update"
Process start time: 8/18/2024 10:29:51 AM
Process end time:   8/18/2024 10:32:04 AM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Scoop. Task type is ListInstalledPackages
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: " -NoProfile -ExecutionPolicy Bypass -Command scoop list"
Process start time: 8/18/2024 10:29:51 AM
Process end time:   8/18/2024 10:29:54 AM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Scoop. Task type is ListSources
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: " -NoProfile -ExecutionPolicy Bypass -Command scoop bucket list"
Process start time: 8/18/2024 10:29:52 AM
Process end time:   8/18/2024 10:29:55 AM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Scoop. Task type is ListInstalledPackages
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: " -NoProfile -ExecutionPolicy Bypass -Command scoop list"
Process start time: 8/18/2024 10:34:22 AM
Process end time:   8/18/2024 10:34:23 AM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Scoop. Task type is ListUpdates
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: " -NoProfile -ExecutionPolicy Bypass -Command scoop status"
Process start time: 8/18/2024 10:34:23 AM
Process end time:   8/18/2024 10:36:33 AM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager Scoop. Task type is ListInstalledPackages
Subprocess executable: "C:\WINDOWS\system32\windowspowershell\v1.0\powershell.exe"
Command-line arguments: " -NoProfile -ExecutionPolicy Bypass -Command scoop list"
Process start time: 8/18/2024 10:48:16 AM
Process end time:   8/18/2024 10:48:17 AM

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Relevant information
I tried scoop status in a terminal to get outdated apps from Scoop directly. According to Powershell Measure-Command { scoop status }, it took 127 seconds to complete (I've been having network issues recently), so it might be related to #2481. If this is the case, it might be helpful to let the user know that a package manager operation was canceled due to a timeout, as well as let them set the timeout value until there's a better way to handle long-running operations.
Screenshots and videos
No response

I will see what can be done


feat: Contributors tab for Repo pages

Description
Adds a /contributors page for repo pages, with a tab list to go between the overview and contributor pages. Uses the Contributors component used in the /explore page.

Related Tickets & Documents
Closes #3334

Mobile & Desktop Screenshots/Recordings

Steps to QA

Tier (staff will fill in)

[ ] Tier 1
[x] Tier 2
[ ] Tier 3
[ ] Tier 4

[optional] What gif best describes this PR or how it makes you feel?

Thank you for this @zeucapua !!
Question: is there a way to filter what we show on the contributor's cards to only display work done for the specific repository on the repo page?
So for example, in the open-sauced/app repo page the contributors card show contribution data for all repos, not just the app repo.
Is there a way to limit it to the app repo only?

Is there a way to limit it to the app repo only?

Not in the /v2/users/{username}/prs endpoint: I can quick add that though: should be simple enough 👍🏼

Thank you for this @zeucapua !!
Question: is there a way to filter what we show on the contributor's cards to only display work done for the specific repository on the repo page?
So for example, in the open-sauced/app repo page the contributors card show contribution data for all repos, not just the app repo. I.e. in the screenshow we see the contributor's activity for the app repo but also for the freeCodeCamp repo
Is there a way to limit it to the app repo only?

We can do that. The current component was from the /explore page and therefore isn't specific to repos. I can make a new repo page specific contributors component to do this.


Simplify Tasks, increase focus (no cards, allow hide description)

For me, this app is not to replace my main tasks system else where.
I got confused how the Task list works, why there are listS, some cards etc. Not sure why a Task is called "Card"...

The way I see it, in this app I would put only a handful tasks for one - three days, which I want to focus on.
So maybe just a super simple list of tasks:
Task 1
Task 2
[Empty field: input new task]
That's it! Maybe allow to re-arrange the tasks, so the top one is shown under "Timer".

Also, for the same reasons I would either completely remove descriptions, or at least have a Setting to hide them under "Timer". Again, I'm not using Pomatez as my project management tool where I have detailed description of tasks.
I use Pomatez to keep me focus what I should be working on - so I can quickly glance on it (it is always on top for me) to immediately see what I should be focusing on, and not read some descriptions.

I would also display the Task I'm focusing on under Timer, in a more prominent way: just the Task itself (w/o description, see 2.), bigger and centered horizontally and vertically between "Stay Focused" and the pause button. Or something like that.

I will admit that this app is not yet polish due to some reasons.
A lot of things need to refactor and improve, but I will try to improve this app as soon as I have enough time.
Anyways, thank you @peachp.

I will admit that this app is not yet polish due to some reasons.
A lot of things need to refactor and improve, but I will try to improve this app as soon as I have enough time.
Anyways, thank you @peachp.

Sounds good!
The UX is a subjective topic, so it is just my view. When you come to this area, let me know and I can provide more detailed spec of how I think a good UX should be.
For now, as a quick fix it would be great to at least hide the "There's no description..." message under Time under the Task (Card?) title. This is something I believe would fit everyone. It will reduce the visual noise on Time tab and allow to stay focused more.

Sounds good!
The UX is a subjective topic, so it is just my view. When you come to this area, let me know and I can provide more detailed spec of how I think a good UX should be.
For now, as a quick fix it would be great to at least hide the "There's no description..." message under Time under the Task (Card?) title. This is something I believe would fit everyone. It will reduce the visual noise on Time tab and allow to stay focused more.


Skype Support

The only option I've seen thus far for Skype <-> Mattermost is https://sameroom.io/, but landing in at $49-99+ is a bit cost prohibitive for smaller teams or teams who don't use it heavily enough to rationalize such an expense.  Strangely enough, this is a pretty critical service.  I've been trying to migrate some clients to a more sane environment, but there are a number of (larger) companies that just will not budge from Skype, even though the like the idea of moving to a more structured system like Mattermost.
From what I understand as per Issue #28, @jheiselman in response to @54, Skype's going to need some special tooling. Apparently there's "no official API and the only SDK has to use the Microsoft's BotFramework platform. Further, their SDK is C# or Node.js only. Someone would have to take time to port it to Go."
Any additional thoughts or details on this topic wrt what we'd need to do in a loose order?
I've popped up a question to see if anyone has any thoughts surrounding the situation.

Looks like there's a REST API: https://docs.microsoft.com/en-us/azure/bot-service/rest-api/bot-framework-rest-connector-api-reference?view=azure-bot-service-3.0

The REST API appears to be one-way. It allows posting to a conversation, but not reading from it. From a high level, I could only see a legit integration working via a separate process:

Use the BotFramework SDK to create a Skype bot that also listens on a websocket.
Agree on a data exchange format
Add a new feature to matterbridge that can connect to this websocket and send/receive data using the agreed upon format

It appears that Microsoft may have planned for this use case with the DirectLine API.

Is this maybe usefull? https://github.com/strongo/bots-framework

@Tjird this library promises a lot, but implements very little. It has support for Telegram, Viber, and Facebook Messenger and says that you have to bring support for whatever other platforms you want yourself. It looks like the only portion of the code that appears to claim to handle Skype is nothing more than an incoming webhook handler, so even that would only handle messages coming into the bot and not handle anything going back out to Skype.
The best and probably only hope for Skype support would be to voice your desire in the issue that ylluminate created in the Micrsooft/BotBuilder Github (that Microsoft has since closed saying that they have no plans to do).

Maybe we can add support via https://github.com/infracloudio/msbotbuilder-go ?

And skpy uses undocumented APIs to interacte with the Skype (which works for now)

https://github.com/infracloudio/msbotbuilder-go looks work


Allow dataframe.loc with numpy array

In native pandas, df.loc[np.array([1,2,3])] is valid, but it does not work in dask. This PR implements the simple improvement with tests.

Sorry for the long delay on this.  I've pushed a small commit with the loc[[]] fix


Adjust Menu

Adjust Menu so that it offers both steak and wine options

Use JS and CSS to create the new menu format


Belgian iban not working

Hello,
I think with the latest update something might gone wrong
https://openiban.com/validate/BE29001287409864?getBIC=true used to work.
Now I get the following response
{
valid: true,
messages: [
"No BIC found for bank code: 001"
],
iban: "BE29001287409864",
bankData: {
bankCode: "",
name: ""
},
checkResults: { }
}

Thanks you for reporting this! I've just fixed the issue.


Support for ResNet32

Hi @Pratyush and @ryanleh
Does this repository support evaluation of ResNet32 (obtaining accuracy of ResNet32 on Cifar100, as well as benchmarking latency performance)?

By evaluating accuracy of ResNet32 do you mean the accuracy of the plaintext model? Or the accuracy when using Delphi? The former can be done independently of Delphi using whatever toolset you've used to train your model. The latter is possible to test (by modifying this line) but won't be particularly informative. This is because Delphi's neural network library only supports networks with consecutive layers. As a result, Delphi does not support the identity shortcut connections in the ResNet32 network so the current implementation will probably not be accurate.
Note that for MiniONN, using Delphi incurs a negligible error rate (than .05%) compared to the plaintext model in inference. Thus, if we had implemented the identity shortcuts mentioned above we would expect that Delphi's accuracy for Restnet32 would be nearly equivalent to the underlying plaintext model.

The identity shortcut connections mentioned above don't affect the latency of the inference, however. To test latency, run the following on the server:
cargo +nightly run --bin resnet32-server --release --all-features -- -l {NUM OF POLY LAYERS}
and the following on the client:
cargo +nightly run --bin resnet32-client --release --all-features -- -l {NUM OF POLY LAYERS} -i {SERVER IP}

Let me know if this answers your questions!

This makes sense, thank you!


add missing "meter" role

The role="meter" is woefully underused, for example for amplitude visualization or password strength - and even missing here. More under: https://w3c.github.io/aria-practices/examples/meter/meter.html

Thank you, I grabbed the list from MDN docs in the past. It seems like this is always a moving target so continue to put these forward should you ever find anything else of this nature.


fix(NODE-4571): revert nested union type support

Description
Reverts the strict nested union types support.
What is changing?
Reverts https://github.com/mongodb/node-mongodb-native/pull/3349 but keeps the tests that still pass after the revert.
Reopens NODE-4513
Is there new documentation needed for these changes?
None
What is the motivation for this change?
NODE-4571

Double check the following

[x] Ran npm run check:lint script
[x] Self-review completed using the steps outlined here
[x] PR title follows the correct format: <type>(NODE-xxxx)<!>: <description>
[x] Changes are covered by tests
[ ] New TODOs have a related JIRA ticket

Failures on latest: https://jira.mongodb.org/browse/SERVER-69146


Req: support for NPU training

Request for NPU Training Support
Dear Ryzen AI Software Team,
I am an enthusiastic user of the Ryzen 8040 processor and have been closely following the development of your Ryzen AI software repository with great interest.
My primary interest lies in the potential of training deep neural networks (DNNs) on a Neural Processing Unit (NPU). I believe that the NPU's architecture could significantly expedite the computation of matrices and tensors, which is crucial for deep learning applications. Unfortunately, I noticed that the current version of the software does not support PyTorch for training purposes, compelling me to rely on CUDA instead.
This reliance on CUDA has presented a challenge due to the VRAM limitations, which hinders my ability to train larger and more complex networks. Consequently, I have turned my focus towards the system's RAM capabilities. While CPUs are traditionally not optimized for tensor operations, thus making them less suitable for DNN training, NPUs appear to be a promising alternative.
I am reaching out to inquire if there are any plans to integrate PyTorch support for NPU training in the near future. Such an update would not only enhance the capabilities of your software but also enable many users like myself to push the boundaries of what's possible with Ryzen processors.
Thank you for considering this request. I am looking forward to any updates you might have on this matter.
BTW Intel seemed to have updated their NPU library adding support for pytorch training()

Hello
Training using NPU is experimental and has not yet been proven effective. We will continue to monitor its usefulness and make decisions. As of now, there is no concrete plan.
Thanks


Fixed Bugs on Panel Dashboards

Fixed the bugs for previous dashboards including

elpd
pcc
forest

modify the notebooks to align with the current file structure

Resolves #48

@yilinxia we typically keep the tracking issue open until the PR has been approved. Then when you make a PR, you want to mark it with Resolves #<number of the issue>. You will see GH link the two together. That way when the PR is merged, the issue gets automatically closed.

also, ty for this fix


compose_actions: Extract compose_reply module

Seems to be a minor improvement, (56, 23) → (56, 21).

This seems like a decent module boundary, rebased and marked to merge once CI passes.

Test failure is a known nondeterministic failure.


transparent and hex is not a valid color for windows warning

Generator:
http://manifold-site-pre.azurewebsites.net/generator
with test site: http://www.msn.com
Gives following warning:
Invalid value: The background color is not a valid color (#224f7b). Platforms affected: windows10.
Invalid value: The theme color is not a valid color (#224f7b). Platforms affected: windows10
These are valid, so it may be a rule that needs to be fixed or an actualy bug, but it should work.

I'll take a look at this one.

fix is pushed out with version 1.0.3


Consider porting to Rust

We now have cargo install, so distribution is as easy as pip, and, Rust is awesome.
Notes:

there's a lot of .travis.yml's installing the Python version,
it'd be great to be completely 100% compatible
People test on travis with a wide variety of Rust versions:

cargo install can't be assumed to work (only nightly at the time of writing, but maybe 1.4 and/or 1.5-beta in a week)
it should be a goal to work on Rust 1.0 if at all possible to not be a restriction (and/or make an assessment about what versions people are testing with)
there needs to be an installation procedure as short as pip install travis-cargo<0.2 and/or cargo install travis-cargo --vers 0.1 that'll work on all reasonable versions (i.e. not just cargo install)

might be good to publish new version of the Python that's a shim that installs the Rust one (e.g. installing travis-cargo 0.1.9999999 will do some magic to install the "real" travis-cargo from crates.io)

it could detect if cargo install fails due to being missing (or the travis-installed Rust version being too old), and fall back to "installing" itself, or manually doing an installation of the Rust one (this doesn't work for a too-old Rust). Autoinstalling a Python version would mean there should be a while of feature parity between the Rust and the Python for a while.
alternatively, detect if Rust/Cargo is too old and install a sufficiently new one to install travis-cargo in some sort of scoped way to not affect the rest of the world (static linking means it should be fine to compile travis-cargo, install and then blow away that compiler)

The 1.0 constraint makes this extremely hard, since many libraries don't support it (and even more only have CI on stable, so they can easily break).
In case someone manages to do this: Please make sure Travis doesn't compile dozens of crates for installing travis-cargo - The best thing to do would be to add a cache to the example .travis.yml, but that kind of plays badly with cargo install (see this comment)

I've written a proof-of-concept port at https://github.com/euclio/travis-cargo-rust.

The CLI should be 100% compatible with the current version
The code builds on 1.0.0, but the travis build uses cargo install (no fallback right now), so the build fails on anything except the main trains
Minimal dependencies (regex, docopt, and rustc-serialize)

The code is pretty much a direct port of the Python, so it isn't particularly rustic (lots of unwrap()s). If we think this is worthwhile, I can clean up the code and open a PR alongside the Python version.

Friendly ping @huonw

@euclio wow, nice work! Unfortunately, I don't have time right now to dig in, but hopefully I'll be able to find some soon.

Speaking to the air: another realisation I had was that we could just distribute binaries, e.g. as generated by https://github.com/japaric/rust-everywhere, avoiding entirely any version compatibility problems and the need to rely on cargo install (etc.): just download the single binary and chmod it +x. Getting the binaries out takes a little more set-up on travis-cargo's part, but seems like it would make like easier going forward.

Cool, great to hear about the rust-everywhere solution. I'm happy to get the ball rolling further on this once you get a chance to do an initial review (unfortunately I've been pretty busy myself). Would it help if I started a PR branch?
There are already a few things I'd like to change:

Better error handling (already mentioned this)
Replacing version detection with rustc-version
Would you rather use docopt or clap for arguments (it seems official Rust projects tend to use clap?).

I took a look and it looks pretty good. I submitted https://github.com/euclio/travis-cargo-rust/pull/1 as a result.

I took a different approach over at roblabla/cargo-travis , linking directly against the cargo crate.


Spearman's rank correlation coefficient slow with nan values and nan policy = omit

Hello,
I have two arrays of sizes around 8000 reals. The second array contains some nan values.
I want to calculate spearmans rank correlation coefficient and would like to ignore pairs containing nans.
According to the documentation

nan_policy ‘omit’ performs the calculations ignoring nan values.

So I set the nan_policy to omit. After ten minutes of computation I cancelled the computation.
I examined the underlying code and discovered that nan values are assigned the rank of zero.
Shouldnt they be skipped altogether?
When I ignored the nan values myself like this
from numpy import ma
x1 = ma.masked_invalid(array1)
y1 = ma.masked_invalid(array2)
m = ma.mask_or(ma.getmask(x1), ma.getmask(y1))
k = ma.array(x1, mask=m, copy=True).compressed()
j = ma.array(y1, mask=m, copy=True) .compressed()
stats.spearmanr(k,j,nan_policy='omit')

the computation ended in the matter of seconds. Something similar is done in the scipy itself with the exception of calling the .compressed() function.
I am using Python 3.5.2, Numpy 1.11.2 and scipy 0.18.1.
Many thanks,
Jakub

I can confirm that the handling of nan in scipy.stats.spearmanr is broken.  Here are some simple examples:
Base case, no nans:
In [42]: spearmanr([1, 2, 2.5, 2], [1, 3, 2.5, 4])
Out[42]: SpearmanrResult(correlation=0.316227766016838, pvalue=0.683772233983162)

The default is nan_policy='propagate', so the return values of the following should be nan:
In [43]: spearmanr([1, 2, 2.5, 2, np.nan], [1, 3, 2.5, 4, np.nan])
Out[43]: SpearmanrResult(correlation=0.66688592885535025, pvalue=0.21889398131323154)

Using nan_policy='omit', the return value of the following should be the same as the base case:
In [44]: spearmanr([1, 2, 2.5, 2, np.nan], [1, 3, 2.5, 4, np.nan], nan_policy='omit')
Out[44]:
SpearmanrResult(correlation=0.34999999999999998, pvalue=masked_array(data = 0.6499999999999996,
             mask = False,
       fill_value = 1e+20)
)

Also, pvalue in the above result should not be a masked array.  The use of masked arrays in spearmanr is an implementation detail.

I guess rankdata doesn't "propagate" nans, so we don't get automatic propagation.
@jaksmid  can you time the mstats version without nans to see whether it's the implementation differences between stats and mstats version or if it's really the nan handling.
I don't see an inherent reason why the masked version should be slow.
@WarrenWeckesser  to the last point, In the multivariate case we might have missing values in the final results if for example one column (axis=0) is all nans.
So, if the stats function shouldn't return a masked array, then the results need to be naned
(aside: I was just looking at spearmanr for another purpose, but without nans)

I dug deeper and I think the explanation for the larger times and for incorrect results reported by @WarrenWeckesser are that the NaN values are not ignored.
Lets say I call stats.spearmanr(first_input,second_input,nan_policy='omit'), where the first input array contains nan values.
First lines of stats.spearman are:
contains_nan, nan_policy = _contains_nan(a, nan_policy)

    if contains_nan and nan_policy == 'omit':
        a = ma.masked_invalid(a)
        b = ma.masked_invalid(b)
        return mstats_basic.spearmanr(a, b, axis)

Therefore, nan values are masked in the first array and the computation goes to mstats_basic.spearmanr
There the or mask is computed and applied to both arrays along the lines of  x = ma.array(x, mask=m, copy=True)
Now comes what I believe is the problem:
rankx = rankdata(x)
This does not omit the invalid values as it should but assign the rank of zero instead.
See ipython entries:
In [19]: j = [1,2,3,np.nan,-1,np.nan,3,3]
In [20]: x = ma.masked_invalid(j)
In [21]: k = stats.mstats_basic.rankdata(x)
In [22]: k
Out[22]: array([ 2.,  3.,  5.,  0.,  1.,  0.,  5.,  5.])

The ties are computed. Zeroes are counted as ties.
In [23]: stats.mstats_basic.count_tied_groups(k)
Out[23]: {2: 1, 3: 1}

This will produce the incorrect results as well as can complicate the computation (you cant use the simpler formula without ties etc).
Thoughts?

Any progress on this? I just ran into the inconsistency with nans and the masked_array object for pvalue.

I've been looking into the inconsistent behaviour of the spearmanr function in the case where the input variables contain nan's and repeated values (i.e. ties). I agree that the bug is due to incorrect handling of ties and I think there's a pretty simple fix - see pull request.

Any chance @WarrenWeckesser 's issue was solved? I'm finding the same problem in scipy 1.1.0, python 3.6.0. If this was fixed, could you please let me know how to solve it? I have tried updating scipy, numpy, but the issue remains. All help is welcomed!
(I have also posted this in here)

So this issue is closed, but as of 1.6.1 the spearmanr is still quite slow when nan_policy is set to omit. 26.9s on my machine to compute rank coefficient with omitting nans vs 158ms when the lists were prefiltered.
The answers are almost the same (within the precision margin, I would believe).

26.9 seconds is surprising.  I haven't been able to reproduce that timing.  @lukauskas, can you include a complete, self-contained example that we can run?  I just tried a similar calculation, with x and y having length 500000, each with 3000 nan's placed randomly in the arrays.  I get this:
In [162]: %timeit spearmanr(x, y, nan_policy='omit')
664 ms ± 51.9 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

I think there's something unique in my data that triggers the runtimes.
However I was able to reproduce this with shuffled version of my dataset on both a linux machine (original screenshot) and my macbook.
See gist.

Hi @lukauskas. It looks like everything has been removed from the files. Could you post a regular python script?

I don't know what happened there, sorry.
I have re-uploaded the gist. You will find the data.tsv.gz (10.6MB) there which is the most important piece of the puzzle. The script itself is simple:
import pandas as pd
import numpy as np
from scipy.stats import spearmanr
from sinfo import sinfo

df = pd.read_csv('data.tsv.gz', sep='\t', index_col=0)

This takes 30+ seconds
spearmanr(df['x'], df['y'], nan_policy="omit") # 30+s

This takes ~170ms:
df_no_na = df.dropna()
spearmanr(df_no_na['x'], df_no_na['y'], nan_policy="raise")

Versions:

-----
numpy       1.20.1
pandas      1.2.3
scipy       1.6.1
sinfo       0.3.1
-----
IPython             7.21.0
jupyter_client      6.1.11
jupyter_core        4.7.1
notebook            6.2.0
-----
Python 3.9.2 (default, Feb 24 2021, 13:30:36) [Clang 12.0.0 (clang-1<IP_ADDRESS>)]
macOS-10.15.7-x86_64-i386-64bit
8 logical CPU cores, i386
-----
Session information updated at 2021-03-12 19:32

Thanks @lukauskas. I was able to reproduce the issue with your data, too, but I still don't know why it's different from randomly generated data. gh-13312 would fix this in your case because it avoids the use of masked arrays. I tested the decorated spearmanr on your data, and it runs just as fast with nan_policy='omit' as when the nans are removed before the data is sent in.
Unfortunately, spearmanr's signature is unusual in that it can produce a correlation matrix, so the decorator developed in gh-13312 can't be applied to spearmanr without changing the way it works in some cases. Actually, in the correlation matrix case, we can't simply remove all the nans then call the routine, so I think we need to fix something on the inside.
The thing that is really slow seems to be this loop in mstats.rankdata. The easiest patch for this might be to re-think this part.

We should apply the decorator here as part of gh-14651. spearmanrs interface is different from almost all other reduction functions and it really should be brought in line.


XML child node allways added with blank xmlns value

Describe the bug
We switched from the .net XML creation to the native AL way.
But now we struggle with XML child nodes, which get a "xmlns=""" in.
Seems the .AsXmlElement().Add(NewChildNode) adds this empty namespace by accident.
To Reproduce
Steps and to reproduce the behavior:

Take the example code from below and check the output in the message box.

You will see following file:

AL Code to reproduce the issue
pageextension 50110 CustomerListExt extends "Customer List"
{
trigger OnOpenPage();
var
FXmlAttributeCollection: XmlAttributeCollection;
FXMLDOMDocument: XmlDocument;
XmlElement1: XmlElement;
XmlElement2: XmlElement;
FCurrentNode: XmlNode;
NewChildNode: XmlNode;
begin
Clear(FXMLDOMDocument);
    FXMLDOMDocument := XmlDocument.Create();
    FXMLDOMDocument.SetDeclaration(xmlDeclaration.Create('1.0', 'UTF-8', ''));

    XmlElement1 := XmlElement.Create('JDF', 'http://www.CIP4.org/JDFSchema_1_1');

    FXMLDOMDocument.Add(XmlElement1);

    FXMLDOMDocument.GetRoot(XmlElement2);
    FCurrentNode := XmlElement2.AsXmlNode();

    FXmlAttributeCollection := FCurrentNode.AsXmlElement().Attributes();

    NewChildNode := XmlElement.Create('AuditPool').AsXmlNode();
    FCurrentNode.AsXmlElement().Add(NewChildNode);

    FCurrentNode := NewChildNode;
    FXmlAttributeCollection := FCurrentNode.AsXmlElement().Attributes();

    Message(format(FXMLDOMDocument));
end;

}
Expected behavior
We would expect a XML file looking like this:

Screenshots
If applicable, add screenshots to help explain your problem.

5. Versions:

AL Language:  5.0.335750

Business Central: W1 16.4 / PrintVis PV16.00 (Platform 16.0.14648.15076 + Application 14.7.37609.0)

Hi! Let's get the issue to a team who will fix and backport it, as this repository is only for issues related to the AL compiler and developer tools of the latest developer preview environment for Dynamics 365 Business Central. We suggest that you open a support case to ensure that all Business Central users benefit from your catch as soon as possible.  This isn't a bug with the compiler or dev tooling itself, but the server's runtime behaviour.
To open a support case, you can:

Open a support request to CSS through the PartnerSource portal

Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company