http3: redial for unresolved or staled connections

unresolved:
Valid parameters, but handshake is not completed successfully.
staled:
A server may close the connection after requests are responsed, that stops to reuse it.
Complement #3684 (89769f40).

Unfortunately, I failed to create a google account to sign the CLA.

CLA signed.

The problem is about a serial requests on the same host with one http client (dialOnce with only one http3 client allowed):

if a request failed, the following will all fail then;
if a request succeeded, but the server closed the connection before a following request, then the following requests fail too.

2 Connection %s closed examples for case 2:
2023/07/13 12:28:17 client Starting new connection to dnsnl.alekberg.net (<IP_ADDRESS>:56325 -> <IP_ADDRESS>:443), source connection ID (empty), destination connection ID 402a368ce3b7c22bd1, version v1
[2023-07-13 12:28:18] [INFO] [ams-doh-nl] TLS version: 304 - Protocol: h3 - Cipher suite: 4865
[2023-07-13 12:28:18] [NOTICE] [ams-doh-nl] OK (DoH) - rtt: 937ms
...
2023/07/13 12:28:26 client Peer closed connection with error: Application error 0x100 (remote)
2023/07/13 12:28:26 client Connection 402a368ce3b7c22bd1 closed.

2023/07/13 12:29:43 client Starting new connection to dnsse.alekberg.net (<IP_ADDRESS>:55470 -> <IP_ADDRESS>:443), source connection ID (empty), destination connection ID a588febf56ac99eb492740141f7a2ceb9a5868, version v1
[2023-07-13 12:29:44]   <IP_ADDRESS>       github.com      A       PASS    1274ms  sth-doh-se
2023/07/13 12:29:47 client Destroying connection with error: received a stateless reset with token 562d402ae2234d37a9835b78a48d541c
2023/07/13 12:29:47 client Connection a588febf56ac99eb492740141f7a2ceb9a5868 closed.

In the scenario where a http3 client acts as a proxy.
When "Connection %s closed" happened, the RoundTripper should be able to initialize a new client. Or, the following requests will be refused/reset by that host.
Some servers close the connection very quickly, refer to my above examples (in seconds).
Some longer:
2023/07/14 12:04:24 client Starting new connection to cloudflare-dns.com ([::]:51217 -> <IP_ADDRESS>:443), source connection ID (empty), destination connection ID ac0f77e9e1671161aeaeb34e9c, version v1
2023/07/14 12:04:24 client Queueing packet (1053 bytes) for later decryption
2023/07/14 12:09:52 client Peer closed connection with error: Application error 0x100 (remote)
2023/07/14 12:09:52 client Connection ac0f77e9e1671161aeaeb34e9c closed.

Must an issue be logged for each PR?

In the scenario where a http3 client acts as a proxy.
When "Connection %s closed" happened, the RoundTripper should be able to initialize a new client. Or, the following requests will be refused/reset by that host.

I don’t think this is accurate. You can send multiple request over the same connection, there’s no need to close it in between.

there’s no need to close it in between.

Yes. But, the issue is the remote server closed the connection, as a user I can't use the client anymore.

Without redo handshake, extra data sent are refused.

Similarly, dnsproxy wrapped their own http3Transport to catch the closed status to recreate the http client.
We could make life easier here.

Closing since this is now severely outdated. In general, please open an issue first, so we can discuss if there's any problem, and if so, how best to solve it.


Import paths: drone-oss-08 -> woodpecker

#62

Thanks for this!
It was missing renaming a couple of files, so I ended up working on my own branch and merged https://github.com/laszlocph/woodpecker/pull/65
Thanks again for the PR and the patience, I just got back from vacation seeing the mistake I made :)


frame rate of the VRX is very slow.

Hi!
I try to run vrx in my machine and I found that real time factor was dropped down to 0.08.
But, the CPU resource was not fulled.

Can you check that you've satisfied the system requirements? The Nvidia graphics card is especially important for getting a good real time factor while simulating the water surface. If your system meets the requirements it could be that the graphics driver is not correctly configured yet.

Thanks! I will try with GPU.

I tried with RTX3090, but the frame rate does not change.

I use the cuda 12.0.1 version.
What type of cuda drivers does the vrx support?

I use vrx inside docker container.
Is it cause some problems?

I checked the --gpus all option was passed, and inside the docker container, we can run nvidia-smi.

This is the Dockerfile I use.
This docker image can be download from dockerhub.

Thanks! What is the command-line argument you're using to run the image?

I think the underlying problem here is that we no longer have an updated tutorial explaining how to run VRX on Docker. I've created #643 to address this.

Thanks! What is the command-line argument you're using to run the image?

just run
docker run wamvtan/vrx

just run
docker run wamvtan/vrx

OK, I think that explains the problem. In order to get the VRX environment running in a Docker image that has access to your GUI and GPU you need to make sure your image is built to support this and made aware of the resources it needs to find at runtime. This can be a little complicated because it depends on how you host machine is set up.
To manage the complexity, I recommend using an additional tool called Rocked, created by one of the developers at Open Robotics. Eventually, I will write a tutorial explaining how to do this, but for now, please try the following using a repository I created to support Docker images for VRX:

Go to https://github.com/Field-Robotics-Lab/dockwater
Navigate to the Wiki
Follow the steps under Install Dependencies to make sure your system has the tools you'll need.
Clone the dockwater repository and switch into it:

git clone https://github.com/Field-Robotics-Lab/dockwater.git
cd dockwater

Build the image for ROS 2 humble

./build.bash humble

Use the run.bash script to create and run the image with Rocker:

./run.bash humble:latest

The above should drop you into a bash shell in a Docker image that has Humble and GazeboSim already installed. It will also have the same user name as your local user, and it will mount your local home directory, so note that changes to the home directory in the image will also show up in the home directory on your host (if you don't want this it is possible to avoid it, but it is the default because it's generally convenient).
Follow the VRX tutorial for installing from source. You can skip right to step 1 since the dependencies are already installed. If you already have a vrx_ws workspace I would recommend removing it or putting it somewhere else to make sure you get a clean install.
Finally, run VRX and see whether this improves your frame rate:

ros2 launch vrx_gz competition.launch.py world:=sydney_regatta

If this resolves the issue, the next thing you can do is customize the base image you used in the dockwater repository so it has whatever else you need for your work.
Hope that helps--please let me know if this fixes the problem.

Hello I am facing a similar issue of not having vrx utilise GPU resources when running in Docker. I am running it on Windows 11 OS and running everything through WSL2. For VRX 2.0 I used a ROS humble image and followed a regular installation from source as in the wiki and I am also seeing an extremely low frame rate with rtf of 0.07.
For VRX Classic I followed the wiki as well and the frame rate is not as bad, but still it does not rely on GPU resources. I was wondering if there was any documentation in the wiki aimed at Windows/WSL2 users or more insight regarding enabling GPU usage.
I am using Cuda 12.1 and NVIDIA GeForce GTX 1060.

@alexdrc00 Since you are running on Windows I think this is a separate issue. Could you please open a new issue and include the info above as well as information about how you built your ROS humble image (i.e. are you using rocker per the instructions above)?

@alexdrc00 Since you are running on Windows I think this is a separate issue. Could you please open a new issue and include the info above as well as information about how you built your ROS humble image (i.e. are you using rocker per the instructions above)?

Thanks for the reply @M1chaelM! I began working with VRX 2.2 and did not manage to find a docker tutorial not meant for vrx_classic so I just used a Dockerfile of my own with a humble image and gazebo installation commands. I am now aware this is not the correct approach.
Once I switched to VRX Classic I did follow the steps you mentioned found here vrx_classic_docker_install_tutorial but I got no luck with the GPU (although the frame rate is okay so far).
I think it could be helpful to have some specific instructions or side notes in the wiki for the installation instruction for different OS, in my case I have managed to successfully run it on windows, however, a peer of mine is facing some issues with the installation in MacOS. I will open an issue for this as you mentioned, I am quite new to the open source community and the vrx project so I was a bit hesitant at first!

I tried wamvtan/vrx with rocker, but it situation does not changed.
I try with dockwater, but seeing this file, there is no big changes between my image and dockwater...

Oh, when I use change base image to dockwater and rocker, it speed up to 4 times.

I confirmed, it is not a problem with GPU.
I remove rocker and --gpus all option with docker, and it still faster.

@hakuturu583 Has this issue been resolved for you?

Thanks!
It runs in my local environment.
So I close this issue.

Guess I am having same issue,
with docker. Made a new issue.


Scikit Learn Logistic Regression Model Prediction varies on Aure Ml Service

Azure documentation issue guidance
Thanks for opening an issue in the Azure technical documentation repository.
We use GitHub issues as the primary channel for customer and community feedback about the Azure documentation.
Creating an issue
I had created the scikit Learn Logistic Regression Modelfor Textual data. The model works fine on my local machine. But After training & the deploying model onAzure Machine Learning Service it's Prediction varies. I don't know why it's predictions varies. Can you give me any suggestion on this?
We prefer that you create documentation feedback issues using the Feedback link on the published article - the feedback control on the doc page creates an issue that contains all the article details so you can focus on the feedback part.
You can also create a feedback issue here in the repo. If you do this, please make sure your issue lists:

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

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

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

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

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

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

@Godase Thank you for the question! In order to best address your question, could you provide us with the URL of the MS Doc that you were following, if any?

@BhargaviAnnadevara-MSFT  I have followed  Azure Ml Service documentation example. when i tested my model on my local machine it's works fine. I have used LogisticRegression for training.
Please check the my below code block.
        model = LogisticRegression()

        # Fit the X & Y training data into Logistic Regression Model
        model.fit(x_train, y_train.values.ravel())
        predictions = model.predict(x_train)

        # Find the Accuracy of the model
        accuracy = accuracy_score(y_train, predictions)

I didn.t pass any parameters in LogisticRegression. But when i deployed model on azure Machine learning service then it's output is varies & on local machine it's work fine means accurate.
Is there any missing in my code?

@Godase Thank you for the response! I've routed this to the appropriate Team to investigate and update.

@BhargaviAnnadevara-MSFT I am waiting for solution

@Godase Hi Akshay, thank you for your feedback. Different pre-processed way to the training data may cause this problem. Could you please check if you are using same way to deal with the training data, like if you use random seed on both local and web service?
Please share the link of document you are following so that we can double check. Thank you a lot.

@YutongTie-MSFT  I have used the below link https://docs.microsoft.com/en-us/azure/machine-learning/service/tutorial-train-models-with-aml

@Godase Hi, have you check your training data and try to use the random seeds? Thank you.

