Using other fields values in a custom validator

The docs include this example that shows how to write a custom validator for a field:
[
  {
    key: 'name',
    validationMessage: {
      'noBob': 'Bob is not OK! You here me?'
    },
    $validators: {
      noBob: function(value) {
        if (angular.isString(value) && value.indexOf('Bob') !== -1) {
          return false;
        }
        return true
      }
    }
  }
]

Is it somehow possible to use other field values in a custom validator? For example, if we want to apply the validation above only if model.gender == 'MALE'?

I would suggest not using $validators from the ui-schema, instead if you have a controller or a directive to manage it, then you can make scope available to it when you define it.

I would suggest not using $validators from the ui-schema

Based on the example above, it isn't possible to do this with $validators, because the validation function only provides access to the value of the field itself, or am I missing something?

instead if you have a controller or a directive to manage it, then you can make scope available to it when you define it.

Are you suggesting that I should implement this with an addon?
One solution I'd considered is to define an addon which validates the field by calling back into a function defined in the form/schema with this signature
function (fieldValue, model) { }

In the case of my example above, the function would be defined like so:
function (fieldValue, model) {
  if (model.gender === 'MALE') {
    return angular.isString(fieldValue) && fieldValue.indexOf('Bob')
  }
  return true;
}

@donalmurtagh if you look at setting up defaults you can see the use of the provider to apply form attribute selection, you could apply your validator to f as the f value in the example is the form definition and I would expect that adding the validator here where it can access your scope would work and can be done within your controller or an add on.
Disclaimer: I have not tried it so cannot guarantee it works.

Im also having trouble here. I need to make sure several values are not the same but I have no access to the model in my validator.
@Anthropic, your suggestion above seems it would affect every instance of that type of field. That doesn't seem viable, or the right way to do things. Even if we managed a way to turn that specific validator on or off we still have the issue of integrating with schema form / tv4. How do we set validity of the field? How do we set validation messages? It seems like a lot of work creating bespoke directives for every validation scenario when all we need is a second argument with a copy of the model.

@donalmurtagh
@Lorless the issue is $validator is not an ASF feature and it is passed directly to Angular as is, Angular is the one that only passes a single model value to the function.
I suspect you could try using a wrapper around the code that adds the validator, change
      [ '$validators', '$asyncValidators' ].forEach(function(attr) {
        // Check if our version of angular has validators, i.e. 1.3+
        if (form[attr] && ngModel[attr]) {
          angular.forEach(form[attr], function(fn, name) {
            ngModel[attr][name] = fn;
          });
        }
      });

Into this
      [ '$validators', '$asyncValidators' ].forEach(function(attr) {
        // Check if our version of angular has validators, i.e. 1.3+
        if (form[attr] && ngModel[attr]) {
          angular.forEach(form[attr], function(fn, name) {
            ngModel[attr][name] = function(modelValue, viewValue) {
              return fn(modelValue, viewValue, scope.model, form);
            };
          });
        }
      });

If one of you want to try that and see if you could get it working I'd love confirmation it works or a PR or even just details on modifications to get it working :)

Please re-open if you do not feel the question has been answered sufficiently.

Didn't mean to close, if someone can confirmt the solution I suggested works or offer suggested changes it would be a great help toward the issue :)

@Anthropic Ill test this out tonight :)

@donalmurtagh @Lorless any feedback?

@Anthropic not yet, but it's still very much on my radar. I expect to get to this within the next week or two. Sorry for the delay.

You can access other field values in the validator function (third parameter):
$validators: {
  foo: function(newValue, oldValue, form) {
    if (form.bar === 'Male') {
      // do domething because it's male (that's sexist)
    }
  }

@tivie thanks, that's very useful to know. This should be added to the docs


GSLUX-584: Styles & premalink

JIRA issue
https://jira.camptocamp.com/browse/GSLUX-584
Description
reverted style definitions to previous version to repect permalinks
write serial to URL and style to local storage
Screenshots
(only if the final render is different)

Thanks for the adaptions @mki-c2c ! Persisting and restoring works fine now, with one small exception. When I remove only the serial param from the URL, the value from the localStorage is not used. If I remove all query params it works. Some e2e tests would be really helpful here (I think we already have a separate ticket for this:-)


Missing PyPI meta data

Some package metadata (classifiers) is missing.

[ ] Project stability.
[ ] Compatible Python versions.

Adding these enables adding additional shields to the README (similar to #7).

This might be a good time to consider releasing version 1.0.0 of the package too. It's stable and in use after all.


Depedencies migration

angular 6
rxjs 6
typescript 2.7.2
Fix gulp task as the interface changed
HttpClient
jsdoc warning prevents success build
demo project refer to built ngx-avatar for testing.

"ngx-avatar": "file:../dist"

Any luck to have this merged?

Thank you so much for your contribution and I'm sorry for the late reply. I changed the structure of the library to use Angular CLI and I just released a new version that supports Angular 6


Add QC for barcodes

Use HT Seq to assess whether most frequent (top 5) barcodes match expected barcode list - if they do not match then stop the pipeline from completing

fixed with commit c1088e975a0cd9d83dbf77d04c9362c83e40793c

fixed with commit c1088e975a0cd9d83dbf77d04c9362c83e40793c


I'm on vacation till November 21 🏄♂

I'm on vacation till November 21.
I won't be checking GitHub and won't bring my laptop. See you all soon!

https://media.tenor.com/iIs1G2PyzBcAAAAd/najman-marcin.gif

Hey @folke hope all is good? Do you need support reviewing all the different PRs that have been queued up here?

All good, sorry for the delay on a lot of Neovim stuff!
I've been busy with traveling and lots training. When I'm not coding, I run ultra marathons :)
I just created a new release that includes two fixes for some things that were broken on nightly.
Busy day tomorrow and this weekend, but I'll have more time to get through the other things on Monday.
I'll keep this issue open till then.

@folke things I would like to see merged:

https://github.com/LazyVim/LazyVim/pull/2213 (due to missing up-to-date java-test/java-debug packages in std mason)
https://github.com/LazyVim/LazyVim/pull/2115 (project specific plugins - YAY)
https://github.com/LazyVim/LazyVim/pull/2192
https://github.com/LazyVim/LazyVim/pull/2178
https://github.com/LazyVim/LazyVim/pull/2088
https://github.com/LazyVim/LazyVim/pull/2071
https://github.com/LazyVim/LazyVim/pull/2137
https://github.com/LazyVim/LazyVim/pull/1980
https://github.com/LazyVim/LazyVim/pull/1968

Cheers and have a great x-mas time :)

Is this project still alive?

Well, there are still active contributors who try to help other people and also make PRs to improve the current state of LazyVim. Lazyvim is still operational as it is (with some minor exceptions to some specific lang extras that can be solved with local changes in your personal configuration if you incorporate some PRs yourself). Hopefully the maintainer will return soon.

Are we in a moment where we just fork the project and keep the development in it instead of waiting for the guy?

@scarletquasar , it seems like there are others with the commit rights to this repository.

2 months ago :/

Are we in a moment where we just fork the project and keep the development in it instead of waiting for the guy?

I honestly hope that @folke is alright and will show a sign of life anytime soon.

 It's been just 2 months, LazyVim still works and we are not entitled to their time.
Just give them some slack.

Just wondering if any fellow contributor, close to @folke tried to contact him and just ask. I mean any other platform than github.

On his twitter, under likes, there are a couple of tweets that were 'liked' a few days ago. Hope he's okay.

My personal two cents (and I'm a complete nobody) is Folke has done more than enough to earn our trust. Even the design of LazyVim, lazy.vim and everything else he's built is in the spirit of flexibility and freedom to configure, extend, override to your heart's content. I'd recommend doing just that, rather than expecting updates to flow through the official pipeline.
I trust that Folke will officially make a statement if he feels he's no longer able to support this project. Or, he'll come back when he's ready and be his usual awesome self. Until then, I'm just going to apply updates and fixes locally, and hope that Folke is living his best life, whatever that may be.
❤

Hopefully soon :heart:

@folke have fun :-)

I'm off again till the end of the week


chore/implement-against-key-loader-interface

LcobucciJWSProvider currently takes an instance of RawKeyLoader as an argument in the constructor instead of an instance of the interface KeyLoaderInterface which gets implemented by the RawKeyLoader class.

@chalasr can be merged now :)

It took time, but here we go, this is in now. Thank you very much @TiMESPLiNTER.


Tried to swap on chain to Lightning with out luck

Hi, I recently sent 100k sats on chain to my Mutiny wallet. Worked perfectly👌🏽
Tried to swap 50k of them to Lightning for trying it out on one of my Nostr clients.
It didn’t go through and the attempt costed me around 12k which I don’t quite understand. Except the around 1700sat fee for opening the channel (which didn’t go through)
Not sure what I should have done differently and what is needed to add here to help you understand what’s going on. So have just added som screen dumps of what I’m seeing:-)
Hope this helps.

The error you got normally happens when you have the wallet open on multiple devices, did you do that?

hi Ben.No, I have only been tinkering with Mutiny on my phone.RegardsBird1984On 23 Jul 2023, at 21.21, benthecarman @.***> wrote:
The error you got normally happens when you have the wallet open on multiple devices, did you do that?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Vim9: 'cpoptions' wrongly cleared when qf filetype plugin sourced from qf buffer

Describe the bug
In Vim9 script, 'cpoptions' might be wrongly emptied when the quickfix filetype plugin is sourced from a quickfix buffer.
To Reproduce
Run this shell command:
vim -Nu NONE -S <(cat <<'EOF'
    vim9
    var dir = '/tmp/vim-qf/after'
    &rtp ..= ',' .. dir
    mkdir(dir .. '/ftplugin', 'p')
    writefile(['vim9'], dir .. '/ftplugin/qf.vim')
    filetype plugin on
    sil helpg grail
    cw
    sil helpg grail
    echom '&cpo = ' .. &cpo
EOF
)

&cpo = is echo'ed.
Expected behavior
&cpo = aABceFs is echo'ed.
Environment

Vim version: 8.2 Included patches: 1-2282
OS: Ubuntu 16.04.7 LTS
Terminal: xterm(363)

Additional context
Regression introduced in 8.2.1870.

The issue disappears if the filetype plugin is written in legacy Vim script (i.e. if :vim9 is removed from the top of the file):
vim9
var dir = '/tmp/vim-qf/after'
&rtp ..= ',' .. dir
mkdir(dir .. '/ftplugin', 'p')
writefile([''], dir .. '/ftplugin/qf.vim')
filetype plugin on
sil helpg grail
cw
sil helpg grail
echom '&cpo = ' .. &cpo

