For executables, we should read the main-is field from the cabal file.

Previously, we simply treat file name for Main module as Main.hs to build executables. That doesn't work for the timeout program. This patch fixes the problem.

@sighingnow Many thanks! Just a couple of minor comments above. Please add a comment to clarify what's going on.

@snowleopard Could we land this now ?

@sighingnow Yes, thanks! I'm just waiting for at least one green light from Travis (I believe 8.2.2 was fine).

Merged.

Thanks !


add eslint as a dep and fix lint errors

@phated thoughts?

Yeah, this looks good. 👍

@nnance should we attempt to get this upstreamed or should I maintain a separate branch with the upstreamed features?

@nnance upstream updated their eslint config so I'm not sure we need this.

The eslint file/rules/etc have been changed upstream.  Going to close this.


Add Attendance List into SCA

will be incorporating attendance into the sca

Overloaded the constructor for SCA so as to distinguish between creation of new SCA object and updating SCA object
Wrote test cases for new SCA

Merge updated SCA with Attendance


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 177 ms

Resolved: ClamAV performance has improved in 1766600.


[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] ~Have you written new tests for your changes? Here's an example.~
[x] Have you successfully run brew style with your changes locally?
[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

The cores are now merged (:tada:), so the Linux core tap is homebrew-core not linuxbrew-core, everything core should have switched over, this should be safe to remove.

Thanks again @issyl0!

Review period skipped due to critical label.


Escape dots in patterns

Thank you @monperrus for this repository.
I've noticed that several patterns contain unescaped dots, causing false positives.
I fixed these patterns and added a check to validate.py to ensure they're properly escaped.

Thanks @giuscris
The one reason dot is good is that you can string-match with them, in case your platform has no support for regexp or you care for speed.

Yes, of course you can string-match but some patterns are already regular expressions. It would be a partial match in any case.

you're right. Maybe we should have pattern (mandatory) and pattern_regexp (optional) and change the CI validation script accordingly.

+1
Works for me

thanks a lot @giuscris


Blinky Hello World, install awscli first then miniconda

If you open the anaconda prompt before installing the awscli on Windows, then anaconda doesn't see the updated path and can't find the aws tool.
So, better to install the CLI first and then the miniconda

Updated the module based on your recommendation. Thank you @bentterp!
https://edukit.workshop.aws/en/blinky-hello-world/prerequisites.html#installing-and-configuring-the-aws-cli-version-2

Updated the module based on your recommendation. Thank you @bentterp!
https://edukit.workshop.aws/en/blinky-hello-world/prerequisites.html#installing-and-configuring-the-aws-cli-version-2


New package: Libxc v0.1.0

Registering package: Libxc
Repository: https://github.com/unkcpz/Libxc.jl
Created by: @unkcpz
Version: v0.1.0
Commit: d3ca8c0e6bd01455da078f582c0b16ff22e866e0
Reviewed by: @unkcpz
Reference: https://github.com/unkcpz/Libxc.jl/commit/d3ca8c0e6bd01455da078f582c0b16ff22e866e0#commitcomment-33808309

@unkcpz ^ would be good to fix.

TagBot tag

This usually fixes itself
TagBot tag

This may be caused because I force-push a rebased commit.
TagBot tag


fix dropped messages due to not accepting collectd data

Collectd sends us data like this.  We should accept it.

Nice.


adding support for copying mgmt users and group if provided

to the wildfly instance.
@csadilek @mbarkley can you guys let me know if we need a test for this. If so, can you point me out what test is checking the correct behavior for the normal App/Roles files?
These changes are required to automatically create a users for the wildfly instance that is running in dev mode. The configuration files will be picked up (as the app/roles files) from the src/main/resources of the project starting GWT dev mode.

@Salaboy I'm happy to merge this as is since it is just re-using the existing logic for loading application users/roles.


[Bug] TabViewItem content on iOS is out of the screen if TabView.TabIndicatorPlacement="Top"

TabViewItem content on iOS is out of the screen if TabView.TabIndicatorPlacement="Top".
To reproduce the issue:

Create TabView with TabViewItem.
Put some test content inside TabViewItem (any)
Set TabView.TabIndicatorPlacement="Top"

Important:
Do not position the TabViewItem root container using HorizontalOptions="Center" VerticalOptions="Center".
Expectation:
TabViewItem content should be visible on the appropriate Tab.
Actual result:
If TabViewItem root container doesn't  use HorizontalOptions="Center" VerticalOptions="Center" then content is out of the screen. Looks like TabViewItem has wrong height and width.

It's totally broken on IOS. TabIndicatorPlacement="Bottom" also have this problem.

Any luck? this is impacted to our end as well after upgrading nuget to 2.0.2

I found this issue was not on XCT but on Xamarin Forms <IP_ADDRESS>1, when I'm reverting XF back to <IP_ADDRESS>7 the ios layout issue was not happen

@sunkerGit  thank you for sharing that information.

Hi guys,
did anyone have any luck when upgrading Xamarin Forms <IP_ADDRESS>8? and applying the tab view?

@sunkerGit no we haven't had time to test this. You should be able to update the Xamarin.Forms version in your app without requiring any new version of the toolkit in order to test whether it fixes your issue. Out of interest does that newer version of Xamarin.Forms have any fixes in it that you believe might help this issue?

@sunkerGit no we haven't had time to test this. You should be able to update the Xamarin.Forms version in your app without requiring any new version of the toolkit in order to test whether it fixes your issue. Out of interest does that newer version of Xamarin.Forms have any fixes in it that you believe might help this issue?

I think it should be adjusted from XCT - Tab View, shouldn't it? because when we are applying the newest Xamarin Forms <IP_ADDRESS>8, the layout inside the tab view is still out of the screen for iOS, yesterday when I checked on the xct csproj file it seems the old NuGet package from Xamarin.Forms" Version="<IP_ADDRESS>1" can be conflicted with a new NuGet package on our app? why I assume it, because when I'm reverting XF back to <IP_ADDRESS>7 - Tab View layout is fine.

We only update our Xamarin.Forms version if it is really needed otherwise we force others to upgrade their version and this could prevent some people from using the toolkit. That being said our version is only a minimum version and therefore anyone using the toolkit should be able to upgrade their version of XF to anything above <IP_ADDRESS>1 without experiencing any version conflicts.
It sounds like XF <IP_ADDRESS>7 is the best version for you?

We only update our Xamarin.Forms version if it is really needed otherwise we force others to upgrade their version and this could prevent some people from using the toolkit. That being said our version is only a minimum version and therefore anyone using the toolkit should be able to upgrade their version of XF to anything above <IP_ADDRESS>1 without experiencing any version conflicts.
It sounds like XF <IP_ADDRESS>7 is the best version for you?

yes at the moment XF <IP_ADDRESS>7 is currently has no bugs for XCT - Tab View, but we need to upgrade to XF <IP_ADDRESS>8 cause other NuGet is dependent on it and also patch fix for another mobile app issue that related to XF.
when we are after upgraded it to XF <IP_ADDRESS>8, Tab view layout is out of screen.

TabViewItem with content is out of the screen is fixed after updating to latest Xamarin.Forms v<IP_ADDRESS>8, and Xamarin.CommunityToolkit v2.0.4. cc @bijington @sunkerGit

ok cool @alvinzjoe, the case can be closed than @DeveloperLookBook ?

@sunkerGit you mentioned earlier that you still see this issue using Xamarin.Forms v<IP_ADDRESS>8 though?

experiencing the same issue using Xamarin Form <IP_ADDRESS>5 with Xamarin community toolkit 2.0.5

@sunkerGit you mentioned earlier that you still see this issue using Xamarin.Forms v<IP_ADDRESS>8 though?

for XF 2478 the issue is resolved but when we are upgrading to XF 2515 & XCT 2.0.5 the issue for the tab out of the screen is appear again. @bijington

For me the tabview seems to work fine on iOS as long as its not embedded in a complicated grid with multiple auto rows.
For example this works fine:
`
<customcontrols:MGHeader Grid.Row="0"
Title="Highlights" />
        <xct:TabView Grid.Row="1"
                              IsSwipeEnabled="False"
                              IsTabStripVisible="False">
                             <!--Tab View Items-->
         </xct:TabView>

`
This causes the issue described:
`
<customcontrols:MGHeader Grid.Row="0"
Title="Highlights" />
        <xct:TabView Grid.Row="1"
                              IsSwipeEnabled="False"
                              IsTabStripVisible="False">
                             <!--Tab View Items-->
         </xct:TabView>

        <Grid Grid.Row="2"
                  RowDefinitions="50, auto, 100">
                  .
                  .
                  .
        </Grid>

`

I spent some time with this issue.
I can confirm, that last version combo that works fine is Xamarin.Forms <IP_ADDRESS>8 (sr11) + XCT 2.0.4. Also <IP_ADDRESS>8 (sr11) is the only working XF version with XCT 2.0.4. Newer versions of XCT doesn't work anywhere and i haven't tested older versions of XCT.
This is the commit in XF in version <IP_ADDRESS>8 (sr11) that fixed this issue https://github.com/xamarin/Xamarin.Forms/commit/d22e7d311b84deb8f5dc163906cda349f5662ffb
but in the next version (<IP_ADDRESS>5 sr12) they reverted it because it brought other issues:
https://github.com/xamarin/Xamarin.Forms/commit/06b95289212ce0bad6c11e3c0f736982b0270a06
https://github.com/xamarin/Xamarin.Forms/pull/15289
there is also an open issue on this topic in XF to fix both scenarios: https://github.com/xamarin/Xamarin.Forms/issues/15470
For me working TabView on iOS has much higher priority than the side effects and I needed to use new version of Xamarin.Forms in order to target Android 13 and publish to Google Play. So i had to fork XF, "fix" the issue myself (that one line in Xamarin.Forms.Platform.iOS/CollectionView/ItemsViewController.cs), build XF, create and use my own Xamarin.Forms NuGet package.
If you are in the same situation, here are some helpful tips:

your XF NuGet should have the same id=name "Xamarin.Forms" as the official package so other packages that are dependent on XF (CTK, Syncfusion, Mr.Gestures etc.) will use your fixed version and wouldn't bring other copy of XF
version of your XF NuGet should be higher than official version you are starting with (so other XF packages like Maps, AppLinks etc. will accept your version)
if you want, there is my fork of currently newest Xamarin.Forms version <IP_ADDRESS>22 (sr16) with the fix: https://github.com/SkeletonSoftware/Xamarin.Forms/tree/<IP_ADDRESS>22_fixed
a also added the created .nupkg NuGet package to this repo: https://github.com/SkeletonSoftware/Xamarin.Forms/blob/<IP_ADDRESS>22_fixed/.nuspec/Xamarin.Forms.<IP_ADDRESS>23-internally-fixed.nupkg. But it is only for Android, iOS and Tizen (i deleted UWP and macOS as i don't need that and had build errors). You can use it in local NuGet feed or publish it to your private feed on Azure DevOps etc.


Starting a reindex should not provide lando warnings

Expected behavior
When I run rake liberate:full on a staging or production server, it does not give me warnings about lando not being installed.
Actual behavior
We get:
W, [2023-07-13T12:21:43.182853 #30059]  WARN -- : Failed to find the `lando` containers in the environment (is Lando installed?)
W, [2023-07-13T12:21:44.567030 #30059]  WARN -- : Failed to find the `lando` containers in the environment (is Lando installed?): No such file or directory - lando

Impact
It makes it more difficult for us to see the important output of this rake task.

a quick way to reproduce this error:
ssh deploy@bibdata-alma-worker-staging1
cd /opt/bibdata/current/
bundle exec rake -T
WARN -- : Failed to find the `lando` containers in the environment (is Lando installed?)
Top level ::CompositeIO is deprecated, require 'multipart/post' and use `Multipart::Post::CompositeReadIO` instead!
Top level ::Parts is deprecated, require 'multipart/post' and use `Multipart::Post::Parts` instead!
W, [2023-07-25T11:46:38.542323 #5587]  WARN -- : Failed to find the `lando` containers in the environment (is Lando installed?): No such file or directory - lando

Test in staging not in production.


AT&T Logo

Type
Icon request
Info
Logo for AT&T, largest ISP and cell network in US.
Icon(s)

Hey, this icon has been added in the new-standards branch and will be merged once it is done!
https://github.com/walkxcode/dashboard-icons/blob/new-standards/png/at-t.png
https://github.com/walkxcode/dashboard-icons/blob/new-standards/svg/at-t.svg


Finite-volume method?

Hello,
Is there an example of building an FVM solver with MFEM? MFEM does not promote the FVM, but it seems (?) that many building blocks are in there. I want to build a basic solver for a non-linear parabolic problem on Voronoi mesh. What can be possible caveats?
Thank you.

While not officially supported, it is probably very likely that formulating a DG method with polynomial order equal to zero and implementing it in MFEM might just work. You can try and see if running Example 9: DG Advection works when using ex9 -m ../data/periodic-square.mesh -p 0 -r 2 -dt 0.01 -tf 10 -o 0

Thank you for the suggestion!


Mininet cannot connect to the POX controller in "Simple Router" lab assignment

I am trying to go through mininet's Simple Router Assignment. I use a clean Ubuntu 20.04 virtual machine to set up environment step by step following the setup guide. And then I try to test the connectivity of emulated topology. However Mininet is unable to connect to the POX controller.
Expected/Desired Behavior:
According to the guide, the POX terminal should output  the following when Mininet is connected:
INFO:openflow.of_01:[Con 1/249473472573510] Connected to e2-e5-11-b6-b0-46
DEBUG:.home.ubuntu.cs144_lab3.pox_module.cs144.ofhandler:Connection [Con 1/249473472573510]
DEBUG:.home.ubuntu.cs144_lab3.pox_module.cs144.srhandler:SRServerListener catch RouterInfo even, info={'eth3': ('<IP_ADDRESS>', '86:05:70:7e:eb:56', '10Gbps', 3), 'eth2': ('<IP_ADDRESS>', 'b2:9e:54:d8:9d:cd', '10Gbps', 2), 'eth1': ('<IP_ADDRESS>', '36:61:7c:4f:b6:7b', '10Gbps', 1)}, rtable=[]

Actual Behavior:
However, the Mininet seems never connect to POX.
And if I start the sr_solution application, the POX terminal shows following output:
INFO:root:Client has connected to the LTProtocol server (1 update connections now live)
DEBUG:.home.horacehxw.Project.cs144_lab3.pox_module.cs144.srhandler:Accepted client at <IP_ADDRESS>
DEBUG:.home.horacehxw.Project.cs144_lab3.pox_module.cs144.srhandler:recv VNS msg: AUTH_REPLY:  username=horacehxw
DEBUG:.home.horacehxw.Project.cs144_lab3.pox_module.cs144.srhandler:recv VNS msg: OPEN: topo_id=0 host=vrhost user=horacehxw
DEBUG:.home.horacehxw.Project.cs144_lab3.pox_module.cs144.srhandler:open-msg: 0, vrhost
DEBUG:.home.horacehxw.Project.cs144_lab3.pox_module.cs144.srhandler:interfaces not populated yet

And if I exit mininet and restart again, the POX terminal will continue output following message:
INFO:openflow.of_01:[Con 1/None] closing connection
WARNING:openflow.of_01:Bad OpenFlow version (6) on connection [Con 2/None]
INFO:openflow.of_01:[Con 2/None] closing connection
WARNING:openflow.of_01:Bad OpenFlow version (6) on connection [Con 3/None]
INFO:openflow.of_01:[Con 3/None] closing connection
WARNING:openflow.of_01:Bad OpenFlow version (6) on connection [Con 4/None]
INFO:openflow.of_01:[Con 4/None] closing connection
... ... ...

I think maybe there's version issue between Mininet, POX, and OpenFlow.
Detailed Steps to Reproduce the Behavior:
Using the clean Ubuntu 20.04 virtual machine.
Set Up Environment
sudo apt-get update
sudo apt-get install -y git vim-nox python-setuptools python-all-dev flex bison traceroute

cd ~
git clone git://github.com/mininet/mininet
cd mininet
./util/install.sh -fnv

cd ~
git clone http://github.com/noxrepo/pox
cd pox
git checkout f95dd1a81584d716823bbf565fa68254416af603

cd ~
git clone git://github.com/dound/ltprotocol.git
cd ltprotocol
sudo python setup.py install

cd ~
git clone<EMAIL_ADDRESS>cd cs144_lab3/
git checkout --track remotes/origin/standalone

cd ~/cs144_lab3
./config.sh

Test Connectivity
In one terminal, start Mininet emulation:
cd ~/cs144_lab3/
./run_mininet.sh

In another terminal, start POX controller:
cd ~/cs144_lab3/
ln -s ../pox
./run_pox.sh

Besides, there's no available AMI Image in Amazon "Oregon" region...

Hi, this is caused by the incompatibility of the OpenFlow version. As shown in
https://github.com/noxrepo/pox/blob/gar-experimental/pox/openflow/libopenflow_01.py#L4454
This can be solved by forcing the mininet controller(switch) to use OpenFlow1.0 by changing
https://bitbucket.org/huangty/cs144_lab3/src/4958006832a136f0cff61c86dcb8ee9d008e234d/lab3.py#lines-31
to
router = self.addSwitch( 'sw0' , protocols = ["OpenFlow10"])


HttpEndpoint in gateway implementation must be released

Hello,
According to Vert'x documentation, every used service reference (including HttpEndpointReference) must be eventually released.
http://vertx.io/docs/vertx-service-discovery/java/#_http_endpoints
However, you missed that step in your gateway implementation. In case of using HttpEndpointReference, it leads us to a bunch of established socket connections and, eventually, disability to create new connections whatsoever.

Same problem

Thanks for reporting this! I'll fix this and find a better approach to reuse the connections.

Maybe we should not retrieve service reference from service discovery during dispatching
doDispatch(context, newPath, discovery.getReference(client.get()).get(), future)

That leads us to create new Service Reference (and HttpClient inside this reference) every time. On the contrary, we must use the already created HttpClient, which can be obtained from the cache in method AbstractServiceReference.get()

Yes, we are refactoring the architecture of API Gateway at present. We'll make a better way to reuse the resources (maybe cached client pools) to improve performance.

There will be a huge change of the microservice architecture in next version. And any suggestions about the architecture design is welcome :-)


This is how you solve Torch installed w/out Cude

It's a procedural issue. The problem is that you have to install the cuda toolkit first:

conda create --name ifw
activate ifw
conda config --append channels nvidia
conda install -c nvidia cudatoolkit=11.8.0
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118

Done.

Did this fix for you?
Followed the above but got this error:
python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121
Looking in indexes: https://download.pytorch.org/whl/cu121
ERROR: Could not find a version that satisfies the requirement torch (from versions: none)
ERROR: No matching distribution found for torch

while trying this
insanely-fast-whisper --file-name /Volumes/20220/cit/2024-07-22-kow.wav
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Traceback (most recent call last):
  File "/Users/cd/.local/bin/insanely-fast-whisper", line 8, in <module>
    sys.exit(main())
  File "/Users/cd/.local/pipx/venvs/insanely-fast-whisper/lib/python3.10/site-packages/insanely_fast_whisper/cli.py", line 130, in main
    pipe = pipeline(
  File "/Users/cd/.local/pipx/venvs/insanely-fast-whisper/lib/python3.10/site-packages/transformers/pipelines/__init__.py", line 1097, in pipeline
    return pipeline_class(model=model, framework=framework, task=task, **kwargs)
  File "/Users/cd/.local/pipx/venvs/insanely-fast-whisper/lib/python3.10/site-packages/transformers/pipelines/automatic_speech_recognition.py", line 219, in __init__
    super().__init__(model, tokenizer, feature_extractor, device=device, torch_dtype=torch_dtype, **kwargs)
  File "/Users/cd/.local/pipx/venvs/insanely-fast-whisper/lib/python3.10/site-packages/transformers/pipelines/base.py", line 894, in __init__
    self.model.to(self.device)
  File "/Users/cd/.local/pipx/venvs/insanely-fast-whisper/lib/python3.10/site-packages/transformers/modeling_utils.py", line 2796, in to
    return super().to(*args, **kwargs)
  File "/Users/cd/.local/pipx/venvs/insanely-fast-whisper/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1173, in to
    return self._apply(convert)
  File "/Users/cd/.local/pipx/venvs/insanely-fast-whisper/lib/python3.10/site-packages/torch/nn/modules/module.py", line 779, in _apply
    module._apply(fn)
  File "/Users/cd/.local/pipx/venvs/insanely-fast-whisper/lib/python3.10/site-packages/torch/nn/modules/module.py", line 779, in _apply
    module._apply(fn)
  File "/Users/cd/.local/pipx/venvs/insanely-fast-whisper/lib/python3.10/site-packages/torch/nn/modules/module.py", line 779, in _apply
    module._apply(fn)
  File "/Users/cd/.local/pipx/venvs/insanely-fast-whisper/lib/python3.10/site-packages/torch/nn/modules/module.py", line 804, in _apply
    param_applied = fn(param)
  File "/Users/cd/.local/pipx/venvs/insanely-fast-whisper/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1159, in convert
    return t.to(
  File "/Users/cd/.local/pipx/venvs/insanely-fast-whisper/lib/python3.10/site-packages/torch/cuda/__init__.py", line 284, in _lazy_init
    raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

you must have Cuda installed on the system.. and be sure to be in the virtual environment
go to terminal and type nvidia-smi
that will check that you have the drivers installed. If it doesnt recognize then you dont have the driver installed.
Then type  nvcc --version
this will check if cudatoolkit is installed. It it cant finf then cudatoolkit is not installed.
If they do run the check the versions.   if yuo have 11.8 installed then 12.1 wont work. if that is the case you need to do
python -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
Here's a real easy and understandable tutorial to check your CUDA:
https://youtu.be/_GpyoEbs3Hs

Great thanks, I was trying without CUDA as the title of the thread said "without", else I am mistaken. Just trying this on Apple Silicon

Great thanks, I was trying without CUDA as the title of the thread said "without", else I am mistaken. Just trying this on Apple Silicon

oh .. lol that was mean to be all part of the error text. Glad it worked!
I walk new users through this stuff step by step at my youtube site. Im certain you'd find something helpful
www.youtube.com/@cognibuild


Create about-client-settings.md

Add detail for 'Show notifications for new deployments'
I realize this borders on self-documenting but I couldn't find anything in the existing docs that explained when these notifications appeared and for how long a deployment was considered new.  So if there's a better place for this info then by all means put it where it makes sense.  I looked for this info for some time until I eventually lucked out and came across Dune's tweet: https://twitter.com/DuneConfigured/status/803757867543105536

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

#sign-off

Thanks all!


Bug: Right-click menu issues when using two panes

Description
When using two panes in the same tab, the right-click menus in each pane disappear as soon as they appear.  This doesn't seem to happen when only one pane is used in a tab.
Steps To Reproduce

Open Files
Right-click on a folder to open it in a new pane.
In either pane, right-click to open the context menu

Requirements
Right-clicking to open the context menu should allow the menu to persist until an option in the menu is chosen.
Files Version
Files version <IP_ADDRESS>
Windows Version
Windows 11 22H2 OS Build: 22621.1265
Log file
debug.log

In either pane, right-click to open the context menu

This is working as expected for me but perhaps I misunderstood the issue, what happens when the menu opens?

The menu appears for maybe a second, I think I can see something about the
menu change and then it disappears completely without me having
left-clicked on any of the options.  The computer I was seeing this on was
running Windows 11.  When I tested in Windows 10 the issue did not occur.
It worked as expected.  I will repeat the test again on the Windows 11
computer and let you know what I find.
On Sat, Apr 8, 2023 at 9:34 PM Yair @.***> wrote:

In either pane, right-click to open the context menu
This is working as expected for me but perhaps I misunderstood the issue,
what happens when the menu opens?
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/12013#issuecomment-1501030410,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFNX5ABSNPRLR3ZES7A4DTXAIU5ZANCNFSM6AAAAAAWWXYQOY
.
You are receiving this because you authored the thread.Message ID:
@.***>

@nesretep I can't reproduce this on my end, but I wonder if the issues were resolved in the preview build, can you install the preview version and see if it's still an issue? https://files.community/download

@nesretep thank you for your feedback, this issue appears to be resolved in v2.4.66 but please let us know if it's still an issue after updating.


Feature/data attributes

PR Checklist
This PR fulfills the following requirements:

[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)
[ ] A changelog entry has been added to CHANGELOG.md if necessary

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] react application / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #100
What is the new behavior?
Accordion now accepts data-qa attribute.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information
Resolved issues

Unit tests updated to check for data-qa value.


Request for feedback: future direction for this module ⏫

We are evaluating the direction for v.next of this module and want your input.
We have a number of ideas for consideration, we may choose to implement some, all or none of these. When we mention the ALZ module, we are talking about the core ALZ components of management groups, policies and RBAC.
Ask
Please respond in the issue comments with feedback about the proposed changes, positive and negative. Please also use this thread to tell us about the overall experience of using the module.
Meet the ALZ Terraform product group
We are conducting research, if you have feedback on the module's future direction then we may want to speak to you. Please nominate yourselves if interested.
Current architecture
The module currently uses sub-modules as data providers for the core module, which deploys the resources.
flowchart LR
    main.tf-->ALZ
    subgraph module
        direction LR
        ALZ<-->connectivity
        ALZ<-->archetypes
        ALZ<-->management
    end

Proposal - More specific modules
flowchart LR
    main.tf-->ALZ
    main.tf-->hub&spoke
    main.tf-->vwan
    main.tf-->management

We have heard that some customers do not like that all resources are deployed by the same module. We are therefore considering the benefits of hosting a greater number of modules that are more focussed and that play nicely together. The advantage for us is that we can evolve them independently and they become easier to maintain and test. The disadvantage is that migration is complex.
Proposal - Simplify internal architecture
flowchart LR
    main.tf-->ALZ
    ALZ-->hub&spoke
    ALZ-->vwan
    ALZ-->management

Some of the internal workings of the module are complex and could be simplified. We are considering adopting a more traditional architecture and simplifying the core module, then potentially calling modules from within the core module. The advantage for us is that we can evolve them independently and they become easier to maintain and test. In this scenario we could support migration using the moved block.

Deploying everything from a single module doesnt really bother me as long as it works but i understand the challenge and would support the 2nd option. As a partner that uses these modules across many customers and tenants, lots of breaking changes and complex migration requirements does not appeal.

I would vote for "Proposal - More specific modules"

I'm in for the 2nd option as well for the following reasons:

As mentioned before by @birdnathan . You achieve your goal "The advantage for us is that we can evolve them independently and they become easier to maintain and test." and can still support (with "moved" block).
There is still one ALZ module, i.e. we have the choice to setup everything with one module call (alz) or separate them into different module calls (via alz or using the new modules directly).

Hu, hust to put my two cents in the discussion. We only consume the policies from the current module. As long as that is still easily consumable.......

The complexity of todays module is pretty big, and difficult to understand how thing fits together if you want to contribute or troubleshoot. If it was simpler and more straightforward I think more people would contribute.
Proposal regarding difficult to migrate if going for option 1:
Maybe we can use the moved {} block in the root module, and you can provide a template for the moved blocks in a migration guide?

The complexity of todays module is pretty big, and difficult to understand how thing fits together if you want to contribute or troubleshoot. If it was simpler and more straightforward I think more people would contribute.
Proposal regarding difficult to migrate if going for option 1: Maybe we can use the moved {} block in the root module, and you can provide a template for the moved blocks in a migration guide?

Thanks for the input @tlfzhylj,
Do you think if we just improved contribution docs with diagrams of where data flows etc, created some videos, and tidied up the code a little to make it simpler in places, this would address your feedback, instead of changing the modules?

Hu, hust to put my two cents in the discussion. We only consume the policies from the current module. As long as that is still easily consumable.......

Thanks @MarcelHeek for the input here.
Do you therefore just set deploy_management_resources & deploy_connectivity_resources to false?
What are your thoughts on how this part of the module works and is flexible today?
Does it bother/concern you that there are other functionality in the code base (management and connectivity stuff) that you will never use just hanging around in the module?
Let us know

The complexity of todays module is pretty big, and difficult to understand how thing fits together if you want to contribute or troubleshoot. If it was simpler and more straightforward I think more people would contribute.
Proposal regarding difficult to migrate if going for option 1: Maybe we can use the moved {} block in the root module, and you can provide a template for the moved blocks in a migration guide?

Thanks for the input @tlfzhylj,
Do you think if we just improved contribution docs with diagrams of where data flows etc, created some videos, and tidied up the code a little to make it simpler in places, this would address your feedback, instead of changing the modules?

No, it wasn't what I meant.
I absolutely think that the module should be re-architected, and I think both option 1 and 2 is good approaches. @matt-FFFFFF  wrote under option 1 that "The disadvantage is that migration is complex". As a possible solution to migration, maybe one approach could be to use moved blocks in the root module (in other words, the consumers Terraform code). If we in the root module use moved blocks, we could move resources in state from one module to another module.
A little difficult to explain. English is not my native language. But I hope you understand what I mean.

Hi, I totally understand what you mean. Thanks for your feedback. The option of a moved block in the caller's root module is something to consider :)

No, it wasn't what I meant.
I absolutely think that the module should be re-architected, and I think both option 1 and 2 is good approaches. @matt-FFFFFF wrote under option 1 that "The disadvantage is that migration is complex". As a possible solution to migration, maybe one approach could be to use moved blocks in the root module (in other words, the consumers Terraform code). If we in the root module use moved blocks, we could move resources in state from one module to another module.
A little difficult to explain. English is not my native language. But I hope you understand what I mean.

Hi @tlfzhylj I totally understand what you mean. Thanks for your feedback. The option of a moved block in the caller's root module is something to consider :)

I work at an MSP and we've taken an approach more similar to "Proposal - More specific modules".  We have separate Git repos for each of our TF modules and we tag commits with an incremented version number when they are ready for use.  We then have sample configs that deploy different aspects of an ALZ.  For instance; one for Management Groups, one for Identity subscription, for one a Connectivity subscription, for one a migrated IaaS workload, one for a greenfield AVD workload, etc.
We clone/fork these for customers when we do new deployments for them.  Our delivery guys can customise the configs as needed (for example, adding our App GW module to our sample IaaS config if need be).  It doesn't matter if we subsequently make breaking changes to resource specific modules as the cloned TF configs are pinned to the module versions they were using when they were forked/cloned.  But, if we want to update a customers configuration to use a newer version of our module for a VM (for example), we can change reference to that module and test it specifically before using it.
I've found that to be a simpler and more flexible approach than one larger ALZ module and seems to be working for us so far.  Some of it (especially azure policy) may have "borrowed heavily" though from this ALZ module!

I find the first solution most appealing. For me the idea of having smaller modules that are easier to maintain, develop and test has a higher positive effect then negative impact of the one-time migration job. In the long run it will result in a higher customer value for the users of this module. However, I do understand the pain and struggle for everyone that need to migrate and would suggest that you provide a good solution for those who needs it.
My thoughts are that if you continue with this complex module, you will after some time increase the technical dept and complexity to a level that is really hard to comprehend for the core team and for those who wants to contribute to the module.
For the comparison between the different solutions. For me it feels more clean to have specific modules that each developer can pick from, rather then a huge wrapper module. It is easier for management of the code and the terraform state from my experience. It also makes it easier to keep up to date with the different modules. If you always want the latest update from the ALZ module and management module you can easily do that while tagging the hub&spoke module to a specific release because network changes could have some unpleasant surprises. This is of course just an example of the flexibility of having different modules can offer. It just add the possibility for a more flexibility for the developers.
I have seen several cases where developers split their code into different parts (folders and/or repositories). They basically call the module 3 times, one time for management, connectivity, and identity. If I understood @davelee212, they use the same solution. I feel this solution is very clean and easy to maintain and fits more into the first solution then the second, since they are already split up.

Hu, hust to put my two cents in the discussion. We only consume the policies from the current module. As long as that is still easily consumable.......

Thanks @MarcelHeek for the input here.
Do you therefore just set deploy_management_resources & deploy_connectivity_resources to false?
What are your thoughts on how this part of the module works and is flexible today?
Does it bother/concern you that there are other functionality in the code base (management and connectivity stuff) that you will never use just hanging around in the module?
Let us know

@jtracey93 We actually did not set these variables as these are optionaland the default is set to false. We only have the deploy_core_landing_zones  = true variable set. We deployed the management/connectivity resources using the CAF supermodule, because our designed included vWAN and at the time vWAN feature was not ready yet for this module.
A separate module for the each component with seperate development would make more sense, perhaps this can speed up releasing for policy changes consumed from the Enterprise-Scale repository.

When I show people the current module they tend to have a first reaction of wanting to move away because they don't easily understand how the pieces fit together. I have gone down the rabbit hole now and don't think I could do any better with something we put together ourselves so tend to use the module in my gigs. I can turn off most features of the module, for example in the current deployment I use it just for policies by switching off the deployment of the core management groups and management/connectivity resources, and providing my own base management groups. Having the power to use standard policy definitions and switch to built-in archetypes if I want to is very powerful and is something I will miss if this module becomes abandoned. I wouldn't lose any sleep if the modules for the management and connectivity resources got moved, I very rarely use these features, especially on the connectivity side.

When I show people the current module they tend to have a first reaction of wanting to move away because they don't easily understand how the pieces fit together. I have gone down the rabbit hole now and don't think I could do any better with something we put together ourselves so tend to use the module in my gigs. I can turn off most features of the module, for example in the current deployment I use it just for policies by switching off the deployment of the core management groups and management/connectivity resources, and providing my own base management groups. Having the power to use standard policy definitions and switch to built-in archetypes if I want to is very powerful and is something I will miss if this module becomes abandoned. I wouldn't lose any sleep if the modules for the management and connectivity resources got moved, I very rarely use these features, especially on the connectivity side.

We certainly aren't abandoning it! Thanks for to e feedback.

I have not used this module as much as I would have liked, but I still had some thoughts when I tested it for possible utilization a while back.
Simplification would generally be a great improvement. I found the module to be rather complex. Instead of using all of it I opted for borrowing the logic I wanted to use (policies), and bastardized it somewhat to make it do what I wanted. If brownfield deployment was more clear, I might have used it in its entirety. Correct me if I am wrong, as I could have missed some recent documentation updates.
Of the proposed solutions I initially found the second proposal to be favorable. There are so many complex inner workings, as you put it somewhere, that I think it would be difficult to refactor them and share information between the modules. Some problems with dependencies or information sharing could emerge, and end up making things harder rather than simpler 🤔
After some thought I can see the benefits of calling the different pieces of code "on their own", much like it was done with the ALZ Bicep approach. 💪  I liked the orchestrator method, and enjoyed making my own there for a little while. It helped me understand the moving pieces better. For me it feels more natural to split these different parts in different states, which could be simpler with separate modules. Inter-connectivity and dependencies would be more challenging, but maybe that is outweighed by the better management 🤷♂
I guess my conclusion is both proposals would solve some pain points, and general simplification of the module itself would also help a whole lot. If it is doable, I suppose the first proposal could work well, as long as it doesn't require massive amounts of dependency mapping for anyone deploying it. This answer from @jtracey93 is spot on. More documentation, expanded contribution guide, and simplified code 👍
Can you shed some light on the probable roadmap for changes in this module time-wise? Do you have any concrete idea of when this next iteration could realistically be available? I have some designs in the to-do pile that might require a re-think if this module was drastically changed.

Thanks for all the contributions so far, we really appreciate it. To re-iterate, we see a bright future for this module and are working hard on shaping the next version. Migration is important to us and we want to make sure there's a path to upgrade.
One item we'd like feedback on is the use of a new provider. This would make the resultant HCL much simpler as the complex data processing will be performed in the provider, written in Go. This will make things much faster, more testable and would be easier to consume by the caller.
erDiagram
  "Customer /lib dir" ||--|| alz-provider : "read by"
  "main.tf" ||--}| alz-provider : "declared by"
  "main.tf" ||--}| archetypes-module : "calls"

To give an example of how this might look, please see some mock code below:
terraform {
  required_providers {
    alzlib = {
      source  = "Azure/alzlib"
      version = ">= 1.0.0"
    }
    azurerm = {
      source  = "hashicorp/azurerm"
      version = ">= 3.7.0"
    }
  }
}

# Declare provider config, point to custom lib directory
provider "azurerm" {
  features {}
}

provider "alzlib" {
  custom_lib_dir   = "./lib"
  # default location for, e.g. policy MIs
  default_location = "westeurope"
}

data "azurerm_client_config" "current" {}

# Declare root archetype, based on built-in root definition baked into provider
data "alzlib_archetype" "root" {
  base_archetype = "root"
  name           = "alz-root"
  display_name   = "ALZ root"
  parent_id      = data.azurerm_client_config.current.tenant_id
}

# Declare landing zones archetype, based on built-in landing-zones definition baked into provider
# but adding additional policy assignments
data "alzlib_archetype" "landing_zones" {
  base_archetype = "landing_zones"
  name          = "landing-zones"
  display_name  = "landing zones"
  parent_id     = data.alzlib_archetype.root.name

  policy_assignment_additions  = ["my-assignment"]
  policy_assignment_parameters = {
    my-assignment = {
      myParameter = "this"
    }
  }
}

# Declare custom archetype, based on built-in empty definition baked into provider
# adding everything necessary
data "alzlib_archetype" "custom" {
  base_archetype = "empty"
  name           = "custom"
  display_name   = "custom"
  parent_id      = data.alzlib_archetype.landing_zones.name

  policy_assignment_additions  = ["my-assignment2", "myassignment3"]
  policy_assignment_parameters = {
    my-assignment2 = {
      myParameter = true
    }
  }
}

# create root management group and policy/roles
module "archetype_root" {
  source       = "./modules/archetype"
  archetype    = data.alzlib_archetype.root
}

# create landing-zones management group and policy/roles
module "archetype_landing_zones" {
  source       = "./modules/archetype"
  archetype    = data.alzlib_archetype.root
}

# create custom management group and policy/roles
module "archetype_custom" {
  source       = "./modules/archetype"
  archetype    = data.alzlib_archetype.custom
}

@birdnathan @mw8er @MarcelHeek @tlfzhylj @davelee212 @hlokensgard @adhodgson1 @torivara @jtracey93

I would leave the compliance management in the ALZ module to manage the management group structure, policies, initiatives, assignments, RBAC to Management groups...
Networking, management, identity and security are external dependencies that are injected as needed as input parameters to the ALZ module's policy parameters, access_control or others. Therefore most of the time they have to be created before you can deploy the compliance management.
If you decouple it that way it will leave the end-customer with more options on how to structure the platform services to deploy in the platform landingzones. It will also help with day 2 activities managed most of the time by different teams in large enterprise customers. For instance, it would segregate identity changes from networking firewall rules or route table entries.
With that approach:

Identity would focus on privilege access management, domain controllers in VM or PaaS, lighthouse (for partners)
Connectivity for all networking core components including ISV networking appliances.
Management for all ops, security and audit related services

I like the idea of moving the artefact management within a provider and expose them as data sources. It will simplify a lot the graph. You can also explore how to include (or combine - happy to help here) the CAF naming provider to provide a single provider to name resources - https://registry.terraform.io/providers/aztfmod/azurecaf/1.2.24-preview/docs/data-sources/azurecaf_name
My last point is to pay attention to the migration. Not sure the current moved block as it stands today would be enough. Would this split of modules result to multiple tfstates? Would you keep the structure of the current tfvars the same or would this migration also require a change in the tfvars as well?
So more in favour of option 1 to support dependency injection of external resources into the ALZ module and don't forget identity!

Locking issue - thank you all for you feedback! We really ap[preciate it


AT commands

is there any way to SEND remote AT command from MCU mode,
i need to execute some AT commands while code executing ?

Yes, the thinking is, use the rpc framework to send rpc call to the remote side, and then do things (like operating IOs or I2C bus) in the proc at remote side.

sorry but what i mean is can i execute local at command from MCU mode. like create network and join network .
On Monday, April 11, 2016 4:21 AM, Jack Shao<EMAIL_ADDRESS>wrote:

Yes, the thinking is, use the rpc framework to send rpc call to the remote side, and then do things (like operating IOs or I2C bus) in the proc at remote side.—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

Afraid not. These operations can be executed no need of at commands, you can call the zigbee sdk directly.


doccumentation is not updates with available version

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

[ ] The relevant Azure service or technology.
[ ] A link to the published documentation article that you have feedback about.
[ ] Clear, specific feedback that the author can act on.

Pull requests and article contributions
If you know the change that is needed in an article, we encourage you to submit the changes directly using a pull request. If the change is large, or if you want to contribute an entire article, follow these guidelines:

[ ] Don't surprise us with a big pull request or a pull request with a new article! Submit an issue that describes the details of the proposed large change or new article.
[ ] Include the service or technology area.

We'll route the issue to the appropriate content team for review and discussion.
Tech support and product feedback
If you would like to contact Microsoft about other things, such as product feedback or tech support, please review these guidelines:

If you need technical support using Azure, the paid and free support options are described here: https://azure.microsoft.com/support/options/.

Each article in the Azure technical documentation contains a product feedback button - it's best to submit product feedback directly from a relevant article. Otherwise, you can submit product feedback for most Azure products in the following product feedback forum: https://feedback.azure.com/forums/34192--general-feedback.

@rohitBaravkar, Could you please share the document that you're referring to? And, kindly provide more details on your query/scenario.

@rohitBaravkar, Just checking in to see if you have had a chance to see the previous response. Could you please provide the requested information to assist you further?

@rohitBaravkar, Since we have not heard back from you we will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly reopen the issue and continue the discussion.


Broadcast to 0 peers on nil peers arg

It was too easy to write bugs where the gateway to broadcast to all peers if no peers matched the filtering criteria. For example the following would broadcast to all peers if there were no peers >=v0.4.7
var v047AndAbove []modules.Peer
for _, p := range tp.gateway.Peers() {
        if build.VersionCmp(p.Version, "0.4.7") >= 0 {
                v047AndAbove = append(v047AndAbove, p)
        }
}
go tp.gateway.Broadcast("RelayTransactionSet", ts, v047AndAbove)

Also add the connection address to the log output when an RPC fails

Done


ng serve error

when I run ng serve use angular cli 6.0.8 error come out as following:
95% emitting LicenseWebpackPluginError: ENOENT: no such file or directory, open 'E:\working\project\cloud-web-new\node_modules\_@angular_common@6.0.4@@angular\package.json'
    at Object.fs.openSync (fs.js:646:18)
    at Object.fs.readFileSync (fs.js:551:33)
    at LicenseExtractor.readPackageJson (E:\working\project\cloud-web-new\node_modules\_license-webpack-plugin@1.3.1@license-webpack-plugin\dist\LicenseExtractor.js:126:23)
    at LicenseExtractor.parsePackage (E:\working\project\cloud-web-new\node_modules\_license-webpack-plugin@1.3.1@license-webpack-plugin\dist\LicenseExtractor.js:23:32)
    at ModuleProcessor.processPackage (E:\working\project\cloud-web-new\node_modules\_license-webpack-plugin@1.3.1@license-webpack-plugin\dist\ModuleProcessor.js:39:46)
    at ModuleProcessor.processFile (E:\working\project\cloud-web-new\node_modules\_license-webpack-plugin@1.3.1@license-webpack-plugin\dist\ModuleProcessor.js:36:21)
    at fileCallback (E:\working\project\cloud-web-new\node_modules\_license-webpack-plugin@1.3.1@license-webpack-plugin\dist\LicenseWebpackPlugin.js:101:61)
    at moduleCallback (E:\working\project\cloud-web-new\node_modules\_license-webpack-plugin@1.3.1@license-webpack-plugin\dist\LicenseWebpackPlugin.js:108:21)    at E:\working\project\cloud-web-new\node_modules\_license-webpack-plugin@1.3.1@license-webpack-plugin\dist\LicenseWebpackPlugin.js:120:29
    at Array.forEach (<anonymous>)
    at emitCallback (E:\working\project\cloud-web-new\node_modules\_license-webpack-plugin@1.3.1@license-webpack-plugin\dist\LicenseWebpackPlugin.js:86:32)
    at _err0 (eval at create (E:\working\project\cloud-web-new\node_modules\_tapable@1.0.0@tapable\lib\HookCodeFactory.js:24:12), <anonymous>:19:1)
    at callback (E:\working\project\cloud-web-new\node_modules\_copy-webpack-plugin@4.5.1@copy-webpack-plugin\dist\index.js:77:17)
    at E:\working\project\cloud-web-new\node_modules\_copy-webpack-plugin@4.5.1@copy-webpack-plugin\dist\index.js:118:24
    at <anonymous>

here is my package.json
{
  "name": "cloud-web-new",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^6.0.3",
    "@angular/common": "^6.0.3",
    "@angular/compiler": "^6.0.3",
    "@angular/core": "^6.0.3",
    "@angular/forms": "^6.0.3",
    "@angular/http": "^6.0.3",
    "@angular/platform-browser": "^6.0.3",
    "@angular/platform-browser-dynamic": "^6.0.3",
    "@angular/router": "^6.0.3",
    "core-js": "^2.5.4",
    "rxjs": "^6.0.0",
    "zone.js": "^0.8.26"
  },
  "devDependencies": {
    "@angular-devkit/build-angular": "~0.6.8",
    "@angular/cli": "~6.0.8",
    "@angular/common": "^6.0.5",
    "@angular/compiler-cli": "^6.0.3",
    "@angular/language-service": "^6.0.3",
    "@types/jasmine": "~2.8.6",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~8.9.4",
    "codelyzer": "~4.2.1",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~1.7.1",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.0",
    "karma-jasmine": "~1.1.1",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.3.0",
    "ts-node": "~5.0.1",
    "tslint": "~5.9.1",
    "typescript": "~2.7.2"
  }
}

Me too

Me too

Same here, anymore have found a solution ?

Install with yarn can be OK

This seems like a bug but we'll need to look at a reproduction to find and fix the problem. Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.

I'm sorry, but we can't reproduce the problem following the instructions you provided.
Remember that we have a large number of issues to resolve, and have only a limited amount of time to reproduce your issue.
Short, explicit instructions make it much more likely we'll be able to reproduce the problem so we can fix it.
If the problem persists, please open a new issue following our submission guidelines.
A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.


python312Packages.tensorflow-probability: 0.24.0 -> 0.25.0

Things done
Changelog: https://github.com/tensorflow/probability/releases/tag/v0.25.0

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 355007

x86_64-linux

:white_check_mark: 14 packages built:

python311Packages.bambi
python311Packages.bambi.dist
python311Packages.distrax
python311Packages.distrax.dist
python311Packages.oryx
python311Packages.oryx.dist
python311Packages.pymc
python311Packages.pymc.dist
python311Packages.pytensor
python311Packages.pytensor.dist
python311Packages.rlax
python311Packages.rlax.dist
python311Packages.tensorflow-probability
python311Packages.tensorflow-probability.dist

aarch64-linux

:white_check_mark: 14 packages built:

python311Packages.bambi
python311Packages.bambi.dist
python311Packages.distrax
python311Packages.distrax.dist
python311Packages.oryx
python311Packages.oryx.dist
python311Packages.pymc
python311Packages.pymc.dist
python311Packages.pytensor
python311Packages.pytensor.dist
python311Packages.rlax
python311Packages.rlax.dist
python311Packages.tensorflow-probability
python311Packages.tensorflow-probability.dist

x86_64-darwin

:fast_forward: 10 packages marked as broken and skipped:

python311Packages.bambi
python311Packages.bambi.dist
python311Packages.oryx
python311Packages.oryx.dist
python311Packages.pymc
python311Packages.pymc.dist
python311Packages.pytensor
python311Packages.pytensor.dist
python311Packages.tensorflow-probability
python311Packages.tensorflow-probability.dist

aarch64-darwin

:fast_forward: 14 packages marked as broken and skipped:

python311Packages.bambi
python311Packages.bambi.dist
python311Packages.distrax
python311Packages.distrax.dist
python311Packages.oryx
python311Packages.oryx.dist
python311Packages.pymc
python311Packages.pymc.dist
python311Packages.pytensor
python311Packages.pytensor.dist
python311Packages.rlax
python311Packages.rlax.dist
python311Packages.tensorflow-probability
python311Packages.tensorflow-probability.dist


chore(package): update nyc to version 10.3.2

Codecov Report

Merging #110 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #110   +/-   ##
======================================
  Coverage    97.5%   97.5%
======================================
  Files           1       1
  Lines         120     120
======================================
  Hits          117     117
  Misses          3       3

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 90ac334...7beafd2. Read the comment docs.


URI based modules should be loaded using the FileSystem parsePath(URI)

consider the following script:
import ms from 'https://unpkg.com/@esm/ms';
// not really important after this line
// it's just to ensure that no code elimination
// hapens
console.log(ms('2 days'));

When using a custom FileSystem the module string path will be passed to the API method:
public Path parsePath(String path) {
  // path will be: "https://unpkg.com/@esm/ms"
  ...
}

Instead of:
public Path parsePath(URI uri) {
  // never called
  ...
}

As URIs are valid for module locations the correct FileSystem method should be invoked. Also the API contract states that parsePath(String) should be invoked for resources with schema file which isn't the case in this example.

Thanks for the report! Should be fixed by https://github.com/graalvm/graaljs/commit/b978c76b59cc9fc90e30cd6599c21f6e1ab35b5e

@pmlopes Did you have to implement a custom file system that supports https to get this to work?

Hi, not yet, it's on my to-do list. I do have a custom filesystem but this method wasn't working. So I still need to implement it now

OK, no worries. There's some discussion in the issue linked above.

@eleinadani This still doesn't seem to work in 20.2 despite your fix. com.oracle.truffle.js.runtime.objects.DefaultESModuleLoader#resolveImportedModule refuses to try and parse the path as a URI and instead calls resolveSibling().
This is with a custom FS and URI scheme.
Error in script "": java.nio.file.InvalidPathException: Illegal char <:> at index 9: filestore://public/nashorn_import.js
org.graalvm.polyglot.PolyglotException: java.nio.file.InvalidPathException: Illegal char <:> at index 9: filestore://public/nashorn_import.js
	at java.base/sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
	at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
	at java.base/sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
	at java.base/sun.nio.fs.WindowsPath.parse(WindowsPath.java:92)
	at java.base/sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:229)
	at java.base/java.nio.file.Path.resolveSibling(Path.java:574)
	at com.oracle.truffle.api.TruffleFile.resolveSibling(TruffleFile.java:595)
	at com.oracle.truffle.js.runtime.objects.DefaultESModuleLoader.resolveImportedModule(DefaultESModuleLoader.java:98)

I think your tests work because the source is not a file?


UniformTypeIdentifiers not loaded (MacOS)

The GUI (version Intel (x86) installed from the .io) under macOS Catalina (10.15.7) updated, and now won't launch anymore on my MacBook Pro (I had no issues to use it last week).
It blocks at:
"There was an error trying to run the install (null)."
When running the keybase command, it seems a lib is not loaded:
➜  ~ keybase
dyld: Library not loaded: /System/Library/Frameworks/UniformTypeIdentifiers.framework/Versions/A/UniformTypeIdentifiers
  Referenced from: /usr/local/bin/keybase
  Reason: image not found
[1]    1782 abort      keybase

Running keybase log send produces the same output.
Looking further, /System/Library/Frameworks/UniformTypeIdentifiers.framework/ is actually not existing on my system, so I am puzzled on why Keybase would need to now load it...

same

Solved in #2802
https://github.com/keybase/client/issues/2802#issuecomment-1036617417

same problem, but i not have keybase
><EMAIL_ADDRESS>start
> electron-forge start

✔ Checking your system
✔ Locating application
✔ Loading configuration
✔ Preparing native dependencies [0.2s]
✔ Running generateAssets hook

dyld: Library not loaded: /System/Library/Frameworks/UniformTypeIdentifiers.framework/Versions/A/UniformTypeIdentifiers
  Referenced from: /Users/antwal/Projects/orders-invoices/orders-invoices/node_modules/electron/dist/Electron.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
  Reason: image not found


Week 6 Tutorial 2 Individual Task (tutorial-adding-command)

Codecov Report

Merging #2 (acdbe65) into master (18c89c9) will decrease coverage by 0.55%.
The diff coverage is 64.61%.

@@             Coverage Diff              @@
##             master       #2      +/-   ##
============================================
- Coverage     72.15%   71.60%   -0.56%
- Complexity      399      409      +10
============================================
  Files            70       73       +3
  Lines          1232     1289      +57
  Branches        125      131       +6
============================================
+ Hits            889      923      +34
- Misses          311      333      +22
- Partials         32       33       +1

Impacted Files
Coverage Δ

.../seedu/address/logic/parser/AddressBookParser.java
88.88% <0.00%> (-11.12%)
:arrow_down:

...eedu/address/logic/parser/RemarkCommandParser.java
0.00% <0.00%> (ø)

src/main/java/seedu/address/ui/PersonCard.java
0.00% <0.00%> (ø)

...c/main/java/seedu/address/model/person/Remark.java
62.50% <62.50%> (ø)

...va/seedu/address/logic/commands/RemarkCommand.java
70.83% <70.83%> (ø)

...c/main/java/seedu/address/model/person/Person.java
97.82% <85.71%> (+0.20%)
:arrow_up:

...java/seedu/address/logic/commands/EditCommand.java
97.05% <100.00%> (+0.04%)
:arrow_up:

...a/seedu/address/logic/parser/AddCommandParser.java
100.00% <100.00%> (ø)

...ain/java/seedu/address/logic/parser/CliSyntax.java
85.71% <100.00%> (+2.38%)
:arrow_up:

.../java/seedu/address/model/util/SampleDataUtil.java
25.00% <100.00%> (+5.00%)
:arrow_up:

... and 2 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Minor cleanup

Stripped extra spaces at end of lines
PEP8 fixes
Changed tabs to spaces

Thanks for sending the pull and apologies it took a little while to get to--I actually resolved this a bit earlier with Python 3 porting and swapped whitespace over to spaces instead of tabs, pep8, etc.  Thanks again for contributing!


Android Basics: LiveData

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-training-livedata?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-3-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-livedata#7
Describe the problem
There's a typo of "game_fragment.xml" at the top of Step 8: Add data binding variables

@M-Phuykong
Thank you so much for reporting this issue. This is fixed and will be published soon.


Update SDKs to support Generator Steps

At the moment all SDKs support image contract in terms of signaling when a step is ready to process messages, and accepting incoming messages from a source. It would be great if the SDKs would help build generator step, where a "handler" function would not accept any input, and could return multiple values over time.
Unless you have some objections to extending SDKs that way I was thinking about working on it.

I think this is a great idea.


mypy stuck with pydantic v2

Initial Checks

[X] I confirm that I'm using Pydantic V2 installed directly from the main branch, or equivalent

Description
mypy stuck with pydantic v2.
mypy test_pydantic.py

Will mypy still be supported in the future?
Example Code
from pydantic import BaseModel

class Test(BaseModel):
    a: int
    b: str

print(Test(a=1, b="string"))

Python, Pydantic & OS Version
pydantic version: 2.0a1
install path: D:\workspace\test\venv\Lib\site-packages\pydantic
python version: 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:57:54) [MSC v.1924 64 bit (AMD64)]
platform: Windows-10-10.0.22621-SP0
optional deps. installed: ['typing-extensions']

