Dropdown needs two clicks to open

When upgrading from 0.10 to 0.11, drop-down menus started requiring two clicks in order to open (at least for nav-bar drop-down menus.) Removing data-toggle="dropdown" from the primary toggle element fixes the problem, but this is no longer the bootstrap-suggested syntax.
I suggest making a clear note of this in the documentation or make the dropdown directive compatible with the standard bootstrap syntax (like it was in 0.10.)

@Snede 's answer works for me.

Trying to upgrade from 0.10.0 to 0.11 or 0.12 whilst using Angular 1.3.
Haven't been able to get 0.12 to work at all.
Since 0.11.1 the parent element of dropdown-toggle expects a dropdown class/attribute. This is documented, but 0.10.0 worked without it.

Ahh I didn't properly read the breaking changes in the CHANGELOG for dropdowns in 0.12.x. only dropdown and dropdown-toggle attributes are accepted.

@sayyedi +1

@theoziran, please do not only add +1 to issues.  It does not add anything to the discussion and only clutters up the thread.  Thanks.

Although it solves the problem of not having to double-click, now the dropdown doesn't close when i select an element.

Confirmed! Adding 'data-disabled="true"' makes menu open on the first click, but in doesn't close

I solve it.
I had in application.js
//= require rails-ujs
//= require activestorage
//= require turbolinks
//= require jquery3
//= require autonumeric
//= require bootstrap
//= require popper
//= require bootstrap-sprockets
//= require_tree .
I remove require bootstrap leaving only bootstrap-sprockets


bug: remove references to yana1205 - replace with user preference

Describe the bug
references to old container are found in kubestellar-syncer doc.

Steps To Reproduce

got to https://docs.kubestellar.io/main/Coding Milestones/PoC2023q1/kubestellar-syncer/
scroll to the make 'How to build the image with multiple architectures and push it to Docker registry'
view references to using container image from private registry from Yana

Expected Behavior
references for containers should go to quay.io image we host
Additional Context
No response

marking invalid - this is just an example of how to build your own syncer


Use minlength/checkbox style question for signing under penalty of perjury

At line 231/ id: Signing under oath
---
id: affirmation and oath of no perjury
question: |
  Signing Under Oath
subquestion: |
  Your form must be signed "under penalties of perjury."
  This means that it can be a crime if you lie on this form.
fields:
  - no label: users[0].states_above_true
    datatype: checkboxes
    minlength: 1
    choices:
      - I promise that my answers on this form are the truth under penalties of perjury
    validation messages:
      minlength: |
        You cannot keep going unless you did your best to tell the truth.

is what we have in basic-questions currently (could be wordsmithed)

This what we have for 209A, we have explained under P of P earlier in the interview, I think. @kateleebarry ?


Drag tabs will cause Coder crashing with Chrome app mode in MacOS

code-server version: 1.1156-vsc1.33.1
OS Version: Ubuntu 18.04.2 LTS
Client Info: macOS 10.14.5 + Chrome 75.0.3770.100

Description
Drag the tabs in Coder (Chrome app mode) will cause the Coder crashing.
But if it is not in the Chrome app mode (normal tab in Chrome) or some tabs like Welcome or new file without saving, dragging will not cause crashes.
This problem does not appear in sshcode, which seems to directly open in the Chrome app mode.
Steps to Reproduce

Start code-server on the remote server.
Enter the address of the server locally into Chrome if not installed; otherwise, open the Coder Chrome app directly, then jump to 4.
Click the top right three-dot button in Chrome, then click Install Coder... if not installed before, or Open in Coder otherwise.
Open any remote file in the Coder, and try to drag that tab, the Coder will crash.

Dragging files in the file tree also crashes the whole app.
To create an app short cut I did:

Open the code server in Chrome
Three dot menu -> More tools -> Create shortcut (check open as window)
Dragging any file in file panel crashes immediately.

Same issue here

Same issue here

For me it also happen when trying to drag/move a file using the Explorer's sidebar. Instant crash. When not in "Chrome app mode", so when in a regular Chrome tab, it works without any issue. Must be a Chrome bug on MacOS....

Please avoid saying "Same issue here", just +1 this issue and we'll get it sorted.


Orchard.Setup - Blog setup recipe has broken Pages feature + other issues

The "blog" setup recipe contains a Page content type still but there is no BodyPart or LayoutPart:

I think it should have Orchard.Layouts woven in to its recipe.
Personally I think it should also include Content Definitions (Orchard.ContentTypes) on as default as you are likely going to want to mess around with your BlogPost content type as a blog site.
It will also want the Tripel widgets removing from the commands step.
The <Settings> section should be reviewed as well. Are they now redundant or should they be on the default setup recipe as well?

It should have the LayoutPart, like the core recipe.
If Default has Content Definitions then lets add it too.
And remove the widgets, maybe add some blog related ones instead, Archives, Tags, Recent Blog Post.
Don't change the settings.

Note for me: If ContentTypes is on then Orchard.Fields should be added to blog recipe as well.
Review other list of features for common sense ones missing.

I've fixed the recipe up. It looks pretty stupid but its got all the moving parts in place:

I think fixing the rest of the problems are separate issues to this one though:

Add create blogpost command
Add "empty data" view to all three sidebar widgets

I'll raise them separately.


Links are not usable in footnotes.

