Setup with git clone does not work

I set up the following and it failed.
$ pacman -Q ranger
ranger 1.9.3-9
$
$ cd ~/.config/ranger/plugins
$
$ git clone --depth 1 https://github.com/joouha/ranger_tmux
Cloning into 'ranger_tmux'...
remote: Enumerating objects: 24, done.
remote: Counting objects: 100% (24/24), done.
remote: Compressing objects: 100% (23/23), done.
remote: Total 24 (delta 1), reused 13 (delta 0), pack-reused 0
Receiving objects: 100% (24/24), 24.84 KiB | 4.14 MiB/s, done.
Resolving deltas: 100% (1/1), done.
$
$ ls -la ranger_tmux
total 68
drwxr-xr-x 1 a a   206 Jul  5 19:32 .
drwxr-xr-x 1 a a   230 Jul  5 19:32 ..
-rw-r--r-- 1 a a   320 Jul  5 19:32 .flake8
drwxr-xr-x 1 a a   152 Jul  5 19:32 .git
-rw-r--r-- 1 a a  4070 Jul  5 19:32 .gitignore
-rw-r--r-- 1 a a   789 Jul  5 19:32 .pre-commit-config.yaml
-rw-r--r-- 1 a a  1079 Jul  5 19:32 LICENSE
-rw-r--r-- 1 a a  4931 Jul  5 19:32 README.md
-rw-r--r-- 1 a a 38231 Jul  5 19:32 poetry.lock
-rw-r--r-- 1 a a   885 Jul  5 19:32 pyproject.toml
drwxr-xr-x 1 a a   246 Jul  5 19:32 ranger_tmux
drwxr-xr-x 1 a a    20 Jul  5 19:32 scripts
$
$ tail -n 7 ../rc.conf