It’s very slow when analyzing pydantic core. @samuelcolvin @adriangb I can’t remember did we have an idea of how to put something in place so it wasn’t slow by default? (I’m assuming we didn’t do this yet)

Ye mypy is still supported, but it has know performance issues, you need to always run with --disable-recursive-aliases.
You can get further performance improvements by adding the following to you config:
https://github.com/pydantic/pydantic/blob/0cd57b3e0c75d9622012de542e5ddc110fe55743/.mypy-configs/fast.toml#L32-L34
You can remove the "devtools" bit, it's pydantic-core that's killing the performance.


Add ability to set cocoapods version

What would you like to be added
I would like to have ability to provide cocoapods version to use.
Why is this needed
I have update my project to new Firebase SDK ^v4 and I got this error in ci run:
[!] The version of CocoaPods used to generate the lockfile (1.10.1) is higher than the version of the current executable (1.8.4). Incompatibility issues may arise.
...
[!] `FirebaseAnalytics` requires CocoaPods version `>= 1.10.0`, which is not satisfied by your current version, `1.8.4`.

The version of CocoaPods that is used is tied to the Xcode version in the CircleCI macOS executor that is used. It is already possible to configure that and the values you can use are documented here:
https://circleci.com/docs/2.0/testing-ios/#supported-xcode-versions
The default versions that were being used with this Orb were pretty out of date, so I've released v5.0.0 which updated Xcode to 12.4, CocoaPods to 1.10.1, and Node.js to 12. Either using the new defaults, or setting them yourself with the executor settings will solve your issue.