Links aren't functioning in the "class='footnote'" code. Is this intentional?
Additional Details
Brew code to reproduce : Click to expand
[yourtexthere](http://www.somelinkyouwant.com/)

Example?

http://homebrewery.naturalcrit.com/edit/B1ld4L2vXl
Not sure if that's what you're looking for, but also
</style>
[reddit](https://www.reddit.com/)

or
[reddit](https://www.reddit.com/)

Note to future self: Add a differing z-index to div.footnote and div.footnote::after

Fixed in v2.7.0


Same snapshot grouping separated with no files, dirs or size stats

I have a curious issue where my snapshots are separated into separate groups, even though they have the same host, label and path. Not sure if it is related but the files, dirs and size columns have a "?". I tried the usual repair index, repair snapshots, check, and prune but cannot seem to get them grouped. I believe these were originally created by restic. Is there any way to get these to group together? This is a minor example but I have other systems that have significant sized backups that I do not want to lose deduplication efficiency or skew retention.
I am using rustic v0.7.0-45-gfc8e3c5-nightly with minio S3 storage.
snapshots for (host [probox], label [home], paths [/home,/root])
| ID       | Time                | Host   | Label | Tags   | Paths | Files | Dirs |      Size |
|----------|---------------------|--------|-------|--------|-------|-------|------|-----------|
| 02f30608 | 2024-05-27 19:24:39 | probox | home  | home   | /home |  2606 |  217 | 196.6 MiB |
|          |                     |        |       | probox | /root |       |      |           |
1 snapshot(s)

snapshots for (host [probox], label [home], paths [/root,/home])
| ID       | Time                | Host   | Label | Tags     | Paths | Files | Dirs | Size |
|----------|---------------------|--------|-------|----------|-------|-------|------|------|
| f186d0eb | 2024-04-14 06:30:39 | probox | home  | home     | /root |     ? |    ? |    ? |
|          |                     |        |       | original | /home |       |      |      |
|          |                     |        |       | probox   |       |       |      |      |
| f7d394f2 | 2024-05-01 06:30:52 | probox | home  | home     | /root |     ? |    ? |    ? |
|          |                     |        |       | original | /home |       |      |      |
|          |                     |        |       | probox   |       |       |      |      |

Configuration:
[backup]
label = "home"
custom-ignorefile = []
iglob-file = ["/root/.config/rustic/globs/primary.glob", "/root/.config/rustic/globs/home.glob"]
host = "probox"
tag = ["probox", "home"]
init = true
one-file-system = true

[[backup.sources]]
source = "/home /root"

[forget]
prune = true
group-by = "host,label,paths"
keep-tags = ["keep-forever"]
keep-last = 0
keep-daily = 7
keep-weekly = 1
keep-monthly = 1
keep-quarter-yearly = 4
keep-half-yearly = 2
keep-yearly = 10

@webdjoe Thanks for opening the issue!
About the grouping: The groups are not completely identical as the paths are swapped. But I agree that maybe that shouldn't matter for the group, so I think this should be fixed in rustic.
In your example you have nice (identical) labels for fitting groups of paths. If this is the case, you can simply just group by host,label to get the desired grouping.
About deduplication efficiency: Note that this is completely unrelated to grouping of snapshots. Deduplication is always achieved over all snapshots in a repository.
About the ?: Yes, summary information is not present for all snapshots and only shown if it is added when the snapshot is created. This is expected behavior if, for instance, some snapshots are generated by (older) restic versions. There might be future versions of rustic repair snapshots which are able to calculate this summary information and add it to existing snapshots.

Thank you for the quick response. I was fixated on the ? so I didn't realize the order of directories. I tried to set group-by to hosts,label in the backup and forget sections but the snapshot list is still showing in the original grouping.
I tried grouping by tags as well and that was ignored.
Also, weirdly enough I changed the order of directories back to the original and it is throwing backups into the new grouping. The latest backup 5/28 uses the following configuration file. You can also see I used a merge tag on some snapshots (with interactive mode which is awesome!) to filter, which are also grouped. Am I missing something obvious here?
snapshots for (host [probox], label [home], paths [/home,/root])
| ID       | Time                | Host   | Label | Tags   | Paths | Files | Dirs |      Size |
|----------|---------------------|--------|-------|--------|-------|-------|------|-----------|
| 542d84b9 | 2024-05-13 06:30:56 | probox | home  | merge  | /home |  2607 |  243 | 167.8 MiB |
|          |                     |        |       |        | /root |       |      |           |
| 47c341ff | 2024-05-22 06:30:49 | probox | home  | merge  | /home |  2620 |  248 | 168.4 MiB |
|          |                     |        |       |        | /root |       |      |           |
| bfa2edde | 2024-05-28 02:19:01 | probox | home  | home   | /home |  2624 |  220 | 217.5 MiB |
|          |                     |        |       | probox | /root |       |      |           |

12 snapshot(s)

snapshots for (host [probox], label [home], paths [/root,/home])
| ID       | Time                | Host   | Label | Tags   | Paths | Files | Dirs | Size |
|----------|---------------------|--------|-------|--------|-------|-------|------|------|
| e9c46f71 | 2024-05-23 06:30:50 | probox | home  | home   | /root |     ? |    ? |    ? |
|          |                     |        |       | probox | /home |       |      |      |
| 17abba1a | 2024-05-24 06:31:01 | probox | home  | home   | /root |     ? |    ? |    ? |
|          |                     |        |       | probox | /home |       |      |      |
| f5b05826 | 2024-05-25 06:30:55 | probox | home  | home   | /root |     ? |    ? |    ? |
|          |                     |        |       | probox | /home |       |      |      |
| d458e618 | 2024-05-26 06:30:58 | probox | home  | home   | /root |     ? |    ? |    ? |
|          |                     |        |       | probox | /home |       |      |      |
| 3a955de4 | 2024-05-27 06:30:41 | probox | home  | home   | /root |     ? |    ? |    ? |
|          |                     |        |       | probox | /home |       |      |      |

Configuration:
[backup]
label= "home"
custom-ignorefile = []
iglob-file = ["/root/.config/rustic/globs/primary.glob", "/root/.config/rustic/globs/home.glob"]
host = "probox"
tag = ["probox", "home"]
init = true
one-file-system = true
group-by = "host,label,tags"

[[backup.sources]]
source = ["/root", "/home"]

[forget]
prune = true
group-by = "host,label,tags" # Can be any combination of host,label,paths,tags
# The following filter options can be also defined here and then overwrite the options for the forget command
# The retention options follow. All of these are not set by default.
keep-tags = ["keep-forever"]
keep-last = 0
keep-daily = 7
keep-weekly = 1
keep-monthly = 1
keep-quarter-yearly = 4
keep-half-yearly = 2
keep-yearly = 10

I made a script that I would solve the problem of moving the old snapshots with the original order into the new grouping. It basically does a single merge command for each snapshot (also calculates size, file & dir count). However, after switching the order of directories in the configuration file, it is still placing snapshots into the new directory order grouping (even with group-by = "host,label")
#!/bin/bash

tag_filter="merge"
tags="probox,home"
label="home"

# Get snapshot ID's into array - requires jq
ids=($(rustic -P home_bb snapshots --filter-tags "$tag_filter" --json | jq '[..|.id?|select(.!=null)]' | tr -d '[],"'))

# loop through snapshot ID's and do a single merge with label and tags
for snapshot in "${ids[@]}"; do
  rustic -P home_bb merge "${snapshot:0:8}" --delete --tag "$tags" --label "$label"
done

@webdjoe I think there are two points to mention:

for the snapshots command, there is no possibility to specify --group-by in the config profile, i.e. you have to specify it as CLI parameter
when rustic creates a new snapshot, it always sorts paths (and tags) before saving it. A changed order will therefore have no effects.

@webdjoe I made a PR to rustic_core which fixes the grouping of non-ordered paths/tags. Once this is merged and used in rustic, you should be able to use your "old" and "new" snapshots together.

Wow that's great, thank you for the quick turnaround.
That makes sense with the sorted paths. Out of curiosity, what does the group-by items in the backup section do? The forget section most likely works with retention, but how does it impact backups?

Out of curiosity, what does the group-by items in the backup section do? The forget section most likely works with retention, but how does it impact backups?

For backup , the -group-by option only impacts the parent snapshot that is taken to speed-up the backup: Here, the last snapshot of the same group as the snapshot-to-create is used.


Don't play on awake in game mode (USDU-247)

Hello,
It works fine un edit mode, but when I do the build, the camera movement is freezed at the start of the game.
I create 3d models on Tilt Brush VR with the camera path, I export the modeles in .glb then the camera path in .usda
Everything works fine in editor mode, the timeline is played, but the game builds don't work, timeline don't start. The view is static and nothing happen.
It's very usefull for my workflow to use camera path from Tilt Brush instead Cinemachine who is very complicated.
Help would be very appreciated !
I have tryed with Unity 2021.3.2f1 LTS
and with 2019.4.25f1 LTS
Any idea to solve it?
Thank you

Hi @Gildas310 , could you share the .usda file you're seeing this issue with please?

Hi @Gildas310 , could you share the .usda file you're seeing this issue with please?

Hi,
I put the usda here because it's forbidden here
http://www.gildas-lightpainting.com/web/Jedi_Desert_20.usda
(Now a friend makes me a functionnal component to use usda in Unity)
Thank you


Remove cached docker images from Github Runners

Github Runners comes with pre-cached docker images
https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2004-Readme.md#cached-docker-images
MIGraphX CI doesn't require any of those, hence remove them.
Looks like it is adding 17-21s for cleaning of docker images.

https://github.com/jlumbroso/free-disk-space/pull/5/files
This got merged. I'll update PR wrt to that.


Add MIN space

If you want to create a space follow this guide
https://docs.snapshot.page/guides/create-a-space

Closing this PR for now, feel free to open it again once you've done the changes.

Closing this PR for now, feel free to open it again once you've done the changes.


boards: nxp: frdm_mcxw71: Add LinkServer runner support

Adds the LinkServer runner support for the FRDM-MCXW71 board.

does board doc need update then

Board doc does need an update, this changes the default runner for the board because we include Linkserver first. I'd like to see a section mentioning that you need to install the linkserver debug host tools to debug the board. An example of a doc page that outlines this is the LPC55S36: https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/nxp/lpcxpresso55s36/doc/index.rst?plain=1#L162
Please feel free to dismiss my block once the documentation has been updated to specify that the default runner is Linkserver.

Hi @danieldegrasse you can unblock it.
The documentation already declares that  the board is configured by default to use the MCU-Link CMSIS-DAP Onboard Debug Probe. And Jlink is optional via "west flash -r jlink".

The documentation already declares that the board is configured by default to use the MCU-Link CMSIS-DAP Onboard Debug Probe. And Jlink is optional via "west flash -r jlink".

Sure, I saw that- the specific change I'm asking for is that we call out the need to download the Linkserver binary. I'll dismiss my block though, because you are correct that the documentation right now is unlikely to mislead users.

Update the board documentation page to indicate this support. Similar to other boards such as FRDM-MCXN947

@mmahadevan108
Additional information is only on how to reprogram to the default CMSIS-DAP firmware (which is already programmed by default). It is only useful for someone who has already reprogrammed it to JLINK.
Nothing wrong. Just please confirm, are you sure you want to duplicate this for each platform?

Additional information is only on how to reprogram to the default CMSIS-DAP firmware (which is already programmed by default). It is only useful for someone who has already reprogrammed it to JLINK.
Nothing wrong. Just please confirm, are you sure you want to duplicate this for each platform?

Personally, I like having the blub in each board linking to the update process- since most users won't be reading every board doc page. That being said, certainly won't block over it

@mmahadevan108
Added chapter "Using LinkServer".


absl_flag: convert gflags to absl_flag

left gflags will be processed tomorrow, simulation also need to update.

left gflags will be processed tomorrow, simulation also need to update.

Can you please make clear the reason for the switch from gflags to absl flags ?

left gflags will be processed tomorrow, simulation also need to update.

Can you please make clear the reason for the switch from gflags to absl flags ?

absl has some feature，such as support vector of string
ABSL_FLAG(std::vectorstd::string, languages,
std::vectorstd::string({"english", "french", "german"}),
and support time
ABSL_FLAG(absl::Duration, timeout, absl::Seconds(30), "Default RPC deadline");


Failed to build and resolve paths with the root directory with the space

Steps to reproduce the behavior
$ pwd
/Users/vanyauhalin

$ ls /Users/vanyauhalin/Library
Application Support

$ find ".rbenv"
find: .rbenv: No such file or directory

$ env
RBENV_ROOT=/Users/vanyauhalin/Library/Application\ Support/rbenv
RUBY_CONFIGURE_OPTS=--with-openssl-dir=/opt/homebrew/opt/openssl@3

$ ls $RBENV_ROOT
ls: /Users/vanyauhalin/Library/Application\ Support/rbenv: No such file or directory

$ rbenv install 3.2.2
BUILD FAILED (macOS 13.3.1 using ruby-build 20230512)

$ ls /Users/vanyauhalin/Library
Application Support
Application\

$ status --is-interactive; and rbenv init - fish | source

$ ls /Users/vanyauhalin/Library
Application Support
Application\
Application\ Support

Expected vs. actual behavior
This is a continuation of my epics to force Ruby to respect the XDG specification. And I don't know what's going on here. :D
If I leave RBENV_ROOT as default (/Users/vanyauhalin/.rbenv), everything is fine.

This looks wrong to me:
$ env
RBENV_ROOT=/Users/vanyauhalin/Library/Application\ Support/rbenv

There is an escaped space there, which looks wrong, because escaping is only necessary when setting a value, and shouldn't be there when a value was printed. Observe:
$ export RBENV_ROOT=/Users/vanyauhalin/Library/Application\ Support/rbenv
$ env | grep RBENV
RBENV_ROOT=/Users/vanyauhalin/Library/Application Support/rbenv

This leads me to conclude that the space was double-escaped with a backslash when setting RBENV_ROOT in the first place. Try to correct that, and see if that works!
Note that due to compilation issues similar to what you've discovered with openssl, there might be problems having your Rubies installed to a path that has spaces. Those problems are nothing that ruby-build can solve, and you should file them upstream. However, do file if you find a bug with rbenv itself not handling spaces properly. Thank you!

@mislav Yes, that was my mistake with the path. And indeed, you're right; I am still unable to successfully make the build. Perhaps you could assist me once again by guiding me in the correct direction to solve this error?
$ echo $RBENV_ROOT
/Users/vanyauhalin/Library/Application Support/rbenv

$ ls $RBENV_ROOT
shims/    versions/

$ echo $RUBY_CONFIGURE_OPTS
--with-openssl-dir=/opt/homebrew/opt/openssl@3

$ rbenv install 3.2.2
BUILD FAILED (macOS 13.3.1 using ruby-build 20230512)

$ cat /var/folders/ws/1nchq9k97p91vbw4dtclzm_40000gn/T/ruby-build.20230608200809.91089.log
/var/folders/ws/1nchq9k97p91vbw4dtclzm_40000gn/T/ruby-build.20230608200809.91089.l5bpRb ~
/var/folders/ws/1nchq9k97p91vbw4dtclzm_40000gn/T/ruby-build.20230608200809.91089.l5bpRb/ruby-3.2.2 /var/folders/ws/1nchq9k97p91vbw4dtclzm_40000gn/T/ruby-build.20230608200809.91089.l5bpRb ~
checking for ruby... /usr/bin/ruby
tool/config.guess already exists
tool/config.sub already exists
checking build system type... aarch64-apple-darwin22.4.0
checking host system type... aarch64-apple-darwin22.4.0
checking target system type... aarch64-apple-darwin22.4.0
checking for llvm-ar... no
checking for clang++... clang++
checking for llvm-nm... no
checking for llvm-objcopy... no
checking for llvm-objdump... no
checking for llvm-ranlib... no
checking for llvm-strip... no
checking for gcc... clang
checking whether the C compiler works... no
configure: error: in `/var/folders/ws/1nchq9k97p91vbw4dtclzm_40000gn/T/ruby-build.20230608200809.91089.l5bpRb/ruby-3.2.2':
configure: error: C compiler cannot create executables
See `config.log' for more details
make: *** No targets specified and no makefile found.  Stop.

$ ls /usr/bin | grep "llvm"
llvm-g++
llvm-gcc

$ ls /usr/bin | grep "clang"
clang
clang++
clangd

$ ls /usr/bin | grep "gcc"
gcc
llvm-gcc

Solved on https://github.com/openssl/openssl/issues/4668#issuecomment-1585759393.


Drop grafana.baseImage from CR example

Drop the grafana.baseImage path in the CR example to help with
downstream builds. There is still a default value defined in the
servicetelemetry role. This primarily affects the population of the OCP
UI interface.

test


chore(docker): Optimize dockerfile

Optimize dockerfile
Signed-off-by: kovacs<EMAIL_ADDRESS>

@filipechagas Can we use swift:5.6-focal?

I noticed that it supports both x86 and arm64; this way x86 and arm64 users can not care about the image architecture, and we can also build images with multi-arch support.

I've modified the Dockerfile so that it now supports both x86 and arm64 builds (due to the swift image not supporting other CPU architectures for now).
It is now possible to use the docker buildx command to build a multi-CPU architecture-supported image (compatible with the standard docker build command), I have pre-built a version: mritd/gitignore.io, this image can be used to verify this PR .

By the way, I'm not familiar with the swift language, and I don't know if there are other compilation parameters that can optimize the size of the binary compiled by swift; if there are better compilation parameters, I can further optimize the image size.

@filipechagas I re-edited the CMD command and added some comments so anyone can build their own docker image.

I noticed that there is a compose configuration created for development; I created a Dcokerfile (Dockerfile.dev) dedicated to development, but the vapor command fails to execute.
Since I'm not a swift developer, I don't know how to fix the vapor compilation problem (maybe I should downgrade the vapor toolbox version?), @filipechagas can you pass some sample commands to run the project via vapor run and some related version information?
This way I can recreate the dockerfile and compose files for development; I think the development environment should meet the following requirements:

Map the current directory into the container to ensure native code runs
Recompile swift code every time to ensure consistency
Cache swift packages as much as possible to avoid repeated downloads

Sorry about the delay on this one. I was OOO.
I just realized that docker-compose for development wasn't really working already. So, at this point, I would apply your excellent changes in the Dockerfile. We can ditch Dockerfie.dev for now and work on that in a separate PR.
WDYT?

I think it's ok, do I need to undo the changes to Dockerfile.dev and docker-compose-dev.yaml?

Can you please? That way we avoid misleading people into thinking they're finished.

I have rolled back the changes to dev.

@filipechagas

No response for too long, I close this PR.

Hey @mritd, very sorry for the long review! Is this still something you'd like to be merged? I'll have a quick look and move this forward


[4.1][Package / Custom Field] Input - Random

Summary
Creates a random string based off pre-defined patterns or custom.
Preview

Usage
//Controller->setUp()
$this->crud->addField([
    'label' => 'Random Alphanumeric',
    'name' => 'name',
    'type' => 'random',
    'random_pattern' => 'alphanumeric', //alpha, alphanumeric, alphanumericsymbols, symbols, custom (optional - defaults to alphanumericsymbols)
    'random_casing' => 'mixed',  //upper, lower (optional - defaults to mixed)
    'random_length' => 32, //(optional - defaults to 16)
]);

$this->crud->addField([
    'label' => 'Random Alphanumeric + Symbols',
    'name' => 'description',
    'type' => 'random',
    'random_pattern' => 'alphanumericsymbols', //alpha, alphanumeric, alphanumericsymbols, symbols, custom (optional - defaults to alphanumericsymbols)
    'random_length' => 20, //(optional - defaults to 16)
]);

$this->crud->addField([
    'label' => 'Random Custom "backpack"',
    'name' => 'points_needed',
    'type' => 'random',
    'random_pattern' => 'backpack', //alpha, alphanumeric, alphanumericsymbols, symbols, custom (optional - defaults to alphanumericsymbols)
]);

Nice! :-) Will check it out and merge tonight or tomorrow. Cheers!

@tabacitu wonder if this could make its way into 3.2 any time soon? Save us maintaining separate views 😄

News on this?

Hey there,
I've considered this a number of times (without answering here) and decided this is not something we want inside Backpack's core. I see where this might be useful, but for 99% of all admin panels I think this is NOT needed, so we're not going to invest time into polishing and maintaining this.
However, if anybody creates a Backpack addon with a column type that does this... we'll gladly promote it, so more people use it.
Thank you for understanding - and for taking the put together the PR @OwenMelbz , I super-appreciate it 🙏
Cheers!
PS. If you or anybody else stumbles onto this and think I'm wrong and we should reconsider the decision - please reply. We're human, we make mistakes all the time, so we're open to feedback.


⚠ Fortnite has degraded performance

In 3c81ee5, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1569 ms

Resolved: Fortnite performance has improved in 5a1bc62.


s_server does not support sm2.

e:\temp\ssl>%OPENSSL% s_server -cert sm2_server_ca.pem -key sm2_server_private_key.pem -CAfile sm2_server_ca.pem -pass pass:test
Using default temp DH parameters
error setting certificate
1C2F0000:error:0A0000F7:SSL routines:ssl_set_cert:unknown certificate type:ssl\ssl_rsa.c:257:

We would have to support (at least partially) the RFC 8998 to support SM2 certificates.

Any news about this issue? I compiled nginx 1.16.1 with OpenSSL 3.0.0, and configured a certificate generated by OpenSSL 3.0.0 with SM2, an error with "ssl_set_cert:unknown certificate type" occured when starting nginx. I checked the OpenSSL 3.0.0 codes and found that it seemed not supporting SM2 certificate yet. For example, maybe a EVP_PKEY_SM2 shoud be defined in ssl_cert_info [], and there need other developments.


wlink: init at 0.0.9

Add wlink package. wlink is an open source WCH-Link library/command line tool written in Rust. It's for connecting/flashing ch32v RISC-V microcontrollers.
Fixes #346154.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

Could you squash the fixups into the commit that adds the package? Just be careful not to rebase past commits, it tends to cause a mass ping that will require creating a new PR. If you're unsure, it could be helpful to draft the PR first - it will mitigate a mass ping despite an erroneous rebase.

Could you squash the fixups into the commit that adds the package? Just be careful not to rebase past commits, it tends to cause a mass ping that will require creating a new PR. If you're unsure, it could be helpful to draft the PR first - it will mitigate a mass ping despite an erroneous rebase.

No problem, I thought that might be preferred.


Allow passing a closure to assertViewHas for finer control

This PR allows you to pass a closure as the $value argument, where the user can return a statement that should evaluate to true if the data in the view is what they want.
For example, this assertion would pass as long as the currentUser variable passed to the view had a name attribute of "Taylor":
$this->assertViewHas('currentUser', function ($user) {
    return $user['name'] == 'Taylor';
});

This makes it much easier to write assertions against view data when it's hard to mimic the entire object you want to inspect. It's almost impossible to do this with Eloquent models currently if you create one in a factory in your test for example, because the object in your test and the object retrieved in your app code will have subtle differences in private attributes that don't actually matter to your test.

That went quick.


The API deployment for this resource does not exist

I have created Azure Open AI service, but the Console app returns following error:

environmental variables are set up properly
[Enter feedback here]
setx SPEECH_KEY does not set up environmental variable

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

ID: 1370a1c1-3686-3810-ccd2-648780aa69c9
Version Independent ID: 93ff06b1-e74b-f680-18f9-d9b8dd283e24
Content: Azure OpenAI speech to speech chat - Speech service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/openai-speech.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @eric-urban
Microsoft Alias: eur

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

@eric-urban
Could you please review add comments on this, update as appropriate.

@tomaszleszczynski1980
It appears that you are having trouble configuring environmental variables for your Azure Open AI service. If the setx SPEECH_KEY command is not setting up the environmental variable properly, you may want to try setting the variable manually.
To set the environmental variable manually, you can follow these steps:
Open the Start menu and search for "Environment Variables"-->"Edit the system environment variables"-->"System Variables"-->"New"-->
Enter "SPEECH_KEY" as the variable name and the value of your key as the variable value-->"ok" to save the changes.
If there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.

@tomaszleszczynski1980
We are going to close this thread if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Integral can build up with brake hold

Describe the bug
If you engage brake hold and then engage openpilot (since user isn't pressing the brake), the long PI controller is allowed to build up integral while we're held at a standstill without a lead, and upon pressing the resume button the car is being sent 1.44 m/s/s acceleration instead of 1.2 m/s/s causing overshoot to 2 m/s/s.

What hardware does this issue affect?
comma three, 2022 Toyota Camry Hybrid
Provide a route where the issue occurs
f15e3c37c118e841|2021-11-04--06-25-15--1
openpilot version
0.8.10
Additional info
No response

Can we read the brake hold status? On Honda we don't allow engagement with brake hold.


Bump to latest httpclient 4.3.1

Upgrade dependency with the latest Apache commmons HTTPClient library
to allow a smoother integration with other client-side HTTP testing
code.

ok, what is the way forward? How can we solve the "PKIX path building failed:" issue?
I'm now stuck with Jersey for testing, I like to use rest-assured.

@roydekleijn I don't suppose it works if you do relaxed https validation?

then I get: Received fatal alert: handshake_failure

@roydekleijn Could you enable debug logging of apache http client and see if you get more details?

this is the output:
DEBUG [org.apache.http.impl.conn.BasicClientConnectionManager] Get connection for route {s}->https://server:443
DEBUG [org.apache.http.impl.conn.DefaultClientConnectionOperator] Connecting to server:443
DEBUG [org.apache.http.impl.conn.DefaultClientConnection] Connection org.apache.http.impl.conn.DefaultClientConnection@3c500044 closed
DEBUG [org.apache.http.impl.conn.DefaultClientConnection] Connection org.apache.http.impl.conn.DefaultClientConnection@3c500044 shut down
DEBUG [org.apache.http.impl.conn.BasicClientConnectionManager] Releasing connection org.apache.http.impl.conn.ManagedClientConnectionImpl@68269992
FAILED: checkResponseCodeForCorrectRequest
javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed:

@roydekleijn I don't suppose I can get access to the site you're targeting so that I can try it out myself?

nope, it's an internal application
On Fri, Dec 18, 2015 at 7:06 AM, Johan Haleby<EMAIL_ADDRESS>wrote:

@roydekleijn https://github.com/roydekleijn I don't suppose I can get
access to the site you're targeting so that I can try it out myself?
—
Reply to this email directly or view it on GitHub
https://github.com/jayway/rest-assured/pull/23#issuecomment-165681397.

--
[image: --]
Roy de Kleijn
[image: http://]about.me/roydekleijn
http://about.me/roydekleijn?promo=email_sig

the PKIX problem is very likely due to lack of SNI support in the deprecated version of HttpClient (i.e. "DefaultHttpClient"). This is described in https://github.com/jayway/rest-assured/issues/548, my current solution is to disable hostname verification as described there:
RestAssured.config = RestAssured.newConfig().sslConfig(SSLConfig.sslConfig().allowAllHostnames());


pythonPackages.openapi-spec-validator: init at 0.2.7

Motivation for this change
Adds a useful OpenAPI spec validator tool.
Things done
Tested the program built against pythonPackages and python3Packages.

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

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

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

cc: @vanschelven (swagger_spec_validator) and @Shou (openapi-generator-cli)

@grahamcofborg build python3Packages.openapi-spec-validator

Thank you @rvl.


URL parsing errors

This is an example of  URL that urllib3 fails to parse correctly.  It appears that it un-encodes the URL and then gets confused about the colon symbol in the mailto: statement that is part of the path.
Strangely enough, requests generates a different error for the same URL.  For urllib3, it makes the pool think that the URL is from a different host.  For requests, it thinks the other host is a new port number... and tries to int(string)...
Is this a known issue?
>>> http_pool = urllib3.connection_from_url('http://stats.e-go.gr/rx.asp?nWebSrvID=100230&nCatID=23425&nLevelId=-20&target=mailto%3Aadvertising%40pegasusinteractive%2Egr')
>>> r = http_pool.get_url('http://stats.e-go.gr/rx.asp?nWebSrvID=100230&nCatID=23425&nLevelId=-20&target=mailto%3Aadvertising%40pegasusinteractive%2Egr')Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "urllib3/request.py", line 136, in get_url
    **urlopen_kw)
  File "urllib3/request.py", line 78, in request_encode_url
    return self.urlopen(method, url, **urlopen_kw)
  File "urllib3/connectionpool.py", line 410, in urlopen
    retries - 1, redirect, assert_same_host)
  File "urllib3/connectionpool.py", line 341, in urlopen
    raise HostChangedError(host, url, retries - 1)
urllib3.exceptions.HostChangedError: Connection pool with host 'http://stats.e-go.gr' tried to open a foreign host<EMAIL_ADDRESS>>>>
>>>
>>> import requests
>>> r = requests.get('http://stats.e-go.gr/rx.asp?nWebSrvID=100230&nCatID=23425&nLevelId=-20&target=mailto%3Aadvertising%40pegasusinteractive%2Egr')Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 50, in get
    return request('get', url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 38, in request
    return s.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 200, in request
    r.send(prefetch=prefetch)
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 514, in send
    self._build_response(r)
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 253, in _build_response
    request.send()
  File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 430, in send
    conn = self._poolmanager.connection_from_url(url)
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/poolmanager.py", line 94, in connection_from_url
    scheme, host, port = get_host(url)
  File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/connectionpool.py", line 524, in get_host
    port = int(port)
ValueError: invalid literal for int() with base 10: 'advertising%40pegasusinteractive.gr'
>>>

Just as a check, this is parsed correctly by urlparse:
>>> urlparse.urlparse('http://stats.e-go.gr/rx.asp?nWebSrvID=100230&nCatID=23425&nLevelId=-20&target=mailto%3Aadvertising%40pegasusinteractive%2Egr')
ParseResult(scheme='http', netloc='stats.e-go.gr', path='/rx.asp', params='', query='nWebSrvID=100230&nCatID=23425&nLevelId=-20&target=mailto%3Aadvertising%40pegasusinteractive%2Egr', fragment='')
>>>
>>> urlparse.urlparse('http://stats.e-go.gr/rx.asp?nWebSrvID=100230&nCatID=23425&nLevelId=-20&target=mailto%3Aadvertising%40pegasusinteractive%2Egr').port
>>>

But, doh!


SIG_DFL and SIG_IGN on windows

Hello
The SIG_DFL and SIG_IGN constants seem to be missing on windows targets (*-pc-windows-* tripples). It seems that according to the documentation they should exist
https://docs.microsoft.com/en-us/previous-versions/xdkz3x12(v=vs.140)
I'd try adding them, but I don't have any Windows at hand so I can't find the value. Some tests on CI suggest that SIG_DFL might be 0, though, but I can't really be sure.
Is it possible to add them?
Thank you

From ucrt\signal.h
#define SIG_DFL ((_crt_signal_t)0)     // default signal action
#define SIG_IGN ((_crt_signal_t)1)     // ignore signal
#define SIG_GET ((_crt_signal_t)2)     // return current value
#define SIG_SGE ((_crt_signal_t)3)     // signal gets error
#define SIG_ACK ((_crt_signal_t)4)     // acknowledge
#define SIG_ERR ((_crt_signal_t)-1)    // signal error value

There is also one more definition but it seems like it shouldn't be used?
#ifdef _CORECRT_BUILD
    // Internal use only!  Not valid as an argument to signal().
    #define SIG_DIE ((_crt_signal_t)5) // terminate process
#endif

_crt_signal_t is defined like so and used in signal like so
typedef void (__CRTDECL* _crt_signal_t)(int);
_ACRTIMP _crt_signal_t __cdecl signal(_In_ int _Signal, _In_opt_ _crt_signal_t _Function);

Thank you, I'll send a pull request adding them, then.

Anyway, just remember that you should only ever use CRT signals for compatibility with existing C code that also uses CRT signals. You should never use them otherwise.

Actually, I don't even have a Windows machine around. I've hit this when trying to keep some minimal compatibility with Windows in signal-hook, which is primarily a unix crate.


[SPARK-48316][PS][CONNECT][TESTS] Enable SparkFrameMethodsParityTests.test_coalesce and test_repartition

What changes were proposed in this pull request?
This PR proposes to enable SparkFrameMethodsParityTests.test_coalesce and SparkFrameMethodsParityTests.test_repartition in Spark Connect by avoiding RDD usage in the test.
Why are the changes needed?
To make sure on the test coverage
Does this PR introduce any user-facing change?
No, test-only.
How was this patch tested?
CI in this PR.
Was this patch authored or co-authored using generative AI tooling?
No.

cc @zhengruifeng

Merged to master.


Using Swift WebGPU

Hi Henry,
This project looks great and I'd love to use it in my project (the screenshots in my readme are outdated, but the ones on the website mostly aren't).
Currently my project uses Metal and is constrained to macOS but I'm planning on moving away from Metal to support Linux and Windows.
Is there somewhere (such as Discord) that I can contact you? If I start using Swift WebGPU I'll probably help out with development and it'd be good to be in contact. My email is<EMAIL_ADDRESS>and my Discord is stackotter#3100 (just in case you don't feel comfortable sharing any contact details on GitHub).
I look forward to chatting further :)

Thanks!
I hope that WebGPU does become a viable option for native development in the future. It has a nice API (fairly similar to metal in terms of complexity I believe) and is backed by a standard.
It is still early days though and the upstream spec is probably not stable yet, though is getting close to a v1 API I think.
Probably best to email me at<EMAIL_ADDRESS>

Yeah, when I was looking at the spec there are a lot of similarities with metal. I'm happy to work with an unstable api, but first i need to figure out how to get it building properly hahah


Documentation!()

Great job!
By simply looking the readme file, I found that your job seems very promissing, and I'll, just like many other people, ask you more documentation. I've looked into the project dates, and as I can see, you are changing it  constantly: that's good. I really wanted to use your Script System, but I found a little bit hard with the current state of your examples(docs). It would be nice, if you create a document showing to the people the differences between Rhai to Rust. So if we study Rust, and later on, we can study your language! Presenting a table with the diffrences between the both (Rust and Rhai) may be enough.
Thanks and keep doing it!

Jup, can't support this enough. I am about to integrate rhai into my project (imag) and I'd love some more documentation and also generated github pages!

Oh yeah, docs are good. I will add it to TODO and hopefully work on them in the near future

Should we have a Rhai book, mimicing https://doc.rust-lang.org/stable/book/ch01-02-hello-world.html? Probably best post v1.0, once the language and features stabilize a bit.

I'm all for more documentation, but as typical for release-quality software, you spend 1 hr writing code and then 5 hours writing documentation and tests and examples...
Somebody needs to come up with the time to gradually do this, I suppose...

Closing this one for now.  I feel that at least the README has improved to an extent that it should be usable, although still light on examples and tutorials.


Investigate compatibility with 7.7 release

I just did a quick smoke test and had severe problems with the starter and 7.7. Further investigation needed

Never tried it so far. could you add your stacktraces, so we have a reference to check against in may?

Two things:
1.) Translation did not work any more, had I18N keys all over the place
2.) Could not log in, had a warning on the console (sorry, long gone).