@YutongTie-MSFT Hi I cheked my training data but i didn't understood how to set random seeds.
Can you please give me one example? Thank You.

@Godase Hi Akshay, thank you for your response. Could you please send us an email at<EMAIL_ADDRESS>We will take care of this issue. We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


FR: Comparison of Policies, Smart Groups etc.

More of a feature request, but it would be really cool if the migrator were to offer a comparison between the 2 Jamf instances against thinks like Policies , Smart Groups etc.
Identify whether a policy exists on one but not the other.

Good idea indeed.  I have a co-worker that had asked the same a while back so perhaps it's time to bump it up the list.  Policies though will be tricky as you can have duplicate display names.


port.h missing windows includes

port.h should include the following:
#if defined(LEVELDB_PLATFORM_WINDOWS)
#include "port/port_win.h"

:+1:

The intent is to only include port*.h files that actually exist in the library which has no port_win.h.

I forked this over the weekend and made {port,env}_win32.{h,cc} files as needed.

@nslay can you files be send as a PR?
is it something like https://github.com/justmoon/leveldb-mingw/blob/master/port/port_win.h ?

Hi @dtmoodie
Thank you for submitting this pull request. For the time being the leveldb project intends to maintain support only for POSIX (on Linux). Please see Contributing to the leveldb Project for more details.


Modify the navbar to match the new mockup design.

As per the new design mockups provided, we need to make modifications to the navbar on our website.
The circled items are variable so please make sure that keeps working the same way as right now.

is this the definitive version of the logo?


Don't parse out a name for JSX fragments

Fixes #44154
I don't know why I didn't think of doing this sooner; if we don't parse the name and then throw it away, we won't end up with the trivia problem. No weirdness happens at all, and we don't need to screw with the tree to try and recover.

@typescript-bot pack this

Might as well use this to test the new tsserver tests.
@typescript-bot user test tsserver
@typescript-bot test tsserver top100

@typescript-bot user test tsserver
@typescript-bot test tsserver top100

Okay, apparently I did not fix the server stuff .

@typescript-bot user test tsserver

I guess it's fine - would be nice if our recovery here didn't conflict with our rehydration strategy.

Just to clarify, you're meaning that it's unfortunate that we have to modify the parser to deal with this assert during getChildren at all? Or am I misunderstanding?

Yeah, the rehydration strategy is at odds with some basic recovery tactics.
It means that in a lot of cases, if you want to recover gracefully, you have to store error-recovery nodes in the tree.
But if you store erroneous nodes in the tree, you probably need to make them accessible via forEachChild for other operations to not fail.

So to fix that, you also have to make decisions about how our factory functions handle these nodes - that they explicitly drop them or unset them (https://github.com/microsoft/TypeScript/pull/52803#discussion_r1108949549).
This work all feels bad, so it's easier to just parse "worse".

The other thing I was trying was to instead parse <></Foo> as an element with an empty opening instead, but that turned into its own nightmare of trying to make every fragment-related feature work properly again.


Create a Service Release of the Converter Util Jar

The following improvement was made recently to the Converter:

#392

We need a Service Release to allow users to pick up this improvement.

Associated email thread: https://www.eclipse.org/lists/osgi-dev/msg00074.html

I also want to release the updated osgi.annotation jar with the fix: #404. I am thinking it should be version 8.1.0 since the org.osgi.annotation.bundle package is updated to version 2.0. I don't think it is time to release a version 9.0.0 yet.

Service release has been made. 1.0.9 of the converter jar and 8.1.0 of osgi.annotation are now in maven central.


Could we make the Settings access through a software / the back button optional?

My Home Assistant dashboards are going to need re-organising to make way for the new Settings button, with a risk of users accidentally pressing it. Could we please make the back button / software button an optional choice?

No it’s not possible.  You have 4 locations for the settings button and can make  it invisible.  Are you certain you can’t make it work?

In a kiosk app you have no access to the back buttons.  This is also the issue when using the application on a Fire TV.  This is why the button exists and also why there is a code to unlock the settings.  There should be a way to get to the settings without a back button.

I appreciate your response, and of course it’s your (not-to-be-taken-for-granted-free) application, but I’ve already had two people trigger it accidentally, and then freak out when confronted with the code screen.
I take your points about the true kiosk application not having access to back buttons, but I do think there could be a more elegant way, rather than just a button. Perhaps a swipe or similar could be considered?
Thanks again.

I understand that the new way isn’t working for your particular users but I think this method does work for most use cases.  Have you tried moving the button to a corner of the app and also making in invisible?
That has the same exact effect as users accidentally swiping in the screen or hitting the back button.  Wherever we put the button or add the behavior it’s going to have the same issues, some users are going to find it.  That’s why it’s code protected now.
There may be others ways to do this but for now this is the best implementation and I do believe it’s better with the majority of users.  Swiping has its own issues as someone will have a web page that’s also swipes, like Tileboard and then they have issues.
My thought is to eventually have a way that’s the web page can call a JavaScript method to open the settings, then there is no need to have a button.  You might want to just run the HA application in fullscreen mode as it has the feature already to open the settings from the menu on the HA dashboard.

Hi,
Coming late to the discussion, but I'm in the same situation of @rahaaas . I use wallpannel with hadasboard+ha, and usually i use all screen space with buttons, so choosing a corner is not that good because there should be a button there already. Since there's a rest/mqtt api, one approach would be letting the user use that api to toggle the setting button visibilty (let the button be visible by default and only allow to  hide by api).

@clyra that's another approach, then you could use a button to trigger the MQTT command.  Thanks for the suggestion.


slirp4netns: init at v0.3.0-alpha.2

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Actually, I don't know what to do with this PR because it is still in alpha and nobody wants to maintain it:/
@samueldr @vcunat As release managers, what do you think?

But I really appreciate your sharing, which could be useful for others, including myself:)
@tilpner Are you playing with rootless containers?

I packaged the alpha version because the changelog said Fix CVE-2019-6778 (rootless-containers/slirp4netns#67), and I figured it might not be a problem to init a package to an alpha version, because nobody was already depending on it. It would be different if people were already using slirp4netns, but this can't break anything because nobody will upgrade to it.
Yes, I was using rootless podman for an experiment, but I no longer need it.

Hmm, I'm afraid I don't have a solution for this meta-question.  Actually, I already have at least one nix expression for a package lying somewhere that seems to work OK but I ended up not using the package in the end and I haven't "published" the expression anywhere.
Advantages (of merging)

it shouldn't break anything
they would make it easier for people to try the package and start using it, as not everyone can just write such an expression within a couple minutes

Disadvantages (of merging)

it would probably just rot in nixpkgs
not much indication in nixpkgs how much a package is maintained

I don't know...  it reminds me of our usage meta.broken a little, but that's different: an intermediate state for rotting/unmaintained packages between breakage and removal from nixpkgs.

I too have a private derivation of slirp4netns :) It looks like this + enableParallelBuilding = true;.
Please add me as the maintainer. I'm ok with 0.3.0-alpha.2.
I'd slightly prefer for it to be in tools/networking rather than in applications/virtualization.

Moved, parallel building enabled, @orivej added as maintainer. Merge when ready :)

Thank you!

@orivej Could you open PR for adding NixOS pkg to slirp4netns README?
https://github.com/rootless-containers/slirp4netns/blob/master/README.md#install-from-binary

OK, but we should wait until it reaches the nixpkgs-unstable channel.


React/RCTDefines.h file not found

Followed Getting Started steps and we get this error in RN - 0.59

Fixed it by setting
$(SRCROOT)/../../ios/Pods/Headers/Public - Recursive in Step 5 of Getting Started


style readme

Just small details. Please look at the changes I've made and if you like it, accept the PR. I think the readme has become more readable.
To see the changes, you can go to my repository. https://github.com/brenovambaster/Hacktoberfest-2021

Is there also for number of pull request, if so then can you also add for pr

okay. I will do this.

Allright.

Great!!


Skip three flaky tests

What this PR does / why we need it:
Skipping three flaky tests which make merging almost impossible. We should fix them asap.
The tests are:
Infrastructure [rfe_id:3187][crit:medium][vendor:cnv-qe@redhat.com][level:component] Prometheus Endpoints should find one leading virt-controller and two ready
[rfe_id:3423][crit:high][vendor:cnv-qe@redhat.com][level:component]VmWatch [test_id:3468]Should update vm status with the proper columns using 'kubectl get vm -w'
[rfe_id:393][crit:high][vendor:cnv-qe@redhat.com][level:system] VM Live Migration Starting a VirtualMachineInstance live migration cancelation should be able to cancel a migration [test_id:2731]with OCS Disk

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

/cc @vladikr
/cc @davidvossel

/lgtm

Seems like the problem with the OCS test is related to deleteDataVolume in general and not specific to OCS...

/override pull-kubevirt-check-tests-for-flakes


Adds element tree view

Allows selection of elements using a tree view. Useful to select containers for instance.


Added source .envrc to 'Prepare the Environment'

This change enables bucc to be on the path and for the subsequent README instructions to work properly out of the box.

./envrc is used in combination with DirEnv


Website incorrect path for /Application in Mac

Description
https://dbeaver.com/docs/dbeaver/Command-Line/#mac
Has /Application/DBeaver.app. It should be /Applications/DBeaver.app.
DBeaver Version
Community Edition 24.0.0
Operating System
macOS Sonoma 14.3
Database and driver
n/a
Steps to reproduce

/Application/DBeaver.app/Content/MacOS/dbeaver
zsh: no such file or directory: /Application/DBeaver.app/Content/MacOS/dbeaver
/Applications/DBeaver.app/Contents/MacOS/dbeaver --help
usage: dbeaver [-help] [-vars ]

Additional context
n/a

Thank you

Fixed


Disabled buttons are not styled due to missing comma

Commit: 0005bcd8509a83541f50a2f2cab0ceed38d09a58
File: sass/components/_buttons.scss
Author: @soniabrami
This commit leaves out a comma on line 21, which breaks the styling of disabled buttons.

Thanks for catching this.
Fixed in 80d8020

For production environments should we use /dist or /bin folder ?
Because in the dist folder it's not fixed.


Update README.md with new Jenkins basic auth reqs

