Fix licenses file

Pull Request Motivation
License verification started to fail due to an upstream package change.
Kind
/kind bug
Release Note
NONE

/override pull-cert-manager-master-make-test
/override pull-cert-manager-master-e2e-v1-28
/override pull-cert-manager-master-e2e-v1-28-upgrade
/override pull-cert-manager-master-chart

What I can't understand is what changed upstream to cause this problem?

Yeah I'm confused by it a bit too - I figured first port of call was to fix the issue because I could reproducibly make this change happen.
I think I'd need to dig more into the go licenses internals to work it out, and I'm leaning towards skipping that work unless this becomes a common thing!


Added Hidraw USB Mode DualShock 4 Slim Compatibility

See https://github.com/chrippa/ds4drv/issues/104

Thanks!

@Ape sorry to necro this, I confirmed that this patch works, when will the pypi version be updated?

First thanks for developping this tool, very useful!
As of May 2020 this PR is not in 0.5.1 which is the default version published in pypi (https://pypi.org/project/ds4drv/).
Can you consider it or at least modifying your documentation at https://github.com/chrippa/ds4drv#stable-release ?
I've spent several minutes to figures it out why controller is not well seen...


no "total" field for order.completed RPC

The order.pending RPC returns a "total" field (indicating the total number of records that one could request using the offset and limit fields) but order.completed does not have this field (same with balance.history)
Looking at the code I guess we could do a "SELECT count()" type query as well (in rh_reader.c get_user_order_finished()).. but I guess it could add a bit more load to the server

Yes, The reason is to reduce the load of the server. The total is not necessary for history data in fact. Just always use next page or prev page.

ok, thanks for confirming that suspicion


final changes

improvements

@abdulzabbarshaik : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Docs Build status updates of commit 3b788b9:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-community-training/content-management/content-management-overview.md
:white_check_mark:Succeeded
View

microsoft-community-training/media/Enable PDF Download3.png
:white_check_mark:Succeeded
View

microsoft-community-training/settings/configurations-on-the-training-platform.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

PRMerger Results

Issue
Description

Added File(s)
This PR contains added files. New files require human review.

Image File
This PR added or updated an image file(s).


Documentation of signature check

Dear @timokoenig ,
this is awesome. I will recommend it to some EU public sector bodies.
Can you please tell me how the verification of signatures is realised and where the certificates come from? I think it would be useful to cover this aspect in the readme.
Have a nice day!

@rriemann thank you, I really appreciate it!
I will add more in-depth information to the readme shortly

@rriemann I added a bit more documentation on where the data comes from and which library is being used

When I built iOS CovPass last year, I came across a few problems that I want to avoid with this WebApp. First things are firewalls and mobile device managements. These are not easy to handle and could cause major problems with update algorithms because they block traffic to third party APIs. Second thing are potential outages of these APIs. It is easier to control the own web servers than others. Also to make it easy the WebApp and the data like DSCs are hosted on the same server.
Github plays in this whole DSC topic only the part of a cron job. The Github Action runs once a day to download the DSCs and eu entry rules (which are 300+ requests) and saves them in two json files.

Small side node: I added a flag to the environment variables to use the DEMO certificates in a local build. This makes it possible to test certificates from https://github.com/eu-digital-green-certificates/dcc-quality-assurance.
https://github.com/timokoenig/covid-validator/tree/v1.1.0#test-data


Check for /usr/bin/openssl on controller - do not use package_facts

Check for existence of openssl without using sudo on the controller
Basically, any task, even package_facts:, will use sudo if using
become=true - so just use "exists" test to check for /usr/bin/openssl

[citest]

WFM


There is no $bulk->add_actions() method

I'm not at the right PC right now with the right SSH key to make a proper PR, sorry!
https://github.com/elastic/elasticsearch-perl/blob/master/lib/Search/Elasticsearch/Client/7_0/Bulk.pm#L303
    $bulk->add_action($_) for (@actions);

# or

    foreach my $action (@actions) {
      $bulk->add_action($action);
    }

might be a better piece of example code.

@warewolf what do you mean by there is not add_actions()? I see it here.

@ezimuel notice how I said "add_actions()" and linked to the POD documentation?

@warewolf thanks, I fixed it here. Sorry for the misunderstanding, I didn't see the s.


How to connect from Ubuntu using openvpn3 indicator?

Problem Statement
Hello. I would like to know how I can connect using Ubuntu, because when using the Openvpn3 indicator, the connection does not open the PopUp window for authentication. On Windows and Android I can authenticate normally.
openvpn-auth-oauth2 logs
dez 27 18:06:54 ovpnserver openvpn-auth-oauth2[936]: time=2024-12-27T18:06:54.426Z level=INFO msg="client established" ip=<IP_ADDRESS>:21140 cid=8 kid=0 common_name=VPN_Pag_ai reason=ESTABLISHED session_id=0ZPLxZQSn8m1F7Me session_state=Initial vpn_ip=<IP_ADDRESS>
dez 27 18:13:05 ovpnserver openvpn-auth-oauth2[936]: time=2024-12-27T18:13:05.965Z level=INFO msg="client disconnected" ip=<IP_ADDRESS>:21140 cid=8 kid=0 common_name=VPN_Pag_ai reason=DISCONNECT session_id=0ZPLxZQSn8m1F7Me session_state=Initial

Using Android

Environment

openvpn-auth-oauth2 Version: 1.22.5
OpenVPN Server Version: OpenVPN 2.6.12 x86_64-pc-linux-gnu
Server OS:  Ubuntu Server 24.10
OpenVPN Client (flavor, OS): Ubuntu 24.04

Preflight Checklist

[X] I could not find a solution in the documentation,
the FAQ, the existing issues or discussions.

What is your Client config, server config and logs


[Module Catalog] Provide a --dry-run flag for the create command

Description

Add a --dry-run flag to the create command. When --dry-run is true, the build should execute:

print the resulting ModuleTemplate to the output instead of writing a file
check if the OCI artifacts could be pushed to the registry (no conflicts)

Reasons
Neighbors have asked for a possibility to test the module build without actually pushing the artifacts to the registry. Major use case seems to be in their PR pipeline where they need automated checks that the module version is valid without pushing the actual image and template. If they would push it, this would prevent changes to the PR as the re-push of the same version would be rejected.
Attachments

Related Issues:

https://github.com/kyma-project/cli/pull/2267
https://github.com/kyma-project/modulectl/issues/63

Needs clarification what is needed exactly. E.g., would it also be possible to use a test registry and suffix the version with the commit sha. At the same time check with OCM tools if the descriptors are there in the production registry already.

@c-pius On the submission pipeline we use 2 artifact registries, dev-modules-internal for modules built on the pull request level and modules-internal for modules built on the main branch. We were asked to remove --module-archive-version-overwrite flag from the CLI command. To be able to verify if it won't fail after merge to main we had to introduce --dry-run flag in the Kyma CLI. To verify if the content of the OCM structure was not changed for the same version between the channels.
More details in the issue: https://github.tools.sap/kyma/test-infra/issues/469

Sorry, I still don't get the full picture. I understand from the linked ticket, that for the PR artifacts you are okay already (you clear the registry after runs).
But what do you exactly need modulectl to do when --dry-run is set? Just build the OCM artifacts and ModuleTemplate and simply don't push the artifacts to the registry (just to see if the build works)? Or do you need some check that for the built artifacts, there are no existing entries in the registry?

@c-pius - yes, we don't push the image with the --dry-run flag enabled. Details: https://github.com/kyma-project/cli/pull/2267
We need to be able to check if the build won't fail after the merge to the main. Currently, the module team can release the module in version 1.1.0 to the fast channel, and they should not change content for the regular channel. We need to be able to check it against the production registry before merging it into the main branch.

@c-pius For the dev registry we don't clear the registry, we use the --module-archive-version-overwrite flag.
https://github.tools.sap/kyma/test-infra/blob/main/ado/scripts/kyma-alpha-create-module.sh#L32

@c-pius For the dev registry we don't clear the registry, we use the --module-archive-version-overwrite flag. https://github.tools.sap/kyma/test-infra/blob/main/ado/scripts/kyma-alpha-create-module.sh#L32

We didn't port the --module-archive-version-overwrite flag to modulectl as we didn't want to allow overwrites any longer. Would it be possible as part of the PR pipeline to first clean the existing artifacts based on the PR tag, if any?

@c-pius yes, we can remove the artifact in the dev registry using glcoud.
But if someone already released a module with version 1.1.0 in the prod registry, then we should not allow merging the PR. With the new modulectl, I assume that checking that such an artifact exists in the prod registry is enough. With the kyma cli we needed the dry-run flag, because it was allowed to release the same version of the module twice e.g. for fast and regular channels but we had to perform the check if the OCM structure was not changed. The best way to do it was dry-run flag in the kyma cli.

@c-pius
A) When we will have the feature of deleting artifacts from the dev registry then we don't need A).
B) can be also a check on the pipeline, currently, the version in the module-config needs to be bigger than previous one otherwise the pipeline fails.
The question is whether such features will be useful for other modulectl users. We used --module-archive-version-overwrite because it was provided by the Kyma CLI, and we don't need to delete the artifact on the pipeline in the dev registry. We needed --dry-run flag because with Kyma CLI it's allowed to release twice a module with the same version. If it is not allowed with the use of modulectl then we don't need it.

Understood, thanks for clarifying!
@janmedrek can you reach out in the PO call to the other module teams and check with the mdoule teams if and how they are using kymacli and in the future modulectl? We would need to clarify if they regularly want to "overwrite" existing module versions or if they need a dry run (build but don't push). Context is for their own development and testing purposes, not for the modules submitted to the neighbors pipeline.

@c-pius
one thing is the submission pipeline and other is the modulectl users who will use it without the use of the submission pipeline. We can implement some checks or delete the artifact from the dev registry but the question is if it shouldn't be handled by modulectl for users who will use it without the use of the submission pipeline.
The same case is in https://github.tools.sap/kyma/test-infra/issues/453. We can implement such check on the submission pipeline. But if someone tests it with modulectl locally or in the module repository GH action, then it will be allowed and won't fail.


Just some info to add

Details About Event (Some of these may change in the future)
Where: Kennett High School
Kennett Square, PA
Starts - 02/26/2016 @ 10:00 pm
Ends  -  02/27/2016 @ 6:00 am
Check-in Time: 9:00 pm to 10:45 pm
Registration Cutoff : 02/11/2016 11:45 pm
Registration info (How to register):
This can be implemented any way you choose.
Go to http://fourdiamonds.donordrive.com/event/khs16
Click "Register Now!"
Select "Participant"
Click Continue
Type in fundraising goal (Minimum is $50.00)
Select Grade
Select T-Shirt Size
Click Continue
Fill in all required information
Click Continue
Choose weather to make a donation now or later
Click Continue
Review your registration information
Click Complete Registration

Maybe we can just in bed this:
https://docs.google.com/presentation/d/1RfTcfq40UAc3QXaqVh9vkIDQ4Jn2SwgpyAOVnDyCWUM/pub?start=false&loop=false&delayms=3000&slide=id.p
using reveal.js? Not sure, what do you think @JoseRoman?

Just a side note:
This registration part that you are talking about adding is the online registration only.
We will eventually have a "Dancer Packet" that will include medical forms and other important forms that will be a physical packet of paper.
This could also be included on the website as a downloadable PDF or something. Ill let you know when we finish it.

@theseanconn, @Ernie3: I'm working on the 'How to Sign Up' section. Will we need to add "Sign Up" to the navegation bar?

Yeah that's a good idea. Just before contact maybe?
On Friday, October 9, 2015, Jose Roman<EMAIL_ADDRESS>wrote:

@theseanconn https://github.com/theseanconn, @Ernie3
https://github.com/Ernie3: I'm working on the 'How to Sign Up' section.
Will we need to add "Sign Up" to the navegation bar?
[image: image]
https://cloud.githubusercontent.com/assets/4240075/10407897/46f8f150-6ea6-11e5-8110-8dd965817a00.png
—
Reply to this email directly or view it on GitHub
https://github.com/KHS-Minithon/website/issues/1#issuecomment-147013332.

--
Thank you,
Ernest G. Wilson III
Email<EMAIL_ADDRESS>Cell:<PHONE_NUMBER>

@Ernie3: Yeah, I think that would be a good place to put it. :+1:

@Ernie3, @theseanconn: I added the steps to sign up. The style is different in mobile and tablets than in desktops. Let me know if I have to change anything.

@Ernie3, @theseanconn: Can this issue be closed?

We're good here


Add 0.17 release notes for lighthouse PR #1625

Release notes for https://github.com/submariner-io/lighthouse/pull/1625

The https://www.wireguard.com link keeps failing even though I can reach it fine. Anyway it's unrelated to this PR so we can force merge if need be.


!accept - Full team name not accepted when accepting an invitation and confirming it

False alarm, player typed comfirm.


dockerhub automatic build hooks

In case you want them :)