we switched to 7.7.0 with #254, I did not experience the issues you mentioned, so I will close for now. Could you please retest with 2.2.0-SNAPSHOT and file separate bug issues if you find anything?

Thanks! I will test is asap too and reopen if I encounter concrete issues.


Beta resources in org break the show available resources command

Describe the bug
Running show available resources in an org with k8s beta resources gives this error:
List resources failed: ("unknown resource type 'kubernetesauthenticatingproxy'", 2)
I think we've seen this recently with other beta resources, and it's related to not having/running our latest Python SDK.
To Reproduce
I used the latest image from here.
In your test org, add a k8s beta resource.
Run show available resources in Slack.
Expected behavior
You see resources.

There's a bug in the SDK, reported internally #3702
I'll keep an eye on the resolution, and then update here.

I'll update the title to only refer to Authenticating Proxy resources.

Because K8s Authenticating Proxy isn't approved yet, the team is planning to remove kubernetesauthenticatingproxy from the SDK. In that case, that type of resources will be returned as None, and we already have a condition for handling those.
Is a user has this type of resources, for now he/she just would need to remove them in order to use show available resources.


Prepare for launch

To do only once the other transaction issues are fixed:

set minimum to 5000$

remove testnets from chain selection

configure deposit wallet to:  0x35487A421763719bAc4525dbd70b83fDb2F30a21