I have found another case where 'cpo' is unexpectedly cleared; although I'm not sure it's a bug:
vim -Nu NONE -S <(cat <<'EOF'
    vim9
    writefile(['vim9'], '/tmp/s.vim')
    sil e /tmp/s.vim
    set cpo=aABceFsMny>
    so %
    :1d
    sil w
    so %
    echom &cpo == ''
EOF
)

true

It might be a corner case which doesn't warrant any fix.  It's caused by the fact that we source a Vim9 script, then later re-source it as a legacy script.


Upgrade Python and GitHub Actions

Most of this could be automated by a PR like:

https://github.com/akx/pyproject-migrator/pull/6

Thanks for the PR! Apparently lint failed here, so I did the usual ruffification and these upgrades along the way in #18.


Write a C++ program to find area of a cube

Description
Write a C++ program to find area of a cube
Area of cube = 6 × Side^2
Side : 2

Area : 24

How to contribute

Save the solution in program/FindAreaOfACube.cpp file
Add FindAreaOfACube.cpp file in find-area-of-a-cube folder

!assign

Hey @curious0207,
This issue has been assigned to you for more than 15 days.
We are unassigning you from this issue.
If you are still interested in contributing to this issue, please get auto-assigned on the issue by commenting !assign again.
Thanks for your contributions :)

!assign


Use common error on exec.LookPath

LookPath is already expected to return the common exec.ErrNotFound error, but it does not do that when it is called with a leading /.
This treats the error returned by io/fs, so it gets properly translated to the expected and common error for such not found scenarios.
This is to prevent workarounds like https://github.com/twpayne/chezmoi/pull/1608.

@googlebot I signed it!

Closing as per the comments in Gerrit.


Where can I find the information about zone.js's  target platforms  ?

IE9+ ?
I want to use zone.js in our projects,  but I can't find the information about  browser support.

Now it will be the same with Angular


SAK-45992: Fixed Bullhorn Notification for group assignment with futu…

…re open date

Thanks, i have changed it to openTime.isBefore.
Best regards


bug: Depth-first search relies on undefined set iteration order

https://github.com/Opentrons/opentrons/blob/09a83ed868a3c73ced2593ea6407e6c8ba92de42/api/src/opentrons/algorithms/dfs.py#L37-L50
This says it's meant to return "the set of visited vertices in depth first search order," but set is unordered. See these official Python docs, and this Stack Overflow question.

I believe MoaM relies on this code. Anecdotally, sets being unordered is a thing that has tripped me up. I feel like this is a fairly risky bug and I'm going to mark is as 5.0 accordingly

The return comment may not be right but it also shouldn't matter what order these values are returned in as long as that order is consistent with the same input.


Update catalan translations

Update catalan translation (both po and php) for sources changes up to Apr 23rd 2018, 07:35.
Now I learned how to generate the hstrings.php file with util/po2php.php !

please make pull requests to master branch next time. thanks!

Sorry, i can't cherry-pick those commits back to dev due to huge merge conflicts. You will need to create a new pullrequest against DEV branch. Otherwise those changes will be lost in the next majoe release.

I wasn't fully aware of the workflow, I'm sorry. I have already created PR #1190 from dev branch to dev branch. I hope it's okay now :cat:


What's the purpose of ArraySerializableInterface?

Why it is not used internally, for ArrayObject for example?
Why its exchangeArray interface isn't compatible with both \ArrayObject and \Zend\Stdlib\ArrayObject?

It is used primarily by the zend-hydrator components, in order to allow array-like objects to indicate they are serializable. In most cases, we will check for one of either ArrayObject or Zend\Stdlib\ArraySerializableInterface in order to determine if we can use that strategy for de/serialization purposes.
In the future, please ask questions in either:

Chat
Forums


Settings Customization

Describe the feature you'd like
In relation to #5103 by @okaeiz, can we request that also in the settings page, whatever applied custom head content in the block, the settings page will also be affected? Maybe we can it as an entry to the .env file or a checkbox in the settings? Again, thanks for these amazing app. It was absolutely game changer!
Describe the benefits this would bring to existing BookStack users
Users can opt out to customize the ui of the settings page.
Can the goal of this request already be achieved via other means?
More granular way of customization.
Have you searched for an existing open/closed issue?

[X] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?
3 months to 1 year
Additional context
No response

Hi @dlastnoel,
Thanks for the request.
It would be good to understand an actual use-case for this to understand it's actual value since this is not a common request, and I'm not keen on adding settings/options to ensure additional methods of customization in edge-cases, particular where there are alternative means.
You could alternatively use the logical theme system to override a template and add your own code to customize all views (including settings).

Hi @dlastnoel,
Thanks for the request.
It would be good to understand an actual use-case for this to understand it's actual value since this is not a common request, and I'm not keen on adding settings/options to ensure additional methods of customization in edge-cases, particular where there are alternative means.
You could alternatively use the logical theme system to override a template and add your own code to customize all views (including settings).

Hi! I just think making it uniform is a bit more consistent. I don't know for the others but for me it is. Maybe we opt out for a pull request if someone may actually do it? Hehe cheers!

I wouldn't really look to merge a PR if it's adding extra settings just for this. I prefer not to have settings just to account for edge-cases, especially if the desire can be achieve via other means.

I'm going to go ahead and close this off as per my reasoning above.


Adding host configurations for F# templates

Adding host configurations so these templates can be picked up by the VS project UI

@phenning Updated

cc @Eilon Merging this in for release/2.1


documentation on local build processes

[ ] verify build process for mac
[ ] verify build process for windows
[ ] verify build process for ubuntu

I created instructions on how to create Lens locally on your computer here:
https://github.com/LibreLens/lens/blob/docs/build-locally/README.md#build-lens-on-your-own-system
It would be great help if somebody could validate that the instructions run on their target system.


zombies from gamemode should know who all the IIs are

Description
the II in zombies gamemode are presumably organized bioterrorists or syndicate operatives since they all know they are carriers and can turn at will, they should also know their fellow operatives so they can actually plan instead of 5s into the round someone turns in medbay and ruins any kind of plan others could have.
if zombies are told who the others are in character menu and/or the greeting message they are encourage to plan something with the others

II also should have the zombie icon?

Seems like a good buff considering the recent removal of Command and Security II.

But do they really? The players controlling them do, but the characters presumably don't. It's one of the cases where for gameplay reasons "it couldn't have been implemented any other way". Characters being II without player knowledge or turning without player input just doesn't make sense. Players knowing their character is II doesn't mean the characters themselves know about their condition.

they do know, since they are expected to act as antagonists before turning

the amount of times i have chosen another initial infected as a first target is insane

implemented in #25934


Speedup docker builds

GHA allows 20 concurrent jobs. So make use of it.
https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions#usage-limits

Hi Thanks
I was also thinking about that release building can be cached if no source files are changed
And ffmpeg install could be aslo cached in docker file (which seems that currently are not cached):
https://github.com/bpatrik/pigallery2/blob/3f7751024eb3156147fe264e404ad92d2a5c222d/docker/debian-stretch/Dockerfile.build#L22

Since instances are created and destroyed, there is no cahce to be used.
--cache-from https://github.com/docker/buildx#--cache-fromnametypetypekeyvalue should help.

If it doesn't work as intended, you can always create your own base contianer and use that for the relase stage.

thanks!


fix batch loop to exit gracefully on sigint

Should now be able to control-c once when batching and have the sim exit gracefully!

For me this is a little too good at quitting, see below for what it's doing, without me hitting Ctrl-C...
[mbari_wec_batch-1] [ruby $(which gz) sim-17] #10   Object "/home/hamilton/mbari_wec_ws/install/buoy_gazebo/lib/libNoOpController.so", at 0x7f508022336b, in void __gnu_cxx::new_allocatorrclcpp::Node::construct<rclcpp::Node, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&>(rclcpp::Node*, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)
[mbari_wec_batch-1] [ruby $(which gz) sim-17] #9    Object "/opt/ros/humble/lib/librclcpp.so", at 0x7f508048ffd6, in rclcpp::Node::Node(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, rclcpp::NodeOptions const&)
[mbari_wec_batch-1] [ruby $(which gz) sim-17] #8    Object "/opt/ros/humble/lib/librclcpp.so", at 0x7f50804982f0, in rclcpp::node_interfaces::NodeBase::NodeBase(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::shared_ptrrclcpp::Context, rcl_node_options_s const&, bool, bool)
[mbari_wec_batch-1] [ruby $(which gz) sim-17] #7    Object "/opt/ros/humble/lib/librclcpp.so", at 0x7f5080471838, in rclcpp::exceptions::throw_from_rcl_error(int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, rcutils_error_state_s const*, void (*)())
[mbari_wec_batch-1] [ruby $(which gz) sim-17] #6    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f50b2eae23d, in std::rethrow_exception(std::__exception_ptr::exception_ptr)
[mbari_wec_batch-1] [ruby $(which gz) sim-17] #5    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f50b2eae2b6, in std::terminate()
[mbari_wec_batch-1] [ruby $(which gz) sim-17] #4    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f50b2eae24b, in
[mbari_wec_batch-1] [ruby $(which gz) sim-17] #3    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f50b2ea2bbd, in
[mbari_wec_batch-1] [ruby $(which gz) sim-17] #2    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f50b76287f2, in abort
[mbari_wec_batch-1] [ruby $(which gz) sim-17] #1    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f50b7642475, in raise
[mbari_wec_batch-1] [ruby $(which gz) sim-17] #0    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f50b7696a7c, in pthread_kill
[mbari_wec_batch-1] [ruby $(which gz) sim-17] Aborted (Signal sent by tkill() 2862466 11967)
[mbari_wec_batch-1] [ERROR] [robot_state_publisher-20]: process has died [pid 2862463, exit code -6, cmd '/opt/ros/humble/lib/robot_state_publisher/robot_state_publisher --ros-args -r __node:=robot_state_publisher --params-file /tmp/launch_params_l59darmb --params-file /tmp/launch_params_nmkm6df1'].
^C[WARNING] [launch]: user interrupted with ctrl-c (SIGINT)
[mbari_wec_batch-1] [WARNING] [launch]: user interrupted with ctrl-c (SIGINT)

A crash in the noop? That's.... different

I can't reproduce your crash... could you try sudo apt upgrade, sudo apt dist-upgrade, reboot, rebuild? Also, ensure you're on main for mbari_wec_utils and make sure you've checked out commit 7c62a1c in ros_gz: git checkout 7c62a1c

Is this the only branch that fails for you?
And just checking all the boxes, did you do an update before the upgrade (can throw a dist-upgrade in there for good measure too)?
$ sudo apt update
$ sudo apt upgrade
$ sudo apt dist-upgrade
$ sudo reboot

I can be in the office this afternoon, if you are available.

@quarkytale can you see if you get the same crash as @hamilton8415 ?