Thank you, much appreciated

Just noticed that I forgot to clean it in a separate branch before creating the PR, sorry...

No worries, it was already messy to begin with. I'm just happy this helped someone even though I needed it for a small quick fix a long time ago


Doubts Valkyrie Statistics

Hi. A couple of weeks ago I created a game of Mansions of Madness for Valkyrie (Sucesos Paranormales) and successfully uploaded.
In the statistics, opinions, etc. web document (https://docs.google.com/spreadsheets/d/1OsevlouIvR0DRYhGIS41PU9lBLB8VYgJvyj9KsHcAik/htmlview#) my game does not appear in the General Graphs section. Why?
And in the Document Administration section it appears in the right column.
I do not know why some parts appear to the left with Yes and others to the right, most of them with No. My game goes to the right but does not say No or Yes. I do not know why.
Thanks in advance.

Hi @DaniMassaro , this document is manually maintained. I have added the scenario to the sheet, but I have not added it to the ratings list, when I added it to the sheet it didn't have any ratings (0 ratings give a null error which breaks the chart).
I review it occasionally but not had a chance yet! I'll take a look later today and get it added. The rating will still show in the scenario explorer so the rating is visible to players in app
From a quick glance I can see that the scenario has 11 pays and a respectable 4/5 rating!

I can see the individual comments (spoilers) but not my game in General Graphs. I hope to appear soon on it!
I thought it was automatically maintained and had done something wrong in creating the game.
Thank you so much for everything!

Not a problem, no it's just little ole me here typing away! I'll close this case down and get your stats added tomorrow (ran out of time today!)


Depth Image

Compute the depth image from point-cloud and publish it.
The published depht image is distorted -> undistort it before use. Maybe put undistortion here?

Are you sure it is distorted? there is no distortion correction on the camera firmware?

I am  actually not 100% sure about it. I assumed it to be because the point cloud from the pointCloud2 message and the one computed back from the depth image were not identical (in the xy coordinates). Where can I find the code in which the point cloud (royale::depthData) is computed because I did not found it. With that it would be easier to verify this.


fix youtube embed

There was an erroneous space character immediately before the <iframe> tag. Apparently this made it not render (??).

Thanks for fixing it!


Add malfet channel for 3.11 installs

Add malfet channel for 3.11 installs

@atalman Do we need to cherry-pick this PR to release branch?


Add pyproject.toml for Custom Node Registry

We are working with dr.lt.data and comfyanon to build a global registry for custom nodes (similar to PyPI). Eventually, the registry will be used as a backend for the UI-manager. All nodes go through a verification process before being published to users.
The main benefits are that authors can

publish nodes by version and users can safely update nodes knowing ahead of time if their workflows will break or not
automate testing against new commits in the comfy repo and existing workflows through our CI/CD dashboard

Action Required:

[ ] Go to the registry. Login and create a publisher id (everything after the @ sign on your registry profile).
[ ] Add the publisher id into the pyproject.toml file.
[ ] Merge the separate Github Actions PR, then merge this PR.

If you want to publish the node manually, install the cli by running pip install comfy-cli, then run comfy node publish
Check out our docs if you want to know more about the registry. Otherwise, feel free to message me on discord at haohao_81202 or join our server if you have any questions!

hey @jtrue, wanted to send a small nudge and ask if you had any questions!

@jtrue, wondering if there's any way we can support you on this PR!


Precent2Retrain

Hi, bro, where did you use the Percent2Retrain? I cannot find.
Also, I also have another confuse point, I had comment it on my closed issue, could u pls check it when u are free?

(Sorry, did not receive notification)
I used the "Percent2Retrain" when initializing the pretrained models (for example):
https://github.com/ManuelPalermo/X-Ray-ConvNet/blob/1f291a0062d8bbcc230759775bac2a8cf7eccf0b/CNN_Model.py#L42-L45
It just selects the corresponding percentage of layers which should not be trained.


Stop BT upload after download complete

Any way to automatically stop a BT from uploading after the download fully complete?

You are strongly recommended to keep uploading.
However, if you are very unwilling to share and help others, see:
https://aria2.github.io/manual/en/html/aria2c.html?highlight=seed#cmdoption-seed-ratio


lint: go/ast/commentmap.go has variable named new

What version of Go are you using (go version)?

$ go version
1.11.3 darwin/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env

just a minor issue discovered in parsing the code with my own parser: probably not a great idea to use the keyword 'new' for a variable here -- obviously it works but isn't it best practice to avoid such naming conflicts?

go/ast/commentmap.go:246:

func (cmap CommentMap) Update(old, new Node) Node {
	if list := cmap[old]; len(list) > 0 {
		delete(cmap, old)
		cmap[new] = append(cmap[new], list...)
	}
	return new
}

isn't it best practice to avoid such naming conflicts?

In general, yes; but that's not always true.
In this case it's a very very small scope, so there's no chance of confusion. Also the current names (old and new) are probably the best possible in terms of readability of the code.
Also, new is not a keyword. Spec:
Keywords

The following keywords are reserved and may not be used as identifiers.

break        default      func         interface    select
case         defer        go           map          struct
chan         else         goto         package      switch
const        fallthrough  if           range        type
continue     for          import       return       var

https://golang.org/ref/spec#Keywords
This was a precise design choice.
new is a pre-declared identifier, and it's allowed to shadow it. It's not a good idea, except in cases, such as the one above, where 1) the scope is very small and there's no chance of confusion 2) the name used makes sense in the context of the function. AFAIK this is the current consensus about the shadowing of pre-declared identifiers.

I agree with @ALTree - for example, there isn't a clear better option for these names. oldNode and newNode could be an option, but they make the signature unnecessarily repetitive.
Similar changes have been rejected in the past, for example see: https://go-review.googlesource.com/c/go/+/87663


⚠ Jenkins Plugins Artifactory has degraded performance

In 6d05ebd, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1625 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 9f28616 after 18 minutes.


Update definition of subspecific genetic lineage and host subspecific genetic lineage to include cultivars

Current term details
Term name - **subspecific genetic lineage**
Term ID - MIXS:0000020
Structured comment name - subspecf_gen_lin
Definition - Information about the genetic distinctness of the sequenced organism below the subspecies level, e.g., serovar, serotype, biotype, ecotype, or any relevant genetic typing schemes like Group I plasmid. Subspecies should not be recorded in this term, but in the NCBI taxonomy. Supply both the lineage name and the lineage rank separated by a colon, e.g., biovar:abc123.
Expected value - Genetic lineage below lowest rank of NCBI taxonomy, which is subspecies, e.g. serovar, biotype, ecotype.
Value syntax - {rank name}:{text}
Example - serovar:Newport
Preferred unit -
Package(s) - food-food production facility, also in CORE

Term name - **host subspecific genetic lineage**
Term ID - MIXS:0001318
Structured comment name - host_subspecf_genlin
Definition - Information about the genetic distinctness of the host organism below the subspecies level, e.g., serovar, serotype, biotype, ecotype, or any relevant genetic typing schemes like Group I plasmid. Subspecies should not be recorded in this term, but in the NCBI taxonomy. Supply both the lineage name and the lineage rank separated by a colon, e.g., biovar:abc123.
Expected value - Genetic lineage below lowest rank of NCBI taxonomy, which is subspecies, e.g. serovar, biotype, ecotype, plus genetic lineage name.
Value syntax - {rank name}:{text}
Example - subvariety:glabrum
Preferred unit -
Package(s) - agriculture, host-associated, plant-associated, food-farm environment

Suggested update(s)
subspecific genetic lineage
Term name -
Term ID -
Structured comment name -
Definition - Information about the genetic distinctness of the sequenced organism below the subspecies level, e.g., serovar, serotype, biotype, ecotype, variety, cultivar, or any relevant genetic typing schemes like Group I plasmid. Subspecies should not be recorded in this term, but in the NCBI taxonomy. Supply both the lineage name and the lineage rank separated by a colon, e.g., biovar:abc123.
Expected value - Genetic lineage below lowest rank of NCBI taxonomy, which is subspecies, e.g. serovar, biotype, ecotype, variety, cultivar.
Value syntax - {rank name}:{text}
Example - serovar:Newport, variety:glabrum, cultivar: Red Delicious
Preferred unit -
Package(s) -

host subspecific genetic lineage
Term name -
Term ID -
Structured comment name -
Definition - Information about the genetic distinctness of the host organism below the subspecies level e.g., serovar, serotype, biotype, ecotype, variety, cultivar, or any relevant genetic typing schemes like Group I plasmid. Subspecies should not be recorded in this term, but in the NCBI taxonomy. Supply both the lineage name and the lineage rank separated by a colon, e.g., biovar:abc123.
Expected value - Genetic lineage below lowest rank of NCBI taxonomy, which is subspecies, e.g. serovar, biotype, ecotype, variety, cultivar.
Value syntax - {rank name}:{text}
Example -  serovar:Newport, variety:glabrum, cultivar: Red Delicious
Preferred unit -
Package(s) - agriculture, host-associated, plant-associated, food-farm environment

Additional context
Per issue #202, these changes make the definitions more inclusive of plants as host and as sequenced organism.
Remove row 1634 from the Agriculture package, because this term is already covered in row 1676

I removed row 1634 and changed host variety in the food-farm environment package with host subspecific genetic lineage.


Backport osd fragments fix