make sure that no URL are hardcoded and that frontend is ready for migration to another domain

Update/replace list of accepted tokens:  (if not available on polygon, just remove from the list on that chain)
ETH
MATIC
WBTC
USDC
USDT
DAI
TUSD
FRAX
BNB
UNI
CRV
AVAX
LINK
HEX
SHIB
APE
LUSD
MKR
GUSD
RBN
sUSD
LDO
RARE
agEUR
EUROC
TAMA

deploy contract on ETH and Polygon mainnets

Now that the transaction issue is fixed, please:
set minimum to 5000$
remove testnets from chain selection
configure deposit wallet to: 0x35487A421763719bAc4525dbd70b83fDb2F30a21
And push branch to main
Thanks


Unable to train a ASR/ST model on MUST-C data.

Hi I am trying to train a new ASR model by following the steps available here
I downloaded MUST-C version 2.0 data availabe here
Unzipping the tar file gives a folder titled en-de which has the following contents two folders data and doc
data: dev  train  tst-COMMON  tst-HE
Then I preprocessed the data using the following command
python fairseq/examples/speech_to_text/prep_mustc_data.py --data-root mustcv2/ --task asr --vocab-type unigram --vocab-size 5000

the mustcv2  folder has the en-de folder which was unzipped earlier.

the preprocessing ran successfully populating the en-de folder as below