# ranger_tmux https://github.com/joouha/ranger_tmux
set tmux_cwd_sync true
set tmux_cwd_track true
set tmux_set_title true
set tmux_open_in_window true
set tmux_dropdown_percent 60
$ ranger
The option named `tmux_cwd_sync' does not exist
The option named `tmux_cwd_track' does not exist
The option named `tmux_set_title' does not exist
The option named `tmux_open_in_window' does not exist
The option named `tmux_dropdown_percent' does not exist
$

I may be making some basic mistake, sorry.
What should I do to get it to work?
enviroment:

OS: Arch Linux x86_64
Kernel: 6.3.8-arch1-1
WM: sway

Hi,
Installing the plugin using this method is not currently supported - you need to install the plugin using pip, then link (or copy) the plugin.py script to your ranger plugin folder.
The installation instructions in the readme explain how to do this:
https://github.com/joouha/ranger_tmux/tree/master#install
I hope that helps!

Sorry for the late reply.
Perhaps the key is how to manage pip packages in arch linux.
I guess I need to understand this part, but it's too difficult for me and I don't quite understand it yet.
https://wiki.archlinux.org/title/Python#Package_management

Nothing is added to ~/.local/bin when installing with pipx, though using pyenv works.

Yes, it seems relatively reliable to do it this way.
$ pacman -Q python-pipx python-pip ranger ranger-git
python-pipx 1.5.0-2
python-pip 24.0-2
error: package 'ranger' was not found
error: package 'ranger-git' was not found
$ pipx install ranger-tmux --include-deps
$ $HOME/.local/pipx/venvs/ranger-tmux/bin/python -m ranger_tmux --tmux install
$ tmux new-session ranger

@joouha could you please update README to reflect that simply dropping a clone of the repository in the plugins directory would not just simply do ?


Zhihuizhang/sc 683413/feature/istio migration impact analysis p99 latency

Summary
In the content Service, we have been experiencing numerous instances of the error eredis: Re-establishing connection error after deploying with Istio. This issue arises due to Istio actively closing idle connections.
Here's a Mermaid diagram illustrating the call timeline started from content.
sequenceDiagram
    participant Content
    participant MultiCache
    participant EredisCluster
    participant PoolBoy
    participant RedisNode

    Content->>MultiCache: Request data
    alt Cache miss
        MultiCache->>EredisCluster: Request data
        EredisCluster->>PoolBoy: Get worker
        PoolBoy->>RedisNode: Execute command
        RedisNode-->>PoolBoy: Response
        PoolBoy-->>EredisCluster: Response
        EredisCluster-->>MultiCache: Response
        MultiCache-->>Content: Response
    else Cache hit
        MultiCache-->>Content: Response from cache
    end

poolboy uses the LIFO (Last-In-First-Out) strategy as the default for managing worker processes in the pools. When the concurrency level on a Redis node is lower than the pool size (content sets pool_size here), this strategy can lead to some worker processes (in this case, Redis connections) becoming idle for an extended period. Istio then proactively closes these idle connections, resulting in the frequent occurrences of the error eredis: Re-establishing connection error within the eredis_cluster library.
To address this issue, this PR modifies the worker strategy from LIFO to FIFO (First-In-First-Out). By employing the FIFO strategy, all workers (Redis connections) are utilized in a fair manner, reducing the likelihood of connections remaining idle for prolonged periods and subsequently being closed by Istio.
Unit test
With this change, The error eredis: Re-establishing connection no longer appears.

Wonderful!


Specify the behavior for writing empty file

Code like the following could hang forever (tested on go-service-s3)
_, err = fs.s.Write(path,nil, 0)
if err != nil {
    fs.logger.Error("write", zap.String("path", path), zap.Error(err))
    return nil, nil, err
}

I have to write it like:
_, err = fs.s.Write(path, bytes.NewReader([]byte{}), 0)
if err != nil {
    fs.logger.Error("write", zap.String("path", path), zap.Error(err))
    return nil, nil, err
}

Maybe we can support user input nil Reader for empty files?
In order to add this support, we need to:

Add a new GSP to make it clear
Update definitions to reflect changes
Update integrations tests to make sure all service passed

ping @beyondstorage/go-storage-committer @beyondstorage/go-storage-maintainer for a look

Moved to https://forum.beyondstorage.io/t/specify-the-behavior-for-writing-empty-file/204


digital clock ui snippet added

This change adds a new ui snippet of digital clock to the repo.

updated readme and snippets.json file

Thanks for the PR!
Closes #24


Replace nn.Module by Module on layers.py

Just doing so

I thought I had done it but I guess I forgot. Thanks!


Test with marathon

I want the install process for CI to look something like:
npm install danger
brew install marathon-cli
marathon install danger/danger-swift

Then it's ran something like:
danger process "danger-swift"

( or danger-swift pr could call danger process - that's bit meta though)
Explore what needs to be done to make this work.

My homebrew PR for marathon is now green, so this is moving forwards 👍
https://github.com/Homebrew/homebrew-core/pull/17266

Going to use homebrew tap for now for mac people for now, this isn't great because it doesn't seem to reliably run on Lunix

@orta Hey 👋 I'm a bit sad that I've been completely disconnected from this for a while (because I'm very excited about it!). I've got my hands full with some other projects at the moment, but would love to help out fixing the last issues to enable Danger-Swift to be installed through Marathon as soon as possible 👍

So there'd need to be two things:

Installation of the binary
Installation of the lib

Marathon would need to support the installation of both products from the Package.swift, ideally into /usr/local/bin and /usr/local/lib/danger/*. I tried to get the bin one working in https://github.com/JohnSundell/Marathon/pull/127 but not liub

I'm calling this as something that is just not really how things get done from my perspective, marathon provides a tonne of runtime value for danger-swift - but I'd rather rely on brew/docker or maybe Swift PM for installation if it ever becomes popular.


[Future Request] Sleep schedule using timer instead time

because there is different timezone, I think it will be safe to use a timer instead time for sleep schedule.
before
{
        "type": "SleepSchedule",
        "config": {
          "enabled": false,
          "time": "22:54",
          "duration":"7:46",
          "time_random_offset": "00:24",
          "duration_random_offset": "00:43"
        }
 }

after
{
        "type": "SleepSchedule",
        "config": {
          "time": "01:59:00", //in hour, minute and second (example is 1 hour and 59 minutes)
          "duration":"00:10:00", //duration sleep in hour, minute and second (example us 10 minutes)
          "time_random_offset": "00:00:24", // add timer random 24 second
          "duration_random_offset": "00:00:43" // add duration random 43 second
        }
 }

Start time depends on you system, where bot is running. So timezone doesn't matter.

Start time depends on you system, where bot is running. So timezone doesn't matter. And where is the difference, can't see it?

If you mean having a configuration where I can setup my bot to work for 3 hours and sleep for one and start again, I really would like that!

@danielsdian you can already do this with multiple SleepSchedule tasks. In your case it would be 6 tasks.

I guess I could do multiple timers
but how do you stop it from setting its time 24 hrs later ,
the current code will only really work for someone that never turns the bot off
in all my tests if the bot can not perform a full duration cycle before the scheduled sleep time it will make the next scheduled sleep the following day

@fari-99 does #4066 meet this request?


Numerical facts don't get filtered properly

I noticed an issue with trying to filter numeric facts. For example I need to track version upgrades for our 600 Windows 10 PCs so I use the /fact/windows_release_id fact. If I want to view version 1909 for example, I would put /fact/windows_release_id/1909. However when I do this, it shows me all Windows 10's regardless of version number. I instead have to use the search box and type in "1909" to get the filter I need.

Fixed in v3.3.0 released today. Please check it out @mike406 . :)


Improve Token HUD

It'd be nice if the system natively showed:

[x] Minion group (alive/total)
[x] Certain talents (adversary)

perhaps more?

minion group size should bail if there's > the max number that can be shown

Demonstrating overflow for minion groups

From another suggestion.
Defense, is there a way to show a characters melee and/or ranged defense for quick reference?

There is, but tokens will begin to be quite busy if it's added. I'm not sure it's worth it.

Adversary level. The first image is 1 rank, the second is 6 or more.

Graf Eisen on Discord sent the adversary level images, and updated them with boarders. This is done and will be released in 1.807.


Support moving an object

Ref: https://cloud.google.com/storage/docs/copying-renaming-moving-objects#permissions-rest
Google provides SDK and CLI command for moving a file, which is basically a copy command followed by delete.
This PR provides a move function that wraps copy and delete function and simulates a move.
Thus, providing a single function for library users emulating a move, instead of they implementing it repeatedly.

Hi @yoshidan - do you have any comments on this PR? Is it fit for being merged?


Progress allocation may fail with division by 0

I thought it was safe to pass 0 allocation units, but in fact, it isn't. It will crash when 0 or negative. The allocatinoUnits < 0 is pointless, so not sure how it got there.
  private Allocation(String description, long allocationUnits, @Nullable Allocation parent) {
    ...
    this.allocationUnits = allocationUnits < 0 ? 0 : allocationUnits;
    ....
    this.fractionOfRoot = (parent == null ? 1.0 : parent.fractionOfRoot) / allocationUnits;
  }

Ideally we should make it safe to accept 0.

Ah, actually it doesn't crash, because parent.fractionOfRoot is double. But I think it should divide it by this.allocationUnits instead of the argument allocationUnits at least. But perhaps we should set the allocation unit to 1 instead of 0.


Add new item: Ninja i18n GitHub Action

Add Ninja i18n GitHub Action to "Other tools"
Ninja i18n is a GitHub action that checks your PRs for i18n issues. If issues are found, it creates a report with links to the Fink localization editor to fix them.
Linked product page:
https://inlang.com/m/3gk8n4n4/app-inlang-ninjaI18nAction
Showcase:
https://github.com/mbiesiad/awesome-translations/assets/59048346/937da20e-f80e-4510-8281-9c9ab3b1006e

Hi @NiklasBuchfink Approved, merged 🎉 Thank you for your time and contribution here! ✨


Add Scoruby namespace and fix tests

Use namespace of Scoruby to avoid conflicts with other gems. All specs passing.

Coverage increased (+0.1%) to 99.296% when pulling 90cc4b32e3848e036d8595673db2155c05265867 on Points:master into b5880e25c6233d2a96cdf36ab07d01f6e2b59a89 on asafschers:master.


Issue on page /notebooks/02/01-bim.html,"Matrix reformulation of the BIM problem" section,

The hyperlink to the 'book' direct to this book again. Wrong link, I believe.

Thanks for spotting the typo, the latest commit fixes it by providing the correct link to the physical book.


Start+Enable the lvmetad service on RHEL7

the lvmetad service is required by default in RHEL7 but is not automatically started.   This patch enables and starts the service on RHEL7.
fixes: #43

Hi
we get the below error with this fix
 amazon-ebs: ================================================================================
    amazon-ebs: Error executing action `enable` on resource 'service[lvm2-lvmetad]'
    amazon-ebs: ================================================================================
    amazon-ebs:
    amazon-ebs: Mixlib::ShellOut::ShellCommandFailed
    amazon-ebs: ------------------------------------
    amazon-ebs: Expected process to exit with [0], but received '1'
    amazon-ebs: ---- Begin output of false --system enable lvm2-lvmetad ----
    amazon-ebs: STDOUT:
    amazon-ebs: STDERR:
    amazon-ebs: ---- End output of false --system enable lvm2-lvmetad ----
    amazon-ebs: Ran false --system enable lvm2-lvmetad returned 1
    amazon-ebs:
    amazon-ebs: Resource Declaration:
    amazon-ebs: ---------------------
    amazon-ebs: # In /var/lib/chef-solo/cookbooks-0/lvm/recipes/default.rb
    amazon-ebs:
    amazon-ebs: 35:   service 'lvm2-lvmetad' do
    amazon-ebs: 36:     action [:enable, :start]
    amazon-ebs: 37:     provider Chef::Provider::Service::Systemd
    amazon-ebs: 38:     only_if '/sbin/lvm dumpconfig global/use_lvmetad | grep use_lvmetad=1'
    amazon-ebs: 39:   end
    amazon-ebs: 40: end
    amazon-ebs:
    amazon-ebs: Compiled Resource:
    amazon-ebs: ------------------
    amazon-ebs: # Declared in /var/lib/chef-solo/cookbooks-0/lvm/recipes/default.rb:35:in `from_file'
    amazon-ebs:
    amazon-ebs: service("lvm2-lvmetad") do
    amazon-ebs: provider Chef::Provider::Service::Systemd
    amazon-ebs: action [:enable, :start]
    amazon-ebs: supports {:restart=>nil, :reload=>nil, :status=>nil}
    amazon-ebs: retries 0
    amazon-ebs: retry_delay 2
    amazon-ebs: default_guard_interpreter :default
    amazon-ebs: service_name "lvm2-lvmetad"
    amazon-ebs: pattern "lvm2-lvmetad"
    amazon-ebs: declared_type :service
    amazon-ebs: cookbook_name :lvm
    amazon-ebs: recipe_name "default"
    amazon-ebs: only_if "/sbin/lvm dumpconfig global/use_lvmetad | grep use_lvmetad=1"
    amazon-ebs: end
    amazon-ebs:
    amazon-ebs: Platform:
    amazon-ebs: ---------
    amazon-ebs: x86_64-linux
    amazon-ebs:
    amazon-ebs:
    amazon-ebs: Running handlers:
    amazon-ebs: [2017-04-11T13:45:43+10:00] ERROR: Running exception handlers
    amazon-ebs: Running handlers complete
    amazon-ebs: [2017-04-11T13:45:43+10:00] ERROR: Exception handlers complete
    amazon-ebs: Chef Client failed. 15 resources updated in 50 seconds
    amazon-ebs: [2017-04-11T13:45:43+10:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
    amazon-ebs: [2017-04-11T13:45:43+10:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
    amazon-ebs: [2017-04-11T13:45:43+10:00] ERROR: service[lvm2-lvmetad] (lvm::default line 35) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
    amazon-ebs: ---- Begin output of false --system enable lvm2-lvmetad ----
    amazon-ebs: STDOUT:
    amazon-ebs: STDERR:
    amazon-ebs: ---- End output of false --system enable lvm2-lvmetad ----
    amazon-ebs: Ran false --system enable lvm2-lvmetad returned 1
    amazon-ebs: [2017-04-11T13:45:43+10:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

the service command is not able to enable lvm2-lvmetad for some reason

Ok from my investigation, I believe the base image is amazon linux
NAME="Amazon Linux AMI"
VERSION="2017.03"
ID="amzn"
ID_LIKE="rhel fedora"
VERSION_ID="2017.03"
PRETTY_NAME="Amazon Linux AMI 2017.03"
ANSI_COLOR="0;33"
CPE_NAME="cpe:/o:amazon:linux:2017.03:ga"
HOME_URL="http://aws.amazon.com/amazon-linux-ami/"

which is recognised as a redhat family with +7 version
however amazon linux still use init.d instead of systemctl, which caused the error, if my investigation is correct.

I've removed the provider Chef::Provider::Service::Systemd line, and it worked, is it really necessary to specify the provider line for this to work with systemd

Hi @irvingpop
according to this
https://github.com/chef/chef/issues/4665
i believe amazon linux  2017 is considered as rhel with platform_version 2017
but amazon linux 2017 doesn't use Systemd
i believe we for the below change
+# Start+Enable the lvmetad service on RHEL7, it is required by default
 +# but not automatically started
 +if node['platform_family'] == 'rhel' && node['platform_version'].to_i >= 7
 +  service 'lvm2-lvmetad' do
 +    action [:enable, :start]
 +    provider Chef::Provider::Service::Systemd
 +    only_if '/sbin/lvm dumpconfig global/use_lvmetad | grep use_lvmetad=1'
 +  end
 +end

we need to either add a condition
if node['platform_family'] == 'rhel' && node['platform_version'].to_i >= 7 && node['platform'] != 'amazon'
or we remove the provider Chef::Provider::Service::Systemd line

Thanks @Shuliyey you're right -  my change didn't account for Amazon linux, my apologies.   It was also done during a time period when Chef client didn't reliably detect RHEL7 as a systemd, but that was resolved a long time ago.
could you please open a pull request to change the behavior?  I think both or your suggestions could be safely implemented at this point.

Correction: it looks like a PR has already been submitted for that in #127

thanks @irvingpop , sorry i didn't reply in time.
I can see the PR in #127 , i was wondering, do you thinking the best change for this is to
exclude the  amazon linux, or actually removed the provider Chef::Provider::Service::Systemd specification
so
if node['platform_family'] == 'rhel' && node['platform_version'].to_i >= 7 && node['platform'] != 'amazon'

or remove
provider Chef::Provider::Service::Systemd

Hi @irvingpop
I've submitted my pull-request #128

just a note, i tried removing if node['platform_family'] == 'rhel' && node['platform_version'].to_i >= 7
it failed on ubuntu
https://travis-ci.org/chef-cookbooks/lvm/builds/223384356
with
     ChefSpec::Error::CommandNotStubbed:
       Executing a real command is disabled. Unregistered command:

not sure why it's


Chore/phpstan strict

Clean up of the code:

use static for static methods in phpunit
remove some dead code
cleanup generic logic in rules.

Could we wait with them until we have the big PRs merged? Otherwise we will have conflict hell

Yes, I will keep this up to date :-)

Please resolve conflicts before merging


lr hotfix

hotfix for case where step > total_steps

OK I'm kind of confused whats going on here.


Unable to build on Node 5.6.0 or 4.3.0

I'm trying to install a simple module that uses node-serialport (node-waterrower), and unfortunately it won't install due to errors. Build environment is Raspbian Jesse on an RPi 2.
A rough snippet of the errors looks like:
make: Entering directory '/home/pi/crewcut/node_modules/node-waterrower/node_modules/serialport/build'                                                                                [61/385]
  CXX(target) Release/obj.target/serialport/src/serialport.o
In file included from ../src/serialport.h:5:0,
                 from ../src/serialport.cpp:3:
../node_modules/nan/nan.h:261:25: error: redefinition of ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Local<T>)’
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                         ^
../node_modules/nan/nan.h:256:25: note: ‘template<class T> v8::Local<T> _NanEnsureLocal(v8::Handle<T>)’ previously declared here
 NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                         ^
../node_modules/nan/nan.h:661:13: error: ‘node::smalloc’ has not been declared
     , node::smalloc::FreeCallback callback
             ^
../node_modules/nan/nan.h:661:35: error: expected ‘,’ or ‘...’ before ‘callback’
     , node::smalloc::FreeCallback callback
                                   ^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(char*, size_t, int)’:
../node_modules/nan/nan.h:665:50: error: ‘callback’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                  ^
../node_modules/nan/nan.h:665:60: error: ‘hint’ was not declared in this scope
         v8::Isolate::GetCurrent(), data, length, callback, hint);
                                                            ^
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(const char*, uint32_t)’:
../node_modules/nan/nan.h:672:67: error: call of overloaded ‘New(v8::Isolate*, const char*&, uint32_t&)’ is ambiguous
     return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
                                                                   ^
../node_modules/nan/nan.h:672:67: note: candidates are:
In file included from ../node_modules/nan/nan.h:25:0,
                 from ../src/serialport.h:5,
                 from ../src/serialport.cpp:3:
/home/pi/.node-gyp/4.3.0/include/node/node_buffer.h:31:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, v8::Local<v8::String>, node::encoding) <near match>
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/home/pi/.node-gyp/4.3.0/include/node/node_buffer.h:31:40: note:   no known conversion for argument 3 from ‘uint32_t {aka unsigned int}’ to ‘node::encoding’
/home/pi/.node-gyp/4.3.0/include/node/node_buffer.h:43:40: note: v8::MaybeLocal<v8::Object> node::Buffer::New(v8::Isolate*, char*, size_t) <near match>
 NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                        ^
/home/pi/.node-gyp/4.3.0/include/node/node_buffer.h:43:40: note:   no known conversion for argument 2 from ‘const char*’ to ‘char*’
In file included from ../src/serialport.h:5:0,
                 from ../src/serialport.cpp:3:
../node_modules/nan/nan.h: In function ‘v8::Local<v8::Object> NanNewBufferHandle(uint32_t)’:
../node_modules/nan/nan.h:676:61: error: could not convert ‘node::Buffer::New(v8::Isolate::GetCurrent(), size)’ from ‘v8::MaybeLocal<v8::Object>’ to ‘v8::Local<v8::Object>’
     return node::Buffer::New(v8::Isolate::GetCurrent(), size);
                                                             ^

There is a bit more output, but it seems pretty obvious that something is broken in nan.
I did a little more investigating, and notice that the version of nan for node-serialport is at ~2.0.0. The current version of nan (on their project page) is 2.2.0.
Is there any chance that you might want to upgrade to the newer version of nan? Would that help?

GCC version in use is gcc (Raspbian 4.9.2-10) 4.9.2.

The latest version of node-waterrower published on npm doesn't correspond to the to the develop branch on github. The latest version on npm depends on serialport v1.7.4 which will not compile with Node.js v4 or greater. The version on github depends on serialport v2.0.6 which will compile with Node.js v4 or higher. What should work is npm install "git://github.com/jamesnesfield/node-waterrower.git#develop". Whether or not it functions correctly is a different question. It's probably best to create an issue at node-waterrower and ask if a new version can be published on npm.