This backports 3 fixes from master onto stable-2.1 They are 349b9ab3e72f188c50b5f84f3ce5ee2fddcfbf80 (which means that you don't lose the osd fragments from ceph.conf on nodes that are members of another group as well as osds) and the two commits from my PR https://github.com/ceph/ceph-ansible/pull/1431 which mean you don't pick up stray files from /etc/ceph/ceph.d

Picking one of these tests (jewel-ansible2.2-xenial_cluster), the error seems to be:
ERROR: unknown environment 'jewel-ansible2.2-xenial_cluster'
Does that mean the tests don't work on the Stable-2.1 branch?

@andrewschoen @alfredodeza any ideas?
@mcv21 If you can wait one to two weeks, we should have finalized stable-2.2, just an FYI :). although I don't mind merging this once the issue with the CI is resolved.

we were discussing with @andrewschoen that backporting the new tests for stable-2.1 support is very difficult at the moment. I would prefer getting this to 2.2

I think the biggest issue is that to enable all the tests we have now for master in the stable-2.1 branch then we'd have to also backport task changes, which we are trying to avoid.  We've already shipped stable-2.1 downstream and if we bring in changes that hasn't been through QE then we risk regressions.
All that being said, I think it's best to wait until stable-2.2 which should be cut soon.

From our perspective, having a fixed 2.1 [CI tests notwithstanding] would beat having to move to 2.2 (given check-mode doesn't really work, it's always going to be a bit of a risk moving to a new ceph-ansible version).


How to build and deploy to iOS simulator

I need to test out something in the simulator, because I can't get console log from device (when I use system.out.println), but follow this guide https://docs.gluonhq.com/client/#_ios, after I execute mvn client:package, I got two package, one app and another ipa.
The app should be for simulator but it is built under arm64-ios folder, and the simulator log saying (when the app started, it force closed):
Program specified by service does not contain any valid architectures for this system.
The documentation doesn't mention how to change the architectures type for simulator, can anyone advise?

As far as I know building for the ios simulator is currently not supported.

yes you are right, confirm with their support team already...


remove whitespace and change dep to fork

Fixed the whitespace problem found in the package we use for the automatic snippet markdown injection here: https://github.com/NativeScript/markdown-snippet-injector/pull/12
In the meantime just turning off the docs build step in package.json.

Check out solution:
in $ ~/NEARStudio
npm install
npm run templates:build-template-docs


WIP: Guard offboard from NaN

@LorenzMeier, @v01d  this is a followup on #3001. Not tested
The idea behind this is that I'd like to drop out of offboard if it keeps receiving invalid values. One-offs would have no effect if setpoints are sent frequently enough. If you think that approach makes sense I'll test it this week.

This will be included in one of my next offboard PRs


"unlisted" being output during update and slow package resolution

Description
Paket version: 4.0.0-alpha033
Issue symptoms:

"unlisted" being written into log
Slowness when resolving dependencies.

I just tried a convert-from-nuget on a new ASP.NET Core WebAPI project template in Visual Studio 2017 (latest update with simplified csproj). It took huge amounts of time to do the version resolution, I didn't actually get to the end after half an hour and cancelled it. The following 3 sources were added even though I only have the official feed in my sources inside Visual Studio:
source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json
source https://dotnet.myget.org/F/cli-deps/api/v3/index.json
source https://api.nuget.org/v3/index.json

I cancelled it and then decided to run a paket update, because the convert-from-nuget now writes the dependencies and references file before this (thanks for changing that it's much better!). I slimmed the sources down to:
source https://api.nuget.org/v3/index.json

Because I thought the myget feeds might be causing the slowness. During the update it ran a bit faster but I still didn't let it finish as it was taking so long. It was writing a lot of "unlisted" lines into the output as can be seen here:

For the slowness, I've had this before at work about a year ago when proxy settings were enabled in Windows but I don't have this on my laptop at home, where I am now off my work VPN, so not sure why I'm seeing it. Paket update runs very quickly using Paket version <IP_ADDRESS> on a normal .NET/PCL project.
I've zipped up the solutions:

Starting Point
Unlisted Output

Expected behaviour

Unlisted is not output, or if there is actually an issue with the packages then a better description
The restore runs quickly (maybe this is an issue with my machine?)

@cloudRoutine I assume the second zip makes for a good sample for resolver improvements. Maybe you are interested to take a look.
@cjbhaines I improved the output in the trace. The slowness comes from the overspecification. If you remove the version pins in the paket.dependencies file it actually finshed after a while. Second update will then be a bit faster

@forki thanks for fixing that!
I just got through an update in 4 minutes and 25 seconds by floating the version to ~> 1.0. The packages and versions listed are the default project template so the resolution should be fairly straight forward shouldn't it? This might be a problem in the future because .NET Core 1.1 was only released last month and people might not want to go forward yet, which I just updated to by floating but it also requires a change to the target framework in csproj, so they will have to pin framework versions and then will have issues updating if they want to pull a new third party dependency update.

you can still pin. but you don't want to pin all the things

Ok, before we finish this one up then, do you know where the myget references are coming from when running the convert? I can't find them anywhere in my sources.

probably inherited from the configs machinewide


Bgq

Adapt MPI cmake section to turn off the mpi package for BGQ.
Make profstats.py a module, so that it can be called from within other projects.
Added -z, --profile_only_zero flag for turning off all profile output files except rank zero so that very large node number simulations are practical.

Went with just the option.


critools-version: v1.29.0-81-gfffa484c

Pulls in:

kubernetes-sigs/cri-tools#1344
to test:
#9787

Message: "failed to start sandbox \"e31b980fa651e7119c2abdae2ac3067cffb575a8d23416cdb86f3498b15c421d\": failed to create containerd container: snapshotter \"overlayfs\" doesn't support idmap mounts on this host, configure `slow_chown` to allow a slower and expensive fallback",

This doesn't look like a flake, new test added?

Yes:

https://github.com/kubernetes-sigs/cri-tools/pull/1354

Not sure why it is failing only for crun though
cc @rata

@AkihiroSuda the slow_chown requirement was added here: https://github.com/containerd/containerd/pull/9117. The reasoning was to improve the experience, and don't have users be using an expensive path (in terms of startup but especially in terms of storage overhead) without an explicit opt-in.
If the kernel was newer, it will use idmap mounts and no opt-in is required. But with a kernel that doesn't support idmap mounts, it asks that.
I think on CI it makes sense to set it to true always, as the cost is not so big, we want to test with older kernels too.
What do others think?

I think on CI it makes sense to set it to true always, as the cost is not so big, we want to test with older kernels too.

SGTM.
Alternatively, the daemon should report that it doesn't support UserNS when that opt-in is not enabled

Added slow_chown

• [FAILED] [0.046 seconds]
[k8s.io] Security Context UserNamespaces [It] runtime should support NamespaceMode_POD
github.com/kubernetes-sigs/cri-tools/pkg/validate/security_context_linux.go:885

  Captured StdOut/StdErr Output >>
  E0307 08:05:13.705233   72100 remote_runtime.go:193] "RunPodSandbox from runtime service failed" err="rpc error: code = Unknown desc = failed to start sandbox \"507f2962b25e2e8fa4732c8839a666bb48e4c51339eb2df88720a488df205f70\": failed to create containerd task: failed to create shim task: OCI runtime create failed: cannot stat `/home/runner/actions-runner/_work/containerd/containerd/tmp.KxsVAIZtS8/state/io.containerd.grpc.v1.cri/sandboxes/507f2962b25e2e8fa4732c8839a666bb48e4c51339eb2df88720a488df205f70/shm`: Permission denied: unknown"
  E0307 08:05:13.706756   72100 remote_runtime.go:222] "StopPodSandbox from runtime service failed" err="rpc error: code = NotFound desc = an error occurred when try to find sandbox \"7e0fdcc4f96d21557600bf845f2e474923e577e9eb4ad67497c0be328785ec84\": not found" podSandboxID="7e0fdcc4f96d21557600bf845f2e474923e577e9eb4ad67497c0be328785ec84"
  << Captured StdOut/StdErr Output

  Timeline >>
  STEP: searching for runtime handler which supports user namespaces @ 03/07/24 08:05:13.663
  STEP: using runtime handler: runc @ 03/07/24 08:05:13.664
  STEP: create NamespaceOption podSandbox @ 03/07/24 08:05:13.664
  Mar  7 08:05:13.705: INFO: Unexpected error occurred: rpc error: code = Unknown desc = failed to start sandbox "507f2962b25e2e8fa4732c8839a666bb48e4c51339eb2df88720a488df205f70": failed to create containerd task: failed to create shim task: OCI runtime create failed: cannot stat `/home/runner/actions-runner/_work/containerd/containerd/tmp.KxsVAIZtS8/state/io.containerd.grpc.v1.cri/sandboxes/507f2962b25e2e8fa4732c8839a666bb48e4c51339eb2df88720a488df205f70/shm`: Permission denied: unknown
  [FAILED] in [It] - github.com/kubernetes-sigs/cri-tools/pkg/framework/util.go:226 @ 03/07/24 08:05:13.705
  STEP: stop PodSandbox @ 03/07/24 08:05:13.706
  STEP: delete PodSandbox @ 03/07/24 08:05:13.706
  << Timeline

  [FAILED] failed to create PodSandbox: rpc error: code = Unknown desc = failed to start sandbox "507f2962b25e2e8fa4732c8839a666bb48e4c51339eb2df88720a488df205f70": failed to create containerd task: failed to create shim task: OCI runtime create failed: cannot stat `/home/runner/actions-runner/_work/containerd/containerd/tmp.KxsVAIZtS8/state/io.containerd.grpc.v1.cri/sandboxes/507f2962b25e2e8fa4732c8839a666bb48e4c51339eb2df88720a488df205f70/shm`: Permission denied: unknown
  Unexpected error:
      <*status.Error | 0x400064e268>:
      rpc error: code = Unknown desc = failed to start sandbox "507f2962b25e2e8fa4732c8839a666bb48e4c51339eb2df88720a488df205f70": failed to create containerd task: failed to create shim task: OCI runtime create failed: cannot stat `/home/runner/actions-runner/_work/containerd/containerd/tmp.KxsVAIZtS8/state/io.containerd.grpc.v1.cri/sandboxes/507f2962b25e2e8fa4732c8839a666bb48e4c51339eb2df88720a488df205f70/shm`: Permission denied: unknown
      {
          s: {
              s: {
                  state: {
                      NoUnkeyedLiterals: {},
                      DoNotCompare: [],
                      DoNotCopy: [],
                      atomicMessageInfo: nil,
                  },
                  sizeCache: 0,
                  unknownFields: nil,
                  Code: 2,
                  Message: "failed to start sandbox \"507f2962b25e2e8fa4732c8839a666bb48e4c51339eb2df88720a488df205f70\": failed to create containerd task: failed to create shim task: OCI runtime create failed: cannot stat `/home/runner/actions-runner/_work/containerd/containerd/tmp.KxsVAIZtS8/state/io.containerd.grpc.v1.cri/sandboxes/507f2962b25e2e8fa4732c8839a666bb48e4c51339eb2df88720a488df205f70/shm`: Permission denied: unknown",
                  Details: nil,
              },
          },
      }
  occurred
  In [It] at: github.com/kubernetes-sigs/cri-tools/pkg/framework/util.go:226 @ 03/07/24 08:05:13.705