Then I tried to train the model using the command
fairseq-train mustcv2/en-de/ --config-yaml mustcv2/en-de/config_asr.yaml --train-subset train_asr --valid-subset dev_asr  --save-dir checkpoints/asr/ --num-workers 4 --max-tokens 40000 --max-update 100000  --task speech_to_text --criterion label_smoothed_cross_entropy --report-accuracy  --arch s2t_transformer_s --optimizer adam --lr 1e-3 --lr-scheduler inverse_sqrt    --warmup-updates 10000 --clip-norm 10.0 --seed 1 --update-freq 8
Which led to error saying dict.txt was not present.

From my previous experinece of using fairseq I copied the spm_unigram5000_asr.txt to dict.txt and ran the training command again. For which I am getting the below error.
Traceback (most recent call last):
  File "/fastdisk/Sugeeth/miniconda3/envs/offline/bin/fairseq-train", line 33, in <module>
    sys.exit(load_entry_point('fairseq', 'console_scripts', 'fairseq-train')())
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq_cli/train.py", line 491, in cli_main
    distributed_utils.call_main(cfg, main)
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq/distributed/utils.py", line 369, in call_main
    main(cfg, **kwargs)
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq_cli/train.py", line 169, in main
    valid_losses, should_stop = train(cfg, trainer, task, epoch_itr)
  File "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq_cli/train.py", line 279, in train
    log_output = trainer.train_step(samples)
  File "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq/trainer.py", line 668, in train_step
    ignore_grad=is_dummy_batch,
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq/tasks/fairseq_task.py", line 475, in train_step
    loss, sample_size, logging_output = criterion(model, sample)
  File "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq/criterions/label_smoothed_cross_entropy.py", line 79, in forward
    net_output = model(**sample["net_input"])
  File "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq/models/speech_to_text/s2t_transformer.py", line 268, in forward
    encoder_out = self.encoder(src_tokens=src_tokens, src_lengths=src_lengths)
  File "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq/models/speech_to_text/s2t_transformer.py", line 337, in forward
    if self.num_updates < self.encoder_freezing_updates:
