Update PULL_REQUEST_TEMPLATE.md

Summary

Remove has redux changes link option as there will be no changes to redux repo.

NONE

Hello @chetanyakan,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

/update-branch

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook

/update-branch

Thanks @chetanyakan :+1:


snakemake --export-cwl doesn't actually export CWL

Snakemake version: 8.11.6
Describe the bug: snakemake --export-cwl workflow.cwl ignores the --export-cwl workflow.cwl. It actually executes the workflow and it does not produce a CWL.
Logs
Log

Building DAG of jobs...
Using shell: /nix/store/dy2z01kpnxn7dn2kgfdxs4fm8xy9mb89-bash-5.2p26/bin/bash
Provided cores: 1 (use --cores to define parallelism)
Rules claiming more threads will be scaled down.
Job stats:
job      count
-----  -------
all          1
test         1
total        2
Select jobs to execute...
Execute 1 jobs...
[Tue May 21 10:20:50 2024]
localrule test:
output: test
jobid: 1
reason: Missing output files: test
resources: tmpdir=/tmp/nix-shell.cn0HyO
[Tue May 21 10:20:50 2024]
Finished job 1.
1 of 2 steps (50%) done
Select jobs to execute...
Execute 1 jobs...
[Tue May 21 10:20:50 2024]
localrule all:
input: test
jobid: 0
reason: Input files updated by another job: test
resources: tmpdir=/tmp/nix-shell.cn0HyO
[Tue May 21 10:20:50 2024]
Finished job 0.
2 of 2 steps (100%) done
Complete log: .snakemake/log/2024-05-21T102050.832071.snakemake.log

Minimal example

rule all:
  input:
    "test"

rule test:
  output:
    "test"
  shell:
    "echo hi > test"

$ snakemake --export-cwl workflow.cwl
... see logs (above) for output

@johanneskoester - I've looked into this a little. It looks like the CWL export functionality was never reconnected after #2403.
I'm happy to submit a PR re-enabling it, but wanted to check that this wasn't intentional, as tests.test_convert_to_cwl() has been disabled since 2019, hinting that there may be some problems with the implementation?

Hi,
Is there any plan to re-enable this? It's not working in 8.25.3 but would be quite useful to have. Please let me know if there is anything I could test in order to have it added back in again.


Hotkey using [ cmd + num ] not detected