https://github.com/containerd/containerd/actions/runs/8184613886/job/22379447776?pr=9920

@AkihiroSuda this seems like a runc issue. Maybe some dir in the path /home/runner/actions-runner/_work/containerd/containerd/tmp.KxsVAIZtS8/state/io.containerd.grpc.v1.cri/sandboxes/507f2962b25e2e8fa4732c8839a666bb48e4c51339eb2df88720a488df205f70/shm doesn't have r+x permissions?

@AkihiroSuda this seems like a runc issue. Maybe some dir in the path /home/runner/actions-runner/_work/containerd/containerd/tmp.KxsVAIZtS8/state/io.containerd.grpc.v1.cri/sandboxes/507f2962b25e2e8fa4732c8839a666bb48e4c51339eb2df88720a488df205f70/shm doesn't have r+x permissions?
Does the test run fine without changin cri-tools? That would be weird

This is a new test added recently, and we are using crun for this test.

@rata Could you take a look at the UserNS failure? 🙏

@AkihiroSuda oh, sorry, I thought you were looking at the failure because it is a new test.
The first thing I see is probably not very important, but it fails to set slow_chown:
./script/critest.sh: line 34: slow_chown: command not found

That is something we should fix but not the thing causing the error here, I think.
The error is:
  [FAILED] failed to create PodSandbox: rpc error: code = Unknown desc = failed to start sandbox "1cd9d98ea1a8df995d6102d99f068b438189e6e105f04a00a773a146abded186": failed to create containerd task: failed to create shim task: OCI runtime create failed: cannot stat `/home/runner/actions-runner/_work/containerd/containerd/tmp.iJKZzw42wr/state/io.containerd.grpc.v1.cri/sandboxes/1cd9d98ea1a8df995d6102d99f068b438189e6e105f04a00a773a146abded186/shm`: Permission denied: unknown

I think the error is caused by what I said before, it seems we can't transverse that path. Something like /home/ or /home/runner/, or any other directory in the path lacks r+x permissions. I can't push to that branch to add debug prints and see it, can you try to see if that is the issue?

ping @AkihiroSuda would you please add the option to skip the test in ARM CI? like https://github.com/containerd/containerd/pull/10161/commits/c10fa150263c403204ae262806434375b3d60111 (no idea why my branch can't trigger test) thanks.


Check thread-safety

It's not unheard of for teams to use threads in their code to do multiple things at once. We should make sure our robot API is thread-safe.

I'm discovering that it's very difficult to test for this in unit tests.
I'm going to submit my patches for this, and we'll have to test it on a real kit unless anybody has any good ideas for testing this?
@kierdavis @sedders123


Research on "backstamp"