TypeError: '<' not supported between instances of 'int' and 'NoneType'

The encoder_freezing_updates is being set to Null
hence I changed the code in s2t_transformer.py: line 337
to below and ran the training command again,

for which I am getting the below error.
Traceback (most recent call last):
  File "/fastdisk/Sugeeth/miniconda3/envs/offline/bin/fairseq-train", line 33, in <module>
    sys.exit(load_entry_point('fairseq', 'console_scripts', 'fairseq-train')())
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq_cli/train.py", line 491, in cli_main
    distributed_utils.call_main(cfg, main)
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq/distributed/utils.py", line 369, in call_main
    main(cfg, **kwargs)
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq_cli/train.py", line 169, in main
    valid_losses, should_stop = train(cfg, trainer, task, epoch_itr)
  File "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq_cli/train.py", line 279, in train
    log_output = trainer.train_step(samples)
  File "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/contextlib.py", line 74, in inner
    return func(*args, **kwds)
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq/trainer.py", line 668, in train_step
    ignore_grad=is_dummy_batch,
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq/tasks/fairseq_task.py", line 475, in train_step
    loss, sample_size, logging_output = criterion(model, sample)
  File "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq/criterions/label_smoothed_cross_entropy.py", line 79, in forward
    net_output = model(**sample["net_input"])
  File "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq/models/speech_to_text/s2t_transformer.py", line 270, in forward
    prev_output_tokens=prev_output_tokens, encoder_out=encoder_out
  File "/fastdisk/Sugeeth/miniconda3/envs/offline/lib/python3.7/site-packages/torch/nn/modules/module.py", line 889, in _call_impl
    result = self.forward(*input, **kwargs)
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq/models/transformer.py", line 823, in forward
    alignment_heads=alignment_heads,
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq/models/speech_to_text/s2t_transformer.py", line 396, in extract_features
    alignment_heads,
  File "/fastdisk/Sugeeth/offline/fairseq/fairseq/models/transformer.py", line 890, in extract_features_scriptable
    padding_mask = encoder_out["encoder_padding_mask"][0]