Tried this branch on docker with other repos updated and ros_gz on 7c62a1c, and ran the batch launch file. Apart from sim_pblog failing with:
[mbari_wec_batch-1] [sim_pblog-14]     from tf_transformations import euler_from_quaternion
[mbari_wec_batch-1] [sim_pblog-14] ModuleNotFoundError: No module named 'tf_transformations'
[mbari_wec_batch-1] [ERROR] [sim_pblog-14]: process has died [pid 5957, exit code 1, cmd '/home/developer/mbari_wec_ws/install/sim_pblog/lib/sim_pblog/sim_pblog --loghome batch_results_20230607113627 --logdir results_run_2_20230607113709/pblog --ros-args -r __node:=sim_pblog --params-file /home/developer/mbari_wec_ws/install/sim_pblog/share/sim_pblog/config/sim_pblog.yaml'].

(which is weird all rosdeps are installed)
I am not getting any crashes with the batch run, sim run 33 and still counting
[mbari_wec_batch-1] Sim run [33] for 5.0 seconds: door state='closed', scale factor=0.5, battery state=0.5, mean piston position=0.9, IncidentWaveSpectrumType=Bretschneider;Hs:3.0;Tp:14.0


Application crash on starting service

Looking at my Play Developer console it seems that on some devices the application crashes on boot. I am still unable to reproduce this issue

It crashes on my phone :/
I have no Android dev experience, I don't know the how much following will help you:
Specs
One Plus 3
Oxygen OS  9.0.5
Crates io for Android v1.5.2 from F-Droid
Bug
Steps to reproduce:

Have the app closed
Click on any crates.io URL in another app
Choose crates io app to open it
App shows a default Crate screen (v 0.0.0, ...), hangs, then crash

Reproducibility: 10/10
Notes
When opening directly, the app works as normal. If the app still shows up in the recents screen, the crates.io URL can be opened correctly.

I'll look into it thanks

I have fixed this issue.

Thanks! Any idea of the time it takes for F-Droid to offer the new version?

Last time it took couple a days before it showed up on F-Droid. I've made an new release on the playstore as well so that one will be up in 3-6 hours I think

I will attacht the APK to the release tag 1.5.3 in the meanwhile

you can find it here: https://github.com/Catman155/crates-io-android/releases/tag/1.5.3


Message don't always get updated on the UI

Hi, I have been using this framework for a while and I think it's really great. I have notice a situation where message don't get updated or sent to the UI. It seems the task gets discarded somehow.
For example, in the following code below during the on_chat_start
files = await cl.AskFileMessage(
    content=intro_message,
    disable_feedback=True,
    accept=[
        "text/plain",
        "application/pdf"
    ],
    max_size_mb=10,
    max_files=5,
    timeout=300,
).send()

msg = cl.Message(
content=f"Now, I will begin processing {len(files)} files ..."
)
await msg.send()

# process files - Note: this is a blocking operation
retriever = await process_files(files)
# Let the user know that the system is ready
file_names = "\n  ".join([file.name for file in files])
msg.content = (
"The following files are now processed and ready to be used!\n"
f"  {file_names}"
)
print("done1")
await msg.update() # This update never gets sent if the process file takes some time
await cl.sleep(1) # This delay added here gives a chance for the message below to get sent sometimes. The higher the value the more likely it gets sent
print("done2")
await cl.Message(
content=f"done processing..."
).send() # This message occassionally gets sent depending on how long it takes for the process_files section
print("done3")