Hi,
First of all thanks for these awesome projects, I'm a linux fan using an osx at work, I was really looking for a tiling wm 👍
There is something odd with my installation of skhd + chunkwm though, otkeys [cmd - 1], [ctrl + cmd - 1], and more generally something like [ cmd | ctrl | alt | shift + [ 1 - 9 ] ]` is not detected.
I have also tried with & instead of 1, é instead of 2 etc ...  without any success.
My keyboard looks like this

I'm on Mojave 10.14.4
I've tried with latest HEAD, and with the homebrew current build.
Oh it seems it's related to https://github.com/koekeishiya/skhd/issues/30
If you would like more information please tell me 😉

Replacing cmd + 1with cmd + 0x12works like a charm, thank you 👍
If you want some info about the cause of the aliasing gap, feel free to ask

Glad the keycode trick worked. I'll take another look at how the keycode mapping table is generated.

PS : I couldn't get cevto work, I had the message cev: could not create event-tap, try running as root!even if I started the program with sudo cev. Do you want me to post an issue on the appropriate repo ?

Not necessary. I plan to add support for this to skhd itself at some point before the next release.

Added support for observing keyevents and outputting keycode/modifier information.
Launch as: skhd --observe or skhd -o. Press ctrl+c to quit.


bert-pretrain

Hi,
How can I pre-train bert using bert-for-tf2.
We need,
input_ids, mask_ids and segment_ids.
Once we prepare that and making vocab as well as config, How to proceed with bert-for-tf2.

@muhammadfahid51  - Currently bert-for-tf2 does not have an example or tools for pre-training from scratch. When pre-training from scratch it might be easier using the workflow from the original google-research/bert. Once you have the pre-trained weights, you could fine-tune with bert-for-tf2.

Yeah I got it. Will you add it ?

yes, I'll be adding support for pre-training from scratch or continuing pre-training as part of #13 (but it might take some time).
Closing for now, and handling this in #13.


Use of 'replace' in DDO

The replace option should not be recommended as per the angular documentation for $compile.  This option has been deprecated.

can you put out an example?

replace: true is used in your example here:
https://github.com/orizens/angular-es2015-styleguide#module-namecomponentjs---component-defintion-with-controller-class

@zachlysobey - thanks.
I'm about to update the indentation example.

@vmaimone
teh absense of replace is relevant when there's real web component support, as state in the same link you've provided:

replace ([DEPRECATED!], will be removed in next major release - i.e. v2.0)


Remove extension argument

Addresses #411

@mferrera @perolavsvendsen @jcrivenaes Unsure if ive gone to far here. But it feels like it should work like this?

This seems like a good change to me, but I don't know what edge cases might exist


Update ibm-ace-operator.yaml

Updated ACE Operator version to latest. The preexisting version of v1.5 breaks the operator deployment.

We will need to change it from v1.5 to v7.2

merging latest version update per testing and docs
https://www.ibm.com/docs/en/app-connect/containers_cd?topic=operator-from-openshift-cli


tsne algo

please comment on this commit. hope this in keeping with the tsne algorithm.

I can't find the algorithm, you are using third party library from tsne import bh_sne.
I appreciate your willingness to help but we need actual algorithms.
Take a look at examples:
https://github.com/rushter/MLAlgorithms/blob/master/mla/linear_models.py
https://github.com/rushter/MLAlgorithms/blob/master/mla/svm/svm.py


Added parens around in operator in for loops.

This PR should fix #405.

I'm honestly not sure what the right fix is.
I'm not sure we want to add a parenthesis for
var isInside = a in b;

which this pull request would do.

@vjeux your example is not altered if use my fix.

Ohh right, this is a Statement. Yeah, I guess that assignment expressions are rare enough that this shouldn't be too much an issue! Thanks I'll merge it in.


[Question]: Blog list is having an issue

Summary
I'm getting a couple of phantom posts on my post list.  Any idea where these might be coming from?
Screenshots

You’ve probably got some files floating around in your _posts folder

Closing due to no reply

Thank you @daviddarnes.  I actually ended up finding that I had 3 posts that had symbols in the title block that was conflicting with the yaml.  Thank you very much.


How to use to set checkmarks on cells?

I am trying to initialize a table with the first row selected using FlowKit.  I cannot see how I should use this framework to do this.  I can see registering for callbacks to set the checkmarks on taps, but I don't see how to set the initial state of a selected row.
Any suggestions?
P.S.  This framework is GREAT.  I really appreciate the design and the work done to create it.  I hope I can contribute to it.

Hi @cwoloszynski ; thank you.
Regards your question: you can use/set/unset default checkmarks on cell as you normally use it.
For example the following code set the checkmark (not toggle it) on cell's tap:
self.on.tap = { ctx in
	ctx.cell?.accessoryType = UITableViewCell.AccessoryType.checkmark
	return .deselectAnimated
}


LinkedServicesClient does return tags in LinkedService object

Bug Report

import path of package:
.../services/preview/operationalinsights/mgmt/2015-11-01-preview/operationalinsights

SDK version: 24.0.0

REVISION: 1951233eb944a49aa5f7278cba8e3e32a8c958af

output of go version: 1.11.0

What happened?
Get API does not return tags in LinkedService object.

What did you expect or want to happen?
tags should be contained in LinkedService object.

How can we reproduce it?

Call CreateOrUpdate API with preset tags.
Call Get API.

Anything we should know about your environment.

We currently ignore tags in all APIs. We also don’t support storing tags for linked services.
About the version question, you can find the latest version that consolidates operationalInsights API under 2020-03-01-preview: https://github.com/Azure/azure-rest-api-specs/tree/master/specification/operationalinsights/resource-manager/Microsoft.OperationalInsights/preview/2020-03-01-preview

Hi @metacpp this issue should be resolved in the new api-version. Therefore I will close this now.
If it persists, please feel free to open a new issue about it. Thanks!


broken code

Issue Type: Performance Issue
so i was just doing some code stuff that i do some times. so i opened my index.js file with the Terminal and i do cd.. , the command to get to the right folder. then i execute the command node index.js and then ''node' is not recognized as an internal or external command,
operable program or batch file.' randomly pops up. i tried multiple times and it was keep saying the same thing. now i cant finish my code and its annoying >:(
VS Code version: Code 1.31.1 (1b8e8302e405050205e69b59abb3559592bb9e60, 2019-02-12T02:20:54.427Z)
OS version: Windows_NT x64 10.0.17134

Oohhhh pure doggo :'(

It sounds like node isn't in your $PATH from whatever context VS Code is running. Can you run node from another terminal emulator? Are you using the same shell in VS Code as you are in your default terminal?
Compare the output of echo $PATH in an external terminal and from the integrated terminal as a first troubleshooting step.


[Bug]: Add more then one Item Identifier for an item

Describe the issue
We might have an issue at table "Item Identifier".
We expect the goal of this table is to store "Barcodes" in the "Code"-Field. To have unique "Codes" the primary key is only at "Code"-Field.
Then we can assign these Barcodes to Items (with or without Variants and/or UOM).
With this we can assign UPC and EAN and Local Barcodes to one item, to identify this item searching with any of the barcodes.
But there is something that avoids this: the "OnInsert"-Trigger with function "VerifyItem".
What is this code for?
Why does this code avoid to assign different barcodes to the same item, which ist the only logical reason this table exists.
We don't see any use case for this code to make any sense.

Expected behavior
We expect that we can add more then one barcode to an Item.
Steps to reproduce

open the Item Card
Action: Related --> Item --> Identifiers
Add first line and fill field "Code"
Try to add a secound line and fill field "Code" with a diffrent value as in first line --> the error will be shown

Additional context
Delete function "VerifyItem" in table "Item Identifier".
I will provide a fix for a bug

[X] I will provide a fix for a bug

Thanks for looking on this.
I have requested for access to BaseApp contribution pilot.
I gladly accept the offer to move the issue.

You have been added to the pilot, and I will now transfer the issue 😊


infra: add retries/until on firewalld start task

This commit make that task retrying 5 times to start the service
firewalld to avoid failure like following:
TASK [ceph-infra : start firewalld] ********************************************
task path: /home/jenkins-build/build/workspace/ceph-ansible-prs-centos-container-purge/roles/ceph-infra/tasks/configure_firewall.yml:22
Monday 09 March 2020  08:58:48 +0000 (0:00:00.963)       0:02:16.457 **********
fatal: [osd4]: FAILED! => changed=false
  msg: |-
    Unable to enable service firewalld: Created symlink from /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service to /usr/lib/systemd/system/firewalld.service.
    Created symlink from /etc/systemd/system/multi-user.target.wants/firewalld.service to /usr/lib/systemd/system/firewalld.service.
    Failed to execute operation: Connection reset by peer

Signed-off-by: Guillaume Abrioux<EMAIL_ADDRESS>

jenkins test centos-container-all_daemons


Add veto files line to smb.conf snippet

This helps avoid creation of extra files when connecting from MacOS client via SMB.
The extra files make scanning directories slower and are just noise when browsing the directories using anything else than the Mac finder.

Hi @marians
nice catch! Thanks for the contribution and keep it coming!


Ability to add and remove tasks from the event edit form

Solves #16

Hey @neon-ninja,
thanks for your PR!
I found a few very minor issues in the code.
One note regarding UI/UX: when I tried this out without looking at the code, I thought it uses AJAX and would add a new task without reloading the page.
Now, after reading the code, I know that a new task is created and the event is saved, and then a redirect happens.
I think it would be better to have two submit buttons ("Submit" and "Add"). Upon clicking "Add", a new task would be created, but the event form data would be saved and restored after the redirect to the same page.
Upon clicking "Submit" only changes to the event would be saved (then redirect to event_details view).
What do you think about this idea, Nick?

Sounds good to me :)

Hi @neon-ninja
Thanks for your commits!
The latest flow in the event edit view is not exactly what I imagined in https://github.com/swcarpentry/amy/pull/234#issuecomment-88632603
I think there should be two buttons, for example "Save" and "Add". The former should be placed right below the event edit form, while the latter should be where it is right now - below the tasks table.
Upon clicking on "Save": Amy should attempt to save the event form, and remember the contents of the task form (without saving them to the database).
Upon clicking on "Add": Amy should attempt to add a new task, and remember the contents of the event form (without saving them to the database).
I hope my vision is now clearer :)
Cheers!

Okay, this looks nice.
Apart from the missing last line I have only one comment regarding redirects:

After clicking "Save": redirect to the event's detail view
After clicking "Add": leave as it is right now (ie. "refresh" the page)
After clicking "Delete": change to "refresh" (ie. redirect to the event edit view)

@wking do you have any comments regarding this PR? I might have missed something.

On Mon, Apr 13, 2015 at 01:17:52PM -0700, Piotr Banaszkiewicz wrote:

… I have only one comment regarding redirects:

Staying on the event-edit page after adding/editing/deleting tasks
makes sense to me.

@wking do you have any comments regarding this PR?

No, it looks good to me, and your comments seem reasonable.

@pbanaszkiewicz see above commits :)

Hey @neon-ninja,
I took your work and made some minor changes:

rebase against latest master
change formsets to "normal" forms
fix errors caused by 1 & 2

I'm going to merge everything now. Thanks a lot for your contributions! :-) Very appreciated. And sorry it took me so long to review and merge this…

Hmmm, this should've been resolved by GitHub automatically. I'm not sure why it didn't.

@pbanaszkiewicz I am fixing it.

My guess is that because I rebased this PR against master and did not forcibly update the PR, it shows as unmerged, even though @neon-ninja's commits show in master.
So I'm closing this PR. Thanks again @neon-ninja for your contribution, and sorry everyone for the chaos I made due to silly rebasing.


attribute to focus something after opening

Hi,
Could you had the possibility to focus a form field ?
With something like :
data-modal-focus-id
Thx !

Hi,
why not, a good idea :)

You can look here for the need for that : http://stpeter-gallicantu.org point g2w point fr/-Rubriques-.html

Here we go, the option is added, and the documentation is updated: https://a11y.nicolas-hoffmann.net/modal/
Thanks for the suggestion ;)

Thx !


Specify user or allow sudo for resources

Since we'll probably run this as root on a Linux system, generally I want to be running resources as the user that runs the command; however, some commands require sudo, such as the Package resource.
Either way we should be able to specify users when we create files and directories.

cede11acc411ae4d15c61675d08924f10197f0b4


Implement TOML Ecosystem Processing and Basic Logging

This PR introduces functionalities for processing ecosystem data from TOML files and adds basic logging capabilities, in response to Issue #37.
Key Features and Updates

TOML File Processing: Enhanced the system to support processing of ecosystems defined in TOML files. This includes the creation and updating of project files with GitHub organization details extracted from the TOML data.

Existing File Verification: Implements checks and updates on existing project files in the OSS Directory to ensure consistency with GitHub organizations listed in the TOML files.

YAML File Handling: Maintains uniform YAML formatting while creating or updating project files, adhering to the project's established standards.

Collection File Creation: Automatically generates a collection file for each ecosystem, which lists all the processed project slugs, providing a comprehensive view of the ecosystem's scope.

Seamless Integration: The new features have been seamlessly integrated into the existing system's driver code, enhancing functionality without disrupting current workflows.

Basic Logging: Introduces a straightforward logging mechanism that records key actions and outcomes during the processing. This includes tracking of projects not found, projects that required no changes, and detailed accounts of updates made.

Had a lot of fun working on this, thank you for the opportunity!

Hey @Harsh-Avinash
Thanks for this! I haven't reviewed the script itself, but looking at the project files, there seems to be something funny going on: every project has the same GitHub orgs being mapped to it (the three from the original Arbitrum "project").
For example:
version: 3
slug: 0xsplits
name: 0xSplits
github:
  - url: https://github.com/coco-verse
  - url: https://github.com/OffchainLabs
  - url: https://github.com/waterfall-foundation

The correct implementation should be to grab the corresponding TOML file from crypto ecosystems and try to generate an OSS Directory project file in YAML format. If there is already a project file, then the script should see if the GitHub org included in the TOML file is also present in the YAML file. If so, then it gets skipped. If not, then it updates the entry by appending the GitHub org to the array. If there is NOT a project file, then a new YAML file is created for that project (and following the naming conventions).
Hint: The new module generate_repo_snapshot that I added here will make it easier to spot any entries that already exist in OSS Directory.
Here are some test examples:

0xSplits: skipped. The 0xSplits TOML file (see here) contains the same GitHub org (https://github.com/0xSplits) as the one already contained in our entry here.

123Swap: created. The 123Swap TOML file does not exist. The correct implementation would be to create a new YAML file at data/projects/1/123swapproject.yaml that contains:

version: 3
slug: 123swapproject
name: 123Swap
github:
  - url: https://github.com/123swapProject

Hope this helps clarify the intended outputs :)

Thanks a ton for the clarity, will make changes ASAP!


estimation: expose a list of skipped resources

This PR adds a new Skipped field to cost.Resource, as well as a new SkippedAddresses method to cost.Plan that returns a list of resource addresses that were skipped in the estimation process. Closes #12

Pushed fixups for the comments

Rebased


Epimetheus 0.5.0

closes https://github.com/davenverse/epimetheus-circuit/pull/260
@ChristopherDavenport

And we're green :tada:
Would you mind merging and releasing a new version? :pray:


Markdown Format also formats tables.

Hi there,
Just as a heads up in case you're not aware, there's a Markdown Format package that formats tables as well. I'm curious what you think of it.
https://atom.io/packages/markdown-format
For example,
| Branch  | Behind | Ahead |
|---------|-------:|:------|
| improve-nested-list-support | 1 | 1 |
| **master** | 0 | 0 |

That will become this when on save:
| Branch                      | Behind | Ahead |
|-----------------------------|-------:|:------|
| improve-nested-list-support |      1 | 1     |
| **master**                  |      0 | 0     |

Thanks.

@fcrespo82 - I'd be interested in joining forces. I've been working on a package called tidy-markdown. While it's not nearly as configurable as yours (I've been aiming to be more like gofmt and establish a simple canonical representation of markdown), it does share similar goals. Plus I format headers in the same way, so I think you'll like it :wink:.

This is nice, what do you have in mind?
Sure I will help whenever I can, but I recently changed some of my work to VSCode since it runs much more smoothly on my work machine. But it can be good too. Maybe we could have the plugin for Code too...


Place chansrv log in XDG_CACHE_HOME if it exists.

Oops. Forogt that this is a duplicate of #454 (besides this one uses XDG_CACHE_HOME instead, which, in my opinion, is a better choice).

Need to determine which one to merge.

Merged as #454.  XDG_CACHE_HOME also makes sense but I decided to use ${XDG_DATA_HOME}/xrdp at this time since Xorg uses the similar directory.  I'd welcome further discussion if you strongly recommend XDG_CACHE_HOME. Then please reopen or create a new issue.


Release 1.0?

We are very happy with UnionArgParser and use it in production. Any idea when it may get released in 1.0? I'm asking because in upgrading from 0.8.7 to 0.9.0 I ran into a breaking renaming, which is allowed under the rules of semantic versioning before 1.0, but would like to see this stabilized because we do use it in production.

Sounds reasonable. It would be even greater if I could couple a 1.0 with a name change (see #29).

Just pushed Argu version 1.0


Missing Certificate parameter for New-SPWebApplication

With SharePoint Subscription Edition, New-SPWebApplication has a new Certificate parameter. Unfortunately the documentation is not yet updated to include this parameter:
https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/new-spwebapplication?view=sharepoint-server-ps
https://github.com/MicrosoftDocs/OfficeDocs-Sharepoint-PowerShell/blob/main/sharepoint/sharepoint-server-ps/sharepoint-server/New-SPWebApplication.md
Could this documentation be updated?

Good catch, I believe this has already been fixed by #72.  Please take a look and let us know if you still have any concerns.  Thanks!

Hi @TroyStarr, you are absolutely right. That PR has been merged 16 hours ago, which has updated the Docs pages.
So this issue is no longer relevant! Closing the issue
Thanks for the update!


Is there a link to the full code?

The code snippets are helpful in explaining the basics, but insufficient for making a working example.  Was a link to the code inadvertently left off?
It would be appreciated if this article were revised to include that link, perhaps a little more explicitly for those of us not used to the format.

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

ID: ec31ee56-e3b9-a70a-a4ef-80fdf58e7249
Version Independent ID: 766b5774-50bf-f43f-800d-48b5c6c66509
Content: Xamarin.Forms Master-Detail Page - Xamarin
Content Source: docs/xamarin-forms/app-fundamentals/navigation/master-detail-page.md
Product: xamarin
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @MSBassSinger
The links to the samples are at the end of each doc, in the Related Links section.


#8 Setup CI

Close https://github.com/thiennguyen0196/github-profile/issues/8
What happened 👀

Add CI file
Add rule files
Add google services and crashlytic plugins
Update github secret variable

Proof Of Work 📹
The CI is built successfully

          2 Warnings

:warning:
Big PR

:warning:
Uh oh! Your project is under 80% coverage!

Kover report for Github Profile:
🧛 Github Profile Unit Tests Code Coverage: 24.55%
Coverage of Modified Files:

File
Coverage

Modified Files Not Found In Coverage Report:
Dangerfile
Dependencies.kt
Gemfile
Gemfile.lock
Plugins.kt
Versions.kt
backup_rules.xml
build.gradle.kts
build.gradle.kts
data_extraction_rules.xml
detekt-config.yml
network_security_config.xml
network_security_config.xml
review_pull_request.yml

Codebase cunningly covered by count Shroud 🧛

  Generated by :no_entry_sign: Danger


rocm-runtime: 5.0.1 -> 5.1.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for rocm-runtime is: "Platform runtime for ROCm"
meta.homepage for rocm-runtime is: "https://github.com/RadeonOpenCompute/ROCR-Runtime"
meta.changelog for rocm-runtime is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 5.1.0 with grep in /nix/store/vf2aa8xvcqgq8iqixf5jxvmdc2ivj93s-rocm-runtime-5.1.0

found 5.1.0 in filename of file in /nix/store/vf2aa8xvcqgq8iqixf5jxvmdc2ivj93s-rocm-runtime-5.1.0

Rebuild report (if merged into master) (click to expand)

5 total rebuild path(s)

5 package rebuild(s)

5 x86_64-linux rebuild(s)
0 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
hip
rocm-opencl-icd
rocm-opencl-runtime
rocm-runtime
rocminfo

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/vf2aa8xvcqgq8iqixf5jxvmdc2ivj93s-rocm-runtime-5.1.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A rocm-runtime https://github.com/r-ryantm/nixpkgs/archive/abf11f01be772ff6193d3d4f34637e9929a4e733.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/vf2aa8xvcqgq8iqixf5jxvmdc2ivj93s-rocm-runtime-5.1.0
ls -la /nix/store/vf2aa8xvcqgq8iqixf5jxvmdc2ivj93s-rocm-runtime-5.1.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

5 packages built:

hip
rocm-opencl-icd
rocm-opencl-runtime
rocm-runtime
rocminfo

Maintainer pings
cc @lovesegfault for testing.

This looks good to me.  Is there a reason it hasn't been merged yet?  If there is a shortage of maintainers for ROCm-related things in Nixpkgs, then I am willing to help out.

AMD isn't great at writing changelogs or release notes, but there is nothing that suggests any changes NixOS needs to care about.
I have done light testing of this, but I'm not sure how to comprehensively test ROCm upgrades because they are spread over multiple PRs (8 for this one).  I can confirm that with this updated rocm-runtime, clinfo no longer segfaults (which is a known problem with ROCm 5.0.1).

@athas Okay, I think I merged all of those ones you approved. Please let me know if I missed one and now you should be able to test them together on master.


Include minikube setup instructions

Fixes #332 - validates that openebs can be run with minikube
Fixes #350 - developer solutions category under setup
Fixes #351 - sample instructions for setting up minikube
Adds new document (rst) file for documentation developer solutions
like minikube. This section will need to be further improved with
links to developer options like modifying the PVC yaml files
with openebs annotations.

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:

Thanks @AmitKumarDas  for pointing out that PVC spec updated in the previous commit (339c2f7)
is for maya-apiserver and is not the same as the PVC used by the kubernetes. Fixed this as per your suggestion to use ENV (f9c7196).


Feature request: Drone Navigation Detection using Reinforcement Learning

Is your feature request related to a problem? Please describe.
Drone Navigator is an advanced software solution designed to empower autonomous drones with the capability to navigate complex environments efficiently and safely using Reinforcement Learning (RL) techniques.
Describe the solution you'd like
Drone Navigator
Project Description
Drone Navigator is an advanced software solution designed to empower autonomous drones with the capability to navigate complex environments efficiently and safely using Reinforcement Learning (RL) techniques.
Key Features
Adaptive Navigation
Obstacle Detection and Avoidance
Efficient Pathfinding
User-Friendly Interface
Real-World Applications
Technical Features
Programming Language: Python
Dependency Management: requirements.txt
Modular Design
Learning Mechanism
Technologies Used
Python: The primary programming language for implementing the RL algorithms.
TensorFlow/PyTorch: For building and training neural networks.
OpenAI Gym: For simulating the drone's environment.
NumPy: For numerical operations.
Matplotlib: For visualizing results and training progress.
ROS (Robot Operating System) (optional): For real-world application and control.
Installation:
Create a virtual python environment python -m venv env
Activate the virtual environment: .\env\Scripts\activate
Clone the repository: git clone https://github.com/Panchadip-128/Drone-Navigation-using-Reinforcement-Learning-
Navigate to the project directory: cd drone-navigator
Install the required packages: pip install -r requirements.txt
Once you have the requirements and dependencies installed, you can train your PPO model on the DroneEnv. Here's a full example, including resetting and training the model:
import gym import numpy as np from stable_baselines3 import PPO
class DroneEnv(gym.Env):
def init(self):
super(DroneEnv, self).init()
self.action_space = gym.spaces.Discrete(4)  # 0: Up, 1: Down, 2: Left, 3: Right
self.observation_space = gym.spaces.Box(low=0, high=10, shape=(2,), dtype=np.float32)
self.state = np.array([5, 5])  # Starting position of the drone
self.target = np.array([8, 8])  # Target position
self.obstacles = [np.array([6, 6]), np.array([7, 7])]  # Sample obstacles
def reset(self):
self.state = np.array([5, 5])
return self.state
def step(self, action):
if action == 0:  # Up
self.state[1] += 1
elif action == 1:  # Down
self.state[1] -= 1
elif action == 2:  # Left
self.state[0] -= 1
elif action == 3:  # Right
self.state[0] += 1
# Check for collisions
reward = -1
done = False
if any(np.array_equal(self.state, obs) for obs in self.obstacles):
    reward = -10  # Penalty for hitting an obstacle
    done = True
elif np.array_equal(self.state, self.target):
    reward = 10  # Reward for reaching the target
    done = True

return self.state, reward, done, {}

def render(self):
print(f"Drone Position: {self.state}, Target: {self.target}, Obstacles: {self.obstacles}")
Create the environment env = DroneEnv()
Create the model model = PPO("MlpPolicy", env, verbose=1)
Train the model for a number of timesteps model.learn(total_timesteps=10000)
Test the trained model obs = env.reset() for _ in range(100): action, _ = model.predict(obs) obs, reward, done, info = env.step(action) env.render() if done: obs = env.reset()
Explanation of Code
Environment Class: This class creates a drone environment with actions to move in four directions, collision detection, and target reaching.
Training: The PPO model is created with the MLP policy and trained for 10,000 timesteps.
Testing the Model: After training, the model is tested in a loop where it predicts actions based on the current state, steps through the environment, and renders the state.
Future Scopes:
Parameter Tuning: Experiment with different hyperparameters for the PPO model to improve performance.
Enhanced Environment: Add more obstacles, or features, or increase the complexity of the environment.
Logging: Implement logging of rewards and actions to analyze the agent's performance.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Approach to be followed (optional)
A clear and concise description of the approach to be followed.
Additional context
Add any other context or screenshots about the feature request here.

Can this be assigned to me? @UppuluriKalyani . Please label the project as Level 2 or 3( since it contains advanced Deep Learning and Reinforcement Learning concepts) accordingly so that i can start working


Check snippets in OBS SN & TN

Also reduces so many warnings in log files

Pull Request Test Coverage Report for Build 436

33 of 231 (14.29%)  changed or added relevant lines in 6 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-1.1%) to 51.386%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

door43_tools/project_deployer.py
0
1
0.0%

client_converter_callback.py
0
3
0.0%

client_linter_callback.py
0
3
0.0%

webhook.py
0
13
0.0%

callback.py
0
16
0.0%

preprocessors/preprocessors.py
33
195
16.92%

Files with Coverage Reduction
New Missed Lines
%

callback.py
1
9.4%

Totals

Change from base Build 433:
-1.1%

Covered Lines:
3171

Relevant Lines:
6171

💛  - Coveralls


Consider converting package description JSON to a struct instead of a dict

Consider converting the parsed json dict to a struct struct(**parsed_dict). Removes all of the string keys.

After some thought, this is probably not practical. Only the top-level of the description could be converted to a struct. The values underneath need to remain a dict so that name lookups will work properly.


SASL authentication failed

when connect to the server sasl autication failed

Sorry for delayed answer, this has been fixed


can't connect to my wifi

I want to make a multi sensor, after i flashed my esp8266 i found a wifi called motion-sensor-xxxxxx, after i connect it pull up screen to choose a network, so i choose my wifi network and tap a pass but after nothing happened. can you help me

What did you expect to happen then?

Hi,
Normally I should be able to pair multi sensor with my home app but after I connect to multi sensor Wifi it shows pop up window where I choose network and tap a password and its stack on that moment only white screen on pop up window, and it’s looks like multi sensor didn’t get a password. Can you help me to fix that issue?
BR
Krzysztof Dobosz
Wysłane z iPhone'a

Wiadomość napisana przez Maxim Kulkin<EMAIL_ADDRESS>w dniu 06.05.2019, o godz. 02:39:
What did you expect to happen then?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Sometimes it happens. This captive portal thing sometimes behave weirdly from iOS side, just try again.
If trying again does not work for you, please send me logs from ESP.


sdns: init at 1.3.3

Description of changes
https://github.com/semihalev/sdns/releases/tag/v1.3.3
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.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.

Result of nixpkgs-review pr 247489 run on aarch64-darwin 1

1 package built:

sdns


Add extra padding when command center is enabled

enable window.experimental.titleMenu
the title bar is a bit crowded and should have a few extra pixels in height. The screen capture below is +2px below/above which IMO looks nicer

Challenges

[x] position the mac traffic light in the center (see screen capture)
[x] ensure menu control and other children take all new available width and are center aligned

To verify:

enable CC
make sure its height is the same as the height of editor tabs


Add support for new C# 6 keywords

C# 6 recently introduced 2 new keywords: nameof and when. This commit adds them to the cs.vim file so they get syntax highlighting.

thanks :smile:


CRYP-29: filter eth and btc transactions list

Are you planning on submitting another PR with the "Reset" link implemented? It is currently missing. Also please make sure all specs are accounted for and followed (button, calendar, etc). I'll update the mockups and specs to follow the calendar modal change.

just added the reset link missed it when looking at the mockups

Are you planning on submitting another PR with the "Reset" link implemented? It is currently missing. Also please make sure all specs are accounted for and followed (button, calendar, etc). I'll update the mockups and specs to follow the calendar modal change.

just added the reset link missed it when looking at the mockups

I also just noticed, you might have missed this Transaction List state as well

Are you planning on submitting another PR with the "Reset" link implemented? It is currently missing. Also please make sure all specs are accounted for and followed (button, calendar, etc). I'll update the mockups and specs to follow the calendar modal change.

just added the reset link missed it when looking at the mockups

I also just noticed, you might have missed this Transaction List state as well

yup added it in the same commit


Understand "nth" ranges with ranges of months in non-strict mode

e.g. Jan-Dec 1-31/2 -> "Open every odd day of month" or the same for every even day of a month.
Use case
Currently, the way to express the above correctly in line with the specification would be
Jan 1-31/2, Feb 1-29/2, Mar 1-31/2, Apr 1-30/2, May 1-31/2, Jun 1-30/2, Jul 1-31/2, Aug 1-31/2, Sep 1-30/2, Oct 1-31/2, Nov 1-30/2, Dec 1-31/2
A real life example of such "opening hours" would be this road sign, which is a conditional "no parking" restriction for odd days of a month, found in some countries following the Vienna convention on road signs.
It is tagged like parking:condition:*:conditional=no_parking @ (<opening hours>)

It is possible that contributors that happen upon such opening hours (or restrictions) will not use the correct syntax but just use Jan-Dec 1-31/2 or similar because one needs to know the specification really really well to know that at this position, month ranges are not allowed. They are allowed at other positions in the specification after all.
Issues

There are two issues: on the one hand there are no month day ranges that are separate from dates. What is supported is only Jan 1-31 which simply is short hand for Jan 1 - Jan 31, so support would require month day ranges as an independent construct. Not sure if that wouldn't create even more ambiguity in parsing (for example with that shorthand). The 2nd minor issue is adding an interval specification, that is unlikely to be problematic on it's own.
- @simonpoole

I noticed this came up already 4 years ago in @ypid's parser https://github.com/opening-hours/opening_hours.js/issues/252 - with this exact example, to boot.

FYI the wiki now suggests to use
parking:right:restriction:conditional=no_parking @ ("Odd days of each month")
to map these parking "opening hours"
https://wiki.openstreetmap.org/wiki/Street_parking#Alternate_side_parking


Fix handling of token field for V2 retirements

Resolves #70

This is working as expected
All retirements with 0x0 address as the pool have and empty string as the token, and the token field always has plain text name of the pool


[LIVY-571] cleanupStatement should not throw exception when statementId not exist

What changes were proposed in this pull request?
To fix LIVY-571. ThriftSessionState is used to store query result by statementId. When exception during execute query, no query result is stored. But when statement closed from beeline, a request is invoked to remove cached query result in ThriftSessionState.
Remove statement query result from ThriftSessionState should just return if no item found, this could be the default behavior to avoid relevant issue.
https://issues.apache.org/jira/browse/LIVY-571
How was this patch tested?
Existing unit tests.
Please review https://livy.incubator.apache.org/community/ before opening a pull request.

HI @yantzu, thank you for your PR! I don't see how this PR fixes the JIRA issue referenced here. What is the behavior now? I think just nothing is returned, instead of the related exception... Could you add in the PR description some screenshot of the behavior before and after the PR? Moreover, could you add some UTs in order to enforce this behavior? Thanks.

Hi @mgaido91 , the rpc call from beeline when execute a query is:
1, send sql to thriftserver, beeline code: HiveStatement.runAsyncOnServer --> thriftserver code: ThriftCLIService.ExecuteStatement
2, get sql execute status from thriftserver, beeline code: HiveStatement.waitForOperationToComplete --> thriftserver code: ThriftCLIService.GetOperationStatus
3, get result from thriftserver if step 2 result success
4, close sql execute statement, beeline code: HiveStatement.close(called by Commands.executeInternal) --> thriftserver code: ThriftCLIService.CloseOperation
When exception happens running a query, step 2, thrift server will return exception error message to beeline, and beeline will throw an exception to caller. However, beeline will execute step 4 regardless of the result of step 2. When step 4 request send to thriftserver, it will send a request to Spark to remove statement result but as I mentioned there is no result in ThriftSessionState, so exception is thrown to beeline, this new exception conceal the exception of step 2.
My fix is just to avoid exception of step 4.
I have one IT to cover such case.

Before:

After:

Codecov Report

Merging #182 into master will increase coverage by 0.1%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #182     +/-   ##
===========================================
+ Coverage     68.65%   68.76%   +0.1%
  Complexity      905      905
===========================================
  Files           100      100
  Lines          5666     5666
  Branches        850      850
===========================================
+ Hits           3890     3896      +6
+ Misses         1224     1216      -8
- Partials        552      554      +2

Impacted Files
Coverage Δ
Complexity Δ

...cala/org/apache/livy/scalaapi/ScalaJobHandle.scala
52.94% <0%> (-2.95%)
7% <0%> (ø)

...main/scala/org/apache/livy/server/LivyServer.scala
35.46% <0%> (-0.5%)
11% <0%> (ø)

...ain/java/org/apache/livy/rsc/driver/RSCDriver.java
78.81% <0%> (-0.43%)
42% <0%> (ø)

.../scala/org/apache/livy/sessions/SessionState.scala
61.11% <0%> (ø)
2% <0%> (ø)
:arrow_down:

...ain/scala/org/apache/livy/utils/SparkYarnApp.scala
79.57% <0%> (+6.33%)
33% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

LGTM, cc @vanzin too. If I won't hear any comment in a couple of days I'll merge it. Thanks.

@yantzu sorry, may you please improve the description of the PR? I'll merge once it is updated, thanks. I suggest:
## What changes were proposed in this pull request?

`ThriftSessionState` is used to store query result by statementId. When an exception is thrown during execute query, no query result is stored. But when a statement is closed from beeline, a request is invoked to remove cached query result in `ThriftSessionState`.

Remove statement query result from `ThriftSessionState` currently throws an exception, hiding the original query failure exception and message. The PR makes it return cleanly, so the proper exception is reported to the end user.

## How was this patch tested?

Added unit tests.

Thanks. Merging to master.

Thanks for your first contribution @yantzu. May you please give me your JIRA username so I can assign the JIRA to you? Thanks.

Username: xilangyan . Thanks a lot!

thank you, done!


ImportError: cannot import name 'url_quote' from 'werkzeug.urls'

Hello,
I was working on the [AI/ML Intelligent Applications for the Edge] workshop but I found an error associated to Werkzeug dependency. Flask doesn't specify the Werkzeug dependency version so it throws the following exception due to the deprecated removed code called:
---> Serving application with gunicorn (wsgi) with default settings ...
[2024-03-08 19:56:25 +0000] [7] [INFO] Starting gunicorn 21.2.0
[2024-03-08 19:56:25 +0000] [7] [INFO] Listening at: http://<IP_ADDRESS>:8080/ (7)
[2024-03-08 19:56:25 +0000] [7] [INFO] Using worker: sync
[2024-03-08 19:56:25 +0000] [22] [INFO] Booting worker with pid: 22
[2024-03-08 19:56:25 +0000] [22] [ERROR] Exception in worker process
Traceback (most recent call last):
File "/opt/app-root/lib64/python3.9/site-packages/gunicorn/arbiter.py", line 609, in spawn_worker
worker.init_process()
File "/opt/app-root/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 134, in init_process
self.load_wsgi()
File "/opt/app-root/lib64/python3.9/site-packages/gunicorn/workers/base.py", line 146, in load_wsgi
self.wsgi = self.app.wsgi()
File "/opt/app-root/lib64/python3.9/site-packages/gunicorn/app/base.py", line 67, in wsgi
self.callable = self.load()
File "/opt/app-root/lib64/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 58, in load
return self.load_wsgiapp()
File "/opt/app-root/lib64/python3.9/site-packages/gunicorn/app/wsgiapp.py", line 48, in load_wsgiapp
return util.import_app(self.app_uri)
File "/opt/app-root/lib64/python3.9/site-packages/gunicorn/util.py", line 371, in import_app
mod = importlib.import_module(module)
File "/usr/lib64/python3.9/importlib/init.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1030, in _gcd_import
File "", line 1007, in _find_and_load
File "", line 986, in _find_and_load_unlocked
File "", line 680, in _load_unlocked
File "", line 850, in exec_module
File "", line 228, in _call_with_frames_removed
File "/opt/app-root/src/wsgi.py", line 1, in
from flask import Flask, render_template, Response, request
File "/opt/app-root/lib64/python3.9/site-packages/flask/init.py", line 7, in
from .app import Flask as Flask
File "/opt/app-root/lib64/python3.9/site-packages/flask/app.py", line 27, in
from . import cli
File "/opt/app-root/lib64/python3.9/site-packages/flask/cli.py", line 17, in
from .helpers import get_debug_flag
File "/opt/app-root/lib64/python3.9/site-packages/flask/helpers.py", line 14, in
from werkzeug.urls import url_quote
ImportError: cannot import name 'url_quote' from 'werkzeug.urls' (/opt/app-root/lib64/python3.9/site-packages/werkzeug/urls.py)
[2024-03-08 19:56:25 +0000] [22] [INFO] Worker exiting (pid: 22)
[2024-03-08 19:56:25 +0000] [7] [ERROR] Worker (pid:22) exited with code 3
[2024-03-08 19:56:25 +0000] [7] [ERROR] Shutting down: Master
[2024-03-08 19:56:25 +0000] [7] [ERROR] Reason: Worker failed to boot.
I solved the problem setting an specific versión of Werkzeug dependency in the requirements.txt.

Thanks.
Updated src/requirements.txt


Updated README.md

Merged the RPi cross-compile notes into the main README.

Thanks for doing this.

No problem; you're welcome.  If you want my RPi build to post with your other downloads and installers so that everything can be found together in one place or to test out, I have it posted in my releases:
https://github.com/dewhisna/openmv-ide/releases/tag/v1.6.0-RPi
You should now have all the details you need for doing the RPi builds too.  I'll occasionally try to keep my repository fork sync'd and run a build for my own experimentation of OpenMV with the RPi setup in my lab, but I probably won't be able to keep up with every main release you guys do, so you'll probably want to take over building them.
Thanks for the OpenMV camera design and tool work you guys are doing.  It's off to a great start!

Yes, I'll spin up some RPI VMs when I have a chance to take over building for it.
Also, checkout www.omniacreator.com. it's a project I started on a while back that didn't get popular, but, I'm going to integrate the tech into OpenMV IDE.

OmniaCreator looks pretty interesting.  It seems very similar to one called Guino that I used and ported to Qt three or four years ago.  Their original Guino used OpenFrameworks and I ported it to Qt to make GuinoQt, making it more portable (though I'm not sure I ever got around to publishing my GuinoQt variant).  At the time I was using it on Linux, Mac, and the Raspberry Pi to do data visualization of libSVM (Support Vector Machine) pattern recognition for a swept-frequency capacitive touch/gesture sensor.  Believe it or not, it was actually an extension of the current project I'm working on where I'm now experimenting with OpenMV -- though in a completely different area of the project.
At the time, I was using an Alamode board on my Raspberry Pi for the Arduino side of it and was running the data graphing and rendering on the Raspberry Pi itself.  For my current project, I designed a "ProMini PiDuino HAT" board for the RPi (https://oshpark.com/shared_projects/8ydgt0rh) that I'm now using.  And for the more intense work for the project, I will be using the STM32F746G Discovery Board instead, as it has up to 2.4msps ADCs with DMA and lots of external RAM, plus with its LCD, I can do most of my graphing work on-board.
Here's the Guino links:
http://www.instructables.com/id/Guino-Dashboard-for-your-Arduino/
https://github.com/madshobye/guino
Sometime, I'll have to play around with OmniaCreator and see how they compare, and I look forward to seeing your integration with OpenMV.
Thanks!

I'll probably work on that integration once there are a lot more users.

Hi, I bought a raspberry Pi and can start building images for it now. However, I noticed that each PI version seems to need a different G++ library. Is this the case? I'm interested in releasing binary packages that can run on all PI versions that don't require any Qt libraries installed.

You'll need to compile it against a specific Qt and the end-user will need that version of Qt in some form.  The deployment package I made for the RPi was self-contained and had all of the Qt library pieces it used, that I had compiled for it, bundled with it so that the user didn't need to separately install Qt, and with the library search paths set to automatically find it in the bundle.
If you really don't want the separate Qt lib files in the bundle, you could compile a static version of Qt so that it links statically to the OpenMV application.  It's been a while since I've tried compiling Qt purely static.  From past experience, it can be sort of hit-or-miss.  Some Qt releases seem to work better than others for that and it also depended on the environment.  I don't think they fully test all of the static options.  For example, I was successful in statically compiling Qt 4.8.5 on a Mac, but I never could get Qt 5.5.1 to compile static on the Mac to save my life.  I finally decided that just including the individual dynamic library files in the same code bundle with a local library search path really wasn't much different than a static build, so I generally resolve to doing that.
As for "each Pi version seems to need a different G++ library", you'll need a specific sysroot image to use for your cross-compile.  If you dynamically link everything to the runtime, then the user's  sysroot will need to have a compatible runtime to the one you used.  If everything is built static, then it would only be bound to a specific kernel API, but still need to target a specific OS variant.  It's the same basic rules that apply when building apps for the desktop environment.  If you use a Jessie Raspbian, it probably won't work for users running a Wheezy Raspbian, for example, but you should be able to make it compatible across several release versions of Jessie.
As for targeting different RPi's, the key difference there is that the various RPi boards have different forms of the ARM micro, like A6 vs A7, etc.  There are different gcc code generation options for targeting them and Qt mkspecs to select which is used.  Generally, things built for RPi 2 will run on the better micro of the RPi 3, but not necessarily the other way around.  To put it in desktop terms, it's much like making a program that runs on a 386 and having it run on a 586, but if you target the 586, it may not run on the 386.  But the code can be better optimized for the features of the 586.
The instructions I had put together was targeting the RPi 2 and RPi 3 environments.  I haven't tried it on the RPi 1, but the build I did is likely using processor features the RPi 1 doesn't have since I used the "linux-rasp-pi2-g++" mkspec.  I figured OpenMV could benefit from the better processor options of the RPi 2, and plus most people using OpenMV will probably want at least an RPi 2 for performance anyway, so that was my logic there.  People really wanting it to run on an RPi 1 could compile it themselves and change up the device option to switch mkspecs.

Hi, I've updated the build system to allow you to more easily build for the pi. Simply pass the argument "--rpi" to the make.py script followed by the path to the cross compile QTDIR. E.g.
./make.py --rpi /opt/qtrpi/raspi/qt5
I've also placed the output tar.gz file here:
http://upload.openmv.io/openmv-ide-linux-arm-1.7.1/openmv-ide-linux-arm-1.7.1.tar.gz
Anyway, I think I've got the build part right, however, the IDE doesn't run on the PI. At least my Pi. I used the QtRpi thingy to install the cross compiler system. Its targeted using qt 5.7.0 and linux-rasp-pi2-g++.
Can you try out the bundle and see if it works? If not, any ideas on how to fix it?

Fixed the link.

http://upload.openmv.io/openmv-ide-linux-arm-1.7.1/openmv-ide-linux-arm-1.7.1.tar.gz
Okay, this one is good.

I downloaded it.  However, the RPi I have to work on this project is in a state of flux at the moment, as I'm working on designing a laser vision system and that RPi is the brain for that project...
In the meantime, do try some of the other platform plugins.  Qt, by default on the RPi, uses the EGLFS plugin, which is designed for full-screen mode (the "FS" part) and I found that with the OpenMV IDE it will hang the system if you try to run it with an X-Windows session going -- or at least crash with lots of errors.
And if you want to run it stand-alone as the only app outside of X, you have to fix some libraries first.  Someone messed up the EGL/GLES libraries on the RPi image and built the packages with one that isn't compatible with the RPi codecs.  The wrong ones are in the /usr/lib/arm-linux-gnueabihf/ folder and the correct ones are in /opt/vc/lib/.  See the notes on item 8 in my ReadMe notes.  That is needed for the EGLFS mode to work, which should work if you exit X-windows.  Oh, and run "sudo ldconfig" after changing those symlinks.  I probably should have added that step to my ReadMe notes.
However, to make it run under X, I found that the xcb plugin worked decently well on mine.  Launch it from the command line with "./openmvide -platform xcb".  Of course for that to work, you had to compile in xcb support in your Qt, which requires a few additional libxcb dependencies.  I haven't checked your image yet to see if it had that plugin or not.  But that's what worked well on my system originally with my build.
Either way, I will try this version as soon as I can get my RPi functional again...

I just get this issue for all platform plugins:
This application failed to start because it could not find or load the Qt platform plugin "eglfs"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
Reinstalling the application may fix this problem.
Aborted
With the text changing for the particular plugin I try. This error happens in the Qt low level code... before OpenMV IDE's code loads so it's hard to track down. That said, at least the app runs technically so it's an arm binary.

Note that I'm VNC'ing into the Pi. I'm not sure what that means for a desktop environment.

I fixed the path issues and used sudo ldconfig and I get the same error:
This application failed to start because it could not find or load the Qt platform plugin "eglfs"
in "".
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, xcb.
Reinstalling the application may fix this problem.
Aborted

Hmmm...  I don't think the eglfs plugin will work over vnc.  Of the ones in your list, I would try both the "xcb" and the "linuxfb".  I've done vnc before, but via in Qt 4.8.5 with the qws system -- even running in a "NoVNC" web socket setup (example: http://vnc.purebiblesearch.com/).  But I haven't used VNC much with Qt 5.
I would think a normal VNC setup where you are serving all of the X-Windows would work as a normal remote desktop and use one of the standard xcb or linuxfb plugins.  Another thing to try is using ssh with X forwarding enabled.  Then if you are running remotely on a machine with X-Windows support, like Linux, you should be able to have the RPi app run directly on your remote screen.  I do that all the time with my RPi's for running them headless.  Just add the "-X" option to ssh when you connect to the RPi.  I don't think that even requires running "xhost" and all of that to enable (but I can't remember)...

I don't think VNC matters for viewing a windowed applciation. As for X11 forwarding over SSH. That fails too. I think there's something wrong with the binary but I don't know what. Since you have a working build it would be awesome if you could run my updated make.py script to see if that operational. Then I'll need to reinstall the qt cross compiler.

I just remembered I had another RPi 3 here that I was setting up for a laser cutter.  I used ssh with X11 forwarding to connect to it and tried your build and it does indeed run.  I had to use 'xcb', but it worked.  The only issue was that Qt doesn't ship fonts by default anymore.  I had previously done a patch to get them included in the tarball for my build, but it seems your tarball is missing them, so it spits out a ton of font errors and falls back to a default system font.
From my linux laptop, here's the steps I used:
$ ssh -X<EMAIL_ADDRESS>pi:~ $ tar -zxf  openmv-ide-linux-arm-1.7.1.tar.gz
pi:~ $ cd ~/openmvide/bin
pi:~/openmvide/bin $ ./openmvide -platform xcb

And up it came in a window on my linux laptop.  The only change you should have to make is the IP address of your RPi.
I did try linuxfb and eglfs just to see what they'd do and neither of them work for two reasons -- 1) that RPi is running an X-server at the moment and 2) and they, at least the eglfs, work with OpenGL for the local hardware and don't do X11 forwarding over ssh.  eglfs is mostly for writing to a local monitor with hardware graphics acceleration.  The linuxfb plugin would probably work if you had a server running the frame buffer that could transport it.  But 'xcb' does do X11 and it worked via ssh forwarding mode...
Now, there were some wonky graphical issues with the IDE itself, which I think was because it was running remotely, but it came up and ran.  So I think (except for the missing fonts) your build is OK.  It's at least runnable.  If I can get a monitor and keyboard on one of those Pi's in the next couple of days, I'll confirm it by running it locally...

Um, I have a Raspberry Pi 3 with no custom software on it. All I did was:
sudo apt-get update
sudo apt-get upgrade
So, its basically clean.
I'm thinking to distributing a setup.sh file and a run.sh file with the tar. Or editing the openmvide.sh file to check all things that need to be checked to make sure the IDE runs. I can easily generate these scripts with some python file I/O from the make.py script before OpenMV is Run. If you'd like to help me out getting this all working and verified I'd be happy to give you some free OpenMV Cams and other stuff.

Oh, I was just thinking... Unless you did a completely static build, you're going to need the minimal system dependencies installed that you had in your sysroot when compiling it -- system things that the Qt you built was compiled to use.  According to this (https://wiki.qt.io/RaspberryPi2EGLFS#Step_by_step) Qt blog, you can probably use:
sudo apt-get update
sudo apt-get build-dep qt4-x11
sudo apt-get build-dep libqt5gui5
sudo apt-get install libudev-dev libinput-dev libts-dev libxcb-xinerama0-dev libxcb-xinerama0

Now, you technically don't need the development versions of those packages installed to just run it, so you can drop all of the -dev suffixes.  And instead of the build-deps for Qt, as that's using, you just need the normal package dependencies.  You can get the dependency list with apt-cache depends libqt5gui5, for example.  But you will need to have all of the packages installed that the compiled version of Qt is linked with.
Another way would be to run ldd on every binary, starting with openmvide and working through each Qt lib, and find the libraries it's linking and every one that they are linking too, and use apt-file find to see which packages include them and use that to make your list of package dependencies.
There's probably better ways to do it, some utility that just gives you that package list perhaps, build I'm not as familiar with all of the system package building facilities.  Whenever I distribute desktop apps for Linux, I generally build them against LSB (Linux Standard Base) to make them platform independent so they will run on nearly every flavor of Linux without having to make a separate installer package for every distro.  But I don't know if the RPi supports LSB or not -- I've never tried.  I do see lsb-release, lsb-core, etc, packages in the apt cache on my RPi.  So it would seem that it does.
As for my helping you get it going, I wouldn't mind it, but at the moment, I'm so backlogged on projects I can't afford another distraction.  I'm desperately trying to get the first stage of this laser vision system functional by the end of the week of Labor Day.  So it will be at least a month before I'd have an opportunity.

Definitely going to have to edit the openmvide.sh script to install all of this stuff. Okay, I think I should be able to get something working if I can figure out the differences. Luckily the default PI setup never asks for a password.

I got it working with -platform xcb. Had to do... sudo apt-get install libxcb*...
Okay, so I can fix the font deploy problem. It seems like the qtrpi doesn't come with fonts at all.
But otherwise it works on the PI. However, it seems like I'll have to provide a script that does a lot of sudo apt gets...

Hi, try the download again. http://upload.openmv.io/openmv-ide-linux-arm-1.7.1/openmv-ide-linux-arm-1.7.1.tar.gz
I think I've solved most of the issues... I just need to figure out what else needs to be in the setup.sh script. Will have to build a new fresh raspi disk image.


fix(facets): update hierarchical facet model and replace adapter

EX-4135
The response from the new API changes a couple of things:

The hierarchical category now it's categoryPaths
The children values are now under a new property called children

NOW

BEFORE

In order to achieve that change we need to replace on of the mappers of the facets

The EmpathyHierarchicalFacetMapper is the one to override, after creating the new mapper we need to do the replacement and the only way I found is the following

q: undefined

Nice, I tried to remove it but I didn't find the way. Thanks!


consul: 1.12.1 -> 1.12.2

Description of changes
https://github.com/hashicorp/consul/releases/tag/v1.12.2
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 176168 run on aarch64-darwin 1

1 package built:

consul


Suckless version when?

GNU coreutils are so bloated...  I demand that you spoonfeed me a very slightly different command.
(/s, but would be kind of cool if you did)

i got you fam


S3 copy_object fail between cross account S3 buckets

Describe the bug
Assume 2 account:

SOURCE: allow get s3 object
TARGET:  allow put s3 object

When SOURCE assume role to TARGET and call s3_client.copy_object, exception occurs.
[ERROR] dict' object has no attribute 'split'

Same behavior when using put_object.
No error shows under no cross-account scenario.
Expected Behavior
no exception
Current Behavior
Traceback
assumed_s3_client.copy_object(CopySource=copy_source, Bucket='my-target-bucket', Key='whatever')
File "/var/runtime/botocore/client.py", line 391, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/var/runtime/botocore/client.py", line 705, in _make_api_call
http, parsed_response = self._make_request(
File "/var/runtime/botocore/client.py", line 725, in _make_request
return self._endpoint.make_request(operation_model, request_dict)
File "/var/runtime/botocore/endpoint.py", line 104, in make_request
return self._send_request(request_dict, operation_model)
File "/var/runtime/botocore/endpoint.py", line 134, in _send_request
request = self.create_request(request_dict, operation_model)
File "/var/runtime/botocore/endpoint.py", line 117, in create_request
self._event_emitter.emit(event_name, request=request,
File "/var/runtime/botocore/hooks.py", line 357, in emit
return self._emitter.emit(aliased_event_name, **kwargs)
File "/var/runtime/botocore/hooks.py", line 228, in emit
return self._emit(event_name, kwargs)
File "/var/runtime/botocore/hooks.py", line 211, in _emit
response = handler(**kwargs)
File "/var/runtime/botocore/signers.py", line 93, in handler
return self.sign(operation_name, request)
File "/var/runtime/botocore/signers.py", line 165, in sign
auth.add_auth(request)
File "/var/runtime/botocore/auth.py", line 384, in add_auth
canonical_request = self.canonical_request(request)
File "/var/runtime/botocore/auth.py", line 326, in canonical_request
cr.append(self.canonical_headers(headers_to_sign) + '\n')
File "/var/runtime/botocore/auth.py", line 268, in canonical_headers
value = ','.join(self._header_value(v) for v in
File "/var/runtime/botocore/auth.py", line 268, in <genexpr>
value = ','.join(self._header_value(v) for v in
File "/var/runtime/botocore/auth.py", line 279, in _header_value
return ' '.join(value.split())
AttributeError: 'dict' object has no attribute 'split'

Reproduction Steps
in AWS Lambda with Py3.9
for record in event['Records']:
                _bucket = record['s3']['bucket']['name']
                _path = record['s3']['object']['key']

                copy_source = {
                    'Bucket': _bucket,
                    'Key': _path
                }
                assumed_s3_client.copy_object(CopySource=copy_source, Bucket='my-target-bucket', Key=_path)
}

Possible Solution
No response
Additional Information/Context
No response
SDK version used
1.20.32
Environment details (OS name and version, etc.)
AWS Lambda Py 3.9

Hi @littlenine thanks for reaching out. This appears to be a general Python error rather than a boto3 issue. Have you tried searching on platforms such as StackOverflow for guidance? For example this post. But if that doesn't help could you share your full debug logs (with sensitive info redacted) by adding boto3.set_stream_logger('') to your script?

hello @tim-finnigan ,
Thanks for suggestions, boto3.set_stream_logger doesn't provide any more information than traceback above.
While s3 client correctly receive assume role credential, it doesn't looks like error came from there.
The only dict in the code were copy_source, which was told to be a dict on doc.
copy_source = { 'Bucket': record['s3']['bucket']['name'],  'Key': record['s3']['object']['key'] }
assumed_s3_client.copy_object(CopySource=copy_source, Bucket='my-target-bucket', Key='whatever')

Therefore I submit bug here cause obviously it turns out handle put-object failed when handling http headers.
Here's the record, which is auto generated example from Lambda Test for fake S3 PUT event for reference.
{
  "Records": [
    {
      "eventVersion": "2.0",
      "eventSource": "aws:s3",
      "awsRegion": "ap-southeast-1",
      "eventTime": "1970-01-01T00:00:00.000Z",
      "eventName": "ObjectCreated:Put",
      "userIdentity": {
        "principalId": "EXAMPLE"
      },
      "requestParameters": {
        "sourceIPAddress": "<IP_ADDRESS>"
      },
      "responseElements": {
        "x-amz-request-id": "EXAMPLE123456789",
        "x-amz-id-2": "EXAMPLE123/5678abcdefghijklambdaisawesome/mnopqrstuvwxyzABCDEFGH"
      },
      "s3": {
        "s3SchemaVersion": "1.0",
        "configurationId": "testConfigRule",
        "bucket": {
          "name": "my-source-bucket",
          "ownerIdentity": {
            "principalId": "EXAMPLE"
          },
          "arn": "arn:aws:s3:::my-source-bucket"
        },
        "object": {
          "key": "helloworld",
          "size": 14,
          "eTag": "74c7c6c4b67ddcbcfb74a07fa7500dc3"
        }
      }
    }
  ]
}

hello @tim-finnigan ,
Thanks for suggestions, boto3.set_stream_logger doesn't provide any more information than traceback above.
While s3 client correctly receive assume role credential, it doesn't looks like error came from there.
The only dict in the code were copy_source, which was told to be a dict on doc.
copy_source = { 'Bucket': record['s3']['bucket']['name'],  'Key': record['s3']['object']['key'] }
assumed_s3_client.copy_object(CopySource=copy_source, Bucket='my-target-bucket', Key='whatever')

Therefore I submit bug here cause obviously it turns out put-object failed when handling http headers.
Here's the record, which is auto generated example from Lambda Test for fake S3 PUT event for reference.
{
  "Records": [
    {
      "eventVersion": "2.0",
      "eventSource": "aws:s3",
      "awsRegion": "ap-southeast-1",
      "eventTime": "1970-01-01T00:00:00.000Z",
      "eventName": "ObjectCreated:Put",
      "userIdentity": {
        "principalId": "EXAMPLE"
      },
      "requestParameters": {
        "sourceIPAddress": "<IP_ADDRESS>"
      },
      "responseElements": {
        "x-amz-request-id": "EXAMPLE123456789",
        "x-amz-id-2": "EXAMPLE123/5678abcdefghijklambdaisawesome/mnopqrstuvwxyzABCDEFGH"
      },
      "s3": {
        "s3SchemaVersion": "1.0",
        "configurationId": "testConfigRule",
        "bucket": {
          "name": "my-source-bucket",
          "ownerIdentity": {
            "principalId": "EXAMPLE"
          },
          "arn": "arn:aws:s3:::my-source-bucket"
        },
        "object": {
          "key": "helloworld",
          "size": 14,
          "eTag": "74c7c6c4b67ddcbcfb74a07fa7500dc3"
        }
      }
    }
  ]
}

Hi @littlenine thanks for your patience.  Did you have any updates on your end? It would still help to have the debug logs in order to get more insight into this issue.
I also recommend updating your version of boto3 as 1.20.32 is quite old. The latest version is 1.26.37 per the CHANGELOG. And if you're having trouble updating on Lambda specifically then I suggest referring to this guide: https://aws.amazon.com/premiumsupport/knowledge-center/lambda-python-runtime-errors/

@tim-finnigan thanks for your update and suggestion.
Due to the schedule, we just workaround with AWS CLI.  I will see if I could give it a test for a newer boto3 version.

@tim-finnigan thanks for your update and suggestion.
Due to the schedule, we just workaround with AWS CLI.  I will see if I could give it a test for a newer boto3 version.
Feel free to close this issue, thanks again.


disable /tick

you can disable command blocks with /tick freeze
😭

nah! the funny command!

#118

you can still use /execute run tick to bypass that


feat: golf IMO 1964 q1

gcongr lets modular arithmetic calculations go faster.  I've been pretty cavalier about deleting auxiliary lemmas from the old solution which weren't needed in the new; this is ok per Scott.

bors merge


Bump min compatibility to PHP 7.2.5 and PS 1.7.7, module version to 4.0.0

Questions
Answers

Description?
Please check the related issue.  This PR is waiting for other PRs with major functioning changes before Release 4.0.0

Type?
refacto

BC breaks?
yes

Deprecations?
no

Fixed ticket?
Fixes PrestaShop/Prestashop#32841

How to test?
CI green.  All code changes are pure format changes so there is no need to check modules functions. The only concern is bumping doctrine/collections: from ^1.4 to ^1.8 that can affects src/Adapter/AbstractAdapter and MySQL, so a full functioning check for PS 1.7.7+ is still needed ;)

In fact, phpstan checks failed at composer install step with phar-io and phpunit version conflict. We are not in rush with this PR while waiting for  Hlavtox's major functioning changes :)

phpstan checks failed at composer install step with phar-io and phpunit version conflict

problem is solved by dropping PHP 7.1 support, and jumping to PHP 7.2.5 minimum instead.
Keeping PHP 7.1 support is unrealistic because even PHP 7.2 reached EOL since 1 Jan 2021.
I think this PR will be a good base for Module Release 4.0.0 in 2024.

@florine2623 I don't see that issue on both PS<IP_ADDRESS> and PS 8.1.x with these 2 commands:

git clone https://github.com/PrestaShop/ps_facetedsearch.git
gh pr checkout 941

Maybe you need to apply BO > Clear (PS) cache and FO > Clear (browser) cache before testing again.

@florine2623 Normal on 1.7.6, you can ignore it. 👍

I am not sure, but did you run composer install and not composer update? 🤔

@AureRita I see. mockery 1.6 requires php ^7.3, downgrade to mockery 1.3 solved the issue. If compose install still fails, you can try composer update as @Hlavtox suggested.
@tleon In need of reapprove after rebase ;)


chore: Return a machine struct from the cloudprovider create call

Fixes #
Description

Return a v1alpha5.Machine struct from the cloudprovider create call
This change preps for the machine.Controller which will use the full response to update the Machine status

How was this change tested?
make test
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

25 of 32 (78.13%)  changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.6%) to 76.909%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/cloudprovider/fake/cloudprovider.go
8
10
80.0%

pkg/cloudprovider/metrics/cloudprovider.go
0
5
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/cloudprovider/fake/cloudprovider.go
1
94.5%

Totals

Change from base Build<PHONE_NUMBER>:
0.6%

Covered Lines:
5822

Relevant Lines:
7570

💛  - Coveralls


TypingError When Accessing Attributes of Nested JitClasses

Reporting a bug

[x] I have tried using the latest released version of Numba (0.60.0).
[x] I have included a self-contained code sample to reproduce the problem.

Description
I get a TypingError when I try to access attributes of a jitclass contained in another jitclass as a list.
Error Message
Traceback (most recent call last):
  File "/mnt/c/Users/.../scratch.py", line 48, in <module>
    c = C(b_list)
  File "/home/.../mambaforge/envs/env/lib/python3.10/site-packages/numba/experimental/jitclass/base.py", line 124, in __call__
    return cls._ctor(*bind.args[1:], **bind.kwargs)
  File "/home/.../mambaforge/envs/env/lib/python3.10/site-packages/numba/core/dispatcher.py", line 423, in _compile_for_args
    error_rewrite(e, 'typing')
  File "/home/.../mambaforge/envs/env/lib/python3.10/site-packages/numba/core/dispatcher.py", line 364, in error_rewrite
    raise e.with_traceback(None)
numba.core.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Failed in nopython mode pipeline (step: nopython frontend)
Unknown attribute 'class_type' of type jitclass.A#7fde558affa0<a:int32>

File "scratch.py", line 36:
    def __init__(self, c: list[B]):
        <source elided>
        self.c = c
        self._a = typed.List.empty_list(A.class_type.instance_type)
        ^

During: typing of get attribute at /mnt/c/Users/.../scratch.py (36)

File "scratch.py", line 36:
    def __init__(self, c: list[B]):
        <source elided>
        self.c = c
        self._a = typed.List.empty_list(A.class_type.instance_type)
        ^

During: resolving callee type: jitclass.C#7fde4dab8d00<c:ListType[instance.jitclass.B#7fde4dab87f0<b:ListType[instance.jitclass.A#7fde558affa0<a:int32>]>],_a:ListType[instance.jitclass.A#7fde558affa0<a:int32>]>
During: typing of call at <string> (3)

During: resolving callee type: jitclass.C#7fde4dab8d00<c:ListType[instance.jitclass.B#7fde4dab87f0<b:ListType[instance.jitclass.A#7fde558affa0<a:int32>]>],_a:ListType[instance.jitclass.A#7fde558affa0<a:int32>]>
During: typing of call at <string> (3)

File "<string>", line 3:
<source missing, REPL/exec in use?>

ERROR conda.cli.main_run:execute(125): `conda run python /mnt/c/Users/.../scratch.py` failed. (See above for error)

Process finished with exit code 1

Reproducing Code
from numba import typed, types
from numba.experimental import jitclass

a_spec = {
    "a": types.int32,
}

@jitclass(a_spec)
class A:
    def __init__(self, a: int):
        self.a = a

b_spec = {
    "b": types.ListType(A.class_type.instance_type),
}

@jitclass(b_spec)
class B:
    def __init__(self, b: list[A]):
        self.b = b

c_spec = {
    "c": types.ListType(B.class_type.instance_type),
    "_a": types.ListType(A.class_type.instance_type),
}

@jitclass(c_spec)
class C:
    def __init__(self, c: list[B]):
        self.c = c
        self._a = typed.List.empty_list(A.class_type.instance_type)
        for b in self.c:
            self._a.extend(b.b)

a_list = typed.List.empty_list(A.class_type.instance_type)
a_list.append(A(1))
a_list.append(A(2))

b_list = typed.List.empty_list(B.class_type.instance_type)
b_list.append(B(a_list))

c = C(b_list)

Expected Behavior
The code should compile and execute without errors, creating an instance of C containing a list of B instances, each containing a list of A instances and a list of A instances extracted from the list of B instances.
Environment

Numba version: 0.60.0
Python version: 3.10
Operating System: Ubuntu 22.04
Installation method: Conda

Thanks for the report... I'm sure I once saw a workaround or another way of doing this at some point, but it's escaping me for now... will update this if / when I remember / find it.

Thanks for the update @gmarkall.
We're actually considering a significant design choice based on jitclasses. So if I understand correctly, jitclasses won't be improved in the near future? Is there a roadmap at all for them? Or will they be deprecated?


[FormRecognizer] Re-enable prod testing cloud

It's currently disabled because of service issues.

Fixed by https://github.com/Azure/azure-sdk-for-net/pull/26239.


Reactivate tests and clear models

Refactoring of evaluate_detection.py and uncommented tests in test_classification.py, as was mentioned in this comment. Remove redundant self.scale_factor which is neither dependend on DATA_SHAPE nor on self.input_shape by this and this. Remove redundant self.scale_factor which was neither dependend on DATA_SHAPE nor on self.input_shape by this and this.
CLA

[x] I have signed the CLA; if other committers are in the commit history, they have signed the CLA as well

All rebased after #307, tests have been passed.


Redirected sitemaps in SiteMapParserBolt / SiteMapFilter

Hi!
When the SiteMapParserBolt processes a redirected sitemap that contains links (see for example http://sample-sitemap.xml), the isSitemapKey is added only after the outlinks have been processed. If the SiteMapFilter is also enabled, then all the links are filtered out since the SiteMapParserBolt.isSitemapKey is false. This is fixed when the metadata.setValue(isSitemapKey, "true") is moved before the outlinks processing.
Also, the sniff method returns false for some sitemaps, because of the small maxOffsetGuess. For example, for this sitemap. This can be fixed by increasing sitemap.offset.guess, however, this might impact performance.
Should I create a PR with the fix for SiteMapParserBolt?
Should I take a shot at a different (efficient) way of "sniffing" a possible sitemap format?
Thanks,
Markos

Feel free to provide a PR with a fix.
We can follow up with a more efficient approach in an additional PR. WDYT?


WFLY-5848 Upgrade Narayana to 5.2.9.Final

https://issues.jboss.org/browse/WFLY-5848

Hold please, XTS failures

(Hold label is per Tom's comment, so ignore it if he says ok.)

OK, it looks like it was transient as we have many builds now without the issue. The CI environment sometimes does that. For posterity the XTS issue was recorded as https://issues.jboss.org/browse/JBTM-2586.
@bstansberry - please can you remove the hold label?


Source request:MANGAREADER

It's a very good source and would love to see it added
https://mangareader.to/

Duplicate of #148


Add login functionality

What do you mean by login functionality? like actually make the form submit stuff and s actions?

yeh


Additions to reinforcement learning task page

added a use case-"Trading and finance"
corrected glossary term- "State"
added a glossary term-"Observation"

Hi @simoninithomas , I have made the requested changes, and added the difference between the state and observation.

Hi @simoninithomas , I have implemented the requested changes, would love it if you could review it once again.

@Curiositysavesthecat could you please address my suggestions?

@merveenoyan Hi Ma'am, I have applied the suggestions. I am so sorry for some reason I couldn't see your suggestions until now .

Sure!


Rogue Sequence Flows added by moving element

In the current nightly build, new sequence flows are added when moving an element around. All of them are loops from and to the element that is moved. I also observed this with tasks.
The following screencast shows three unwanted sequence flows that get created (one of them even untouchable behind the event):

Great catch!
This is caused by the fact that the latest nightly allows you to model cyclic connections.
We need to address https://github.com/bpmn-io/bpmn-js/issues/774 in order to properly address this issue.


NullPointer when creating Feign Client

not able to create feign client getting this error in 1.0.0.RC3
Caused by: java.lang.NullPointerException: encoder
    at feign.Util.checkNotNull(Util.java:93)
    at feign.ReflectiveFeign$ParseHandlersByName.<init>(ReflectiveFeign.java:138)
    at feign.ReflectiveFeign$ParseHandlersByName$$InjectAdapter.get(ReflectiveFeign$ParseHandlersByName$$InjectAdapter.java:67)
    at feign.ReflectiveFeign$ParseHandlersByName$$InjectAdapter.get(ReflectiveFeign$ParseHandlersByName$$InjectAdapter.java:19)
    at feign.ReflectiveFeign$$InjectAdapter.get(ReflectiveFeign$$InjectAdapter.java:62)
    at feign.ReflectiveFeign$$InjectAdapter.get(ReflectiveFeign$$InjectAdapter.java:23)
    at feign.ReflectiveFeign$Module$$ModuleAdapter$ProvideFeignProvidesAdapter.get(ReflectiveFeign$Module$$ModuleAdapter.java:114)
    at feign.ReflectiveFeign$Module$$ModuleAdapter$ProvideFeignProvidesAdapter.get(ReflectiveFeign$Module$$ModuleAdapter.java:78)
    at dagger.ObjectGraph$DaggerObjectGraph.get(ObjectGraph.java:272)
    at feign.Feign$Builder.target(Feign.java:265)
    at org.springframework.cloud.netflix.feign.FeignClientFactoryBean.loadBalance(FeignClientFactoryBean.java:126)
    at org.springframework.cloud.netflix.feign.FeignClientFactoryBean.getObject(FeignClientFactoryBean.java:136)
    at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
    ... 29 more-

previously was using FeignConfiguration and using loadBalance() method to create the client.
any idea if i am missing anything?

Can you provide some more steps to repeat? What does your client configuration look like? Is it a fixed URL or a discovered service?

It is a discovered service
this is my configuration
Client  Configuration
--  Main Application
@Configuration
@ComponentScan
@EnableDiscoveryClient
@EnableAutoConfiguration
@EnableFeignClients
public class MainApplication{
}
--- Feign Client definition
@FeignClient("sampleBank")
public interface BankIntegration {
@RequestMapping(value="/api/int/{bankName}/transfer",method = RequestMethod.POST)
public TransferResponse transfer(@PathVariable("bankName") String bankName,@RequestBody TransferRequest transferRequest);

}
Yes spring creates the client , i was debugging it and thought that during the client object creation  error is thrown hence said "not able to create feign client"

I don't see anything wrong with that so it must be something tricky behind the scenes. Can you share a project (minimal preferably) that demonstrates the problem?

closing, if you still see problems, open a new issue please.

Hi, problem is still topical

Did you read Spencer's last comment?

Which one? About closing this issue or DefaultListableBeanFactory in https://github.com/spring-cloud/spring-cloud-netflix/issues/226

This one "open a new issue please."

Yep, I've already opened https://github.com/spring-cloud/spring-cloud-netflix/issues/326

how to solve?

Please open a new issue in the spring cloud openfeign project with a sample that recreates the problem


Media query utils

Create util to generate media queries for theme breakpoints
Create util for generating styles from theme grid margins

@adhityamamallan thanks for noticing the issue, we may need to check the linting process for pull request actions.
For the usage of the utils it basically returns an object with mediaqueries as keys and the value is object of styles for that media query. These utils will be used in page-tabs component which is the next PR.
What type of example usage you are suggesting for more clarity, is it a comment or a readme file ?

What type of example usage you are suggesting for more clarity, is it a comment or a readme file ?

What I had in mind was something like a docstring, but you can always add it later.


add record editing button

this adds a button that allows you to view/edit the metadata of an item.

hey, thanks for the pr. i seem to recall this only working for inventories in the dash.
2 potential solutions for this:

add a check if the inventory is in the dash
use RecordEditForm for inventories outside of the dash

if you dont want to implement a solution thats totally fine, let me know and il merge then implement one myself 😄


External  auth-service returns HTTP/404 instead of 401

Describe the bug
I am trying out the auth-tutorial - https://www.getambassador.io/user-guide/auth-tutorial/.
I have deployed the below service and I expect the auth to kick in when the user enters just the http://AMBASSADORURL (as no path-prefix is defined).
Without Basic Auth headers and the auth-service is designed to respond to the client with an HTTP/401.
However I am getting an HTTP/404 when I do a curl. Am I missing something here?
apiVersion: v1
kind: Service
metadata:
  annotations:
    getambassador.io/config: |
      ---
      apiVersion: ambassador/v1
      kind:  AuthService
      name:  authentication
      auth_service: "auth-service-svc:8080"
      allowed_request_headers:
      - "x-test-auth-session"
      allowed_authorization_headers:
      - "x-test-auth-token"
  name: auth-service-svc
spec:
  ports:
    - name: http
      port: 8080
      targetPort: 8080
  selector:
    app: auth-service
  type: ClusterIP

Versions (please complete the following information):

Ambassador: 0.53.1
Kubernetes environment: EKS
Version : 1.11

Additional context
Add any other context about the problem here.

Issue was that the underlying auth service was sending back HTTP/404. Based on the Envoy logs I was able to figure this out and now the scenario works.

For anyone who also got this issue, you can check this answer: https://stackoverflow.com/questions/55655050/ambassador-external-authentication-set-up-returns-404


fix: limit notified users on new comment

Add additional filters when the a user is creating a new comment
Notify only users that have commented on the post, not all followers

Cool approach. I guess that adding this to followersWhere was too convoluted? It's possible that logic just needs to be simplified. It takes me a few minutes to reacquaint myself with it every time, and I wrote it.
Have you verified that notifications on new Activity and new Acter follower still work?

@orbiteleven Yea. My tests were:

Created two users, 1 created a group and the other followed.
The owner of the group created a new post, which resulted in the follower receiving an email for a new post.
Created a new comment on the post, which resulted in no emails
The follower user wrote a comment, which resulted in the owner of the group receiving an email
The owner wrote a comment, which resulted in the follower getting a new email

As for the logic yes, I normally use services with a finder for such cases.

All services, follow one common interface, that normally has two methods - fetch and supports
The finder receives normally via DI a list of all services that implement the needed interface and when I ask for the data, by a given type, it iterates the available services, calls supports and if true, called the fetch method by given payload. This work well when we do simple things.

As for when I have more complex cases, for example, importing large data sets and storing data and other manipulations, I have created an interesting flow.

I have a class called Sequence, which takes a set of steps and creates a chain and start executing in order.
Each step is just a simple class that works similarly to middleware, it takes a payload, does something, and returns a payload.
Steps can be fully reusable, and you can have multiple steps in one sequence, also you can have multiple sequences. Also I created in such way that you can branch them :) which is pretty useful when importing files for example, as you have an execution context for storing stuff in execution. But yea, you get something like

    const executor = new Executor(
        new Sequence(
              new ReadFileStep(),
              new FindOrCreateEntityStep(),
              new UplaodFilesToS3Step(),
              new PersistStep()
        ),
        new Sequence(
              NotifyIfErrorsStep()
        )
    );


Added proxmox CPU issue to readme

There is an issue with the default settings for the CPU type in proxmox. I have added how the problem can be identified and fixed into the readme.

Thanks!


EditProfile/EditPhone/EditEmail doesn't trigger on first redirect to app.

Core Library
MSAL.js (@azure/msal-browser)
Core Library Version
3.0.2
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
3.0.2
Public or Confidential Client?
Public
Description
After completing an Edit policy page (EditProfile, EditPhone, EditEmail), I need to grab the claims object for the account that was just edited.
I'm noticing, when navigating back to my app, that the ACQUIRE_TOKEN_SUCCESS EventType isn't being triggered for my three policies on the first try. Every subsequent Edit policy save works fine.
I notice that I'm getting a new MSSTS authorityType key/value pair in my sessionStorage, but it doesn't seem to be added until after the ACQUIRE_TOKEN_SUCCESS triggers for the default SignIn policy first.
MSAL Configuration
export function MSALInstanceFactory(): IPublicClientApplication {
	return new PublicClientApplication({
		auth: {
			clientId: isIgniteReHost() ? environment.msalConfig.auth.igniteReClientId : environment.msalConfig.auth.standaloneClientId,
			authority: environment.b2cPolicies.authorities.signIn.authority,
			redirectUri: environment.msalConfig.auth.logoutRedirectUri,
			postLogoutRedirectUri: environment.msalConfig.auth.logoutRedirectUri,
			knownAuthorities: [environment.b2cPolicies.authorityDomain],
			navigateToLoginRequestUrl: false,
		},
		cache: {
			cacheLocation: BrowserCacheLocation.SessionStorage,
		},
		system: {
			loggerOptions: {
				loggerCallback,
				logLevel: LogLevel.Verbose,
				piiLoggingEnabled: false,
			},
		},
	});
}

Relevant Code Snippets
In my app.component.ts ngOnInit():

this.msalBroadcastService.msalSubject$
			.pipe(
				filter((msg: EventMessage) => msg.eventType == EventType.ACQUIRE_TOKEN_SUCCESS),
				takeUntil(this._destroying$),
			)
			.subscribe((result: EventMessage) => {
				if (result.payload) {
					let payload = result.payload as AuthenticationResult;
					let idtoken = payload.idTokenClaims as IdTokenClaimsWithPolicyId;
					let accessToken = payload.accessToken;
					this.storageService.setItem('AccessToken', accessToken);

					switch (true) {
						case this.checkIdTokenForPolicy(idtoken, environment.b2cPolicies.names.editProfile.toLowerCase()) ||
							this.checkIdTokenForPolicy(idtoken, environment.b2cPolicies.names.editPhone.toLowerCase()) ||
							this.checkIdTokenForPolicy(idtoken, environment.b2cPolicies.names.editEmail.toLowerCase()):
							this.router.navigateByUrl('/profile-updated');
							break;
					}
					return result;
				}
			});

Identity Provider
Azure AD / MSA
Source
External (Customer)

Hey @doug-williamson , can you please provide some more clarity on the flow here.  Are you making an acquire token call?

Hi @lalimasharda. Yes, I'm being redirected to my app after EditProfile policy, and am not doing any kind of acquire token call.  Will that be necessary for me to pick up the ACQUIRE_TOKEN_SUCCESS event type?


Update Config “general”

Automatically generated by Netlify CMS

👷 Deploy Preview for ashfolios processing.

Name
Link

🔨 Latest commit
19ac47b51b6768a97eee0d73fbceeb2e5cc77225

🔍 Latest deploy log
https://app.netlify.com/sites/ashfolios/deploys/6449f4efd9b336000811421c