ListBox does not trigger "activate" on mouse click or double-click

I'm trying to use connect_activate on a ListBoxRow. It's working with a keyboard event (the return key) but not with a mouse click.
See the code below. I'm expecting to see the "activation ..." println on a click on the widget.
What do you think ?
extern crate gtk;
use gtk::prelude::*;

fn main() {
    if gtk::init().is_err() {
        println!("Failed to initialize GTK.");
        return;
    }

    let window = gtk::Window::new(gtk::WindowType::Toplevel);
    window.set_size_request(640,480);

    window.set_title("test");
    window.connect_delete_event(|_, _| {
        gtk::main_quit();
        Inhibit(false)
    });

    let lb = gtk::ListBox::new();
    window.add(&lb);

    assert!(lb.get_activate_on_single_click() == true);

    for s in ["one", "two", "three"].iter() {
        let row = gtk::ListBoxRow::new();
        lb.add(&row);
        row.add(&gtk::Label::new(s as &str));

       assert!(row.get_activatable() == true);

        let s = s.clone();
        row.connect_activate(move |_| {
            println!("activation {}", s)
        });

    }

    window.show_all();
    gtk::main();
}

Take a look here: https://github.com/GuillaumeGomez/process-viewer/blob/master/src/procs.rs#L82-L96

Thanks but ListBox doesn't have a model (unlike tree_view), so with a signal like connect_row_selected I can only call ListBoxRow::get_index. It's not very convenient and as the signal for selected is on the ListBox and not on the ListBoxRow I would have to manually manage the link between the different row and my corresponding data.
That would be better to attach a closure to the row but there is only the signal connect_activate available on a ListBoxRow.

There also connect_row_activated that works with mouse click in your example

There is this function too: https://developer.gnome.org/gtk3/stable/GtkListBox.html#gtk-list-box-set-activate-on-single-click

@GuillaumeGomez  Yes I saw it, and in my example there is a assert!(lb.get_activate_on_single_click() == true);. Anyway activation should occurs on double-click and it doesn't work either.
@EPashkin thanks I'm testing that: if, in my example, I add this before the loop
lb.connect_row_activated(move |_,lbr| {
    println!("youyou ?");
    assert!(lbr.get_activatable() == true);
});

I see the the activation with a single click. So the question is: why is the activation not transferred from the ListBox to the ListBoxRow?
I have tried to call myself lbr.activate() but this provoke a loop (and so a stack overflow).
It looks like a bug, doesn't it ?

Maybe Label that in ListBoxRow don't pass click to row.

No the child relation ship is the other way: ListBox --> ListBoxRow --> Label

And now I have applied the workaround on my actual project. It's working but I see the following in the terminal
(.:12069): Gtk-CRITICAL **: gtk_widget_grab_focus: assertion 'GTK_IS_WIDGET (widget)' failed
(.:12069): Gtk-CRITICAL **: gtk_widget_queue_draw: assertion 'GTK_IS_WIDGET (widget)' failed
(.:12069): Gtk-CRITICAL **: gtk_widget_get_accessible: assertion 'GTK_IS_WIDGET (widget)' failed
(.:12069): Gtk-CRITICAL **: gtk_list_box_row_get_activatable: assertion 'GTK_IS_LIST_BOX_ROW (row)' failed

Look likes there is something wrong internally

Or you just make typo ;)

Don't know about Gtk but normally mouse click go from child to parent if child don't process it.

Yeah of course, I'm not an expert on gtk at all ;)
But the documentation says

Although a ListBox must have only ListBoxRow children you can add any kind of widget to it via ContainerExt::add, and a ListBoxRow widget will automatically be inserted between the list and the widget.

So I think I (as a library simple user) should not be able to mess up this.

I am also running into this issue and cannot use the listbox.connect_row_activated because in the callback I need information that is only available when the ListBoxRow is added.

"active" signal on ListBoxRow is an action signal that can be used to
activate the row by emitting it. One can connect to it, but there is no
guarantee that all row activation will be performed through this signal.
The "row-selected" or "selected-rows-changed" is the one you should connect to.

I'm running into this as well. Using connect_activated on ListBoxRow ensures that as the data presented by the ListBox changes only callbacks for the active data set will be invoked.
AFAICT ListBox doesn't provide a method to get the current selection like tree views do. So attempting to work-around this problem by using a method like connect_row_activated on the ListBox means I need clone the data set presented in the list box so that I can index into the clone in my activated callback function.
Referencing a clone in the callback is problematic because as the data shown in the list box changes my callbacks aren't updated, and they start to act on stale data.
I'm a GTK noob, so maybe I'm missing something about how to get the row data out of the arguments passed to the connect_row_activated callback?

Instead of actually copying the data, you could store your data in an Rc so that the same data can be accessed from multiple places at once safely.


Blazor page's OnInit/OnInitAsync not called for query string changes

Blazor page's OnInit/OnInitAsync is not called when navigated to the same page with different query string.
I am little lazy to describe it using the bug report template but I can demonstrate the issue using a sample code if necessary.

You can use OnParametersSet/OnParametersSetAsync for that purpose.
OnParametersSetAsync and OnParametersSet are called when a component has received parameters from its parent and the values are assigned to properties. These methods are executed after OnInit during component initialization.
From: https://blazor.net/docs/components/index.html

@IvanJosipovic I have exact same issue with OnParametersSet/OnParametersSetAsync. It is not invoked after second navigation.

Thank you for your feedback.
We're closing this issue as the behavior discussed is by design.

@mkArtakMSFT really? Then blazor should at least provide us a mechanism to know when url query parameter values are changed. Angular provides that and is much better than blazor. Without it, blazor does not work in many scenarios.


Upgrade org.codehaus.mojo:versions-maven-plugin 2.14.1 -> 2.14.2

This PR contains the following updates:

Package
Type
Update
Change

org.codehaus.mojo:versions-maven-plugin (source)
build
patch
2.14.1 -> 2.14.2

Release Notes

mojohaus/versions
v2.14.2
Compare Source
Changes
🚀 New features and improvements