Overall, it seems when there is a blocking task and when that task finish the msg.update(() never gets sent to the UI and for messages to get updated I needed to increase the delay value. Note, all the print statement works.
Any idea why this behaviour?

I am having the same issue while running the ChainLit app with GPT-4. Specifically, when posing longer questions that require additional processing time, there is a delay in receiving a response from GPT-4. However, even after obtaining the response, the frontend at localhost:8000 does not reflect the updated answer. The delay in frontend update becomes more apparent with more complex queries.

I am having a similar issue when sending a message to the front-end in an on_chat_start function.
I check that when I refresh the browser this function gets called in the back-end, but the message is sometimes shown in the front-end, and sometimes is not.

Yes, when I moved process_files towards a true async function the messages now get delivered. So it seems long running blocking operation sorts of timeouts the serer.


How to use visual editor with custom components?

Description
The library has the storyblokEditable action which allow the component to be used in the visual editor by adding this:
node.setAttribute("data-blok-c", options["data-blok-c"]);
node.setAttribute("data-blok-uid", options["data-blok-uid"]);
node.classList.add("storyblok__outline");

to the HTML element.
If the person wants to use a custom UI library, storyblokEditable won't work because actions cannot be used on components. There for something like this won't work:
<script lang="ts">
import { storyblokEditable } from '@storyblok/svelte';
import { Button } from 'my-reusable-ui-library';

export let block;
</script>

<Button use:storyblokEditable={blok} title={blok.title}/>

Is there a workaround for this, or another way to implement it on custom components?
Additional context
No response
Validations

[X] Follow our Code of Conduct

Hi @abranhe, Thank you for your message and sorry for the delay. We will get back to you shortly.

My workaround is using a wrapper div
`

`

Thanks for sharing @HalCodes!

Hi @abranhe , I see your question here, I just had the same problem with another framework (not Svelte, but the concept is the same), I solved it as shown by @HalCodes (super!), putting a div wrapper.
The problem here is that the custom component provided by the library doesn't pass and render in the HTML element the extra parameters.


ts-web/rt tests with keyvalue runtime

uses #37, cc @abukosek

can't get the testnet to work. pls help

this now runs locally. something's getting tied up in initialization or something, with the first insert call taking ~25 seconds.
might have some issue running on CI, because when I run it locally, it fails for a while with client: not finished initial sync. will need to add a wait for that

this now runs locally. something's getting tied up in initialization or something, with the first insert call taking ~1 minute.

That's normal as it requires some initial epoch transitions to set up committees.

getting stream reset from client-0's internal.sock on the first WaitReady call, according to envoy. but client-0's logs say it never even received a request. can't reproduce this locally.

seemed to be a CORS thing. the cypress test was pointed at the wrong port. dunno why it worked locally though

thanks, I'll rebase


Investigate how Gateway API is supported in other Open Source gateway products

Products to Investigate:

Envoy Gateway
Kong
gloo
emissary
...

Questions to Answer:

How are routes belonged to different gateways managed?
How are data plane clusters managed/deployed, automatically or manually?
...

我申请参与下～

我可以尝试一下


Can't use gitea for Linux kernel source code fork

Gitea version (or commit ref): 1.11.3
Git version: 2.17.1
Operating system: ubuntu 18.04
Database (use [x]):

[ ] PostgreSQL
[x] MySQL
[ ] MSSQL
[ ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
Can't use gitea for Linux kernel source code fork or any big repository. Fails to open in web interface with error 500 and error message 'context deadline exceeded'.
I know you received similar complains before for slow load on big repositories, but I thought that it's important for you to know that gitea does not work for any larger repository. It's not just kernel, there are other projects that can't load on gitea, but kernel might be most popular choice among this big repositories :-).
One solution might be ability to turn off preview of last commit message in repository view.
I would be happy with it, its least important feature of them all, and tells nothing important about file or folder.
Screenshots

You could change git.timeout to a longer time.

It's also helpful to give us some of the logs so we can definitely which git command is timing out.


Irmin FS store on mirage

I am trying to build a irmin FS store on mirage OS.
module Store = Irmin_unix.Git.FS.KV(Irmin.Contents.String)
  (* Database configuration *)
  let config = Irmin_git.config ~bare:true "/tmp/irmin/test"

  (* Commit author *)
  let author = "xyz<EMAIL_ADDRESS>
  (* Commit information *)
  let info fmt = Irmin_unix.info ~author fmt

But I am getting the below error.

Error: No implementations provided for the following modules:
Checkseum referenced from /home/sahana/.opam/4.06.0/lib/decompress/impl/impl.cmxa(Impl__Decompress_safe),
/home/sahana/.opam/4.06.0/lib/decompress/impl/impl.cmxa(Impl__Decompress_window),
/home/sahana/.opam/4.06.0/lib/decompress/impl/impl.cmxa(Impl__Decompress_inflate),
/home/sahana/.opam/4.06.0/lib/decompress/impl/impl.cmxa(Impl__Decompress_deflate),
/home/sahana/.opam/4.06.0/lib/git/git.cmxa(Git__Crc32)
Digestif referenced from /home/sahana/.opam/4.06.0/lib/git/git.cmxa(Git__Mem),
/home/sahana/.opam/4.06.0/lib/git-unix/git_unix.cmxa(Git_unix),
/home/sahana/.opam/4.06.0/lib/irmin/irmin.cmxa(Irmin__Hash)
Command exited with code 2.

Should I pass the file as a device or something? Not sure what the error means.

The error is due to a use of virtual_modules by checkseum (and digestif). The mirage tool does not know the default implementation of it and it can not select the right *.cmx) (note that this error is fixed with dune but MirageOS 3 does not yet use dune).
To fix it, you must choose which implementation you want and put a _tags file (needed by ocamlbuild) such as unipi or some others unikernels.
In the example, we choose the C implementation (eg. checkseum.c and digestif.c) which is fast but you can use the OCaml implementation if you want.

How do you compile your example? If you are using dune it should pick a default implementation for you.

I am using the below commands:
mirage configure -t unix
make
./file

Thanks @dinosaure . It worked.


"Continue to PayPal" link in overlay opens a new tab

Description
There is an issue where the "Continue to PayPal" link from the overlay opens a new blank tab. The following log is shown in the console:
index.js:574 ppxo_close_no_token_cancelurl { country: "US", env: "sandbox", host: "www.sandbox.paypal.com", lang: "en", pageID: "9f3e9e203b", path: "/webapps/hermes/button", referer: "http://localhost:3000", timestamp:<PHONE_NUMBER>699, uid: "ddc9c0015b", ver: "4.0.161", windowID: "da6da5107f" }

parent.js:172 Unsafe JavaScript attempt to initiate navigation for frame with URL 'about:blank' from frame with URL 'https://www.sandbox.paypal.com/webapps/hermes/button?version=4&env=sandbox&style.size=responsive&style.shape=rect&style.label=credit&sessionID=ddc9c0015b&funding.disallowed=venmo&funding.remembered=paypal&locale.x=en_US&logLevel=warn&uid=f6d8cf1b75&xcomponent=1'. The frame attempting navigation is neither same-origin with the target, nor is it the target's parent or opener.

This is a bit of edge case but would be good to catch it in the JS.
Video of behaviour: http://recordit.co/nqhph32Wgw
paypal.version="4.0.161"
Google Chrome: Version 61.0.3163.100

Steps to reproduce
You can reproduce this on https://developer.paypal.com/demo/checkout/#/pattern/client

Click the PayPal button
Close the PayPal window
Immediately click the "Continue to PayPal" button

Affected browsers

[x] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge
[ ] IE
[ ] Chrome Mobile/Tablet
[ ] Safari Mobile/Tablet
[ ] Web View / Safari ViewController
[ ] Other

Thanks for the heads-up! We have a fix in for the next release.

Great, thanks!

Is this fixed yet? I can reproduce the behavior in Firefox if I click the overlay just in the moment when the payment has finished before the redirect kicks in.

@rewb0rn can you open a new issue with details if you're still seeing a problem here? Thanks


Bumped jest version to 22.4.1

Bumped jest version. Is this all that needs to be done? I'm unfamiliar with the whole project structure so if there's more that needs to be done, please advise.

Please also update it at the top level of the repo and in all other packages that rely on it as devDependency.

@gaearon It looks like the build timed out or something. Please advise.

The build passed on Appveyor. It seems like all recent builds have been timing out on Travis when running with Node 6.

Even outside this PR? Was some PR the catalyst for this or is it a Travis issue?

I'm seeing similar issues with #4361 and #4350. The Node 6 kitchensink build either times out on Travis or ends with EOF or broken pipe errors.

When they said node 6 is reaching EOL they really meant it 😂

It's actually Node 4 that's EOL at the end of April.

Ah, right. node 6 is just entering maintenance mode. No idea why the CI is missbehaving.


Implement AVIF Image Format Support

This PR introduces support for the AVIF image format in the SwiftGD library. The addition of AVIF format capabilities enhances the library's versatility, aligning it with modern image processing standards.
Changes

AVIF Formatter Implementation: Added AVIFFormatter structures, conforming to LibGdImportableFormatter and LibGdExportableFormatter, to handle AVIF image import and export.
Enum Extensions: Updated ImportableFormat and ExportableFormat enums to include the AVIF format, allowing for seamless integration of AVIF handling in the existing SwiftGD workflow.
Testing and Validation: Conducted tests of AVIF images to ensure proper functionality and integration with the existing codebase.

Motivation
AVIF, as a modern and efficient image format, is increasingly being adopted for its superior compression and image quality. Integrating AVIF support into SwiftGD ensures that the library remains up-to-date with current image processing trends and technologies.
Impact
This addition provides SwiftGD users the ability to work with AVIF images, extending the library's applicability to a broader range of projects and use cases. It also ensures compatibility with web and application development standards that are increasingly incorporating AVIF.
Looking forward to your feedback and suggestions for any further improvements.

This is great – thank you! Are you happy for me to go ahead and merge this now?


[Feature]

What problem does this feature solve?
Y轴上的单位如何写成指数型式，比如m3改成上标
What does the proposed API look like?
no

See also https://github.com/apache/echarts/issues/15858#issuecomment-940589952


Delete ant build

Quite a few people seem to be getting confused with both the gradle and the ant build being around, we want to deprecate and remove the ant build. I would just push a patch that deletes it, but I'm not sure if there's still anything that it does that the gradle build doesn't do. What do people think?

Does it currently support all the tasks to build C# and C++ like the old Ant file did?

Speaking of the old ant file... How does one build C++ at the moment?  The README told me to do "ant cpp:test".  Which gives me this, on my Mac:
$ ant cpp:test
Buildfile: /Users/ericb/Google Drive/GitHub/simple-binary-encoding/build.xml

init:

cpp:compile:
       [cc] 2 total files to be compiled.
       [cc] clang: error: no such file or directory: '"/Users/ericb/Google Drive/GitHub/simple-binary-encoding/main/cpp/otf_api/Ir.cpp"'
       [cc] clang: error: no such file or directory: '"/Users/ericb/Google Drive/GitHub/simple-binary-encoding/main/cpp/otf_api/Listener.cpp"'
       [cc] clang: error: no input files

BUILD FAILED
/Users/ericb/Google Drive/GitHub/simple-binary-encoding/build.xml:847: gcc failed with return code 1

Total time: 0 seconds

You could remove the java tasks from the ant build and prompt the users to run the gradle build instead.

Unless they have been added, the building of the OTF IR codec isn't in the gradle build. But it can be added.

I'll take a look at fixing this properly on Sunday.

@strangelydim the C++ build has been ported to cmake. I've updated the README to reflect this.


do we want / can we generate collections & containers in the place of the subject map?

(the same question holds for the predicate map where I'm a bit more certain that we shouldn't do)


Babel-Jest doesn't support Babel 7

🐛 Feature
To Reproduce
npm install @babel/core babel-jest
./node_modules/.bin/jest
Requires Babel "^7.0.0-0", but was loaded with "6.26.3". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.
Expected behavior
I would like for this to be supported.
Link to repl or repo (highly encouraged)
Please provide either a repl.it demo or a minimal repository on GitHub.
Issues without a reproduction link are likely to stall.
Run npx envinfo --preset jest
Paste the results here:
$ ./node_modules/.bin/jestnpx envinfo --preset jest
-bash: ./node_modules/.bin/jestnpx: No such file or directory
$ npm install jestnpx
npm ERR! code E404
npm ERR! 404 Not Found: jestnpx@latest

npm ERR! A complete log of this run can be found in:
npm ERR!     /.../.npm/_logs/2018-06-15T20_00_03_861Z-debug.log

We're seeing this too, here's the output of our envinfo:
npx envinfo --preset jest

  System:
    OS: macOS High Sierra 10.13.5
    CPU: x64 Intel(R) Core(TM) i7-7920HQ CPU @ 3.10GHz
  Binaries:
    Node: 9.11.1
    Yarn: 1.5.1
    npm: 5.6.0
  npmPackages:
    jest:
      wanted: ^22.4.2
      installed: 22.4.3

It does work with babel 7, please read the docs: https://facebook.github.io/jest/docs/en/getting-started.html#using-babel

It doesn't work with Babel 7 following the docs.
npm install<EMAIL_ADDRESS>--save-dev
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

@lloydjatkinson, while this doesn't solve your problem, to install babel 7+ you have to include the @ prefix
npm i<EMAIL_ADDRESS>

I have to agree with @lloydjatkinson.
I'm no stranger to babel configs, but this definitely does not work. I'm trying one final Hail Mary of clearing out all my node modules and cached versions, but my hopes are very low.
I'm using a babel.config.js file. Is this a potential problem? If this is not the cause, I have to conclude that the documentation for Babel 7 is insufficient or wrong.
@paulcbetts, were you able to get this working?


Accessibility: Lag when reading a long file using the NVDA screen reader

Issue Type: Bug
(1) make a 1100-line text file which contains "1" to "1100" separated by a newline. The content does not matter; it just needs to be longer than 1000 lines.
(2) Open the file using Visual Studio Code.
(3) Go to the 999th line and try to read the previous and next lines by using up / down arrows. There is a 500 to 700ms lag approximately here.
(4) Go to the 1001st line. There is no lag at all.
(5) Same can be applied at line 1999 to 2001, line 2999 to 3001 and so on.
(6) Note: Changing editor.accessibilityPageSize to 1 seems to eliminate the lag, but my understanding is that it is a temporary solution.
VS Code version: Code - Insiders 1.56.0-insider (bb90ba3d5a5f8d114045b045f3bbe1ebc404f54a, 2021-04-07T12:30:14.880Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (8 x 1992)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.85GB (3.28GB free)

Process Argv
--crash-reporter-id 4cbda999-3df6-44c7-a9cd-c0f42279cba9

Screen Reader
yes

VM
0%

Extensions: none

@yncat thanks a lot for letting us know. This is discussed here https://github.com/microsoft/vscode/issues/41423
My question for you, if you add editor.accessibilityPageSize: 200 to your settings do you still see the lag?
If yes, what seems to be the largest number for which you do not see the lag
Also thanks for using Insiders 👏

Hello @isidorn . Thank you for your response!
First of all, if this issue needs to be discussed at #41423, please let me know.
I tested the performance with different page sizes. Here are what I've found so far:
Note: I'm setting the page size to a certain value, then trying cursor movement near the boundary of the pages (line 498 to 502 when page size is 500).

the lag is almost not noticeable until page size / line 500.
As the value goes higher than 500, it starts to lag. Increase of the latency is obvious while I haven't noticed any performance issues when testing with 1 to 500.

I've also read the previously discussed issues. Is it correct that the latency is still caused by the textarea performance issue of Chromium?
I can still efficiently use VSCode by adjusting the page size option, so there's no urgent problem here. However, if the page size option will be deprecated in the near future, I would like the issue to be addressed before completely dropping the setting.

Yeah, let's continue the discussion there  #41423 and let's close this one as a duplicate.
Yes, latency is still caused by https://bugs.chromium.org/p/chromium/issues/detail?id=1076525
Due to this issue, we will actually not deprecate the pageSize setting. Once that issue gets fixed, we will remove it.
I was just asking these questions to find a good default for the pageSize setting, currently it is 500.


Add special flag to CMS preview requests

This affects the iframe used in the CMS for page previews. With this change, we can have the page behave differently based on whether it's a preview or not. The page itself would have to check for the parameter, nothing is done automatically.
Our specific use case is to prevent redirecting to another page, as it would normally. However this may also be useful in e.g. plastering a PREVIEW message, or having other preview-specific content.

It's not going to work, however, if you navigate to another page from the preview, is it? E.g. viewing page A, click page B in the menu, and the CMS interface + preview updates to page B.
Also, since this is a new feature, you'll need to put this in the 3.4 branch, since 3.1 is only accepting critical bugfixes (and 3.2 and 3.3 is only bugfixes too).

I've just tested it quickly on my machine and it sends CMSPreview=1 in the scenario you describe, where you navigate to another page in the site tree.
Have re-created PR here: https://github.com/silverstripe/silverstripe-framework/pull/4967
Thanks

Closed with https://github.com/silverstripe/silverstripe-framework/pull/4967


Fix mail notification is not sent; fixes #217

Codecov Report

Merging #218 into dev will increase coverage by 1.07%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##                dev     #218      +/-   ##
============================================
+ Coverage     71.19%   72.27%   +1.07%
  Complexity      212      212
============================================
  Files            76       76
  Lines           677      678       +1
============================================
+ Hits            482      490       +8
+ Misses          195      188       -7

Impacted Files
Coverage Δ
Complexity Δ

app/Models/Discussion.php
80% <100%> (ø)
5 <1> (ø)
:arrow_down:

app/Policies/DiscussionPolicy.php
55.55% <100%> (ø)
7 <0> (ø)
:arrow_down:

app/Notifications/BecameNewMember.php
75% <100%> (+38.15%)
4 <0> (ø)
:arrow_down:

app/Http/Controllers/MemberController.php
95.65% <100%> (ø)
5 <0> (ø)
:arrow_down:

app/Http/Controllers/DiscussionController.php
100% <100%> (ø)
4 <1> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Make ReferenceCollector use Queue for urls instead of List, Implement AddRange for ListWithPredicate

I'll take the List<T> -> Queue<T> change, but adding AddRange on ListWithPredicates<T> doesn't make sense because that type is internal and only ever exposed as IList<T>.

Ok, Updated the PR

Offtop: I would like to make more contributions to this repository. How can I contact you (discord, email) to ask some questions?

The best way to contact me is email brett.forsgren @ outlook.com.  It may sometimes take a few days for me to get to it because I'm getting flooded with kids'-school-from-home-because-of-lockdown stuff, but I will eventually get to it.


docs: fix NoteTaker description

Nice catch! Thank you. I’ve changed it because those descriptions are the same that are in the Workflows themselves.


Imprecise seeks in AirPlay or when a bluetooth headset is used

When using AirPlay or a bluetooth headset, the player does not seek precisely to the correct location immediately (but in its vicinity). We could probably mitigate this issue somehow.
To reproduce, run the unit tests with a headset plugged in. Tests require precise seeking will fail.

I doubt we can write a workaround for this issue (at best an issue, but probably difficult to defend since the offset is very small, yet relevant with the accuracy we require to detect segment transitions). For the moment, we will close this issue.

I found a pretty simple solution: We are already adding a small tolerance (1/10th of a second) when seeking to a segment to ensure that we start within the segment. When a Bluetooth headset is connected (which is easy to detect), we just need to increase this tolerance to eliminate this issue (3/10th of a second seems sufficient).


Improve Navbar nav-mobile-3

Need to improve this component: Navbar nav-mobile-3
Improvements required :
Design is not as per the Figma file
Any reference image?

Please assign me @Rajdip019


Make it possible to include the SDK in the darwin container.

Description:
When running fyne-cross with k8s, it is more efficient to build an image that include the SDK. This patch make it possible for fyne-cross to assume the SDK was packaged in the container.
Checklist:

[x] Lint and formatter run with no errors.
[x] Tests all pass.

In theory we could also by default check for a bundled SDK before return an error. What do you think?

I agree with this - even the new flag docs imply that it is an indication rather than a specified location. So why not just check if it exists before mounting an external location and/or erroring because one was not specified?

I am not to sure how you would check the existence of a file inside the container, any suggestion?

I am not to sure how you would check the existence of a file inside the container, any suggestion?

I don't have a specific suggestion - it was just an idea.
If it cannot be done then @lucor suggestion seems like a great one.

docker run ... fyneio/fyne-cross-images:darwin sh -c 'ls /sdk/path/to/file' and check for the error

That's working, nice!

Comment added!


DEVELOPER=yes ignored even when doing bulk -t or testport

Prerequisites

[x] Have you checked for an existing issue describing your problem?
[x] Are you running the latest version?
[x] Is your ports tree recent?
[x] Is your FreeBSD Host on a supported release?

Describe the bug
I set DEVELOPER=yes in a make.conf file. When I do any kind of run poudriere gives this warning:
Warning: DEVELOPER=yes ignored from make.conf. Use 'bulk -t' or 'testport' for testing instead.
That's fine for normal bulk runs, but it also happens when doing bulk -t and testport runs.
How to reproduce
Steps to reproduce the behavior:

Set DEVELOPER=yes in a make.conf file that will be appended
Do a poudriere bulk -t or poudriere testport run
Observe the warning about DEVELOPER=yes right after the "Appending to make.conf" lines at the start of the run

Expected behavior
DEVELOPER=yes should not be ignored by bulk -t or testport
Environment

Host OS [e.g. 12.2 amd64]: 12.2-RELEASE-p10 amd64
Jail OS [e.g. 12.0 powerpc]: 12.2-RELEASE-p10 amd64
Browser: [e.g. chrome, safari]: n/a
Poudriere Version [e.g. 3.3.1 or git hash or port version]: poudriere-devel-<IP_ADDRESS>10907_1
Ports branch and revision [e.g. 2020Q3 r550754]: main a7a9b15e4

bulk -t and testport purposely only set DEVELOPER at the appropriate stages. Having DEVELOPER set at other times can waste cpu cycles calculating stuff that doesn't matter or run into untested situations. Unless I am missing that DEVELOPER needs to be set somewhere that it is not with bulk -t/testport, then this is just a harmless warning. We could make the warning not show in bulk -t/testport but I think hiding the behavior is worse. We could remove the Use 'bulk -t' or 'testport' for testing instead. part when running those of course.
Do you need DEVELOPER set in make.conf all the time?

bulk -t and testport purposely only set DEVELOPER at the appropriate stages. Having DEVELOPER set at other times can waste cpu cycles calculating stuff that doesn't matter or run into untested situations. Unless I am missing that DEVELOPER needs to be set somewhere that it is not with bulk -t/testport, then this is just a harmless warning. We could make the warning not show in bulk -t/testport but I think hiding the behavior is worse. We could remove the Use 'bulk -t' or 'testport' for testing instead. part when running those of course.
Do you need DEVELOPER set in make.conf all the time?

I don't have it set all the time. It's only set when I'm doing bulk -t and testport. The normal bulk runs don't have it set.
It would be good to clarify the behaviour. Nothing in the documentation says poudriere sets DEVELOPER with bulk -t or testport, but if it's doing so for all of the places in the ports system where DEVELOPER alters behaviour, that's exactly what I want. A clarification of that warning could be:
Do not set DEVELOPER in make.conf. Poudriere sets DEVELOPER automatically when using bulk -t and testport.

I just bumped into this issue when adding a custom stage-qa step to my USES. The bsd.port.mk puts stage-qa into the stage sequence conditionally via
.    if defined(DEVELOPER)
_STAGE_SEQ+=	995:stage-qa
.    else

I do the same in my USES, but my target doesn't get run.


Hauler talent in Compendium shows duplicate effects

If you import it and delete one of the items, both are deleted.
Exporting the Item data doesn't show two Effects for some reason:
	"effects": [{
		"label": "Hauler",
		"icon": "icons/containers/bags/sack-leather-tan.webp",
		"origin": "Compendium.shadowdark.talents.7JTDRLtHc6FOrIEc",
		"changes": [{
			"key": "system.bonuses.hauler",
			"mode": 5,
			"value": "true",
			"priority": null
		}],
		"disabled": false,
		"transfer": true,
		"_id": "rqplFhIShnvmV0U4",
		"duration": {
			"startTime": null,
			"seconds": null,
			"combat": null,
			"rounds": null,
			"turns": null,
			"startRound": null,
			"startTurn": null
		},
		"tint": null,
		"flags": {}
	}],

Also, as this is a pre-canned effect, shouldn't it appear in the Talent Type(s) list?

On the Talent Type(s), I opted to make it a custom talent instead, as it will only be useful for this specific talent as it has a boolean flag!


Generic parameters are not visible in function parameters / returns

example:
code:
function ajax<R>(pUrl: string): Promise<R> {
....
}
generated doc:
ajax<R>(pUrl: string): Promise => no reference of the generic parameter in response
code:
class Test<Data>
{
testFunction(array: Array<Data>): Array<Data> {
...
}
}
generated doc:
Class Test<Data> => ok it's good
testFunction(array: Array): Array => no reference of the Data generic parameter

Hi paztis, thank you for sharing this. It's not a real bug, the type reflection is currently not aware of type parameters. I'll check into this one.

Thanks

Changes are in the repository, will be available with TypeDoc 0.2.3

Hey Sebastian,
I'm running into this same issue in the json file (this time I double checked and I have the npm 0.2.3 version ;)  When I generate the whole docs instead of just the json file, the type params show up correctly.
Let me know if you need me to send you samples of what I'm seeing, thanks!


Inference after training on 1 minute of custom video looks way worse than test clip

Do you think I should of made my video longer that I trained on or what I'm attaching results when using path from the torso training(which looked the best still bad) I trained a video that I talked in for 1 minute long. I also attached video I used to train but I muted audio to keep my data. The question is if it needs more training or a longer video or better video I'm not sure it is my first time training this model but I follow the steps for the 3 trainings in the instructions for epochs it recommended 99, 25 then 99 for torso.
inference -
https://github.com/ashawkey/RAD-NeRF/assets/89850986/e15fdcc9-8f31-4db1-94ec-70903b98b234
training data -
https://github.com/ashawkey/RAD-NeRF/assets/89850986/738f2cf9-1e31-4573-8084-aece151895e5

results after torso training before adding audio , it seems better than actual
https://github.com/ashawkey/RAD-NeRF/assets/89850986/4f25c568-7f26-480e-8a56-c1caccc65720
inference


Specifying developer-specific settings feels messy

Right now, the framework looks for a hard-coded folder in game.ReplicatedStorage named "DragonEngine_UserSettings", this isn't an ideal way to let a developer specify their configurations for the framework.
The code that merges the default settings and developer settings is also a bit buggy, in some situations the settings aren't merged properly.
I plan to redo how settings are loaded and specified.
A few initial ideas I had:

Perhaps settings should be specified via some API?
Perhaps fire a 'FrameworkLoaded' event or somesuch to tell the developer when to load their own configs? Downside to this : Loading is a bit slower as the developer's modules will be loaded AFTER the framework loads its own internal modules. This can result in a few extra seconds of loading time for the game, which isn't that great.

Closed in #72.


Digitial Preservation System compliance

Currently, the checksum generated by veidemann-warcvalidator is of the pre-DPS format of <32-char-md5>  <filepath>\n
DPS requires checksums of the following format <32-char-md5> *<filepath>\n. The files should also be called checksum_transferred.md5.
The checksum format should be changed as soon as the downstream implementations can support them. Things to bare in mind are that both rclone and veidemann-c-potet projects would need to be robustly tested with the new files being created by warcvalidator.
In addition, there is an argument that the creation of the checksums should not be done by this tool, especially if we want others to use veidemann too.

When generating a checksum file we try to mimic the output of the md5sum tool. The md5sum tool signals that a file has been read in binary mode (-b flag) by substituting the last of the two space separators with a  *.
Since the code is already reading the file in binary mode the only thing we need to do to comply is changing the separator here:
https://github.com/nlnwa/veidemann-warcvalidator/blob/86f4813532259a946df99d089aba8421b2c58c2e/src/main/java/no/nb/nna/veidemann/warcvalidator/service/ValidationService.java#L85


Custom prompt/seed for question generation

Is it possible to feed in a custom prompt into TestsetGenerator via the API? Alternatively, is it possible to modify the seed question prompt?
The only way I see of doing so is by modifying internal RAGAS code, would be useful to do so via the external API.

I'm looking to feed my own test set in and evolve the questions is this possible


Fix #249

Codecov Report

Merging #252 (e251986) into main (98db5da) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #252   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           58        58
  Lines         5597      5596    -1
=========================================
- Hits          5597      5596    -1

Impacted Files
Coverage Δ

blacksheep/server/bindings.py
100.00% <100.00%> (ø)

blacksheep/server/files/__init__.py
100.00% <100.00%> (ø)

blacksheep/server/controllers.py
100.00% <0.00%> (ø)

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 98db5da...e251986. Read the comment docs.


Coroutines doesn't support immediate cancellation

    const abortController = new AbortController();
    const { signal: abortSignal } = abortController;
    var promise = longCompute(abortSignal); // Get a Promise from Kotlin
    abortController.abort(); // Won't work

    // Workaround: await just a bit so the promise Kotlin is actually created and listen the `onabort`
    await new Promise((resolve) => {
      setTimeout(resolve, 0);
    });
    abortController.abort(); // Works

The first call to abort() should work.

Fixed by https://github.com/deezer/KustomExport/commit/c7a4ddc03ecb551c73f19d517e27695ea62ad09e (impacting v0.4.1 and previous)


Support multiple invocations of the same function

fn main() {
    effectful_fn("abc");
    effectful_fn("cde");
}

autobox-cli will currently overwrite all analysis of the first function with the second. These should be treated as separate function invocations, differentiated in some way other than just their name.

This is fixed.


Linked coverage report is missing

The coverage report linked in to https://github.com/riscv-non-isa/riscv-arch-test/blob/main/riscv-test-suite/README.md is missing and gives a file not found error.

The coverage reports have been moved to a different location(link). It is organized in the same structure as the test suite.

Yes, I found it, and added a READ ME to describe what this google drive
folder contains.
I suppose I should have created a google doc instead of a text file for
that; it looks pretty ugly.
I guess my real question is: do test developers know they're supposed to
place those files in the test directory? Or that they should be Zipped?
OR does that happen automatically when the new tests are merged (by the C/I
script)?
And, if that's the case: why do we need separate PR and Released
directories?
On Thu, Mar 9, 2023 at 5:00 AM S Pawan Kumar @.***>
wrote:

The coverage reports have been moved to a different location(link
https://drive.google.com/drive/u/3/folders/1KBRy6OgxnOPTDgyfJDj0gcMi5VdMLtVo).
It is organized in the same structure as the test suite.
—
Reply to this email directly, view it on GitHub
https://github.com/riscv-non-isa/riscv-arch-test/issues/320#issuecomment-1462024178,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHPXVJVF62QIYYGIDWOSCTDW3HH65ANCNFSM6AAAAAAVTRLT3Q
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Issue was resolved, closing this issue, in case of any problem, you can reopen it anytime


efk persistant storage

Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Feature Request

Environment:

Cloud provider or hardware configuration:
local vpshere

Currently, if the EFK stack is activated, it seems that it uses a volume called es-persistent-storage
which is hardwired and an emptyDir:
https://github.com/kubernetes-incubator/kubespray/blob/69ea28e1878b27ef5622a45aed0539347d66f893/roles/kubernetes-apps/efk/elasticsearch/templates/elasticsearch-deployment.yml.j2#L51
emptyDir is possibly not what you want if your cluster allows pvc's.
So an option that allows the usage of a (pvc) storage class would be nice -especially when your nodes do not have a lot of disk space (but do have a storage system with lots of space).
Perhaps I can provide a PR.
Anything else do we need to know:

btw: found this out because elastic completely blew up our node's disk space, triggering imageFS pressue which in consequence killed the elastic container :)

@McSlow the problem is if you do not add volume provisioning then you are not able to add pvc, so it should check lot of things before that :( but yes if you are willing to make PR please do, gladly will review.

Basically, a simple home-made version is here : https://github.com/wiremind/kubespray/commit/f9fc6be99f7ad9efe83a1cce90fe87f91c59850c
It does not contain all the checks, of course, so I'm not (yet? No time right now) making a PR.


⚠ Bofrost.fr has degraded performance

In c8fe3bb, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1963 ms

Resolved: Bofrost.fr performance has improved in d3d6b72 after 8 minutes.


Version tracker/cookies

Select users look for what pads have been edited in order to reach the final version (assuming users save/edit exclusively on dartpad), or to be able to open "recently viewed" pads.
May not be worthwhile due to security concerns.

Not worthwhile.


mobile: skip most example apps on main branch CI

This will save 7 macOS CI jobs for every main commit, reducing CI load.
The Swift and Kotlin "Hello World" example apps will still run on main branch CI.
All mobile CI jobs still run for PRs touching mobile files.
Tested with the following invocations:
$ GITHUB_JOB=swiftbaselineapp GITHUB_REF_NAME=main ./mobile/tools/should_run_ci.sh
Skipping swiftbaselineapp because current branch is main
$ GITHUB_JOB=swifthelloworld GITHUB_REF_NAME=main ./mobile/tools/should_run_ci.sh
Running swifthelloworld because current branch is main

Risk Level: Low
Testing: Yes, see above
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

/assign @phlax

/assign @RyanTheOptimist


Type relationship as list

:sparkles: Type relationship as list.
Currently, the plugin types relationships with uselist as Iterable[X], but these relationships actually expose a list with list semantics, including .append(), assignments, etc.
This PR updates the plugin to type those relationships with List[X] instead of Iterable[X].
Ref: https://docs.sqlalchemy.org/en/13/orm/relationship_api.html#sqlalchemy.orm.relationship.params.uselist
Ref of usage with assignment: https://docs.sqlalchemy.org/en/13/orm/tutorial.html#working-with-related-objects
Ref of usage with append: https://docs.sqlalchemy.org/en/13/orm/tutorial.html#building-a-many-to-many-relationship

Note: I'm by no means expert in mypy internals and its plugins, I'm not 100% sure the usage of ctx.api.named_generic_type('builtins.list', [new_arg]) is correct here, but I see that seems to be how it's used by mypy: https://github.com/python/mypy/blob/master/mypy/plugins/ctypes.py#L158

Fixes #152

Also, this PR doesn't take into consideration #107 (not that it has to).
IMHO List should be the default type for relationship fields due to argumentation provided above by @tiangolo . Then, support for other values of collection_class can be added.

I've just found #82, which this PR extends by adding tests.
I guess that the topic is a pain for many people :smile:

yes, this topic is a pain. is anything else needed before this can be merged?
thanks @tiangolo for raising/fixing.

Thanks for this! Just figured I'd bump @shawnwall 's comment, is anything else needed before this can be merged?

OK, I will merge this now. We can revisit then if this will cause issues with internal repos.

OK, I will merge this now. We can revisit then if this will cause issues with internal repos.

Awesome! Thanks @ilevkivskyi ! :rocket:

Awesome! Thanks @ilevkivskyi ! :rocket:


Global lodash doesn't get defined in console

I have the following in globals so I don't have to require lodash, but it doesn't work for sails console–which means I can't paste code from my project into the console without first [installing and] requiring lodash.
// ./config/globals.js
module.exports.globals = {

  /****************************************************************************
  *                                                                           *
  * Expose the lodash installed in Sails core as a global variable. If this   *
  * is disabled, like any other node module you can always run npm install    *
  * lodash --save, then var _ = require('lodash') at the top of any file.     *
  *                                                                           *
  ****************************************************************************/

	_: true,
};

This is because underscore is reserved in console. It gives you the result of the last command. This is not a sails issue.
This issue has been reported before.

Great, thanks!


[FEATURE] add code of conduct

What bug or feature you wants to report.
I want to add code of conduct.Please assign this issue to me

Go ahead @S-ishita, do it! ;)


HSEARCH-4001 Trigger reindexing when a property is modified, but not when the targeted entity is modified

https://hibernate.atlassian.net/browse/HSEARCH-4001

Merged, thanks


preferredContentSizeCategory is called from non-main thread

Bug
When using getFontScaleSync or getFontScale the iOS API application.preferredContentSizeCategory is called from non UI thread.  This prints an annoying log to the console and causes launch to pause for a few seconds.
Environment info
iOS
Library version: HEAD
Steps To Reproduce
call getFontScale on a hardware device (not simulator)
observe console
2019-10-30 16:59:40.013167-0500 MYAPPSNAME[502:81320] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication preferredContentSizeCategory]
PID: 502, TID: 81320, Thread name: (none), Queue name: com.facebook.react.RNDeviceInfoQueue, QoS: 0
Backtrace:
4   MYAPPSNAME                          0x000000010245d58c -[RNDeviceInfo getFontScale] + 84
5   MYAPPSNAME                          0x000000010245d998 -[RNDeviceInfo getFontScale:rejecter:] + 132
6   CoreFoundation                      0x000000019bda6d90 DA838E75-6B30-360E-9661-C4800A7E1BF6 + 1252752
7   CoreFoundation                      0x000000019bc76bd0 DA838E75-6B30-360E-9661-C4800A7E1BF6 + 7120
8   CoreFoundation                      0x000000019bc777a8 DA838E75-6B30-360E-9661-C4800A7E1BF6 + 10152
9   MYAPPSNAME                          0x000000010257eef0 -[RCTModuleMethod invokeWithBridge:module:arguments:] + 1896
10  MYAPPSNAME                          0x00000001025828ec _ZN8facebook5reactL11invokeInnerEP9RCTBridgeP13RCTModuleDatajRKN5folly7dynamicE + 660
11  MYAPPSNAME                          0x0000000102582460 _ZZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEiENK3$_0clEv + 144
12  MYAPPSNAME                          0x00000001025823c4 ___ZN8facebook5react15RCTNativeModule6invokeEjON5folly7dynamicEi_block_invoke + 28
13  libdispatch.dylib                   0x0000000103fbd828 _dispatch_call_block_and_release + 24
14  libdispatch.dylib                   0x0000000103fbec04 _dispatch_client_callout + 16
15  libdispatch.dylib                   0x0000000103fc5b74 _dispatch_lane_serial_drain + 744
16  libdispatch.dylib                   0x0000000103fc6710 _dispatch_lane_invoke + 448
17  libdispatch.dylib                   0x0000000103fd1ae4 _dispatch_workloop_worker_thread + 1324
18  libsystem_pthread.dylib             0x000000019babdfa4 _pthread_wqthread + 276
19  libsystem_pthread.dylib             0x000000019bac0ae0 start_wqthread + 8

Describe what you expected to happen:
UI thread checker should not print out warning

Hey I recognize @paddlefish from the react-native-gesture-handler issue, howdy :-)
I have never seen this, is it a special analysis you enable from Xcode? Or am I just not paying close enough attention? The example app seems like it would show it and I check it on physical devices before most releases
I suppose the fix is relatively easy in just doing something like
https://github.com/react-native-community/react-native-device-info/blob/master/ios/RNDeviceInfo/RNDeviceInfo.m#L680
https://developer.apple.com/documentation/dispatch/1452921-dispatch_get_main_queue

Hi Mike. I didn’t mean to make you research the solution :-). But I figured I should have an issue before I submitted the PR