That appears to have solved the problem!
Many thanks!
Sorry to take up time with a downstream problem. :(


Is it possible to host Java-based backend and an Angular-based frontend on Bluehost

Describe the bug
I would like to use this repository  for academic purposes
Is it possible to host a Java-based backend and an Angular-based frontend on Bluehost?
To Reproduce
Steps to reproduce the behavior:

Clone on Bluehost (shared hosting)
use it

Expected behavior
I am attempting to install it on my own hosting.
**Server information : **
Platform Pak, cPanel, Apache Server, Operating System(Linux),Perl
Related work

Closing as this isn't a bug in DSpace.  We don't have expertise in Bluehost, so this question cannot be answered here.  That said, DSpace should run on any hosting platform provided you follow the install instructions: https://wiki.lyrasis.org/display/DSDOC7x/Installing+DSpace
If you have more specific questions or run into problems with your install, please use one of our Support options listed at https://wiki.lyrasis.org/display/DSPACE/Support


Configuration saved but not effective when opened next time

Operating System: Windows 11 (64 bit)
I really like the functionality of this program, it allows me to use the extended touchable screen without affecting the positioning of the mouse. This greatly improves my work efficiency, but I encountered a small issue with the configuration. Although it does not affect my use, I have to manually configure it every time I quit and reopen the program.
After setting the mouse switch configuration, I clicked save. At the same time, a "monmouth. yml" configuration file was generated, but after I quited the software and reopened it, I found that the previous configuration had not been restored.
The following is the content of the "monmouth. yml" file that I saved:
ui:
  inspect_device_interval_ms: 100
processor:
  merge_unassociated_events_ms: 5
  devices:
  - id: HID\VID_18F8&PID_0F99&MI_00\8&3b8c6e57&0&0000
    locked_in_monitor: false
    switch: true
  shortcuts:
    cur_mouse_lock: ''
    cur_mouse_jump_next: ''

If you need me to provide any other information, please feel free to ask. Thank you very much for your hard work!

Glad that the tiny tool is useful to you.
I will try reproduce the problem this weekend, and release in case fixing it.

Glad that the tiny tool is useful to you.
I will try reproduce the problem this weekend, and release in case fixing it.

Thank you very much for your hard work!
I am very willing to help if needed, but I am only familiar with C language and JAVA. I also tried to find the cause of the problem in your source code, but it was too difficult for me.

Thank you for reporting the problem.
I have fixed the problem. You can try the snapshot build.

Thank you for reporting the problem.
I have fixed the problem. You can try the snapshot build.

It is working very well now, thank you very much for your hard work!


Uncaught AttributeError in sendchat.py line 32

Aider version: 0.60.1
Python version: 3.11.8
Platform: macOS-15.0-x86_64-i386-64bit
Python implementation: CPython
Virtual environment: No
OS: Darwin 24.0.0 (64bit)
Git version: git version 2.39.5 (Apple Git-154)
An uncaught exception occurred:
Traceback (most recent call last):
  File "utils.py", line 7513, in __next__
    chunk = next(self.completion_stream)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "handler.py", line 797, in __next__
    return self.chunk_parser(chunk=data_json)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "handler.py", line 757, in chunk_parser
    raise AnthropicError(
litellm.llms.anthropic.common_utils.AnthropicError: Overloaded

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "base_coder.py", line 1129, in send_message
    yield from self.send(messages, functions=self.functions)
  File "base_coder.py", line 1425, in send
    yield from self.show_send_output_stream(completion)
  File "base_coder.py", line 1492, in show_send_output_stream
    for chunk in completion:
  File "utils.py", line 7606, in __next__
    raise exception_type(
          ^^^^^^^^^^^^^^^
  File "exception_mapping_utils.py", line 2116, in exception_type
    raise e
  File "exception_mapping_utils.py", line 500, in exception_type
    raise litellm.InternalServerError(
litellm.exceptions.InternalServerError: litellm.InternalServerError: AnthropicException - Overloaded. Handle with `litellm.InternalServerError`.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "aider", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 776, in main
    coder.run()
  File "base_coder.py", line 730, in run
    self.run_one(user_message, preproc)
  File "base_coder.py", line 773, in run_one
    list(self.send_message(message))
  File "base_coder.py", line 1131, in send_message
    except retry_exceptions() as err:
           ^^^^^^^^^^^^^^^^^^
  File "sendchat.py", line 32, in retry_exceptions
    litellm.llms.anthropic.chat.AnthropicError,
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'litellm.llms.anthropic.chat' has no attribute 'AnthropicError'

Thanks for trying aider and filing this issue.
This looks like a duplicate of #2145. Please see the comments there for more information, and feel free to continue the discussion within that issue.
I'm going to close this issue for now. But please let me know if you think this is actually a distinct issue and I will reopen this issue.


Allow to use bigint in queryKey

Actual:
createQueryKeys('users', {
  byId: (id: bigint) => ({
    queryKey: [id],
    queryFn: () => getUser({ id }),
  }),
})

We got an error: Type '[bigint]' is not assignable to type 'KeyTuple'.
Expected result: no error
This must be allowed case since we can override queryKeyHashFn.

@mc-petry sorry for the long waiting, but v1.3.0 has been released and bigInt is now accepted as a valid value


Buttons paddings seems to be wrong

As shows in the attached image, when the string of the buttons are a little big, the padding between buttons are missed.

Am I doing something wrong?

Hmm, that's very weird. I switched around the positive text for one of the dialogs in the sample project to use a longer string, it stills works fine for me.

Yes, its very weird :S
Here is one of my "builds". I use a wrapper to create different Dialogs inside the app (like, do you want to login, do you want to finish this, do you want to logout...) but I not do nothing special on it more like set text, colors and that kind of things:
            new MaterialDialog.Builder(activity)
                    .title(R.string.broadcast_stop_dialog_title)
                    .titleColorRes(R.color.app_text_black)
                    .content(R.string.broadcast_stop_dialog_content)
                    .contentColorRes(R.color.app_text_dark)
                    .btnSelector(R.drawable.selectable_item_background_red, DialogAction.POSITIVE)
                    .btnSelector(R.drawable.selectable_item_background_grey, DialogAction.NEGATIVE)
                    .positiveColorRes(R.color.app_text_red)
                    .positiveText(R.string.broadcast_stop_btn_yes)
                    .negativeText(R.string.broadcast_stop_btn_no)
                    .negativeColorRes(R.color.app_text_dark)
                    .autoDismiss(true));

The only thing I guest that could be it's the selectable background (I override to put special colors), Perhaps it's doing something weird with the paddings. Let me check if it works with the default selectable background.

Just a tip, there's a way to do syntax highlighting that doesn't involve indentation ;) https://help.github.com/articles/github-flavored-markdown/#syntax-highlighting
But I know why it's not working for you; if you look at the default selectors used in this library, they reference inset drawables. For an example: https://github.com/afollestad/material-dialogs/blob/master/library/src/main/res/drawable/md_btn_selected.xml

Yes, that's the problem. I remove the selectable and all works.
Thanks for the tip of the selectors, I didn't know it :) I had a bug in other part of the app similar to this. It explains a lot of things hehehe
Thank you very much, I am going to close the issue.
(Perhaps you can put a little tip in the selectors part advise about the use of inset!)


Refactor: Move utility funcs out of mod_manifest.gd

Atm there are three methods in mod_manifest.gd that look like they should be in mod_loader_utils.gd:

[x]  _get_string_from_dict
[x]  _get_array_from_dict
[x]  dict_has_fields

Closed by #182


eICU and MIMIC Dataset

Hi,
Please what is the different between the eICU and MIMIC dataset?
Can they both be used for mortality prediction?

Hi @OluOrojo, MIMIC and eICU-CRD are community maintained resources. Please could you read the MIMIC-III (https://www.nature.com/articles/sdata201635) and eICU-CRD papers (https://www.nature.com/articles/sdata2018178) and summarize what you see as the major differences and use cases?

So he is asking for the difference and you give him homework?

As a small group of researchers with many thousands of users, we are unable to help every researcher using the data even if we would like to. We expect people posting questions to put some effort into researching their questions first.

@neftaliw While I'm not part of LCP, I've always found it incredible that they are able to respond to as many questions as they do. Given that @OluOrojo's question easily addressed by the two resources mentioned, it's reasonable to supply them in answer.

You are right @tnaumann I guess sometimes we get used to huge social media companies that we forget sometimes there’s real people working behind online platforms. I interpreted the answer as the typical “google it” answer which sometimes comes up as the first google result.
Anyways, going back to the original wuestion, in my experience (from the data mining point of view) MIMIC is just a nightmare. But this is not the author’s fals is just the nature of the data itself that comes from a system that was built for billing. Plus having to different encodings makes querying really tedious.
However, MIMIC has been the standard for many years for patient health informatics just because there was nothing better available.
I haven’t looked deeply into eICU but from what I read and the little queries I’ve been doing it looks promising. There’s more data, the input I’m highly excited about is SOFA scores and the data just looks cleaner. Plus detailed information about drug interaction in patients opens a world of possibilities when doing tasks like mortality prediction.
Hope this answers the question

Just to clarify this point:

MIMIC is just a nightmare. But this is not the author’s fault is just the nature of the data itself that comes from a system that was built for billing.

While some data in MIMIC-III is collected primarily for billing purposes (specifically billing codes), the majority of data is drawn from monitoring systems during routine care.

Anyways, going back to the original wuestion, in my experience (from the data mining point of view) MIMIC is just a nightmare. But this is not the author’s fault is just the nature of the data itself that comes from a system that was built for billing. Plus having to different encodings makes querying really tedious.
However, MIMIC has been the standard for many years for patient health informatics just because there was nothing better available.
I haven’t looked deeply into eICU but from what I read and the little queries I’ve been doing it looks promising. There’s more data, the input I’m highly excited about is SOFA scores and the data just looks cleaner. Plus detailed information about drug interaction in patients opens a world of possibilities when doing tasks like mortality prediction.

We're very happy you're as excited about eICU-CRD as we are, but I must caution you that it is not a panacea for all data analysis woes. eICU-CRD is data collected during routine care for patients admitted for critical care; in that respect it is very similar to MIMIC. The same caution in data extraction is needed.
I'd say this issue has run its course. If you or anyone else has a focused question regarding the data then we would welcome it in a new issue, though I'd recommend omitting the dramatic embellishments.


[New article]: Local Azure Provisioning Article

Proposed topic or title
Provisioning resources in Azure for local development
Location in table of contents.
Deployment / Azure / X
Reason for the article
In .NET Aspire P5 we've really boosted our support for provisioning Azure resources to support local development. This is especially useful where there isn't a good local analogue for the cloud resource (e.g. Azure Open AI/ServiceBus etc).
When configuration values are not present to support this feature (when activated) we have an aka.ms link: dotnet/aspire/azure/provisioning
This currently points to: https://learn.microsoft.com/dotnet/aspire/deployment/azure/local-provisioning (proposed url for this article)
Article abstract
When you use a method like AddAzureOpenAI we automatically add support for the Azure Provisioner. But the Azure Provisioner requires some subscription information to be in user secrets. Here is an example:
{
  "Azyre": {
    "SubscriptionId": "<sub id>",
    "AllowResourceGroupCreation": true,
    "ResourceGroup": "<rg name you want to use>",
    "Location": "East US 2",
    "Tenant": "<your tenant>.onmicrosoft.com"
  }
}

Relevant searches
No response

/cc @IEvangelist @davidfowl

You mean Azure, not Azyre, right? 😄

Article should:

show how to add those values (part of default configuration but we'd recommend as user-secrets on the apphost)
show the dashboard experience that hints at the problem if you don't have these
show the Visual Studio tooling that helps you set these and create new RGs if needed, etc.
probably needs to talk about auth required (meaning you need to actually be logged in to azure to be able to perform action)


typo fix

Overview
Typo Fix
Checklist

[x] New and updated code has appropriate documentation
[x] New and updated code has new and/or updated testing
[x] Required CI checks are passing
[x] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Summary by CodeRabbit

Refactor

Updated variable names for consistency across multiple contracts, enhancing readability and maintainability.

@evan-forbes you need to add a label since i don't have permissions. thanks


Union is broken by declarationKind: 'interface'

Describe the bug

GraphQL Union will become broken code when generating Typescript types.
To Reproduce
Steps to reproduce the behavior:

My GraphQL schema:

type SpeechTranscriptionData {
}

type SpeechWordScoreData {
}

union ConfidenceData = SpeechTranscriptionData | SpeechWordScoreData

My codegen.yml config file:

plugins:
      - "typescript"
    config:
      declarationKind: 'interface'

Expected behavior
The generated type should not have syntax error.
Actual behavior
Syntax error:
export interface ConfidenceData SpeechTranscriptionData | SpeechWordScoreData

Environment:

OS: macOS
@graphql-codegen/...: v1.3.0
NodeJS: v10.15.0

Additional context

See #1923

You are right, @leethree , you can workaround that at the moment with the following:
    config:
      declarationKind:
         scalar: interface
         input: interface
         type: interface
         arguments: interface
         interface: interface
         union: type

I think we can't really use interface to union because we cant put | in TypeScript interfaces, so we must use type aliases. @benquarmby what do you think?

I created a PR that removes it: https://github.com/dotansimha/graphql-code-generator/pull/2049

Fixed in 1.3.1

Yes, you're absolutely right @dotansimha. We should only use type aliases for union declarations. Thanks for turning around the fix so quickly.

Thanks for the quick fix! Really appreciate it.


dart2js sourcemaps misidentify call in chained calls.

See tests/compiler/dart2js/sourcemaps/stacktrace/getter_inlining_baseline_1.dart.
This test currently tests for the current incorrect behaviour. It should be amended when this issue is fixed.
main() {
  confuse(new MyClass(3));
  var m = /*0:main*/ confuse(null);
  sink(m.getterName);
  //     ^ Should be here.
  //
  // The compiled code looks like
  //
  //     Y.sink(Y.confuse(null).get$getterName());
  //
  // The previous call is the receiver for the faulting call. It appears these
  // are being conflated.

The decoded call stack misidentifies the error to be at the call to confuse rather than the getter.
The JavaScript call stack column number correctly identifies get$getterName.

Do you know what location are we getting from the JS-engine? Long ago (I believe on FF 62), we saw a similar issue, but it turned out that FF was providing the source-location to be at Y.confuse in the output if I recall correctly.

d8 gives the line and column for get$getterName, i.e.
    Y.sink(Y.confuse(null).get$getterName());
//                         ^


Update glTF-projects-data.json

Added Onirix

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Invalid bmp conversion rendering

Description
Svg file is not being properly rendered when converted to bmp.  Svg file produces desired results in chrome/edge.  The image should have 4 stacked squares.  The top square should be brown and the rest should be blue.  When using vvvv/svg to render as bmp, the top brown square is not included.  The space is transparent instead.  I can see where the brown square should be, but it's like that component is being completely ignored.  The results are the same at any size from 16x16 to 256x256
Example data
SVG source file (github wouldnt let me upload an svg, so its a zip):
Plywood_Logo_SuperSimple.zip
Bmp output file:
256.zip
Used Versions
svg 3.1.1
.net 5.0.1
Win10

For reference - rendered in browser (Chrome):

Rendered in SVGViewer:

For reference - rendered in browser (Chrome):

Rendered in SVGViewer:

The problem seems to be stroke-width: 0px; in the last polyline, that is drawing the brown square - removing it (or replacing it with stroke-width: 1px;) fixes the problem. The stroke width of 0 should not prevent filling, of course...

The problem seems to be stroke-width: 0px; in the last polyline, that is drawing the brown square - removing it (or replacing it with stroke-width: 1px;) fixes the problem. The stroke width of 0 should not prevent filling, of course...

A dumbed down version that shows the problem:
<?xml version="1.0" encoding="utf-8"?>
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
  <polyline style="stroke: none; fill: red; stroke-width: 0px;" points="2 13 27 25 51 13 27 2 7 12"/>
</svg>

A dumbed down version that shows the problem:
<?xml version="1.0" encoding="utf-8"?>
<svg viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg">
  <polyline style="stroke: none; fill: red; stroke-width: 0px;" points="2 13 27 25 51 13 27 2 7 12"/>
</svg>


Make VisualScript check inheritance for port info

Fixes #32656, I don't think it breaks anything, it works fine on the Visual Pong demo.

CC @swarnimarun @fire

This usage in https://github.com/godotengine/godot/blob/784595fda1ab1c933888da688a6debcf785e3fec/modules/visual_script/visual_script_property_selector.cpp#L142-L151 looks suspicious too.
I compiled and the pr does what it says.

The visual_script_property_selector.cpp change is a different position and probably a different bug so, this patch solves the original problem. Looks good.

Thanks!


Tf service

There is also the C++ buffer client that we would need to change. Do you see it to be done as part of this PR? I don't think we would use it anywhere right away. I would vote for creating a low prio ticket to move forward with this


Feature Request: Ability to disable schema introspection via configuration

We have Grackle running in a QA and Production in a PoC, and we were discussing the implications of anyone being able to plug a GraphQL client into a live service.
Since GraphQL allows for introspection, this would mean that anyone could theoretically trawl through all of our live data. In our industry, that could put us in violation of media usage rights (on images, for example).
Would it be possible to disable introspection by some form of configuration settings, so that we can switch it off in production?

Yes it would be possible, and very sensible.
The caveat is that hiding the introspection API isn't making the APIs they describe inaccessible, so if an attacker learns the schema through some other means and has access to the endpoint you would be no less vulnerable.
Nevertheless, it seems very much worthwhile to reduce the attack surface.

Some references to how this is done elsewhere (mainly Apollo and the Node reference implementation) ...
https://www.apollographql.com/docs/apollo-server/testing/graphql-playground/
https://atheros.ai/blog/graphql-security-in-node-js-project
https://github.com/helfer/graphql-disable-introspection (see also https://github.com/apollographql/apollo-server/issues/322).
The only thing I could find in the GraphQL spec issues list is this RFC to add some "best practices" advice to the next iteration of the spec.
I can't find any mention of a mechanism to signal to clients that introspection is disabled, so it seems that the expectation is that in this case queries will just fail and clients have to deal with it.

The caveat is that hiding the introspection API isn't making the APIs they describe inaccessible, so if an attacker learns the schema through some other means and has access to the endpoint you would be no less vulnerable.

Is there a single reference to describe how to secure the API? This is the most coherent comment I've seen on filtering introspection and the implication of the visibility of the API. There are a lot of documents on security, but they don't seem to cover basic comments like this, but I can find plenty of information on cors!

Fixed in #79 and #123.


Remove crystallising molecules from the drug dataset obtain from the OT Drug parquet

Background
I've obtained from the Drug OT parquet files the structures/targets in interaction with each drug and their associated target gene ID. Now I need to filter the ions, small molecules etc. which are crystallizing agent (for X-ray Crystallography). Even if they are drugs, their interaction with targets are not specific/not interesting to display on the OT Platform.
How determine which drug is a crystallizing agent in an automated way?
Extract of the data
+------------------+---------------+--------------------+--------------------+
|MOLECULE_CHEMBL_ID|MOLECULE_PDB_ID|        STRUCTURE_ID|NB_OF_STRUCT_PER_MOL|
+------------------+---------------+--------------------+--------------------+
|         CHEMBL692|            GOL|[1ah8, 1ahp, 1ayf...|               20302|
|     CHEMBL1236970|             ZN|[12ca, 1a0b, 1a0q...|               18839|
|      CHEMBL457299|            EDO|[1atg, 1azo, 1b63...|               12891|
|      CHEMBL113178|            MSE|[1a62, 1a7a, 1a8o...|                9800|
|         CHEMBL504|            DMS|[1bju, 1bjv, 1c1p...|                3175|
|     CHEMBL1232653|            FAD|[1a8p, 1ahv, 1ahz...|                2449|
|       CHEMBL14249|            ATP|[1a0i, 1a49, 1a5u...|                1856|
|     CHEMBL1234276|            MES|[10gs, 11gs, 12gs...|                1773|
|     CHEMBL1235259|            PGE|[1a9z, 1ksf, 1lrj...|                1712|
|      CHEMBL284377|            SEP|[1a37, 1apm, 1atp...|                1621|
|     CHEMBL1234613|            NAD|[1a4z, 1a5z, 1a71...|                1620|
|      CHEMBL384759|            GDP|[1a2k, 1a4r, 1aa9...|                1603|
|      CHEMBL116736|            FMT|[1a5n, 1a5o, 1an5...|                1562|
|      CHEMBL295069|            NAP|[1a27, 1ads, 1ae1...|                1529|
|     CHEMBL1201794|            FMN|[1ag9, 1ahn, 1akq...|                1345|
|     CHEMBL1614854|            BGC|[1aa5, 1abr, 1au1...|                1336|
|        CHEMBL1261|            CIT|[1a59, 1afl, 1agr...|                1246|
|     CHEMBL1233147|            GTP|[1a8r, 1a9c, 1c1y...|                1239|
|       CHEMBL82202|            PLP|[1a3g, 1a50, 1a5a...|                1183|
|      CHEMBL418052|            SAH|[10mh, 1af7, 1aqi...|                1061|
+------------------+---------------+--------------------+--------------------+
only showing top 20 rows

Total number of structures: 93819
Observation
Seems like the first 4 drugs are linked to a large number of target which can indicate that they are crystallizing agent.

Thanks for sharing this!
I was hoping that a way that we could filter these molecules was to keep only those that have any indication, but as we can see with cases like CHEMBL1236970 or CHEMBL692, this strategy wouldn't be sufficient.
A different approach is to filter out those drugs without a known mechanism of action so that we are more confident that the structures we are displaying are relevant.
@MarineGirardey, could you please paste here a file with such dataset to include all ChEMBL IDs for which we have a target? This information will come from the molecule dataset in the field linkedTargets. Please keep the list of this targets in the final dataframe.
Once we have this, we can later see if this is an useful way of filtering the molecules.

This is a complicated issue. When looking at the data, 3675 molecule from our molecule index have cross reference to PDB (that many molecule can be found in at least one structure). However, if we look at the linked indications and targets, we see that ~3k of them has no disease or target associated. That's why I think applying such a filter would not be good.
I think we can exclude some of the obvious ones (eg. glycol, glycerine), then we can take a look at the targets and we just keep one structure for each target. But this decision has many dependencies on how the analysis of the structure go.

I have just had a conversation about this issue with @madasme, from ChEMBL, who is also working on mining more information on the ligands bound to proteins in PDB.
She uses a list of artifacts from BioLiP (publication) to discard those ligands that are considered as crystallization artifact. She filters these 465 PDB IDs out of the initial table where structures are linked to the molecules.
Note that such a list includes cofactors like Lithium, which we know are valuable.

This is starting to look like a Venn diagram with multiple sets: all drugs, drugs with MoA including the protein, co-crystalising artefacts, natural ligands, etc. There is probably a sweet spot with the things we are interested in


Patreon downloader

I’m hoping someone might see this and help out. I want to download patreon videos to watch without having to use internet. I checked online and saw I could use patreon downloader extension. I figured out how to get to the downloading part but when I download it and open the file, it says “windows cannot complete the extraction. The destination path is too long. Rename the compressed (zipped) folder and try again.” what is it implying and how can I simply download my videos?

@kayjay-7 This extension isn't particularly good at downloading videos. You might be better off trying the extension linked within the window, or possibly even something like https://github.com/yt-dlp/yt-dlp#release-files which I believe can pull at least some of the videos from patreon.

Thank you for replying. I tried the first link yesterday and again today but it doesn’t work for me, maybe I may be doing something wrong and I’m not sure what I’m looking at with the second link

@kayjay-7 This extension isn't particularly good at downloading videos. You might be better off trying the extension linked within the window, or possibly even something like https://github.com/yt-dlp/yt-dlp#release-files which I believe can pull at least some of the videos from patreon.

Thank you for replying. I tried the first link yesterday and again today but it doesn’t work for me, maybe I may be doing something wrong and I’m not sure what I’m looking at with the second link


ScrollToIndex does not call onMomentumScrollEnd

By reading the definition of those props, Should ScrollToIndex calls onMomentumScrollEnd when the automatic scroll is over?
Thanks you

Yes, onMomentumScrollEnd occurs as the ScrollView glides to a stop., and scrollToIndex just scrolls the ScrollView for you.

Once onMomentumScrollEnd is fired, I want to fetch more datas and add it to the list. Is this possible ? If its possible, will the entire component re-render? How will be the performance?

@abhi06991 Not sure, this component just abstracts React Native’s ScrollView component. Also using FlatList is on the roadmap which will improve long lists.

Any solution ?? I am using react native flatlist and this is happening to me.


HMA with linked mailboxes - 2-way trust and domain-wide authenticatio…

…n required
We have different customers using linked mailboxes (account/resource forest) which want to implement HMA. The requirements from the documentation does not touch such scenario.
Moreover from the field experience it seems selective auth is not enough, as we need domain-wide auth for HMA to work.
Could we please update the articles below to include a statement related to HMA and linked mailboxes implementation?
How to configure Exchange Server on-premises to use Hybrid Modern Authentication
Hybrid modern authentication overview and prerequisites for using it with on-premises Skype for Business and Exchange servers
Attached (in the ContentIdea https://dev.azure.com/ContentIdea/ContentIdea/_workitems/edit/123230) you can find the discussion on the tech aliases about such requirements and the troubleshooting from the Active Directory team to support this statement, as my colleague trace from end to end in the logs proving that Exchange fails to get the Kerberos token when only 1-way trust is setup between the forests, which is our minimal requirement when implementing linked mailboxes.
Thank you,
Gabriel

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks

@kelleyvice-msft Please merge this PR. Thanks.

@dstrome -- are you able to provide review from an Exchange perspective?

Hi guys, I appreciate your comments on this one, as it already passed a while and we couldn't issue any statement regarding this one.
Normally if it was not tested, then there is no statement :) but this is being requested and used by a lot of customers nowadays.
Thank you.


initial beaver commit

This commit add initial beaver with multiline support.  In this commit beaver is configured to pull logs directly from the destination directory of the rsyslog server, from there they are run through the multiline filter which is configured for galera multiline and openstack multiline.  Other logs are passed through as is.

Active work for this is being done here: https://github.com/odyssey4me/rpc-extras/tree/log_shipping


An error occurs after installation.

An error occurs after installation. The error message is as follows
Traceback (most recent call last):
File "C:\Comfy\ComfyUI_windows_portable\ComfyUI\nodes.py", line 1872, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "C:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateAnyone-Evolved_init.py", line 8, in
module = importlib.import_module(f".{nodes_filename}", package=name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib_init_.py", line 126, in import_module
File "", line 1204, in _gcd_import
File "", line 1176, in _find_and_load
File "", line 1147, in _find_and_load_unlocked
File "", line 690, in _load_unlocked
File "", line 940, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateAnyone-Evolved\nodes.py", line 23, in
from .src.models.unet_2d_condition import UNet2DConditionModel
File "C:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateAnyone-Evolved\src\models\unet_2d_condition.py", line 40, in
from .unet_2d_blocks import (
File "C:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateAnyone-Evolved\src\models\unet_2d_blocks.py", line 15, in
from .transformer_2d import Transformer2DModel
File "C:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateAnyone-Evolved\src\models\transformer_2d.py", line 7, in
from diffusers.models.embeddings import PixArtAlphaTextProjection
ImportError: cannot import name 'PixArtAlphaTextProjection' from 'diffusers.models.embeddings' (C:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\models\embeddings.py)
Cannot import C:\Comfy\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-AnimateAnyone-Evolved module for custom nodes: cannot import name 'PixArtAlphaTextProjection' from 'diffusers.models.embeddings' (C:\Comfy\ComfyUI_windows_portable\python_embeded\Lib\site-packages\diffusers\models\embeddings.py)

This most likely means you have old version of diffusers installed.
Run pip install --upgrade diffusers in your ComfyUI python environment should solve this issue


Improve the dark mode styling

Refine the existing dark mode, ensuring the colors and user experience are cohesive, and make adjustments to the typography, background, and button styles to look great in dark mode.

I would like to work on this issue

Can I be assigned this issue?

How do you want to go about it?

Before :-

After :-

I've you synced to the latest codebase? If so, create a PR


Setup GCP with frontend and backend servers

First version is done!
https://healthy-eating-project-359101.uc.r.appspot.com/


Config changes to reflect the default branch from master to main. Please merge to complete the default branch renaming job.

Auto branch renaming content.

Docs Build status updates of commit e1030aa:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error: GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch 8469cf13-adfc-409f-af26-afeb81940bd1 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


InteractionParameters

@dcaliste This one implements the API (and the plumbing for the flows), to allow the sort of thing we discussed on IRC a couple of weeks back.  Of course, I haven't yet integrated the password agent plugin which Andrew wrote, so this won't be too useful at the moment ;-)  You can test it with the in-app flow, of course.

I still have to implement the analogous functionality for the Crypto API (i.e. get a passphrase from the user then use a key derivation function to transform that into a key, in the GenerateStoredKeyRequest flow).  I will do that tomorrow.

Wonderful, I'm going to use it in the pinentry and report before middle of next week. Thank you.

Ok, the symmetric key derivation function support has been added, along with the flows to support user-input as the KDF input data.  I had to refactor a bunch of things, and completely change the binary layout of the Key type in the process, so you'll need to delete your database to test this.
I still need to test that the user-input flow works properly, as I've only tested the non-interactive input data case so far.

I've now tested the user input flows, and they work correctly.  I've also updated the documentation.  I think this is ready for and will merge it unless people raise issues in the next day or so, as the API changes need to go in so that plugin PRs can be rebased etc.

It's difficult to split these changes up, meaningfully (a refactor touches everything, and adding some API functionality requires everything (client API, daemon plumbing, plugin implementation, and unit test) because they can't be developed in isolation.  Sure, I could retrospectively go back and split up the work into 4 separate commits (client API, daemon plumbing, plugin implementation, and unit tests) after I've finished, and that might make it easier to review.  But it would also take me 3 extra hours, and that's time I don't have right now...

I've now added the asymmetric cipher key pair generation stuff.


Improve interface

The current version will have specific calls for QLdata in Python and Fortran. This is to investigate a method (possibly using a config file) to wrap both methods with into a single function and to then have a way of changing which version (Python or Fortran) to run. Initially this will default to Fortran.

It will be nice to have the ability to switch. Do you see that has something long term or short lived for validation?
I would also suggest considering an environment variable as they are easier to apply on a per-process basis if you wanted to do a side-by-side comparison for example.
An example of this in CaChannel: https://github.com/CaChannel/CaChannel/blob/master/src/CaChannel/ca.py#L4

should also change the module names to be of the style:
quasielasticbayes.c_python.four
quasielasticbayes.fortran.four


Adding Changelog generated automatically through gh action

We are using this gh action on camel-k, camel-k-runtime and camel-kafka-connector.
I think the result is really useful to track the activities.
Do we want to introduce it here too?
https://github.com/apache/camel-kafka-connector/blob/master/CHANGELOG.md

I see quite a lot of Updated CHANGELOG.md commits in the Kafka connector log https://github.com/apache/camel-kafka-connector/commits/master I must say, I'd prefer having as little commits of this kind as possible. Perhaps having one just before the release would be sufficient.
How is the action triggered?

On schedule each night

From a couple of days. Before it was done on each pr merged, issue closed etc

I see. I could live with one commit a day (if there is some activity on that day). But anyway, it would be handy to be able to trigger an update manually before cutting a release. Would something like that be possible?

... and yes, having a way to auto-assemble a change log is useful. Thanks for proposing it!

I never heard of possibility of running gh action manually but maybe @jamesnetherton knows more

I never heard of possibility of running gh action manually but maybe @jamesnetherton knows more

I think you'd need to have a personal access token set up to do that.
One option could be to trigger the changelog action whenever a new tag is pushed.

One option could be to trigger the changelog action whenever a new tag is pushed.

I thought that would be too late for the new tag to appear in the change log, when the change log is referenced via the given tag. But apparently it works somehow for Kafka connector - release 0.5.0 is listed as of 'camel-kafka-connector-0.5.0' tag of the change log https://github.com/apache/camel-kafka-connector/blob/camel-kafka-connector-0.5.0/CHANGELOG.md
The workflow run preceding the tag knew somehow magically that the tag is going to happen https://github.com/apache/camel-kafka-connector/commit/fe8aae3e87c29dae1e2c9843210238f7e2c6f085#diff-4ac32a78649ca5bdd8e0ba38b7006a1eR3
I wonder how is that possible?

The tag was created and then removed :-) because we had problem with the release


support aten::index.Tensor

Description
aten::index.Tensor(Tensor self, Tensor?[] indices) -> (Tensor) is a complicated PyTorch function which can receive several indices. To focus on Video Swin Transformer, this version converter only supports one index. I will improve this converter in a future release.
Fixes #766
Type of change
Please delete options that are not relevant and/or add your own.

New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project (You can use the linters)
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas and hacks
[x] I have made corresponding changes to the documentation
[x] I have added tests to verify my fix or my feature
[x] New and existing unit tests pass locally with my changes

Fixes #468


FATA[0000] unknown logging driver "syslog": not found

Description
Hey Team,
We are trying to setup harbor registry with nerdctl compose and while spinning up the same, we got CNI errors which were fixed by solutions from this.
Now we are getting below error,
FATA[0000] unknown logging driver "syslog": not found
Steps to reproduce the issue

Describe the results you received and expected
With docker and docker-compose these errors never occured.
What version of nerdctl are you using?
ubuntu@ip-172-16-4-239:~/harbor/harbor$ nerdctl --version
nerdctl version 0.22.2
Are you using a variant of nerdctl? (e.g., Rancher Desktop)
No response
Host information
sudo nerdctl info
Client:
 Namespace:	default
 Debug Mode:	false

Server:
 Server Version: 1.4.13
 Storage Driver: overlayfs
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Log: fluentd journald json-file
  Storage: native overlayfs
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.11.0-1022-aws
 Operating System: Ubuntu 20.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 29.36GiB
 Name: ip-172-16-4-239
 ID: eb0871bf-d4a3-4762-ba89-43f1d7599dec

The syslog driver is unimplemented. Please use json-file, fluentd, or journald

Added to the list of drivers https://github.com/containerd/nerdctl/issues/1039

Is this closed since #1377 was merged?


Demo: Add snapshooter

During development of #2844 I missed an easy way to see the generated typescript file during writing a test. With this PR I want to demonstrate, how snapshot testing can help during development time and is also a kind of guarantee during a refactoring session.
I used https://github.com/SwissLife-OSS/snapshooter which is a small extensions and extends Xunit.
So please take a brief look and ping me, if you like it. I could integrate Snapshooter to any Generation-Tests.

One more thing: If you want to use it in the future, consider to set SNAPSHOOTER_STRICT_MODE=true for a ci build

In order to fail tests that are without a snapshot on your CI-build you can set the snapshooter behavior to strict-mode by setting the environment variable SNAPSHOOTER_STRICT_MODE to on or true.

If you don't like this idea, feel free to close this PR. :-)


Write CF conventions compliant netCDFs.

I'm proposing that we follow the standard NetCDF CF Metadata Conventions for all input and output datasets in VIC.  The implications of following these conventions are:

netCDF variables would be named according to the CF Standard Name Table.  Variables internal to VIC would remain the same.
variable attributes and units would follow the conventions in the  CF Standard Name Table

long_name
units
description

coordinates and coordinate variables.
global file attributes:

title
institution
source

history
references
comment

cc @wietsefranssen

I'll complete this issue as part of my refactor of put_data (xref: #198 and #281).

closed via #483, #484, #494


Missing API doc for isAttached property

From @lingtalfi on August 23, 2016 17:40
In the source code of the app-drawer element,  the isAttached property is used.
// line 236 if app-drawer.html
      observers: [
        'resetLayout(position, isAttached)',
        '_resetPosition(align, isAttached)'
      ],

Cannot found that property/attribute in the doc.
I searched that page: https://www.polymer-project.org/1.0/docs/devguide/observers, and googled it too.
Maybe it's not intended to be used by developers?
But if it is, it should be documented.
Copied from original issue: Polymer/docs#1721

I thought I'd already filed a bug on this one, but I can't find it. isAttached is missing from the API docs.

Fixed via https://github.com/Polymer/polymer/pull/4368.


Fix .net core parsing for framework-specific dependencies

The extension doesn't parse framework-specific dependencies in project.json file.
Here is an example of such file:
https://github.com/olsh/todoist-net/blob/master/src/Todoist.Net.Tests/project.json (lines 13 and 21)

Thanks @olsh!


fix(#1):  change Common words to default and set  performance min value

change Common words to default  choices and set  performance min value
#1

Looks good, thanks!


document is not defined

Fresh react-native 0.12 project. Add server and running off master a58a670fe9b68b88da3b980da55390b85bba7ed9
Uncaught Error: Uncaught ReferenceError: document is not definedmessageHandlers.executeApplicationScript @ debuggerWorker.js:18onmessage @ debuggerWorker.js:42

Traced to var scriptElements = document.getElementsByTagName("script");

Ditto

I've traced the error to webpack-dev-server/client/index.js#L4, which is included as 'webpack-dev-server/client?http://localhost:8082' in the webpack config.
I think I know how to get HMR working with the new web worker in RN 0.12 (at least in a hacky way). More info soon :smile:

See #103 for the full explanation & temporary fix


Preference/Key to show macOS version on loginwindow

Would like to see an option to either enable the macOS version showing on login window or having macOS version included in the shouldShowVersionInfo preference as well. This will be helpful in identifying computer versions from a quick glance on the login screen if your are doing physical inventory rather than logging in to the machine.

Hi:
I would like to suggest incorporating some features from past macOS LoginWindow into Xcreds. These features, such as HostName, SystemVersion, IPAddress, and LoginWindowText (which allows customizing the text displayed in the login window), would greatly enhance our ability to monitor systems physically and provide necessary information to end-users.
For instance, having the ability to display HostName, SystemVersion, or IPAddress on the login window could be invaluable for notifying users or IT staff about certain system details. Additionally, features like ShutDownDisabled and SleepDisabled would be beneficial for systems where powering on or waking up might pose an additional burden.
The documentation from Apple's developer website provides valuable insights into these features:
https://developer.apple.com/documentation/devicemanagement/loginwindow

You are correct! Apologies on that, I will close this one out so we aren't duplicating the request.


Add Entity universe

The entity universe represents the complete set of entities over which deppy will operate. The entity universe surfaces methods for searching and sorting entities.

/hold until entity PR gets merged

/hold cancel

Could we add an example of how we'd expect this library to be used during any constraint building operations if you had already have something in mind?


Support for nRF52 compilation

This PR will add support to compile for nRF52 using this "ancient" repo. This way you can create an app targeting SDK 11 (and probably even SDK 12) that can be compiled for both nRF51 and nRF52 using the same codebase. If you use the "simple_ble" library you can just target to SDK 11 and the same codebase will compile. However if you want to use the SDK 12 you will need to do some modifications since the SoftDevice for nRF52 and nRF51 are not quite the same (v3.0.0 vs v2.0.1).
The "full_adv" example has been tweaked to support compilation for both platforms.
This should fix the issue #44.

And I confirmed it works on nRF52s


Remove the sf5 compatibility patch from the collector by removing the typehint

It seems that the tests are passing :)


hack to handle pdf figures in notebook

This may not be the correct way to handle it, but it was the easiest way to fix this bug:
In some of my notebooks, I use this code block, which causes issues:
from IPython.display import set_matplotlib_formats
set_matplotlib_formats('png', 'pdf')

Specifically, it causes the notebook output to look like this:
"outputs": [
    {
     "data": {
      "application/pdf": "JVBERi0xLjQKJazcIKu6CjEgMCBvYmoKPD<etc>==\n",
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAV0AAADtCAYAAAAc<etc>=\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7f7c2c22f3d0>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],

When I run this with sphinx, I get the following in my built html file:

This basically just changes the template so instead of having an extension on the written filename of the image, it leaves it with an asterix (i.e. my_image.* instead of my_image.png). This lets sphinx choose the appropriate image based on the backend (sphinx docs link)
This assumes the extension is 3 characters, which I thought was probably a fairly good assumption (png, pdf, jpg, svg), but maybe there will be exceptions I haven't thought of.

Thanks for your PR!
I think that a robust solution to this might be a bit more involved, though.
I think the actual bug in that case (i.e. the WARNING is shown instead of using the available PNG data) is that filter_data_type is used in the template. The example for that was the RST template and the RST exporter from nbconvert, which just use the default display_data_priority: ['text/html', 'application/pdf', 'text/latex', 'image/svg+xml', 'image/png', 'image/jpeg', 'text/markdown', 'text/plain'], which lists PDF before PNG.
The problem for nbsphinx is that HTML and LaTeX output need different display priorities. BTW, nbconvert uses this for HTML: ['application/javascript', 'text/html', 'text/markdown', 'image/svg+xml', 'text/latex', 'image/png', 'image/jpeg', 'text/plain'] and this for LaTeX: ['text/latex', 'application/pdf', 'image/png', 'image/jpeg', 'image/svg+xml', 'text/markdown', 'text/plain'].
I thought about using the asterisk for the image directive (as you are suggesting), but I've not gone through with it because it wasn't necessary for the use cases I was trying.
I didn't know about set_matplotlib_formats(), which looks interesting. Do you actually want to use the PDF data from matplotlib in the LaTeX output of Sphinx?
Or do you just want to avoid the warning in the HTML output?

A solution using .* should also consider the conversion of SVG images to PDF and vice versa. But probably we'll have to wait until this is solved in Sphinx, see #3 and #19.

Thanks for taking the time for the detailed reply (and for starting this project... it's going to be really nice to be able to remove the nbconvert step from building my sphinx docs)
To answer your questions:
My issue is not just that it displays a warning in the HTML output... it doesn't give an output image at all! So I can't actually use it on the current notebooks.
I personally don't need the pdf figure in the latex sphinx output. It would be nice, but it's not really necessary. But I do need the html output to have the figures (I was using set_matplotlib_formats for one of my custom templates, not for sphinx).
Also conversion of pdf->svg and vice versa will likely have errors in the conversion. Would it be easier to simply pick the best format from those available in the notebook?

Yes, I think it's definitely better to take the best data from the notebook, if a reasonable candidate is available. But if not, conversion is still better than nothing, right?
Anyway, I think your little hack is innocuous enough to use it for now and do the "real" solution later.
But I think the splitting of the path could be a bit more robust, because .jpeg is quite common ...
What about using output.metadata.filenames[datatype].rsplit('.', 1)[0]?

I agree that would be better. I have updated the pull request.

Thanks a lot, I've merged your commit.
There is now an error when running LaTeX on the docs because of the YouTube video, but this didn't work really work correctly before either.
Now do you also want to tackle the "proper" solution?

Is the "proper" solution to use different display priorities depending on which sphinx backend which will be used? I'm aware of any mechanisms to do that.

Well, I don't know if it's really the proper solution, but my idea was to check for the "best" display format for HTML and LaTeX separately (not using filter_data_type but probably something similar). This could be done with a function similar to get_empty_lines().
Then, the template code could check if both are the same and emit reST code for the nboutput directive similar to what we have now. If they are not the same, it could create separate cases with .. only:: html and .. only:: latex.
To avoid duplicate code, the actual reST commands could be created with a Jinja macro somewhat similar to insert_empty_lines().
What do you think about that?
Do you have a better idea?
BTW, we don't know the backend during parsing, so we have to take care of all possible backends at the same time.

I'm not exactly a sphinx expert, but that sounds like a great way to handle it to me.

I've created a separate issue for that (#25), feel free to submit a PR!

@aebrahim I've added an implementation to #25, can you please check if that works for you?

Works great for HTML. However, I'm getting errors for PDF:
LaTeX Error: Unknown graphics extension: .only::html.

This is with sphinx.__version__ == '1.4.1' and nbsphinx at commit a91f8b5

It looks like for the latex case, it inserted this:
\includegraphics{{../documentation/doctrees/nbsphinx/phenotype_phase_plane_5_0.pdf.}.only::html}

\includegraphics{{phenotype_phase_plane_5_1}.png}

\includegraphics{{phenotype_phase_plane_5_1}.pdf}

No idea why, because for the previous image, it inserted (as expected)
\includegraphics{{phenotype_phase_plane_3_0}.pdf}

I guess this implies the trigger case is when there are two output images in the same cell?

@aebrahim Thanks for testing and for finding the bug!
I think this was just a problem with missing empty lines in the intermediate RST string.
I've updated #25 with d002d051be9f3c026b2be748620167251527485f, can you please check if it works now?

I've merged #25, if it doesn't work for you, please tell me!

@aebrahim, you might be interested in this: #48.


How to combine bus stop description as a CompletableFuture?

Summary
I am unsure how to combine the describption function of the BusRoutes file as a CompletableFuture.
Description:
How do you chain multiuple completable futures together?

I had a class variable final CompletableFuture<Map<BusService,CompletableFuture<Set<BusStop>>>> services;
I then did a .thenComposeAsync of this.services and kept the for loop header they gave us in description(). Since the map now has values of type CompletableFuture<Set<BusStop>>, I just did a .thenCombine  with CompletableFuture<String> desc = CompletableFuture.completedFuture(result);.

Thanks Keith!

Somewhat similar to Keith. I retained most of the original code by wrapping the Set<BusStop> in a CF, but did not wrap map. Instead, I wrap the string that I need to return, and use thenCombine and iterative calls to describeServices and concatenated with lambda functions

Yep similar to them, for every BusService, wrap the strings using thenCombine and concatenate the results with lambda functions for every iterative call.


Juno v10

@the-frey, @JakeHartnell and I have talked a great deal about making faster, incremental releases.
So here's juno but more special:

tendermint v0.34.20
ibc-go v4.0.0
cosmos-sdk v0.45.7
iavl v0.19.1

All of these put together make for a leaner, meaner juno.
Deploy plan
This is a state breaking change because of ibc-go v4.0.0  It should be tested on Uni first.
Deploy timeline
We should play around and see how quickly (or not) we can get this out.  The changes are in total quite minor, though they should make juno a good deal faster because we'll be using the Osmosis turbocharged iavl.
Addendum
This currently uses a notional-labs fork of wasmd.  I think that this work is now good to go for Uni, but we should wait for this PR:

https://github.com/CosmWasm/wasmd/pull/940

To be merged upstream before we take this live on mainnet.
There have been requests from the community to make our block times lower.  When this PR is merged, various validators can/should begin lowering their commit timeout, and we can have faster juno, too.  This is comfortable because of the turbocharged osmosis iavl (now just plain old iavl v0.19.1)

@faddat i saw some cosmos repos already using ibc go v4(alpha), any estimation if that would introduce breaking changes again? Will check the diff of v3v4 later today

definitely agree wiht your changes @the-frey

https://github.com/CosmWasm/wasmd/pull/937

@JakeHartnell @joeabbey  @the-frey  hey fyi -- this requires https://github.com/CosmWasm/wasmd/pull/937 to be merged upstream.

🔥

https://github.com/CosmWasm/wasmd/pull/940

many thanks to Mr. David, another upstream swimmer, for

https://github.com/CosmWasm/wasmd/pull/919

Changes look good, I'm just getting caught up now I'm back at my desk. I guess we want to test the blocks/inflation test first and then get this up on uni. Maybe that order.

yeah, so I think that this PR should be merged and referred to as the base of Juno v10
Agree that we should do the inflation thing, which likely reqires a gov prop.
Are you referring to the suggestion about making it linear instead of steps, or something else?

That's the idea -- also since I figure that Juno is best off as a reference implementation of wasmd, we've also made a wasmd branch based from osmosis-- afaik unfinished.

Latest bump brought us current with this wasmd branch:

https://github.com/CosmWasm/wasmd/pull/940

Modified superlinter.yml so that we don't check over go code twice.

FYI: this could easily be superceded by:
https://github.com/CosmosContracts/juno/pull/270
They're now both in the same state in that for both PR's we are relying on a Notional fork of wasmd

FYI: this could easily be superceded by:
#270
They're now both in the same state in that for both PR's we are relying on a Notional fork of wasmd

I'd stick with SDK 45 for now, what do you think @JakeHartnell @the-frey ?

given events of the past few hours, fully agree @dimiandre

Yep stick with 45

Leaving a note for self here: version 10 is not ready for production until we can revert to mainline wasmd


[SPARK-48352][SQL]set max file counter through spark conf

What changes were proposed in this pull request?
Now we can set  spark.sql.files.maxRecordsPerFile through spark conf.
But MAX_FILE_COUNTER can not.
Set as default parameter.
Why are the changes needed?
set max file counter through spark conf : spark.sql.max.file.counter
Does this PR introduce any user-facing change?

How was this patch tested?

Was this patch authored or co-authored using generative AI tooling?

@LuciferYang  Can you review this？


Add where methods to the readme

Document the ability to use where and where.not, which seem to work.

Thanks 😄


Support model inheritance

Add support for model inheritance:

The parent model(s) may extend either odmantic.Model or odmantic.EmbeddedModel.
Class attributes added by odmantic (__odm_fields__, __references__, __bson_serialized_fields__, __mutable_fields__) are copied from the parent model(s) to the child model.
The child Config inherits the parent Config(s) (if any).

Note: This PR is based on top of https://github.com/art049/odmantic/pull/344, here's the actual diff. I will rebase it once the latter is merged.

@art049

@art049 Any plans of merging this PR please?

@art049 - when would get merged?


CookingRecipeJsonFactory spelling error with parameter

ouptut -> output

net/minecraft/client/gui/screen/ingame/BookEditScreen.stripFromatting()
RuinedPortalFeaturePiece should be in structures, not world/gen
not only are Generators there but also base Piece classes
A few other notes from discord yarn channel so we get all of them fixed


Disable docker cpuset allocation when CPUS is 0

as advertised in the help text, but not currently true
What is the problem that this PR is trying to fix?
The help text claims that setting CPUS to 0 will disable cpuset allocation, but this is not currently true.
What approach did you choose and why?
Do like the help text claims.
How can you test this?

[x] staging deployment with export TRAVIS_WORKER_DOCKER_CPUS=0

What feedback would you like, if any?

@soulshake There are tests that cover the defaulted CPU set size of 2, fwiw 👍

@meatballhat Sorry, I meant a test for when the CPU size is 0 :)

@soulshake do you mean like this one? https://github.com/travis-ci/worker/blob/edb4401e7ac15c73fce575e46cf196a26f2f8731/backend/docker_test.go#L321-L330

@meatballhat Ah yes, that seems like it'll jolly well do :+1:


Disable Time Clarification Component when date-time-picker is Disabled

Summary
Resolves #1705
If you enable a date time picker, complete the time clarification dialog and disable the input, the time clarification button is still active. This pull request resolves that issue.
Verification Link:
https://terra-core-deployed-pr-1713.herokuapp.com/#/tests/terra-date-time-picker/date-time-picker/date-time-picker-dst-disabled

Functional verification completed. The time clarification dialog now correctly enables/disables the time clarification button, as expected.


Couldn't update branch property of a sourcecontrols/web resource

branch property of a sourcecontrols/web (name: web, type: Microsoft.Web/sites/sourcecontrols) resource couldn't be updated from https://resources.azure.com/.
When I execute a PUT request to https://management.azure.com/[app-service-id]/sourcecontrols/web?api-version=2018-02-01 operation succeeds, but value of the branch property remains the same.

@naveedaz I believe you might have some insight here

@naveedaz any updates?

The branch is specified at deployment setup time.  Once setup, one may not change it with the API.   One need to disconnect and re-setup the deployment again.


rebar2 style dep tuple fails to fetch

Error from rebar3:
===> Uncaught error in rebar_core. Run with DEBUG=1 to see stacktrace
===> Uncaught error: {rebar_fetch,
                             {fetch_fail,
                              {git,".*","https://github.com/nuex/webdrv.git",
                               {branch,"otp-compliant"}}}}

When I remove the ".*" element it works.
Looking into this further, rebar_git_resource doesn't have a clause that matches ".*", Url, {branch, Branch}.
Wasn't sure if this was expected behavior or not, just thought I would note what I discovered. Changing rebar.config to not use ".*" in the app is fine with me.

I just realized I was using the wrong syntax. The rebar2 version number usage goes outside of the source tuple. Oops. Should have been:
{webdrv, ".*", {git, "https://github.com/nuex/webdrv.git", {branch, "otp-compliant"}}}


error run generate_bloom.py

My configuration: A100 with eight cards.
After running generate_bloom.py,  a public URL will be prompted. When I enter this URL, enter the instruction and input, and click submit, the following error is prompted: AttributeError: 'NoneType' object has no attribute 'device'.

@canglangzhishuiz  you can check a solution here https://github.com/tloen/alpaca-lora/issues/21


Please supply request URL to MIME hooks

I suggest that MIME hook commands would be given request URL as an argument like this:
hook-command mime/type URL lang=en

This would be a change that would break backwards-compatibility for some users, but the project is quite new and I think it can still do that.
This would open a possibility to make useful HTML converters, because usually it is easier to write a special parser for a site one visits frequently, than to write a universal HTML to gemini converter.
Alternatively, please create "URL hooks" that would match on the URL before the request is made and would either rewrite the URL (e.g. with a gemini redirect) or would supply the response.
The browser could show some hints for the user if the link on a page will be rewritten by an URL hook.

URL hooks could be useful, I'll think about how those would work.
For MIME hooks, how about I supply the URL via an environment variable, like REQUEST_URL? Then it can be easily ignored by hooks who don't need it.

REQUEST_URL would work too.

All right, please test 90472c8.

Actually, that will race if multiple requests happen to finish processing at the exact same time. Pretty unlikely, but I should still address that issue.

Tested 90472c8 and REQUEST_URL seems to be working as expected.


How to use with Gson SerializedName annotation?

I have been using Fuel for a while, and separately adding Gson dependency and using it to parse json fetched by Fuel.
I figured I may as well use the extension package com.github.kittinunf.fuel:fuel-gson instead and use responseObject instead of responseString and then parse it.
This works fine but some data classes use the annotation like:
@field:SerializedName("Name") val name: String
But can I use this annotation using the extension package? I can't seem to access it. It doesn't seem correct to use the extension package and then separately add another Gson dependency just to access the annotations? Should I just not use the extension package?
Appreciate this is a question but if any could point me in the right direction that would be great thanks.

Yeah, I think because we use implementation for Gson dependency. So, the API of Gson is not leaking out to the consumer.
You have to include/add the dependency for Gson manually yourself.
Could you try that and see whether it works?

Yes also adding the Gson dependency manually works and I can use responseObject etc.
I think doing that, ideally I would want to make sure I am always using the same version of Gson as your extension, so I would need to remember to update them together as needed.
But this isn't a big deal for me, I just wasn't sure if I was missing something. Thanks for you help.

I think it is okay to add things manually.  It is your project so it is better for you and you should be the one in charge of the dependency version not us.
Thank you for using Fuel, also thanks for creating this issue though. If you don't mind, I will close this.


vsci: init at 7.0.12

Motivation for this change
vsci is a very popular cli video "contact sheet" generator.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

@marsam you seem to do a lot of video related PRs
Requesting review ^-^

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/293


Create an Actor hierarchy

Every Actor doesn’t need all the properties and methods of the current Actor. Break it up into separate protocols; to support multiple inheritance.
This allows other code to operate on Actors depending on what protocols they implement.

Hey! I got this one figured out with the ECS stuff. I just need to keep migrating the current Actor functionality to Entities.


feat(cli): list schema

Details
Schema-related API changes:

db.schemaRegistry -> db.schema
schemaRegistry.getAll() -> schemaRegistry.listDynamic()
Introduced StaticSchema type for immutable schema (both runtime and stored)
Introduced db.schema.list() method for retrieving all static schemas

CLI-related changes:

dx space schema list shows space picker if no space provided and lists all schemas.
dx space schema list --typename prop lists schemas with "prop" in typename (case-insensitive).
dx space schema list --extended prints schema json representation.

Introduced StaticSchema type for immutable schema (both runtime and stored)

I assume StaticSchema can be changed, but only by bumping the version number and optionally writing migration scripts?

Introduced db.schema.list() method for retrieving all static schemas

So in the case of my Contacts app, I should be able to persist the Contacts schema to the database and then query it in Composer?
What work needs to be done to Composer's tables to support these new APIs? I assume that by default Table creates a dynamic schema, but we probably want table to support static schemas as well. In that case, you wouldn't be able to add/remove columns.

I assume StaticSchema can be changed, but only by bumping the version number and optionally writing migration scripts?

Static here means it's a snapshot of what was registered at the moment of query, those are not "live" objects you can mutate for changes to be reflected in any other place.

So in the case of my Contacts app, I should be able to persist the Contacts schema to the database and then query it in Composer?

Unfortunately, not yet. That's just some quick changes for space inspection tooling.


Tar should not have image size specified

When a user selects to build a tar image they should not be prompted to set the image size.

The tar image type is no longer supported


enable updating message after loading indicator has been presented

Addresses https://github.com/ninjaprox/NVActivityIndicatorView/issues/109
PTAL @ninjaprox

@ozgur: Thanks, nicely done! 👍


Updating to Intel 19.1.3 and Baselibs 6.0.22: Tests Please

We (the GCM folks) are planning to move GEOS GCM to use Intel 19.1.3 on discover (and NAS, etc.). The main reason for this is that Intel 19.1.3 seems to handle the weird build issues (random segmentation faults at compile time) plaguing the GCM on discover at present. Testing with the GCM has shown zero-diff save for MOM6 (which technically doesn't produce good science at the moment anyway).
At the same time, we are also wanting to move to Baselibs 6.0.22 (which has some updates needed for some of @weiyuan-jiang 's other work for us).
What I'd like is if more knowledgeable LDAS devs (@biljanaorescanin and @weiyuan-jiang or even @gmao-rreichle ) could test LDAS as well, make sure it works. The "usual" way I'd do this is to change my nightly test script and run it, but the issue is that if anyone else out there was using at the time, they'd suddenly get a new compiler.
If you feel that's fine, I can give it a try, but you all know more of what to look out for.
For testing, there are two ways to get the new compiler. ESMA_env has a v3.1.0 release, or you can directly copy the g5_modules from:
/gpfsm/dhome/mathomp4/GitG5Modules/SLES12/6.0.22/g5_modules.intel1913.impi1913

Note: @sdrabenh is doing his own tests as well for suitability for the GCM, but I'm pretty certain that it's okay (I ran the GCM nightly tests with Intel 19.1.3 for a while and it seemed happy).

@mathomp4  I am running the tests now. @gmao-rreichle  this will move Baselibs to HDF5 1.12.0, if I remember right LDAS_GLOBAL/assim test case will indicate if there are any problems with this.

@biljanaorescanin Nooo. It moves from HDF5 1.10.6 to 1.10.7. I am not moving to HDF5 1.12 without more testing. But the .6 to .7 update was very minor:
https://www.hdfgroup.org/2020/09/release-of-hdf5-1-10-7-newsletter-175/
But some newer machines I was testing GEOS weren't happy with 1.10.6 for reasons I never figured out.

Well, I guess "minor" more than "very minor". It mainly added new functions for people to use, but it did not do any API changes like 1.12.0 does. That one I'm approaching more carefully.

@mathomp4 Ok... I didn't get that. Anyway tests are in q so we will see. I will update once done.

Here is a bit more on the update:
https://portal.hdfgroup.org/display/HDF5/New+Features+in+HDF5+Release+1.10#NewFeaturesinHDF5Release1.10-1_10_7
If anything, it should be faster according to them. And here are the new functions:
https://portal.hdfgroup.org/display/HDF5/Software+Changes+from+Release+to+Release+for+HDF5-1.10#SoftwareChangesfromReleasetoReleaseforHDF5-1.10-1_10_7

All tests passed with new ESMA_env tag v3.1.0 except CatchCN related tests (since we still didn't update them.)
@mathomp4 @gmao-rreichle @weiyuan-jiang

Closing as this is now done


Allow .nycrc.json

I'd like to be able to save my .nycrc as a .json file for automatic file type detection in VIM, Visual Studio Code, etc. This is a feature request, not a bug, but for consistency:
Expected Behavior
I put my configuration, JSON-formatted, in .nycrc.json and nyc respects that configuration when I run npm test, which in turn runs nyc nf mocha (nf for node-foreman)
Observed Behavior
nyc does not notice .nycrc.json as a configuration file (looking for .nycrc only), and falls back to default behavior.
Bonus Points! Code (or Repository) that Reproduces Issue
My repo (with .nycrc, no .json because as stated that doesn't work) can be found here.
Forensic Information
Operating System: MacBook Pro, macOS 10.12.4. zsh in Terminal for my command line, to be thorough.
Environment Information: nvm running node 6.1.0; yarn for dependencies

@bensaufley this is totally a think now \o/ thanks for helping to implement it.
I've recently setup a community slack (see README.md) if you feel like staying in touch and contributing more to these projects.