Hi @matt-oakes ,
Problem is that I require the latest version of Cocoapod (1.11.0) which isn't already installed in any of the Xcode versions. Circle CI recommends an alternate way of defining Cocoapod version in the iOS Podfile but that isn't picked up by this orb


(WIP) don't merge

Signed-off-by: Adam Burdett<EMAIL_ADDRESS>

#69

because of the code reuse, this PR is working from invitations PR, that is this PR includes all the changes in invitations PR.


Cannot read properties of undefined (reading 'length')

Hello getting following error:
TypeError
Cannot read properties of undefined (reading 'length')
shuffleList
https://xe8zh1.csb.app/node_modules/linear-regression-ts/dist/utils.js:6:31
trainAndTestSets
https://xe8zh1.csb.app/node_modules/linear-regression-ts/dist/index.js:19:72
App
/src/App.js:94:78
  91 | // Create train and test sets. One column for one feature.
  92 | const x = [[0, 1], [1, 2], [2, 3], [3, 4], [4, 5], [5, 6], [6, 7], [7, 8], [9, 10], [10, 11]]
  93 | const y = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
> 94 | const { trainValues, testValues, trainLabels, testLabels } = trainAndTestSets({ x, y, ratio: 0.7 })

Hi @simonitfi
Thank you for reporting. My apologies, the README was outdated and the parameter names didn't match the current code.  Note also some other changes that were made to the README. Now published a new version to npm.