Oh no problem - I just googled up the APIs. Most of the reason I maintain anything is because I procrastinate by learning more instead of scrolling on social networks. I was actually curious about how the error popped out, I'd never seen it, but I'm Android as a background so I've not played with any of the Xcode analysis tools

I think I ran into the error because I adopted the async apis right away. And maybe Apple prints this warning only if you run from within Xcode. I think if you used getFontScaleSync it might not happen(?)

I should probably run from Xcode more then and pay attention, I'm about 99% command-line at this point. that'll be my take away. Thanks!


Difference between WPF and Avalonia Logical Tree when applying styles

Describe the bug
There is difference between WPF and Avalonia Logical Tree when applying styles. In Avalonia its possible to actually target visual tree elements from style selector when it should not.
To Reproduce
The original repro was using Any Descendant Operator

I can't comment on WPF, but the Style Selectors in your Avalonia example don't appear to be using either of the Descendant or Child operators that specify they work on the Logical tree.  Given those two specifically call out the Logical tree I'd assume all other style selectors are based on the Visual tree.  The exception that proves the rule, and all that.

I can't comment on WPF, but the Style Selectors in your Avalonia example don't appear to be using either of the Descendant or Child operators that specify they work on the Logical tree. Given those two specifically call out the Logical tree I'd assume all other style selectors are based on the Visual tree. The exception that proves the rule, and all that.