Add a simple cache for ComparableVersions (#870) @TobiX

🐛 Bug Fixes

Resolves #872: Make allowSnapshots an explicit argument in lookupDependencyUpdates and in reports (#873) @ajarmoniuk
Fixes #866: Require maven 3.2.5 (#867) @ajarmoniuk
Resolves #850: Protecting the display-plugin-updates mojo against a NPE in case the effective version of a plugin is not resolved (#862) @ajarmoniuk
Resolves #855: Set should evaluate expressions (#856) @ajarmoniuk
Removes parallelStream use with non-thread safe collectors (#861) @ajarmoniuk
#858 Fix child module resolution for multi-level projects (#859) @corebonts

📦 Dependency updates

Bump wagon-provider-api from 3.5.2 to 3.5.3 (#879) @dependabot
Manage transitive dependencies version for security updates (#877) @slawekjaranowski
Upgrade com.fasterxml.woodstox:woodstox-core to 6.4.0 (#876) @slawekjaranowski
Bump actions/stale from 6 to 7 (#871) @dependabot
Bump mockito-inline from 4.9.0 to 4.10.0 (#854) @dependabot

👻 Maintenance

Project dependencies maintenance - move versions to dependencyManagement (#875) @slawekjaranowski

[ ] If you want to rebase/retry this PR, check this box

The Java Platform team wishes you a happy festive period. Here is the suggested commit message:
Upgrade versions-maven-plugin 2.14.1 -> 2.14.2

See:
- https://github.com/mojohaus/versions/releases/tag/2.14.2
- https://github.com/mojohaus/versions-maven-plugin/compare/2.14.1...2.14.2

Renovate be like

Header generated and modified from Sweaterify.


raise dependency of mssql to ^11.0.1 to avoid forming dependency chain with vulnerability

resolved by https://github.com/orychung/endfw/pull/32


Properly pass string length when converting betwen C and go strings

Conversion between C strings and go strings assumes that strings are null-terminated. But Hattrie keys / GSB hashes are byte strings that can contain null bytes.

Coverage remained the same at 61.39% when pulling b40daf69a1e17ce28955c8b82d08c3e8bae0d423 on open-ch:feature/open-ch-2 into 5fad2947da31047da66022a9b5203cb716eedac5 on rjohnsondev:develop.


About 'cube_inputs' for unifuse.py.

[Question]
cube_inputs = torch.cat(torch.split(input_cube_image, self.cube_h, dim=-1), dim=0) in unifuse.py.
this code seemingly cat six cube face on dim0. i.e., (batch_size, 3, h, 6h) --> (batch_size6, 3, h, h).
I think that the cube encoder can not ultize feature of different minibatch. Intuitively, catting these face on dim of channel are responable. But, it can't use the imagenet-pretrained network.
Did I understand correctly?

This line of code definitely casts input_cube_image from (batch_size, 3, h, 6h)  to (batch_size*6, 3, h, h).
In Unifuse, the cube decoder just processes each cube face independently. Maybe to cat the cube faces in the channel dim may help to jointly model the cubemap better. The imagenet-pretrained parameters can be also utilized. We can copy the parameters of the first layer several times to initialize the new defined layer. Please refer to https://github.com/nianticlabs/monodepth2/blob/93b9ebb4c8bdc71a07e18bee64d76ec21bc3e8fc/networks/resnet_encoder.py#L42.

This line of code definitely casts input_cube_image from (batch_size, 3, h, 6h) to (batch_size*6, 3, h, h).
In Unifuse, the cube decoder just processes each cube face independently. Maybe to cat the cube faces in the channel dim may help to jointly model the cubemap better. The imagenet-pretrained parameters can be also utilized. We can copy the parameters of the first layer several times to initialize the new defined layer. Please refer to https://github.com/nianticlabs/monodepth2/blob/93b9ebb4c8bdc71a07e18bee64d76ec21bc3e8fc/networks/resnet_encoder.py#L42.

Thank you for your suggestion.


specifying -T with a number of threads which would cause thread starting offset to be beyond EOF spins silently/no io

Specifying starting thread offsets with -T assigns threads to sequentially advancing offsets starting with the base file offset, and then <thread#>*<-T offset>. It appears that if the total number of threads is such that that starting offset would be beyond EOF, the tool silently hangs with no IO issued.
Lets make this either wrap (preferred?) or be an error condition, TBD.

This has been improved, to the extent we now get an error out of the individual load threads similar to the following. However, it still falls into the known bucket of load thread runtime error handling delays which would be really nice to solve (i.e., terminate fast).
diskspd.exe -t4 -T5M -Suw -b64k -s -w0 -o1 -D -L \foo.bin The file is too small. File: '\foo.bin' relative thread 2: file size: 10485760, base offset: 0, thread stride: 5242880, block size: 65536 The file is too small. File: '\foo.bin' relative thread 3: file size: 10485760, base offset: 0, thread stride: 5242880, block size: 65536 There has been an error during threads execution [... rest ...]


Initial Groups Scanner.

This is the initial implementation of the groups scanner.  Please read the following notes:

Data are organized as nodes in a tree structure.  This is so that we can know how to apply the rules in a hierarchy.  i.e. foo rule applies to foo node, but bar rule applies to bar node.
Only whitelist mode is supported for this PR.  Blacklist and required modes are left as TODOs.
There are some deviations from the established rules structure, I'm trying out using conditions.
The only inheritance that seems sensible for group members is self_and_children, and no inherit_from_parent option.
Making separate execution path in the scanner.py, since the group scanner works and returns differently.  Also, no output yet.  Will clean this up.
I have tested this functionally, but have not written actual tests.  I prefer to wait for this PR to be reviewed first as things might change.
There are also a lot of stuff to delete from earlier work.  I will delete that later, so not to muddle this PR more than is necessary.

Coverage decreased (-1.8%) to 79.333% when pulling a70e0c7467a9828f8f666313d3192b34d87525d1 on groupscanner into e995b1b18cf274f7c90e6d72f345a4c0f0e78ac8 on master.

Coverage decreased (-1.8%) to 79.36% when pulling 84ce1bdd7adc63b228d2b96f908a593ba09814de on groupscanner into e995b1b18cf274f7c90e6d72f345a4c0f0e78ac8 on master.

Coverage decreased (-1.8%) to 79.36% when pulling 14253b781c2391b8d876da1f13083f1a003d7bf6 on groupscanner into e995b1b18cf274f7c90e6d72f345a4c0f0e78ac8 on master.

Coverage decreased (-1.8%) to 79.36% when pulling f969283c770eaf7ad5d7e99927c865d74d612069 on groupscanner into e995b1b18cf274f7c90e6d72f345a4c0f0e78ac8 on master.

Coverage decreased (-1.8%) to 79.36% when pulling 885660669f1837a4666320f7c14f7b9bdee6ae85 on groupscanner into e995b1b18cf274f7c90e6d72f345a4c0f0e78ac8 on master.

Adding cla: yes label, as the PR author is a googler at the time of this PR was created.


firehose-logs: LogDeliveryEnabled tag missing for aws_kinesis_firehose_delivery_stream resource

Missing LogDeliveryEnabled = true tag for aws_kinesis_firehose_delivery_stream resource.
When applying module again, LogDeliveryEnabled tag gets removed since its not from Terraform but from AWS (aws adds it at the time of creation).
~ resource "aws_kinesis_firehose_delivery_stream" "coralogix_stream_logs" {       id             = "arn:aws:firehose:us-east-1:746657877466:deliverystream/test-74665787-firewall-firehose-logs-stream"       name           = "test-74665787-firewall-firehose-logs-stream"     ~ tags           = {         - "LogDeliveryEnabled"       = "true" -> null           # (4 unchanged elements hidden)       }     ~ tags_all       = {         - "LogDeliveryEnabled"       = "true" -> null           # (16 unchanged elements hidden)       }       # (4 unchanged attributes hidden)       # (2 unchanged blocks hidden)   }

@K-Nakul-K can i have the aws documentation mentioning this LogDeliveryEnabled tag provided?


unbound

Hello,
this is not an issue.
I would like to know if it possible to implement unbound in order to have my personal recursive DNS ?
thanks for you great job

Hi @MacFlurry,
i play with unbound on the local pihole container, could you try follow docker-compose.yml
I add the image mvance/unbound - i don't yet made any test with the OpenVPN connection.
version: '3'
# https://github.com/kylemanna/docker-openvpn/blob/master/docs/docker-compose.md

services:
   openvpn:
     cap_add:
       - NET_ADMIN
     container_name: vpn_openvpn
     image: kylemanna/openvpn
     ports:
       - "1194:1194/udp"
       - "1194:1194/tcp"
     environment:
      #  - VIRTUAL_PORT=${VIRTUAL_PORT_OPENVPN}
      #  - VIRTUAL_HOST=${VIRTUAL_HOST_OPENVPN}
      #  - LETSENCRYPT_HOST=${LETSENCRYPT_HOST_VPN}
      #  - LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL}
      #  - OPENVPN_PROVIDER=${OPENVPN_PROVIDER}
      #  - OPENVPN_USERNAME=${OPENVPN_USERNAME}
      #  - OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
      # - LOCAL_NETWORK=<IP_ADDRESS>/24
       OPENVPN_OPTS: --inactive 3600 --ping 10 --ping-exit 60 -–log-driver json-file --log-opt max-size=10m
     volumes:
       - /etc/localtime:/etc/localtime:ro
       - /etc/timezone:/etc/timezone:ro
       - ./openvpn_data:/etc/openvpn
     restart: always
     networks:
       vpn-net:
         ipv4_address: <IP_ADDRESS>
     logging:
       driver: "json-file"
       options:
         max-size: "10m"
         max-file: "3"

   pihole:
     image: pihole/pihole
     container_name: vpn_pihole
     cap_add:
       - NET_ADMIN
     dns:
       - <IP_ADDRESS>
       - <IP_ADDRESS>
     depends_on:
       - openvpn
     ports:
       #- "553:53/tcp"
       #- "553:53/udp"
       - "8081:80/tcp"
     environment:
       WEBPASSWORD: fcvFjLIO2hWhkFCi
# #1 Digitalcourage | #2 Chaos Computer Club
       PROXY_LOCATION: pihole
       DNS1: <IP_ADDRESS>#5354
       DNS2: <IP_ADDRESS>
     volumes:
       - ./pihole:/etc/pihole
       - ./pihole/dnsmasq.d:/etc/dnsmasq.d
       - /etc/localtime:/etc/localtime:ro
       - /etc/timezone:/etc/timezone:ro
     restart: always
     networks:
       vpn-net:
         ipv4_address: <IP_ADDRESS>
     logging:
       driver: "json-file"
       options:
         max-size: "5m"
         max-file: "3"
   unbound:
     image: mvance/unbound
     restart: unless-stopped
     ports:
       - 5354:53/tcp
       - 5354:53/udp

# docker network create --driver=bridge --subnet=<IP_ADDRESS>/24 --gateway=<IP_ADDRESS> vpn-net
networks:
  vpn-net:
    external: true


Add helper methods to non-keyboard classes

This adds simple to use helper methods to classes that previously didn't have them.
All classes should now be on the same level of usability as the Keyboard class.
Implements #56

Looks good, puts us closer to v2.3.0.


Correction for raw affiliation AMAP, Univ. Montpellier, IRD, CNRS, CIRAD, INRAE, Montpellier, France

Correction needed for raw affiliation AMAP, Univ. Montpellier, IRD, CNRS, CIRAD, INRAE, Montpellier, France
raw_affiliation_name: AMAP, Univ. Montpellier, IRD, CNRS, CIRAD, INRAE, Montpellier, France
new_rors: 03rnk6m14;05kpkpg04;051escj72;02feahw73;05q3vnk25;003vg9w96;020nks034
previous_rors: 03rnk6m14;05kpkpg04;051escj72;02feahw73;05q3vnk25;003vg9w96
works_examples: W4403360967
contact: 70f02a6e77716f52cb774b74f6b11c99:73c0ce498412d7e5614edaa20d9ef0cb4c7e @ inrae.fr

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


Accessing non-existent addons channel

Hi, I'm just switching over to vite, and trying out this builder, and while it seems to build correctly in the terminal, when storybook opens I see an error in the console, and the page does not finish loading:
Uncaught Error: Accessing non-existent addons channel, see https://storybook.js.org/basics/faq/#why-is-there-no-addons-channel
    at AddonStore2.getChannel (:6006/@fs/Users//.../node_modules/storybook-builder-vite/node_modules/.vite/chunk-LAF5HDGZ.js?v=485b51f5:365)
    at :6006/@fs/Users/.../.storybook/preview.js:18

I am using storybook-dark-mode, and listening to events from that addon using their instructions like: https://github.com/hipstersmoothie/storybook-dark-mode#events.  This worked fine with the default storybook webpack builder.
Edit: when I remove that addon, I get a similar error from addon-a11y.
I am using storybook 6.3.0-beta.2

addon-a11y is known to be broken with the vite builder (see https://github.com/eirslett/storybook-builder-vite/issues/6).
And storybook-dark-mode failed for me, too. Pretty sure it was related to missing esm-modules for dependencies of the plugin, or the plugin itself. We've deactivated it for the time being. But would be open to investigate further, as we liked the plugin itself!

Many of these issues can be fixed by looking at the dependencies - if they use CJS modules (require, module.exports etc) the "easy" fix is to switch to ESM modules (import/export). I don't use these addons myself.

Speaking for us: we'll probably not go back to addons that don't or won't offer esm-compatible versions.
The other potential solutions (afaik) all imply compromising on the gained performance... potentially (worst case) landing you back where you started to begin with.
Probably a matter of the responsiveness of the original authors, and if they're open to PRs, how fast this can be fixed.
Seems to me quite some of the addons are not under super active development, unfortunately.

I don't think this issues is a problem in another plugin.  Getting the addon channel should work, I think, right?

This seems to have been a problem from using the default export of @storybook/addons, instead of the named export as is suggested in https://github.com/storybookjs/storybook/blob/0981b635eed95b48998b9a5fd6d67216802324fb/lib/addons/src/public_api.ts#L3.  Many other parts of storybook also import the default, which causes problems for this builder.


Deprecated Thread_safe gem

Per the gem description at https://github.com/ruby-concurrency/thread_safe
NOTE: This gem is DEPRECATED. Devise still uses it but it should really be using concurrent-ruby
Is there a plan to fix this in the near term?

@epinault thread_safe is not a direct dependency of Devise, but it is comes from active_support 4.x. Update your app and the dependency should be gone, as Rails has moved to use concurrent-ruby instead.


My comments have disappeared

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.76.1
OS Version:

Steps to Reproduce:

Not sure they just disappeared
Screenshot is after disabling extensions

I did have this extension installed at one time. Not sure if it mutated something?
https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-hide-comments

Looks like I accidentally fired the 'hide comments' extension and somehow uninstalled it right after.
https://github.com/estruyf/vscode-hide-comments/issues/10
Would be great to add an uninstall event/callback like the creator has said to fix this.


[FIXED JENKINS-31883] Added support for NAnt plugin

https://issues.jenkins-ci.org/browse/JENKINS-31883

Already merged from master, added a releases notes entry and squashed those commits to a single one.
Thanks


Add new table listing metrics, scores, etc in a single page

I have been working on a new page for readthedocs, which contains tables listing the metrics/tests/tools included in scores.
A few notes:

Initially I tried a grid table format, then I tried a csv table format. However, due to the length of the URLs, those formats became very difficult to read, and I imagine, would be hard to maintain down the road. So I ended up using list tables.

The list tables don't render in github unfortunately. But as above, the grid table and csv table formats are just unmanageable. (Plus, the github rendering of grid tables is substantially different to how they appear in readthedocs).

For the time being, I have used "TBA" to refer to APIs and Tutorials that are currently in the develop (but not main) branch, or that are currently in a merge request. This is intended as a temporary stop gap, not as an ongoing approach!

Quite a few References come from: https://www.cawcr.gov.au/projects/verification . I tried a few different ways of describing the hyperlinked text in the table. What is there now (e.g. Mean Error (WWRP/WGNE Joint Working Group on Forecast Verification Research)) is what Tennessee thought looked the nicest. But if anyone has alternative suggestions for how to best present the links, please sing out. (I assume this can also be modified down the road, so not necessarily something that needs to block merging at this point).

Looks good. Thanks for working on this. A few minor comments from me.

It would be nicer if the git commits was squashed into 1 (or if it makes sense, a few) commits to keep the git history cleaner.
I see "Quantile Score" is on the line below "Quantile Loss". Is this needed?
For POD - implementation as used in ROC and POFD - implementation as used in ROC, you can link to the ROC tutorial. You can also add the references used above for the equivalent of those scores

Another thing to consider. Rather than having an API column, do we just want to link the text under the name column to the API where it exists?


Syntax Error in running live_main.py after following all the prerequisite steps.

Using Ubuntu and all the specified versions of the libraries given in the macaw repo readme.
Traceback (most recent call last):
  File "live_main.py", line 8, in <module>
    from macaw.core import mrc, retrieval
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
  File "<frozen zipimport>", line 259, in load_module
  File "/usr/local/lib/python3.8/dist-packages/macaw-0.1-py3.8.egg/macaw/core/mrc/__init__.py", line 7, in <module>
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
  File "<frozen zipimport>", line 259, in load_module
  File "/usr/local/lib/python3.8/dist-packages/macaw-0.1-py3.8.egg/macaw/core/mrc/drqa_mrc.py", line 5, in <module>
  File "/home/asharma19/dev/DrQA/drqa/__init__.py", line 20, in <module>
    from . import tokenizers
  File "/home/asharma19/dev/DrQA/drqa/tokenizers/__init__.py", line 20, in <module>
    from .corenlp_tokenizer import CoreNLPTokenizer
  File "/home/asharma19/dev/DrQA/drqa/tokenizers/corenlp_tokenizer.py", line 14, in <module>
    import pexpect
  File "/home/asharma19/.local/lib/python3.8/site-packages/pexpect/__init__.py", line 75, in <module>
    from .pty_spawn import spawn, spawnu
  File "/home/asharma19/.local/lib/python3.8/site-packages/pexpect/pty_spawn.py", line 14, in <module>
    from .spawnbase import SpawnBase
  File "/home/asharma19/.local/lib/python3.8/site-packages/pexpect/spawnbase.py", line 224
    def expect(self, pattern, timeout=-1, searchwindowsize=-1, async=False):
                                                               ^
SyntaxError: invalid syntax

Upgrade pexpect, as from python 3.7 async is a reserved word;
pip install pexpect --upgrade

Upgrading pexpect to the latest version (4.8.0 at this time) solves the async keyword issue but creates problem with DrQA as that explicitly requires version 4.2.1 here.

Upgrading pexpect to the latest version (4.8.0 at this time) solves the async keyword issue but creates problem with DrQA as that explicitly requires version 4.2.1 here.

At this point the only solutions I can think of are either:

downgrading below python 3.7 (workaround)
manually modify the async keywords in the pexpect source code (tedious)
Create an issue in the DrQA repository and solve the version conflict

Option (1) suggested by Marco seems to be the only practical solution. However, for Mac one more issue is that indri-5.11 is only supported for Mac OSX 10.11.3. The documentation of indri-5.18 clearly says no support for OSX 10.12+ . On seeing this, I believe the best way forward is to use Docker for replicating the package on a Ubuntu (14.04/16.04/18.04) flavour container.

I have upgraded pexpect to the latest version (4.8.0) and still the issue exist then upgrade it to (4.2.1) and still face the same issue, the error exactly similar to [akaysh] query.

I made some updates to this package and made it working in a Docker container. The updates were pushed here https://github.com/hamed-zamani/macaw . Check its documentation section.


Add the missing double quote (")

There is a missing double quote (") after the word services in the last table. I've added the same.

Fixes #20712

/assign @kbhawkey

/retest

@sftim
I don't know if it's an issue. #20694 is blocking from other approved PRs to be merged. Can you please check?
Tide History from repo: https://prow.k8s.io/tide-history?repo=kubernetes%2Fwebsite
Screenshot:

That's an interesting bug. PR #20694 is clearly already merged.
Thanks for looking into this @ShivamGoyal1899

@sftim Is there an option to merge PRs manually? If so, can you merge this one manually?


customizable/required fields in certificate

https://airtable.com/tblD3oZPLJgGhCmch/viwfjhxZjwRzBXeag/recJ1E7P6sFZkqU3y?blocks=hide

From Slack: This issue might be a dup of https://github.com/cockroachdb/cockroach/pull/45819

Addressed in https://github.com/cockroachdb/docs/pull/7104


Add Buildkite provider

Description

Fulcio now has support for issuing certificates for identities from Buildkite, and this has been rolled out to production. We should add a provider to support fetching an identity token from an environment variable or API call.
cc @sj26 @mattmoor

Yeah, this would be awesome.  I'm not sure how well it is surfaced as SDK, but a library form of:
buildkite-agent oidc request-token --audience sigstore

... would be 🔥


Approach for sorting cellTemplate

Hi,
Using cellTemplate I am able to display multiple row entities.  However,  I would like to know the approach to sort the cellTemplates.  As in [this plunker]
(http://plnkr.co/edit/tpl:Yzd3y2goKsO4aILqRfNU?p=preview)
I just did a little modification to your plunker code to display Name in Show Scope column.  After that I would like to sort the Show Scope column.
With Regards,
Aditya Padhi

To have the sort working, you need to give a field.  Try this: http://plnkr.co/edit/wiKtqNlcxgWSGNkALsHZ?p=preview

Thank you Paul for the quick response.  :)


ReactList component does not update after item order change

Because the length props wont increase/decrease after an item order change within the given array, the component won't update (see shouldComponentUpdate).
What do you think about passing down the whole array of items as props, instead of just the length?
P.S. Love the component so far, it's one of the smartest infinity scrollers!

This is a duplicate of https://github.com/orgsync/react-list/issues/36. You have a couple simple options to make this work, both outlined in that issue.


Update Berlin addresses

Closes #7039
I used QGIS to extract the data from the WFS service linked in the above issue and export it as a gdb:
Berlin.gdb.zip

Can someone pls explain how long it takes from adding/changing sources until availability of the data and what steps are involved? Thanks.

Thank you for the context and the hint with the workaround.


Selecting the last chapter of a Novel

Currently you have to scroll all the way down to the end to read the latest released chapter of a novel when you click the chapter list button which is very inconvenient if there are novels which have like 1000+ chapters. I don't know if I'm just not seeing this but there also doesn't seem to be a way to fast scroll the list or drag the scroll to get to the end easier. It would be great if fast scrolling could be implemented or if there was an option to choose both the ascending and descending order of chapters so that, depending on the user, you can either choose the first or the last chapter at the start.

@3141bishwa i want to work on it.


Add SameSite Cookie

Hey,
would you please add the option to the response.cookie to set the SameSite Value?
This is only one single addition to the Set-Cookie header.
RFC: https://tools.ietf.org/html/draft-west-first-party-cookies-06#section-4.1.1
http://caniuse.com/#search=SameSite
Thanks!

For inspiration see: https://github.com/Calico90/CodeIgniterSecureCookies/blob/master/application/hooks/secureCookies.php
I did quite some research regarding the implementation of SameSite since it's not yet supported by PHP. In order to achieve this there is one important thing to consider. A different Set-Cookie header can be send multiple times. You might want to use some kind of output buffering in order to list the headers with headers_list() and to override them at the proper moment with the new version. Ping me if you have some questions.


bump libgmp requirement to avoid bug in 6.2.0

The reason I added a new lib-gmp section instead of setting a version in ext-gmp is because composer sees ext-gmp with the version of PHP you have installed, whereas lib-gmp show the actual version of libgmp installed in the system.
$ composer info -p | grep gmp
ext-gmp                8.3.14   The gmp PHP extension
lib-gmp                6.2.1    The gmp library

Sanity check. Momentarily setting lib-gmp to an unreleased version of libgmp yields this (correct) error:
$ composer install
No composer.lock file present. Updating dependencies to latest instead of installing from lock file. See https://getcomposer.org/install for more information.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires linked library lib-gmp >=6.5.0 but it has the wrong version installed or is missing from your system, make sure to load the extension providing it.

phpunit tests are failing (https://github.com/nostrver-se/nostr-php/actions/runs/11969646535) and when I searched on why, this was the first result: https://github.com/php/php-src/issues/16870
Is this issue also related to this PR?

I'm re-opening this issue. I will also revert the commit in the main branch.
When I test it with PHP version 8.2.26 this error occurs (using docker image php:8.2.6-alpine)
ValueError: base and exponent overflow in /nostr-php/vendor/uma/phpecc/src/Math/GmpMath.php on line 80 and it's related to https://github.com/php/php-src/issues/16870
When I test it with PHP version 8.2.25 these errors don't occur (using docker image php:8.2.5-alpine).
@1ma See https://github.com/phpipam/phpipam/commit/2414f8606bf77c6ed41364e780d1fb31150017d5 for a possible temporary workaround which can be applied in the phpecc package.


[Feature Request] Smarter default export location & smarter filename

The editor always defaults the exported file location to the last exported folder, which makes sense when using ScreenToGif as a recorder, but I find myself often importing mp4 files directly into the editor instead. In that case, it would make more sense to default the export folder to the location of the imported mp4. This would remove the unnecessary back and forth when working on multiple projects at the same time.

With the same idea in mind, the name of the output file could also be made smarter by allowing the use of the imported file as a special symbol similar to #282. Maybe %i% for input file.

For instance if I import Somefolder/my_video.mp4 into the editor, %i%.gif would output a file named my_video.gif located in Somefolder by default.
If the template name use %i% while no file was imported (for instance when using the Screen recorder directly), just give a warning that %i% will be blank in that case.

Adding to this, I (humbly) wish there could be a date/time symbol for filenames, so you don't have to mind your saved filenames at all. filename_yyyymmddhhmmss.gif for example.

Adding to this, I (humbly) wish there could be a date/time symbol for filenames, so you don't have to mind your saved filenames at all. filename_yyyymmddhhmmss.gif for example.

This is already implemented, just type the date/time format between ??, like ?yyy-MM-dd?.gif.

@NickeManarin You’re a god! I’m very thankful for this beautiful piece of app. Thanks, the missing piece was not even missing. Thanks.

@NickeManarin Just a quick question: I'm using this format: filename_?yyyMMdd_HH_MM_ss? and every digit works except for the minutes, which would always generate a 5, like gif_20210515_21_05_17.gif, gif_20210515_21_05_04.gif, etc. Is something wrong with my format?

MM = Month
mm = Minutes
Search for c# date/time format.


Update code indentation c# code

@strykerin : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@SnehaGunda: I'm sorry - only the author of this article, @anfeldma-ms, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

#sign-off this is a good formatting fix.

@JasonWHowell: I'm sorry - only the author of this article, @anfeldma-ms, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Add support for magic comments (selecting latex/bibtex engine, and possibly more)

This has been talked about before, but I think I need it now at least for these things:

In order to find out automatically, when a run configuration is added, whether it should use pdflatex or lualatex or whatever other engine.

At the moment I think this would be the best way to go about it, since requiring some package (e.g. fontspec) can suddenly mean that lualatex is required instead of pdflatex. Hence I think it would be best if specified in the source file using a magic comment which specifies the desired latex engine, so when you compile for the first time things work out of the box and you don't have to switch compilers in the run config every time you want an other engine.

Similarly to check whether biber or bibtex engine should be used. At the moment this depends on a hack which doesn't alway work: for bibtex it check for a \bibliography command and for biber it check for a \printbibliography command.

I guess there are more use cases, but for me this is most important. I'm wondering how difficult this will be though.

Partly see #101. We want to use Magic comments for things like language injection, inspection suppression, inline documentation and more.

Hence I think it would be best if specified in the source file using a magic comment which specifies the desired latex engine, so when you compile for the first time things work out of the box and you don't have to switch compilers in the run config every time you want an other engine.

How is this different than selecting a different compiler in the run configuration? It's just another (more/less user friendly depending on your taste) way of specifying.

Similarly to check whether biber or bibtex engine should be used. At the moment this depends on a hack which doesn't alway work: for bibtex it check for a \bibliography command and for biber it check for a \printbibliography command.

I would suggest just using this. This is inline with our vision with the plugin. It is almost impossible to catch all edge cases for LaTeX, but we try to get as close as possible. Likewise, we can try and 'suggest' the compile option that is most probably right by default.
Maybe adding a magic header comment is something that we can do too which will override the default detection. It could be an interesting addition.

It's just another (more/less user friendly depending on your taste) way of specifying.

That's true, I guess most people don't create run configurations very often.

Likewise, we can try and 'suggest' the compile option that is most probably right by default.

Except that this doesn't seem to be possible for LaTeX compilers. The lualatex docs lists some packages which require LuaLaTeX, but I don't know if it's worth checking for that.
I think everyone just uses pdflatex anyway, so I'll leave it this way. I might switch to latexmk for linux in which case I'd have to reselect it every time I create a new run config but I'll see.


Pinned memory usage

Is there any documentation about using Cuda pinned memory ?
I managed to do it from host to device but not the other way around and I can see cudaHostAlloc in nvprof.
What I am trying to do is have a single buffer(instantiated only once) for output data, from device to host, using pinned memory, and use it along with multiple kernel calls (write mode accessor).

Can you please describe what you have done so far? There is a semi-official extension in hipSYCL that introduces the new buffer property sycl::hipsycl::property::buffer::try_pinned_memory. This will cause the SYCL buffer to attempt to allocate its host side memory using CUDA pinned memory.
Of course, if using that property you should not construct the buffer using an external pointer since you want the buffer to allocate its own memory (which would then be pinned), e.g. something like:
sycl::buffer<T,1> buff{
  sycl::range<1>{size},
  sycl::property_list{sycl::hipsycl::property::buffer::try_pinned_memory{}}
};

For my dissertation project, I am trying to optimize a gas sensor simulator. The most intensive part of that software consists of doing linear interpolations on ordered arrays. I am comparing the sycl (hipsycl) with Cuda and CPU to see if we will benefit from GPU.
You can see some code here: https://gitlab.com/banucalin/betaboltz-conv-opt/-/blob/kernel_V_0_4/src/computegpu.cpp
I managed to change the buffer to use pinned memory but I have to instantiate it every time I call the kernel and it is more costly than without.
From what I have understood, data gets transferred from GPU when the object's destructor gets called.
What I need is a way to instantiate it once but use it to transfer data every iteration. I have some constant input buffers that I use in this way.

I managed to change the buffer to use pinned memory but I have to instantiate it every time I call the kernel and it is more costly than without.

Of course! Allocating pinned memory is a costly allocation which is why the buffer doesn't do it by default. Additionally, you are using set_final_data() which forces the buffer to copy its data to a place different than the fancy pinned memory you told it to allocate. So, the pinned memory is not even taking effect :)
buffer is not merely a device-side view of some some host data as you describe. It manages data allocations on multiple devices, including the host. This means it has its own internal host storage that you can access. This is done using host accessors:
q.submit([&](sycl::handler& cgh){
  auto dev_access =  buff.get_access<sycl::access::mode::write>(cgh);
  // ...
  // some kernel invocation here
});
// Access the host side data of the buffer. If the buffer has been modified on device,
// the SYCL runtime will copy it back to its internal host side storage (which is pinned memory
// when using the try_pinned_memory property). This also acts as synchronization point,
// i.e. the SYCL runtime will wait for all previous operations on this data to complete
auto host_access = buff.get_access<sycl::access::mode::read>();
// host_access can be used like regular accessors, e.g. with operator[]. If you want a raw pointer,
// you can use host_access.get_pointer()

So, having the buffer copy data back on destruction is only one means of moving data back to the host.  Other methods include the SYCL explicit copy() functions, host accessors as shown here, or the update_host() function.
In general, a buffer is a complex abstraction, and constructing one will have non-zero cost. If you find yourself creating huge amounts of buffers in performance-critical code you are doing it wrong ;)

Ok, got it, I understand now. Implemented it and knocked some us off. Thank you very much!


[Suggest]: New Payment options

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like.
Add additional payment features such as Stripe, ApplePay, and most importantly, Coinbase or another Crypto payment sysetm.
Describe alternatives you've considered.
No response
Additional context.
Additional payment methods outside of paypal would be hugely beneficial to other users of this script who either may not be able to use Paypal, or have players unable to pay with Paypal due to location or other issues.

Hi, I'm looking forward to adding new payment methods, the truth is that I'm not lacking. But for the moment, we have not been able to do it. Anyway, the suggestion is valid and is present in the to-do list. Thanks.


A configurable RGB Led Matrix

Fixes #47
RGB LED Matrix
This PR implements a configurable RGB LED Matrix with the following characteristics:

Number of rows and columns are independently configurable at design time.

Minimum is 1x1
Maximum is 64x64

There are 3 LED sizes, configurable at design time.

Small, 1x1.
Medium, 2x2.
Large, 3x3.

The matrix is controlled via ROW and COLUMN nodes.
The ROW nodes are 1-bit inputs, which control which rows will be updated.
The COLUMN nodes are 24-bit RGB values, which set the color of a pixel in the corresponding rows that value their controlling node set to 1. If a COLUMN node is disconnected (X), then the corresponding pixels are not updated, even if a corresponding ROW node is 1.
This mechanism allows a controlling circuit to set individual pixels one-by-one or an arbitrary number of pixels at once.
This element is different from real LED matrices in the following characteristics:

Individual pixels do not need to be refreshed in order to prevent the light from fading out.
The color of each pixel is persisted in the project file, so circuit preview can show the results of a previous calculation.

Sample Circuit

ledMatrix.txt
Known Issues

The drawing function is not yet optimized so I've put a limit on the size of the matrix to keep the circuit from lagging.

The method of including the RGB value with the column inputs is a bit confusing. A single RGB input would be much easier to use.
I also think the pixels could be made smaller. They are already smaller than the square LEDs, but not bu much. Perhaps the pixel size could be configurable by the user.

Looks legit.

The method of including the RGB value with the column inputs is a bit confusing. A single RGB input would be much easier to use.
I also think the pixels could be made smaller. They are already smaller than the square LEDs, but not by much. Perhaps the pixel size could be configurable by the user.

I have the LEDs configurable in 3 sizes. By default it comes as "2", which is the sample above (2 units in the grid). "1" is half than that (1 unit in the grid) and "3" is three units of the grid.
As for the pins, this is the usual setup in real display matrices, well, at least in several models, but granted, not all of them. The pins at the top of the matrix controls the color of the LEDs in each column and the pins on the side control which rows will be affected. This allows all pixels of a particular row to be refreshed all at once, and then the driving circuitry moves from one row to the next in quick succession. In real life only one row is light up at a time in most applications and we don't notice because they refresh quickly and our retinas retain the image longer than it takes for the refresh cycle to happen. If we had a single color input we would not be able to simulate those types of matrices; this way we can and we can always put a circuit to distribute the single color to all pins, like in the sample above. All that being said, in our simulator, we will cheat and let the LEDs remain lit even after their row signal goes down, so we can produce and save pixel art without requiring a constant refresh cycle.

I've updated the rendering function so now the matrix can be bigger without lagging (at least not too much). Now we can do stuff like this, if you know what you are doing:

Here's a comparison of the three supported sizes of the LEDs in an 8x8 configuration:

Note: the larger padding in size 2 is needed to make the nodes fall in the right position in the grid and still be centered with their respective row & column.

Now I see how controlling the column RGB values independently can be very useful.
Are the X and Y sizes independent? There are many times when the number of columns to be different from the number of rows, like for example an ASCII character display.

@ankitkataria , I see you added the codeclimate checks but I seem to be unable to mark issues as won't fix (or anything else). Is that a permission issue in codeclimate itself? Thanks.

@fpintos Yes, I think only the member of the org in codeclimate can do so. Also, I think it would be okay to ignore the Cognitive Complexity and the Lines of Code errors.

@satu0king , the led matrix is ready. let me know if you have any other requests around it.

I've updated the rendering function so now the matrix can be bigger without lagging (at least not too much). Now we can do stuff like this, if you know what you are doing:

This looks legit.

@fpintos, I will check in the weekend and get back to you but on first look, I don't think there is any.

I went through the implementation and just one word - Amazing! Everything is perfect and complete. Thank you very much.
The only thing left is to document all this in the user documentation. I have raised an issue here: https://github.com/CircuitVerse/CircuitVerseDocs/issues/128


Issue with Inaccurate Text Highlighting in PDF Search Using ng2-pdfjs-viewer - Version 13

Configuration:

Web browser and its version: Google Chrome
Operating system and its version: Windows 10 and above
PDF.js version: latest
Is a browser extension: No
Application Platform: Angular 13 PWA

Issue Description:
I am currently using ng2-pdfjs-viewer version 13 within my application, and overall, it has been working smoothly. However, I have encountered a specific issue when searching for text strings, such as "A10," within PDFs generated using the E3 series.
The problem is that while the search and highlighting functionality generally work correctly for "A10," it also highlights some additional, unintended instances, such as "A/10." This behavior is incorrect; it should only highlight "A10" and not variations like "A/10." I've noticed that similar issues occur when there is a space in between text in the PDF, causing the search to highlight unwanted portions of text.
It's worth noting that these issues are not present when using popular PDF readers like Adobe Acrobat. Upon further investigation, I realized that PDF.js, the PDF reader used by ng2-pdfjs-viewer, and other PDF readers interpret text layers differently, which appears to be the root cause of these inconsistencies.
I would greatly appreciate any assistance or guidance on how to address this issue, as it impacts the accuracy of text highlighting within PDFs generated by the E3 series. Unfortunately, I am unable to provide the PDF for reference, but I am eager to work towards a solution to improve the text highlighting accuracy.
Thank you for your understanding and support in resolving this matter.

PDF.js version: latest

Please remember to always provide a version number, since "latest" is ambiguous.

I am currently using ng2-pdfjs-viewer version 13 within my application

Please note that that's a different project, and while it may use the PDF.js library we cannot provide help/support for that here.

Unfortunately, I am unable to provide the PDF for reference,

That unfortunately make this, or any other issue really, non-actionable since it's simply impossible for anyone the help without access to the PDF document in question.


Correct behaviour when formatting change is same line and character

(Tested with Typescript)
Before:
const j= 1234;
formats to
const    1234;
Now:
const j= 1234;
formats to
const j = 1234;

Thank you for contribution!


A couple of Wombats stop running between early afternoon and sunset

Two of the initial installation are stopping around early afternoon and coming back at about sunset.
This started 3 days ago, before that they were fine.
It seems the ESP32 is not getting powered up because none of the missing messages are coming through after it wakes up.
I don't think the modem is the problem because it can handle up to 4.6v and we don't seem to be getting over 4.2v.
Could it be the 3.3v regulator, or components around it?

Pretty sure this was due to the sleep time bugs that were fixed because since getting the new firmware the problem does not seem to happen.
But this bug can stay open for a couple more weeks in case the problem shows up again.


Exposing namenode to external application

I deployed your setup on our existing kubernetes cluster. As of now, i am only able to access zeppelin UI externally. i want my external client application to push data to hdfs. But looks like it is a headless service and not exposed outside the cluster. If i try to change the type of service to NodePort or LoadBalancer, then the jobs fail. What changes can i make inorder to expose the namenode to external applications?

Hi @siganapathy - The headless service present in the yarn-nm-statefulset.yaml is to enable unique network identifier for name node, so that the data nodes can discover the name node. Don't touch that. Instead create a new service with the type LoadBalancer.
---
apiVersion: v1
kind: Service
metadata:
  name: hdfs-name-node-service-external
spec:
  ports:
    - name: http
      port: 50070
      targetPort: 50070
  selector:
    component: hdfs-nn
  type: LoadBalancer


Sticky header overflows list

Current behavior
When a sticky header is being replaced with another one, the first one overflows the list from the top
https://user-images.githubusercontent.com/80689446/178996837-27930328-a547-48f8-b0cb-23fbdccac622.mp4

Expected behavior
The earlier header should not overflow and render beyond the container of the list

To Reproduce
render a list with with sticky items as shown in the video and let there be space above the list for the items to overflow

Platform:

[ ] iOS
[x] Android

Environment

1.1.0

Wrapping list in a View with overflow: "hidden" will fix it. We'll handle this internally in a future release.


format/format: make description() to return long_name

This seems to be more reasonable because name() is already returning name.

That... was a typo on my end, thanks!


Unrecognized font family

Hey guys,
How can I solve this this?
https://gyazo.com/2362aaf893a90163ab55ce819399e296
thanks!

Can you verify that this is the font that is installed in your Artsy-UIFonts pod, https://github.com/artsy/Artsy-OSSUIFonts/blob/master/Pod/Assets/texgyreadventor-regular.ttf
It should have this font family:


Enhance internal state control by providing onOuterClick prop

This PR is not ready to be merged yet. When merged, this will fix https://github.com/paypal/downshift/issues/206

What:
Add an optional prop onOuterClick to better handle the internal state or anything else with downshift

Why:
This PR is required to enhance the developer experience around outer click and internal state handling with downshift with issues like https://github.com/paypal/downshift/issues/206

How:
This PR does the following (Will appreciate early feedback and comments):-

Add onOuterClick description to README. I can remove the link to a specific issue from there

Add onOuterClick to propTypes with type PropTypes.func

Call this.props.onOuterClick as a callback to reset function when it is called under onMouseUp event

Add a test case for newly added functionality. This is still incomplete. I started with the test case expecting it to fail in its current state where I open the menu and simulate an outside click with a click on document.body. With the current state of the onOuterClick callback, this should have resulted in isOpen to be false there by failing the test but it is not the case. Exploring it further but this makes this PR not "ready to be merged".

Also, to simulate the click on document.body. I borrowed the function mouseDownAndUp from downshift.lifecycle.js. I can either move this test over there or expose that function in a better way than duplicating.

I observed that package.json got formatted as soon as I run npm install. I have not checked that in with this PR. Not sure why that happened, I have validated that it happens with npm install and not via other action. Any pointers on that?

Let me know your feedback on the approach? Also, please point out if you believe that I understood the problem incorrectly.

Checklist:

[x] Documentation
[ ] Tests
[ ] Ready to be merged
[x] Added myself to contributors table

If you're comfortable with TypeScript, I would also suggest updating the typings. If not, don't worry; someone else can do it.

Codecov Report

Merging #208 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #208   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           4      4
  Lines         268    268
  Branches       61     61
=====================================
  Hits          268    268

Impacted Files
Coverage Δ

src/downshift.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Ok, I've made a bunch of updates in the GitHub editor. We'll see if the build passes 😅

I noticed that changes you made and they make sense to me. However, build fails because onOuterClick doesn't seem to be getting called. Do you have an idea of why that is happening?
You made the documentation look so much better 🥇
Also, let me know if I need to make edits to typings as well as suggested by @tansongyang. I noticed that onClick is also not defined in typings. I have no experience in TypeScript but this is pretty basic and I can do it.
Let me know what should I do next though.
Thanks

What's really odd is the test that's failing isn't the new one but this one and it's unclear to me how this simple change could have made that impact 🤔

Can you reproduce this breakage locally

Yes, I am able to get the breakage locally as well. Here is a small snipped from my terminal on running npm run validate
[test:cover]  FAIL  src/__tests__/downshift.lifecycle.js[test:cover]   ● Console[test:cover][test:cover]     console.error node_modules/react-dom/cjs/react-dom.development.js:8305
[test:cover]       The above error occurred in the <Downshift> component:[test:cover]           in Downshift[test:cover]           in Unknown (created by WrapperComponent)
[test:cover]           in WrapperComponent
[test:cover]
[test:cover]       Consider adding an error boundary to your tree to customize error handling behavior.
[test:cover]       You can learn more about error boundaries at https://fb.me/react-error-boundaries.
[test:cover]
[test:cover]   ● handles mouse events properly to reset state
[test:cover]
[test:cover]     expect(jest.fn()).toHaveBeenCalledTimes(1)
[test:cover]
[test:cover]     Expected mock function to have been called one time, but it was called zero times.

Reading code with ☕ to pinpoint the issue 👍

I observed that if I call reset like this - callback without parameters and wrapper.
this.reset(
          {type: Downshift.stateChangeTypes.mouseUp},
          this.props.onOuterClick,
        )

And remove the following from the new test case - since we are not passing any object after above change.
expect(onOuterClick).toHaveBeenCalledWith(
    expect.objectContaining({
      // just verify that it's the controller object
      isOpen: false,
      getItemProps: expect.any(Function),
    }),
  )

Everything falls into place.
So, I think this has to do with the way we are passing the callback with the object.
I tried various configurations to pass the object with bind, not using implicit return with arrow function but nothing worked thus far breaking a different set of test cases on different configurations.
Let me see if I can get around this in some way.

The problem is that there was no default for the onOuterClick. The way that reset works is it will default the given callback to an noop function if it's not provided, but since we provided one (() => this.props.onOuterClick()) that default wasn't being used and we tried to call a function that didn't exist. I'm not sure why it didn't give the full stacktrace though.
Should be fixed now though.

Thanks a ton @divyenduz!

Thanks so much for your help! I've added you as a collaborator on the project. Please make sure that you review the other/MAINTAINING.md and CONTRIBUTING.md files (specifically the bit about the commit messages and the git hooks) and familiarize yourself with the code of conduct (we're using the contributor covenant). You might also want to watch the repo to be notified when someone files an issue/PR. Please continue to make PRs as you feel the need (you can make your branches directly on the repo rather than your fork if you want). Thanks! And welcome to the team :)

Thanks @kentcdodds - It is an honor to join the team. Time to read most of the code and watch the screencasts you had made while creating downshift with some ☕

🎉


Binary data and context

Updates to BinaryData and Context.
BinaryData no longer uses a backing BinaryDataContent, which is opaque to consumers, and instead becomes an abstract class. The BinaryDataContent implementations are replaced with BinaryData subtypes and exposed publicly. This allows for external consumers to type check and handle appropriately and internally we no longer need to use module system hacks to shared generic-core internals with other generic-core-* libraries. Additionally, this gives users freedom to create their own BinaryData types for their own payloads, potentially allowing for greater optimizations than what we provide by default.
Context has a few API changes but the bigger change is how generic-core uses Context. The usage of Context in HTTP requests is greatly reduced by the introduction of HttpRequestMetadata which contains well-known pieces of metadata used by generic-core in a Java POJO manner instead of the Object and potentially non-present system powered by Context which was previously used.

I like the direction this is going in. As discussed, we might iterate on names, but that can come a little later.


Bundler 2

I'm trying to upgrade Ruby on Beacon and am getting the following error:
Bundler::LockfileError: You must use Bundler 2 or greater with this lockfile.
when at  RUN rake camden_style_guide:webpacker:compile in Dockerfile.
As far as I can tell, both Beacon and CSG are explicitly using bundler 2 .1.4 so not sure what is going on. Any ideas @dmgarland ?

actually seem to have resolved this by upgrading to next ruby version (2.6.1), only seemed to be an issue on 2.6.0


Swiping broken between 0.7.6 and 0.7.7

Hi
I've just updated my dependencies on react-swipeable-views, from 0.7.6 to 0.7.8 which broke my x-axis swiping on my nested react-swipeable-views. I then downgraded to 0.7.7, the issue still persists. Downgrading to 0.7.6 and the issue is gone.
I have a feeling it must have something do with commit https://github.com/oliviertassinari/react-swipeable-views/commit/5551ac90c5f65a2fbf54f6aaf3b0688c37799aa9
My application consists of one big swipe-able view (on the y-axis). The swipe-able view contains nested swipe-able view which is now broken. The nested swipable view is swiping on the x-axis.
Swiping the outer swipeable view (which scrolls on the y-axis) works just fine - but its the nested x-axis which is no longer working?
Please note that the transitions (e.g. auto-play) works just fine. Just swiping on a touch display is broken.
Any ideas?

Right, I was able to reproduce the behavior locally. I'm gonna have a look at it.

Awesome! I really appreciate your work! The library is fantastic! :-)


Markdown inline_link doesn't work

I'm trying to use filtered_jump to jump to inline_link in markdown file but it doesn't work. I can use any other syntax like comment, paragraph...but links don't work. Is this maybe related to splitting tree-sitter tomarkdown and markdown_inline queries?
At some point, before I updated my plugins it was working...

Hi @avucic , Syntax Tree Surfer didn't have any new update for a while. It's probably the markdown syntax, which I don't have any control over.
Sorry about your inconvenience.

@ziontee113 Thanks. Then I'll close this issue.


Implementation for make_s_curve

Hi guys,
I implemented the make_s_curve function and corresponding tests for it in https://github.com/dask/dask-ml/pull/967.
However, one of the tests is failing consistently, even though I have verified the values in the outputs and the computation graph. Appreciate any feedback or suggestions on how to resolve this issue.
The test that failed.
@pytest.mark.parametrize(
    "generator",
    [
        dask_ml.datasets.make_blobs,
        dask_ml.datasets.make_classification,
        dask_ml.datasets.make_counts,
        dask_ml.datasets.make_regression,
        dask_ml.datasets.make_s_curve,
    ],
)
def test_deterministic(generator, scheduler):
    a, t = generator(chunks=100, random_state=10)
    b, u = generator(chunks=100, random_state=10)
    assert_eq(a, b)
    assert_eq(t, u)

Environment:
Dask version: 2023.3.2
Dask_ml versuib: 2022.5.27
Python version: 3.10.9
Operating System: OSX
Install method (conda, pip, source): pip
Reproducible example
import numpy as np
import dask.array as da
from dask.array.utils import assert_eq
import dask_ml

def make_s_curve(
    n_samples=100,
    noise=0.0,
    random_state=None,
    chunks=None,
):
    rng = dask_ml.utils.check_random_state(random_state)

    t_scale = 3 * np.pi * 0.5
    t = rng.uniform(low=-t_scale, high=t_scale, size=(n_samples), chunks=(chunks,))
    X = da.empty(shape=(n_samples, 3), chunks=(chunks, 3), dtype="f8")
    X[:, 0] = da.sin(t)
    X[:, 1] = rng.uniform(low=0, high=2, size=n_samples, chunks=(chunks,))
    X[:, 2] = da.sign(t) * (da.cos(t) - 1)

    if noise > 0:
        X += rng.normal(scale=noise, size=X.shape, chunks=X.chunks)

    return X, t

if __name__ == '__main__':
    a, t = make_s_curve(chunks=100, random_state=10)
    b, u = make_s_curve(chunks=100, random_state=10)
    assert_eq(a, b)
    assert_eq(t, u)

Traceback
Traceback (most recent call last):
  File "/Users/dask_mltest.py", line 30, in <module>
    assert_eq(a, b)
  File "/Users/venv/lib/python3.9/site-packages/dask/array/utils.py", line 304, in assert_eq
    a, adt, a_meta, a_computed = _get_dt_meta_computed(
  File "/Users/venv/lib/python3.9/site-packages/dask/array/utils.py", line 259, in _get_dt_meta_computed
    _check_dsk(x.dask)
  File "/Users/venv/lib/python3.9/site-packages/dask/array/utils.py", line 210, in _check_dsk
    assert not non_one, non_one
AssertionError: {('uniform-c022afab3445a4ac294ad46da60634e2', 0): 2}

Thanks. It might be a while before I can look at this.
_check_dsk is verifying things about your task graph. It looks like this is saying you have multiple layers that use the same key. I'm not sure if you're making your own layers / keys, but if you are you'll want to use dask.base.tokenize on all the arguments going into whatever that function is.

Thanks for your reply.
Yes, _check_dsk has a side effect of checking an overlapping key in the task graph.
But it's the nature of this computation.

Task Graph and Details of Layers

The items of layers from the output
Layer: empty_like-848136d20f353a621c3fb6120e93a97c
('empty_like-848136d20f353a621c3fb6120e93a97c', 0, 0)

Layer: setitem-af567baa0d133fb2414b22009feedc71
('uniform-92c494621cf5b5df81f5fc85445fdfbf', 0)
('sin-b72ce9449b1942fdf9eade38a01fb89e', 0)
('setitem-af567baa0d133fb2414b22009feedc71', 0, 0)

Layer: setitem-c722836162c6db55933255d42e1117d9
('uniform-cd1ff3741c1350d3149e974c0a71b242', 0)
('setitem-c722836162c6db55933255d42e1117d9', 0, 0)

Layer: setitem-63195b1fdf99be7d4bf37a116ed79ef1
('mul-d7bb22edc92ff9263d91f04ac910d2d8', 0)
('uniform-92c494621cf5b5df81f5fc85445fdfbf', 0)
('sign-6d3aa1923db2461ffc8668e5d496fcbc', 0)
('cos-514e590b2a8b5ed03c3f5dc4551ff230', 0)
('sub-5397dd1b68f17458187bee3512c849ca', 0)
('setitem-63195b1fdf99be7d4bf37a116ed79ef1', 0, 0)

We could observe that ('uniform-92c494621cf5b5df81f5fc85445fdfbf', 0) was used in layer 2 and 4, which is the expected behavior.
Also check sklearn make_s_curve

If we only want to check if outcomes are deterministic, maybe it's ok to skip checking the graph overlapping here?


CS2 support?

Hi @spheenik , not sure if the best place to ask, but do you plan to support CS2 dem files as well? Thank you!

I do, and in face there is already a branch that supports reading them.
https://github.com/skadistats/clarity/tree/csgo2
I plan to make release 3.0.0 sometime soon.

Sounds great, thank you!

Certainly seems time.
Will see what I can do the next days.

Hi @spheenik , any news about CS2 support?

This weekend.


Selection Color

Expected Behavior
How to change color of selection alpha ?
Actual Behavior
Steps to Reproduce the Problem

Specifications

Image Picker Version:
Android OS:
Phone:

@HarshalValanda  : I have added it , please wait to review
https://github.com/esafirm/android-image-picker/pull/418


Cache last input and accessed index for faster lookups

The LOOKUP function operates on (x,y) pairs where the x value is assumed to be monotonically increasing.  The way lookups are currently used, the input value tends to be a "marching time" value, meaning that it increases from initial time to final time, and then back to initial time and so on.
Two observations:

In the case of the En-ROADS model, the time step is 0.125 years, but most lookup data has a granularity of one year.  This means that much of the time, each lookup is called 8 times with the same input and same expected return value, before moving up to the next year.

Currently the LOOKUP function uses a simple linear search that always begins at zero.

We can improve the speed of lookups and address both of the above by caching the last input and the last-accessed index value in the Lookup itself.  If the current input value is greater than or equal to the last input value, then we can set our start index to the last index value.  With this approach we would generally never have to go more than one index ahead, and only once the time variable goes back to initial would we need to set the start index back to zero.

Here are the numbers for this change relative to other earlier performance work (using the En-ROADS model as a real world test case).
Performance
MacBook Pro (2019) | 2.4 GHz 8-core i9, 32 GB RAM, macOS 10.15
Safari:

Issue
C run (ms)
Wasm run (ms)
Wasm init (ms)
JS mem (MB)
Page mem (MB)

baseline
45.8
87.5
38.0
94
685

SDE 18
46.0
85.6
18.0
39
672

SDE 19
42.8
49.4
15.0
38
25

SDE 22
34.8
44.8
15.0
38
21

SDE 23
32.7
42.8
13.0
38
32

SDE 24
26.6
38.2
13.0
39
26

SDE 7 *
24.4
34.8
10.0
39
20

En-ROADS 640
n/a
47.0
12.0
37
29

SDE 34
20.3
45.5
12.0
x
x

Chrome:

Issue
Wasm run (ms)
Wasm init (ms)

SDE 24
41.6
14.1

En-ROADS 640
59.1
9.1

SDE 34
52.7
10.8

Firefox:

Issue
Wasm run (ms)
Wasm init (ms)

SDE 24
41.3
19.0

En-ROADS 640
63.7
14.0

SDE 34
56.9
14.0

iPhone 8 | A11, iOS 13

Issue
C run (ms)
Wasm run (ms)
Wasm init (ms)
JS mem (MB)
Page mem (MB)

baseline
39.9
187.0
165.0
39
645

SDE 18
40.3
219.0
86.0
38
724

SDE 19
40.1
81.6
83.0
38
41

SDE 22
35.5
74.6
86.0
40
40

SDE 23
31.1
73.6
82.0
41
39

SDE 24
28.5
71.6
82.0
40
38

SDE 7 *
28.7
70.0
70.0
36
36

En-ROADS 640
n/a
57.1
48.0
38
39

SDE 34
22.3
50.6
60.0
x
x

iPad Air (2013) | A7, iOS 12

Issue
C run (ms)
Wasm run (ms)
Wasm init (ms)
JS mem (MB)
Page mem (MB)

baseline
151.0
1372.2
30146.0
77
331

SDE 18
166.0
1408.0
4416.0
42
395

SDE 19
151.0
837.6
1291.0
45
41

SDE 22
137.0
771.6
1484.0
44
40

SDE 23
110.1
642.2
1148.0
44
41

SDE 24
111.8
638.4
1236.0
45
37

SDE 7 *
91.7
543.8
1120.0
43
51

En-ROADS 640
n/a
210.7
570.0
41
40

SDE 34
89.9
200.7
606.0
x
x

Size

Issue
Wasm size (bytes)

baseline
1,084,036

SDE 18
773,968

SDE 19
776,851

SDE 22
737,028

SDE 23
741,668

SDE 24
741,677

SDE 7 *
616,264

En-ROADS 640
466,781

SDE 34 **
501,731

Legend

Issue
Date
en-roads-app
SDEverywhere
Notes

baseline
2020/07/08
91d0918
3002ac9
baseline prior to performance work

SDE 18
2020/07/09
tbd
tbd
change lookup init to use static arrays

SDE 19
2020/07/09
tbd
tbd
break large functions into chunked subfunctions

SDE 22
2020/07/10
tbd
tbd
replace wrapper functions with macros

SDE 23
2020/07/10
tbd
tbd
replace dimension array access with simple index

SDE 24
2020/07/10
tbd
tbd
optimize __lookup function

SDE 7
2020/07/10
tbd
tbd
change from doubles to floats (* experimental, not merged)

En-ROADS 640
2020/07/20
tbd
tbd
use -Os instead of -O3

SDE 34
2020/09/14
tbd
tbd
cache input/index in __lookup function (** model upgrade with AQ work accounts for slight increase in size compared to previous numbers)


fix(ci): echo travis env that gates release after_success

:white_check_mark: Build karma 2527 completed (commit https://github.com/karma-runner/karma/commit/50b4d5b8a2 by @johnjbarton)


Example Request: Low Latency Convolution

see http://blog.reverberate.ca/post/zero-latency-convolution/
This would be my learning project, figure other might like it too, but you could get it working much fast than me. It's useful for reverb & cabinet/mic simulation via impulse responses. I assume it's what all the impulse response (IR) guitar pedals are doing.

I want to get some DSP functions into the library (or a separate DSP crate) eventually. Once I get the core hardware enabled and working I want to do stuff like that and other things that can be ported from the cpp version of this library.

This is still beyond my current knowledge level. You can watch me experimenting with stuff over here https://github.com/mtthw-meyer/embedded-dsp

Cool! Check out https://www.youtube.com/channel/UCUR_LsXk7IYyueSnXcNextQ/playlists for more info on time-frequency analysis (using convolution) in the non-real time context.

This is still beyond my current knowledge level. You can watch me experimenting with stuff over here https://github.com/mtthw-meyer/embedded-dsp

Hi,
You can also check:
https://github.com/RustAudio/dasp
How can we create a variable to store the dsp engine?
I try to create the DSP instance during #[init], then return it to [local]:
let oscillator = SinOsc::new(440.0);
Local {
   oscillator
}

But in the audio_handler:
let s = oscillator.next();
audio.push_stereo((s, s)).unwrap();

No sound is played.


Dark theme for Datalore and Jupyter Lab

init.js was just reformatted, no changes
Merged table.css and formatting.css in one file
All colors were extracted to variables to support themes

Please, run formatKotlin task to fix formatting. Currently build is failed:
https://buildserver.labs.intellij.net/buildConfiguration/Kotlin_DataScience_DataFrame_BuildForLatestKernel/166694643?showRootCauses=false&expandBuildProblemsSection=true&expandBuildChangesSection=true


[Improve] NettyClient as default httpclient

https://github.com/apache/shenyu/issues/5199

Make sure that:

[x] You have read the contribution guidelines.
[x] You submit test cases (unit or integration tests) that back your changes.
[x] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

Done.

Codecov Report

Merging #5200 (ffd55dc) into master (9b54b98) will decrease coverage by 0.20%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #5200      +/-   ##
============================================
- Coverage     61.87%   61.68%   -0.20%
+ Complexity     8576     8561      -15
============================================
  Files          1246     1246
  Lines         37699    37685      -14
  Branches       3569     3564       -5
============================================
- Hits          23327    23245      -82
- Misses        12333    12408      +75
+ Partials       2039     2032       -7

Files
Coverage Δ

...ugin/httpclient/HttpClientPluginConfiguration.java
82.35% <ø> (ø)

... and 22 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Move the last few tests out of test_parameter

This shoud be the last pr for now. As some point we could convert the remaining tests to pytest from unittest testcases but that has lower priority

For whatever reason the webhook for pipelines does not work correctly but the job did run and the tests are passing https://dev.azure.com/ms-quantum-public/Microsoft Quantum (public)/_build/results?buildId=10756&view=results


Update formatting tests to use 2 spaces indents

Issue #, if available:
#26
Description of changes:
In a previous commit, 55eface65b9ce08b7b93209d1e12eb418ac1ac0e, plugin was updated to format with 2 spaces instead of indent. This commit updates the formatting tests to reflect this change
This, combined with pull request #24 will allow the plugin to be built for 2021.1 - 2021.3
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closes #26

Thanks for this. Once the build passes I can merge these changes.


Add Support for: threatcrowd.org

https://www.threatcrowd.org/searchApi/v2/domain/report/?domain=google.com

Already available


v2

Problem: v1 was lacking critical support for WAF APIs.
Solution: implement missing APIs + fix some minor issues (see notes below) and bump to v2.
Notes: We now...

Use consistent naming (e.g ServiceID, ServiceVersion, DictionaryID, PoolID).
Use pointers as field values for optional basic types (reference material).
Implement the /stats/field/... API endpoint (as per #214).

@phamann as you're aware, the WAF aspect of this PR has been reviewed and approved already, it's the last three commits authored by myself that require a solid review.
I appreciate that most of the code is boilerplate in appearance (and will be tedious to sift through) but it's these types of changes that make me especially nervous, so I'm going to be going back over it myself with a fine tooth-comb and would appreciate you do the same if you have capacity.
The section I'm most concerned about is the move to pointer values for optional basic types. As an example, there were some situations where a basic type was optional and yet I didn't switch it to be a pointer simply because the basic type was wrapped in a custom type that was defined with constant values (i.e. in theory there should always be a value provided by the user as they would have to assign one of the custom type's constant values to the field).
Similarly there were types such as []string where we had discussed previously (with @mccurdyc) that maybe this shouldn't need to become []*string but I can't now recall the rationale behind that decision.

Thanks @phamann
1. re: pointers - I'm going to do as you've suggested and only implement the pointer references for input structs that are used for write/update operations.
2. re: response object consistency - good point. I'll make those consistent as well.
3. re: versioning - I'm not a fan of having to deal with two code bases separated by just a folder (makes things confusing when editing files as I could imagine finding myself accidentally updating the wrong file, e.g. a v1 vs v2 file of the same name when fuzzing searching).
I'm also not sure what the repercussions are with regards to the simpler v2 suffix on the go.mod namespace? e.g. we rename the module namespace and merge this branch into master. I know that the consumer of Go-Fastly would need to opt in by updating their imports to reference the v2 but then if they decide they're not ready to implement that change, then what happens? e.g. consumers can't continue to import the old go.mod value of github.com/fastly/go-fastly as that won't exist in master any more. But then I believe that's only an issue if we have customers expecting v1 to be maintained (e.g. what about security updates?) because otherwise the consumer's go.mod dependency wouldn't need to change (unless go's tooling for modules discovers the latest commit and tries to use it, then that would break their expectations and then they'd have to hand craft their go.mod to reference a v1.0.0 tag or specific pre-v2 commit).
So this might suggest that keeping the dev-v2 branch (and the go.mod change to github.com/fastly/go-fastly/v2) but renaming it to v2 and then leaving this code here as being the better option. My concern with that is the discoverability of it. We'd need to manually update the README for the master branch to state we have a v2 branch available as I don't believe the go tooling supports discovering these changes currently (I'm guessing we'd still need to tag the latest commit to be v2.0.0, or can a go.mod reference a branch name?).
Alternatively could we do it in reverse? Could we create a v1 branch off of current master (tag it as v1.0.0 if that's not already done), then merge our dev-v2 into master? I'd imagine we'd still need to update the go.mod namespace to be github.com/fastly/go-fastly/v2. But at least that way a consumer of this library can get v2 by default on a new project, while still able to easily reach v1 if necessary for an existing consumer.


Consider upgrading Jersey in 1.4.x

Existing Jersey 2.29.x has a few problems. We should consider upgrading to 2.30.x in a future release of 1.4.x.

See #2566

See #2566

PR #2776


Mouse with more than 5 buttons can index outside the expected array

I have a mouse that has a 3rd button between the "next" and "previous" buttons. Using this button with and input setting causes a crash.
It crashes at ggs_input_helper.gd:192.

The keywords["mouse"] array has all the Godot mouse button constants (MOUSE_BUTTON_*). I'm not sure how handling input binding for mice with 5+ buttons would work. For now, I've added a simple check that prevents the rebind window from accepting mouse input events that are outside the constants defined by Godot itself. This should at the very least prevent crashes.
Sadly, I don't have a way to check if it actually works or not by myself though.


Redis Cache Adapter fails when using socket

Bit of edge case:
Redis is attached to ZF2 cache via socket.
Doctrine redis cache via DoctrineModule\Cache\ZendStorageCache
It will fail intermittently (and always on Doctrine query error).
Error: 'Could not estabilish connection with Redis instance'
Does not occur with port connection.
If:  $redis->getTotalSpace() called against ZF2 Redis Cache Adapter before wrapped in DoctrineModule\Cache\ZendStorageCache -- no error.

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html
New issue can be found at: https://github.com/zendframework/zend-cache/issues/103


LoadImageAsync fails to generate mipmaps

When trying to load an image using AsyncImageLoader.LoadImageAsync with default LoaderSettings, I get the following error:
"InvalidOperationException: The writeable UNKNOWN_OBJECT_TYPE FilterMipmapJob.outputMipmap is the same UNKNOWN_OBJECT_TYPE as FilterMipmapJob.inputMipmap, two containers may not be the same (aliasing)."
It seems to be related to the jobs that are creating the mipmaps.
I can workaround the issue by disabling mipmap generation.
Unity Version: 2021.2.0b4.3123 Personal

I haven't tested with Unity 2021 yet. Probably, some changes with the Jobs System or Burst break filter mipmap job. I will take a look at this later.

Confirming that I'm getting this same behaviour on Unity 2020.3.1f1 Plus. Full stack trace:
InvalidOperationException: The writeable UNKNOWN_OBJECT_TYPE FilterMipmapJob.outputMipmap is the same UNKNOWN_OBJECT_TYPE as FilterMipmapJob.inputMipmap, two containers may not be the same (aliasing).
Unity.Jobs.LowLevel.Unsafe.JobsUtility.ScheduleParallelFor (Unity.Jobs.LowLevel.Unsafe.JobsUtility+JobScheduleParameters& parameters, System.Int32 arrayLength, System.Int32 innerloopBatchCount) (at <10564ed154d647e194bef4aef8878649>:0)
Unity.Jobs.IJobParallelForExtensions.Schedule[T] (T jobData, System.Int32 arrayLength, System.Int32 innerloopBatchCount, Unity.Jobs.JobHandle dependsOn) (at <10564ed154d647e194bef4aef8878649>:0)
AsyncImageLoader+ImageImporter.ProcessRawTextureData (Unity.Collections.NativeArray`1[T] rawTextureView, System.Int32 mipmapCount) (at Assets/UnityAsyncImageLoader/Runtime/ImageImporter.cs:228)
AsyncImageLoader+ImageImporter+<CreateNewTextureAsync>d__17.MoveNext () (at Assets/UnityAsyncImageLoader/Runtime/ImageImporter.cs:103)
--- End of stack trace from previous location where exception was thrown ---
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <eae584ce26bc40229c1b1aa476bfa589>:0)
AsyncImageLoader+<CreateFromImageAsync>d__9.MoveNext () (at Assets/UnityAsyncImageLoader/Runtime/AsyncImageLoader.cs:105)
UnityEngine.Debug:LogException(Exception)
<CreateFromImageAsync>d__9:MoveNext() (at Assets/UnityAsyncImageLoader/Runtime/AsyncImageLoader.cs:108)
System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetException(Exception)
<CreateNewTextureAsync>d__17:MoveNext() (at Assets/UnityAsyncImageLoader/Runtime/ImageImporter.cs:106)
UnityEngine.UnitySynchronizationContext:ExecuteTasks()

@Looooong was this fixed yet, because I'm still getting the same issue

@Looooong was this fixed yet, because I'm still getting the same issue

Sorry, I haven't fixed this yet. PR is welcomed.

@akioCL @nickyonge @ookii-tsuki I published a fix in version 0.1.2. I tested and it works in Unity 2021.2. If you are using Unity 2020 or 2021.1, can you check and see if it works for you as well?

This is fixed, further improved and unit tested.


interacting with the UUT.

Here i taken screenshot from this link : https://docs.svunit.org/en/latest/writing_unit_tests.html#interacting-with-the-uut

My understanding:

when it will give ipin it will change opin or obus also, so always delay happening in UUT file we know that, so here just giving delay #0, means it will go next scheduler, so for avoid race condition they are using delay.
here in same test they using ipin = 1 and opin reading, so ipin writing and opin reading. opin changing value so inbetween they giving delay. we can give any delay respective with our clk.


named parameter environment issues

Named parameters must be in global environment (it seems)? Creating map layers with the following pattern fails (layer_data cannot be resolved):
add_some_layer <- function(map_instance, some_data) {
  # make some new layer data
  layer_data <- some_data %>%
    mutate()

  map_instance %>%
    add_foo_layer(
      layer_id = "foo_id",
      data = layer_data
  )
}

Same problem with scale_*  functions.


There should be a minimum animation time for the Activity Indicator when the user logs in to the application. Otherwise the animation looks like it's broken if it only appears momentarily.

Outdated issue.


Upgrade Function

Hello,
Your project is very wonderful and I really love it. I just think that you may add a function that can upgrade the firmware for region-limited device that only work in LAN-MODE.
The newest firmware information may be update here: https://github.com/lunDreame/user-bambulab-firmware/tree/main
Just an idea and may people love it too.
Anyway, thanks for your project again!

Sounds like a great idea, but unfortunately I dont have a device to properly test this... Doing firmware upgrades sounds a bit risky? Can you downgrade again if something goes wrong?

I havent test for downgrading system. However, you can make function to
make custom mqtt request to the printer ( url/data )  that user can do it.
You shouldnt care about the system upgrading. User will do it by themself
and take risk when doing it. It takes me easily that I can upgrade system
without using mqtt software on computer!
Vào Th 6, 14 thg 6, 2024 lúc 12:58 Francois Steyn @.***>
đã viết:

Sounds like a great idea, but unfortunately I dont have a device to
properly test this... Doing firmware upgrades sounds a bit risky? Can you
downgrade again if something goes wrong?
—
Reply to this email directly, view it on GitHub
https://github.com/TFyre/bambu-farm/issues/106#issuecomment-2167266566,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPWAXZ2V4R3KCEIUDUFJMLZHKBBTAVCNFSM6AAAAABJJRSBDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRXGI3DMNJWGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Make a page that send custom mqtt request to the printer. You may leave the url and the data blank.


Confusion about Cloud Resources Format

Hi Teams,
I'm a little confused about the description of cloud resources: Separate multiple resources with the "|" delimiter. If you don’t use proxy servers, you must also include the "," delimiter just before the "|".
According to this description, should the Value format without proxy like: "contoso.sharepoint.com,|contoso.visualstudio.com"? However the Value format without proxy given by the article is like: "contoso.sharepoint.com|contoso.visualstudio.com".
If I misunderstand anything, Please correct me.
Best Regards,
Ben

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

ID: c1ad3f92-24de-5eb5-8454-c72d85737183
Version Independent ID: 900125eb-31ea-faf3-ac30-7c3d7b30f611
Content: Create a Windows Information Protection (WIP) policy with MDM using the Azure portal for Microsoft Intune (Windows 10) - Microsoft 365 Security
Content Source: windows/security/information-protection/windows-information-protection/create-wip-policy-using-intune-azure.md
Product: w10
Technology: windows
GitHub Login: @DulceMontemayor
Microsoft Alias: dansimp

Hello @BLTTEST, correct syntax is with commas.
The value section was fixed already, however it is still incorrect (it misses one comma at the end), I just created a PR to fix that.
Thank you

Hi @MaratMussabekov
It's nice to see it‘s under correcting process and thank you very much for your help!
Best Regards


Recommended proxy for YouTube downloads with yt-dlp

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've searched known issues and the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
Hello,
I'm wondering if someone can recommend a proxy providers for downloading about 4k videos a day from YouTube. I have set up my own IPv6 proxies how-ever they keep getting blocked with a 403 forbidden after only a few days. At this point I'd rather invest in a proxy service rather then keep on trying new things that don't seem to work.
Can anyone suggest a provider that's affordable with rotating IP's and low latency?
Thanks!
Provide verbose output that clearly demonstrates the problem

[ ] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[ ] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
No response

Maybe a better title for this issue: "Which proxy service should my site ban?"

This question is out-of-scope for this issue tracker


⚠ Bofrost.fr has degraded performance

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

HTTP code: 200
Response time: 1896 ms

Resolved: Bofrost.fr performance has improved in b984fe8 after 19 minutes.


[Enhancement] improve the readability for parser error msg

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 47 / 54 (87.04%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/SqlParser.java
46
53
86.79%
[167, 172, 175, 185, 199, 200, 211]

:large_blue_circle:
com/starrocks/sql/parser/ErrorHandler.java
1
1
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 47 / 55 (85.45%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/SqlParser.java
46
54
85.19%
[169, 174, 177, 187, 201, 202, 213, 277]

:large_blue_circle:
com/starrocks/sql/parser/ErrorHandler.java
1
1
100.00%
[]

@Mergifyio backport branch-3.1