Backstamp as Wikipedia Entity:
-The office of delivery may also backstamp a cover and this type of mark is known as a receiving mark. https://en.wikipedia.org/wiki/Backstamp
From Wikipedia (https://en.wikipedia.org/wiki/Postmark):
-In the 19th century and early 1900s, it was common for letters to receive multiple postmarks, or backstamps, indicating the time, date, and location of each post office transporting or delivering the letter, and this is still occasionally true
-Historically, postmarks, known as backstamps were also applied to the reverse side of a cover to confirm arrival at the post office on a specific date.
Postal Museum:
-https://postalmuseum.si.edu/object/npm_1992.2002.152

Add:
"transmitted" (information concerning the transmission of a message, that is, between
the dispatch and the next receipt, redirect, or forwarding),
from: Towards a Model for Encoding Correspondence in the TEI: Developing and Implementing


Illegal import declaration

hello, I have install all npm package, when I run "npm run dev",  There is an error "Illegal import declaration", Do you know how resolve this error?
And I have run with chrome browser, The error is "import React from 'react';";
Is the error ES6 grammar I use?

Hello,
How is your import statement looks like?

@wklc2015 dod you manage to solve your problem?

@wklc2015 I'll close this issue. Open it if you still have this issue.


fix: Added website title in the footer and achieved completeness.

Fixed issue #76
I have added the website name to the footer and improved the UI to make the footer complete. Also added the grid style to achieve responsive design of the footer.

Okay.

Hi , I have added background image to the footer and also added quick links section in it. Please have a look and let me know if any changes to be done.


When spans are kept due to Dynsampler Keyspace exhaustion, note it on the spans

Is your feature request related to a problem? Please describe.
Currently, when a trace is kept due to dynsampler keyspace exhaustion, it doesn't show in honeycomb.
Describe the solution you'd like
Include the rule that matched and the fact that keyspace was exhausted.
Describe alternatives you've considered
Make a "everything else" bucket for spans that match exhausted Keyspaces so they still get sampled a bit, even if it's not perfect.
Additional context

Would adding a metric around keyspace exhaustion errors be a helpful thing to have here?


About Linking to KB

Thank you for your wonderful research.
Can you walk me through how you link to the KB in your code?
It would be even better if you could suggest a reference to implement the pipeline from entity extraction to linking to KB and finally generating KGEs.
Thank you so much!

And I'm interested in the part from text to KB

Hello @VTaPo,
Thank you for your interest in our work. I have conducted exact matching of the nouns appearing in the question with the entities in the KB. If you provide your email, I can share the related preprocessing code with you.
Best Regards,
Yu-Jung

My email: @.***
I would be very grateful to receive the data processing code as well as
resources related to entity linking.
I'm honestly so grateful for your help.
Thank you very much.
Phong
Vào Th 3, 20 thg 2, 2024 vào lúc 16:54 Yu-Jung Heo <
@.***> đã viết:

Hello @VTaPo https://github.com/VTaPo,
Thank you for your interest in our work. I have conducted exact matching
of the nouns appearing in the question with the entities in the KB. If you
provide your email, I can share the related preprocessing code with you.
Best Regards,
Yu-Jung
—
Reply to this email directly, view it on GitHub
https://github.com/YuJungHeo/kbvqa-public/issues/5#issuecomment-1953849312,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZGTIF7MEYKMHGODYU6DVLTYURXGFAVCNFSM6AAAAABDPSTQ3WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTHA2DSMZRGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hello @VTaPo,
I think your email address was masked due to GitHub's policy. Thus, I have attached the dropbox download link for preprocessing codes of the Hypergraph Transformer as follows: https://www.dropbox.com/scl/fi/cxcflsexwu10eegycrtmz/preprocessing_for_HGT.zip?rlkey=se90f0468b8dnf5qeu4bkqw7d&dl=0
Best Regards,
Yu-Jung

Thank you very much!
Phong
Vào Th 3, 20 thg 2, 2024 vào lúc 18:14 Yu-Jung Heo <
@.***> đã viết:

Closed #5 https://github.com/YuJungHeo/kbvqa-public/issues/5 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/YuJungHeo/kbvqa-public/issues/5#event-11860254950,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZGTIF4ZZYX4XQBELP7AGD3YUSAPVAVCNFSM6AAAAABDPSTQ3WVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRHA3DAMRVGQ4TKMA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi, Sorry to bother you again.
I would like to ask if you know of any effective way to be able to map Qids
in KB to the real names of out world entities.
If there is a resource for that part hopefully you can share it with me.
Thanks a lot.
Phong
Vào Th 4, 21 thg 2, 2024 vào lúc 09:50 Phong Võ @.***> đã
viết:

Thank you very much!
Phong
Vào Th 3, 20 thg 2, 2024 vào lúc 18:14 Yu-Jung Heo <
@.***> đã viết:

Closed #5 https://github.com/YuJungHeo/kbvqa-public/issues/5 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/YuJungHeo/kbvqa-public/issues/5#event-11860254950,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZGTIF4ZZYX4XQBELP7AGD3YUSAPVAVCNFSM6AAAAABDPSTQ3WVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJRHA3DAMRVGQ4TKMA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Feature request: Auto-complete when typing piped commands

reverse hello | rev
Hit tab. No autocomplete.
Looks like it's possible to implement even with the API but would be nice to detect the pipe character and have it built in!

Good point - this would be good to have.
Not sure yet whether this will be tricky or simple to implement. I'll check it out.

I'll add this feature.

That'd be cool. Check out the ._exec command in index.js

I've made a pull request. Let me know if there's anything more I need to do to have it merged in!

Thanks! Looks good on cursory glance - I want to make sure it doesn't break more detailed use of autocompletion, such as on wat, which does some crazy things.
Could you rebase your branch with the linting I put in, and I'll try to get this merged as soon as possible!

Done.

Boom.


Timeout for requests?

Sometimes the connection hangs, this is probably an amazon issue (tried also with CURL).
What do you think of this timeout? It was missing!

@dmcquay It seems like throttling mechanism is already included in the master. Should we close this?


Getting Started with Bootstrap-vue next

What you are trying to do. A clear and concise description of what you want to happen.
I am trying to move/start a project in Vue 3 and bootstrap-vue next.  The project was a Vue 2 vue-cli bootstrap-vue holdover and I am trying to convert it to Vue 3.  This is my first attempt to use Vue 3 and bootstrap-vue-next so it may be something stupid.
I am trying to import and use bootstrap-vue-next in my application.
What you have already tried. A clear and concise description of any alternative solutions or features you have considered.
The error I get is saying (see below) that I 'may need an appropriate loader to handle this file type' when I try to import bootstrap-vue-next.mjs.  I have tried adding various loaders to my webpack.config.js file but it has not solved the problem.  I have also both included and excluded my node_modules in the rules since the error is pointing at the node_modules directory on my machine. Nothing has changed.   The error goes away when I comment out the import but then I don't get to use the bootstrap-vue-next components.  Google etc has not been particularly helpful and I have tried some of the solutions for react and other packages where this type of error has occurred.
Any help pointing to a loader that will work would be greatly appreciated.
Here is my webpack.config.js file
const path = require('path'); const webpack = require('webpack'); module.exports = {   entry: {       main:path.resolve(__dirname,',/src/index.js')     },     module: {       rules: [       {         test: /\.vue$/,         loader: 'vue-loader',         options: {           loaders: {           }           // other vue-loader options go here         }         },         {           test: /\.(?:js|mjs|cjs)$/,           exclude: /node_modules/,           use: {             loader: 'babel-loader',             options: {               presets: [                 ['@babel/preset-env', { targets: "defaults" }]               ]             },             resolve: {               fullySpecified: false,             },           }         }       ]     }   }
Any error messages you are getting. If any, please list the errors you are getting.
Here is the error I am getting:
_```
error  in ./node_modules/bootstrap-vue-next/dist/bootstrap-vue-next.mjs
Module parse failed: Unexpected token (161:44) <--- This points to a '??' operation.
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|   const t = ms(e);
|   return !!(t && t.height > 0 && t.width > 0);

}, Ae = (e) => ((e == null ? void 0 : e()) ?? []).length === 0, go = (e, t) => (Ue(t) ? t : Ma).querySelector(e) || null, Ss = (e, t) => Array.from([(Ue(t) ? t : Ma).querySelectorAll(e)]), qa = (e, t) => t && Ue(e) ? e.getAttribute(t) : null, _s = (e) => Ma.getElementById(/^#/.test(e) ? e.slice(1) : e) || null, ws = (e, t, l) => {
|   t && Ue(e) && e.setAttribute(t, l);
| }, $s = (e, t) => {

@ ./src/main.js 2:0-50 9:8-24
@ multi (webpack)-dev-server/client?http://<IP_ADDRESS>:8082&sockPath=/sockjs-node (webpack)/hot/dev-server.js ./src/main.js

**Environment (please complete the following information):**

- OS: MacOS Monterey 12.6.6 (2015 macbook pro)
- Package Version: 0.9.24
- Npm version: 8.3.1

main.js file
`import { createApp } from 'vue';
import BootstrapVueNext from 'bootstrap-vue-next';
import App from './App.vue';
import router from './components/router';

import "bootstrap/dist/css/bootstrap.css";
import "bootstrap-vue-next/dist/bootstrap-vue-next.css";

const app = createApp(App);
app.use(router);
app.use(BootstrapVueNext);
app.mount('#app');`

`package.json file
{
  "name": "which-one-is-special-vue3",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "serve": "vue-cli-service serve",
    "build": "vue-cli-service build",
    "lint": "vue-cli-service lint"
  },
  "dependencies": {
    "bootstrap": "^5.3.0",
    "bootstrap-vue-next": "^0.9.24",
    "core-js": "^3.6.5",
    "vue": "^3.0.0",
    "vue-loader": "^17.2.2",
    "vue-router": "^4.2.4",
    "vue-template-compiler": "^2.7.14"
  },
  "devDependencies": {
    "@babel/core": "^7.22.9",
    "@babel/preset-env": "^7.22.9",
    "@vue/cli-plugin-babel": "~4.5.13",
    "@vue/cli-plugin-eslint": "~4.5.13",
    "@vue/cli-service": "~4.5.13",
    "@vue/compiler-sfc": "^3.0.0",
    "babel-eslint": "^10.1.0",
    "eslint": "^6.7.2",
    "eslint-plugin-vue": "^7.0.0",
    "webpack": "^4.46.0"
  },
  "eslintConfig": {
    "root": true,
    "env": {
      "node": true
    },
    "extends": [
      "plugin:vue/vue3-essential",
      "eslint:recommended"
    ],
    "parserOptions": {
      "parser": "babel-eslint"
    },
    "rules": {}
  },
  "browserslist": [
    "> 1%",
    "last 2 versions",
    "not dead"
  ]
}

`

A full reproduction using webpack v5 would be useful so I can write the appropriate documentation section. In regards to this currently, it will likely be best to use Vite instead of webpack and follow the npm create vue@3 to initialize your application

I upgraded webpack to 5.88.1 (the latest) and the original error disappeared but now I am getting
ERROR  TypeError: Cannot read properties of undefined (reading 'NormalModule')
TypeError: Cannot read properties of undefined (reading 'NormalModule')
at VueLoaderPlugin.apply (/Users/Anthony/Documents/Github/which-one-is-special-vue3/node_modules/vue-loader-v16/dist/pluginWebpack5.js:44:47)
at webpack @./cli-service/node_modules/webpack/lib/webpack.js:51:13)
at serve @./cli-service/lib/commands/serve.js:163:22)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

Google tells me it is probably due to a version conflict but removing node_modules and package-lock.json and reinstalling does not clear it up.  I am also getting the following deprecated version warnings when I do npm install so that is probably part of the problem.
npm WARN deprecated @.: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated @.: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated @@.: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @@.: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @.: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated @.: this library is no longer supported
npm WARN deprecated @.: This loader has been deprecated. Please use eslint-webpack-plugin
npm WARN deprecated @.: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated @.: Please upgrade to consolidate v1.0.0+ as it has been modernized with several long-awaited fixes implemented. Maintenance is supported by Forward Email at https://forwardemail.net ; follow/watch https://github.com/ladjs/consolidate for updates and release changelog
npm WARN deprecated @.: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated @.: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2
npm WARN deprecated @.: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated @.: 3.x is no longer supported
npm WARN deprecated @.: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated @@.: Moved to 'npm install @sideway/address'
npm WARN deprecated @.: Please upgradeto version 7 or higher.Older versions may use Math.random() in certain circumstances, which is known to be problematic.See https://v8.dev/blog/math-random for details.
npm WARN deprecated @.: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated @@.: This version has been deprecated and is no longer supported or maintained
npm WARN deprecated @@.: Switch to 'npm install joi'
npm WARN deprecated @.: This SVGO version is no longer supported. Upgrade to v2.x.x.
I can zip up my directory and send it to you now or would you rather I solve the deprecation warnings and see where that gets me?  I assume you are concerned about my original error, not this one, but I could be wrong.
Since I have gotten no where with this version, I will move onto vite and see what that gets me.
Let me know about which version you want....

On 07/17/2023 11:55 AM PDT Issayah @.***> wrote:
A full reproduction using webpack v5 would be useful so I can write the appropriate documentation section. In regards to this currently, it will likely be best to use Vite instead of webpack and follow the npm create @.*** to initialize your application
—
Reply to this email directly, view it on GitHub https://github.com/bootstrap-vue-next/bootstrap-vue-next/issues/1302#issuecomment-1638696326, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEK2R6I3IULAU3THGPURXLDXQWDA3ANCNFSM6AAAAAA2NJKQ6E.
You are receiving this because you authored the thread.Message ID: @.***>

I'm not especially concerned with either error. Vue recommends Vite as a build tool, and so do I. However, I understand there is a market for using webpack, and would like to write documentation on how to use it.
The original error is likely because webpack 4 transpiles to an early version of the ecmascript. Whereas Vite, and this library use 2020 -- the null coalescing operator is a 2020 feature. There is some weirdness regarding mjs/umd, I'm not an expert, but I imagine webpack 4 is attempting to default to a cjs file, but only mjs and umd files are exported. So some sort of loader would be required for using webpack 4, however, webpack 5 likely doesn't default to this.

Well if you don't care;  Here (attached) is a version of my vscode (tar'ed and gzipped) directory (without the node_modules, obviously) where I used latest version of everything I could but npm run serve fails with a parsing error.  There is nothing to it except a single page (it has a router) with a form on it.  I was going to add other pages but needed a simple case to figure out what was going on.
/Users/Anthony/Documents/Github/which-one-is-special-vue3/src/App.vue
0:0errorParsing error: require() of ES Module /Users/Anthony/Documents/Github/which-one-is-special-vue3/node_modules/eslint/node_modules/eslint-scope/lib/definition.js from /Users/Anthony/Documents/Github/which-one-is-special-vue3/node_modules/babel-eslint/lib/require-from-eslint.js not supported.
Instead change the require of definition.js in /Users/Anthony/Documents/Github/which-one-is-special-vue3/node_modules/babel-eslint/lib/require-from-eslint.js to a dynamic import() which is available in all CommonJS modules
Let me know if this works or if you need something else....I will move to vite...

On 07/17/2023 2:54 PM PDT Issayah @.***> wrote:
I'm not especially concerned with either error. Vue recommends Vite as a build tool, and so do I. However, I understand there is a market for using webpack, and would like to write documentation on how to use it.
The original error is likely because webpack 4 transpiles to an early version of the ecmascript. Whereas Vite, and this library use 2020 -- the null coalescing operator is a 2020 feature. There is some weirdness regarding mjs/umd, I'm not an expert, but I imagine webpack 4 is attempting to default to a cjs file, but only mjs and umd files are exported. So some sort of loader would be required for using webpack 4, however, webpack 5 likely doesn't default to this.
—
Reply to this email directly, view it on GitHub https://github.com/bootstrap-vue-next/bootstrap-vue-next/issues/1302#issuecomment-1638939292, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEK2R6MQ7ILUAPVGD7FFA3TXQWYDHANCNFSM6AAAAAA2NJKQ6E.
You are receiving this because you authored the thread.Message ID: @.***>

I also have an app in Vue2/BV that I intend to migrate, and the approach I had in mind is to start a clean project and move things over page-by-page. I'd already switched to Vite with Vue2 a while ago, and most projects today (even in React) use it. You'll find more support for it than Webpack so it'll be a good idea to start with a clean project with that.

When I added the labels and assigned this, I was intending to create some documentation for vue-cli and webpack. However, as I'm actually getting around to building, I'm finding the process to not be all to different from the https://bootstrap-vue-next.github.io/bootstrap-vue-next/docs.html#legacy-installation on the documentation.
The best solution I can come up with when migrating is to do as suggested and to actually create a blank project and migrate your project structure over. This means dependencies and configs have a starting spot, then you can merge them over.
In my example, I used vue-cli to create an application, which uses webpack v5.
I mentioned it, but the issue is likely with webpack v4, and likely with some dependencies along with it. As mentioned we target ES2020, which is likely not what webpack v4 was natively built for, so it natively will likely require a plugin, but a better option is to upgrade to v5 or vite. Which, if you're going to Vue 3, is definitely a requirement imo


Refactor retrieval to make it faster to run in numba mode

This a work in progress!
This PR will make numba mode faster by rewriting the entire retrieve process into a numba JIT-able function (see _retrieve_internal_numba_parallel)
TODO:

[x] Cleanup retrieve_numba to make it compatible with retrieve when BM25 object is initiatilized with backend="numba"
[x] Deprecate selection_backend in retrieve so that it happens at the object init time
[x] Potentially rename _retrieve_internal_numba_parallel
[x] Make tqdm work in _retrieve_internal_numba_parallel
[ ] Potentially refactor the behavior of the selection and numba.selection modules
[ ] Create a tokenizer class (perhaps in a separate PR? also should handle #31 at the same time)
[x] add Tests for numba in numpy-disk mode and with bm25+ (use non-occurrence matrix)

I wonder if it is possible to do IVF here: https://github.com/xhluca/bm25s/blob/daf29ceaa2fd77ca8601920502b7b8f05eb82be2/bm25s/scoring.py#L329-L352

I wonder if it is possible to do invertex indexing here, by creating an array that tracks start and end: https://github.com/xhluca/bm25s/blob/daf29ceaa2fd77ca8601920502b7b8f05eb82be2/bm25s/scoring.py#L329-L352

Deprecate selection_backend in retrieve so that it happens at the object init time

In retrospective, it seems that selection_backend remains useful for testing purposes, as well as using the jax backend. Let's not deprecate it in 0.2.0

Make tqdm work in _retrieve_internal_numba_parallel

Unfortuantely tqdm won't work, so we can't add progress bar to retrieve when backend is set to numba

Create a tokenizer class (perhaps in a separate PR? also should handle https://github.com/xhluca/bm25s/issues/31 at the same time)

Will do that in a separate PR


Calls to async.applyEachSeries must include an explicit callback

When you call async.applyEachSeries with a sequence of arguments that ends in a function, it assumes that the final argument is a callback that should be triggered when the series is complete.
https://caolan.github.io/async/docs.html#applyEachSeries
In the use cases fixed in this PR, async.applyEachSeries is used to call middleware where the final parameter to the middleware is the next function.
Since the next is a function, and was the final parameter to applyEachSeries, applyEachSeries assumed it was the optional callback that can be provided as a final parameter, and not the final parameter to be passed to the middleware.  When calling the middleware, undefined was sent in place of the next parameter.  Middleware that actually needed to call the next parameter received an undefined value.
This PR ensures that the next function is indeed passed as the final parameter to the middleware.

Not sure if this is a related issue or not, but I get the same issue with next being undefined if I use an async function as a callback:
server.addMiddleware(server.MIDDLEWARE_PUBLISH_IN, async(req, next) => next());

This worked fine with SC 9.x, the issue only surfaced once we upgraded to a more recent version.

@UppaJung Sorry for the delay in response. The current code is intended behaviour, the last function passed to the applyEachSeries call is not meant to be the next callback; it's the final function that should be run after all the middleware functions have run (note that it's possible to add multiple middleware functions for each type of middleware and they are chained one after the other).
The next callbacks passed to individual middleware function (which you invoke in your code) is actually provided by the module, async will call the final callback when all functions in the chain have called next OR one of those functions calls next with an error next(err).

@BenV Support for this use case was not added explicitly but I'll try to fix this.

@UppaJung Could you confirm if your middleware function had the current number of arguments? Could this be the root of your issue or something else? The test cases which cover middleware are passing. Note that middleware functions should be in the form function (req, next) {} (first argument is req, second argument is next).

@BenV I tested your use case, passing an async function (as in async-await) is supported but if you do this, then the async function must return a new Promise and then either resolve or reject it (instead of calling next). This change may have happened when SC upgraded the version of the async module (now it seems to take into account async functions as being special; whereas before it just treated it like any regular function).

Ahh interesting, makes sense. Thanks for looking into it!

@jondubois: If the SocketCluster code can be called in a way that causes undefined to be passed to a "next" function, does that not imply there's either a bug or the parameters aren't being checked correctly?
Here's the code we have been using, with both a error print out if next is undefined and some extra code to make sure that never happens even if SocketCluster passes us a null next function. It indeed has a function which is of the form (req, next).
    // add middleware for subscribing
    scServer.addMiddleware(
      scServer.MIDDLEWARE_SUBSCRIBE,
      async (
        req: { channel: string, socket: { getAuthToken: () => Types.UnencodedUserTokenObject } },
        // Hack until a bug is fixed in SocketCluster's server
        next: (error?: any) => void = (error?: any) => {
          if (typeof(error) !== "undefined") {
            // tslint:disable-next-line:no-console
            console.log("Error in addMiddleware", error);
            throw(error);
          }
        }
      ) => {
        let channelNameParameter: Types.Channels.NameParameters;
        // tslint:disable-next-line:no-console
        // console.log("typeof(next)", next, req);
        // parse channelName to channelNameParameter object
        try {
          channelNameParameter = JSON.parse(req.channel);
        } catch (err) {
          // throw error if channel is not stringified json object
          next(err);
          return;
        }

        // get user object from socket server
        const unencodedUserTokenObject = req.socket.getAuthToken();
        const {authenticatedUserId} = unencodedUserTokenObject;

        // authenticate whether current user can subscribe the channel or not
        let isAuthenticated: boolean;
        try {
          isAuthenticated = await authenticateSubscription(authenticatedUserId, channelNameParameter);
        } catch (err) {
          next(err);
        }

        if (isAuthenticated) {
          next();
        } else {
          next(`${authenticatedUserId || "anonymous user"} does not have access to subscribe to ${req.channel}${
            unencodedUserTokenObject ?
              "no unencodedUserTokenObject" :
              JSON.stringify({unencodedUserTokenObject})
          }`);
        }
      }
    );

@UppaJung It sure looks like you're running into the same issue I was with using async/await. I got around this by simply using a non-async wrapper function for the middleware logic, but it sounds like you can also return a promise instead of using next.

@jondubois: Is the behavior for async/await documented anywhere?  I can change my code to work the way you say it's supposed to work, but there's at least a documentation bug if nobody who reads the documentation knows this is how it's supposed to work.  When I look at the documentation for addMiddleware, there's nothing that tells me that if my function returns a promise I can't also call next.


[TF 2.0] tf.linalg.inv

System information

TensorFlow version: '2.0.0-dev20190612'
Python version: 3.6.7

Describe the current behavior
I am taking the inverse of a matrix with a large condition number, see the code for the matrix example, when I try tf.linalg.inv(A) I get the error: InvalidArgumentError: Input is not invertible. [Op:MatrixInverse]
Describe the expected behavior
I don't think that is the correct error, because the Matrix can be inverted because the determinant is not exactly zero and TF gets it as zero due to the way tf.linalg.det is implemented. But if you try the same in numpy or Matlab, we can get the inv, in numpy you get the inv and in Matlab, you get the inv with a warning. Again, the determinant is very small (2.1934511e-08), for all purposes it can be assumed to be zero, so in the least, the error can be more of a warning rather than a not invertible error.
Also, I am curious to know how precise TF calculations are or after how many significant figure something is rounded to be zero. If you have any resources or links so I can check it out, would really appreciate it.
Code to reproduce the issue
A = tf.constant([[4.1, 2.8], [9.676, 6.608]], dtype=tf.float32)
Ainvnp = np.linalg.inv(A)
print(A2inv)

Ainvtf = tf.linalg.inv(A)
print(Ainvtf)

I have tried on Colab with TensorFlow version 2.0.0-dev20190612 and was able to get inverse of matrix when trying with numpy but got the mentioned error when trying with "tf.linalg.inv"

any update?

If the condition number of your matrix approaches 1/std::numeric_limits then it is "numerically singular", or "numerically indistinguishable" from a singular matrix.
As you mention, Matlab warns you that you are in this regime, which also means that the results returned by np.inv or inv in Matlab are essentially completely random numbers.
In TensorFlow we chose to fail with an error in this case, instead of returning garbage. The TF error only occurs when zeros appear in the diagonal of the underlying LU decomposition, which is not as reliable as the condition number estimation approach used by, Matlab. I contributed a condition estimator to the Eigen library used by TF on CPU, and we should probably consider using it.
My advice would be:

Don't compute the inverse of a matrix unless you absolutely have to. If you are really solving a linear system of equations, consider using tf.linalg.solve. Use tf.linalg.solve_ls, if you are solving a least-squares problem or an under-determined linear system.
If you think you need the inverse for an ill-conditioned matrix, you most likely want the pseudo-inverse provided by tf.linalg.pinv.
If you really want to work with an ill-conditioned matrix, use tf.linalg.svd.

I would recommend picking up a textbook on numerical linear algebra and read about (backwards) to better understand what the limitations of these algorithms are. Personally I really like Jim Demmel's book: https://epubs.siam.org/doi/book/10.1137/1.9781611971446?mobileUi=0

Hello guys,
My simple question is that why the Matlab running on my laptop (Intel, core i5, 8G ram) computes the inverse faster as compared to the Google TPU. Code attached...
Matlab code:
A = rand(3000,3000);
tic
inv(A);
t = toc;
disp(t)
Output:
1.1297
Python code:
import numpy as np
import scipy as sp
import timeit
import tensorflow as tf
dim = 3000
mat = tf.random.uniform(shape=(dim,dim))
st = timeit.default_timer()
tf.linalg.inv(mat)
print("time elapsed tensorflow:", timeit.default_timer() - st)
x = np.random.rand(dim,dim)
st = timeit.default_timer()
np.linalg.inv(x)
print("time elapsed scipy: ", timeit.default_timer() - st)
Output:
time elapsed tensorflow: 1.3009283419999065
time elapsed scipy: 2.618305011000075

@umairbinmansoor Please open a new issue with a simple standalone code to reproduce the issue. Your code uses only cpu as you didn't enable any TPU. Thanks!

@umairbinmansoor Please open a new issue with a simple standalone code to reproduce the issue. Your code uses only cpu as you didn't enable any TPU. Thanks!

@jvishnuvardhan, I have the earlier output with the TPU selected but the funny thing is, with GPU, I am getting 0.1153 s


Introduce some caching in the middle tier to add the user_query to all ubi_events

This takes advantage of the middletier to set up a cache of query_id --> user_query's when the _msearch is run.   This avoids having to add more state management to our JS front end, (and changing ubi.js).
To see the cache in action, run curl http://localhost:9090/dump_user_query_cache.
You will see user_query added to impressions, add to carts, and clicks (and anything else that goes through the middletier).

Nice job, thanks!


when i use k8s to distribute training, i get the error on scheduler?(my_node_.port) != (-1) bind failed

Worker and server containers are fine, but get this error when creating scheduler container, anyone knows why? thanks.
Traceback (most recent call last):
File "train_cifar10.py", line 22, in
from common import find_mxnet, data, fit
File "/mxnet/example/image-classification/common/find_mxnet.py", line 20, in
import mxnet as mx
File "/mxnet/python/mxnet/init.py", line 56, in
from . import kvstore_server
File "/mxnet/python/mxnet/kvstore_server.py", line 85, in
_init_kvstore_server_module()
File "/mxnet/python/mxnet/kvstore_server.py", line 82, in _init_kvstore_server_module
server.run()
File "/mxnet/python/mxnet/kvstore_server.py", line 73, in run
check_call(_LIB.MXKVStoreRunServer(self.handle, _ctrl_proto(self._controller()), None))
File "/mxnet/python/mxnet/base.py", line 146, in check_call
raise MXNetError(py_str(LIB.MXGetLastError()))
mxnet.base.MXNetError: [11:09:58] src/van.cc:76: Check failed: (my_node.port) != (-1) bind failed
Stack trace returned 10 entries:
[bt] (0) /mxnet/python/mxnet/../../lib/libmxnet.so(_ZN4dmlc10StackTraceB5cxx11Ev+0x5b) [0x7fa69340554b]
[bt] (1) /mxnet/python/mxnet/../../lib/libmxnet.so(_ZN4dmlc15LogMessageFatalD1Ev+0x28) [0x7fa693405f98]
[bt] (2) /mxnet/python/mxnet/../../lib/libmxnet.so(_ZN2ps3Van5StartEv+0x91f) [0x7fa695eb017f]
[bt] (3) /mxnet/python/mxnet/../../lib/libmxnet.so(_ZN2ps6ZMQVan5StartEv+0x4a) [0x7fa695ebaaea]
[bt] (4) /mxnet/python/mxnet/../../lib/libmxnet.so(_ZN2ps10Postoffice5StartEPKcb+0x1e9) [0x7fa695eac709]
[bt] (5) /mxnet/python/mxnet/../../lib/libmxnet.so(_ZN5mxnet7kvstore11KVStoreDist9RunServerERKSt8functionIFviRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE+0x1b2) [0x7fa695e2e9b2]
[bt] (6) /mxnet/python/mxnet/../../lib/libmxnet.so(MXKVStoreRunServer+0x4b) [0x7fa695dab5eb]
[bt] (7) /usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call_unix64+0x4c) [0x7fa6b572de40]
[bt] (8) /usr/lib/x86_64-linux-gnu/libffi.so.6(ffi_call+0x2eb) [0x7fa6b572d8ab]
[bt] (9) /usr/lib/python2.7/lib-dynload/_ctypes.x86_64-linux-gnu.so(_ctypes_callproc+0x48f) [0x7fa6b593d3df]

Hi！ I meet the same problem , could you please give some help on debugging it ? thanks ! @GoodJoey

me too , need help, thanks!

did you use mx_operator?


add support for "multipart/x-mixed-replace" (for streaming video)

I presume this has already been considered. If so, I'd be great to document why it has been implemented yes (technical limitations, memory,..) that way if others decide to implement it, can use this information to make better decisions.
Thanks for your awesome work.

Hi, could you share some of your code so I can see how do you want to use it?
Maybe using a ChunkedResponse class would be sufficient. I am not sure how good (and if) it will work, as streaming video will likely require lots of memory, and considering that many boards can barely load the library itself, this use case might require using e.g. Feather ESP32-S3.
I may be wrong, but I believe that even if you goal is possible at all, it likely will require specific hardware with enough memory.

Each frame is a few Kb, plus I was streaming video using Micropython before, (Note: I am migrating to CircuitPython because the Micropython platform is a total mess). So it should be possible, all we need is the functionality in the server.
I don't have any decent code to share yet because I am still learning so probably I am making lots of shameful mistakes :)

I will try to make a simple video streaming example using on disk images, but I would really appreciate some, even work in progress code. I curently do not have any camera that I can connect to a microcontroller so I want to understand the workflow of capturing the frames from camera that later could be adapted to a "x-mixed-replace" response.

In CircuitPython I tried using the following code:
BOUNDARY = "FRAME"
@server.route("/")
def base(request):
    response =  Response(request)
    response._send_headers(content_type='multipart/x-mixed-replace; boundary=%s' % BOUNDARY)
    for i in range(10):
        jpeg = b"cacacacacacacacacaca" #cam.take()
        response._send_bytes(request.connection, b'--%s\r\n' % BOUNDARY)
        response._send_bytes(request.connection, b'Content-Type: plain/text\r\nContent-Length: %d\r\n\r\n' % len(jpeg))
        response._send_bytes(request.connection, jpeg)
        response._send_bytes(request.connection, b'\r\n')
    return response

As you can see I am only streaming here some text
And with MicroPython I used https://github.com/wybiral/micropython-aioweb with this code:
app.route('/vid')
sync def vid_handler(r, w):
   PART_BOUNDARY = "123456789000000000000987654321"
   STREAM_CONTENT_TYPE = "Content-Type: multipart/x-mixed-replace;boundary=" + PART_BOUNDARY + "\r\n"
   STREAM_PART = "Content-Type: image/jpeg\r\nContent-Length: %u\r\n\r\n";
   STREAM_BOUNDARY = "\r\n--" + PART_BOUNDARY + "\r\n";

   w.write(b'HTTP/1.0 200 OK\r\n')
   w.write(STREAM_CONTENT_TYPE)
   while True:
       w.write(STREAM_BOUNDARY)
       f = camera.capture()
       w.write(STREAM_PART % len(f))
       w.write(f)
       await w.drain()

Thanks, I will try making it work and will come back to you with the results.

I managed to make a working example: https://github.com/michalpokusa/Adafruit_CircuitPython_HTTPServer/blob/x-mixed-replace-example/x_mixed_replace_example.py
Make sure to also download the "frames" folder, or change the code to work with camera from the start.
I am not sure whether it should be a feature in lib itself - it is already very big. Maybe I will make a PR based on example above as your usage seems like it might be common.
Please try the code above, I will be happy to help with any problems you encounter.

Thanks!!! I'll check it out later today.

This is awesome, and it works like a charm :) I have some minor comments:
I tried to combine the below two lines into 1
        self._send_bytes(
            self._request.connection,
            bytes(f"{self._boundary}\r\n", "utf-8")
        )
        self._send_bytes(
            self._request.connection,
            bytes(f"Content-Type: {self._frame_content_type}\r\n\r\n", "utf-8"),
        )

but for some reason that was caused an unrelated error:
Traceback (most recent call last):
  File "adafruit_httpserver/request.py", line 349, in __init__
  File "adafruit_httpserver/request.py", line 480, in _parse_request_header
  File "adafruit_httpserver/headers.py", line 59, in __init__
ValueError: need more than 1 values to unpack

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "adafruit_httpserver/server.py", line 408, in poll
  File "adafruit_httpserver/server.py", line 295, in _receive_request
  File "adafruit_httpserver/request.py", line 351, in __init__
ValueError: ('Unparseable raw_request: ', b'GET /live-feed HTTP/1.1\r\nHost: <IP_ADDRESS>:5000\r\nUser-Agent: Wget/1.21.2\r\nAccept: */*\r\nAccept-Encoding: identity\r\nConnection: Keep-Alive\r\n\r\n')
Traceback (most recent call last):

Also, I'd be great to minimize copies by moving the b"\r\n" to the above _send_bytes (only the second time this gets called)
self._send_bytes(self._request.connection, bytes(encoded_frame) + b"\r\n")

Do you think the suggested changes would help? Otherwise this is great and gets a decent frame rate (140Kb/s)

173K/s by batching the b"\r\n" like this:
        if self.frame_idx > 0:
            self._send_bytes(
                self._request.connection,
                bytes(f"\r\n{self._boundary}\r\n", "utf-8")
            )
        else:
            self._send_bytes(
                self._request.connection,
                bytes(f"{self._boundary}\r\n", "utf-8")
            )

        self.frame_idx +=1

For some reason merging the two _send_bytes doesn't work

You are right about content_type="video/mp4", I don't remember putting it there, it indeed doesnt make sense as this is not mp4, probably a leftover from example I copied or Copilot added it and I didn't spot it.

I think wgeting the live feed wouldn't work, as wget would have to keep downloading the file, and considering the file is jpeg, it probably does not know what to do with next frames.

You are right about minimizing copying the encoded frame, although I wouldn't keep track of current frame, you could simply

self._send_bytes(self._request.connection, bytes(encoded_frame))
self._send_bytes(self._request.connection, bytes("\r\n", "utf-8"))

It makes the code clear and does not really impact performance. ChunkedResponse already does it this way, overhead is very, very minimal.
I could improve that example, but it was mainly a quickly written proof-of-concept.

Regarding the ValueError, I believe the cause of it are the double \r\n at the end of request
...Connection: Keep-Alive \r\n\r\n

The headers parser uses splitline and then splits each line to get header name and value, I suspect it tried to split empty line between "\r\n" and "\r\n", which resulted in ValueError, the question is why did the request containe doubled newline at the end.
I might add check for that to the parser in the PR, thanks for spotting that.
When you finish your project, please share a link if you can, I always like to see new ways how people use the adafruit_httpserver. 👍

You code and CircuitPython made work this small setup :)

The antenna is highly recommended as otherwise the camera casues cross over issues with the on board antenna
BTW I cant believe how much better is Circuitpython compared to Micropython. I love the web interface and its software stack is great.
Oh and I'd be great to have a way to known when the connection got closed (try/except maybe? or maybe a callback?), that way we could  deinit the camera or whatever we are streaming.

I do not have experience with MicroPython, but I agree that CircuitPython is very good and easy to use for most part.
It might be worth to present your setup on Show and Tell that Adafruit is hosting on Wednesday, this way more people can see what you created.
When it comes to knowing when connection is closed, I encourage you to check out an Websocket example from docs, it stores the connection in global scope, and uses async to handle requests between sending next frames. It might take some work to implement this behaviour, but it is not very hard, examples show most of the functionality.

I looked at the websocked example but I couldn't figure out how to detect when the connection closes, what did you have in mind?

What I meant is that when the client disconnects, futher sent frames should result in BrokenPipeError, which you can catch and mark the connection as closed, look at fail_silently argument in Websocket.
I will have some time during the weekend, so I will try to make a sync await example that detects the closed connection. It is kind of necessary as without it you would be stuck in sending the one response, and the MCU wouldn't be able to do anything until client disconnects. I think I should have a warking example by Monday.

I am nearly done, I managed to make a live video feed to multiple devices as the same time and detecting when the connection is dropped, this seems like a perfect example on how to create custom response types.
I will make a PR later with the elegant code. For now a little preview:
https://github.com/adafruit/Adafruit_CircuitPython_HTTPServer/assets/72110769/eaf42662-e705-4b4d-aaaa-0fd1464b9117

Wow that is pretty cool! And there is no lag, are you using a esp32?

I used ESP32-S2 TFT for this.
The lag probably will be more noticeable with bigger frames. I suspect that under the hood the transfer is optimized somehow, as it seems to good to be true...
https://github.com/adafruit/Adafruit_CircuitPython_HTTPServer/assets/72110769/d61dac87-e77d-479e-8988-04288c29e122

Hi Michal, it's been a while :) Any chance to make this part of your great lib?

Hi Michal, it's been a while :) Any chance to make this part of your great lib?

To be honest, it completely slip out of my mind. Thanks for reminding me.
The code I have is pretty much ready, I will add docs for the example and make a PR in a day or two.
This time, the sticky note is on my desk, so hopefully I will not forget.  😅

Many thanks :)


Users is not saved into user.conf

Hello, whenever I create an user it doesn't get saved into the user.conf file so I have to create it everytime I restart the server, I even put the permissions into 777 but still not saving the user

hey i have the same problem, none of my files were generated by the plugin, and the plugin does not modify these files.
https://github.com/Valandur/Web-API/issues/146
https://github.com/Valandur/Web-API/issues/142
@Valandur
Is a solution expected in the near future?
thank you in advance for reading and replying to my message

me too! Is there any fix? :(


page_references': undefined method flatten' for nil:NilClass (NoMethodError)

Environment

Ruby version 2.3.1
pdf-reader version 1.4.1
Ubuntu Linux

Steps to reproduce:
$ wget http://www.asx.com.au/asxpdf/20161214/pdf/43dqk3sg14cqqf.pdf

#!/usr/bin/env ruby
require 'pdf-reader'

begin
  reader = PDF::Reader.new('43dqk3sg14cqqf.pdf')
rescue => e
  puts "Could not parse PDF: #{e}"
end

puts 'Read PDF successfully'
puts "PDF version: #{reader.pdf_version}"
puts "Pages: #{reader.page_count}"

reader.pages.each do |page|
  page.text
end

$ ./bug.rb
Read PDF successfully
PDF version: 1.5
Pages: 2
/usr/local/rvm/gems/ruby-2.3.1/gems/pdf-reader-1.4.1/lib/pdf/reader/object_hash.rb:256:in `page_references': undefined method `flatten' for nil:NilClass (NoMethodError)
	from /usr/local/rvm/gems/ruby-2.3.1/gems/pdf-reader-1.4.1/lib/pdf/reader/page.rb:35:in `initialize'
	from /usr/local/rvm/gems/ruby-2.3.1/gems/pdf-reader-1.4.1/lib/pdf/reader.rb:238:in `new'
	from /usr/local/rvm/gems/ruby-2.3.1/gems/pdf-reader-1.4.1/lib/pdf/reader.rb:238:in `block in pages'
	from /usr/local/rvm/gems/ruby-2.3.1/gems/pdf-reader-1.4.1/lib/pdf/reader.rb:237:in `each'
	from /usr/local/rvm/gems/ruby-2.3.1/gems/pdf-reader-1.4.1/lib/pdf/reader.rb:237:in `map'
	from /usr/local/rvm/gems/ruby-2.3.1/gems/pdf-reader-1.4.1/lib/pdf/reader.rb:237:in `pages'
	from ./bug.rb:14:in `<main>'

Thanks for reporting this. By co-incidence, it looks like this is the same issue that was reported in #174 and a fix was recently applied to master

Thanks @yob - I searched issues but missed the PR


translation elongation factor activity (GO:0003746) are not always MF regulators

translation elongation factor activity (GO:0003746)
really just means "A factor involved in translation"
but its current placement is under
translation regulator activity](https://www.pombase.org/term/GO:0045182)
--translation regulator activity, nucleic acid binding](https://www.pombase.org/term/GO:0090079)
----translation factor activity, RNA binding
Some of these are not  MF regulators in the GO sense
To indicate this is the PomBase  list of "translation elongation factors"
https://www.pombase.org/term_genes/GO:0003746
Most  might be "regulators" but for others there is no evidence
https://www.pombase.org/gene/SPBC800.07c
https://www.pombase.org/gene/SPAC26H5.10c (eIF5A)
https://www.pombase.org/gene/SPAC29A4.02c (translation elongation factor EF-1 gamma subunit)
The definition says nothing about being a regulator:
Functions in chain elongation during polypeptide synthesis at the ribosome.
(I did not check initiation and termination yet)

out of date.
See
https://github.com/geneontology/go-ontology/issues/29089


New version: tangshimin.MuJing version 2.2.16

Pull request has been created with Komac v1.11.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

2024-01-27 23:53:01.542 [REPO] Setting error JSON 1.0 fields

(Automated response - build 669.)

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping @Exorcism0666, I'll get a notification.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

/AzurePipelines run

Automatic Validation ended with:

2024-01-29 13:50:30.195 [REPO] Setting error JSON 1.0 fields

(Automated response - build 677.)

Automatic Validation ended with:

2024-01-29 13:50:30.195 [REPO] Setting error JSON 1.0 fields

(Automated response - build 677.)

@wingetbot waivers Add Validation-Executable-Error


Security vulnerability responsible disclosure

Hello,
CERT PL found a security vulnerability in this repository. How can we report this privately? We don't see any security policy describing how such vulnerabilities should be reported.

email me?

(they never emailed me)

Sorry for the late response, you should have received the email by now at<EMAIL_ADDRESS>


[Feature Request] Add config screen

I want to disable some sounds but I don't want to mess with resource packs. It would be cool if you added a config screen for toggling some sounds.

You can turn off certain sound categories via the sound volume menu. In-depth customization is too much to put into Minecraft, which is why I left it for resource packs to change. I will eventually finish a tool to make resources easily, however for now you'll need to do so manually.


Add User Warnings for Sharing Info

Need to add user warnings, tooltips or warning icons to remind users not to share all the details.

Revise about page to include a Github Issue Template (so users can copy/paste) the basic config
Add warnings to the support page.

Related:
https://kanboard.discourse.group/t/new-plugin-kanboard-technical-support/2434/10?u=aljawaid


always_reload_paths config parameter implemented

Trying out to use ActiveAdmin in Vagrant i've found version v0.3.2 works fine, but version v0.3.3 does not react to the changes under app/admin. So to see the result one has to restart whole rails.
It turned out that this behaviour was introduced by commit ef255e5119cd585e1f3bb36428651b9d7dd9704f. The reason is that in Vagrant virtual environment the project directory is mounted through VirtualBox similarily to the network disk. This way if one edits the file under app/admin being outside of the box - ActiveAdmin never detects the change.
I have implemented an on/off parameter that makes ActiveAdmin to work similarily to v0.3.2 when needed. Thus, having something like
config.always_reload_paths = true if ENV['LOGNAME'] == 'vagrant'

in ActiveAdmin initializer solves the problem.

@saaji - Thanks for the contribution, however this is fixed in 0.3.4. Please re-open if you continue to have issues. Thanks!


fix: fixing test failures due to timeouts and removing unnecessary console.log

Please ensure your pull request adheres to the following guidelines:

[x] make sure to link the related issues in this description
[ ] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

Related Issues
Mitigating build failure: https://app.circleci.com/pipelines/github/adobe/content-lake-commons/3/workflows/8735ed4b-3464-40c6-85c4-51f0eec9e660/jobs/4/steps
Thanks for contributing!

TBH, I think a good % of the problem was my macbook + Aws Chime + multi-screen, it was crawling which is when I saw this happening locally. I think it's fair enough that this is an absurdly large increase, let's go with 5 sec and see if it's an issue then.


Voice Memos Demo crashes when deleting memo while it is playing

Describe the bug
App crashes when deleting memo while playing it back.
To Reproduce

Record a long memo.
Start playback of that memo.
Before it ends, try to remove the memo by swiping.

* This "forEach" reducer was combined with or run from another reducer that removed the element at this index when it handled this action. To fix this make sure that this "forEach" reducer is run before any other reducers that can move or remove elements from state. This ensures that "forEach" reducers can handle their actions for the element at the intended index.

* An in-flight effect emitted this action while state contained no element at this index. To fix this make sure that effects for this "forEach" reducer are canceled whenever elements are moved or removed from its state. If your "forEach" reducer returns any long-living effects, you should use the identifier-based "forEach", instead.

* This action was sent to the store while its state contained no element at this index. To fix this make sure that actions for this reducer can only be sent to a view store when its state contains an element at this index. In SwiftUI applications, use `ForEachStore`.: file /Users/___/github/swift-composable-architecture/Sources/ComposableArchitecture/Reducer.swift, line 228

Expected behavior
The app does not crash when deleting a voice memo, even when it is currently being played.
(There is no more action sent to the single memo reducer, when the bigger reducer has already removed it.)
Screenshots
Not applicable.
Environment

Xcode [11.5]
Swift [5.2.4]
OS (if applicable): [iOS 13]

Additional context
Add any more context about the problem here.

I guess this is related to https://github.com/pointfreeco/swift-composable-architecture/pull/154

Good find!
This is indeed as a result of some changes we've made recently to forEach, but it's really just pointing out that there is an application bug. In particular, this bullet point of the assertion failure message explains what is happening:

An in-flight effect emitted this action while state contained no element at this index. To fix this make sure that effects for this "forEach" reducer are canceled whenever elements are moved or removed from its state. If your "forEach" reducer returns any long-living effects, you should use the identifier-based "forEach", instead.

We have an in-flight effect when playing an audio track, it's the timer that updates the progress bar. When you remove that item the timer is not being cancelled, and so it eventually emits again, which means it tries to execute some logic on a row that no longer exists.
So this is actually a good error to have. It's pointing out a real application bug. We need to make sure to cancel the timer when we delete the voice memo. I don't have time to fix this problem right now, but while investigating I was able to make a failing test case:
https://github.com/pointfreeco/swift-composable-architecture/compare/voice-memos-crash?expand=1
This simulates what happens when you start playing a track and then delete it. Right now the test should pass as-is, but it fails because the timer effect is still in-flight, and the assert helper requires that all effects complete in order for the test to pass. Further, if you uncomment the lines at the bottom of the assertion, which simulates the timer ticking and delivering an action, you will get the crash you are seeing when running the app.
Hopefully we'll have some time in the coming days to fix, or if you (or someone else) is interested in giving it shot feel free!

We've now merged a fix for this in #183.


Web client

This PR extends the web client module to several new endpoints:

/api/ground
/api/search
/api/entity/{curie}
/api/lexical

An IPython Notebook showing simple example of how to use the different clients is added.
Tests for each client function are added.

I need to update the notebook I realized after https://github.com/indralab/mira/pull/38/commits/35b339c39a4f3c899711aa495f1d4381623a244e, give me a couple of minutes.


sd/sd_twizy_interface.sh

#!/bin/bash
sudo modprobe peak_usb
sudo ip link set can0 up type can bitrate 500000
==== probably we don't need ? ===
sudo ip link set can0 up
===========================
source ../../../devel/setup.bash
roslaunch sd sd_twizy_interface.launch

Yes thank you for your input, it was duplication on bringing can interface up.
Changed it to:
sudo ip link set can0 type can bitrate 500000
sudo ip link set can0 up


Browser downloads content of generated redirect file instead of redirecting

I have redirect_from: /originsin the frontmatter of the page generating http://kortina.net/essays/origins-of-venmo/ but when I go to http://kortina.net/origins, Chrome downloads a file with these contents instead of redirecting:
  <!DOCTYPE html>
  <meta charset=utf-8>
  <title>Redirecting...</title>
  <link rel=canonical href="/essays/origins-of-venmo">
  <meta http-equiv=refresh content="0; url=/essays/origins-of-venmo">

Redirecting...

  Click here if you are not redirected.

I am hosting on GitHub pages. It appears the page is being generated correctly--is it just not being served correctly perhaps?

Will Norris is working on a fix in Jekyll that will help this, I believe.

This is closed, but not fixed?
See http://304notmodified.github.io/news

Githup Pages is still suggesting the non-functional
---
redirect_from: "/foo"
---

on their redirect-from docs.
https://help.github.com/articles/redirects-on-github-pages/

Github Pages is still suggesting the non-functional on their redirect-from docs

Please write an email to<EMAIL_ADDRESS>about their docs. Include a link to the Help page and to your comment here. Thanks!


v6.5.0 - fatal error: 'GBDeviceInfo/GBDeviceInfo.h' file not found

Looks like the recent Swift Package update moved the GBDeviceInfo.h file without updating the podspec file.
Specifically in PR: https://github.com/lmirosevic/GBDeviceInfo/commit/e638ecc751846eebcfdde1c54edd426db68b5441
Was this intentional, and if so, should the podspec and readme example be updated with the new import?
Thank you.

I think the podspec needs to add Public/GBDeviceInfo.h?

I also faced this problem. @dcollens @phillipc-myfiziq

Just published @phillipc-myfiziq 's fix as 6.5.1.
Thanks a lot for the fast PR!
Please let me know if there's any other issues and I'll try to push an update ASAP.

@lmirosevic yep, no problem, thank you.


+Max Health Not Working Correctly

Bounce SMP 1.4.1 || Minecraft 1.18.2 || Fabric API 0.76.0 || Cloth Config 6.4.90 || Tiered 1.1.1
*Going to post this in both place just in case.
Issue: +Max Health on Armor Pieces seems to be in constant flux of having the extra health or not. Taking off and re-equipping the armor on occasion fixes the problem temporary. However, randomly my max health drops, to baseline or that I'm only wearing one piece with Bonus Health. Armor Value seems inconsistent as well.

Yes this was an issue back in the 1.18.2 version. This got later fixed.
Out of time reasons I only work on the latest version, feel free to fix it :)


Update the community section to include the new lessons section

This is missing for external sites that are part of the community section @unclecheese - we'd need to do a redeploy after this too for each subdomain.

assume this is fixed?

Yup