I have changed samples to be same as WPF but you are right. Still Any Descendant Operator has the same issue:
<Style TargetType="CheckBox AccessText">

I can't comment on WPF, but the Style Selectors in your Avalonia example don't appear to be using either of the Descendant or Child operators that specify they work on the Logical tree. Given those two specifically call out the Logical tree I'd assume all other style selectors are based on the Visual tree. The exception that proves the rule, and all that.

Adjusted issues title/description.

Sounds like the same issue as described in this comment.


Alexa api get order state by email

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 5 committers have signed the CLA.:x: s.herwald:x: SergejHerwald:x: HeiwaJan:x: Androx765:x: SimonSchieblers.herwald seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Age and gener models

Could you upload to github the pretrained models of "utkface-gender-network.dat" and "adience-age-network.dat"?
Thanks in advance.

@alvaroiba
Very sorry. We should take care of license issue.
I don't know exact license of utkface and others.
So I can not upload pretrained data.
You can train them at your risk.
Thanks.

Hi @takuya-takeuchi : I finished running the training script for the Gender program.
I get the following error when I attempt to use it. Is this feature still a work in progress?

@atabora1
Thank you for your challenging.
Please check how to use age/gender estimation.
https://github.com/takuya-takeuchi/FaceRecognitionDotNet/wiki/Quickstart#6-agegender-estimation

