Lidar imu limitation solution any

ISSUE TEMPLATE ver. 0.0.1

Which TurtleBot3 you have?

[ ] burger
Burger
[ ] waffle
[ ] waffle pi

Which SBC(Single Board Computer) is working on TurtleBot3?

[ ] Raspberry Pi 3
Rpi3 b
[ ] Intel Joule
[ ] etc (PLEASE, WRITE DOWN YOUR SBC HERE)

Which OS you installed in SBC?

[ ] Ubuntu MATE 16.04 or later
16.04
[ ] Raspbian
[ ] etc (PLEASE, WRITE DOWN YOUR OS)

Which OS you installed in RemotePC?

[ ] Ubuntu 16.04 LTS (Xenial Xerus)
16.04
[ ] Ubuntu 18.04 LTS (Bionic Beaver)
[ ] Linux Mint 18.X
[ ] etc (PLEASE, WRITE DOWN YOUR OS)

Write down software version and firmware version

Software version : [0.1.2]
Latest
Firmware version : [1.1.2]
Latest

Write down the commands you used in order

[RemotePC] roscore
[SBC] roslaunch turtlebot3_bringup turtlebot3_robot.launch
[RemotePC] roslaunch turtlebot3_teleop turtlebot3_teleop_key.launch

Copy and Paste your error message on terminal

... logging to /home/darby/.ros/log/0681c5f0-5343-11e8-b6e2-ac2b6e6d08ee/roslaunch-kingod-25077.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://<IP_ADDRESS>:46024/

SUMMARY
========

PARAMETERS
 * /rosdistro: kinetic
 * /rosversion: 1.12.13
 * /turtlebot3_core/baud: 115200
 * /turtlebot3_core/port: /dev/ttyACM0

NODES
  /
    turtlebot3_core (rosserial_python/serial_node.py)

auto-starting new master
process[master]: started with pid [25087]
ROS_MASTER_URI=http://<IP_ADDRESS>:11311

setting /run_id to 0681c5f0-5343-11e8-b6e2-ac2b6e6d08ee
process[rosout-1]: started with pid [25100]
started core service [/rosout]
process[turtlebot3_core-2]: started with pid [25108]
[INFO] [1525840798.011640]: ROS Serial Python Node
[INFO] [1525840798.021582]: Connecting to /dev/ttyACM0 at 115200 baud
[ERROR] [1525840798.024494]: Error opening serial: [Errno 2] could not open port /dev/ttyACM0: [Errno 2] No such file or directory: '/dev/ttyACM0'
[turtlebot3_core-2] process has finished cleanly
log file: /home/darby/.ros/log/0681c5f0-5343-11e8-b6e2-ac2b6e6d08ee/turtlebot3_core-2*.log

Please, describe detailedly what difficulty you are in

my lidar and imu sensor does not work in large environment, such as in industry with many machine and large open spaces. I would like other members developer to specify the limit of lds lidar and also imu sensor with maximum environment. And i would like to suggest developer to create a code which can follow side by side and run at constant velocity.

Hi timlo94 :)
First of all, maximum range of lds is 3.5m. and imu sensor works whether the environment is large or small. refer to our emanual : http://emanual.robotis.com/docs/en/platform/turtlebot3/appendix_lds_01/#appendix-lds01
And then, your sensors do not work because the port is not connected. Check what do you use serial port Raspberry3 and OpenCR.  Default serial port is /dev/ttyACM0.
If your serial port is connected, check your serial port by follow command.
ls /dev/
Thanks.

Hi timlo94 :)
First of all, maximum range of lds is 3.5m. and imu sensor works whether the environment is large or small. refer to our emanual : http://emanual.robotis.com/docs/en/platform/turtlebot3/appendix_lds_01/#appendix-lds01
And then, your sensors do not work because the port is not connected. Check what do you use serial port Raspberry3 and OpenCR.  Default serial port is /dev/ttyACM0.
If your serial port is connected, check your serial port by follow command.
ls /dev/
Thanks.

Thanks ya...for my part, currently the SLAM draw incorrectly map with turtlebot3 icon jerking (jumping around the map).
I am figuring whether i should change the original lds lidar to RP LIDAR A3 would help in my industry field.
Right now, i replace the SLAM and NAVIGATION rviz with barcode scanner / line following to counter the situation.

Could tell me more about the SLAM draw incorrectly map??

The map would be different from as usual.....it become round shape with no solid walls .
Normally when we do slam, we would get square map cornered with thick solid wall.

could you show me your map?

This issue will be closed since there were no actions for a while. You can reopen this issue to show this issue to the users whenever. Thanks.


Orbit in WordPress Stacks Posts First

I have implemented Orbit in WordPress from the foundation.js, app.js, and orbit-1.3.0.js files. (drewsymo theme).
Created two Orbit slides (custom post types) that have an image with an href around it.
The Orbit slides loading stacked on top of each other, as they are written out by the Loop. Then they are encapsulated into the slider script. It looks bad.
Has anyone had this issue or solved it? URL is http://wordpress.shreemaa.org.
Kailas

Aside from the loop (not comfortable enough with WP to troubleshoot that) there's a bug in Drew's theme - it includes Orbit twice. Try removing the orbit 1.3.0 file.

Problem solved.


create header title

position needs to be at top center page
black font color
bottom border of header needs to be solid black


Review colours of all boxes on home page

Link to impact dashboard blends into other stats at present. Perhaps dark green?
Add some form of sensible colouring to metrics displayed on dashboard (e.g. all social media is one colour, all media another) to increase coherence on the page

Step 1 - Discuss best idea for an approach.


Kustomized k8s yaml turns "yes" string into yes boolean

Expected behavior
yes should remain a string in the rendered yaml
Actual behavior
"yes" changes from string type to bool type in kustomize dest rendered yaml
Information

Ship version: 0.49.0
Docker version: 18.09.5
Command line run: ship init replicated.app...

Steps to reproduce the behavior

create ship.yaml

assets:
  v1:
  - inline:
      contents: |
        apiVersion: apps/v1
        kind: Deployment
        metadata:
          name: redis
          labels:
            component: redis
        spec:
          replicas: 1
          selector:
            matchLabels:
              component: redis
          template:
            metadata:
              labels:
                component: redis
            spec:
              containers:
                - name: redis
                  image: redis
                  args: ["--appendonly", "yes"]
      dest: base/redis-deployment.yaml
      mode: 0644
config:
  v1: []
lifecycle:
  v1:
    - config:
        invalidates: ["render"]
    - render:
        requires: ["config"]
        root: "."
    - kustomize:
        requires: ["render"]
        base: ./base
        overlay: overlays/ship
        dest: rendered.yaml

ship init --headless ship.yaml
cat rendered.yaml

apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    component: redis
  name: redis
spec:
  replicas: 1
  selector:
    matchLabels:
      component: redis
  template:
    metadata:
      labels:
        component: redis
    spec:
      containers:
      - args:
        - --appendonly
        - yes
        image: redis
        name: redis

kubectl apply -f rendered.yaml

Error from server: error when applying patch:
...
for: "rendered.yaml": unrecognized type: string

I think I know what's causing this - ship moved to using go-yaml/yaml v3 recently, and I believe that uses a newer version of the yaml spec. (and that version dropped support for yes as a boolean) I'll open an issue (+pr) there


problem with grid call

i've a dinamyc grid in my project where when i select 1 option it call my grid , well this works but not always , i mean i don't know why but sometimes it doesn't work and send me this error:

Hi,
Show your code with jsGrid config or reproduce this scenario on JSFiddle

Looks like jsGrid script is not loaded.
It could be the case that this script is loading asynchronously, so it's not guaranteed that it present when jsGrid is initialized.

i solved the problem( i think) , in my project there is  a button on my grid , wich call a  modal with content from another page(jsp) , i don't know why but if i change the call  $(..).load  to "document.getElementById("something").innerHTML = ''; "  it works without problems ! ..... do u know why ?

Glad that you figured it out.
I'm afraid, there is not enough context to answer your followup question.


Whitespace, method order, and linebreaks in lib/WP_Auth0_LoginManager.php

No functional changes. Completed using:
phpcbf ./lib/WP_Auth0_LoginManager.php --standard=WordPress

... then manually adjusting where needed. Guidelines are here:
https://make.wordpress.org/core/handbook/best-practices/coding-standards/php/

then manually adjusting where needed
Do you remember what things you've changed? It won't escalate well if you run a code formatter and then do manual updates. Better to find how to update or tell the "run formatter command" to do those for you.

Also.. Is there a way to add this as a "pre-commit/release" action? The idea is that every time before a release you run this. Maybe you can add a bash script to run that, commit, and make a release commit.

Do you remember what things you've changed?

It was just the order of the functions, something that an automated formatter wouldn't change. Also removed several unnecessary empty lines.

Also.. Is there a way to add this as a "pre-commit/release" action?

Yes


validation needs to support identifier attribute

validation should check for the core fields which are MiAIRR, required and identifers. It's an open question if we should support multiple validations levels.

From the call:

Minimal requirement for v1.3 would be to add validation for identifier fields.
Multiple validation levels could be a lot of work, so we could push that part back.


user: Log in

references #11
As a User, I want to log in, so that I can utilize the tutoring service.
Definition of Done

[ ] When I click log in, I will be navigated to the log in page.
[ ] When I am navigated to the log in page, I can sign in.
[ ] When I sign in, I will be navigated to the homepage and be signed in.

Tasks

[ ] Redesign docker and endpoint to serve site
[ ] finish backend endpoint allowing login
[ ] Build front end page to request auth token
[ ] Restructure front end to require login for page access (reroute dashboard, profile and related pages)

[t:120] added login functionality but ran into a issue with the backend connecting to database


AB#5781 Client Server Separation

This PR removes the single platform deployment process to a truly separated frontend client and backend server.
Changes
package.json

There are no new dependencies, yay!