Hello,
Thank you for quick reply. I’m new on these functions, and I’m trying to predict time when temperature will reach the target (for example 30.0) with data where is current temperature increments with timestamp and  temperature. Like this:
const data = [
[1665832383,23.1],
[1665832391,23.2],
[1665832424,23.3],
[1665832688,23.4],
[1665832689,23.5],
[1665832692,23.5],
[1665832697,23.6],
[1665832711,23.7],
[1665832722,23.8],
[1665832727,23.7],
];
Could you point me out, how should I put the  values to this concept:
const x = [[0, 1], [1, 2], [2, 3], [3, 4], [4, 5], [5, 6], [6, 7], [7, 8], [9, 10], [10, 11]]
const y = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
I tried some variation without any luck.
Ystävällisin terveisin / Best regards
Simo Suurla
From: Olli Glorioso @.>
Sent: keskiviikko 19. lokakuuta 2022 10.08
To: olliglorioso/linear-regression-ts @.>
Cc: Simo Suurla @.>; Mention @.>
Subject: Re: [olliglorioso/linear-regression-ts] Cannot read properties of undefined (reading 'length') (Issue #6)
Hi @simonitfihttps://github.com/simonitfi
Thank you for reporting. My apologies, the README was outdated and the parameter names didn't match the current code. Note also some other changes that were made to the README. Now published a new version to npm.
—
Reply to this email directly, view it on GitHubhttps://github.com/olliglorioso/linear-regression-ts/issues/6#issuecomment-1283533833, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFRX4MAPNBNUZ42KVFUI3XLWD6M5NANCNFSM6AAAAAARIYQIKI.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hi,
I got some results with the following parameters with your data:
const x = [
    [1665832383],
    [1665832391],
    [1665832424],
    [1665832688],
    [1665832689],
    [1665832692],
    [1665832697],
    [1665832711],
    [1665832722],
    [1665832727],
];
const y = [
    23.1,
    23.2,
    23.3,
    23.4,
    23.5,
    23.5,
    23.6,
    23.7,
    23.8,
    23.7,
];

const iterations = 50000000
const learningRate1 = 0.0000000000000000000000001

Inputs are in the format [[feature1, feature2, ...], [feature1, feature2, ...], ...] where one row is one measurement. In your case, you have only one feature, which is the temperature. The labels are in the format [label1, label2, ...] where one row (also one element in the list) is the label for corresponding measurement.
As your dataset is very small and for every little change in the timestamp there is huge leap in the temperatures, the results are pretty bad.
Console output is the following:

Overrall, I think your dataset would be more realistic, if the measurements were for example 10 minutes per temperature, since I the temperature doesn't really change in the matter of milliseconds like in your dataset. I tried to use these values:
const x = [
    [10],
    [20],
    [30],
    [40],
    [50],
    [60],
    [70],
    [80],
    [90],
    [100],
];
const y = [
    23.1,
    23.2,
    23.3,
    23.4,
    23.5,
    23.5,
    23.6,
    23.7,
    23.8,
    23.7,
];
//stuff here
const iterations = 500000
const learningRate1 = 0.0001

With the following console output:

This seems to work a lot better. For better results use bigger iteration amount and maybe a bit smaller learningRate1.

I close this issue but you can still ask for help in this ticket.

Hello,
yes, thank you, you are right, I could use seconds after initial value, so then the timestamp is much smaller value. Anyway, now I'm looking how to predict the time for the temperature reach for example 60 degrees.
` // Create train and test sets. One column for one feature.
const {
trainValues,
testValues,
trainLabels,
testLabels
} = trainAndTestSets({ inputs: timeA, labels: data, ratio: 50 });
// Initialize the untrain
const lr2 = new LinearRegression({
inputs: trainValues,
labels: trainLabels
});
// Train the model.
const iterations = 500000;
const learningRate1 = 0.0001;
const logging = true;
const optimizeStartingWeights = true;
const { intercept, slopes, error } = lr2.fit({
iterations,
learningRate: learningRate1,
logging,
optimizeStartingWeights
});
// Set custom intercept and slope. Let's set the ones we got previously.
lr2.setModel({ slopes, intercept });
// Test the model, and get the evaluation of its performance.
const { mse, mae } = lr2.scores({ testValues, testLabels });
console.log("MSE", mse, "MAE " + mae);
// Predict unknown values.
const predictions = lr2.predict({ inputs: testValues });
let a = 0;
for (const i of predictions) {
console.log("Prediction:", i, "Real value:", testLabels[a]);
a++;
}
let arr = [];
arr.push([60]);
const pre = lr2.predict({ inputs: arr });
console.log("predict", pre);`
Getting output:
MSE 0.00844291362767976 MAE 0.07464651829474889  Prediction: 23.831565743949085 Real value: 23.7 Prediction: 23.295201910285815 Real value: 23.3 Prediction: 23.02701999345418 Real value: 23.2 Prediction: 23.56338382711745 Real value: 23.5 Prediction: 23.42929286870163 Real value: 23.4 Prediction: 23.65277779939466 Real value: 23.6 Prediction: 23.161110951869997 Real value: 23.2 Prediction: 23.071716979592786 Real value: 23.2 Prediction: 23.518686840978845 Real value: 23.5 Prediction: 23.2058079380086 Real value: 23.1 predict {}
the  lr2.predict({ inputs: arr }) does not return anything? Please any ideas?

Hi @simonitfi
The predict-function returns a generator as the types suggest:

so you have to loop through it with code such as
for (const a of pre) console.log(a)

Maybe I should add an option to choose whether the user wants to get the values as a generator or list.
In addition, to get the time when your predictions reach 60 degrees, you have to give the times as a label, and then search for the prediction of 60 degrees. So like the other way around, you tried to give the temperature as a input and get the time. So something like this in the end of your code:
let arr = [];
for (const i of [...Array(1000).keys()]) {
  arr.push([i])
}

let b = 0
const pre = lr2.predict({ inputs: arr });
for (const i of pre) {
  console.log(i, "seconds is", b)
  b++
}
console.log("predict", pre);

I could also implement this kind of feature to this module.

Hi,
this would be nice if you add that, so no need to try to find close value.
Anyway, tried your suggestion for predicting multiple values, anyway result is strange with following training data.
const train = [
  [0, 23.2],
  [30, 23.2],
  [50, 23.1],
  [70, 23.2],
  [80, 23.1],
  [90, 23.2],
  [100, 23.3],
  [120, 23.4],
  [130, 23.4],
  [150, 23.4],
  [160, 23.5],
  [180, 23.5],
  [190, 23.5],
  [220, 23.6],
  [230, 23.6],
  [240, 23.7],
  [260, 23.7],
  [290, 23.8],
  [300, 23.7]
];

const time = train.map((d) => d[0]);
const data = train.map((d) => d[1]);
let timeA = [];

for (const item in time) {
  timeA.push([item]);
}
const {
  trainValues,
  testValues,
  trainLabels,
  testLabels
} = trainAndTestSets({ inputs: timeA, labels: data, ratio: 50 });

for example:
44.474008209040164 "seconds is" 599
so doubling the time will result from 23.7 -> 44.4?

I'm quite buzy days today and tomorrow, so I'll respond you on Tuesday probably.

I'm quite buzy days today and tomorrow, so I'll respond you on Tuesday probably.

Okay, no worries :)