IndexError: list index out of range

printing the encoder_out["encoder_padding_mask"] in transformer.py  shows empty list being passed the second time the function is called as seen below.

The same issue is occuring with speech_translation
Please let me know if I am doing anything wrong here I am using the latest fairseq just cloned now from master branch. Torch version is 1.8.1+cu102 and using Ubuntu 20.04
My apologies if it not a bug. Please let me know how I can train the same.
Thanks.

@kahne

The first error you got above suggests that fairseq is not finding config_asr..yaml . When I train ASR or ST, I do not provide a path to the config_asr.yaml , just the file name itself. I think fairseq prepends the data directory path to the config file path, and silently ignores the config file if it cannot find it.

@bhaddow  Thanks a lot changing to the commit https://github.com/pytorch/fairseq/commit/1c0439b7dabe62d39c6e7f1c8ebc86311e042b5a has helped now able to train.

@kahne I would like to contribute if this is an issue any possible place to look into on why this error is occuring ?

The first error you got above suggests that fairseq is not finding config_asr..yaml . When I train ASR or ST, I do not provide a path to the config_asr.yaml , just the file name itself. I think fairseq prepends the data directory path to the config file path, and silently ignores the config file if it cannot find it.
I am training successfully with commit 1c0439b

hi @bhaddow and @sugeeth14 , I also meet the same issue as @sugeeth14 .
By following your suggestion, I check fairseq/models/fairseq_model.py and it is the same as commit 1c0439b . But it still shows the same error messages.
In addition, I noticed that this issue were opened on 7 April,  the date after 1c0439b was committed on 2 Mar. I am a bit confused that how did this commit solve this issue as it had been committed even earlier.\
Thanks both of you in advance!

hi, @sn1ff1918. I meet the same issue too, and check this file, it had fixed already. do you solve this problem?

@sugeeth14 @Atla11nTa  Have you train ASR/ST on mustc data and got the published results？


[patch] release

release https://github.com/yahoojapan/athenz-authorizer/pull/27

Codecov Report

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

@@           Coverage Diff           @@
##           master      #31   +/-   ##
=======================================
  Coverage   92.69%   92.69%
=======================================
  Files          14       14
  Lines         931      931
=======================================
  Hits          863      863
  Misses         47       47
  Partials       21       21

Continue to review full report at Codecov.

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


Update tracker to reflect new prioritisation rules

Description of the task:
As a team we discussed and agreed on a set of rules and a system to prioritise datasets in the tracker and add necessary comments, etc. The aim of this task is to update the tracker spreadsheet to reflect this.

Done.


from rasa_core.agent import Agent gives error