Most of these changes are removing script dependencies with other scripts. Mainly the clean script as it is not really cross-platform/CLI independent, so you would have to modify the package.json to get other scripts to run, annoying and unnecessary.
The generate script no longer explicitly sets the REACT_APP_* variables since these values are dependent on the environment so do not belong in the script, therefor need to be applied to the environment prior to running the command.
default.json
CORS had to be configured more explicitly for the GraphQL server now since the HTTP server is not self hosting the frontend build anymore. Mainly we now need to specify acceptable origins in order for the session credentials to be sent to the client. There is a new field in the default.json: app:cors:origins that is an array of acceptable origins. This property will need to be set for local development where the client needs to communicate with the server (eg. http://localhost:3000). If you are just developing the server and don't need the client to be run locally than it can be ignored as the codified default is an empty array.

⚠ Wildcards are NOT acceptable in any specified origin⚠

Development
The development process stands roughly the same for the client. As with the server, note the default.json changes above.
Production and Build
The build process has some minimal changes. The setupBuild.js file is no longer used, so has been removed. We run the same yarn build to generate a production ready build of the client app. Noting the changes of the package.json, the environment variables REACT_APP_API_URL and REACT_APP_GRAPHQL_HOST need to be set prior to executing the script.
Once the build of app is complete, the build folder can now be noticed in the opentci-platform/opencti-front folder instead of the .../opencti-graphql folder.
To now serve/run the frontend application, you first need to make sure that the following environment variables are set:

API_URL: The URL to the API gateway
SERVER_HOST: The URL to the server
SSL_CRT_FILE: The certificate file
SSL_KEY_FILE: The key file
SSL_KEY_PASS: The password to the key file, if needed (optional)
PORT: The port to serve the app on (optional, default 8443)

Except for the SSL_KEY_PASS and PORT variables, all variables are required for the serve.js script. The serve.js file needs to be placed in the same directory as the build folder.
Serving the application can now be done with the node ./<path>/serve.js command.

@DallasP9124 @CyberDaedalus00
Wanted to see if I could resolve the conflicts and noticed that it looks like there's only one and it has to do with the apollo server. In develop today it's using version 2.x, while in this split code version it's on 3.x, is everyone on the same page and alright with this PR also bumping the apollo version to 3?

That's correct. That's the other major piece to this is that we are moving to Apollo 3

@CyberDaedalus00 So if you're alright with that change I can actually fix this merge conflict now, then @DallasP9124 when you're working again, we just need to be able to merge develop into this branch, which is where that weird file deletion stuff will pop up.


KAFKA-14097: make producer ID expiration a dynamic config

Changed the integer value for producer ID expiration to a dynamically configurable value.
Tested that the configuration can be changed dynamically and works as expected.
I considered adding the producer expiration check interval into the config, but since it is not dynamic (and is harder to make it dynamic), I decided to keep it separate. A followup could be to incorporate all the producer state manager configs into this new object.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@jolshan Left a small comment. Could you rebase it as well?


Custom ArResolver not being loaded in 18.0.372

Today I tried building the 18.0.370 cut of this repo against 18.0.372 and testing it in our environment, and it seems that the most recent set of changes have broken loading of at least some custom USD plugins. It's unclear whether this only affects custom ArResolver plugins, but so far that's the only thing I've had an issue with.
Commenting out this block causes the resolver to load and work as expected. I'm not sure I quite understand why that code is necessary, since at first glance it looks like the kind of thing that PXR_PLUGINPATH_PATH (or its site-specific equivalent) would handle when USD initializes.
It's also not clear to me why that code would be causing issues, but I haven't done a ton of investigation. However, using the brute-force LD_DEBUG=libs method, I have at least confirmed that the plugin library for our resolver isn't even initialized when that block of code is in place.

That's odd... The code only adds additional plugin paths, so I don't see why it would be stopping a plugin from loading. Where is your ArResolver plugin located? How do you ensure it's install location is part of the USD plugin path?
The prupose if that change is so that third party renderers can easily have their render delegates show up in LOPs by simply adding an entry to the HOUDINI_PATH, rather than also having to modify the PXR_PLUGINPATH_NAME.

All of our internal packages (USD, HUSD, our resolver, other schema modules, etc.) are released in separate directory trees, and none of them are in the Houdini install tree.
We use PXR_PLUGINPATH_NAME to find and load USD plugins, except our USD library uses a different environment variable name (LPXR_PLUGINPATH_NAME) for clarity. We also build USD with a custom namespace.
For HUSD, we use HOUDINI_DSO_EXCLUDE_PATTERN to prevent Houdini from loading various factory plugins that would pull in the shipped USD libraries via an rpath (e.g. USD_Ops.so, USD_Plugins.so, etc.), and then we put the path to our released versions on HOUDINI_DSO_PATH, mirroring the same directory structure found in $HFS/houdini/dso.
I'm doing some additional tests to see if I can spot a library load order difference with and without that code block enabled, and I'll follow up with anything I learn.

The prupose if that change is so that third party renderers can easily have their render delegates show up in LOPs by simply adding an entry to the HOUDINI_PATH, rather than also having to modify the PXR_PLUGINPATH_NAME.

Hmm... I'm not sure that would really work as intended in the wild, since it assumes plugins will be installed in a usd_plugins subdirectory. As an example, arnold-usd does not adhere to this pattern by default, and also allows the plugins subdirectory to be configured at build time.

OK, I figured it out. The cause was USD_FS.so having moved into a subdirectory of $HFS/dso between Houdini builds, so the path I had in HOUDINI_DSO_EXCLUDE_PATTERN was no longer preventing that lib from being loaded at Houdini startup.
As a result, the rpath linkage in the stock USD_FS.so caused the stock Houdini USD libs to get loaded instead of ours, and thus the wrong environment variable was scanned for USD plugins.
There's something up with Karma still, but I'll open a separate issue for that.
Sorry for the noise!


Ng1ToNg2Module export missing

My app is bundled with webpack and I've noticed that the imports are a little wonky.
Specifically, Ng1ToNg2Module seems to be missing from ng1-to-ng2.min.js. I have to go to the non-minified source to get it.
import { Ng1ToNg2Module } from 'ui-router-ng1-to-ng2/ng1-to-ng2.js';

When I log everything, it seems that Ng1ToNg2Module is missing:
import * as ng1ToNg2 from 'ui-router-ng1-to-ng2';
console.log(ng1ToNg2);

I'm on version 1.0.11.

Wow, how does this even happen?

Also worthy to note: After discussion with @adharris, we're going to be changing our NgModule approach for the next release.  The way it is currently implemented breaks AoT compilation.

"Wow, how does this even happen?" -- what I thought too! 😆
With angular2 being released, I'm happy with waiting a bit and upgrading once everything's caught up. Thanks for responding though!

@rmoscowitz can you try version 1.0.12 and let me know what you find

Is "ui-router-ng1-to-ng2": "1.0.12", compatible with "@angular/core": "2.0.0-rc.5"?
I'm getting this error, but I'm not 100% sure it's related to ng1-to-ng2.

I think I'm going to go ahead and skip rc5 and try with the release.

version 1.0.12 requires angular 2.0.1 or higher

Ah ok, my bad. Npm did complain but I ignored it because I thought you meant to try 1.0.12 to see if this particular bug was fixed. I'll upgrade everything and give it a shot. Thanks!

I'm interested to hear the outcome of the original bug report, if Ng1ToNg2Module exists or not in the minified file

Sorry for the delay! I can verify this is fixed in "ui-router-ng1-to-ng2": "1.0.15", with angular 2.0.2.


Call for 08/10 meeting topics

As there are no major updates on the #HackStacks hackathon, and because the next reading group session is scheduled for 08/17, the upcoming working group sprint is wide open for community discussion topics.
Are there any specific issues that working group members would like to discuss? Some relevant topics that come to mind include further Q&A around Proof of Hodl with Patrick and Friedger, updates on Nako's delegator service, and any news from app founders in the community.

As I had mentioned during the meeting I think that understanding properly Network can help to understand the business models. I have gathered some information based on this three links. The first we know well, YouTube videos by Ali Yahya FlyWheel. ~The other two provide additional interesting information   https://stories.platformdesigntoolkit.com/nfx-cc1dd3aba061 on how to maximise the benefits of these models -  and https://hbr.org/2016/04/network-effects-arent-enough provides an idea of the limitations of networks. Hopefully this is enough to kick-start a discussion if not this time for the next meeting. Gabriel


Bump version.

Let's release a new version to crates.io after we are done with all the updating.

Released 0.2, thanks


[youvi] Add new extractor

Please follow the guide below

You will be asked some questions, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your pull request (like that [x])
Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

[x] Searched the bugtracker for similar pull requests
[x] Read adding new extractor tutorial
[x] Read youtube-dl coding conventions and adjusted the code to meet them
[x] Covered the code with tests (note that PRs without tests will be REJECTED)
[x] Checked the code with flake8

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[x] I am the original author of this code and I am willing to release it under Unlicense
[] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[x] New extractor
[ ] New feature

Description of your pull request and other information
Resolves #27014
Added support for downloading videos from this website.
Examples:
https://youvi.ru/post/oZMXbu5sRoN
https://youvi.ru/post/IvkJHnauNwZ
Followed the guideline for contributions

You seem to have missed #27784.

Read coding conventions.


vimPlugins.otter-nvim: add dependencies

Description of changes
https://github.com/jmbuhr/otter.nvim?tab=readme-ov-file#dependencies
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

It just lists it in its dependencies because it depends on the presence of tree-sitter parsers.
A lot of plugins to that.

otter.nvim doesn't actually depend on nvim-treesitter. It just lists it in its dependencies because it depends on the presence of tree-sitter parsers.
A lot of plugins to that.

Sure, but couldn't we argue that it therefore depends on nvim-treesitter anyway ?

Sure, but couldn't we argue that it therefore depends on nvim-treesitter anyway ?

No, because:

nvim-treesitter isn't the only way to install grammars.
Some grammars are bundled with Neovim.
In nixpkgs, nvim-treesitter as a dependency without any grammars would be useless.

Sure, but couldn't we argue that it therefore depends on nvim-treesitter anyway ?

No, because:
* nvim-treesitter isn't the only way to install grammars.

* Some grammars are bundled with Neovim.

* In nixpkgs, nvim-treesitter as a dependency without any grammars would be useless.

Ok, this makes sense.


Reduce instruction size

Implementation of #4150 .

Implementation should be done.

mrb_reserved_symbols in symbol.h seems like premature optimization. They will be overridden when embedded symbols come. Plain mrb_intern should be enough for the time being.

Even if embedded symbols come, I think these reserved symbols is needed for symbols that is used in language feature.
Also they could be replaced with macro when its optimization doesn't match.
And code generator could be optimized with it too.
(I didn't modified it this time.)


Add gcm-filters to pangeo-notebook environment

I'd like to add the gcm-filters package to the base notebook environment.

/condalock


Is it possible to write file into outside storage? eg. Downloads/ directory

I wan to write a script to keep log in outside directory which android system can access.  Is it possible?

You directly use /sdcard


feat: add Docker image support

Added Docker support. Under the hood, the node image builds the project using the Node image and npm build command, then the generated static files are wrapped in an Nginx Server image.
Note: @StarlaneStudios may want to add CD to GitHub workflows and connect this to DockerHub after merging this PR
Total Image Size: ~52mb
Provides availability for #124

Unable to test image (ie incompatible) due to source files having links to generated files not in repo


Added Decent Partners

https://kusama.subscan.io/extrinsic/17055140-2

Thank you for your request!
@monsieurbulb
You can check how it will look like after changes above:

App screens

@monsieurbulb
Now everything looks right, would you please resolve the merge conflicts and then we will merge your changes.

Done.
I'd approved your previous suggestion on JSON info, and that created the
conflict?
Have resolved conflicts - all ok?
On Wed, Mar 22, 2023 at 6:33 AM Stepan Lavrentev @.***>
wrote:

@monsieurbulb https://github.com/monsieurbulb
Now everything looks right, would you please resolve the merge conflicts
and then we will merge your changes.
—
Reply to this email directly, view it on GitHub
https://github.com/nova-wallet/opengov-delegate-registry/pull/24#issuecomment-1478987581,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AKPSOEYCMFJO6UBI2DMQQETW5KMM7ANCNFSM6AAAAAAV4PUAXQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
[image: photo]
Richard Welsh
Managing Partner, Decent
+447832104148 | @.***
decent.partners | Skype: richardwelsh_81
<#SignatureSanitizer_SafeHtmlFilter_>

@monsieurbulb
Unfortunately now it still has a conflicts, also the structure of json is broken. I can fix it if you will provide me access to push in master in your repo, or do it by yourself please.

have added you as contributor to master


Trains get stuck

BkCommonLib version: 1.67 Snapshot
TrainCarts version: 1.75
Spigot version: 1.8.8

Problem or bug:
Trains get stuck in the floor after any drop.
Expected behaviour:
Just cary on normal but this does not happen
Steps to reproduce:
Get a drop with like a train of 4 carts. with a station. It happend to me with 0.4 speed but it happens with other speeds as wel.

Sorry for bad english btw

Duplicate of #43


Overlap between meta-training and meta-testing?

I've noticed that based on the custom dataset the author wrote, there could be overlaps  meta-training and meta-testing, as the classes are chosen in line 106 in MiniImagenet.py, so when creating the meta-testset, the classes selected from the meta-trainset could reappear again in the test set. Not sure if im correct.

Oh just found out that the labels in test.cvs do not apprear in train.csv, sorry about the confusion!


Improve Barrier Implementation

This PR might have caused the syncft build failure: https://charm.cs.illinois.edu/autobuild/old.2020_06_18__01_02/netlrts-linux-x86_64-syncft.txt
In file included from machine-common-core.C:316:0,
                 from machine.C:229:
machine-smp.C:84:18: error: missing binary operator before token "("
 #if __has_include(<barrier>)


[enhancement]: Yaml DownloadPipelineArtifact - toggle to disable error on failure

Task name
DownloadPipelineArtifact
Describe your feature request here
I was wondering if there was a possibility to add a toggle to this task that would ignore any errors and deem the task successful regardless of the outcome. It'd be ideal if, in addition to that, the result of the task was surfaced via an output variable.
I have a pipeline where I attempt to download an artifact, and then verify if the artifact was downloaded in order to conditionally run subsequent steps.
I'd be happy to make the changes myself and create a PR, but I first wanted to know what's the likelihood of getting these changes incorporated into this task.
I appreciate that there's a "contineOnError" property that I can use, I do that now, but it marks the pipeline as "partially successful" which is both inconvenient and confusing for other engineers on my team - there's no way to tell why it "partially succeeded".

This may help... you can have a job run conditionally if your download "succeeded with issues":
https://learn.microsoft.com/en-us/azure/devops/pipelines/process/conditions?view=azure-devops&tabs=yaml%2Cstages#how-can-i-trigger-a-job-if-a-previous-job-succeeded-with-issues


Expose applications that need support intervention

Context
There are 3 situations in which applications need manual intervention:

The course is removed from Apply
The course is removed from Find
The course is full

Changes proposed in this pull request
Add a page with applications that need intervention. It's fairly MVP! Also a few UI tweaks to make it easier to navigate the support section.

Guidance to review
Does it make sense?
Link to Trello card
https://trello.com/c/fRAKJt36/1264-expose-applications-that-need-support-intervention
Things to check

[x] This code doesn't rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

Couple of additional comments, but otherwise LGTM 👍


Symmetry check

Description
you will give a input have  numbers and number from 2 digits
check if the number Repeat until the end
print "Yes" if it is
otherwise print "No"
EX:
input
20202020202020
20
output
Yes
Domain
CPP
Type of Contribution
No response
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

//assign

/assign

#939
#939.zip


Update AWS CloudFront Deployment to use S3 website hosting endpoint

See https://github.com/withastro/docs/issues/5193 for details

Just wanted to say, thank you for reopening this! I'm hoping that we can get a reviewer on this soon, thanks for your patience!  :raised_hands:

Hi @marvin-j97 ! Just wondering whether you had seen that you have review comments here, and check that you are still interested in working on this!

Hi @marvin-j97 ! Just wondering whether you had seen that you have review comments here, and check that you are still interested in working on this!

Yes, I just need to rerun some steps to see what applies.

Alright, I applied all suggestions.

Went ahead and removed another section since s3 already handles redirections.

I'm happy with this when Kevin is happy!


render selected plot for export offscreen

This pull request addresses the issue where exporting figure widgets not rendered to screen fails by:

rendering the selected plugin plot offscreen
ensuring the plot's plugin is considered active when clicking the export button
giving a small amount of time to ensure that the plot can update (but this is hardcoded and may not always be sufficient)

This "solution" still will not catch the case where the API is used to export a plot, but that same issue is known for the viewer plots as well and was present in the original export plot plugin.

I don't know if this is a problem per se, but the highlight around an aperture will flash when exporting since the plugin is briefly active.

Hmmm, good point.  We could eventually make as_active more fine-grained to update plots but not show the indicators, or we could instead filter on active plugins instead of forcing it to be active when exporting.  But for now, this might be the easiest path forward with the least downsides?  I'll let you decide - and we can file follow-up tickets to refine anything remaining.

I think filtering on active plugins would be very confusing. I personally think it fine to merge this as a fix, since the plugin is only very briefly active and it doesn't actually impact anything, and follow up with some fine tuning to make it more seamless.


RuleForEach.SetValidator does not support AbstractValidator

System Details

FluentValidation version: 8.2.0
Web Framework version: ASP.NET Core 2.1

Issue Description
I need to validate a collection of complex child objects on my object. I have created an AbstractValidator for each child, expecting to be able to use it in the Rule chain.
RuleForEach.SetValidator does not support AbstractValidator. The documentation leads me to believe it should. Presently it will only support PropertyValidator.
RuleForEach(x => x.Assets).SetValidator(new MyAssetValidator(myService));
Am I missing something?

Hi, RuleForEach.SetValidator definitely does support AbstractValidator.
What error are you seeing?

My bad - It was a problem with generics. It seems you can't run a validator on an interface. Is there some way to achieve what I'm trying to do?
The error is
"cannon convert from 'ContactValidator' to 'FluentValidation.Validators.IPropertyValidator' but I suspect that is the error from the first overload.
`public class Person
{
public Address Address { get; set; }
public IList Contacts { get; set; }
}
public interface IContact
{
string Value { get; }
}
public class Address {}
public class Contact : IContact
{
public string Value { get; set; }
}
public class PersonValidator : AbstractValidator
{
public PersonValidator()
{
RuleFor(p => p.Address)
.SetValidator(new AddressValidator());
    RuleForEach(p => p.Contacts)
        .SetValidator(new ContactValidator());
}

}
public class AddressValidator : AbstractValidator { }
public class ContactValidator : AbstractValidator { }`

That's correct - the compiler won't allow that as the types don't match. Either your proprety would need to be defined as IList<Contact>, or your validator would need to be defined as AbstractValidator<IContact>.
(Just a tip, github uses 3 backticks to format code blocks: https://help.github.com/en/articles/creating-and-highlighting-code-blocks)

That's a shame... as I need to validate against different types of IContact (Email, Phone, Skype etc.) If I make the AbstractValidator I will need to re-cast it to the implementation. I'll be doing this to determine the correct validator as well.
(You saw me struggling with the code formatting - thanks for the tip!)

Just to explain further, validators are contravariant in T (the interface is defined a IValidator<in T>), so you if your property is defined as IList<Contact> and your validator is defined as AbstractValidator<IContact> then this would work (even though the types aren't exact) because the variance allows a validator for the interface to be used against a concrete type that implements that intreface (which is perfectly safe), but what you're trying to do is the opposite, which the compiler (correctly) won't allow, as its possible that not all items in the collection will be of type concrete Contact type.
So as this can't be handled at a compiler level it must be done at runtime. You need to be making a decision at runtime to select which validator you want to use based on the type of each element in the collection. There's a few ways to do this:
Use OfType in your rule definition
RuleForEach(p => p.Contacts.OfType<Contact>())
	.SetValidator(new ContactValidator());

RuleForEach(p => p.Contacts.OfType<Email>())
	.SetValidator(new EmailValidator());

This is simple, but is expensive as method calls inside RuleFor/RuleForEach can't be cached, so it makes validator instantiation much slower. This may or may not be an issue for you.
Implement a Polymorphic child validator
You can create a custom property validator that inspects the type of the current item being validated and picks the appropriate validator to use. The property validator would be defined like this:
public class PolymorphicValidator<TInterface> : ChildValidatorAdaptor {
	Dictionary<Type, IValidator> _derivedValidators = new Dictionary<Type, IValidator>();

	// Need the base constructor call, even though we're just passing null.
	public PolymorphicValidator() : base((IValidator)null, typeof(IValidator<TInterface>)) {
	}

	public PolymorphicValidator<TInterface> Add<TDerived>(IValidator<TDerived> derivedValidator) where TDerived : TInterface {
		_derivedValidators[typeof(TDerived)] = derivedValidator;
		return this;
	}

	public override IValidator GetValidator(PropertyValidatorContext context) {
		// bail out if the current item is null
		if (context.PropertyValue == null) return null;

		if (_derivedValidators.TryGetValue(context.PropertyValue.GetType(), out var derivedValidator)) {
			return derivedValidator;
		}

		return null;
	}
}

You'd then use it like this:
RuleForEach(p => p.Contacts).SetValidator(new PolymorphicValidator<IContact>()
	.Add<Contact>(new ContactValidator())
	.Add<Email>(new EmailValidator())
);

(This is untested, but hopefully illustrates the point!)

Perfect. You've helped fill a gap in my knowledge and fix my issue.
Thank you so much for your feedback


[leveragelp]: fix new add collateral flow

@avkr003 would you suggest any other test to be created that confirms this use case?

@cryptokage1996 could you query the newly created position id 267440 and share the result of the query here thanks


Button overFrame parameter not working properly in 2.4.8

Since version 2.4.8 the overFrame parameter for button spritesheets is not working properly. Parameters for outFrame and downFrame are still working as intended.
You can easily reproduce this behaviour on the Phaser.io button examples:
http://phaser.io/examples/v2/buttons/action-on-click
Here, the 2nd spritesheet frame for the overFrame parameter is being ignored:
button = game.add.button(game.world.centerX - 95, 400, 'button', actionOnClick, this, 2, 1, 0);
It's not working for version 2.4.8, but if you switch to 2.4.7 everything is just fine.

Thanks for spending time reporting this issue. However we've already fixed this in the dev branch of Phaser, and it will be part of the next official release. You can track what's already been fixed by looking at the Change Log part of the dev README file.


[Feature]: allow encodedFeatures query param

What
I'm working on a tool that is functionally very similar to @babel/preset-env in that it inspects the AST of your JavaScript code and finds all the features that are being used that potentially need to be polyfilled. The tool then automatically generates a Polyfill.io URL for you to insert as a script tag in your document.
In large projects, these URLs can get quite long (because they include several polyfills) and in some cases, they can get longer than is allowed by Internet Explorer (2082 chars).
In these extreme cases where the URL is very long, I'd like to gzip and then url-safe base64 encode the features list to shorten the length of the URL.
I'm thinking it would make sense for users to opt into this feature by including a encodedFeatures query param instead of the usual features query param.
In any case where the user has included the encodedFeatures query param, this service would need to decompress that value before it is passed to the polyfill-library.
Details
Here is an example of a really long URL (2113 chars):
https://polyfill.io/v3/polyfill.min.js?features=Array.from%2CArray.isArray%2CArray.prototype.%40%40iterator%2CArray.prototype.entries%2CArray.prototype.every%2CArray.prototype.fill%2CArray.prototype.filter%2CArray.prototype.find%2CArray.prototype.findIndex%2CArray.prototype.forEach%2CArray.prototype.includes%2CArray.prototype.indexOf%2CArray.prototype.keys%2CArray.prototype.lastIndexOf%2CArray.prototype.map%2CArray.prototype.reduce%2CArray.prototype.slice%2CArray.prototype.some%2CArray.prototype.values%2CArrayBuffer%2CBlob%2CCustomEvent%2CDOMTokenList.prototype.%40%40iterator%2CDataView%2CDate.now%2CDate.prototype.toISOString%2CDocumentFragment.prototype.append%2CElement%2CElement.prototype.after%2CElement.prototype.append%2CElement.prototype.before%2CElement.prototype.classList%2CElement.prototype.cloneNode%2CElement.prototype.matches%2CElement.prototype.placeholder%2CElement.prototype.remove%2CEvent%2CEventSource%2CFunction.prototype.bind%2CFunction.prototype.name%2CIntl%2CJSON%2CMap%2CMath.log10%2CMath.log2%2CMutationObserver%2CNode.prototype.contains%2CNodeList.prototype.%40%40iterator%2CNodeList.prototype.forEach%2CNumber.parseFloat%2CNumber.parseInt%2CObject.assign%2CObject.create%2CObject.defineProperties%2CObject.defineProperty%2CObject.entries%2CObject.freeze%2CObject.getOwnPropertyDescriptor%2CObject.getOwnPropertyNames%2CObject.getPrototypeOf%2CObject.isFrozen%2CObject.keys%2CObject.preventExtensions%2CObject.seal%2CObject.setPrototypeOf%2CObject.values%2CPromise%2CPromise.prototype.finally%2CSet%2CString.prototype.%40%40iterator%2CString.prototype.includes%2CString.prototype.trim%2CSymbol%2CSymbol.isConcatSpreadable%2CSymbol.iterator%2CSymbol.species%2CSymbol.toPrimitive%2CSymbol.toStringTag%2CUint8Array%2CUint8ClampedArray%2CWeakMap%2CWeakSet%2CWebAnimations%2CXMLHttpRequest%2Cconsole.error%2Cconsole.info%2Cconsole.log%2Cconsole.trace%2Cconsole.warn%2Cdocument%2Cdocument.currentScript%2Cdocument.head%2Cdocument.querySelector%2Cfetch%2CgetComputedStyle%2ClocalStorage%2Clocation.origin%2CmatchMedia%2Cperformance.now%2CrequestAnimationFrame%2CsetImmediate&flags=gated

What I am proposing is that we optionally accept a URL like so (only 1053 chars):
https://polyfill.io/v3/polyfill.min.js?encodedFeatures=H4sIAAAAAAAAE31VbW_aMBD-Nf0aTdP-AGVhQypQFSb2rTqcS-I19mW2Q5v9-p2dQNziVELYzz13tu81C2Ogz6Rd-PXu6zKsGZXXbWlIXUFryJHrW8wEtf1RulrqBHn37Qv_pEMDjkxCAbUzEm2KOaPpE_JSNk1azLckCV2sdYFvM1xK3ICbEW-gTTBSi6Yrkm6UZHIQddKIH7UrE8wL9qmjVPLuBqxbzx5lSWFCfIamG57bFZKWpB2-eZfvGzrxsuysI5WfOTuMvu82B3pB_SBtgOAw0_TqtyQ6xUorA5UalT-Ioktbgy2GgH-iBO2okzc4HjnuYqVyyHWC-WAeUSfkXGCSEhxEO7qXYknjloo5W7I4Y1mAA4tpzqCic_rIKVAJrgGBNTXFTAAUOFGH1KauDNa-Wz0_pjesWQ22FjXoCq-ikrNkQ1uvOi2cJB1Hc2idBKMhlNzPw-bhkucRPkrhOoNTZtdcd8ZiOGF3smjOwauUOOdB0Q-cb_-hDzfg6gz4jfUVCLITcDAx4mTcZV_3LQXQOfhwt8_zu-mmHUhtR8bXyGfjbdupE5pss_j9vF-s8uf19pD_yJ8mRtqV1GwQS7y7FZpYtIUtw93pDweBHbSy0hMWBiGcMOICeY7ho6EWjRuGaYrpJ7mMdCp0u1d90dly8mysuDL0D6PLx9k0ouscYXslrX_UPtT7nse6rt7XHkKSaaHYOzBzXB7q7IaJRu4Nx71jxyK_4W5SdqPB2H_nfnFJHKRizoOnB_4_IrwMhed3g6NHPC20VKGM_GOO3BdhNvLxfpRyAVlqcNr5dGLw9iIQDYKJcCFj1FAVIalLiqCTCocAxRKGxdh5meiM4XUvjGxdTHDex0a09_3SD8AtvDetEfzJJbrw_WKDJam2c8j56oNLDQlo9hxHqC4wDAMysgqDI0yjDRYSGBj8y8XiruHi6R8utFzQGIz41sB4Ibq1Ut7S4X8N4JZFmwgAAA&flags=gated

One concern I have is that we'd be tied to a specific implementation of "URL safe" base64.
Additional information
In my testing, the decoding of these encoded values is very fast (under 1ms).
Here is some pseudo-code that shows what an implementation could look like:
// /server/lib/get-polyfill-parameters.js
"use strict";

const latestVersion = require("polyfill-library/package.json").version;
const featuresfromQueryParam = require("./features-from-query-parameter");
const { gunzipSync } = require('zlib');
const { unescape } = require("base64-url");

module.exports = function getPolyfillParameters(req = {}) {
	const query = req.query || {};
	const path = req.path || "";
	const { excludes = "", rum, unknown = "polyfill", version, callback, encodedFeatures } = query;
	const uaString = query.ua || (req.headers && req.headers["user-agent"]) || (typeof req.get === "function" && req.get("User-Agent")) || "";
	const compression = query.compression !== "identity" ? query.compression : undefined;

	let features = query.features || "default";
	if (query.encodedFeatures) {
		features = gunzipSync(
			Buffer.from(unescape(query.encodedFeatures), "base64")
    	).toString("utf8");
	}

	return {
		excludes: excludes ? excludes.split(",") : [],
		features: featuresfromQueryParam(features, query.flags),
		minify: path.endsWith(".min.js"),
		rum: Number.parseInt(rum, 10) === 1,
		stream: false,
		callback: /^[\w\.]+$/.test(callback || "") ? callback : false,
		unknown,
		uaString,
		version: version || latestVersion,
		compression
	};
};

I'm happy to open up a PR if the maintainers are open to this contribution.

Hi @nicksrandall, excellent idea with regards to detecting what features you are using, I attempted the same thing with a babel plugin, are you going to open source your work? I'd love to help with it.
I think we can avoid adding an encodedFeatures if we instead improve the system you have to use polyfill-library and figure out what polyfill sets could be used together to cover all the features that were detected.

Hi @JakeChampion. This project is not Open Source YET, but hopefully it will be soon. With regard to using "polyfill sets" are you referring to the "ES6", "ES7", ect. feature values? My fear there is that we'll be including more polyfills that we need.

That is what I am suggesting, yes, but only using a "polyfill set" if all the polyfills in the set are ones which are required by the application. E.G. We can make an Array polyfill set which contains all array methods and then if your application uses all the array methods, you would only need to add "Array" to the features query parameter.

@JakeChampion Hi, sorry I had to step away for a bit. I think what you're suggesting would work for 95% of use cases but there could still be a case where an application uses lots of different polyfills except one from every "set" and therefore could still run into the URL being too long.
My proposal would be a worst-case-scenario solution for when we've exhausted every other means that we could shorten the url (including your set proposal).
As I mentioned above, this can be implemented with a few lines of code and, IMO, does not add much complexity to the code base.

@nicksrandall Is your tool similar to this project? https://github.com/JakeChampion/js-features-analyser

@JakeChampion yes, very similar.
My version includes a babel plugin and a webpack plugin but it does not yet have a CLI (I didn't think of that).
We're using it internally at my company and will hopefully soon open source it.
That said, I'm happy to collaborate with you if you're open to it.

@nicksrandall, 100% open to collaboration :-)

@nicksrandall Have you found out how to correctly infer the instance method being used based upon the type of the object it is called on?
I.E.
function example (a, b) {
return a.includes(b);
}
example(new Uint16Array(10), 0)
should detect Uint16Array, Uint16Array.prototype, Uint16Array.prototype.includes and not Array.prototype.includes.

My approach copies the approach here: https://github.com/babel/babel/blob/master/packages/babel-preset-env/src/polyfills/corejs3/usage-plugin.js
We just detect the usage of .includes() method and add Array.includes and TypedArray.includes polyfill because it might be either of them.
We would even include the polyfill if neither item was an Array (ex someObj.includes())
It would be nice to make the logic smarter but we're not there yet. I figure it's better to over polyfill than under polyfill.

Also had an idea to generate polyfill.io URL based on used features, so glad to see some progress already made!
If there are any other unsolved problems, please share it, I might try to help.

Closing this issue as we won't be implementing an encoded features query parameter and there are now tools which can build a polyfill.io URL without requiring that feature.
If you think this issue should be reopened, please comment on it with your use case for the feature and if none of the above tools solve it


Changelog

Hey,
Sorry for the unsolicited advice, but would you consider maintaining a CHANGELOG.md so people can keep an eye on changes?
Keep a Changelog is a great format, which we use for League stuff.

Added in 1bb82a2


Get data from HDC COUNTRY=mozambique

This PR modifies the request to get data from the earth observation API (humanidatian data cube) instead of the static json file used for development.
How to test: Using mozambique country deployment.

Select the Rainfall Aggregate or NDVI layer and click on any district. the chart will be rendered after success response from api according to the chart configuration.

Notes: The boundary geojson file was changed with the purpose of including the administrative pcodes that the api requires

@JorgeMartinezG so no other countries are using this for now? Just making sure that this won't be breaking anything for other deployments

We are starting with Mozambique but the intention is to roll this out for
all deployments. But the boundary files need to be reviewed case by case
before we deploy this feature.
On Thu, Sep 29, 2022, 01:48 Eric Boucher @.***> wrote:

@JorgeMartinezG https://github.com/JorgeMartinezG so no other countries
are using this for now? Just making sure that this won't be breaking
anything for other deployments
—
Reply to this email directly, view it on GitHub
https://github.com/WFP-VAM/prism-app/pull/569#issuecomment-1261967407,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZQJMEMHTR7TLJEQ546D5TWAVJWRANCNFSM6AAAAAAQVXNNTE
.
You are receiving this because your review was requested.Message ID:
@.***>

@JorgeMartinezG - as mentioned, there are a few things to address:

Add a legend to the chart
Allow for configuration of labels in the chart; i.e. we want to be able to use 'rainfall amount' and 'average' instead of 'rfh' and 'rfh_avg'
I still get an error message when I click on an admin area for rainfall anomaly / NDVI anomaly: "Cannot read properties of undefined (reading '0')"

Please also make sure to get changes from this PR before attempting to merge as there are multiple config changes forthcoming for Mozambique. https://github.com/WFP-VAM/prism-app/pull/572

@JorgeMartinezG - it seems we're not correctly handling all four possible data layers with time-series data extraction available. This becomes visible when loading NDVI data, which is available up until 2022-11-09. But when I click on the chart, I see data until 2022-08-21, and the response shows data until 2022-01-09. Seems we're not getting the correct response, but also not plotting correctly? See screenshots below.
In addition, NDVI anomaly doesn't load at all.
Some additional nitpicking:

Reduce size of point for line charts.
Nice to have: allow for configuration of color for each data series

@wadhwamatic by making multiple requests, the api is always returning 2022-09-01 as most recent date: You can try by changing the end parameter within the request
https://api.earthobservation.vam.wfp.org/stats/admin/fetch?level=2&admin_id=1010614&coverage=full&vam=vim&start=2021-09-11&end=2022-12-31 gives

As the API is currently under development, we can't guarantee that the timesteps served through the API are in lockstep with what's published through OWS.
Currently the stats API serves until 2022-09-01 (which is specified in the API response) while OWS has data up to 2022-09-11.
Please note that specifying an end date is optional, if omitted you get the full range of the timeseries from the specified start date.

thanks for the clarifications @valpesendorfer!

One related thing: we're in the process of moving the API behind the WFP API gateway. I'd think that has a bearing on this PR.

@JorgeMartinezG - thanks for the changes to make chart styles more configurable. as mentioned yesterday, NDVI anomaly fails to load any chart data. See screenshot

@wadhwamatic pushed fix

thanks @JorgeMartinezG. looks good from my side. requesting a review from @ericboucher

Thanks @JorgeMartinezG, gtg!


Adding Year format name for RAI

Checklist

[x] I'm reporting a site feature request
[x] I've verified that I'm running youtube-dl version 2021.12.17
[x] I've searched the bugtracker for similar site feature requests including closed ones

Description

Hello, could we add a year format name at least for Rai. To use "%(title)s (%(year)s).%(ext)s" to get out filename in format MovieTitle (year).mp4.  After quickly scrolling through rai.py we could use the same json links to extract also year data and then use it to format files by it. It would be really useful for "Arrs" (Radarr, Sonarr) and other applications.

Use (eg) %(upload_date).4s, so "%(title)s (%(upload_date).4s).%(ext)s".
For the next 7977 years, anyway.

the result for (%(upload_date).4s) is (NA). Didn't dive deep in the rai.py yet since im not really a master of python. I've seen tho that the links .json file on RaiPlays end does have a movie release year info in it. And I would assume theres also one for series. Thanks for the tip tho it's a good start I assume, maybe something is missing in rai.py to get that info from the .json link

$ youtube-dl --get-filename -o '%(upload_date).4s' 'http://www.raisport.rai.it/dl/raiSport/media/rassegna-stampa-04a9f4bd-b563-40cf-82a6-aad3529cb4a9.html'
2014
$

Plainly if the site provides no date string (upload_date, release_date, not sure about any others), it can't be left-truncated to .4s`.
You can generate the JSON with -j and inspect with a JSON viewer or jq to see what is actually delivered for a particular video page.


Unlock subscription for people who live abroad

To become député, a person simply need to have all the rights of an électeur, which includes people with French nationality who live abroad.

phone number:

either you add a drop down with international phone prefixes, defaulting on +33
or you make it an open field, with only numbers, +, spaces, dots allowed to validate the form. Spaces and dots can (should) be removed before being recorded in the DB.

address: dropdown of country names, in French, defaulting to France

Are you sure ? When i ask ato add country in adresse form, you say me no.
If yes, I need to add country in adress form too. ok ?

Yes, but I forgotten French expats can vote, thus can be candidats.
Yes, please add a dropdown menu of country names, in French, defaulting to France.


Setting HMR to false does not disable websocket connection

Description
According to #6315 this is by design. But please consider this use case:

Developing/serving an app on my laptop with the vite command
Using Ngrok to serve it to an external device
Launch the Ngrok URL on the external device. App loads on the device.
Shut down Ngrok (or maybe my laptop falls a sleep which destroys the Ngrok session)
Vite's client notices the websocket disconnection and triggers a page reload
Ngrok's error page is shown due to the session having been destroyed

Suggested solution
I want to ensure that the app running on the external device does not get refreshed or navigated to another page because of the websocket connection being lost.
My first thought was just to simply disable hmr by setting it to false. This does not, as called out in #6315, prevent the websocket connection and this behavior.
I'd like some kind of setting that allows the complete disabling of the websocket. I understand that I won't be getting some features that vite provides, but in this case I choose to opt-out of those features, at least for these specific tests I'm running.
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Vite's client notices the websocket disconnection and triggers a page reload
Ngrok's error page is shown due to the session having been destroyed

IIUC this is happening because Ngrok is returning a response whether or not Vite is live.
Currently, Vite reloads when

WebSocket connection was at least once established.
After the WebSocket was disconnected, the HTTP request to the server had a response.

related code: https://github.com/vitejs/vite/blob/d5fe92cd2a0be2b8636e876a81a63921a808afb2/packages/vite/src/client/client.ts#L311-L333
So I think checking it by WebSocket instead of a normal HTTP request (#5675) will work.

Setting hmr: false doesn't disable websockets is expected as the connection is also used by Vite plugins for RPC calls. There were similar issues regarding this that was closed too, but for this specific case I think #5675 and #8861 should cover it. Closing for now.


html-xml-utils: 7.9 -> 8.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/html-xml-utils/versions.
meta.description for html-xml-utils is: "Utilities for manipulating HTML and XML files"
meta.homepage for html-xml-utils is: "http://www.w3.org/Tools/HTML-XML-utils/"
meta.changelog for html-xml-utils is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

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

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxaddid passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxcite passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxcount passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxextract passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxclean passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxcopy passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxprune passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxnsxml passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxprintlinks passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxincl passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxindex passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxmkbib passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxmultitoc passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxname2id passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxnormalize passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxnum passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxpipe passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxremove passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxselect passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxtabletrans passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxtoc passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxuncdata passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxunent passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxunpipe passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxunxmlns passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxwls passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxxmlns passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxref passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/xml2asc passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/asc2xml passed the binary check.

/nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin/hxcite-mkbib passed the binary check.

29 of 31 passed binary check by having a zero exit code.

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

found 8.0 with grep in /nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0

found 8.0 in filename of file in /nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0

directory tree listing: https://gist.github.com/f33281ee4da2e6c0a771f7419b842f3b

du listing: https://gist.github.com/ed3302f6d507cab5c8f19b18ea1332d9

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

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
html-xml-utils

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0
ls -la /nix/store/5jgsv9ic18xqz8qaicbrhgm6jyyxyy4w-html-xml-utils-8.0/bin

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

1 package built:

html-xml-utils

Maintainer pings

Result of nixpkgs-review pr 122788 at e8e999b2 run on x86_64-linux 1

1 package built successfully:

html-xml-utils

1 suggestion:

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/tools/text/xml/html-xml-utils/default.nix:14:3:
   |
14 |   meta = with lib; {
   |   ^


SVD bug

I have installed CUDA 10 on my destkop and everything works fine except for SVD. Here is the error, I get
 SVD_DeviceTypeKokkos_Compat_KokkosCudaWrapperNode_rank_deficient_UnitTest ...

 p=0: *** Caught standard std::exception of type 'std::runtime_error' :

  Kokkos::Impl::ParallelReduce< Cuda > requested too large team size.
  Traceback functionality not available

It seems the problem is not due to CUDA 10 but it appears with the latest master of Trilinos

This is the commit that introduces the assertion that fails: https://github.com/kokkos/kokkos/commit/a925976a4b7b04927789d13ccb4609a80f25b33c
@aprokop Would you please look at it when you get a chance?

Can somebody test kokkos/kokkos#1927

Can somebody test kokkos/kokkos#1927

Nah that's not it.
$ ctest -V -R SVD
UpdateCTestConfiguration  from :/gpfs/wolf/gen113/scratch/qdi/buid-dtk/DartConfiguration.tcl
Parse Config file:/gpfs/wolf/gen113/scratch/qdi/buid-dtk/DartConfiguration.tcl
 Add coverage exclude regular expressions.
SetCTestConfiguration:CMakeCommand:/autofs/nccsopen-svm1_sw/ascent/.swci/0-core/opt/spack/20180914/linux-rhel7-ppc64le/gcc-4.8.5/cmake-3.12.2-vltu2cerbdpbvzwpil2fvw4skvjmabfl/bin/cmake
UpdateCTestConfiguration  from :/gpfs/wolf/scratch/qdi/gen113/buid-dtk/DartConfiguration.tcl
Parse Config file:/gpfs/wolf/scratch/qdi/gen113/buid-dtk/DartConfiguration.tcl
Test project /gpfs/wolf/gen113/scratch/qdi/buid-dtk
Constructing a list of tests
Done constructing a list of tests
Updating test list for fixtures
Added 0 tests to meet fixture requirements
Checking test dependency graph...
Checking test dependency graph end
test 41
    Start 41: DataTransferKit_SVD_MPI_1

41: Test command: /opt/ibm/spectrum_mpi/jsm_pmix/bin/jsrun "-n" "1" "-a1" "-c5" "-bpacked:5" "-g1" "/gpfs/wolf/scratch/qdi/gen113/buid-dtk/DataTransferKit/packages/Meshfree/test/DataTransferKit_SVD.exe"
41: Test timeout computed to be: 1500
41: Teuchos::GlobalMPISession::GlobalMPISession(): started processor with name h49n04 and rank 0!
41: Kokkos::Cuda::initialize WARNING: Cuda is allocating into UVMSpace by defaultKokkos::OpenMP::initialize WARNING: OMP_PROC_BIND environment variable not set
41:   In general, for best performance with OpenMP 4.0 or better set OMP_PROC_BIND=spread and OMP_PLACES=threads
41:   For best performance with OpenMP 3.1 set OMP_PROC_BIND=true
41:   For unit testing set OMP_PROC_BIND=false
41:
41:                                   without setting CUDA_LAUNCH_BLOCKING=1.
41:                                   The code must call Cuda::fence() after each kernel
41:                                   or will likely crash when accessing data on the host.
41: Kokkos::Cuda::initialize WARNING: Cuda is allocating into UVMSpace by default
41:                                   without setting CUDA_MANAGED_FORCE_DEVICE_ALLOC=1 or
41:                                   setting CUDA_VISIBLE_DEVICES.
41:                                   This could on multi GPU systems lead to severe performance
41:                                   penalties.
41:
41: ***
41: *** Unit test suite ...
41: ***
41:
41:
41: Sorting tests by group name then by the order they were added ... (time = 0.000426)
41:
41: Running unit tests ...
41:
41: 0. SVD_DeviceTypeKokkos_Compat_KokkosCudaWrapperNode_full_rank_UnitTest ...
41:
41:  p=0: *** Caught standard std::exception of type 'std::runtime_error' :
41:
41:   Kokkos::Impl::ParallelReduce< Cuda > requested too large team size.
41:   Traceback functionality not available
41:
41:  [FAILED]  (0.0167 sec) SVD_DeviceTypeKokkos_Compat_KokkosCudaWrapperNode_full_rank_UnitTest
41:  Location: /gpfs/wolf/gen113/proj-shared/qdi/Trilinos/DataTransferKit/packages/Meshfree/test/tstSVD.cpp:67
41:
41: 1. SVD_DeviceTypeKokkos_Compat_KokkosCudaWrapperNode_rank_deficient_UnitTest ...
41:
41:  p=0: *** Caught standard std::exception of type 'std::runtime_error' :
41:
41:   Kokkos::Impl::ParallelReduce< Cuda > requested too large team size.
41:   Traceback functionality not available
41:
41:  [FAILED]  (0.0231 sec) SVD_DeviceTypeKokkos_Compat_KokkosCudaWrapperNode_rank_deficient_UnitTest
41:  Location: /gpfs/wolf/gen113/proj-shared/qdi/Trilinos/DataTransferKit/packages/Meshfree/test/tstSVD.cpp:98
41:
41: 2. SVD_DeviceTypeKokkos_Compat_KokkosOpenMPWrapperNode_full_rank_UnitTest ... [Passed] (0.236 sec)
41: 3. SVD_DeviceTypeKokkos_Compat_KokkosOpenMPWrapperNode_rank_deficient_UnitTest ... [Passed] (0.476 sec)
41: 4. SVD_DeviceTypeKokkos_Compat_KokkosSerialWrapperNode_full_rank_UnitTest ... [Passed] (0.638 sec)
41: 5. SVD_DeviceTypeKokkos_Compat_KokkosSerialWrapperNode_rank_deficient_UnitTest ... [Passed] (1.42 sec)
41:
41: The following tests FAILED:
41:     0. SVD_DeviceTypeKokkos_Compat_KokkosCudaWrapperNode_full_rank_UnitTest ...
41:     1. SVD_DeviceTypeKokkos_Compat_KokkosCudaWrapperNode_rank_deficient_UnitTest ...
41:
41: Total Time: 2.81 sec
41:
41: Summary: total = 6, run = 6, passed = 4, failed = 2
41:
41: End Result: TEST FAILED
1/1 Test #41: DataTransferKit_SVD_MPI_1 ........***Failed  Required regular expression not found.Regex=[End Result: TEST PASSED
]  4.75 sec

0% tests passed, 1 tests failed out of 1

Subproject Time Summary:
DataTransferKit    =   4.75 sec*proc (1 test)

Total Test time (real) =   4.78 sec

The following tests FAILED:
	 41 - DataTransferKit_SVD_MPI_1 (Failed)
Errors while running CTest

$ git rev-parse --short HEAD
5eca538a05

$ git diff
diff --git a/packages/kokkos/core/src/Cuda/Kokkos_Cuda_Parallel.hpp b/packages/kokkos/core/src/Cuda/Kokkos_Cuda_Parallel.hpp
index 2ae1cc0ddd..ae757bb67a 100644
--- a/packages/kokkos/core/src/Cuda/Kokkos_Cuda_Parallel.hpp
+++ b/packages/kokkos/core/src/Cuda/Kokkos_Cuda_Parallel.hpp
@@ -900,7 +900,12 @@ public:
   unsigned local_block_size( const FunctorType & f )
     {
       unsigned n = CudaTraits::WarpSize * 8 ;
-      while ( n && CudaTraits::SharedMemoryCapacity < cuda_single_inter_block_reduce_scan_shmem<false,FunctorType,WorkTag>( f , n ) ) { n >>= 1 ; }
+      int shmem_size = cuda_single_inter_block_reduce_scan_shmem<false,FunctorType,WorkTag>( f , n );
+      while ( (n && (CudaTraits::SharedMemoryCapacity < shmem_size)) ||
+          (n > Kokkos::Impl::cuda_get_max_block_size< ParallelReduce, LaunchBounds>( f , 1, shmem_size , 0 ))) {
+        n >>= 1 ;
+        shmem_size = cuda_single_inter_block_reduce_scan_shmem<false,FunctorType,WorkTag>( f , n );
+      }
       return n ;
     }

@@ -1124,7 +1129,12 @@ public:
   unsigned local_block_size( const FunctorType & f )
     {
       unsigned n = CudaTraits::WarpSize * 8 ;
-      while ( n && CudaTraits::SharedMemoryCapacity < cuda_single_inter_block_reduce_scan_shmem<false,FunctorType,WorkTag>( f , n ) ) { n >>= 1 ; }
+      int shmem_size = cuda_single_inter_block_reduce_scan_shmem<false,FunctorType,WorkTag>( f , n );
+      while ( (n && (CudaTraits::SharedMemoryCapacity < shmem_size)) ||
+          (n > Kokkos::Impl::cuda_get_max_block_size< ParallelReduce, LaunchBounds>( f , 1, shmem_size , 0 ))) {
+        n >>= 1 ;
+        shmem_size = cuda_single_inter_block_reduce_scan_shmem<false,FunctorType,WorkTag>( f , n );
+      }
       return n ;
     }

Hi, can we get reproducer guidelines, and possibly set up a cal to track this down? We recently tightened the conditions for getting block sizes for CUDA right. There were tons of places where you could silently non-executing code due to invalid launch parameters. We potentially did something wrong in the logic which excludes a previously working use case, in which case we need to fix that.


Did not apply - none of the PowerShell commands not recognized

Powershell responded to every query with: [command] is not recognized as the name of a cmdlet, function,
script file, or operable program.

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

ID: cc0555a1-2410-5679-03f3-e5768a1dc9cd
Version Independent ID: e3d2444e-22f6-f697-03a4-9edb8226b72e
Content: View Microsoft 365 licenses and services with PowerShell - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/view-licenses-and-services-with-microsoft-365-powershell.md
Service: microsoft-365-enterprise
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@mtnmann9 Thank you for your feedback. I'm able to test all the commands without any issues. Hope you are connecting to module before running the cmdlet. If you continue to have problems, I'd recommend you contacting support via the need help section on the admin center, so that our support engineer can help you out.
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @mtnmann9 Hope this comment is helpful for you. Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. You can contact Microsoft support via the need help section on the admin center. We proceed to close it as here we are limited to documentation fixes and improvements only.
We will be very happy if you can share the outcome or resolution with us if you see documentation update is required. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Bring code from the todo original project

this PR contains a big chunk of code of the [original Todo App] (https://github.com/chawkimbarki/Todo)
Please review the code and let me know if you have any feedback or suggestions. Thank you for your time and attention. 😊

Thanks for the review @sahlminkok , I really appreciate it 🖤 .


React Beautiful DND v. 12.0.0

Add support for React Beautiful DND v. 12.0.0  https://github.com/atlassian/react-beautiful-dnd/releases/tag/v12.0.0
For most people: you can safely upgrade to 12.0! 🎉 If you are doing any of the following then you will need to change some things. This is just a super quick reference to see if you can upgrade safely.

We have renamed our data-* attributes. So if you were using them (perhaps in a test), then things will break for you

This appears to fix it in my tests, but it would be good to add some tests around this...

I released this change as next (3.0.0-rc-0). I've installed it along with react-beautiful-dnd v12.0.0 inreact-beautiful-dnd-test-utils-example, but the tests don't pass. I'm looking at it. I agree with you on the tests; co-locating the two repos would help...

My bad; I forgot to build the dist before publishing. 🤦See v3.0.0-rc-1. My only suggestion would be to use the data attributes for lookups vs. those used for shared global styles:
DroppableProps:
  // used for shared global styles
'data-rbd-droppable-context-id': ContextId,
// Used to lookup
 'data-rbd-droppable-id': DroppableId,

DraggableProps:
// used for shared global styles
'data-rbd-draggable-context-id': string,
// used for lookups
'data-rbd-draggable-id': string,

Thanks again for contributing!

Good callout.  Updated with the change.

Released v3.0.0. 🚢


Import no longer possible with 1.5.5

Hi,
I'm not sure how to debug this but it's no longer possible to import the reporter module with 1.5.5:

If I downgrade to 1.5.3 (1.5.4 was not published to npm) it works again.
I'm using VSCode and TypeScript 5.0.4.

@z0n can you try
<EMAIL_ADDRESS>

It works, thank you!

<EMAIL_ADDRESS>


🧭 Finished the layout of Navbar

Finished setup of Routing
Finished setup of Navbar
Setup the drawer menu on smaller screen sizes
Finished setup of theme (Temporary color palette)

Hacktoberfest Thank You from NIT Rourkela community
It was a super fun experience in Hacktoberfest with you. We hope you also had fun and amazing learning. We look forward to you in our upcoming sessions and events as part of the community.
You can join our Slack community at http://bit.ly/NITRDevs
As a token of our gratitude, we have set up digital badges of recognition for our contributors from Hacktoberfest.
Do claim yours at https://live.dscnitrourkela.org/
Thanks and Cheers!
Stay Safe


fix(android): Consider double and int separately

Fixes #2

:rocket: This pull request is included in v0.2.7. See Release 0.2.7 for release notes.


Downloading duplicates?

So I watch it download for a bit and going through the lesson it download like part 1, part 2, part 3, part 4 then another copy of part 3, part 5, part 6, then another copy of part 5? Then it goes to part 7 but after that download part 6 again. It's really weird.

I stopped everything and restart the whole download to check, first it downloading stuff kinda randomly. So lesson 2 had 11 parts it dl like part 9, 10, 11 super early after part 2 then once it got to like part 8 it suddenly started downloading lesson 3 stuff before coming back to finish lesson 2 which ended up with duplicate for part 9, 10, 11.
And now for lesson 3 and 4 there just duplicate for every video. This is slowly down the download speed greatly since there wait for each download and its downloading  things twice.

@RexZShadow I think you might have clicked the download all option multiple times, so it started downloading the same course multiple times, hence downloading the duplicates of videos in the course. Can you confirm if this is the case for you or not?

I'm reporting here because I believe the issue I faced somehow could be related to @RexZShadow's.
Context: Having 8 courses queued

The first 3 courses downloaded successfully while I wasn't touching the extension

At some point I notice that the Wait time was too high (almost 8min) then I clicked the 'Download Current'

BUT... the current video being downloaded (by the extension) wasn't the one which was paused in the video player

Then (lets say) a new thread started the one that was going on since the beginning and the new one that started to download the video that was loaded in the player (activated by Download Current button)

The main issue: 'Download Current' action doesn't download only the current video loaded in the player at the moment, it keeps downloading the subsequent videos.

Within that scenario when I had 2 threads downloading files, I observed a potential issue regarding the last videos of the course sessions or (perhaps) only the latest video of the course. I'm no so sure and wasn't motivated to reproduce since it mess your files organization. Even though I believe it's still valid to point out here.


Added sqlite database to the Login system of [Login System Architecture Folder]

#89
GSSOC23
Description Of BUG:
Login System Architecture Folder files needed to be implemented with database[sqlite3 or Mysql] and this folder can be restructured and needed an improvement in UI.
I found that in the folder Login System Architecture the files Final Page Navigation.py , Login Form Database.py & Login Form.py are using .txt file to store login details. sqlite3 or MySQL database is needed to be implemented to store the data to keep it safe & a proper folder structure is needed for this module to store static files[images and logos]..
And additionally, UI and UX improvements can be made in these files...
I hope to Contribute to this issues..!
Problem Fixed

firstly refactored the structure of the folder , made a separate image to store images.
made all the code in a simple file using toplevel, instead of using different useless files.
replaced the .txt file, and used SQLite database to store all the files.
Modified the readme file also.
Mainly implemented SQLite database for signup and login, with validation that no 2 user can have the same username.

Folder Structure

Database Design

@bishalde Raise the PR again in the test branch too

@Pranjal360Agarwal check i created a PR for Test branch also.!


Move curation code to new repo

Follow up to Add curation modules #41
Our goal is to transfer the curation of training data code to the new repository. This includes:

[x] Add the code to the repo
[x] Add tests for the code
[ ] Add API endpoint to current api
[x] Add a demo on how to use it
[x] Add a description on how to use the curation

Once PR is merged the curation will be added.
As for API endpoints, we are no longer doing that for curation as discussed.


Add Dogpile support

I'm submitting a ...

[ ] bug report
[x] feature request

Current behavior:

Expected behavior:

Add support for Dogpile
Steps to reproduce:
Yes, I would like to work on this issue

Dogpile is a meta search engine itself and provides results from engines we already cover.

Dogpile is a metasearch engine for information on the World Wide Web that fetches results from Google, Yahoo!, and Yandex, and includes results from several other popular search engines

Therefore closing it.


Remove CryptoSwift dependency

Actually, any maintainers want to discuss doing this?
CryptoSwift turns out to be the slowest-compiling library in my project, and XCLogParser is the only dependency I have that imports it:
xcodebuild -scheme Visualize -project Visualize.xcodeproj clean build OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies" | grep '.[0-9]ms' | sort -nr | tee slow-functions.txt | grep 'CryptoSwift'

Removing CryptoSwift reduces my project's clean build time from 60 seconds to 48 seconds. This seems like a nice win.
The downside to my approach is that it bumps the minimum macOS requirement from 10.13 to 10.15. This is fine for my fork, but I'm not sure if that's acceptable for this upstream.


chore: add release tag "v12"

...in order to not accidentally tag a maintenance release of Hops 12 as latest.

Bors merge bot cheat sheet
We are using bors-ng to automate merging of our pull requests. The following table provides a summary of commands that are available to reviewers (members of this repository with push access) and delegates (in case of bors delegate+ or bors delegate=[list]).

Syntax
Description

bors merge
Run the test suite and push to master if it passes. Short for "reviewed: looks good."

bors merge-
Cancel an r+, r=, merge, or merge=

bors try
Run the test suite without pushing to master.

bors try-
Cancel a try

bors delegate+
Allow the pull request author to merge their changes.

bors delegate=[list]
Allow the listed users to r+ this pull request's changes.

bors retry
Run the previous command a second time.

This is a short collection of opinionated commands. For a full list of the commands read the bors reference.

bors merge

bors merge

bors merge-

Manually picked onto v13.x because ain't nobody got time for this!


Mutant still survive although test failed

Question
Hello everyone, this is my first question so if i make any mistake, pls let me know. Peace
Back to the question, can s.o explain for me why this mutant keep survived although when i try that mutant to the code itself, the test is failed.
My repo: https://github.com/AkiraNoob/kiem_chung
Test case:
    describe('Given valid payload', () => {
      const spyedRefreshCreate = jest.spyOn(RefreshTokenModel, 'create');
      const spyedRefreshDelete = jest.spyOn(RefreshTokenModel, 'deleteMany');
      const spyedFindUser = jest.spyOn(UserModel, 'findOne');
      const spyedBcryptCompare = jest.spyOn(bcryptCommon, 'bcryptCompareSync');
      it('should return statusCode 200 and data should contain {token, refreshToken} and message is "Login successfully"', async () => {
        const data = {
          token: {
            token: expect.any(String),
            expires: expect.any(String),
          },
          refreshToken: {
            token: expect.any(String),
            expires: expect.any(String),
          },
        };

        await expect(authService.loginWithEmailAndPassword(mockLocalLoginPayload)).resolves.toStrictEqual({
          statusCode: EHttpStatus.OK,
          data,
          message: expect.stringMatching('Login successfully'),
        });

        expect(spyedBcryptCompare).toHaveBeenCalledWith(mockLocalLoginPayload.password, expect.any(String));
        expect(spyedBcryptCompare).toHaveReturnedWith(true);

        expect(spyedFindUser).toHaveBeenCalledWith({
          email: expect.any(String),
        });

        expect(spyedRefreshDelete).toHaveBeenCalledWith({
          userId: expect.any(mongoose.Types.ObjectId),
        });

        return expect(spyedRefreshCreate).toHaveBeenCalledWith({
          userId: expect.any(mongoose.Types.ObjectId),
          refreshToken: expect.any(String),
          expiredAt: expect.any(String),
        });
      });
    });

service:
loginWithEmailAndPassword: async (
    reqBody: TLocalLoginPayload,
  ): Promise<TServiceResponseType<{ token: TReturnJWTType; refreshToken: TReturnJWTType }>> => {
    const user = await UserModel.findOne({ email: reqBody.email }).select('+password');

    if (!user) {
      throw new AppError(EHttpStatus.BAD_REQUEST, 'Wrong email');
    }

    if (!bcryptCompareSync(reqBody.password, user.password)) {
      throw new AppError(EHttpStatus.BAD_REQUEST, 'Wrong password');
    }

    const userData = {
      id: user._id.toString(),
      email: user.email,
      fullName: user.fullName,
    };

    const token = signJWT(userData);
    const refreshToken = signRefreshJWT(userData);

    await RefreshTokenModel.deleteMany({ userId: new mongoose.Types.ObjectId(userData.id) });

    await RefreshTokenModel.create({
      userId: user._id,
      refreshToken: refreshToken.token,
      expiredAt: refreshToken.expires,
    });

    return {
      data: {
        token,
        refreshToken,
      },
      statusCode: EHttpStatus.OK,
      message: 'Login successfully',
    };
  },

mutant
- await RefreshTokenModel.deleteMany({ userId: new mongoose.Types.ObjectId(userData.id) });
+ await RefreshTokenModel.deleteMany({})

Stryker environment

+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>

<EMAIL_ADDRESS><EMAIL_ADDRESS>
Additional context
my stryker config:
{
  "$schema"<EMAIL_ADDRESS>  "_comment": "This config was generated using 'stryker init'. Please take a look at: https://stryker-mutator.io/docs/stryker-js/configuration/ for more information.",
  "packageManager": "npm",
  "reporters": ["html", "progress"],
  "testRunner": "jest",
  "testRunner_comment": "Take a look at (missing 'homepage' URL in package.json) for information about the jest plugin.",
  "coverageAnalysis": "perTest",
  "mutate": ["src/**"],
  "ignoreStatic": true,
  "checkers": ["typescript"],
  "tsconfigFile": "tsconfig.json",
  "typescriptChecker": {
    "prioritizePerformanceOverAccuracy": false
  }
}

my jest config
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
  preset: 'ts-jest',
  testEnvironment: 'node',
  testMatch: ['**/**/*.test.ts'],
  forceExit: true,
  verbose: true,
  clearMocks: true,
  setupFiles: ['<rootDir>/.jest/setEnv.ts'],
  coverageDirectory: 'reports/coverage',
  testTimeout: 5000,
};

Also node that i currently use node 18.18.2

Hi @AkiraNoob , thanks for opening this issue. I'll have a look at your source code and try to figure out what is happening.

So far there is one thing that has caught my attention, when i run Stryker with the change that should let a test fail. The initial test run fails. This means that the problem is not with finding the test. Besides that i don't know what's going wrong here. @nicojs do you have a clue?

I think i've found the issue. Your tests seem to share state.
This change:
--- a/server/src/api/service/auth.service.ts
+++ b/server/src/api/service/auth.service.ts
@@ -68,7 +68,7 @@ const authService = {
       fullName: verifiedRefreshToken.fullName,
     };

-    await RefreshTokenModel.deleteMany({ userId: new mongoose.Types.ObjectId(userData.id) });
+    await RefreshTokenModel.deleteMany({});

Makes your tests fail when you run them all serially (the test 'Given valid payload should return statusCode 200 and data should contain {token, refreshToken} and message is "Login successfully"' fails), but the failing test  passes when you focus it:
--- a/server/__test__/api/service/auth.service.test.ts
+++ b/server/__test__/api/service/auth.service.test.ts
@@ -55,7 +55,7 @@ describe('Testing auth service', () => {
       const spyedRefreshDelete = jest.spyOn(RefreshTokenModel, 'deleteMany');
       const spyedFindUser = jest.spyOn(UserModel, 'findOne');
       const spyedBcryptCompare = jest.spyOn(bcryptCommon, 'bcryptCompareSync');
-      it('should return statusCode 200 and data should contain {token, refreshToken} and message is "Login successfully"', async () => {
+      it.only('should return statusCode 200 and data should contain {token, refreshToken} and message is "Login successfully"', async () => {

Focussing tests is what StrykerJS does when you set coverageAnalysis to "perTest".
I would suggest making your unit test independent of each other. You can do this by removing the global state, and instead initialing variables inside beforeEach hooks.
For example:
--- a/server/__test__/api/service/auth.service.test.ts
+++ b/server/__test__/api/service/auth.service.test.ts
@@ -11,20 +11,26 @@ import UserModel from '../../../src/model/user';
 import { TLocalLoginPayload, TRegisterPayload } from '../../../src/types/api/auth.types';
 import { TUserSchema } from '../../../src/types/schema/user.schema.types';

-const userPayload: TUserSchema = {
-  email<EMAIL_ADDRESS>-  password: bcryptCommon.bcryptHashSync('Tester@001'),
-  fullName: 'Tester 001',
-  avatar: 's3_img_string',
-  dateOfBirth: new Date(),
-};
-
-const mockRegisterPayload: TRegisterPayload = {
-  ...omit(userPayload, ['avatar', 'dateOfBirth']),
-  password: 'Tester@001',
-};
-
-const mockLocalLoginPayload: TLocalLoginPayload = omit(mockRegisterPayload, 'fullName');
+let userPayload: TUserSchema;
+let mockRegisterPayload: TRegisterPayload;
+let mockLocalLoginPayload: TLocalLoginPayload;
+
+beforeEach(() => {
+  userPayload = {
+    email<EMAIL_ADDRESS>+    password: bcryptCommon.bcryptHashSync('Tester@001'),
+    fullName: 'Tester 001',
+    avatar: 's3_img_string',
+    dateOfBirth: new Date(),
+  };
+
+  mockRegisterPayload = {
+    ...omit(userPayload, ['avatar', 'dateOfBirth']),
+    password: 'Tester@001',
+  };
+
+  mockLocalLoginPayload = omit(mockRegisterPayload, 'fullName');
+});

thanks @nicojs and @odinvanderlinden for help me out, i really appriciate it! Seem like that is the reason

sorry for re-open this issue but somehow i think it not solves my case, i provide a brief version of my code:

`
const generateMockPayload = () => {
const userPayload: TUserSchema = {
email<EMAIL_ADDRESS>password: bcryptCommon.bcryptHashSync('Tester@001'),
fullName: 'Tester 001',
avatar: 's3_img_string',
dateOfBirth: new Date(),
};
const mockRegisterPayload: TRegisterPayload = {
...omit(userPayload, ['avatar', 'dateOfBirth']),
password: 'Tester@001',
};
const mockLocalLoginPayload: TLocalLoginPayload = omit(mockRegisterPayload, 'fullName');
return {
userPayload,
mockRegisterPayload,
mockLocalLoginPayload,
};
};
describe('Testing auth service', () => {
beforeAll(async () => {
const mongoServer = await MongoMemoryServer.create();
await mongoose.connect(mongoServer.getUri());
});
afterAll(async () => {
await mongoose.disconnect();
await mongoose.connection.close();
});
beforeEach(() => {
jest.clearAllMocks();
});
describe('Register service', () => {
afterAll(async () => {
const { userPayload } = generateMockPayload();
  await UserModel.deleteMany({ email: userPayload.email });
});

describe('Given valid payload', () => {
  it('should return statusCode 200 and data is null and message is "Register successfully"', async () => {
    const { mockRegisterPayload } = generateMockPayload();

    const spyedUserModelCreate = jest.spyOn(UserModel, 'create');
    const resolveData = {
      statusCode: EHttpStatus.OK,
      data: null,
      message: expect.stringMatching('Register successfully'),
    };

    await expect(authService.register(mockRegisterPayload)).resolves.toStrictEqual(resolveData);
    return expect(spyedUserModelCreate).toHaveBeenCalledWith({
      ...mockRegisterPayload,
      password: expect.any(String),
    });
  });
});

});
});
`

i belive that if it runs to return statement, it means that API is resolves successfully and MUST return message in image

Sorry for my mistake, i try research more and try some approaches: #2989 #3068 and trouble shooting but my issue still occurs. I have created an smaller repository to focus on a single unit here. You can see that if i run
bash
npm run mutation-test

1 mutant still survive but the test is failed (i try to isolate the testcase as suggest). Hope this repository will help to solve my issue

Sorry for my hurry but any update on this?

Hi @AkiraNoob sorry for the late response, I haven't had a lot of time to work on Stryker lately. I have taken a look at your new repository. And it seems that you still make use of shared state. For every single test you should clear your in memory database. This is not the case right now. For instance the after all method where you clear the user should be a AfterEacht method to make sure you start every test with a clean sheet. I hope this helps!


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 90 ms

Resolved: ClamAV performance has improved in 631384f.


Unexpected 'az iot hub show' error for resource not found

$ az iot hub show -g dsdfgfh -n fgfghgfh
Operation returned an invalid status code 'Not Found'

Executing the same command with --debug, I get this output.
msrest.http_logger : Response status: 404
msrest.http_logger : Response content:
msrest.http_logger : {"error":{"code":"ResourceGroupNotFound","message":"Resource group 'dsdfgfh' could not be found."}}
msrest.exceptions : Operation returned an invalid status code 'Not Found'

The 404 response is not interpreted correctly as 404 should be a valid code.

still exists in 2.20

Sorry, what is the expected behavior here?

Created item to fix targeting October this year
https://msazure.visualstudio.com/One/_workitems/edit/4979086


Added info about EC2 Reserved Instance Types

also added links about 'selling' back via the AWS Reserved Instance Marketplace.

done

nothing else for me to do here, right?

@lynnlangit not from my end - we aren't requiring fixes for small nitpicky style details anymore (like using em dash) - I try to put "non-blocking" in the description to show this.
I have handed this PR off to @max-zanko for topic review - it is possible that he'll request "content-specific" changes.

Thanks @lynnlangit!


The End world spawn is not safe

I have The End disabled in bukkit. I use multiverse to generate The End world and players use a special dungeon to get to the portal for The End world entrance.
Recently in one of the bukkit builds has broke teleporting to the multiverse generated The End world. Any time you try to use the portal it says spawn is not safe. I use the bypass and force spawn and it will teleport me to 0, 0, 0 location and fall to the void regardless what setspawn is in the config. I have even tried turning off adjustspawn but still happens.
Using bukkit 1.4.7 R1
Multivers-core 654
Multiverse-signportals 643

This is no longer the case.


[Bug]: Hitbox issues #12

👉 Checklist

Please make sure to check off the following before submitting:

[x] I have reviewed my submission thoroughly.
[x] I have tested my code (if submission is related to coding) and run the game before pushing (to make sure the project compile).
[ ] I have run the JUnit tests (if submission is related to coding).
[x] I have read the Code of Conduct and Contribution Guidelines.

✍ Description of the Pull Request

Please concisely describe the changes you have made.

I cropped the image of the enemy projectile so the hitbox issue would be resolved and changed the size of the enemyProjectile's texture because the image is now smaller.

🔗 Issue link

Issue reference number and link goes here e.g. 'Fixes #<issue_number>'.

[x] This Pull Request fixes the issue #12
[ ] This Pull Request does not fix an issue.

Thanks for taking the time to fill out this Pull Request! ❤ Thanks for contributing to this project 🦖

Thank you !


Fix Tid.toString().

The previous behavior generated a string that was different for every copy of the same Tid. With this change it outputs the address of the unique MessageBox instance instead.

Makes a lot more sense than the old behaviour. This can be unit tested by comparing the toString result of two copies of the same Tid. Otherwise LGTM.

Added unit test.

Auto-merge toggled on


[BUG]

Description
The "Sign Up with Google" functionality on the registration page is not working as expected. Users are unable to complete the registration process using their Google accounts. The issue seems to occur upon clicking the "Sign Up with Google" button, as it doesn't redirect or process the sign-up correctly. This issue needs to be investigated to ensure smooth user onboarding using Google authentication.
Screenshots

Any additional information?
Expected Behavior:
After clicking the "Sign Up with Google" button, the user should be redirected to Google’s sign-in page. Upon successful authentication, the user should be registered and redirected back to the app with their account details.
Actual Behavior:
Upon clicking the "Sign Up with Google" button, there is no response or redirection, preventing the user from completing registration with their Google account.
Possible Causes:
Google authentication is not properly configured in the app.
API keys for Google OAuth may be missing or incorrectly set up.
Issues with the Google authentication library or SDK.
Network issues or browser-specific problems affecting Google sign-in.
What browser are you seeing the problem on?
No response
Checklist

[X] I have starred the repository
[X] I have checked the existing issues
[X] I have read the discussion tab thoroughly and got the project idea
[X] I am willing to work on this issue (optional)

hy pls assign this issue to me

@Kritika30032002 this issue is still not resolved.


changed encrypted travis password for deploy

Hello @mikkokotila! Thanks for submitting the PR.

In the file talos/examples/datasets.py, following are the PEP8 issues :

Line 6:80: E501 line too long (88 > 79 characters)
Line 36:80: E501 line too long (83 > 79 characters)
Line 63:80: E501 line too long (84 > 79 characters)


Add WSL (for Windows machines) to the rust-installation section

Add WSL installation instructions to Getting Started > Rust Installation documentation.

Hey team! Please add your planning poker estimate with ZenHub @guusw @Kryptos-FR @sinkingsugar

Converted a task from #228 as a standalone issue as this is a blocker for #226

PR #232


Select directive: the last option won't show somehow

hi,
this seems to be a bug for select directive
plunker demo:
1.2.6+ (bug)
1.2.5 works fine
it has something to do with select directive's update of 1.2.6
selectCtrl.addOption(option.label, element);

the bug disappears if I remove this change.
the above line is here

looks like a duplicate of #10161


Fixed next button positioning by setting fixed heights to titles/texts

Description
Fixes next button positioning (hopefully for the last time).
PLEASE review the branch deployment to test if it works for you.
Fixes #161
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Change Status

[x] Complete, tested, ready to review and merge

How Has This Been Tested?

[ ] Visual

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] There are no merge conflicts

tested on my iPhone using Chrome Browser & using Safari, both look good.