Thank you, that worked ;)

@alvaroiba
Doesn't it usefull for you?
https://github.com/takuya-takeuchi/FaceRecognitionDotNet/blob/master/examples/CustomClassificationDemo/Program.cs

Thanks. Yes, this example is helpful. My mistake I was using an older example I had previously downloaded that didn't have the "using FaceRecognitionDotNet.Extensions;" statement. The Wiki link you sent me also didn't mention it so I was trying to figure out where this new function "SimpleGenderEstimator" came from.
No problem. Intellisense helped me figure it out.
Old code I was using. Once again, thanks for the quick response.
using System.Drawing;
using System.Linq;
using FaceRecognitionDotNet;
namespace CustomClassificationDemo
{
internal class Program
{

    #region Methods

    private static void Main()
    {
        var imageFile = "DianaPrincessOfWales_1997_36.jpg";

        using (var fr = FaceRecognition.Create("models"))
        using (var image = FaceRecognition.LoadImageFile(imageFile))
        using (var bitmap = (Bitmap)System.Drawing.Image.FromFile(imageFile))
        using (var g = Graphics.FromImage(bitmap))
        {
            var box = fr.FaceLocations(image, model: Model.Cnn).FirstOrDefault();

            using (var p = new Pen(Color.Red, bitmap.Width / 200f))
                g.DrawRectangle(p, box.Left, box.Top, box.Right - box.Left, box.Bottom - box.Top);

            var ageRange = new[]
            {
                "(0, 2)",
                "(4, 6)",
                "(8, 13)",
                "(15, 20)",
                "(25, 32)",
                "(38, 43)",
                "(48, 53)",
                "(60, 100)"
            };
            //var age = ageRange[fr.PredictAge(image, box)];
			var age ="(15, 20)";
            var gender = fr.PredictGender(image, box);

            var agePos = new PointF(box.Left + 10, box.Top + 10);
            var genderPos = new PointF(box.Left + 10, box.Bottom - 50);
            g.DrawString(gender.ToString(), SystemFonts.CaptionFont, Brushes.Blue, agePos );
            g.DrawString(age, SystemFonts.CaptionFont, Brushes.Green, genderPos);

            bitmap.Save("result.png");
        }
    }

    #endregion

}

}


Typography improvements: sans serif titles, non-default serif body

Rather than using a wide serif (Georgia), it would perhaps be better to use plain sans-serif for the titles (headings).
Additionally, it could be worth looking into a nicer-looking old-style serif for the body, rather than the default Times (New Roman) -- for example, Palatino (fontfamily.io, cssfontstack.com).
Wikipedia lists similar fonts that could be used to cover Windows (Palatino Linotype, Book Antiqua) and Linux (URW Palladio L, FPL Neu, TeX Gyre Pagella). It might be worth looking at which of these are the closest visual equivalents, as well as reasonably widespread, and adjust the font definition accordingly.

Also experiment with changing the headings to Hoefler Text/Garamond (a similar type with several variants, including open source ones), possibly with font-weight: normal, as seen on http://stevelosh.com (in combination with Palatino in body text).