Can we implement UPI deeplink to a website?

Hello sir,
I know invoking a UPI app from a deeplink placed in a website is not an issue, but, can the Web site receive the payment status (successful/failed/submitted) response from the UPI app? It works between two native app, but will it work between one Website and a UPI app?

Refer page 12 of Latest publicly availble UPI Deeplinking specification. For more details, please check with your partner PSP / bank.


[pg] Handle BAD_SESSION status

Run on ydb-local https://github.com/ydb-platform/ydb/wiki/Local-run-postgres-tests
echo "asd; SELECT 1" | psql postgres://root:1234@localhost:5432/local

Result:
Status: INTERNAL_ERROR
Issues:
<main>: Error: Error while parsing query.
    <main>:1:2: Error: ERROR:  syntax error at or near "asd"

Status: BAD_SESSION
Issues:
<main>: Error: Session not found: ydb://session/3?node_id=1&id=NTg3ODA5ZDItYWJiMTcwODEtOWFmYzNkNDAtZTVjM2U2YjI=

Expected behaviour: Close TCP connection after INTERNAL_ERROR (better) or BAD_SESSION (acceptable) - as signal for client for reconnect.
Reason:
Now client library can't continue to work and will always receive error for died session, but can't know about it because connection alive.

could you please fill in some details? it's not clear to me