Rasa version:
0.13.8
Python version:
3.7.0
Operating system (windows, osx, ...):
windows 10
Issue:
importing rasa_core gives an error, note that it was working two days ago.
full error is
`Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 1317, in do_open
encode_chunked=req.has_header('Transfer-encoding'))
File "C:\ProgramData\Anaconda3\lib\http\client.py", line 1229, in request
self._send_request(method, url, body, headers, encode_chunked)
File "C:\ProgramData\Anaconda3\lib\http\client.py", line 1275, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "C:\ProgramData\Anaconda3\lib\http\client.py", line 1224, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "C:\ProgramData\Anaconda3\lib\http\client.py", line 1016, in _send_output
self.send(msg)
File "C:\ProgramData\Anaconda3\lib\http\client.py", line 956, in send
self.connect()
File "C:\ProgramData\Anaconda3\lib\http\client.py", line 1384, in connect
super().connect()
File "C:\ProgramData\Anaconda3\lib\http\client.py", line 928, in connect
(self.host,self.port), self.timeout, self.source_address)
File "C:\ProgramData\Anaconda3\lib\socket.py", line 727, in create_connection
raise err
File "C:\ProgramData\Anaconda3\lib\socket.py", line 716, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "dialogue_management_model.py", line 9, in
from rasa_core.agent import Agent
File "C:\Users\m.elkasaby\AppData\Roaming\Python\Python37\site-packages\rasa_core\agent.py", line 17, in
from rasa_core.channels import UserMessage, OutputChannel, InputChannel
File "C:\Users\m.elkasaby\AppData\Roaming\Python\Python37\site-packages\rasa_core\channels_init_.py", line 23, in
from rasa_core.channels.telegram import TelegramInput  # nopep8
File "C:\Users\m.elkasaby\AppData\Roaming\Python\Python37\site-packages\rasa_core\channels\telegram.py", line 4, in
from telegram import (
File "C:\Users\m.elkasaby\AppData\Roaming\Python\Python37\site-packages\telegram_init_.py", line 46, in
from .files.file import File
File "C:\Users\m.elkasaby\AppData\Roaming\Python\Python37\site-packages\telegram\files\file.py", line 23, in
from future.backports.urllib import parse as urllib_parse
File "C:\ProgramData\Anaconda3\lib\site-packages\future\backports_init_.py", line 14, in
import_top_level_modules()
File "C:\ProgramData\Anaconda3\lib\site-packages\future\standard_library_init_.py", line 810, in import_top_level_modules
with exclude_local_folder_imports(*TOP_LEVEL_MODULES):
File "C:\ProgramData\Anaconda3\lib\site-packages\future\standard_library_init_.py", line 781, in enter
module = import(m, level=0)
File "C:\Users\m.elkasaby\Desktop\chatbot\test.py", line 5, in
page=urllib.request.urlopen(quote_page).read()
File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 525, in open
response = self._open(req, data)
File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 543, in _open
'_open', req)
File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 503, in _call_chain
result = func(*args)
File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 1360, in https_open
context=self._context, check_hostname=self._check_hostname)
File "C:\ProgramData\Anaconda3\lib\urllib\request.py", line 1319, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>`

Thanks for raising this issue, @MetcalfeTom  will get back to you about it soon.

Seems more like a proxy error than anything Rasa-specific.  Have you changed any proxy settings over the past couple of days?  Either directly through Windows Control Panel or indirectly through a browser?  Could you try these suggestions?

Thanks , for your reply .
The issue is resolved now


After search not always trigerred

Hi.
We've been using react-bootstrap-table in three tabs on the same page in our project.
When we wanted to add search that will trigger filtering of all three tables at the same time we added references to the tables ,added a separate text input and set its 'onChange' to call the tables 'handleSearch'.
We also set a 'afterSearch' method to all tables that updates the state according to the search result (we use it to display a summary at the top of each tab).
The search works very well in general.
The only problem is that every 30 seconds or so we perform a background update of the data, and sometimes as a result the data for the tables change.
The change is reflected as expected in the tables (an item that was in one table moves to the other as it should), however the 'afterSearch' is not called and as a result the summary we display is now incorrect.
We used version 2.3.4 by I updated to 4.0.0-beta.1 and it didn't help.
Thanks :)

@asafweiss, you means sometime,  afterSearch doesn't be call when data change every 30 second?
and when the data changed every 30 second, you will call the handleSearch also?

Hi.

Hi.
I have a text box. Whenever the text changes I call 'handleSearch' for all tables.
And 'afterSearch' seems to never get called when data changes. only after I call 'handleSearch' myself.

And 'afterSearch' seems to never get called when data changes.

got it, I'll check it, but if there's only one table, is 'afterSearch will be called?

I didn't check. I'll check and send an update tomorrow.
??? ?? Outlook ???? Androidhttps://aka.ms/ghei36

From: Allen<EMAIL_ADDRESS>Sent: Wednesday, May 10, 2017 4:40:06 PM
To: AllenFang/react-bootstrap-table
Cc: asafweiss; Mention
Subject: Re: [AllenFang/react-bootstrap-table] After search not always trigerred (#1302)
And 'afterSearch' seems to never get called when data changes.
got it, I'll check it, but if there's only one table, is 'afterSearch will be called?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/AllenFang/react-bootstrap-table/issues/1302#issuecomment-300484854, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD3l53JTHxH_6YhxADfnYChBtPVP4otXks5r4b42gaJpZM4NWQeO.

@asafweiss, fixed on v3.3.4, please check, thanks 👍

First of all, thank you for the very quick response and for the effort, it is highly appreciated.
I tested version 3.3.4 however it renders my page unresponsive. It seems to be stuck in some kind of endless loop, or maybe waiting for something, but the page is completely unresponsive with this version.
In fact, any attempt to display a table with a search results in the page getting stuck, including pages with a single table with constant data.
Regards,
Asaf.

To be sure that it wasn't something else in my project I reverted back to 3.3.3 and everything worked as it did before, moved again to 3.3.4 and everything is stuck again.

I probably know the problems, but I seems like got something wrong about your requirement.

did you use remote mode?
what's did you do in afterSearch??

I think I need more technical description and explain about your flow, thanks.

You're correct!
In my 'afterSearch' I update the state which triggers a render, and with your fix it now triggers the 'afterSearch' again and so on and so forth.
I added a simple 'if' to prevent this and now everything works fine.
Thanks :+1:

ok, please let me know if you still have any concern or trouble, thanks 👍

@asafweiss Could you tell me what was the condition you put for it to not trigger aftersearch twice as am facing the same problem thanks

@supiash1, please let me know your problem and show me your code but please keep it simple and minimal, thanks


reinit Datepicker

I have an issue, but I'm not certain if it is a bug or a feature.
I'm trying to use a datepicker input inside a table, and I need to add more rows to the table through a button. However, since this new row doesn't exist in the DOM yet, because it's being created with a template, and the script from Flowbite has already run, the component of Datepicker isn't generated in the new field.
So, I tried to use initFlowbite(); to reload the Datepicker component without success.
I was wondering if there is any other way to do that or if there is something like an initModal() or initDropdown() function that I can use.
I'm not using any framework, just pure html and js combined with Flowbite(1.7.0).
To reproduce the behavior:

Add a datepicker field after the js from Flowbite had already run.
There is no way to generate the component for the calendar.

1-Before the fields were created

2-After the fields were created

3-Calendar wasn't generated

Browser [e.g. chrome, edge]
Version [e.g. 22]

Hey @Eduardo-XavierPaula,
We released v2.4.1 and made the datepicker a core component of the Flowbite JS.
You can now re-init it just like any other component, please read more here:
https://flowbite.com/docs/components/datepicker/#javascript-behaviour
https://flowbite.com/docs/getting-started/javascript/#instance-manager
Cheers,
Zoltan