Jenkins requires a per-user API token instead of a password for basic auth (see: https://jenkins.io/blog/2018/07/02/new-api-token-system/)

thanks @dobbymoodge
lgtm from someone not in the owners file

WTF?

/reopen

oh...
@dobbymoodge can you do this from your fork?
we generally don't make branches on repos directly for PRs...


PDEP causes false result

With a numeral base system of 12, the expected behavior is:
$ ./helsing -l<PHONE_NUMBER>050 -u<PHONE_NUMBER>050
Found: 1 vampire number(s).

but if we enable pdep
$ ./helsing -l<PHONE_NUMBER>050 -u<PHONE_NUMBER>050
Found: 0 vampire number(s).

configuration.h:
#define USE_PDEP true
#define BASE 32
#define SAFETY_CHECKS true

Behavior:
$ ./helsing -n 2
helsing: src/vampire/cache.c:38: set_dig: Assertion `tmp[i] < DIGBASE(ACTIVE_BITS)' failed.
Aborted (core dumped)

This shoudn't happen, cache_ovf_check() should have caught that.
Expected behavior:
$ ./helsing -n 2
WARNING: the code might produce false positives, please set USE_PDEP to false.


test: add integration test suite for Notification API

Overview
Add integration test suite for Notification API.

I agree with @sagikazarmark that tests files should be next to the business logic that're being tested.


Windows 11: npx pagefind --source public - Not Working

Hi, very exciting project!
Trying to install on a hugo website and nothing is happening.
I made a build a my website
hugo
I installed it:
npx pagefind --source "public"
I created a pagefind.yml in the root directory
# pagefind.yml
source: public
bundle_dir: _pagefind

Then when I type
npx pagefind
After a couple seconds...nothing happens.
I tried installing it via npm and then run
npm run
Nothing happens there either.

Hi,
so afterall, I installed the version 0.6.1 and everything seems to work fine now.

Interesting — So 0.6.1 is working and 0.8.1 was not working?

Interesting — So 0.6.1 is working and 0.8.1 was not working?

Yes exactly

Thanks for the context — 0.7.0/0.7.1 is when the pagefind_extended binary was added and was made the default for the npx wrapper, so something in that changeover has obviously failed. I'll inspect that

Sorry for the delay all — this should be fixed by #113 — aiming for a release this week 🙂

👋 Hello! This is fixed in the Pagefind v0.9.0 release 🎉

Sorry, false start — 0.9.1 going out which is on track to resolve this 🤞

👋 Hello! This is fixed in the Pagefind v0.9.1 release 🎉


Auto-detect specific known enum sets

E.g.:

ISO 3166-1 alpha-2
ISO 3166-1 alpha-3
ISO 4217

Just found out that we can easily allow user to provide his own enum sets. Is it on demand?

Although user can specify custom enum sets, I think we need to built-in something besides those three. May be OSs? User Agents?

I think let's keep it at these for 0.4.0 - keep the release batch size small...


fix: avoid indefinite spinny wheel after completing kyc with Persona

also added test for this
Description
There is a bug where after completing KYC with Persona, returning to the link bank account steps screen results in a spinny wheel indefinitely over step one. This fixes the bug by removing the spinny wheel with an onSuccess callback.
Other changes
na
Tested
added unit test and tested manually
How others should test

with an account with a verified phone number:
navigate to settings
tap 'link bank account'
tap 'begin' under Step 1
go through Persona flow
when complete, returning to the link bank account steps screen should show step 1 as completed (rather than a spinny wheel that never goes away)

Related issues
na
Backwards compatibility
backwards compatible

Hey @MuckT We have verified the above task in Latest iOS Alfajores build and Latest Android Alfajores build V:1.25.1 and updated the status in test rails
iOS 14 :
Android 11:
Observation : Few components are not seen on Android application as compared with iOS and we have raised a bug for it
Bug link
Devices : iPhone 12 (14.7.1), Google Pixel 2XL (11.0)
CC: @cajubelt
Thanks:.!

Hey @MuckT We have verified the above task in Latest Android Alfajores build V:1.25.2 and updated the status in test rails
Android 10:
https://valoraapp.testrail.io/index.php?/tests/view/7073&group_by=cases:section_id&group_order=asc&group_id=30
Observation :

Few components are not seen on Android application as compared with iOS and we have raised a bug for it

2."Get Access" is seen for link bank account section even after the Phone number is already verified after user restores the account and we have raised a bug for it.
Devices : Samsung Galaxy M40(10.0)
CC: @cajubelt
Thanks:.!

Hey @MuckT, We have verified the above task in Latest Test flight Alfajores build V:1.25.2 and updated the status in test rails
Test rail link:
iOS 15: https://valoraapp.testrail.io/index.php?/tests/view/4455
Bug: Link
Devices : iPhone 13 mini (15.1.1)
CC: @cajubelt
Thanks:.!!

Hey @MuckT We have verified the above task in Latest Android Alfajores build V:1.25.2 and updated the status in test rails
Android 8:
https://valoraapp.testrail.io/index.php?/tests/view/7136&group_by=cases:section_id&group_order=asc&group_id=30
Observation :
Few components are not seen on Android application as compared with iOS and we have raised a bug for it.
"Get Access" is seen for link bank account section even after the Phone number is already verified after user restores the account and we have raised a bug for it.
Devices : Samsung Galaxy J5 Prime (8.0.0)
CC: @cajubelt
Thanks:.!

Hey @MuckT, We have verified the above task in Latest Android Alfajores build V:1.25.2 and updated the status in test rails
Test rail link:
Android 9: https://valoraapp.testrail.io/index.php?/tests/view/7460
Observation :

Few components are not seen on Android application as compared with iOS and we have raised a bug for it.

"Get Access" is seen for link bank account section even after the Phone number is already verified after user restores the account and we have raised a bug for it.

Device: Redmi Note 5 Pro (9.0)
cc: @cajubelt
Thanks..!!


Retry contract validation RPC calls

Closes #517
I tested this by commenting out the wait_for_home/foreign_node_synced parts in main, running the bridge without any blockchain nodes available, and observing the following log output:
2019-10-30 17:39:18,438 WARNING  [start_system] bridge.contract_validation: Retrying web3.eth.Eth.getCode in 5.0 seconds as it raised HTTPConnectionPool(host='laika-testnet.node', port=8545): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f3bbe4fb390>: Failed to establish a new connection: [Errno -2] Name or service not known')).

Codecov Report

Merging #524 into master will increase coverage by 0.1%.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master   #524     +/-   ##
=======================================
+ Coverage   75.89%    76%   +0.1%
=======================================
  Files          18     18
  Lines         921    925      +4
=======================================
+ Hits          699    703      +4
  Misses        222    222

Flag
Coverage Δ

#bridge_end2end
0% <0%> (ø)
:arrow_up:

#bridge_unit
76% <100%> (+0.1%)
:arrow_up:

Impacted Files
Coverage Δ

tools/bridge/bridge/contract_validation.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


[Question] Tuned, To be tuned, nothing

❓ Question
Hi,
I wanted to ask about the meaning of "Tuned", "To be tuned" and when none of these two are used in the hyperparams config files. For instance in sac.yml, for some envs we have "Tuned", for other "To be tuned" and for the rest nothing. #185 is kind of answering for "Tuned" I am not sure the difference between "To be tuned" and nothing is clear.
Thanks a lot!
Checklist

[X] I have checked that there is no similar issue in the repo
[X] I have read the SB3 documentation
[X] I have read the RL Zoo README
[X] If code there is, it is minimal and working
[X] If code there is, it is formatted using the markdown code blocks for both code and stack traces.

Hello,

https://github.com/DLR-RM/rl-baselines3-zoo/issues/185 is kind of answering for "Tuned" I am not sure the difference between "To be tuned" and nothing is clear.

you are right, the comments are not fully consistent.
As a rule of thumb, we can take the example of sac:

"tuned" means that it was either tuned automatically with optuna or manually (usually a bit of both) and that the performance is satisfying (reaches good performance "fast enough")
"not tuned" means that the current hyperparameters are not satisfying w.r.t. performance (compared to other algorithms)
nothing either mean this it is using known good defaults (most of the time) or that I forgot to write "not tuned" (normally there should be very few of those). As an example, there is nothing written for Pendulum-v1 because the SAC defaults work well for that env (I increased the learning rate to make it converge faster but this is not needed to reach good performance).

In case of doubt, best is to take a look at the benchmark file which tells you what score to expect if you use the hyperparameters of the RL Zoo (it also displayed on each huggingface hub page).

Thanks a lot for the quick reply!

In case of doubt, best is to take a look at the benchmark file which tells you what score to expect if you use the hyperparameters of the RL Zoo (it also displayed on each huggingface hub page).

I was actually interested in the performance of SAC on Hopper (https://huggingface.co/sb3/sac-Hopper-v3) which seems worse than many other algorithms such as ARS, TD3 or TRPO. Therefore I was just curious how the hyperparameteres were obtained when none of "tuned" or "to be tuned" was written in the config file.

PS: Thank you for this great resource/benchmark!

which seems worse than many other algorithms such as ARS, TD3 or TRPO.

it does look similar, just a higher variance in the result (this is just one seed anyway).
For MuJoCo, we use hyperparameters from the paper (which are actually the default ones).

it does look similar, just a higher variance in the result (this is just one seed anyway).

Yes indeed, I'm obtaining comparable results.

I take the occasion to advertise here, but if you are interested, feel free to share your results by contributing to the benchmark that we are building: https://github.com/openrlbenchmark/openrlbenchmark/issues/7

I take the occasion to advertise here, but if you are interested, feel free to share your results by contributing to the benchmark that we are building: openrlbenchmark/openrlbenchmark#7

Good to know! I was not aware of this great initiative, I also saw the tweet by @araffin advertising it. What's the difference between the benchmark here (rl-baselines3-zoo) and the one at openrlbenchmark?

Here, we just reported the final score of a single training. In openrlbenchamark, we report all the metrics across the entire training, and for multiple trainings.

We don't have a clear policy on this yet. Here is what I propose:

The first thing to do is to run as many experiments as in openrlbenchamrk so that we can be sure that the new set of hyperparameters is better (for now, I set it to 10 runs arbitrarily, but it seems reasonable). Do it in a separate wandb project.
Then you can propose that these new hyperparameters become the default ones by opening a PR on this repo, and link your wandb project.
When merging, we import your results into openrlbenchmark, and we tag the previous results as "outdated".

Thanks for the process. Not exactly sure when I'll be able to do this so in the meantime I'll report my findings in a new issue so that we have a trace.


Flow cannot find .flow files when re-exporting component using full path.

Flow version: 0.123.0
Issue explanation
Step 1: Build a React Components Library
./index.js
// IMPORT USING FULL PATHS (INCLUDING EXTENSION)
import {ComponentA} from './components/component-a/index.js';
import {ComponentB} from './components/component-b/index.js';
import {ComponentC} from './components/component-c/index.js';

// RE-EXPORT FOR FINAL CONSUMPTION
export {ComponentA, ComponentB, ComponentC}

Step 2: Compile Your Library

Your compilation process.
Use flow-copy-source to ship Flow annotations.

Step 3: Try Consuming your Components Library
./somewhere/in/another/project/index.js
import {ComponentA} from '@me/my-library';

function App() {
    return(
        // NO PROP HINTS OR TYPE-CHECKING
        <ComponentA />
    );
}

export {App};

What is happening?
Flow is failing to find the .flow file (which is right next to each components file).
Please Note: (In library ./index.js file)

If directory path is used (import {ComponentA} from './components/component-a';), everything works fine.
If extension is omitted (import {ComponentA} from './components/component-a/index';), everything works fine.

This is strange because writing index without extension, per node module resolution specs, should be the same as writing index.js.
Something similar should happen when directory-importing.
Using full path when importing/exporting ensures broader compatibility (ECMAScript modules on the way).

I could be wrong and someone else can correct me, but this seems like an issue with module resolution more than anything else.
In your index.js.flow library file, when importing without a file extension, for example ./components/component-a/index, flow can assume and do a module resolution. But when you give an explicit file extension, ./components/component-a/index.js, there is no resolution taking place so your flow index file is actually importing your transpiled component files which are not flow typed so you're getting no hints/errors.
One thing to note is that *.js.flow files do not necessarily have to import another *.js.flow file. These files are just like source maps. If I import A then give me flow types from A.js.flow.
For example I've seen some libraries not use flow-copy-source and instead their index.js.flow simply maps back to their /src code.
I guess it comes down to what compatibility/use cases are you trying to support by adding the .js to your import path?

It's unclear what went wrong. Unfortunately, there is no repro so hard to debug.


Speed up originality by pre-sorting the submission

This was submitted by an anonymous contributor, and applies to #3.
Here's a demo of it:
import numpy as np
from scipy.stats import ks_2samp

def input_data(nusers=1000, nrows=4600, seed=0):
    rs = np.random.RandomState(0)
    submission = rs.rand(nrows)
    other_submission = rs.rand(nrows, nusers)
    return submission, other_submission

def run_originality(submission, other_submission):
    output = np.empty(other_submission.shape[1])
    for i in range(other_submission.shape[1]):
        x = originality_score(submission, other_submission[:, i])
        output[i] = x
    return output

# numerai's current implementation
def originality_score(submission1, submission2):
    return ks_2samp(submission1, submission2)[0]

# ---------------------------------------------------------------------------
# proposed speed up:

def run_originality2(submission, other_submission):
    output = np.empty(other_submission.shape[1])
    submission = np.sort(submission)
    for i in range(other_submission.shape[1]):
        x = originality_score2(submission, other_submission[:, i])
        output[i] = x
    return output

# this function is taken from scipy (ks_2samp) and modified and so falls
# under their BSD license
def originality_score2(data1, data2):
    data2 = np.sort(data2)
    n1 = data1.shape[0]
    n2 = data2.shape[0]
    data_all = np.concatenate([data1, data2])
    cdf1 = np.searchsorted(data1, data_all, side='right') / (1.0*n1)
    cdf2 = np.searchsorted(data2, data_all, side='right') / (1.0*n2)
    d = np.max(np.absolute(cdf1 - cdf2))
    return d

"""
demo

First check that the speed up gives the same results:

In [2]: submission, other_submission = input_data()
In [3]: originality = run_originality(submission, other_submission)
In [4]: originality2 = run_originality2(submission, other_submission)
In [5]: (originality == originality2).all()
Out[5]: True

Now test speed:

In [6]: timeit run_originality(submission, other_submission)
1 loop, best of 3: 929 ms per loop
In [7]: timeit run_originality2(submission, other_submission)
1 loop, best of 3: 636 ms per loop

Speed up is over 30%:

In [8]: (929 - 636) / 929.0
Out[8]: 0.3153928955866523
"""

Did you check correctness on the version being committed? The psudeocode in the description makes sense for why it works, but the code being commit seems a bit stranger that it works...

I tested the demo at the bottom of this, which emprically suggests it's the same.
import numpy as np
from scipy.stats import ks_2samp

def input_data(nusers=1000, nrows=4600, seed=0):
    rs = np.random.RandomState(0)
    submission = rs.rand(nrows)
    other_submission = rs.rand(nrows, nusers)
    return submission, other_submission

def run_originality(submission, other_submission):
    output = np.empty(other_submission.shape[1])
    for i in range(other_submission.shape[1]):
        x = originality_score(submission, other_submission[:, i])
        output[i] = x
    return output

# numerai's current implementation
def originality_score(submission1, submission2):
    return ks_2samp(submission1, submission2)[0]

# ---------------------------------------------------------------------------
# proposed speed up:

def run_originality2(submission, other_submission):
    output = np.empty(other_submission.shape[1])
    sorted_submission = np.sort(submission)
    for i in range(other_submission.shape[1]):
        x = originality_score2(sorted_submission, other_submission[:, i])
        output[i] = x
    return output

# This function is taken from scipy (ks_2samp) and modified and so falls
# under their BSD license
def originality_score2(data1, data2):
    """
    Computes the Kolmogorov-Smirnov statistic on 2 samples.

    This is a two-sided test for the null hypothesis that 2 independent samples
    are drawn from the same continuous distribution.

    Warning: data1 is assumed sorted in ascending order.

    Parameters
    ----------
    data1, data2 : ndarray
        Two arrays of sample observations assumed to be drawn from a
        continuous distribution. Arrays must be of the same size. data1 is
        assumed sorted in ascending order.

    Returns
    -------
    statistic : float
        KS statistic
    """

    # data1 is assumed sorted in ascending order
    data2 = np.sort(data2)
    n1 = data1.shape[0]
    n2 = data2.shape[0]
    if n1 != n2:
        raise ValueError("`data1` and `data2` must have the same length")

    # the following commented out line is slower than the two after it
    # cdf1 = np.searchsorted(data1, data_all, side='right') / (1.0*n1)
    cdf1 = np.searchsorted(data1, data2, side='right')
    cdf1 = np.concatenate((np.arange(n1) + 1, cdf1)) / (1.0*n1)

    # the following commented out line is slower than the two after it
    # cdf2 = np.searchsorted(data2, data_all, side='right') / (1.0*n2)
    cdf2 = np.searchsorted(data2, data1, side='right')
    cdf2 = np.concatenate((cdf2, np.arange(n1) + 1)) / (1.0*n2)

    d = np.max(np.absolute(cdf1 - cdf2))

    return d

"""
demo

First check that the speed up gives the same results:

In [2]: submission, other_submission = input_data()
In [3]: originality = run_originality(submission, other_submission)
In [4]: originality2 = run_originality2(submission, other_submission)
In [5]: (originality == originality2).all()
Out[5]: True

Now test speed:

In [6]: timeit run_originality(submission, other_submission)
1 loop, best of 3: 903 ms per loop
In [7]: timeit run_originality2(submission, other_submission)
1 loop, best of 3: 505 ms per loop

Speed up is 44%:

In [8]: (903 - 505) / 903.0
Out[8]: 0.4407530454042082
"""

We should also consider using this KS test for concordance as well. But that is less urgent.

This satisfies both conditions of #3, so the entire 40 NMR bounty will be paid to the anonymous contributor.


Ejecting SD card in DeckUI (steamdeck ui) destroys partition tables

Describe the bug
When i eject my 64GB SDcards in steamdeck UI the partiton table is destroyed or corrupted.
Entering disk managment tool shows that the partition table is unknown, but i cant recover it using gui. TestDisk is required to write new partitiontable, no superblock is usable.
What did you expect to happen?
I expected the SDcard to be ejected safely.
Output of rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-ally-gnome:39-stable-20240220
                   Digest: sha256:4cde11d17cca6ff952b1e2468b491fb5b924e6f753d962070ab1f280c227aac8
                  Version: 39.20240220.0 (2024-02-20T16:59:10Z)
                Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf"'

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-ally:39-stable-20240220
                   Digest: sha256:1ab72aa11ee1d8ac595aa99dd2c5d27433dd4fd5373c33cf7ed8c6fab82835d5
                  Version: 39.20240220.0 (2024-02-20T17:08:34Z)
                Initramfs: '"-I /etc/crypttab /etc/modprobe.d/amdgpu.conf /etc/modprobe.d/deck-blacklist.conf"'

Hardware
Asus Rog Ally Z1 Extreme
Extra information or context
Had to downgrade to spesific version: bazzite-ally-gnome:39-stable-20240220 (20240220) Due to sleep failure

Probably the ally thats the issue


B2C Default Expiration

"The password expiry duration default value is 90 days."
For AD B2C the default is to not expire, which for some reason is represented as<PHONE_NUMBER> in Get-MsolPasswordPolicy.
90 days is the default for Azure AD.
I believe these docs are incorrect.

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

ID: ba68c500-97ef-0043-42d1-fd4e2cd1c2bc
Version Independent ID: ad857714-2cd7-1188-4b94-fb98d370bbe0
Content: Configure a force password reset flow in Azure AD B2C - Azure AD B2C
Content Source: articles/active-directory-b2c/force-password-reset.md
Service: active-directory
Sub-service: b2c
GitHub Login: @kengaderdus
Microsoft Alias: kengaderdus

@matthewjward
Thanks for your feedback! We will investigate and update as appropriate.

@matthewjward
I reviewed your query and as per my understanding.
The default password expiry duration for Azure AD B2C is 90 days. However, you can configure it to a different value by using the Set-MsolPasswordPolicy cmdlet from the Azure Active Directory Module for Windows PowerShell This command updates the tenant, so that all users' passwords expire after the number of days you configure.

If I create a new B2C instance, and then run Get-MsolPasswordPolicy against it, then it returns a ValidityPeriod of<PHONE_NUMBER>. Do you get the same?

@matthewjward
Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can take a look at it accordingly

@kengaderdus
Can you please check and add your comments on this doc update request as applicable.

Discussed with @matthewjward through different channels. Understand Get-MsolPasswordPolicy does not come with the default expiry value for tenant created after CY2021. It can lead some confusion when the cmdlet ran for newly created tenant.


Improved test suite helpers / fixed failing test

Hi,
I did a couple things

Updated the libraries
Added FluentAssertion library to make Assertions more "fluent"
Introduced the concept of pages to make code more consistent and help future tests
Refactored and Fixed the register test

I think we could add CircleCi tests in order to prevent PR's to merge without all master testing passing.


Forever as a long running process never exits?

Here's a scenario:
A node server (running inside of a Docker container) connects on startup to a database. The database goes down, so the server crashes. Forever restarts it 5 times, which is the max, then does nothing. The Docker container continues to run indefinitely because the forever process is still running, even though the server can never be restarted at this point without outside intervention.
Is this a bug or by design? If it's by design, what's the intent behind keeping the process running?

:+1: I'm on the exact same situation with Docker

Pretty sure this is a bug.

Here's a pretty-simple example to reproduce this: https://gist.github.com/cilindrox/12c3975b5a469b48ee95

Any updates on this?

(obligatory +1)

+1

+1

+1

Has there been any movement on this?

+1

Still nothing? Are there still problems with running forever in Docker containers?


Can't generate static content with other time zone

What version of Hugo are you using (hugo version)?

$ hugo version
Hugo Static Site Generator v0.71.1/extended darwin/amd64 BuildDate: unknown

Does this issue reproduce with the latest release?
OS: Mac OS 10.15.4
Time Zone: Asia/Shanghai(offset +8)
My time zone is Asia/Shanghai and current system time is 2020-05-31 01:37:02 PM(my local time)
Article content time is :2020-05-30 23:50:12
article content
---
title: Title
date: 2020-05-30 23:50:12
---
XXXXX

Local time is 2020-05-31 01:37:02
Convert local time to UTC is 2020-05-30 17:37:02
Local time vs UTC time, local time is FUTURE.
Hugo can't generate static content for future article.

The date field in front matter should always include an offset. For example:
date: "2020-06-16T07:39:11+08:00"

By design, Hugo does not generate future content unless you specify hugo --buildFuture.
Please post your support questions to the Hugo Forum.


Added pandoc-zotxt.lua

pandoc-zotxt.lua looks up sources of citations in Zotero and adds them either to a document's references metadata field or to a bibliography file.

Is there a way to work around this? E.g. a fake zotxt
that returns canned data? We can't check this in
without passing tests.

Hmm, not sure. I can't find an HTTP server in pure Lua. But maybe I can scrape something together from http://lua-users.org/lists/lua-l/2002-04/msg00180.html and bnet. I'll have a look at it.

I don't want to make this too painful.

Odin Kroeger<EMAIL_ADDRESS>writes:

Hmm, not sure. I can't find an HTTP server in pure Lua. But maybe I can scrape something together from http://lua-users.org/lists/lua-l/2002-04/msg00180.html and bnet. I'll have a look at it.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/pandoc/lua-filters/pull/58#issuecomment-491029718

I wasn’t aware that with Python spinning up an HTTP server is as simple as saying python3 -m http.server <portnumber>. So I thought making the necessary changes wouldn't take much of an effort. That turned out to be wrong, of course. And tests still didn't work, no idea why. So, yes, I disable most of them now.

It looks like you accidentally checked in a large number of files in lib/luarocks/rocks-5.3?

Oh, I wasn’t aware that LuaUnit ships with that much documentation. I removed those files and others that were accidents.

Nothing that can be installed using luarocks should be included in the repository.  You can just have your test script install these, right?

Sure. Did I overlook some instructions to that effect? At any rate, I removed LuaUnit and the luarocks metadata for lunajson.

[ -e "share/lua/5.3/luaunit.lua" ] ||
luarocks install --tree . luaunit
/bin/sh: 2: luarocks: not found

So, I can't just have my test script install LuaUnit. I'll revert and re-commit, but not today.

LuaUnit is a nice library, which we probably should be using in more places. Maybe we can add it in a central location like .tools?

Instead, let's just have our travis script install luarocks, so it will be available to everyone.

So, that didn’t work:
[ -e "share/lua/5.3/luaunit.lua" ] || \
		luarocks install --tree=. luaunit
Installing http://luarocks.org/repositories/rocks/luaunit-3.3-1.src.rock...
Using http://luarocks.org/repositories/rocks/luaunit-3.3-1.src.rock... switching to 'build' mode
Archive:  /tmp/luarocks_luarocks-rock-luaunit-3.3-1-5920/luaunit-3.3-1.src.rock
  inflating: luaunit-3.3-1.rockspec
  inflating: rock-luaunit-3.3.zip
  […]
Updating manifest for /home/travis/build/pandoc/lua-filters/pandoc-zotxt.lua/./lib/luarocks/rocks
No existing manifest. Attempting to rebuild...
luaunit 3.3-1 is now built and installed in /home/travis/build/pandoc/lua-filters/pandoc-zotxt.lua/./ (license: BSD)
mkdir -p "test/tmp"
rm -f "test/tmp"/*
pandoc --lua-filter "test/unit/test.lua" -o /dev/null \
		-M query-base-url=http://localhost:23120 \
		-M tests=test_core /dev/null || \
		{ EX=$?; sh test/scripts/httpdctl stop || :; exit "$EX"; }
Error running filter test/unit/test.lua:
[string "test/unit/test.lua"]:115: module 'luaunit' not found:
	no file 'luaunit.lua' in pandoc's datadir
	no field package.preload['luaunit']
	no file '/usr/local/share/lua/5.3/luaunit.lua'
	no file '/usr/local/share/lua/5.3/luaunit/init.lua'
	no file '/usr/local/lib/lua/5.3/luaunit.lua'
	no file '/usr/local/lib/lua/5.3/luaunit/init.lua'
	no file './luaunit.lua'
	no file './luaunit/init.lua'
	no file 'test/unit/../../share/lua/5.3/luaunit.lua'
	no file '/usr/local/lib/lua/5.3/luaunit.so'
	no file '/usr/local/lib/lua/5.3/loadall.so'
	no file './luaunit.so'
stack traceback:
	[C]: in function 'require'
	[string "test/unit/test.lua"]:115: in main chunk
make[1]: *** [test_core] Error 83
FAIL pandoc-zotxt.lua

The makefile works fine on my system though:
$ luarocks remove --tree=. luaunit
Checking stability of dependencies in the absence of
luaunit 3.3-1...

Removing luaunit 3.3-1...
Removal successful.
$ make test
[ -e "share/lua/5.3/luaunit.lua" ] || \
		luarocks install --tree=. luaunit
Installing https://luarocks.org/luaunit-3.3-1.src.rock

luaunit 3.3-1 is now installed in /Users/odin/repos/lua-filters/pandoc-zotxt.lua/. (license: BSD)

mkdir -p "test/tmp"
rm -f "test/tmp"/*
pandoc --lua-filter "test/unit/test.lua" -o /dev/null \
		-M query-base-url=http://localhost:23120 \
		-M tests=test_core /dev/null || \
		{ EX=$?; sh test/scripts/httpdctl stop || :; exit "$EX"; }
........
Ran 8 tests in 0.004 seconds, 8 successes, 0 failures
OK
pandoc --lua-filter "test/unit/get_input_directory-pwd.lua" </dev/null

for TEST in `find "test/unit/warn" -type f -name '*.lua' -exec basename \{\} \; | sed 's/.lua$//' | sort`; do \
		pandoc --lua-filter "test/unit/warn/$TEST.lua" -o /dev/null \
			/dev/null 2>"test/tmp/$TEST.out"; \
		cmp "test/norms/warn/$TEST.out" "test/tmp/$TEST.out"; \
	done

Presumably we need to set the LUA_PATH so it finds
these things?

But then you run the risk that other libraries installed elsewhere on the
user's system are not found properly, unless you can just add (prepend)
stuff to the variable in an OS neutral way. I vaguely remember you can,
having fought with that variable once.
Den ons 15 maj 2019 00:15John MacFarlane<EMAIL_ADDRESS>skrev:

Presumably we need to set the LUA_PATH so it finds
these things?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/pandoc/lua-filters/pull/58?email_source=notifications&email_token=AAI3OU3QJMOMLCYV5UINGY3PVM2XBA5CNFSM4HKWYBOKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODVM6IBY#issuecomment-492430343,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAI3OUYUFAVLSKICENDCAT3PVM2XBANCNFSM4HKWYBOA
.

I don’t think LUA_PATH is the problem. luarocks install -tree=. luaunit should install LuaUnit relative to the current working directory, that is, in ./share/lua/5.3/luaunit.lua. Well, at least that's what it does on my system. And the test suite adds that directory to package.path:
--- The path seperator of the operating system
local PATH_SEP = sub(package.config, 1, 1)

do
    local split_expr = '(.-' .. PATH_SEP .. '?)([^' .. PATH_SEP .. ']-)$'
    local san_exprs = {{PATH_SEP .. '%.' .. PATH_SEP, PATH_SEP},
        {PATH_SEP .. '+', PATH_SEP}, {'^%.' .. PATH_SEP, ''}}

    --- Splits a file's path into a directory and a filename part.
    --
    -- @tparam string path The path to the file.
    -- @treturn string The file's path.
    -- @treturn string The file's name.
    --
    -- This function makes an educated guess given the string it's passed.
    -- It doesn't look at the filesystem. The guess is educated enough though.
    function split_path (path)
        assert(path ~= '', 'path is the empty string')
        for _, s in ipairs(san_exprs) do path = path:gsub(unpack(s)) end
        local dir, fname = path:match(split_expr)
        dir = dir:gsub('(.)' .. PATH_SEP .. '$', '%1')
        if dir == '' then dir = '.' end
        if fname == '' then fname = '.' end
        return dir, fname
    end
end

--- The directory of the script.
local SCRIPT_DIR = split_path(PANDOC_SCRIPT_FILE)

--- The directory of the test suite.
local TEST_DIR = concat({SCRIPT_DIR, '..'}, PATH_SEP)

-- [...]

--- The repository directory.
local REPO_DIR = concat({TEST_DIR, '..'}, PATH_SEP)

package.path = package.path .. ';' ..
    concat({REPO_DIR, 'share', 'lua', '5.3', '?.lua'}, PATH_SEP)

Maybe something's wrong with this code then, I just don’t see what it could be.

The filter is available at https://github.com/odkr/pandoc-zotxt.lua, which is much better than including it here. Thus closing.


Fix/installer fixes improvements

Details -> #134

This change is

wrong branch,   closing it without merging


Hyperparameter tuning question

Hi, I am a bit new to hyperparameter tuning in Recbole-CDR. I ran the CoNet algorithm on my dataset, and the results seemed to be very poor. For the test dataset I am using, I am getting NDCG@10 values to be around 0.9 on a model that I coded up, so I believe the CoNet values should be around the same range, since CoNet is a strong baseline in Cross-Domain Recommendation. Below are the results I am getting when running CoNet.
INFO  test result: OrderedDict([('recall@10', 0.0179), ('mrr@10', 0.0063), ('ndcg@10', 0.0087), ('hit@10', 0.0183), ('precision@10', 0.0018)])
I believe I need to tune the parameters for the model for the numbers to be a lot better. I want to tune the batch size, embedding size, the number of dense layers, the learning rate, and any other parameter that can be tuned. After tuning the hyperparameters, I want to use the best model to make recommendations on the test set.
Please let me know how I can tune the different hyperparameters, and used the best model on the test set to collect the metric values.
Right now, I am using the default values that come with the run_recbole_cdr.py file. Below are the default values that I am running CoNet with:
Evaluation Hyper Parameters:
eval_args = {'group_by': 'user', 'order': 'TO', 'split': {'RS': [0.7, 0.2, 0.1]}, 'mode': 'full'}
repeatable = False
metrics = ['Recall', 'MRR', 'NDCG', 'Hit', 'Precision']
topk = [10]
valid_metric = MRR@10
valid_metric_bigger = True
eval_batch_size = 4096
metric_decimal_place = 4

Other Hyper Parameters:
wandb_project = recbole_cdr
train_epochs = ['BOTH:300']
require_pow = False
embedding_size = 64
reg_weight = 0.01
mlp_hidden_size = [64, 32, 16, 8]
MODEL_TYPE = ModelType.CROSSDOMAIN
MODEL_INPUT_TYPE = InputType.POINTWISE
eval_type = EvaluatorType.RANKING
train_modes = ['BOTH']
epoch_num = ['300']
source_split = False
device = cuda
train_neg_sample_args = {'strategy': 'by', 'by': 1, 'distribution': 'uniform', 'dynamic': 'none'}
eval_neg_sample_args = {'strategy': 'full', 'distribution': 'uniform'}

Source domain: ./comedy_data/comedy
The number of users: 2217
Average actions of users: 16.08528880866426
The number of items: 4977
Average actions of items: 7.16338424437299
The number of inters: 35645
The sparsity of the dataset: 99.6769533176926%
Remain Fields: ['source_user_id', 'source_item_id', 'source_rating', 'source_timestamp']

Target domain: ./action_data/action
The number of users: 2217
Average actions of users: 19.935469314079423
The number of items: 2927
Average actions of items: 15.098086124401913
The number of inters: 44177
The sparsity of the dataset: 99.31921840719268%
Remain Fields: ['target_user_id', 'target_item_id', 'target_rating', 'target_timestamp']
Num of overlapped user: 2217
Num of overlapped item: 1

INFO  [Training]: train_batch_size = [2048] negative sampling: [{'uniform': 1}]
INFO  [Evaluation]: eval_batch_size = [4096] eval_args: [{'group_by': 'user', 'order': 'TO', 'split': {'RS': [0.7, 0.2, 0.1]}, 'mode': 'full'}]

You can refer to “Parameter Tuning” in the Recbole document to tune the parameters


[WIP] feat: machine charm

This repository will most likely be recreated with terraform plan.

Closing in faviour of newer smaller-scoped PR


Improve UI of the header

Subject of the issue
I want to change the UI of the header to make it easy to read.
This is what I have made:

Please assign this to me.

Let the logo be at the center. For now you can keep the toggle button and the extension's font style changer side by side.

Okay, I will make a pr according to that.


Fixed cpu build on the systems where no local cuda is available

Checklist before submitting

[x] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
I ran cpu builds for whole opence environment on M4-1 system where no local cuda is available. And the build failed on it because openmpi could not be built as it needs CUDA_HOME. We could not catch this issue so far, because wherever we ran cpu builds, those systems had local cuda and $CUDA_HOME set. So, openmpi was getting built and so LightGBM.
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

I'm unsure if we want openmpi only for cuda build type,, as our openmpi recipe is dependent on cudatoolkit. If yes, then cpu variant of LightGBM should disable it as it is done in this PR.

I'm unsure if we want openmpi only for cuda build type,, as our openmpi recipe is dependent on cudatoolkit. If yes, then cpu variant of LightGBM should disable it as it is done in this PR.

Right. We enable cuda in the openmpi recipe:
https://github.com/open-ce/openmpi-feedstock/blob/master/recipe/build.sh#L11
Perhaps we need a conditional there and only enable it in the openmpi recipe when building for cuda.

Right. We enable cuda in the openmpi recipe:
https://github.com/open-ce/openmpi-feedstock/blob/master/recipe/build.sh#L11
Perhaps we need a conditional there and only enable it in the openmpi recipe when building for cuda.

Okay.. So, I think this PR needs to be closed without merging and openmpi needs to be fixed. I'll do it.

Okay.. So, I think this PR needs to be closed without merging and openmpi needs to be fixed. I'll do it.

yup. It'll need a
if [[ $build_type == "cuda" ]]
then

around that line in the build.sh in the openmpi recipe.

yup. It'll need a
if [[ $build_type == "cuda" ]]
then

around that line in the build.sh in the openmpi recipe.

yeah, even in meta.yaml where cudatoolkit or CUDA_HOME is used everywhere.

yeah, even in meta.yaml where cudatoolkit or CUDA_HOME is used everywhere.

Closing this PR without merging as per the discussion. Raised a PR in openmpi to correct it. https://github.com/open-ce/openmpi-feedstock/pull/13

Closing this PR without merging as per the discussion. Raised a PR in openmpi to correct it. https://github.com/open-ce/openmpi-feedstock/pull/13


Update babel, jest, webpack bits

This should fix the handlebars and serialize-javascript security alerts on GH at least.
It also updates the node requirement (I think through the jest update this was necessary) - somebody should check if we can actually make the jump.

https://circleci.com/gh/weaveworks/scope/14642 says

[1/5] Validating package.json...
error<EMAIL_ADDRESS>The engine "node" is incompatible with this module. Expected version "^10.19.0".
error Found incompatible module

I guess something like https://github.com/weaveworks/scope/commit/56f2fac4874fcdad9463eb3c0eb72024be05fb38 is needed here?

I applaud your efforts, but really have no idea what changes are required when you move two major versions of Node.
I think you should have permissions to push a new build image; let me know if not.

I think you should have permissions to push a new build image; let me know if not.

Looks like I don't. Can you help me out? My user is dholbach on Dockerhub too.
denied: requested access to the resource is denied


Push-to-Talk via headphone activiation

"PushToTalk" in headphone button (The same one who receives the call) + PIT Audio cue sound.
Will be added in the future?

I have submitted a pull request.

I would love to see this. This feature is the biggest one keeping me from using the iOS app. We are currently using Lineapp Flux which supports this. I want to be able to run the app with my phone screen turned off and simply use the headphone button to PTT.


Handle temp variables getting optimized out

public static class Test {
    public static (int, int) Swap(int x, int y) {
        var temp = x;
        x = y;
        y = temp;
        return (x,y);
    }
}

In debug mode this transpiles fine, but in release mode the temp variable is removed.  This is done presumably because at runtime the evaluation stack can hold the temporary value.   This means in transpiled code, you end up with the equivalent of:
x = y;
y = x;

So a solution needs to be figured out to get around that.

Fixed in 1a582c1


LinearLayout version

I am building an app and i need a custom LinearLayout Manager to support items with different heights.
In fact the app fetches images from a server with different aspect ratios so each item must have the equivalent height. Server returns the aspect ratios for each image so i know them all ready.
Is it possible to tweak the greedolayout some how to achieve the desired result ?

The LinearLayoutManager can do this using setAutoMeasureEnabled(...). Please see http://android-developers.blogspot.ca/2016/02/android-support-library-232.html. This feature came out last week.

I'm also interested in building a FlowLayout-kind LayoutManager and it looks actually as something that I can use.
I'm getting all bitmaps I need to show in a list and I have the height and width of them all.
How is this library fill the gaps if there are any ? Does it make available items fit in a row same height  for all and adjust only the width ?

In the library there is a GreedoSpacingItemDecoration that you can use to specify the spacing between items.
By how the algorithm works, the height is variable as well. The only constraint you can set is the max row height via setMaxRowHeight(...). Hope that helps!

@JVillella
Yes i know about the new feature setAutoMeasureEnabled. However i got a small issue. if user flings i got some small jumps and i have spent days to figure out why but no luck :(

I see. In terms of achieving that functionality with Greedo, if you abuse the AspectRatio, and the scale type of the ImageView, you may be able to pull something off.


oraenv.sh source slow

Sourcing oraenv.sh can be slow on certain environments due to the find command. Find in oraenv.sh should be removed and rather be part of the installation eg. by search and set default values.

move find commands to oudbase_install.sh. introduce the core config file oudenv_core.conf with customized values of ORACLE_HOME, ORACLE_FMW_HOME, JAVA_HOME etc


Yum update failed with "Exiting on user cancel" in runv

Hi,
I tried to run yum update in runv, but it failed with "Exiting on user cancel". It works in runc.
Any tips for this issue?
$sudo docker run -it --rm --runtime runc centos yum update
Loaded plugins: fastestmirror, ovl
base                                                     | 3.6 kB     00:00
extras                                                   | 3.4 kB     00:00
updates                                                  | 3.4 kB     00:00
(1/4): base/7/x86_64/group_gz                              | 155 kB   00:00
(2/4): updates/7/x86_64/primary_db                         | 7.8 MB   00:00
(3/4): base/7/x86_64/primary_db                            | 5.6 MB   00:00
(4/4): extras/7/x86_64/primary_db                          | 191 kB   00:00
Determining fastest mirrors
 * base: mirrors.aliyun.com
 * extras: ftp.sjtu.edu.cn
 * updates: mirrors.aliyun.com
No packages marked for update

$sudo docker run -it --rm centos yum update
Loaded plugins: fastestmirror, ovl
base                                                     | 3.6 kB     00:00
extras                                                   | 3.4 kB     00:00
updates                                                  | 3.4 kB     00:00

Exiting on user cancel

It seems the container was killed by OOM killer. Can you retry with something like the --memory 512MB option?


Generate include corresponding to each field in tuples

This commit adds support for generating #include<~> corresponding to each field in tuples.
Here's an example.
#[swift_bridge::bridge]
mod ffi {
    extern "Rust" {
        fn some_function(arg1: (i32, bool)) -> (i32, bool);
    }
}

Generates the following c header file:
#include <stdint.h>
#include <stdbool.h>
//...

If this commit is merged, we can easily support generating #include<~> corresponding to each field in transparent structs or enums.


DevServer Assets (Images, YAML...etc) Updates

Currently working on a consequent React Native app with the basic Metro Bundler, we commonly use some external assets that are imported as strings with the babel-inline-import-plugin.
Example : import Foo from "./bar.yml".
The main pain point is that for reloading these assets, we regularly need to reset-cache during development stage in order to see these assets been updated in the app which is a time consuming and demotivating process.
Therefore and because of the Metro architecture, I never achieved to hot reload these assets using it. So I thought that by going through other bundler solution approaching the webpack logic like haul or this one, that would solve my issue.
But, after making things works (been able to launch the application through webpack-toolkit with devServer ...etc), this remains the same : I still have to relaunch the bundler (and reset cache if enabled) in order to update these assets.
After trying multiple remediations, the only extensions files that webpack watch/listen about for rebuilding is and always remains code tsx?/jsx? files
Maybe i'm seeing things from a wrong angle, so, if you can bring to me some help concerning this topic, it will be really appreciated.
Thank you in advance

I assume the issue was resolved, but for anyone who encounters similar problem the solution is to use loaders - eg: https://webpack.js.org/loaders/raw-loader. With the use of loaders, Webpack in watch mode should listen for the changes to those files.


Add shadow plugin to FXGL-Gradle

The example maven projects generate a standalone executable jar with assets. Add same to gradle projects

@AlmasB: I'll try to squeeze this one.

@dejan2609 Cheers! Let me know how you get on

I have made some progress, but I'm kind of stuck with shadowJar output folder (re)location.... links below are mental note to my self:

http://imperceptiblethoughts.com/shadow/#controlling_jar_content_merging
https://stackoverflow.com/questions/45255986/how-to-set-the-output-path-of-the-gradle-shadowplugin
https://github.com/johnrengelman/shadow/tree/2.0.1/src/main/groovy/com/github/jengelman/gradle/plugins/shadow/transformers
https://maven.apache.org/plugins/maven-shade-plugin/examples/resource-transformers.html

Can you give me a quick rundown the issue. Does the plugin generate fat jar and place it somewhere else or ?

@AlmasB scratch my previous comment, I had some issues with my .gradle folder (I got them resolved after I nuked .gradle folder).
See pull request, I managed to start new game like this:
./gradlew sJ
cd build/libs/
java -jar FXGL-Gradle-all.jar

what's sJ for? I used build and it seems to be working

Also, does the same trick work with kotlin? The repo for kotlin is here. It'd be great if you could update that too

sJ is a shorthand for shadowJar task. build task also does the trick (i.e. creates shadow Jar and all other distributions: tar, zip, shadow.tar and shadow.zip).
I'll check kotlin repo tomorrow, I guess it should not be hard.

Awesome 👍

@AlmasB try Kotlin PR, please.

@dejan2609 Great job, all works! Your help is much appreciated


Add files via upload

@TushaChesnokova petersburgedu.txt I am sorry, I have to close the request without merging, because you made a mistake in a request and did not specify any filepath. Please ensure that you are familiar with this repository rules located at the bottom of this page and make a new correct request. Thank you for your understanding!


InvalidNameError - Input field does not accpet tag string

I found that robobrowser can add form field dynamically like this:
browser = RoboBrowser(history=True)
myform = browser.get_form('myform2')
new_field = Input('\<input name="myname" value="" \/\>')
myform.add_field( new_field )

But InvalidNameError occured in Input class.
RoboBrowser's Input Field occurred InvalidNameError
Python 2.7.6 (default, Mar 22 2014, 22:59:56)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

>>> from robobrowser.forms.fields import Input
>>> Input('<input name="myfield" value=""/>')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/robobrowser/forms/fields.py", line 72, in __init__
    super(Input, self).__init__(parsed)
  File "/usr/local/lib/python2.7/dist-packages/robobrowser/forms/fields.py", line 46, in __init__
    self.name = self._get_name(self._parsed)
  File "/usr/local/lib/python2.7/dist-packages/robobrowser/forms/fields.py", line 52, in _get_name
    raise exceptions.InvalidNameError
robobrowser.exceptions.InvalidNameError
>>>

Packages version
$ pip search robobrowser
robobrowser               - Your friendly neighborhood web scraper
  INSTALLED: 0.5.1 (latest)
$ pip search beautifulsoup
beautifulsoup4            - Screen-scraping library
  INSTALLED: 4.3.2 (latest)
BeautifulSoup             - HTML/XML parser for quick-turnaround applications like screen-scraping.
  INSTALLED: 3.2.1 (latest)

I believe this issue was fixed in eee0cd8007460862b239c1ba7ae101c6e745a736 by @pratyushmittal, so installing version 0.5.2 should take care of this.


Modifying assigned interrupt resources processor affinity in place using EvtWdfDeviceFilterResourceRequirements

[Enter feedback here]
Hi
I am using EvtWdfDeviceFilterResourceRequirements to modify the assigned processor affinity of my MSI-X interrupt resources.
But I do not see that taking effect. Is there any requirement on the driver on what type of Interrupt Affinity Device policy (https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdm/ne-wdm-_irq_device_policy) it uses in the INF for this API to work.
(For instance, say for MSI-X MsgId=n, it was affinized to logical-processor 'x', I am trying to change the affinity to logical-processor 'Y'. But I do not see that being taking effect. Seems i should be able to achieve this using this API).
Any clarification on any pre-requisites for this API to work will be helpful
Thank You.

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

ID: b780b469-ae1f-4289-e706-7c45233f921a
Version Independent ID: 789dec00-c7d5-2514-cb7e-660c61c1b8ee
Content: EVT_WDF_DEVICE_FILTER_RESOURCE_REQUIREMENTS (wdffdo.h) - Windows drivers
Content Source: wdk-ddi-src/content/wdffdo/nc-wdffdo-evt_wdf_device_filter_resource_requirements.md
Product: windows-hardware
Technology: wdk-api-reference
GitHub Login: @tedhudek
Microsoft Alias: tedhudek

Hello @msudhakargit and thank you for the question.
First please review the Remarks section of https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdfinterrupt/nf-wdfinterrupt-wdfinterruptsetpolicy.  (I added a link to this page on https://learn.microsoft.com/en-us/windows-hardware/drivers/ddi/wdffdo/nc-wdffdo-evt_wdf_device_filter_resource_requirements which should be live soon.)
The related code is available here on GitHub, if you want to understand or trace into exactly how IRP_MN_FILTER_RESOURCE_REQUIREMENTS is processed.
https://github.com/microsoft/Windows-Driver-Frameworks/blob/main/src/framework/shared/irphandlers/pnp/km/fxpkgfdokm.cpp#L43
FxPkgFdo::PnpFilterResourceRequirements()

call EvtDeviceFilterRemoveResourceRequirements if available
pass IRP down
FxPkgPnp::FilterResourceRequirements
call EvtDeviceFilterAddResourceRequirements if available

https://github.com/microsoft/Windows-Driver-Frameworks/blob/main/src/framework/shared/irphandlers/pnp/km/fxpkgpnpkm.cpp#L16
FxPkgPnp::FilterResourceRequirements()

FxInterrupt::FilterResourceRequirements

https://github.com/microsoft/Windows-Driver-Frameworks/blob/main/src/framework/shared/irphandlers/pnp/km/interruptobjectkm.cpp#L216
FxInterrupt::FilterResourceRequirements()

Apply policy if WdfInterruptSetPolicy was called

Hope this helps!


Migration and Rollback Issues with Incorrect User and Password

Description:
Encountering a PG::InsufficientPrivilege error when attempting to run migrations or rollbacks. The process incorrectly uses app_user and the gem's password instead of the credentials defined in the initializer.
Steps to Reproduce:

Check out a branch with a previous version of the PG RLS gem.
Run rails db:rollback to revert a migration.
Switch to a branch with the current version of the PG RLS gem.
Attempt to run rails db:migrate or rails db:rollback.
Observe the PG::Permissions error in the console.

Expected Behavior:
Migrations and rollbacks should use the correct admin user and the password defined in the Rails initializer.
Actual Behavior:
The process attempts to execute with app_user and the gem's default password, leading to permission errors.
Environment:

Ruby version: 3.2.2
Rails version: 7.0.8
Sidekiq version: 7.2.0
PG RLS gem version: v0.1.4

Solved on #17 . Thanks @Dandush03 !


Issue with using IBM bodies on multiple cores

Assert errors are produced on 1.7.7 when running the test case on the wiki. This is under investigation.

A couple of problems have been identified with how IBM bodies are setup on multiple cores and fixed. However, there is still an issue with LAPACK which is not actually part of LUMA. A temporary workaround is being implemented at present and tested. If it works then it will form part of a hotfix for the present version until a longer-term solution can be implemented.

Further testing seems to suggest the issue is on Windows and the error is not reproduced on our Linux system.

Testing with the FSI validation case on the Wiki is underway to check the bug has been fixed.

Cannot reproduce the issue on our Unix system so marking this issue as wontfix.

Hi,
I have to assign some motion in y to a flexible filament, and the
filament's x position has to be determined dynamically. Everything works
fine, but as filament enters another processor, the simulation hangs up
and doesn't proceed further.
Here is the simulation result:-
https://user-images.githubusercontent.com/58395026/127123096-adc61143-b9dd-4d01-8698-c493d518d1ca.mp4

The video contains the Ux field, and the picture consists of the Mpiblock
number.
Currently, I am dividing the domain into two parts in the x-direction.
I am using filament as an IBM body.
I am simulating LINUX-UBUNTU 20.04.
Here you had talked about a
partial solution. So, can you tell me what I should do to avoid the
hanging of simulation when the body moves from one proc to another?
I also like to add that when I start the simulation at the position where
the body lies on the boundary of the two procs, it gives me a segmentation
fault.
I hope you will reply to me at my earliest convenience.
Thank You.


feat: API for listing incoming unspent contract hashes

In order to support claiming ecash that is committed to a contract via an external pubkey, we need some additional functionality:

Federation API to list current incoming unspent contracts.
Logic on the client side to iterate through all hashes, apply any necessary tweaks to a private key, and check if the hash matches, then spawn a state machine to claim the ecash.

This PR implements #1. It adds a very simple test to verify that the API is working, this test can be iterated on and expanded as we add the claim functionality.
@Kodylow @benthecarman FYI

Is it possible to attach a timestamp to each hash? That way you don't need to re-attempt each old hash when scanning. Can only check the new ones since your last time.

Is it possible to attach a timestamp to each hash? That way you don't need to re-attempt each old hash when scanning. Can only check the new ones since your last time.

IncomingContract unfortunately doesn't have a timestamp or anything, so it would require a database migration (and I think the timestamp would need to be agreed on in consensus), probably not worth it for this. Hopefully the number of in-progress receives is somewhat low, so performance won't be an issue. We could also implement similar logic on the client side, although that seems messier.
Maybe for Lightning NG we can add a timestamp @joschisan

@m1sterc001guy what you describe here is what I had in mind for lightning ng, and coincidentally I noticed the advantage of som kind of ordering yesterday as well. I just pushed a commit that allows to create incoming contracts for a foreign public key by tweaking the public key with a ephemeral secret key. This also allows for stateless recovery since the method that finds incoming contracts for ourself that were created by someone else automatically also finds incoming contracts for ourself that we created ourself.

Another thought: rather than changing the value back to 0, can we simply remove the IncomingContract from the database after it has been claimed? That would help with the performance on the server side of reading all contracts. I'm not sure if there's some auditing code or if there's another reason for keeping them around.

Another thought: rather than changing the value back to 0, can we simply remove the IncomingContract from the database after it has been claimed?

Probably must have, as these will add up quickly. If we can't delete, we could have two keys - one for all, one for quick look of active ones.

I'm going to close this PR in favor of https://github.com/fedimint/fedimint/pull/3820
I think it makes more sense to review the whole feature rather than just the new API.


DateChooser displayed selected date lost when changing month

To reproduce:

select a date
click on next month
click on previous month

The selected date doesn't show when it should.

Duplicate of #57


Request to take over the project

Unfortunately I didn't found a way to contact you so I will try it over an issue.
The company I work for is trying to walk on a open source path and want to publish some of our packages.
One of them is a fork from your vuejs-datepicker. Therefor and because you don't maintain this project anymore we would like to take over this project.
Please contact us if you have interest and we can talk about the future steps:
<EMAIL_ADDRESS>Here are the changes that we made:
Bug fixes:

use umd file format for languages
resolve wrong date model for typeable
remove not used event listener
resolve issues with incorrect time
highlight dates without time

Features:

adjust coding style to company styles
add standard-version
add Auto direction detecting
use vuepress for documentation and demo site
add fixed picker position
add footer slot
add show-header prop to hide the header if necessary
add before dateInput
add new languages
add tabIndex
use kebab-case event names (Breaking-change)
update dependencies
use disable utils
extract css in own file (Breaking-change)
customize picker header icons

I would potentially look at individual PR for features but not wholesale changes and I'm not interested in handing this project over to anyone.
I'm glad you've found my work and the work of the other contributors helpful, but I'll pass on that offer thank you.


devAdd: cannot detect block device type

title   Arch Linux
linux   /vmlinuz-linux
initrd  /intel-ucode.img
initrd  /booster.img
options root=PARTUUID=xxxxxxxxxxxxxxxxxxxxxx rootfstype=f2fs rw sysrq_always_enabled=1 quiet nowatchdog module_blacklist=iTCO_wdt mitigations=off  numa=off

Thanks for the report.
PARUUID=XXX is not supported at this point. See https://github.com/anatol/booster/issues/1
Is there any chance you can try either UUID=XX or LABEL=XX for time being?

Hi,
I use EfiBootMgr (so, direct boot) with root=UUID= and I have the exact same problem.
I use f2fs too, don't you think it's the cause?
Thanks for your work
Best regards

I use f2fs too, don't you think it's the cause?

You are right. f2fs is not supported yet. It should be straightforward to add support for it. I will look at it.

Thanks you a lot, I will use it as soon as it support F2FS.

booster-git should support xfs now. Please take a look and let me know if you see any issues with it.

booster-git should support xfs now. Please take a look and let me know if you see any issues with it.

What about f2fs?

booster-git should support xfs now. Please take a look and let me know if you see any issues with it.

What about f2fs?

Working properly for me.


FF 57: can tab over instance menu items, but focus isn't visible

Expected Behavior
Focus over the tabs should be visible.
Actual Behavior
Its not.
Steps to Reproduce the Problem

In FF 57, navigate to any instance and start tabbing.

Specifications

Version: 0.9.1
Platform: fabric

@7ruth I think this problem has been fixed.  Could you post a screenshot of the instance page you are referring to?

This is no longer an issue since focus is on links vs the tabs now.


fix code sample at README

Hello,
I tried v0.11.7 and find some misspelled at README.

Thanks @assaulter!


Only one entity

I'm not sure if it's a bug but I'm seeing only one entity (sensor.meter_{METER_ID}_total_consumption),
Is it normal or I have to add the other device entities manually ?

Sound bit weird, how did you install it? What version of HA and integration?

All latest, HA and integration
Install it through HACS, typed in my email and password install it and this what I got right away.
On 25 Aug 2023, 16:50, at 16:50, Elad Bar @.***> wrote:

Sound bit weird, how did you install it? What version of HA and
integration?
--
Reply to this email directly or view it on GitHub:
https://github.com/maorcc/citymind_water_meter/issues/56#issuecomment-1693392134
You are receiving this because you authored the thread.
Message ID:
@.***>

That's my log
Thanks
On Fri, Aug 25, 2023 at 6:31 PM Elad Bar @.***> wrote:

Can you pls share diagnostic file of integration?
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/maorcc/citymind_water_meter/issues/56#issuecomment-1693547027,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYAUAJ7KKZBQ7SJYFPN2XLXXDAM7ANCNFSM6AAAAAA36NVB44
.
You are receiving this because you authored the thread.Message ID:
@.***>

looking at the debug file I see (MainThread) [homeassistant.components.rympro.coordinator] Error fetching rympro data: <ClientResponse(https://api-ctm.city-mind.com/consumption/last-read) [401 Unauthorized]>
Maybe that's the problem ?

you are using a fork of this component, to make it official in HA,
if you would like to use the custom component available here, please follow the instructions - as you can see the component name is homeassistant.components.rympro.coordinator while custom component are being represented differently in logs (also available in README)

to add the right component that support to full functionality - add CityMind Water Meter not Read Your Meter Pro

I don't understand, I installed this integration through HACS just like it
mentioned in the README in github, Is there another way to install it that
I'm not aware of ?
Thanks
hadyos
On Wed, Aug 30, 2023 at 1:45 PM Elad Bar @.***> wrote:

you are using a fork of this component, to make it official in HA,
if you would like to use the custom component available here, please
follow the instructions - as you can see the component name is
homeassistant.components.rympro.coordinator while custom component are
being represented differently in logs (also available in README)
—
Reply to this email directly, view it on GitHub
https://github.com/maorcc/citymind_water_meter/issues/56#issuecomment-1698925327,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYAUAIUKAQILQMEWRL64TTXX4KUXANCNFSM6AAAAAA36NVB44
.
You are receiving this because you commented.Message ID:
@.***>

I don't see any City-Mind Water Meter in HACS but I do see  Read Your Meter Pro
On Wed, Aug 30, 2023 at 1:47 PM Elad Bar @.***> wrote:

to add the right component that support to full functionality - add CityMind Water Meter not Read Your Meter Pro
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

Please add this repo as custom repo in hacs, once you will do that, it will be available

What repo? what is name of repo and how do I get it?

This repository
https://hacs.xyz/docs/faq/custom_repositories/


#2277 has a bug with ionic 5 multiple select

this fix has a bug with ionic 5 multiple select. selected option did not reselect when click again.
#2277

Hi, could you please provide a reproduction example, ionic 5 not officially supported in our codebase so I can't guarantee the result :pray:.


Correction for raw affiliation CNRS ISCR-UMR Université Rennes  F-35000 Rennes France

Correction needed for raw affiliation CNRS ISCR-UMR Université Rennes  F-35000 Rennes France
raw_affiliation_name: CNRS ISCR-UMR Université Rennes  F-35000 Rennes France
new_rors: 015m7wh34;02feahw73;00adwkx90
previous_rors: 015m7wh34;02feahw73
works_examples: W4313555642;W4360958488
contact: 1320cdf1494b9bbc245d32311d44207a:f024f2dccb4d400de89214d7731db505 @ univ-rennes.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Update LICENSE

Closes #
📑 Description

✅ Checks

[ ] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] All the tests have passed

☢ Does this introduce a breaking change?

[ ] Yes
[ ] No

ℹ Additional Information

:x: Build Sankhya-SDK-dotnet 3.0.958 failed (commit https://github.com/guibranco/Sankhya-SDK-dotnet/commit/52da033f3a by @guibranco)


Vue when used with Vite is unable to find teleport target.

Version
3.0.0-rc.1
Reproduction link
https://github.com/jacobclevenger/vue-teleport-bug
Steps to reproduce

Clone the repo
Install dependencies by running yarn in repo.
Run app by typing yarn dev
Open app and view console to see errors.

What is expected?
The teleport component content should show up in the teleport target.
What is actually happening?
The content does not show up and the console throws the following warnings.
[Vue warn]: Failed to locate Teleport target with selector "#endofbody".
at
[Vue warn]: Invalid Teleport target on mount: null (object)
at

When attempting to port my ui library from Vue CLI to vite, I ran into this bug. I created another repo to make sure it wasn't an issue with my code and the same bug happened.

See https://github.com/vuejs/vue-next/issues/992#issuecomment-616126089


Modals not working in Safari or demo on http://getbootstrap.com/javascript/#modals

Hi,
I'm trying to troubleshoot why modals aren't working in Safari v9 desktop. Works fine in Chrome, Firefox. Not even the demo Currently v3.3.6 on http://getbootstrap.com/javascript/#modals is working in Safari v9 Desktop. Any ideas?

Define "not working". It works fine on my MacBook. Probably something wrong with your specific machine, otherwise this issue would have 10 duplicates. (Safari Extensions perhaps?) For troubleshooting help, ask on StackOverflow, Slack, or IRC; see https://github.com/twbs/bootstrap/blob/master/README.md#community for links.

no special config in safari. not working meaning doesn't load on clicking the element or the version we have to load on page load.

figured it out. thanks for your time.

Out of curiosity, are you able to share what the cause turned out to be?

Huge lack of sleep leading to forgetting to re-enable JS in dev mode... haha! hurray!

close

Close designerwhocoes/bootstrap#19974


Add nGraph-HE

nGraph-HE enables deep learning on homomorphically encrypted data. It uses Microsoft SEAL for the underlying encryption. nGraph-HE includes links to two publications (https://arxiv.org/pdf/1810.10121.pdf, https://arxiv.org/pdf/1908.04172.pdf) describing the state-of-the-art in the field.

Pretty cool application of the SEAL library.
I moved it to the software/framework section.
Thanks for your contribution!


Question to step4

I have some questions in step4. Do I need to create a Windows Registry  to  meet GUIDs,  or where should  I  modify the source code USB library?  Similarly  which  INF file to modify?  C:\Windows\System32\winusb ?  Thanks!!!

Modify descriptor in usbd_desc.c.  Change device guid sring to match your guid in INF.

Modify descriptor in usbd_desc.c.  Change device guid sring to match your guid in INF.