Duplicate of  to https://github.com/ydb-platform/ydb/issues/2898


Replace default-detekt-config.yml with generated one

This is a follow up of #590 and contains the same changes atm. Let's merge #590 first. Once that is merged this one should be good to go.
This adds an additional output path to the generator and points it to the detekt-cli/src/main/resources directory so that the generated config replaces the currently manually maintained one.
As the generated config is sorted by the order of rules how they are specified in the RuleSetProviders the config will get reformatted in this PR.
Due to #590 the config will automatically get updated every time the detekt-rules module gets built.
TODO: I still need to rebase this after #590 is merged and then update the final generated config as this currently is missing a bunch of changes still.

Added a TODO to the description. I still need to rebase this once we have merged #590

#590 is merged!

Rebased and updated the config with the generated one 🎉

Thanks for the change! Great work!


Expose rez "--strict" option as a "+" option on suite tools

Title says it all.

Ooh ooh, that's me!


Prevent usage of SSH persistent connections

Deployment sometimes get stuck on "Pushed system closure" if SSH control master already exists for the connection to make.
This is more like a bug in the nix SSH implementation which is usually mitigated by setting these options in NIX_SSHOPTS.

I too ran into 'Deployment sometimes get stuck on "Pushed system closure"' an awful lot and as a short-term measure simply removed persistent connections from my ssh config.