After some testing, it looks like a good ordering is: 'Book Antiqua', 'Palatino', 'Palatino Linotype', 'URW Palladio L' for the body. This works well on both Windows and macOS. Unfortunately elementary OS (my go-to Linux flavor) does not provide any Palatino-like font out of the box, but Ubuntu does -- it might be worth suggesting it to them.
The headings are harder to achieve (Hoefler Text on macOS, Garamond on Windows (I didn't do an exhaustive test of Garamond variants available on WIndows to find the closest one to Hoefler Text), and neither balances well with the body text without further tweaking -- so I think I'll leave them with Georgia for now. Both Palatino and Georgia are wide serifs, but the latter is thicker and thus better fitting for headings.

In fact, perhaps we could simply use the same font throughout, which is more in line with plain HTML anyway. Steve Losh's website uses Hoefler Text for the headings, with normal font weight, but the effect is actually is quite similar to Palatino (only a tad heavier).
So probably we could amend the current stylesheet by adding the Palatino for the body, as described above, and removing font-family for the headings (and adding font-size: 160% to them as well, which is needed to make them stand out enough from the body).
By the way, maybe making the contrast reduction subtler, changing the color from #444 to #333, could be a good move as well (which also makes the stylesheet closer to raw unstyled HTML).
I'll make some tests

I'll consider this closed in de977b2 (for now at least).

A quick note, for future reference: MacauHub uses Merriweather (src), which looks great both in desktop and mobile.


Do not assign obsolete S.M.A.R.T. attribute

With newer Python versions, this causes an "object has no attribute 'supports_smart'", since pySMART does not provide it. "smart_capable" and "smart_enabled" do exist instead, but currently we do not use it anyway. The value is hence removed completely until someone finds time to re-implement it in a reasonable way, e.g. to enhance error messages when S.M.A.R.T. does not work.

is_ssd is valid, but currently not used either. IMO we should remove all unused code and remove this line as well, what do you think?


CNV-48259: add flag for reference into other plugins

Virtualization perspective is in 4.17 so we need this flag to conditionally show the nmstate menu items in the virtualization pespective

/retest

/retest


VPN subs readiness 1/n

Task/Issue URL: https://app.asana.com/0/0/1206806996767229/f
Description
See asana task for more info.
This PR:

adds a dumme for the subs public API
removes the NetpSubscriptionRequestInterceptor and merges its logic inside the real Interceptor
some other minor clean up

Steps to test this PR
Feature 1

[ ]

#4284  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @aitorvs and the rest of your teammates on  Graphite


chore: refresh Mongodb quickstart

Search Nurture recommendation for Mongodb quickstart.
Summary
A concise description of the changes being introduced. If you are submitting a PR for a
new quickstart please review the pre merge checklist section to validate this PR is ready for review.

Pre merge checklist

[ ] Did you check you NRQL syntax? - Does it work?
[ ] Did you check your dashboard image quality? -  Do they look good?
[ ] Did you check that your alerts actually work?
[ ] Did you include an InstallPlan and Documentation reference?
[ ] Did you check your descriptive content for voice, tone, spelling and grammar errors?
[ ] Did you attach images of your dashboards to the PR so we can see them working?

Screenshots
Attach images of any visual changes, such as a dashboard here.

approving as we've increased the description limit from 2000 -> 4000 chars to account for spaces. we just need to review the content then this should be OK to merge @bradleycamacho


Questions about DDPM timesteps

Hi, I wonder why you use 50 timesteps to train the DDPM-based Diffusion model, instead of 1000 timesteps? Does it really work using only 50 timesteps to add noise? In my opinion, 50 timesteps is far from getting a gaussian noise. So I'm really curious about how you make this work?

Hi, thank you for your interest in our work. We use 50 steps to train and sample because 1. the speed of generation (1000 steps is around 20x slower than 50 steps), 2. following previous works which shows models can generate same or even better quality with less steps.
Using less timesteps to train in text-to-motion generation first comes from MDM, where they use 50 steps instead of 1000 steps to train and sample (and works better than 1000 steps).
Recall for DDPM, the interpolation function is $\mathbf{x}_t = \sqrt{\bar{\alpha}_t}\mathbf{x}_0 + \sqrt{1 - \bar{\alpha}_t}\boldsymbol{\epsilon}$. If we set total timesteps as T=50, at time 50, we will get  $\mathbf{x}_T = 0\times\mathbf{x}_0 + 1\times\boldsymbol{\epsilon} = \boldsymbol{\epsilon}$, so it still converges to a guassian noise. Reducing steps should only affect the step sizes which is the beta schedule ($\beta$ and $\alpha_t = 1 - \beta_t$). So, naively, can think in this way, compared to 1000 steps which take more but smaller steps to generate, 50 steps take less but larger step size in each step.


jdk-17 has introduced a new MacOS dependency on XCode tool "metal"

Upstream change: https://github.com/openjdk/jdk/commit/8afec70c283ee549795996031e3a53a3212bf35a#diff-2a012ea02871008e8b925b096d139722b2611e194a1dc312c6513410ecb174a9
Failing nightly builds: https://ci.adoptopenjdk.net/view/Failing Builds/job/build-scripts/job/jobs/job/jdk/job/jdk-mac-x64-hotspot/387/console
08:56:02  checking for metal... [not found]
08:56:02  checking if metal can be run using xcrun... no
08:56:02  configure: error: XCode tool 'metal' neither found in path nor with xcrun
08:56:02  configure exiting with result code 1
08:56:02  Error: No configurations found for /Users/jenkins/workspace/build-scripts/jobs/jdk/jdk-mac-x64-hotspot/workspace/build/src.

Looks like we need to switch to full blown Xcode rather than the command line tools. I can take a look at this? It's something that we do for the notarization jobs already which use xcrun

See #2063 for a possible PR.


2023-05 - Roots

Se Readme for contributing guidelines.

Requests:
bitdepth	`[.1bIt.2dEpT]
copypaste	`[.1ka.0pi.2pest]
gamemode	`[.1gem.2mod]
motife	`[.0mo.1tif]
netherite	`[.1nE.0DR.0Yt]
onedrive	`[.1wHn.2drYv]
samplerate	`[.1sAm.0pxl.2ret]
teamtalk	`[.1tim.2tck]

There is also the word "niger". Many people, along with Eloquence, pronounce it `[.1nY.0JR], however the native pronunciation is `[.0ni.1ZEr]. Merriam Webster only lists the former, though the latter is also accepted. This will probably need discussion.

@nicopn I justt added them as part of the latest commit along with a few
extra terms - thanks a lot!
A couple of notes:

The word "motife" was added as `[.2mo.1tif - like "motif."

The word "netherite" was added as `[.1nE.0Dx.2rYt - like "cyberite."

As for the word "Niger" and the way Eloquence pronounces it, this is the
Anglicized form and your suggestion, according to dictionary.com which is
an updated copy of Randomhouse Webster's Unabridged Dictionary, is the
original French pronunciation. It's technically correct but since the
Anglicized form is quite popular now and accepted by almost all
dictionaries, I suggest that we not modify it. BTW Merriam-Webster also
suggests your version, but doesn't offer an audio pronunciation for it.

On Sat, May 6, 2023 at 23:50 nicopn @.***> wrote:

Requests:
bitdepth	[.1bIt.2dEpT] copypaste	[.1ka.0pi.2pest]
gamemode	[.1gem.2mod] motife	[.0mo.1tif]
netherite	[.1nE.0DR.0Yt] onedrive	[.1wHn.2drYv]
samplerate	[.1sAm.0pxl.2ret] teamtalk	[.1tim.2tck]
There is also the word "niger". Many people, along with Eloquence, pronounce it [.1nY.0JR], however the native pronunciation is [.0ni.1ZEr]. Merriam Webster only lists the former, though the latter is also accepted. This will probably need discussion.
—
Reply to this email directly, view it on GitHub
https://github.com/thunderdrop/IBMTTSDictionaries/issues/26#issuecomment-1537216482,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIGLZMVAHKGPVZIKNE24KYLXE2W7VANCNFSM6AAAAAAWPUXAMM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Sent from Gmail Mobile via iPhone

litrpg	lit ar pee gee
chatgpt	chat gee pee tee
adsl	ay dee ess ell
fiendfyre	fiend fyre

Sorry for being ignorant. But I encountered this project a few days ago and want to help from time to time if I can. Just one thing. Is there a guide or something for writing pronunciations the way you guys do with the grave accent and brackets? Thanks.

litrpg lit ar pee gee chatgpt chat gee pee tee adsl ay dee ess ell fiendfyre fiend fyre

@MeisamAmini Your contributions would be welcome. These were added to ENUmain with the latest commit.
As for writing pronunciations, I learned it many years ago using the documentation of the EloqTalk app which ships with the Kurzweil 1000. However, since it uses the HLP file system, Windows 10 and 11 releases can't open it. I'm trying to find a good online source for you, and will keep you posted in case I can come up with something. But @thunderdrop and @ironcross32 might have better solutions.
As an alternative, you may also want to make your suggestions and we can convert them for inclusion in the project.

@MeisamAmini FYI I just moved "fiendfyre" from "ENUmain" to "ENURoot" for better/more inclusive representation.
fiendfyre	`[.1find.2fYr]

@MeisamAmini we've got a syntax cheatsheet on the project wiki, which lists all of the SPR symbols. It doesn't tell you how to use them though. I always meant to get around to writing the kind of guide you're looking for, this is a good reminder. Will ping you when it's up.

@MeisamAmini One of the things we do is actually input a word that sounds the same or similar into the synthesizer and tell it to generate an SPR, with elocutor you can do this via the options SPR output. Then we modify that to suit our purposes. We do that for consistency, which generates 0 stress and syllabic markers even though the manual claims they aren't absolutely necessary in English. I've found a few edge cases that suggest they are necessary sometimes, however.
As for documentation, you can use this zip file which contains the English manual. This includes an SPR reference as well as so-called annotations, which are the backquote tags. What it calls tags with backslashes are SAPI4 specific.

So normally we close and replace the issue for the month if suggestions have come in to avoid creating a long cluttered thread, but since there's active discussion going on right now I'm not sure what to do. Should I change the title like I normally do? Close it anyway? @thunderdrop

@ultrasound1372 I suggest keeping it open for now.

Discussion seems to have petered out, closing this to be replaced with this month's issue.


Authentication section does not handle oauth2 securitySchemes properly

What happens?
I have configured the openapi scheme to include a oauth2 securityScheme. The Scalar UI however does not present the option to authenticate properly. The image below shows the output when i have oauth2 with a "password" flow.

What did you expect to happen?
I expected the possibility of entering the same values as shown in Swagger UI. Here are images of the values that swagger presents with the same openapi scheme, within the same application:

How can we reproduce the issue?
Use the following schema to replicate in sandbox:
{
  "openapi": "3.1.0",
  "info": {
    "title": "Hello World",
    "version": "1.0.0"
  },
  "paths": {},
  "components": {
    "securitySchemes": {
      "auth": {
        "type": "oauth2",
        "flows": {
          "password": {
            "tokenUrl": " /v1/token",
            "scopes": {}
          }
        }
      }
    }
  }
}

or create a new python fastapi project with scalar and configure a schema with the following code:
        openapi_schema["components"]["securitySchemes"] = {
            "auth": {
                "type": "oauth2",
                "flows": {
                    "password": {
                        "tokenUrl": api_config.path + "/v1/oauth2/token",
                        "scopes": {}
                    }
                }
            }
        }

OpenAPI Document
No response

You’re so right. Let’s add this feature! On it.

Can you try again and let me know if it works?

Closing it for now, but let me know if you face any issues and I’ll reopen it in a heartbeat. 👍

Looks great! Fast work! 🤩
However there are a few parameters missing for full support, such as client secret and Client Credentials Location.
There is also a weird clipping occurring for the view password button and Authorize button:

Is there a way to install this version on my application to also test out the actual login logic?


Clicking on Feature to open a Popup only works properly the first time

I originally thought this was the onClick being finicky, #532 . However, it appears to be something else. onClick works for the area of the image, but not all the time. I can click the feature once, onClick populates a state variable with the data to be loaded into the popup. The popup displays because the state variable is no longer null.
Clicking on the popup set the state variable to null and closes the popup. However, clicking on the feature icon image no longer works. This seems to be resolved by scrolling the mouse wheel and zooming in a bit and trying again a few times.
<Map ref={(e) => { this.map = e; }}
    style="mapbox://styles/mapbox/streets-v9"
    containerStyle={{
    height: "100%",
    width: "100%",
    }}
    center={this.state.center}
    zoom={this.state.zoom}>

    <Layer
        type="symbol"
        layout={{ "icon-image": 'mapMarker', 'icon-anchor': "bottom", "icon-size": 0.6}}
        images={[mapMarker[0], mapMarker[1]]}>
        {this.state.markers}
    </Layer>
        {active ?
        (<Popup coordinates={[active.lon, active.lat] }
            anchor={'bottom-left'}
            offset={[0, -86]}
            onClick={() => {
                this.setState({active: null});
                }}>
<popup html stuff>
           </Popup>) : null
    }
</Map>

this.state.markers is an array of features. It looks like this:
                markers.push(
                        <Feature key={item.id}  coordinates={[item.lon, item.lat]}
                         onClick={() => this.handleClick(item)} />
                );

With my handleClick having console logging to make things visible (in case there was something wrong with my popup code but there wasn't)
    handleClick(item) {
        this.setState({active: item});
        console.log("Fucking clicked");
    }

Any ideas?

Hey @edv4rd0 , I tried a bit and managed to reproduce it, I will spend some time on it asap to understand if it is a mapbox-gl or react-mapbox-gl issue.

Thank you :-) I'm pretty impressed at how active you are on this project.

@alex3165 is this a mapbox-gl or react-mapbox-gl issue?

@edv4rd0 did you find a workaround for this issue? I realize it is an old post, but it seems like I have run in to the exact same behavior.


adds a script to create rule templates with CRD based naming

Since it is cumbersome to deal with CRD, metadata naming and creating all the rego, template and sample files, I have created a script that creates

rego file
template file
sample file
rego test file
fixtures
by using Jinja2.

The templates are filled with vm-external-ip example. When you run make create_new_rule it asks for resource, feature, version and human readable name.

Hey there, Is there anyone taking this? Any feedback?

I will check it, looks like a better alternative.


Fixed the Marquee issue in ItemOverlay

Issue Resolved / Feature Added
Fixed the issue - "Enact ItemOverlay: Entire Text String Does Not Display" by calculating the distance on focus event.
Resolution
Invalidating the Metrics on focus event by calling the method invalidateMetrics.
Additional Considerations
Links
ENYO-4678
Comments
Enact-DCO-1.0-Signed-off-by:Madala Satyanarayana<EMAIL_ADDRESS>

Closed in favor of #1215.


gogs issue filter doesn't as user can't see issues that are assigned to her/him

We DO NOT take questions or config/deploy problems on GitHub, please use our forum: https://discuss.gogs.io
Please take a moment to search that an issue doesn't already exist.
For bug reports, please give the relevant info:

Gogs version (or commit ref):
Git version:
Operating system:
Database:

[x] PostgreSQL
[ ] MySQL
[ ] SQLite

Can you reproduce the bug at http://try.gogs.io:

[x] Yes (provide example URL)
[ ] No
[ ] Not relevant

Log gist:

Description
The filleter for issues is not working since always showing 0 for "assigned to you," "in your repositories" and "created by you"
https://docs.greenitglobe.com/issues?type=assigned&repo=0&sort=&state=open

It's not generic issue of gogs since it's our implementation; therefore, closing it


chore(configuration-service): Update API documentation

Signed-off-by: Giovanni Liva<EMAIL_ADDRESS>

This PR

improves the documentation of the configuration-service APIs

I used swagger v0.28.0 to generate it, hence there are also some code changes. The real changes are in the swagger.yaml file

LGTM, what about the integration tests, do they pass ?