I'm getting the issues too, but since many of my system use Security Key based pubkey auth the ControlMaster feature is super helpful for not pressing my Yubikey constantly.
Have the ControlMaster forcefully disabled would break my setup.
But I do run into the reported issue too. I have not tested/ tuned this, but from past experiences SSH default config is rather bad at detecting connections that got closed on the server side by a reboot.
Possibly tuning the KeepAlive SSH settings would solve the reported problem without needing to disable the ControlMaster?

Is this related?


Create dataset softcatala_catext

uid: softcatala_catext
type: processed
description:

name: Softcatalà Catext
description: This repository collects some public domain sentences in Catalan language.
homepage: https://github.com/Softcatala/ca-text-corpus
validated: True

languages:

language_names:

Catalan

language_comments:
language_locations:

Southern Europe
Spain

validated: False

custodian:

name: Softcatala
in_catalogue:
type: A nonprofit/NGO (other)
location: Spain
contact_name: Softcatalà Catext
contact_email:
contact_submitter: False
additional: https://www.softcatala.org/
validated: False

availability:

procurement:

for_download: Yes - it has a direct download link or links
download_url: https://github.com/Softcatala/ca-text-corpus
download_email:

licensing:

has_licenses: Yes
license_text:
license_properties:

public domain

license_list:

cc0-1.0: Creative Commons Zero v1.0 Universal

pii:

has_pii: No
generic_pii_likely:
generic_pii_list:
numeric_pii_likely:
numeric_pii_list:
sensitive_pii_likely:
sensitive_pii_list:
no_pii_justification_class: other
no_pii_justification_text: Selected sentences

validated: False

processed_from_primary:

from_primary: Taken from primary source
primary_availability: No - the dataset curators describe the primary sources but they are fully private
primary_license:
primary_types:
validated: False
from_primary_entries:

media:

category:

text

text_format:

.TXT

audiovisual_format:
image_format:
database_format:
text_is_transcribed: No
instance_type: sentence
instance_count: 1K<n<10K
instance_size: 100<n<10,000
validated: False

fname: softcatala_catext.json

DONE: https://huggingface.co/datasets/softcatala/ca_text_corpus

#self-assign

Done: https://huggingface.co/datasets/bigscience-catalogue-lm-data/lm_ca_ca_text_corpus

Thanks @lhoestq.


212-Word-Search-II.py Implement removeWord

In question 212 word search II, removeWord is required to pass the newer test case on Leetcode due to longer lists of words and the same time limit.

I came to check if there were any other pull requests before I made my own.
Here's my implementation if there is any preference:
 def pruneWord(self, word) -> None:
    cur: TrieNode = self
    nodeAndChildKey: list[tuple[TrieNode, str]] = []
    for char in word:
        nodeAndChildKey.append((cur, char))
        cur = cur.children[char]

    for parentNode, childKey in reversed(nodeAndChildKey):
        targetNode = parentNode.children[childKey]
        if len(targetNode.children) == 0:
            del parentNode.children[childKey]
        else:
            return

it appears an earlier PR implemented this pruning, closing as a dupe! feel free to reopen if there's unique behavior or value to be added to this solution


Rename/dpnp glue to dpnp iface

Rename the dpnp_glue module to the dpnp_iface to be consistent with the naming with dpctl_iface.

I am closing the PR for now. Instead of doing the refactoring for code improvements in this manner, I have decided to develop the changes in my own branch on my fork. It helps me as the changes are incremental and one on top of the other. Once CI is back, I will take the individual commits from my branch and open PRs.


TemporaryEmail: Open teleosaurs in Safari when Firefox frontmost

Firefox does not support Applescript, and the bugfix to enable support has been open for 18 years. Safari comes preinstalled on all Macs, so in the case that Firefox is the front browser, open Safari to perform the relative Applescript commands to open the new Teleosaurs tab.

Thank you for the PR, but I won’t accept it. Opening a different browser than the one the user has breaks the principle of least astonishment.
This is the type of feature that will lead to head scratching and open bug reports on my side. If users have a bad experience because of Firefox, they should complain upstream. I heavily encourage everyone to do so. If no one complains and just makes workarounds, Mozilla will never know the extent to which the lack of AppleScript support costs them users.

Understandable decision. Thanks for taking a look anyways!


Is this ngx-scrollreveal is free for commercial use ?

Bug Report or Feature Request (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request

OS and Version?

Versions

Repro steps

The log given by the failure

Desired functionality

Mention any other details that might be useful

Hi @Nitekurs ,
ngx-scrollreveal (A.K.A this library) is under MIT License, so free for commercial use.
But it is merely an Angular warpper to scrollreveal (the  core library underneath, which actually does ALL the work ), and the latter now requires a commercial license starting v4.x.x(see this post from its author)
So yes, you'll need to purchase a license for commercial use.
Please have a look at https://scrollrevealjs.org/pricing/ for more info


[Bug]: cannot access a scoped thread local variable without calling set first

System Info
System:
OS: Linux 6.5 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
CPU: (2) x64 AMD EPYC 7763 64-Core Processor
Memory: 6.72 GB / 7.74 GB
Container: Yes
Shell: 5.1.16 - /bin/bash
Binaries:
Node: 20.13.1 - /opt/hostedtoolcache/node/20.13.1/x64/bin/node
Yarn: 1.22.22 - /usr/local/bin/yarn
npm: 10.5.2 - /opt/hostedtoolcache/node/20.13.1/x64/bin/npm
pnpm: 9.7.0 - ~/setup-pnpm/node_modules/.bin/pnpm
Browsers:
Chrome: 128.0.6613.84
Chromium: 128.0.6613.0
Details
Builds are failing with the error message:
cannot access a scoped thread local variable without calling 'set' first.
This issue began occurring in version @rspack/core 1.0.0-beta.5 and is still present in version 1.0.0. The build completes successfully on my local machine (macOS), but it fails when running in CI using GitHub Actions with the latest Ubuntu image.

Reproduce link
No response
Reproduce Steps
This is a bit complicated, and I am not sure if I will be able to provide a minimal reproducible example.

It should be anywhere between
https://github.com/web-infra-dev/rspack/commit/218bda0b72bf9fa93642dd4cba56cec585b30199 (1.0.0-beta.5) and https://github.com/web-infra-dev/rspack/commit/f9b6ca24d3b6b5e1fcab4bbe9137ed4bbae37a45 (1.0.0-beta.4).
I think it is caused by rspack.HtmlRspackPlugin, when I disable it build does not fail.

Maybe this commit https://github.com/web-infra-dev/rspack/commit/250304a50fe101dba3f2450fb3bd9d5037047a67

I will take a look into this one soon. You can temporarily switch to html-webpack-plugin if disabling HtmlRspackPlugin  fixes this.

Any luck guys? Thanks a lot for looking into it.

@Joozty do you still met this problem?

bump


Scenario app tests on Android stopped working

The LUCI bots are ignoring the exit code, but the tests are failing internally.

@blasten  is this fixed?


server: reduce the overhead of calculating bytes flow

What have you changed? (required)

Only calculate the bytes flow when store heartbeat coming.
What are the type of the changes (required)?

Improvement (non-breaking change which is an improvement to an existing feature)

How has this PR been tested (required)?

unit test

can it affect the accuracy and immediacy of scheduler?
What overhead can it reduce?

@siddontang This modification is mainly related to the heartbeat. We need to calculate hotspots according to heartbeat information, and pprof show it spends about 17% flat.

/build


Keep version of httpmime in sync with httpclient

httpclient is required in version 4.5.3, whereas httpmime is required in version 4.5.1. httpmime itself depends on httpclient, requiring the same version as its own version. This causes the maven enforcer plugin to complain about the dependency convergence when consuming rest-assured.
Use ${httpclient-version} for all subcomponents of org.apache.httpcomponents.
See-also: #813

Thanks for the PR!


[BUG] Using local VLLM, issue with the context length

Description
I changed OpenAI to local VLLM server compatible with OpenAI, but now I´m getting an error saying that the context length for my model is exhausted.
How can I reduce the maximum number of tokens to be sent to the LLM?
Reproduction steps
1. change openai to VLLM compatible API
2. do a query in the chat
3. the limit for the context window is raised

Screenshots
![DESCRIPTION](LINK.png)

Logs
No response
Browsers
No response
OS
No response
Additional information
No response

@micuentadecasa You can set the setting in Reasoning settings > Max context length

@taprosoft many thanks, I supppose it also can be modified in the flowsettings.py

One question @taprosoft , I know that the bug is closed, but I have another question, the limit for my model is 6900 tokens, I tried to change the limit to 6000, 5000, and 4000, with 4000 started to work, why do I have to reduce it to 4000?


Tileset::tiles does not contain all tiles

Tileset::tiles only contains tiles that have some kind of custom attribute. This makes it confusing to use since it's not mentioned in the field docs.

I really appreciate your response, @bjorn!
Sadly, it seems this crate has been for the most part abandoned, and there are numerous issues that make it completely impossible to use (#37, #94), not mentioning its not very good interface, both to the library user and the tiled files. It's a bit disappointing that Tiled doesn't have a full rust library for interacting with the format yet. Is there an official crate planned for Rust, or are Tiled libraries all community efforts? If so, I'll continue working on a fork and contact the crate author for a possible PR.

@alexdevteam At the moment I'm too unfamiliar with Rust to maintain a library myself, though I hope to become more familiar with Rust in coming months. In general there are just too many languages and frameworks, so the various loaders are all community efforts. I only officially maintain the export plugins shipping with Tiled. I hope @mattyhall will be open to share maintenance of this library and that the problems with it could be fixed.
Personally I wonder if a switch to the JSON format would be easier, for which a loader could be mostly generated. There is also https://github.com/jpgadoury01/tiled_json-rs already.

I'd be happy to maintain this repository - I have a bit of experience from working on a crate named dmc along with other binary projects, and I currently require the tiled crate for a project I'm working on with another person for teaching/learning purposes.
I'm currently working on a refactor: https://github.com/rusty-pizza/rs-tiled. So far I've reorganized the crate, added a few lines of documentation, added source to maps, and moved away the inner parse functions. It's only been two days of work but I think it's going alright.

This looks like the most developed crate for tiled. It's great news that it now got new maintainers and also is an official part of Tiled org!
I was a bit worried when I discovered that there's really no way to discern which Image belongs to which Tile. I'll follow @alexdevteam 's fork so far.
// I'm working on macroquad integration for my game. macroquad has its own tiled implementation, but it's extremely bare-bones (namely, doesn't connect with macroquad's own experimental animation system).

// I'm working on macroquad integration for my game. macroquad has its own tiled implementation, but it's extremely bare-bones (namely, doesn't connect with macroquad's own experimental animation system).

This is https://crates.io/crates/macroquad-tiled?
@not-fl3 Maybe you could share a few words about why you decided to write your own parser, as well as whether you might be interested in collaborating on this one?

TIL that tiled have animations :)
I would assume that rs-tiled is way more feature complete, I would surely recommend using it if it does a better job!
The main reason behind macroquad-tiled is compile time. It does not have dependencies on serde, XML, deflate and so on, while suite macroquad's quite well.

The main reason behind macroquad-tiled is compile time. It does not have dependencies on serde, XML, deflate and so on, while suite macroquad's quite well.

Is it easier to maintain a separate crate for this, rather than using features for this that could be disabled?

I am not aware of any no-dependencies tiled crates, so there is not much of a choice :)

I am not aware of any no-dependencies tiled crates, so there is not much of a choice :)

Sure. What I meant was, could rs-tiled be a good replacement for macroquad-tiled, if features like xml, deflate and serde could be disabled?

(We don't use serde, by the way.)

Oh, my bad, I thought xml-rs use serde :)

I confess, I used another dependency in https://github.com/singalen/macroquad-tiled-redux: coarsetime ("crate to make time measurements, that focuses on speed") which in turn pulls a small bunch of dependencies. Not really necessary, but it gives me the advantage of a fast integer time arithmetics.
My approach to compilation time was to buy a faster laptop 😄

Sure. What I meant was, could rs-tiled be a good replacement for macroquad-tiled, if features like xml, deflate and serde could be disabled?

It probably already is a replacement, to be honest. macroquad-tiled is a really small thing covering only things I found personally useful or that fitted nicely to macroquad. If one needs full-featured tiled support - some other crates would be a better choice, no doubts about that :)


Authtoken with windows credential failing: Unauthorized

Used get-uipathauthtoken with -WindowsCredetnials and -Session in parameters.  Get a response but the next call will fail

Getting the same thing. Any ETA on a solution?

@DRCawthon let me make sure I understand: you are getting a Windows Authentication token, and at the first use you are getting an authentication error?

Yes correct. In my first screenshot you can see that i put the token into a variable but the actual token field is empty. Whenever i try to use it to upload a package i get the error you see in the 2nd screenshot that Im not authorized.

This issue here is simply about the problem that Get-UiPathAuthToken  should fail if the user is not authorized, not return a success token that fails when tried to be used.
But in your case, It looks like that you are not authorized. Are you trying to debug/troubleshoot why are you not authorized?

I should be authorized. Im an Admin in the Orchestrator instance. Even if I try to use username and password of admin account (i installed Orchestrator) i get the same null token.

i have the same problem at DRCAwthon.
When i use
Get-UiPathAuthToken -URL https://domain -Username admin -Password password -Session -verbose
i get a token but when i do
Get-UiPathAuthToken -URL https://domain -WindowsCredentials -Session -verbose
i get no token but no errors either i get the same as the above pictures.
the powershell user is at that moment also an administrator on the Orchestrator instance.

Is there any news on this? im experiencing the same problem.

Resolving this since does not reflect a problem with the library and is non-actionable. All cases I looked are were incorrect assumptions (Azure AD vs. AD), legit authentication issues (user had no access) or old Orchestrator deployments (18.1 with OU enabled does not work with AD auth for API calls)


added ext-imagick and ext-gd to "suggest" in composer.json

to allow usage Resource via ResourceProvider

Thank you @samsonasik ! Great idea.


inverse angstrom unit

Small but useful addition for working in reciprocal space

Out of interest, what is this for?

@SimonHeybrock for working in reciprocal space. For example a 3D HKL data representation, or output of SofQW etc.

@OwenArnold Shouldn't that have a momentum unit? See, e.g., meV /c, which is already supported.

@SimonHeybrock reciprocal space units are 1/A, though for QLab, QSample do measure momentum transfer.

As discussed. No UB matrix in dataset and will not be needed at present in the rollout plan, so converting to reciprocal lattice vectors would not be possible at present.
Demonstrating that one can provide the correct units for imported data of limited use for now.


Fail build

https://dev.azure.com/mit-pdos/mit-pdos/_build/results?buildId=433&view=logs&j=095ec1ee-4eeb-50d5-9c40-517c9ce48d7d&t=3b15de4d-c21d-5a30-b4ad-51e3d44e8e05
Build fails with error (bitvec, funty). Please correct the versions of libraries.

Ah, this is actually a known issue upstream, and not something we can easily fix in this codebase except by holding back future updates. I think the right thing is to wait for https://github.com/bitvecto-rs/bitvec/issues/105 to be resolved :)