Error of SimuHawkesMulti on Windows

Hi,
I ran the sample code as follows:
import numpy as np

from tick.plot import plot_hawkes_kernels
from tick.hawkes import (SimuHawkes, SimuHawkesMulti, HawkesKernelExp,
                         HawkesKernelTimeFunc, HawkesKernelPowerLaw,
                         HawkesKernel0, HawkesSumGaussians)

end_time = 1000
n_nodes = 2
n_realizations = 10
n_gaussians = 5

timestamps_list = []

kernel_timefunction = HawkesKernelTimeFunc(
    t_values=np.array([0., .7, 2.5, 3., 4.]),
    y_values=np.array([.3, .03, .03, .2, 0.]))
kernels = [[HawkesKernelExp(.2, 2.),
            HawkesKernelPowerLaw(.2, .5, 1.3)],
           [HawkesKernel0(), kernel_timefunction]]

hawkes = SimuHawkes(baseline=[.5, .2], kernels=kernels, end_time=end_time,
                    verbose=False, seed=1039)

multi = SimuHawkesMulti(hawkes, n_simulations=n_realizations)

multi.simulate()

learner = HawkesSumGaussians(n_gaussians, max_iter=10)
learner.fit(multi.timestamps)

plot_hawkes_kernels(learner, hawkes=hawkes, support=4)

There is an error when I execute "multi.simulate()" in Pycharm on Windows, which produces a massive traceback:
Traceback (most recent call last):
File "", line 1, in
File "D:\Python\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "D:\Python\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "D:\Python\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "D:\Python\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="mp_main")
File "D:\Python\lib\runpy.py", line 261, in run_path
code, fname = _get_code_from_file(run_name, path_name)
File "D:\Python\lib\runpy.py", line 231, in _get_code_from_file
with open(fname, "rb") as f:
OSError: [Errno 22] Invalid argument: 'D:\hawkes\'
Traceback (most recent call last):
File "", line 1, in
File "D:\Python\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "D:\Python\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "D:\Python\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "D:\Python\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="mp_main")
........
I ran the same sample code in Pycharm on Mac and there is no problem.
Thank you!

multiprocessing doesn't really work on windows.

this works
import numpy as np

from tick.plot import plot_hawkes_kernels
from tick.hawkes import (SimuHawkes, SimuHawkesMulti, HawkesKernelExp,
                         HawkesKernelTimeFunc, HawkesKernelPowerLaw,
                         HawkesKernel0, HawkesSumGaussians)

end_time = 1000
n_nodes = 2
n_realizations = 10
n_gaussians = 5
if __name__ == '__main__':
    timestamps_list = []

    kernel_timefunction = HawkesKernelTimeFunc(
        t_values=np.array([0., .7, 2.5, 3., 4.]),
        y_values=np.array([.3, .03, .03, .2, 0.]))
    kernels = [[HawkesKernelExp(.2, 2.),
                HawkesKernelPowerLaw(.2, .5, 1.3)],
               [HawkesKernel0(), kernel_timefunction]]

    hawkes = SimuHawkes(baseline=[.5, .2], kernels=kernels, end_time=end_time,
                        verbose=False, seed=1039)

    multi = SimuHawkesMulti(hawkes, n_simulations=n_realizations)

    multi.simulate()

    learner = HawkesSumGaussians(n_gaussians, max_iter=10)
    learner.fit(multi.timestamps)

    plot_hawkes_kernels(learner, hawkes=hawkes, support=4)

see: https://stackoverflow.com/questions/53924018/python-multiprocessing-on-windows

this works
import numpy as np

from tick.plot import plot_hawkes_kernels
from tick.hawkes import (SimuHawkes, SimuHawkesMulti, HawkesKernelExp,
                         HawkesKernelTimeFunc, HawkesKernelPowerLaw,
                         HawkesKernel0, HawkesSumGaussians)

end_time = 1000
n_nodes = 2
n_realizations = 10
n_gaussians = 5
if __name__ == '__main__':
    timestamps_list = []

    kernel_timefunction = HawkesKernelTimeFunc(
        t_values=np.array([0., .7, 2.5, 3., 4.]),
        y_values=np.array([.3, .03, .03, .2, 0.]))
    kernels = [[HawkesKernelExp(.2, 2.),
                HawkesKernelPowerLaw(.2, .5, 1.3)],
               [HawkesKernel0(), kernel_timefunction]]

    hawkes = SimuHawkes(baseline=[.5, .2], kernels=kernels, end_time=end_time,
                        verbose=False, seed=1039)

    multi = SimuHawkesMulti(hawkes, n_simulations=n_realizations)

    multi.simulate()

    learner = HawkesSumGaussians(n_gaussians, max_iter=10)
    learner.fit(multi.timestamps)

    plot_hawkes_kernels(learner, hawkes=hawkes, support=4)

see: https://stackoverflow.com/questions/53924018/python-multiprocessing-on-windows

I use the code with "if name == 'main':" and it didn't work. It still produces a massive traceback like before.


_PylibMC_deserialize_native error on Arm (M1) with ubuntu 20.04/Python 2.7 when retrieving empty string value.

When setting a key as an empty string, I'm getting a core dump trying to retrieve the value.  The error is:
>>> import pylibmc
>>> client = pylibmc.Client(["<IP_ADDRESS>"], binary=True, behaviors={"ketama": True})
>>> client.set("hi", "")
>>> client.get("hi")
python2.7: src/_pylibmcmodule.c:642: _PylibMC_deserialize_native: Assertion `value || value_str' failed.
Aborted

This happens on both Vagrant/Vmware Fusion and docker ubuntu 20.04 on my Apple M.  This does not happen on x86.
The easiest way to reproduce is with Docker.
docker run -ti --rm ubuntu:20.04 /bin/bash
apt update
yes w | apt-get -y install python2-dev libmemcached-dev wget memcached build-essential libz-dev
wget https://bootstrap.pypa.io/pip/2.7/get-pip.py
/bin/python2.7 get-pip.py
/etc/init.d/memcached start
pip install pylibmc==1.6.1
/bin/python2.7
>>> import pylibmc
>>> client = pylibmc.Client(["<IP_ADDRESS>"], binary=True, behaviors={"ketama": True})
>>> client.set("hi", "")
>>> client.get("hi")
python2.7: src/_pylibmcmodule.c:642: _PylibMC_deserialize_native: Assertion `value || value_str' failed.
Aborted

Really not sure where the root problem is here, or if its even a pylibmc issue.  I've tried removing zlibc compression in the pip install, turning off binary.  Super appreciate your work on this project, and if I'm in the wrong place, many apologies.

also, libmemcached-tools seem able to read it.
apt install libmemcached-tools
root@290b31153a34:/# memccat --servers localhost:11211 hi

root@290b31153a34:/#

and non empty strings are fine.
root@290b31153a34:/# /bin/python2.7
Python 2.7.18 (default, Jan 31 2024, 16:23:13)
[GCC 9.4.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylibmc
>>> client = pylibmc.Client(["<IP_ADDRESS>"], binary=True, behaviors={"ketama": True})
>>> client.set("works", "yes")
True
>>> client.get("works")
'yes'


Keeping selected page number after callback

STOP
We do not use Github to track general support. Please use our public support forum at https://spectrum.chat/react-table.
NOTE: If a support/help/question issue is opened, it will be closed immediately and be redirected to the forum. Thanks for helping us keep our issues clean and productive!

We do not use Github to track general support. Please use our public support forum at https://spectrum.chat/react-table.

It has been 3 days since I posted on spectrum for help. I haven't got any help. Not meaning to sound rude. Link here

Please ask this question on our support forum: https://spectrum.chat/react-table. You will have more luck there while we actively work on the next major version of React Table. Thankyou!


Where to download the .bin file?

Hi, I want to run the code, where can I download the demo data? Is it in the http://www.cvlibs.net/datasets/kitti/eval_odometry.php ? I am downloading the 80G laser data. Does SuMa supports .bag file? Thx a lot

All KITTI .bin files would work. But for the experiments in the paper, I used the eval_odometry data.
Currently, there is no support for ROS bag files.


Initial setup

This is the starting point for the 2024 information repo.
Closes #1
In the spirit of minimizing surprises, all commits must be reviewed.

This is what I get for editing before 6am.

Now with corrected dates.

@arun-gupta Could you button mash this?

Thanks for the updates.


Suggest reorganizing workshop page materials

We currently have 4 H2s on the landing page:
Network Automation Workshops
Server Automation Workshops
Network Training Decks
Server Training Decks
Workshop Resources
Last week during 3 workshops, one person each day ended up in the wrong workshop because they clicked on the first link (didn't listen to instructions)
I'll propose that since this page is dynamically created, we can use jinja2 to determine which resources should be created based on the type of workshop being provisioned. Would propose the following:
h1: Red Hat Ansible Automation {{ value }} Workshops

if route/switch:
h2: Network Automation Workshop Materials
route/switch V2 materials only

if F5:
h2: Network Automation Workshop Materials
f5 materials only

else:
h2: Linux Automation Workshop Materials
server essentials materials

h2: Workshop Resources

Does that sound good? Should drastically simplify this page and help reduce confusion.
Any objections?
@IPvSean @termlen0 @gdykeman

fixed with https://github.com/network-automation/linklight/pull/125


string: Use 're.Pattern.search' instead of 're.Pattern.match'

Change Summary
Rust's Regex.is_match behaves like Python's re.Pattern.search, here's a snippet from the docs of the former:

Returns true if and only if there is a match for the regex anywhere  in the haystack given.

Given the implementation of the regex matching mechanism for the validators.string.Pattern, this leads to an inconsistent behavior:
import re
from pydantic import BaseModel, Field

class A(BaseModel):
    b: str = Field(pattern=r"[a-z]")
    c: str = Field(pattern=re.compile(r"[a-z]"))

A.model_validate({"b": "Abc", "c": "Abc"})

In this snippet of code, b will validate fine, but c won't.
Since the test cases for string already establish the expected behavior (the Rust's Regex.is_match case), let's use re.Pattern.search instead of re.Pattern.match to unify the results when a re.Pattern object is passed.
Related issue number
fix #1367

Checklist

[ ] Unit tests for the changes exist
[ ] Documentation reflects the changes where applicable
[ ] Pydantic tests pass with this pydantic-core (except for expected changes)
[ ] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Thanks for merging the MR and for maintaining this awesome lib!


Content of README.md and README_CN.md should be swapped

The content of README.md is in Chinese, while the content of README_CN.md is in English.  Shouldn't the content of those two files be swapped? // README.md 内容为中文，README_CN 内容为英文。 不应该交换这两个文件的内容吗？

Sorry, I will update and improve the English usage profile for the convenience of native English speakers

I have updated the document, thank you


BRICK.value property generation in define_shape_properties

define_shape_properties currently generates multiple BRICK.value properties for certain cases, leading to output like this:
bsh:CoolingCapacityShape a owl:Class,
        sh:NodeShape ;
    rdfs:subClassOf bsh:ValueShape ;
    sh:property [ a sh:PropertyShape ;
            sh:in ( unit:TON_FG unit:BTU_IT-PER-HR unit:BTU_TH-PER-HR unit:W ) ;
            sh:minCount 1 ;
            sh:path brick:hasUnit ],
        [ a sh:PropertyShape ;
            sh:minCount 1 ;
            sh:or bsh:NumericValue ;
            sh:path brick:value ],            ←
        [ a sh:PropertyShape ;
            sh:maxCount 1 ;
            sh:minCount 1 ;
            sh:path brick:value ] .           ←

Is that intended?

No, that is not intended! Thanks for noticing; I'll see what I can do to fix this in the compilation script.


Problem installing NPM (mac running Yosemite)

npm ERR! git rev-list -n1 legacy-updatevalue: fatal: ambiguous argument 'legacy-updatevalue': unknown revision or path not in the working tree.
npm ERR! git rev-list -n1 legacy-updatevalue: Use '--' to separate paths from revisions, like this:
npm ERR! git rev-list -n1 legacy-updatevalue: 'git [...] -- [...]'
npm ERR! git rev-list -n1 legacy-updatevalue:
npm ERR! Darwin 14.5.0
npm ERR! argv "node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.7
npm ERR! npm v2.11.3
npm ERR! code 128
npm ERR! Command failed: git rev-list -n1 legacy-updatevalue
npm ERR! fatal: ambiguous argument 'legacy-updatevalue': unknown revision or path not in the working tree.
npm ERR! Use '--' to separate paths from revisions, like this:
npm ERR! 'git [...] -- [...]'
npm ERR!
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! https://github.com/npm/npm/issues
npm ERR! Please include the following file with any support request:
npm ERR! /usr/local/bin/homebridge/npm-debug.log

Ah damn - forgot to update that dependency. Could you grab the latest from npm?

Hi Nick,
Thanks to be that fast !
i have run npm v2.11.3 from an alias inside the Homebridge directory and i had that response :

<EMAIL_ADDRESS>start /usr/local/bin/homebridge
DEBUG=* node app.js || true

module.js:338
throw err;
^
Error: Cannot find module 'node-persist'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/usr/local/bin/homebridge/app.js:3:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:501:10)
Thanks again !
Au plaisir !
Alain Lambert
Les Productions Saint
www.productionssaint.com
514 730-6080

On 22 Aug 2015, at 11:51, Nick Farina<EMAIL_ADDRESS>wrote:
Ah damn - forgot to update that dependency. Could you grab the latest from npm?
—
Reply to this email directly or view it on GitHub https://github.com/nfarina/homebridge/issues/115#issuecomment-133717286.

Hm if you installed via npm or used npm install then it should have created a directory node_modules/node-persist. Can you verify?

i have installed npm via node.js 12.7
and npm was installed at
/usr/local/bin/npm
Here’s some sreeenshots
Au plaisir !
Alain Lambert
Les Productions Saint
www.productionssaint.com
514 730-6080

On 22 Aug 2015, at 12:05, Nick Farina<EMAIL_ADDRESS>wrote:
Hm if you installed via npm or used npm install then it should have created a directory node_modules/node-persist. Can you verify?
—
Reply to this email directly or view it on GitHub https://github.com/nfarina/homebridge/issues/115#issuecomment-133717985.

I just verified that running npm install homebridge does properly install homebridge with node-persist and all other dependencies, and running it works OK. Could you try re-installing homebridge?

Thanks again for your help Nick!
I’ve remove all the old npm files and restart from scratch and it works. Now i’m at the config.json file state.
Here’s the hue lamp list on my hue bridge, How should i integrate them in the file. the ip address of the hue bridge is <IP_ADDRESS>
{
"12": {
"state": {
"on": false,
"bri": 11,
"hue": 12521,
"sat": 225,
"effect": "none",
"xy": [
0.5261,
0.4132
],
"ct": 497,
"alert": "none",
"colormode": "hs",
"reachable": true
},
"type": "Extended color light",
"name": "Hue Spot 1",
"modelid": "LCT003",
"manufacturername": "Philips",
"uniqueid": "00:17:88:01:00:d2:40:7d-0b",
"swversion": "66010732",
"pointsymbol": {
"1": "none",
"2": "none",
"3": "none",
"4": "none",
"5": "none",
"6": "none",
"7": "none",
"8": "none"
}
},
"13": {
"state": {
"on": false,
"bri": 195,
"hue": 24612,
"sat": 134,
"effect": "none",
"xy": [
0.4009,
0.4473
],
"ct": 278,
"alert": "none",
"colormode": "hs",
"reachable": true
},
"type": "Extended color light",
"name": "Hue Spot 2",
"modelid": "LCT003",
"manufacturername": "Philips",
"uniqueid": "00:17:88:01:00:d2:32:aa-0b",
"swversion": "66010732",
"pointsymbol": {
"1": "none",
"2": "none",
"3": "none",
"4": "none",
"5": "none",
"6": "none",
"7": "none",
"8": "none"
}
},
"14": {
"state": {
"on": false,
"bri": 1,
"hue": 12520,
"sat": 225,
"effect": "none",
"xy": [
0.5261,
0.4132
],
"ct": 497,
"alert": "none",
"colormode": "hs",
"reachable": true
},
"type": "Extended color light",
"name": "Hue Spot 3",
"modelid": "LCT003",
"manufacturername": "Philips",
"uniqueid": "00:17:88:01:00:d2:30:ba-0b",
"swversion": "66010732",
"pointsymbol": {
"1": "none",
"2": "none",
"3": "none",
"4": "none",
"5": "none",
"6": "none",
"7": "none",
"8": "none"
}
},
"15": {
"state": {
"on": false,
"bri": 254,
"hue": 12521,
"sat": 225,
"effect": "none",
"xy": [
0.5261,
0.4132
],
"ct": 497,
"alert": "none",
"colormode": "hs",
"reachable": true
},
"type": "Extended color light",
"name": "Hue Spot 4",
"modelid": "LCT003",
"manufacturername": "Philips",
"uniqueid": "00:17:88:01:00:d4:30:8b-0b",
"swversion": "66010732",
"pointsymbol": {
"1": "none",
"2": "none",
"3": "none",
"4": "none",
"5": "none",
"6": "none",
"7": "none",
"8": "none"
}
},
"16": {
"state": {
"on": false,
"bri": 23,
"hue": 43459,
"sat": 254,
"effect": "none",
"xy": [
0.1435,
0.1392
],
"alert": "none",
"colormode": "hs",
"reachable": true
},
"type": "Color light",
"name": "LightStrips 1",
"modelid": "LST001",
"manufacturername": "Philips",
"uniqueid": "00:17:88:01:00:cc:1c:66-0b",
"swversion": "66013452",
"pointsymbol": {
"1": "none",
"2": "none",
"3": "none",
"4": "none",
"5": "none",
"6": "none",
"7": "none",
"8": "none"
}
},
"17": {
"state": {
"on": false,
"bri": 127,
"hue": 49515,
"sat": 170,
"effect": "none",
"xy": [
0.282,
0.176
],
"ct": 153,
"alert": "none",
"colormode": "hs",
"reachable": true
},
"type": "Extended color light",
"name": "Hue Lamp 1",
"modelid": "LCT001",
"manufacturername": "Philips",
"uniqueid": "00:17:88:01:00:d8:ba:30-0b",
"swversion": "66013452",
"pointsymbol": {
"1": "none",
"2": "none",
"3": "none",
"4": "none",
"5": "none",
"6": "none",
"7": "none",
"8": "none"
}
},
"18": {
"state": {
"on": false,
"bri": 84,
"hue": 33946,
"sat": 5,
"effect": "none",
"xy": [
0.3791,
0.3759
],
"ct": 248,
"alert": "none",
"colormode": "ct",
"reachable": true
},
"type": "Extended color light",
"name": "Hue Lamp 2",
"modelid": "LCT001",
"manufacturername": "Philips",
"uniqueid": "00:17:88:01:00:dd:d8:ac-0b",
"swversion": "66013187",
"pointsymbol": {
"1": "none",
"2": "none",
"3": "none",
"4": "none",
"5": "none",
"6": "none",
"7": "none",
"8": "none"
}
},
"19": {
"state": {
"on": false,
"bri": 1,
"hue": 47095,
"sat": 254,
"effect": "none",
"xy": [
0.1671,
0.0402
],
"ct": 500,
"alert": "none",
"colormode": "hs",
"reachable": true
},
"type": "Extended color light",
"name": "Hue Lamp 3",
"modelid": "LCT001",
"manufacturername": "Philips",
"uniqueid": "00:17:88:01:00:dd:c8:a2-0b",
"swversion": "66013187",
"pointsymbol": {
"1": "none",
"2": "none",
"3": "none",
"4": "none",
"5": "none",
"6": "none",
"7": "none",
"8": "none"
}
},
"20": {
"state": {
"on": false,
"bri": 2,
"hue": 47095,
"sat": 254,
"effect": "none",
"xy": [
0.1671,
0.0402
],
"ct": 500,
"alert": "none",
"colormode": "hs",
"reachable": true
},
"type": "Extended color light",
"name": "Hue Lamp 4",
"modelid": "LCT001",
"manufacturername": "Philips",
"uniqueid": "00:17:88:01:00:dd:c9:be-0b",
"swversion": "66013187",
"pointsymbol": {
"1": "none",
"2": "none",
"3": "none",
"4": "none",
"5": "none",
"6": "none",
"7": "none",
"8": "none"
}
},
"21": {
"state": {
"on": false,
"bri": 7,
"hue": 44963,
"sat": 254,
"effect": "none",
"xy": [
0.191,
0.0876
],
"ct": 500,
"alert": "none",
"colormode": "hs",
"reachable": true
},
"type": "Extended color light",
"name": "Hue Lamp 5",
"modelid": "LCT001",
"manufacturername": "Philips",
"uniqueid": "00:17:88:01:00:fb:15:4b-0b",
"swversion": "66013452",
"pointsymbol": {
"1": "none",
"2": "none",
"3": "none",
"4": "none",
"5": "none",
"6": "none",
"7": "none",
"8": "none"
}
}
}
Au plaisir !
Alain Lambert
Les Productions Saint
www.productionssaint.com
514 730-6080

On 22 Aug 2015, at 16:51, Nick Farina<EMAIL_ADDRESS>wrote:
I just verified that running npm install homebridge does properly install homebridge with node-persist and all other dependencies, and running it works OK. Could you try re-installing homebridge?
—
Reply to this email directly or view it on GitHub https://github.com/nfarina/homebridge/issues/115#issuecomment-133753324.

Have a look at the comments at the top of the Hue platform JS: https://github.com/nfarina/homebridge/blob/master/platforms/PhilipsHue.js

Hi Nick,
Everything is working fine ! Thanks a lot for your generous help.
Have a nice sunday !
Au plaisir !
Alain Lambert
Les Productions Saint
www.productionssaint.com
514 730-6080

On 22 Aug 2015, at 17:32, Nick Farina<EMAIL_ADDRESS>wrote:
Have a look at the comments at the top of the Hue platform JS: https://github.com/nfarina/homebridge/blob/master/platforms/PhilipsHue.js https://github.com/nfarina/homebridge/blob/master/platforms/PhilipsHue.js
—
Reply to this email directly or view it on GitHub https://github.com/nfarina/homebridge/issues/115#issuecomment-133756169.

Great to hear!


FYI - negative infinite power affects entire enemy team during online match

Midway through a dual gap match, the enemy team suddenly experienced negative infinite power.  They were then unable to build anything.  I don't know if it is a bug or a hack,
Replay - 8013587 @ 26:56
forever.log
game.log
Defiant

Can you please open this in FAForever/fa?


New dependency without a license

In 31b805c02ee00cfc67f932d0f74f6cf9241d99e7 you added the haikro to the production dependencies and this module is unlicensed.
I have asked the author to add a license, but until then it makes it very hard to use this module.
https://github.com/matthew-andrews/haikro/issues/62

my bad, fixed now. https://github.com/matthew-andrews/haikro/commit/e57ff2888746c582469dcbc953afbf584dcc9200

:metal: Thanks again!

@davglass @matthew-andrews is a colleague at the FT, so I hadn't checked the license, thank you for pointing this out.


Bug: When calling encryption methods, the string is not checked for null or empty

Fixed by d437db8 commit

Fixed by d437db8 commit


python311Packages.django-anymail: 10.3 -> 11.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.django-anymail is: Django email backends and webhooks for Mailgun
meta.homepage for python311Packages.django-anymail is: https://github.com/anymail/django-anymail
meta.changelog for python311Packages.django-anymail is: https://github.com/anymail/django-anymail/blob/v11.0/CHANGELOG.rst
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 11.0 with grep in /nix/store/i709yq3dy5j6hzs7qc6yxz2siqdi5z7v-python3.11-django-anymail-11.0
found 11.0 in filename of file in /nix/store/i709yq3dy5j6hzs7qc6yxz2siqdi5z7v-python3.11-django-anymail-11.0

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

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath

python311Packages.django-anymail
python312Packages.django-anymail

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/i709yq3dy5j6hzs7qc6yxz2siqdi5z7v-python3.11-django-anymail-11.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

Or:
nix build github:r-ryantm/nixpkgs/2844d382a27a79e2ef356350ac9283e9e799d102#python311Packages.django-anymail

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/i709yq3dy5j6hzs7qc6yxz2siqdi5z7v-python3.11-django-anymail-11.0
ls -la /nix/store/i709yq3dy5j6hzs7qc6yxz2siqdi5z7v-python3.11-django-anymail-11.0/bin

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

4 packages built:

python311Packages.django-anymail
python311Packages.django-anymail.dist
python312Packages.django-anymail
python312Packages.django-anymail.dist

Maintainer pings
cc @onny for testing.

Result of nixpkgs-review pr 322946 run on x86_64-linux 1

4 packages built:

python311Packages.django-anymail
python311Packages.django-anymail.dist
python312Packages.django-anymail
python312Packages.django-anymail.dist


[WIP] AWQ initial implementation

SUMMARY:
"please provide a brief summary"
TEST PLAN:
"please outline how the changes were tested"

Hey @rahul-tuli , any timeline about when AWQ will be shipped and merged? Thank you!

Hey @rahul-tuli , any timeline about when AWQ will be shipped and merged? Thank you!

Soon!


Merge Use Cases to Single Use Case for GlassBR

This issue stems from issue #257.
As stated by @smiths, "we should only have one use case. What is currently Use Case 1 is the inputs and what is Use Case 2 is the outputs. The single use case should be something like: 'read in the inputs and output the results.'"

This issue is a duplicate of #257, as #257 is keeping track of changes made to section 5.2.


Settings Sync prompts for login every time VSCode restarts

VS Code Version: 1.64.2
OS Version: Linux x64 5.15.21-1-MANJARO

Steps to Reproduce:

Restart vscode
Asks to login to sync settings

Also happens in the insiders build

I am also facing the same issue.

Do you also use Manjaro?

I use Arch Linux

Do you have gnome-keyring installed on your system? Or another org.freedesktop.secrets compatible keyring application?

I don't think so, coz I never even heard of these things (new to linux). Is there a way to check?

I didn't install any keyring software on my Arch Linux.

https://github.com/MicrosoftDocs/live-share/issues/224#issuecomment-383324321

Thats a good reference @HVisMyLife. This is also somewhat covered in our Settings Sync docs:
https://code.visualstudio.com/docs/editor/settings-sync#_troubleshooting-keychain-issues
I'm going to close this because it is almost certainly related to the installation of gnome-keyring.


Add typed variables to GDScript

So right now, every variable can be one of three types...

Constant - it has one value and one value only
Dynamic - it can have its value changed to one of any type from a string to a vector3
Exported - this allows you to have an adjustable value for each instance of an object

However, the downside with having to use dynamic types with all possible values that are changeable is that they are not the fastest solution around. Now I propose that GDscript gets a third main variable type, static.
The main benefit I can see is that it can potentially make scripts a bit faster, this will not replace the general dynamic type, but merely give the developer another way to optimize logic and make code more readable (because the interpreter would not have to check what type the value is and will throw an error if the wrong type of value is assigned).

The syntax would work similar to how the export system works, so you could have like...
static var health = int(5)
static var percent = float(12.5)
static var message = "hello"
static var rotation = Vector3(0,1,0)
static var list = [0,1,2,3,4]
static var blue = Color(0,0.5,1)

Would this be worth adding to Godot (which would depend on how much speed gain scripts can get in practice)?

This is something i really, really want to do (typed variables), as it
would allow more ability to optimize code and improve code completion..
still, would rather wait a bit for this as it's quite a big an
unstabilizing change
On Sat, Jun 27, 2015 at 5:39 PM, Ace-Dragon<EMAIL_ADDRESS>wrote:

So right now, every variable can be one of three types...

Constant - it has one value and one value only
Dynamic - it can have its value changed to one of any type from a
string to a vector3
Exported - this allows you to have an adjustable value for each
instance of an object

However, the downside with having to use dynamic types with all possible
values that are changeable is that they are not the fastest solution
around. Now I propose that GDscript gets a third main variable type,
static.
The main benefit I can see is that it can potentially make scripts a bit
faster, this will not replace the general dynamic type, but merely give the
developer another way to optimize logic and make code more readable
(because the interpreter would not have to check what type the value is and
will throw an error if the wrong type of value is assigned).
The syntax would work similar to how the export system works, so you could
have like...
static var health = int(5)
static var percent = float(12.5)
static var message = "hello"
static var rotation = Vector3(0,1,0)
static var list = [0,1,2,3,4]
static var blue = Color(0,0.5,1)
Would this be worth adding to Godot (which would depend on how much speed
gain scripts can get in practice)?
—
Reply to this email directly or view it on GitHub
https://github.com/okamstudio/godot/issues/2200.

I see, I didn't know that adding this would entail a very involved process.
I don't need it today (my game works very smooth right now), but hopefully it can be done within the next several version releases.

after a long discussion, GDScript will be left untyped. We may make or bind an alternative language that is typed and leave gdscript as is.

@reduz Recently we discussed that this is probably no longer the case, as it would make JIT-ing much simpler... so this should be reopened, right? :smiley:

Want to try adding it? It could be a syntax like
var a:int
for example
On Dec 29, 2016 17:36, "Bojidar Marinov"<EMAIL_ADDRESS>wrote:
@reduz https://github.com/reduz Recently we discussed that this is
probably no longer the case, as it would make JIT-ing much simpler... so
this should be reopened, right? 😃
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/2200#issuecomment-269689589,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z2xnD-VM7ya9W-NWotaK--88thHrsks5rNBnMgaJpZM4FNYOb
.

I prefer Dart's syntax:
var imVariant = "hi"
String imString = "ok thx"

Not having optional static typing that is especially used for ALL engine API means the learning curve for using Godot skyrockets. The constant requirement to consult documentation is frustrating. Sorry guys ;(

If that "var" keyword means "variant", neikeq syntax makes sense.
But if "var" means "variable" (note that the keyword "const" is used in replacement of "var".) reduz syntax sounds like the most consistent. Just my two cents post .

Not having optional static typing that is especially used for ALL engine API means the learning curve for using Godot skyrockets. The constant requirement to consult documentation is frustrating. Sorry guys ;(

Juan has some plans about implementing optional static typing in GDScript, which may be implemented in a future Godot 3.x release (it won't be done for 3.0, as it is currently in feature freeze). This could also bring performance improvements when making use of static types.
Also, note that you can access the API documentation very easily from the editor, you can even hold Ctrland click on a class name to access its built-in documentation.

Patrons voted this, so its priority for 3.1
On Dec 2, 2017 8:19 AM, "Hugo Locurcio"<EMAIL_ADDRESS>wrote:

Not having optional static typing that is especially used for ALL engine
API means the learning curve for using Godot skyrockets. The constant
requirement to consult documentation is frustrating. Sorry guys ;(
Juan has some plans about implementing optional static typing in GDScript,
which may be implemented in a future Godot 3.x release (it won't be done
for 3.0, as it is currently in feature freeze). This could also bring
performance improvements when making use of static types.
Also, note that you can access the API documentation very easily from the
editor, you can even hold Ctrland click on a class name to access its
built-in documentation.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/2200#issuecomment-348685415,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF-Z25e2QmcdkCliOrxcS4cC8bl2Nr4vks5s8TIrgaJpZM4FNYOb
.

This is a duplicate of #10630, which is more recent but also has some more activity, so closing this one in favour of the other. If any information described here is missing from the other issue, feel free to link it/copy it there.


Put web URL in prominent place

Linked to in github repo description: https://github.com/NaturalHistoryMuseum/inselect


Missing key "namespace" in task mrbelvedere_publish

https://mrbelvedereci.herokuapp.com/builds/3378

https://github.com/SalesforceFoundation/CumulusCI/commit/17a4540b02a729002b7f7bb2e59c12011294c76c
The changes here are needed in cumulusci/tasks/mrbelvedere.py as well.

We want to abstract out the github dependency resolution logic so it can be reused in both the mrbelvedere.py and in the new meta.xml update task.

Fixed in https://github.com/SalesforceFoundation/CumulusCI/commit/8f0d3a5f6eb6c9e7410b8e4fc306b47066d75958


Resource Browser Texture Order

Orders textures by name ascending before creating the texture buttons for the resource browser  #48

Is it working for you? Because for me it is still appending the faf directories last. Maybe I did something wrong during testing though

Does it order the buttons in the resource browser correctly for you? Issue #48 shows a picture of what it looks like when I tested it.

Ah I only checked one of the original texture folders to see the ordering of the individual textures. And it worked there. I should have taken a closer look at the issue description.
I tested it now and it works.


feat(Player, Portal): Added new player collision logic, Global Scene Manager, Implemented Portals

Modified the player phase shift ability to now simply turn on and off their collision mask for walls
Designated Collision Layer 2 for Wall and Ground objects
Added  basic autoload script called the SceneManager to handle transitioning between scenes (mostly cribbed from this
Implemented @reynold666's Portal Scene which uses the scene manager to move between levels

Okay


contours error

Hello,
I get the following error with valid arguments and (to the best of my knowledge) satisfied dependencies. Any ideas?
Traceback (most recent call last):
File "/path/to/scanner.py", line 28, in
(contours, _) = cv2.findContours(edged, cv2.RETR_LIST, cv2.CHAIN_APPROX_NONE)
ValueError: too many values to unpack
Thank you!
zelon88

Hi,
It maybe because of the OpenCV library version 3.x. AFAIK in OpenCV 2.4.x, findContours returns only 2 values but in later versions (3+) it returns 3 values image, contours, hierarchy.
So just replace (contours, _) with image, contours, hierarchy = cv2.findContours(...) and it should work fine.
Thanks

That seems to work like a charm! Thanks so much, but now I appear to be getting another error. Sorry for being so new with Python!
Here's my error. I think I may have installed the wrong module to satisfy the rect dependency on line 3 of scanner.py.
Traceback (most recent call last):
File "/var/www/html/HRProprietary/HRCloud2/DATA/1/DOCSCAN.py", line 45, in
approx = rect.rectify(target)
AttributeError: 'module' object has no attribute 'rectify'

Hi Vipul,
Getting the same error
AttributeError: 'module' object has no attribute 'rectify'
Using default python 2.7 which comes with ubuntu 14.04

The repository has a second file called rect.py that you need to add to your project directory

i have this error  on windows 10 can you help me please
OpenCV Error: Assertion failed (ssize.width > 0 && ssize.height > 0) in cv::resize, file C:\projects\opencv-python\opencv\modules\imgproc\src\imgwarp.cpp, line 3492
Traceback (most recent call last):
File "scanner.py", line 12, in
image = cv2.resize(image, (1500, 880))
cv2.error: C:\projects\opencv-python\opencv\modules\imgproc\src\imgwarp.cpp:3492: error: (-215) ssize.width > 0 && ssize.height > 0 in function cv::resize


SW-4730 Add 'not present' filter checkbox for projects in accessions table

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #2102

PR #2103   👈

This stack of pull requests is managed by Graphite.

Merge activity

Feb 2, 10:46 AM EST: @nickgraz started a stack merge that includes this pull request via Graphite.


Refactor(torii-core): Optimize and clean sql statements

Refactor fn register_model(), and fn set_entity() to get rid of extra SQL query statements.
Solution
Use RETURNING clause to avoid unnecessary SQL statements

Thanks! there are some sizable changes coming down the pipe (https://github.com/dojoengine/dojo/pull/916), I think we could wait for this one to land first. Also we're gonna be moving to block_id instead of created_at at some point.

Reopening for @gianalarcon now that nested model is implemented

Ready for review!


Clarification on block roots inclusion

In validator design spec, under Attestations. To include the following block roots in attestation we do:
Epoch boundary root: get_block_root(state, get_epoch_start_slot(slot_to_epoch(head.slot)))
Justified block root: get_block_root(state, justified_epoch)
There's a few special cases that the spec did not mention:
1.) For genesis slot: what do attesters put for epoch boundary root and justified block root:
2.) Before the first block gets justified: what do attesters put for justified block root:
3.) During epoch boundary slot: what do attesters put for epoch boundary root? the previous epoch boundary root?

@terencechain is this still an issue?

Nope, the questions have been addressed


pipe_input target

Addresses #1161.
Default behaviour reverts back to first parameter chaining for backwards compatibility.
Changes

Corrected minor bug for Applicable (passing through target when using other methods)
Added user facing API on_input
Added on_input to pipe_input for global setting

How I tested this

Unit tests

Notes
There are two differences to on_output:

Since we do not use NodeTransformer we can have a mixture of global and local on_input settings. I made it so that the local (on the level of Applicable) adds to the global one (on the level of pipe_input). The other option would be to allow the local to override the global one. I also added a safeguard that if on_input is used, all transforms need to have a target to have it clear.
The namespace convention needs slight adjustment in case we apply pipe_input to multiple parameters. Since each node is chained through the parameter name, I have now that in case the same transform is applied to two parameters, we create two nodes with the same namespace but add to them "_param_name" so that we don't have problems with same-node names in the DAG.

Checklist

[x] PR has an informative and human-readable title (this will be pulled into the release notes)
[x] Changes are limited to a single goal (no scope creep)
[x] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
[x] Any change in functionality is tested
[x] New functions are documented (with a description, list of inputs, and expected output)
[x] Placeholder code is flagged / future TODOs are captured in comments
[x] Project documentation has been updated if adding/changing functionality.

Nice! Left some thoughts -- I think this is valuable (E.G. the first parameter is a bit of an awkward assumption), but we might want to restrict the API a bit. Also some naming/consistency stuff.

The API expanded substantially to leave as much flexibility in there as possible. It also is a complete dual to pipe_output in the sense that you can target multiple parameters (like we do end nodes) and can allocate transforms individually between them -- so you could use them interchangeably / becomes a personal preference if you rather chain on output nodes or input parameter.
But I'm happy to constrain it more, like @elijahbenizzy suggested, to only allow only a single parameter and you pass it in as a string seems reasonable. In case you want more flexibility use pipe_output. There would be one case I don't see this working out, but that is probably then more indicative of a code smell than a lack of flexibility:

def _transform():
    ...

def _other_transform():
    ...

@pipe_output(step(_transform)) # this won't work
def interesting_node():
    ...

@pipe_input(
        step(_transform).on_input="interesting_node", # this should work
        step(_other_transform).on_input("foo") # leaving flexibility to also transform other params
)
def downstream(foo, bar, baz, interesting_node,...):
    ...

def some_other_dependency(interesting_node):
# here you don't want to have the pipe transform happening just the original `interesting_node` input
    ...

Nice! Left some thoughts -- I think this is valuable (E.G. the first parameter is a bit of an awkward assumption), but we might want to restrict the API a bit. Also some naming/consistency stuff.

The API expanded substantially to leave as much flexibility in there as possible. It also is a complete dual to pipe_output in the sense that you can target multiple parameters (like we do end nodes) and can allocate transforms individually between them -- so you could use them interchangeably / becomes a personal preference if you rather chain on output nodes or input parameter.
But I'm happy to constrain it more, like @elijahbenizzy suggested, to only allow only a single parameter and you pass it in as a string seems reasonable. In case you want more flexibility use pipe_output. There would be one case I don't see this working out, but that is probably then more indicative of a code smell than a lack of flexibility:
def _transform():
    ...

def _other_transform():
    ...

@pipe_output(step(_transform)) # this won't work
def interesting_node():
    ...

@pipe_input(
        step(_transform).on_input="interesting_node", # this should work
        step(_other_transform).on_input("foo") # leaving flexibility to also transform other params
)
def downstream(foo, bar, baz, interesting_node,...):
    ...

def some_other_dependency(interesting_node):
# here you don't want to have the pipe transform happening just the original `interesting_node` input
    ...

Maybe it would make sense to keep it like this because the subtle difference in the implementations between pipe_input and pipe_output can work hand in hand.
Specifically, for pipe_output we touch the original node by creating this chain node_raw--chain_nodes--node, whereby for pipe_input we have param--chain_node--renamed_param_in_upstream_node so we don't touch the original node, but  rename the argument in the next node.


Stopping inteaction between minutes and hours in the time picker

Hello
Is there a way to stop the minutes picker interacting with the hours picker?
For example the user select 12 in the hours picker and then starts to scroll backwards through the minutes.
When they hit zero minutes the hour changes to 11 and the time picker starts to count down again from 60
s
I have uses that keep putting in the wrong time because of this. They are then scrolling backward as if you want 12:50 it's faster to select 12 and then double click the down arrow in the mins (when increment is set to 5 mins) then it is to select 12 and then click from 0 up to 50.

I too would like a toggle to stop minutes interacting with hours: my situation is different.
I am confused by the arrow directions (to me, down should increment the hour or minute, but here it decreases it) so, unable to find a toggle for arrow direction, I instead set hourIncrement to -1 and minuteIncrement to -5.
This works fine except when you cross an hour boundary in the minutes - now this works in the wrong direction - ie going from 55 to 00 now unexpectedly decreases the hour. That's definitely not desired behaviour.
So, staying with default increments for now...

Another "glitch" comes up, when you set the hourIncrement to 3, for example.
Every time the minutes reach the threshold of 60 the hour are incremented by 3.
In some situations it would be fine to turn off this behavior, so an option to decouple both fields could be a good idea.


[Windows] User is not able to add bank

Bug Description
User is not able to add bank
Steps to Reproduce

Go to "Banks"
Add bank

Expected behavior
User is not able to add bank.
Actual behavior
User Should be able to add banks
Screenshots/Recordings
https://recordit.co/wwdrNLzqiA
OS and Browser
OS: [Windows 7]
Account Number
15e164325715c9552911caf7e3ea1759f4c2ccba5fd82864a4d811d67935c4f9

@webdeveloperswj you are trying to add bank which is offline, app shows only Toast message "timeout 5000ms exceeded". @buckyroberts should we handle this scenario with additional validation message on the form itself?

This has been moved to the Design Repository


Confused?

Type: Performance Issue
Good morning/afternoon/evening,
This issue just started today, VScode has altered all my keyboard keys. For some reason the J button deletes. I can not type any text. Also no keybindings work at all. I uninstalled and reinstalled all programs and extensions. Downloaded VIM extension and reset the .json code. None of these have fixed the issue. I was hoping for some help.
Thanks a lot for your time and help to the people it means a lot.
VS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:15:18.074Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx   (8 x 2096)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
5.88GB (1.15GB free)

Process Argv
--crash-reporter-id ff615092-0199-4d83-9d28-776a699818e2

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
    0	    97	  6468	code main
    0	   100	 11456	   window (undefined)
    0	    27	 12268	   crashpad-handler
    0	    40	 12536	   utility-network-service
    0	   178	 16372	   window (Extension: Vim - HTML - Visual Studio Code)
    0	   103	 16548	   shared-process
    0	    75	  9196	     fileWatcher
    0	    73	 10052	     ptyHost
    0	   123	 17148	   extensionHost
    0	   105	 12492	     "C:\Users\ethan\AppData\Local\Programs\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Users\ethan\AppData\Local\Programs\Microsoft VS Code\resources\app\extensions\html-language-features\server\dist\node\htmlServerMain" --node-ipc --clientProcessId=17148
    0	   150	 17480	   gpu-process
    0	    96	 17620	   issue-reporter

Workspace Info
|  Window (Extension: Vim - HTML - Visual Studio Code)
|    Folder (HTML): 10 files
|      File types: html(4) css(2) webp(1)
|      Conf files:;

Extensions (2)

Extension
Author (truncated)
Version

prettier-vscode
esb
9.9.0

vim
vsc
1.24.1

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242cf:30382550
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vsdfh931cf:30280410
vshan820:30294714
vstes263:30335439
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
i497e931:30553904
vscccc:30566498
pyindex848cf:30577861
nodejswelcome1cf:30587006
40g7c324:30573242

Please try out vscode insiders and check if the problem persists. Thanks!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


feat: use request host for hot-reload instead of window.location.host

Checklist

[x] Updated CHANGELOG.md describing pertinent changes.
[ ] Updated README.md with pertinent info (may not always apply).
[ ] Updated site content with pertinent info (may not always apply).
[x] Squash down commits to one or two logical commits which clearly describe the work you've done. If you don't, then Dodd will 🤓.

This is a continuation of #494, when using tauri on mobile, we proxy the requests and the files are served using a custom protocol https://tauri.localhost so window.location.host will be tauri.localhost and the hot-reload socket won't connect. To fix this, trunk will hard-code the address inside the auto-reload script.

For tauri on mobile, due to some limitations, the webview can't access trunk server on the local network so instead we proxy the requests by connecting to trunk from the native part (Rust) of the APK and then serving the response to the webview using an internal custom protocol, so window.location is actually an internal URL which will be http://tauri.localhost but that is not an actual dev server and so connecting to it via websockets will fail.
With this change, we modify the HTML on the fly before serving it based on the incoming request URL, so if we have trunk configured to listen on <IP_ADDRESS> (means to listen on all local addresses), and a tauri app tries to connect to <IP_ADDRESS>:8080, it will be served an HTML file that has hot-reload script that tries to connect to the socket on <IP_ADDRESS>:8080/_trunk/ws
I don't think this will break for other users but in our fields you can never be so sure, however, for<EMAIL_ADDRESS>we have been recommending users to use my fork (which has this change) for quite sometime now, used with leptos, yew and sycamore, and I haven't had any reports about regressions or bugs related to this but ofc take it with a grain of salt.

Is there anything I can do to push this and the related PR forward? It would be great for tauri users to have these features merged in this project so they wouldn't have to use my fork.
And I apologize if this sounds rude or impatient on my part, I appreciate your hard work and I am not trying to put more work on your plate.

I cherry-picked this into trunk-ng and will test it locally. If that looks good, it should be in the next release.

This should come back to trunk with #623

closing as this has been superseded by #623


usr_state_ctrl: moved under platform common

Relocate state_ctrl user api to platform side to make it work properly in kernel-mode

Set as Draft until submodule is merged and updated here

Don't move it here, as this is public. Keep it common in px4_boards_ssrc repo to support ssrc targets only?

Rethink the solution. Closing this


WIP: Invalidate wit cache

PLEASE, DO NOT MERGE AS THIS MIGHT NEED APPROVAL FROM A POTENTIALLY LARGE AUDIENCE!!!
This change uses PostgreSQL's LISTEN/NOTIFY concept as an inter-process communication to signal that all core pods shall reload their work item cache after a space template was updated.
Here's the piece of code that sets subscribes to a channel:
// Ensure we delete the work item cache when we receive a notification from postgres
gormsupport.SetupDatabaseListener(*config, map[string]gormsupport.SubscriberFunc{
	gormsupport.ChanSpaceTemplateUpdates: func(channel, extra string) {
		workitem.ClearGlobalWorkItemTypeCache()
	},
})

This concept can be reused very easily by adding new listeners for the individual event channels.
TODO:

[ ] more negative tests

Codecov Report

Merging #2172 into master will decrease coverage by 0.07%.
The diff coverage is 46.93%.

@@            Coverage Diff             @@
##           master    #2172      +/-   ##
==========================================
- Coverage   69.59%   69.52%   -0.08%
==========================================
  Files         170      171       +1
  Lines       15681    15730      +49
==========================================
+ Hits        10913    10936      +23
- Misses       3774     3798      +24
- Partials      994      996       +2

Impacted Files
Coverage Δ

migration/migration.go
59.28% <0%> (-1.39%)
:arrow_down:

configuration/configuration.go
69.45% <100%> (+0.53%)
:arrow_up:

gormsupport/listener.go
47.22% <47.22%> (ø)

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 a4d9061...5caadbd. Read the comment docs.

[test]

@kwk I think this would fix https://github.com/openshiftio/openshift.io/issues/3930.

Why don't we use a cache server like Memcached?

Why don't we use a cache server like Memcached?

@baijum I think the effort to maintain a memcached server and have it deployed is outweighed by the simplicity and tight connection we already have with postgres. Also note that we might want to use PostgreSQL's notification system for other stuff in the future, so it is not only about caching although it is the first use-case for it. One can easily think of a use case in which we use it to trigger web socket notifications to clients for example. But that's not written in stone.

@kwk
A new migration/update is performed when the spacetemplate is updated. This means that a new pod was spawned and doesn't have the old cache state.
If there are 4 pods they all will be eventually updated. So why do we need to notify the other pods?
I agree there might be an inconsistent state but that wouldn't last for long. As soon as all the pods are updated we will have an empty cache in all the pods.

@kwk
A new migration/update is performed when the spacetemplate is updated. This means that a new pod was spawned and doesn't have the old cache state.
If there are 4 pods they all will be eventually updated. So why do we need to notify the other pods?
I agree there might be an inconsistent state but that wouldn't last for long. As soon as all the pods are updated we will have an empty cache in all the pods.

@jarifibrahim in the future the templates can be changed at run-time without requiring a restart.


Create pers1213

Unsure on pers ID for John Johnson and 1162 bio did not offer much clarification.  I chose this ID over 1163 as the age was similar to Dorothea's even though it is not uncommon for husbands to be far older, just a temporary educational guess until further information proves otherwise. Comments left in listperson line 31 and by mention of name in line 61

VIAF and google searches also did not provide any clarity


Smoketest times out when running against stable

So today me, @RMacfarlane and @sbatten were doing smoke tests, and the test timeed out on all platforms.
We ran the following scripts against latest stable extracted to Desktop.
npm run smoketest -- --build /Users/octref/Desktop/Visual\ Studio\ Code.app --stable-build /Applications/Visual\ Studio\ Code.app

However, when running without passing in --build and --stable-build, or passing in the path towards Insider build, the test ran fine.
We briefly looked into the test but did not identify the issue. At the end, we decided to run smoketest against the release branch built from source to not block the release.

During a brief investigation, I found that it was hanging on calls to app.workbench.quickopen, but I stopped investigating when we switched to running from source.

@joaomoreno Just going over old issues. I believe this is already fixed by you right?

Not sure...


Add support for QNX Neutrino to 0.4 branch

@gh-tr This is your patch plus fixes for compiler warnings (in two separate commits to make the review easier)

Timeout is now included here as well.
BTW I created two pull requests because version 0.4 is still used but master deviated from it already quite much.


Enable Matplotlib package

Enable Matplotlib package
Additional python-tk package for Animation workbench

In last attempt i was too quick and didn't realize matplotlib package is already included but not used in AppImage. Proposed changes in this PR should enable the matplotlib package to be used after.
Related:
https://github.com/AppImage/AppImages/pull/316
Edit: For correctness and to reduce any potential possible future confusion.  Additional python-tk package was added due to Animation and not Plot workbench depending on it. I edited the initial description.
https://forum.freecadweb.org/viewtopic.php?f=22&t=27013&p=217633#p217633

Thank you.


About OperatingSystemArchitecture property

In fact, this property is a "Target" architecture of app package, not Operating System Architecture. For example, Many of UWP apps in 2019 are build as x64, x86 and Arm. If you install the sort of this app on Arm64 system, Arm package will be deployed. Thus, this property may returns "Arm" - not Unknown.  I believe that we need to update the documentation to inform this. Thankyou.

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

ID: a288b544-869f-8602-b16e-69ed7cd5991c
Version Independent ID: 9e4da54e-a6c7-7867-8f1f-3e2586c0baf1
Content: SystemInformation - Windows Community Toolkit
Content Source: docs/helpers/SystemInformation.md
Product: community-toolkit
GitHub Login: @nmetulev
Microsoft Alias: nikolame

The doc has been updated. https://docs.microsoft.com/en-us/windows/communitytoolkit/helpers/systeminformation


Ability to generate devfile objects for specific devfile schema versions

As a consumer, I would like the common library to be able to convert provided information into a valid devfile object for a specific devfile schema version.
It should be part of the writer utils.
Usage in odo:
https://github.com/openshift/odo/blob/6a33350ad9baffef3a47b916872b8b718a1e467d/pkg/odo/cli/utils/convert.go#L275-L301
consumers should pass in params to common library and get the appropriate devfile object for specific devfile versions. So that consumers' code would be independent to schema definition.

We should probably wait on this issue until devfile/library switches to devfile/api override and merge functions because the odo's convert.go uses AddCommand which will be replaced by devfile/api override and merge functions

@yangcao77 @maysunfaisal I am not sure on this the devfile api objects are exposed, why the consumer cannot use them directly? we use kubernetes objects directly and I think having a library does not mean that consumers should not access devfile/api objects as everything cannot be covered by library.
I agreed on updating those to use object definitions from devfile/api, and updating the writer functions to use from library.

This item has been replaced and addressed by #326


Fix possible NullPointerException

Also, it may be useful to listen to PlayerQuitEvent to cancel the trade request as soon as the player logs out.

Thank you for the PR and sorry for the late response :/


Fix aliasing that matches entry file

When the alias matches the entry file, there is no importerId given, which fails with:
Path must be a string. Received undefined

This PR checks that importerId exists before trying to force an alias.

Anyone still reviewing PRs for this repo? @frostney ?

thank you 👍


Error: There are multiple coordinates with standard_name

The issue I am getting occurs during the CMOR check:
There are multiple coordinates with standard_name "air_pressure": ['ps', None]
Project: CMIP6
dataset: E3SM-1-0
mip: AERmon
grid: gr
variable used: mmrso4
ncdump (without global attributes):
netcdf mmrso4_AERmon_E3SM-1-0_nudge-SO2-at-hgt_r1i1p1f1_gr_199901-199912 {
dimensions:
	time = UNLIMITED ; // (12 currently)
	lev = 72 ;
	lat = 180 ;
	lon = 360 ;
	bnds = 2 ;
variables:
	double time(time) ;
		time:bounds = "time_bnds" ;
		time:units = "days since 1999-01-01 00:00:00" ;
		time:calendar = "noleap" ;
		time:axis = "T" ;
		time:long_name = "time" ;
		time:standard_name = "time" ;
	double time_bnds(time, bnds) ;
	double lev(lev) ;
		lev:bounds = "lev_bnds" ;
		lev:units = "1" ;
		lev:axis = "Z" ;
		lev:positive = "down" ;
		lev:long_name = "hybrid sigma pressure coordinate" ;
		lev:standard_name = "atmosphere_hybrid_sigma_pressure_coordinate" ;
		lev:formula = "p = a*p0 + b*ps" ;
		lev:formula_terms = "p0: p0 a: a b: b ps: ps" ;
	double lev_bnds(lev, bnds) ;
		lev_bnds:formula = "p = a*p0 + b*ps" ;
		lev_bnds:standard_name = "atmosphere_hybrid_sigma_pressure_coordinate" ;
		lev_bnds:units = "1" ;
		lev_bnds:formula_terms = "p0: p0 a: a_bnds b: b_bnds ps: ps" ;
	double p0 ;
		p0:standard_name = "reference_air_pressure_for_atmosphere_vertical_coordinate" ;
		p0:long_name = "vertical coordinate formula term: reference pressure" ;
		p0:units = "Pa" ;
	double a(lev) ;
		a:long_name = "vertical coordinate formula term: a" ;
		a:bounds = "a_bnds" ;
	double b(lev) ;
		b:long_name = "vertical coordinate formula term: b" ;
		b:bounds = "b_bnds" ;
	float ps(time, lat, lon) ;
		ps:standard_name = "air_pressure" ;
		ps:long_name = "Surface Air Pressure" ;
		ps:units = "Pa" ;
	double a_bnds(lev, bnds) ;
		a_bnds:long_name = "vertical coordinate formula term: a(k+1/2)" ;
	double b_bnds(lev, bnds) ;
		b_bnds:long_name = "vertical coordinate formula term: b(k+1/2)" ;
	double lat(lat) ;
		lat:bounds = "lat_bnds" ;
		lat:units = "degrees_north" ;
		lat:axis = "Y" ;
		lat:long_name = "Latitude" ;
		lat:standard_name = "latitude" ;
	double lat_bnds(lat, bnds) ;
	double lon(lon) ;
		lon:bounds = "lon_bnds" ;
		lon:units = "degrees_east" ;
		lon:axis = "X" ;
		lon:long_name = "Longitude" ;
		lon:standard_name = "longitude" ;
	double lon_bnds(lon, bnds) ;
	float mmrso4(time, lev, lat, lon) ;
		mmrso4:standard_name = "mass_fraction_of_sulfate_dry_aerosol_particles_in_air" ;
		mmrso4:long_name = "Aerosol Sulfate Mass Mixing Ratio" ;
		mmrso4:comment = "Dry mass of sulfate (SO4) in aerosol particles as a fraction of air mass." ;
		mmrso4:units = "kg kg-1" ;
		mmrso4:cell_methods = "area: time: mean" ;
		mmrso4:cell_measures = "area: areacella" ;
		mmrso4:missing_value = 1.e+20f ;
		mmrso4:_FillValue = 1.e+20f ;
		mmrso4:history = "2021-01-29T01:34:20Z altered by CMOR: Inverted axis: lev." ;

Any idea why this is happening? Is there something wrong with the variable netCDF file or is it the recipe?
main_log_debug.txt
recipe-initial_analysis-e3sm_mmrso4.txt

Turns out there was an error in the metadata. As you can see in the post above, the standard name for ps is defined as "air_pressure". It should actually be "surface_air_pressure".

Hello @hahsan1
I re-open this issue because after correcting the standard name for ps from "air_pressure" to "surface_air_pressure" for similar files, the next error appears:
 esmvalcore.cmor.check.CMORCheckError: There were errors in variable wa:
 Generic level coordinate alevel with out_name lev has wrong standard_name or is not set.

Could this error be produced by the lev units? How could we convert them from 1 to m?
Thank you very much in advance!
Best regards,
Margarida
PS: I send you the ncdump for the similar files:
ncdump -h wa_AERmon_EC-Earth3-AerChem_hist-piNTCF_r4i1p1f1_gr_199701-199712.nc
netcdf wa_AERmon_EC-Earth3-AerChem_hist-piNTCF_r4i1p1f1_gr_199701-199712 {
dimensions:
        time = UNLIMITED ; // (12 currently)
        lev = 91 ;
        lat = 256 ;
        lon = 512 ;
        bnds = 2 ;
variables:
        double time(time) ;
                time:bounds = "time_bnds" ;
                time:units = "days since 1850-01-01 00:00:00" ;
                time:calendar = "proleptic_gregorian" ;
                time:axis = "T" ;
                time:long_name = "time" ;
                time:standard_name = "time" ;
        double time_bnds(time, bnds) ;
        double lev(lev) ;
                lev:bounds = "lev_bnds" ;
                lev:units = "1" ;
                lev:axis = "Z" ;
                lev:positive = "down" ;
                lev:formula = "p = ap + b*ps" ;
                lev:formula_terms = "ap: ap b: b ps: ps" ;
                lev:standard_name = "depth" ;
                lev:long_name = "ocean depth coordinate" ;
        double lev_bnds(lev, bnds) ;
        double ap(lev) ;
                ap:long_name = "vertical coordinate formula term: ap" ;
                ap:units = "Pa" ;
        double b(lev) ;
                b:long_name = "vertical coordinate formula term: b" ;
                b:original_units = "1" ;
                b:history = "2020-11-05T01:36:17Z altered by CMOR: Converted units from \'1\' to \'\'." ;
        float ps(time, lat, lon) ;
                ps:long_name = "Surface Air Pressure" ;
                ps:units = "Pa" ;
                ps:history = "2020-11-05T01:36:17Z altered by CMOR: Reordered dimensions, original order: lat lon time." ;
                ps:standard_name = "surface_air_pressure" ;
        double ap_bnds(lev, bnds) ;
                ap_bnds:long_name = "vertical coordinate formula term: ap(k+1/2)" ;
                ap_bnds:units = "Pa" ;
        double b_bnds(lev, bnds) ;
                b_bnds:long_name = "vertical coordinate formula term: b(k+1/2)" ;
                b_bnds:original_units = "1" ;
                b_bnds:history = "2020-11-05T01:36:17Z altered by CMOR: Converted units from \'1\' to \'\'." ;
        double lat(lat) ;
                lat:bounds = "lat_bnds" ;
                lat:units = "degrees_north" ;
                lat:axis = "Y" ;
                lat:long_name = "Latitude" ;
                lat:standard_name = "latitude" ;
        double lat_bnds(lat, bnds) ;
        double lon(lon) ;
                lon:bounds = "lon_bnds" ;
                lon:units = "degrees_east" ;
                lon:axis = "X" ;
                lon:long_name = "Longitude" ;
                lon:standard_name = "longitude" ;
        double lon_bnds(lon, bnds) ;
        float wa(time, lev, lat, lon) ;
                wa:standard_name = "upward_air_velocity" ;
                wa:long_name = "Upward Air Velocity" ;
                wa:comment = "A velocity is a vector quantity. \'Upward\' indicates a vector component which is positive when directed upward (negative downward). Upward air velocity is the vertical component of
 the 3D air velocity vector. The standard name downward_air_velocity may be used for a vector component with the opposite sign convention." ;
                wa:units = "m s-1" ;
                wa:cell_methods = "area: time: mean" ;
                wa:cell_measures = "area: areacella" ;
                wa:history = "2020-11-05T01:36:17Z altered by CMOR: Reordered dimensions, original order: lat lon lev time. 2020-11-05T01:36:20Z altered by CMOR: Inverted axis: lev." ;
                wa:missing_value = 1.e+20f ;
                wa:_FillValue = 1.e+20f ;

Hi @MargaridaBSC , the issue looks to be the lev variable standard name definition, as the error says.
The metadata shows that lev has "depth" and "ocean depth coordinate" for standard and long names, but this variable (wa) seems to be upward air velocity, based on a CMIP6 table I found. So you should change the lev standard name to "atmosphere_hybrid_sigma_pressure_coordinate" and might as well fix the long name, which should be "hybrid sigma pressure coordinate".
You can use NCO or CDO, which are netcdf operators for file and metadata manipulation, which you can run on terminal. So for example, changing the standard name for lev looks like this:
ncatted -O -a standard_name,lev,m,c,"atmosphere_hybrid_sigma_pressure_coordinate" filename.nc

Hi @hahsan1
Thank you very much for your prompt reply. Changing plev standard and long names worked perfectly, thanks a lot!
Best wishes,
Margarida


main.QGen not working !

Hey @VinayChaudhari1996 , I reckon you haven't installed sense2vec or the tar file that contains the word vectors. Also, you can try it on a Jupyter/Kaggle notebook in a new environment just to make sure that sense2vec is causing the issue.

You can refer to this blog also: https://towardsdatascience.com/questgen-an-open-source-nlp-library-for-question-generation-algorithms-1e18067fcdc6


fix(routing): do not use relativeTo for setting up navigateByUrl

Closes openshiftio/openshift.io#2286

@debloper fabric8/fabric8-ui:SNAPSHOT-PR-2481-1 is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-2481-fabric8-planner.badger.fabric8.io

This change is not relevant anymore in the new version. So can we close this PR?

Has the issue been fixed? Or the copied over components_ngrx contains the same code that needs fixing? If the former, then it should be closed, if the later then please confirm that, keep the PR open, and expect updated PR that fixes it in the right place according to the new version.

Ike Plugins (test-keeper)
Thank you @debloper for this contribution!

It appears that no tests have been added or updated in this PR.
Automated tests give us confidence in shipping reliable software. Please add some as part of this change.
If you are an admin and you are sure that no test is needed then you can use the command /ok-without-tests as a comment to make the status green.
For more information please head over to official documentation. You can find there how to configure the plugin - for example exclude certain file types so if PR contains only them it won't be checked.


AddClass for a data point?

Is it possible to do something like
    series[{
     name:'test',
     data: [
      {x:1, y:100, addClass:'myCustomCssClass'},
     ]
   }]

I know the syntax is probably wrong, but i want to override the render color of individual points and hopefully define the property inline as depicted above. Is this supported or documented anywhere?

Use meta to add your meta data to your chart data. Then use the draw event to extract the color from the meta data and colorize it. Check the examples for dynamic coloring in the getting started section on the website.

that's what i ended up doing, but it would be helpful if all properties defined were accessible on the  on draw event. Going off of the above example the property addClass is not available in the on draw event. Using meta works well, but if you're also using the tooltip plugin, then that's not viable.

Yeah, that's true. Meta data is shared across all plugins and the core. This is something we will improve with version 2. You can always put data in your initial data object and make that accessible in the closure of your draw callback. Then use the index of the data point and series to access your original data, where you can ready any information from.


Deleting all the 150 (Duplicate) files in the needcode_150 folder

PLEASE DO NOT MERGE THIS
@neetcode-gh needs to check this before merging.
I checked all the 150 files in the cpp/neetcode_150 folder, and they all were duplicates. I deleted all.

Thanks!


connection to LG TV not possible

Hi,
I'm able to connect with the official LG ThinQ TV app with my LG TV.
Therefore an app access seams possible.
Unfortunately the config node throughs an error on connection trials.
Is this a known problem, or am I missing something ?

in the last firmware we have a problem with cert

in the last firmware we have a problem with cert

@demosspro Hi! Any updates on that? Thank you

in the last firmware we have a problem with cert

@demosspro Hi! Any updates on that? Thank you

Hello, yes, i change control type to LG IP CONTROL
it is fast and easy to use

@demosspro with node-red-contrib-lgtv 1.1.0 I'm getting the "econnreset" error:

How should I config?
Thanks a lot :)

I do not use this node. I am creat my lgcontrol.mjs script file and use it with exec node ( node /root/.node-red/node_modules/lgcontrol.mjs 1 ) ot is parsing and send key "1" to tv

@demosspro with node-red-contrib-lgtv 1.1.0 I'm getting the "econnreset" error:
How should I config? Thanks a lot :)
PS: I've seen a pull request from you changing from ws to wss and from port 3000 to 3001. Is that the fix? My lgtv-config.js has the old code lines (ws & port 3000).

I have same issue. How i can connect to my TV?

Hello, i stopped used it. Now i ise only lgtv-ip-control plugin. I write some .mjs script to use it

Hello. do you any guide with the instructions?


[Feature Request] Expand Multi-line on line length

I use the force-expand-multiline explicitly as I find it's the most readable however as soon as I add two props to an element it splits it into a multi-line which makes documents really long. It would be fantastic if it only wrapped after a certain line length instead of as soon as I have two props in an element. So that...
This...

Should turn into this...

And not this

Lemme know what you'd like to see to turn this into a PR...what features, how do you want it organized, tests, etc.


Add zoom

Fixes #173
Proposed Changes

allow zooming by Zoom In and Zoom Out buttons
add overflow: hidden to body - solves the problem with unwanted scrollbars on marking page

Few things that I found during testing:

Zooming and scrolling collision. Mouse scroll is now simultaneously scrolling zoomed canvas preview and changing slices.
Brush selection size connected with zoom:

We need some kind of easy navigation method for zoomed canvas, maybe some kind of grabbing operation?

Zooming and scrolling collision. Mouse scroll is now simultaneously scrolling zoomed canvas preview and changing slices

We have to decide what scrolling should do, I wait for proposals.

Brush selection size connected with zoom

Is this bug or feature? I think that zoom should affect brush size. What others think about this?

We need some kind of easy navigation method for zoomed canvas, maybe some kind of grabbing operation?

I have no idea how we should solve this problem. In KolourPaint mouse scroll controls vertical scrollbar and Alt + scroll controls horizontal.

@jpowie01 @jszemplinski @kolszewska @juliapacula

Zooming and scrolling collision. Mouse scroll is now simultaneously scrolling zoomed canvas preview and changing slices

Hmm... For me, scrolling should only be used to move between Slices. That's very natural for most of our users as they are very familiar with medical programs like Aeskulap.
Proposal: What if we add a separate "Mouse" or "Cursor" tool as it is done in eg. Photoshop? Then we could use scrolling both for moving between Slices and zoom depending on selected tool.

Brush selection size connected with zoom

I think that size of brush should change together with zoom. It is more natural and this is how it works in many graphic tools, eg. GIMP. Details segmentation should be drawn using smaller brush sizes, which size should be controlled by user.
Note: Change of brush size shouldn't be reflected on the UI that Jacek works on in #441! Size should only take place while drawing on canvas.

We need some kind of easy navigation method for zoomed canvas, maybe some kind of grabbing operation?

Pressing Shift/Ctrl is nice but mostly for power users. Maybe there should be another Tool? "Mouse" or "Cursor" could also be used for navigation (as it is done in Photoshop).

@juliapacula, could you take a look at it from the UX perspective? 😉

Brush size should change when zooming - we have an option to change the size, so user can manually make it smaller.
I like @jpowie01 idea of moving tool - so when we have a zoom tool scrooling would respectively zoom in or out and with a move tool it would change slides :)
Second option for me is silding this progressbar we have on the side - so scrolling would just zoom in and out, and move tool alows user to move across canvas and still zoom in/out. It might still be not intuitive to change for zoom tool just to make canvas smaller/larger :(
What do you think about grabbing progressbar to change slides? It won't be that sensitive, so moving one slide up will be still very easy (and we can add a arrow animation for newbies, showing that a user can grab up&down)

@Darkoon

Zooming and scrolling collision. Mouse scroll is now simultaneously scrolling zoomed canvas preview and changing slices.

Mouse scroll changes only slices now.

Brush selection size connected with zoom:

As said earlier, this is intended behaviour

We need some kind of easy navigation method for zoomed canvas, maybe some kind of grabbing operation?

We had a little discussion about this hear but no consensus. Currently moving scrollbars is the only way to move slice and I think this is sufficient for this pull request. We can create separate issue for creating Grab Tool (moving slice, moving points, resize rectangles etc.)


Hide icon for TabBar on ios?

Just flipped through the codebase and seemed there's no way to hide icon for TabBar on ios, or was I missing something obvious here?

I just sent a PR to have this implemented, please have a look.
Code sample:
tabBarOptions: {
	activeTintColor: '#9b59b6',
	labelStyle: { fontSize: 16 },
	showIcon: false, // toggle this false to hide icons in tabbar on iOS
},

Fixed in the follow-up PR https://github.com/react-community/react-navigation/commit/546fc657d5b6bb4b5f7bec6980986c867aaf5fd2


inception-resnet v2 pretrained weights can not be downloaded

This link shows 404.
model_urls = {
    'imagenet': 'http://webia.lip6.fr/~cadene/Downloads/inceptionresnetv2-d579a627.pth'
}

Sorry, it was just my fault. solved it.


Fix typo in a log message of cloud container deletion logic.

Codecov Report

Merging #1856 (ccf4de5) into master (078cd8b) will decrease coverage by 28.12%.
The diff coverage is 0.00%.

@@              Coverage Diff              @@
##             master    #1856       +/-   ##
=============================================
- Coverage     74.03%   45.90%   -28.13%
+ Complexity     9622     5600     -4022
=============================================
  Files           688      688
  Lines         52713    52713
  Branches       6555     6555
=============================================
- Hits          39025    24197    -14828
- Misses        11649    26485    +14836
+ Partials       2039     2031        -8

Impacted Files
Coverage Δ

...hub/ambry/cloud/azure/AzureContainerCompactor.java
0.00% <0.00%> (-15.56%)
:arrow_down:

...m/github/ambry/cloud/azure/CosmosDataAccessor.java
0.00% <0.00%> (-47.36%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaMode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/quota/QuotaName.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...rc/main/java/com/github/ambry/rest/RestMethod.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...c/main/java/com/github/ambry/router/ByteRange.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/com/github/ambry/commons/Thresholds.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...main/java/com/github/ambry/config/QuotaConfig.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...in/java/com/github/ambry/frontend/IdConverter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...in/java/com/github/ambry/router/CryptoService.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 403 more

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 078cd8b...ccf4de5. Read the comment docs.


ModuleNotFoundError: No module named 'importlib_metadata'

I installed the extension when it first came out, and it was working, but now it gives this error when I start the webui server. What does this mean, and how do I fix it?
*** Error running install.py for extension D:\repos\stable-diffusion-webui\extensions\Stable-Diffusion-WebUI-TensorRT.
*** Command: "d:\repos\stable-diffusion-webui\venv\Scripts\python.exe" "D:\repos\stable-diffusion-webui\extensions\Stable-Diffusion-WebUI-TensorRT\install.py"
*** Error code: 1
*** stderr: Traceback (most recent call last):
***   File "D:\repos\stable-diffusion-webui\extensions\Stable-Diffusion-WebUI-TensorRT\install.py", line 2, in <module>
***     from importlib_metadata import version
*** ModuleNotFoundError: No module named 'importlib_metadata'

ChatGPT recommends changing the line from importlib_metadata import version to from importlib.metadata import version, replacing the underscore with a period?

I fixed the issue with this command:
/PATH_TO_YOUR/stable-diffusion-webui/venv/bin/python3 -m pip install importlib_metadata

Yeah, I just activated the venv and then pip install importlib_metadata and the error went away. But it looks like importlib_metadata is a library for users on Python versions lower than 3.8. If you have Python 3.8 or higher, then you shouldn't need importlib_metadata, and should use importlib.metadata instead, since it is included in the standard library in Python. Since Stable Diffusion recommends using Python 3.10.6, this line in the extension should probably be changed to importlib.metadata.


Updated the guidance on updating SharePoint Framework packages

Q
A

content fix?
yes

New article?
no

Related issues?
n/a

What's in this Pull Request?
Updated the guidance on updating SharePoint Framework packages

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/spfx/update-latest-packages.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

thx Waldek, appreciated.


Time left got saved, causing a stuck timer

Somehow, the values for 'presentation start', 'time left' etc got saved in the data.json. Must have happened while switching between edit / present mode. When values are present there, the timer does not start anymore, causing the timer to be stuck on that value forever.

This happens after start present and then starting edit.


df: Figure out how to integrate wasmer to run wasm operations

The goal here is to figure out how we might integrate wasm into dataflows. Maybe via an operation which takes the wasm in it's config.
References:

All docs on the docs website related to dataflows
https://pypi.org/project/wasmer/

@pdxjohnny Let us know how the Wasmer team can help or participate.

@pdxjohnny Let us know how the Wasmer team can help or participate.


Path naming fixes

@tcchiao @norlandrhagen @jhamman
Two fixes here in response to the most critical aspects of Issue #98 (not the optional naming convention switches):

add the grid_spec back into the paths - without it we will read the same obs dataset for every GCM which wouldn't match in grid
add the chunking_approach method back in. This ensures that the coarsened obs used at any given point is chunked in the right way. This fix will make the full_time chunked dataset to be used for model training (it isn't being made before this PR).

:+1:


fix(site-wide): performance enhancements

Overview
Overview of the changes in the PR.
Installations Needed
List out any new packages that have been added.
Desktop
VoiceDeck Initial Performance Report Desktop Home Page.pdf
VoiceDeck Initial Performance Report Desktop Report Page.pdf
After performance enhancements
VoiceDeck Final Performance Report Desktop Home Page.pdf
VoiceDeck Final Performance Report Desktop Report Page.pdf
Mobile
VoiceDeck Initial Performance Report Mobile Home Page.pdf
VoiceDeck Initial Performance Report Mobile Report Page.pdf
After performance enhancements
VoiceDeck Final Performance Report Mobile Home Page.pdf
VoiceDeck Final Performance Report Mobile Report Page.pdf
Considering adding a screenshot or screencapture of the changes.
Checks
Before making your PR, please check the following:

[x] Critical lint errors are resolved
[x] App runs locally
[x] App builds locally (run the bun run build and resolve any errors before the PR when possible)

Note: All performance testing was done in an incognito window to eliminate Chrome extensions from interfering with the results. Tests were completed on the production-built version of the project running on my local machine.


[Refactor]: factor out common functionality from cli package

Is your feature request related to a problem? Please describe.
When support for the old cli is dropped we can factor out and clean the code inside cli package.
Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Additional context
No response

Need to check if #1756 also covers this issue, and if there are additional changes needed


FPHS 687/Bridge 1394

Don't overwrite task title with the survey name, use activity.label from activity instead.

looks good


Add Self type

Add Self as the return type for many Mobject methods

However, Self is new in python 3.11 (as stated in PEP 673 is for version 3.11). So after adding Self in this PR, manim will not work with 3.10 and earlier, and will raise the following exception.
ImportError: cannot import name 'Self' from 'typing'

A workaround is to use the typing-extensions package.
For example, use the try-except statement to catch the error of from typing import Self, and use from typing_extensions import Self if it raises an ImportError. This ensures that manim will still work with version 3.7+.
In addition to this, you need to add a typing-extensions dependency.
typing-extensions ; python_version < "3.11"


eliminate interstitial screen between finishing reg. and seeing details

Don't know when this got added but this screen should just lead to the users bidder details

reference http://cl.ly/0p0K2i420L1d

Hey @katarinabatina – could I get a clarification on something? Should we skip this screen entirely (go from "Registering ..." to the "here are you deets" screen)? Or change the page from "Registering ..." to "Registration Completed", and the advance to the details screen after a delay? The reference movie has this slick animation that we don't really have time to do.

Lets have a "registration completed" confirmation but then advance to the
following screen (without requiring the user to manually advance it a step
further)
[A.] Katarina Batina
Artsy http://artsy.net/
<EMAIL_ADDRESS>            @katarinabatina <https://twitter.com/katarinabatina>

253 225 5812
On Thu, Apr 30, 2015 at 10:42 AM, Ash Furrow<EMAIL_ADDRESS>wrote:

Hey @katarinabatina https://github.com/katarinabatina – could I get a
clarification on something? Should we skip this screen entirely (go from
"Registering ..." to the "here are you deets" screen)? Or change the page
from "Registering ..." to "Registration Completed", and the advance to the
details screen after a delay? The reference movie has this slick animation
that we don't really have time to do.
—
Reply to this email directly or view it on GitHub
https://github.com/artsy/eidolon/issues/437#issuecomment-97824285.

OK cool. One second sound reasonable?

yup
[A.] Katarina Batina
Artsy http://artsy.net/
<EMAIL_ADDRESS>            @katarinabatina <https://twitter.com/katarinabatina>

253 225 5812
On Thu, Apr 30, 2015 at 10:55 AM, Ash Furrow<EMAIL_ADDRESS>wrote:

OK cool. One second sound reasonable?
—
Reply to this email directly or view it on GitHub
https://github.com/artsy/eidolon/issues/437#issuecomment-97827731.


useQuery wrapper calls API twice

I'm not sure if anyone else is experiencing this issue, but I have tried several solution and nothing works. It seems as if the useQuery wrapper makes two calls over the network. This issue is NOT present when using react-query's native useQuery hook and calling the api with the ts-rest regular client as the queryFn.
Here's what I'm seeing

export const api = initQueryClient(contract, {
 baseUrl: `${process.env.NEXT_PUBLIC_AUTH_API_URL}`,
 jsonQuery: true,
 baseHeaders: {},
 credentials: 'include',

 //  This makes two calls
   const { data, isInitialLoading } = api.application.findMany.useQuery(QUERY_KEY, {
   query: { take: 100 },
 });

// This one makes a single call
 const { data, isInitialLoading } = useQuery({
   queryKey: QUERY_KEY,
   queryFn: async () => {
     const res = await api.application.findMany.query({ query: { take: 100 } });
     return res.status === 200 ? res : null;
   },
 });
});

perhaps this is caused by react strict mode on development? https://react.dev/reference/react/StrictMode#fixing-bugs-found-by-double-rendering-in-development

You are right @danielpza . The issue was strict mode. I'm using NextJs and turning it off got rid of the problem. However, doing so is not recommended. I'm not sure why this happens with the ts-rest wrapper and not when using react-query's native useQuery? Any thoughts?

@pedropmedina
maybe this can help to explain it
https://github.com/facebook/react/issues/24502#issuecomment-1120856043

I get what React is doing with strict mode @kurdin. I just don't understand why the ts-rest wrapper around react-query's userQuery is causing double fetching when this issue was already addressed by react-query's useQuery itself. In order words, using native useQuery triggers a single request while ts-rest's implementation triggers two. I think there's something in that helper that must be improved to avoid this behavior. At the end of the day, aren't we just calling native useQuery under the hood?

You right @pedropmedina. I'll try to use ts-rest with react query to investigate this behaviour.

@pedropmedina given the comments on this, https://github.com/TanStack/query/issues/3492
do you see if the first request is aborted or not?

That's what I was expecting @michaelangelo-io, however both request go through the network successfully as shown in the image above ^. The weird thing is that this only happens when using ts-rest wrapper. Native useQuery works as expected.

@pedropmedina @kurdin  Hi, there. I am happy to have a look if you can provide a minimal repo for to reproduce the behaviour.


Better handling of data blobs

Currently the data-preview pane does not appropriately display blob data. We should discuss a better preview than just displaying null for non-json data.

Initially implemented in https://github.com/hyperledger/firefly-ui/pull/94


Test CausalRCA

The test is running in this branch
https://github.com/phamquiluan/RCAEval/tree/fix/26


Add states data to the package

Add states information to the package.

States data is added to the package.


sync: correctly detect payment by refund tx ID

Fixes #364

@dangeross the swap is not found in that branch because it's checking for Pending Swaps and the case this PR covers is when the refund tx is confirmed (i.e. the swap is not Pending anymore).

even if it does go into the non-swap payments branch, don't we create payment before calling emit_payment_updated(), so it should find the payment?

If it goes in the non-swap payments branch, the reason it doesn't find the payment is that payments_before_sync indexes payments by tx_id, which is the lockup or claim tx, but we're now processing a refund tx ID. This is also the crux of the fix in the PR, namely we expand payments_before_sync to also index the payments by refund tx ID.

so it just stops emit_payment_updated() being called repeatedly.

Correct.

I still wonder why the payment is not found in emit_payment_updated() though, if we are adding a payment for the refund tx id

Well, technically we're not adding a Payment for the refund_tx_id, we're just indexing the refunded Payment by refund_tx_id in the local cache payments_before_sync. So in sync_payments_with_chain_data, the same Payment is findable by both tx_id (lockup or claim) and by refund_tx_id in the local cache.
The reason persister.get_payment doesn't find it inside emit_payment_updated is that this lookup is done on the DB, in the payment query result (select_payment_query). That query only returns the Payment once and persister.get_payment looks it up by tx_id, so it won't find it.
Fortunately, we don't need it to find it, as we're using the local index to retrieve it by refund_tx_id.


Fixes gh-2125

Updated okhttp3 from v3.6.0 to v3.8.1
(Resubmitting https://github.com/spring-cloud/spring-cloud-netflix/pull/2170)

Codecov Report

Merging #2177 into 1.3.x will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##            1.3.x    #2177      +/-   ##
==========================================
+ Coverage   76.25%   76.28%   +0.03%
==========================================
  Files         215      215
  Lines        6396     6396
  Branches      799      799
==========================================
+ Hits         4877     4879       +2
+ Misses       1177     1175       -2
  Partials      342      342

Impacted Files
Coverage Δ

...a/server/EurekaServerInitializerConfiguration.java
79.31% <0%> (+6.89%)
: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 1d6b47c...099c902. Read the comment docs.


EnhanceTubesUsingDiscriminantAnalysis CLI fails with --loadDiscriminantInfo

When using EnhanceTubesUsingDiscriminantAnalysis with the --loadDiscriminantInfoparameter, it will return the following output :
"NO IMAGEIO WAS FOUND, only images of dimension 2 or 3 allowed !"
When debugging, it appears that the CLI stops in the itktubePDFSegmenterBase.hxx file at line 411 when calling the GetClassProbability() function. See [1].
This is calling the derived class method but it will just exit the CLI and report :   "NO IMAGEIO WAS FOUND, only images of dimension 2 or 3 allowed !"
When debugging using a Parzen PDF Segmenter, it will segfault here [2], trying to access m_HistogramBinMin[0].

@aylward  I updated the issue, it appears to fail when accessing m_HistogramBinMin[i].
But the training part is working again, we can use the CLI with the --saveDiscriminantInfo.
I'll keep digging into the problem.

Cool!
I am working on it too.   About to commit a fix better than simply
commenting out those lines :)
s
On Tue, Apr 5, 2016 at 5:22 PM, Lucas Gandel<EMAIL_ADDRESS>wrote:

@aylward https://github.com/aylward I updated the issue, it appears to
fail when accessing m_HistogramBinMin[i].
But the training part is working again, we can use the CLI with the
--saveDiscriminantInfo.
I'll keep digging into the problem.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/KitwareMedical/TubeTK/issues/665#issuecomment-205988283

--
Stephen R. Aylward, Ph.D.
Senior Director of Operations, North Carolina, Kitware, Inc.
http://www.kitware.com and http://www.aylward.org
(919) 969-6990 x300


allow for both HTTPS and HTTP protocol

currently getting HTTPS errors with this library.

A bit late, but thanks a lot for your contribution!


Copy result file without encode

HI
I like to copy the result file without encode using ffmpeg, please help
Regards
Senthuran

Hey,
You don't have to use encode, just configure your job to use a single post-render action for copying.
That's it :)
Cheers!

Hi
Thank you so much for your reply.
it's working :)
Regards
Senthuran


Image Cache by ID

I was wondering if it could be implemented if there's not something already in place a value to be passed to identify the images. So instead of knowing wether to cache an image or not by the uri. by a provided id.
The use case is the following.
I ask my server to generate a uri for me and the server get's back with a uri that can be used for 60s.
Then I use this uri to retrieve the image from a 3rd party service (In this case s3) so I don't have to deal with the image on server side. Drawback. My image uri is not always the same.

I faced this issue.
I created an index between the s3 key and the generated URI used with fast image (I used redux at this time)
instead pf regenerating the S3 signed URL from the key, I check in redux if I already have un url
But now I move to Cloudfront in order distribute my media from S3

Agree this would be a nice feature... I'm using Cloudfront and yes my file URLs will change periodically but the key to the file will always remain the same. Hence a need to cache files based on a key rather than a full URL.

@Alw3ys @batical  FYI I've created https://github.com/DylanVann/react-native-fast-image/pull/934 which may suite your need

Wow, awesome! @paulrostorp! Thanks for your contribution! Hope it gets merged soon! and thanks for taking the time to share here :)

@Alw3ys I've also published it to npm as react-native-fast-image-with-url-params-ignore


Reduce python version constraint

Since the library doesn't use any python3.7 specific features, add support for python3.6 as well?

Hi @creatorrr, Sorry for the late response, I'll add support for python 3.6 as well. I'm planning to shift this library to torch now to improve the model performance and also considering people might want GPU support in future.

Thanks @bhavimalik - that would be awesome.


added if-follow-package.d.ts for resolving type issue

added if-follow-package.d.ts for resolving type issue

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 67.27%. Comparing base (9031b3c) to head (350b77e).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #264   +/-   ##
=======================================
  Coverage   67.27%   67.27%
=======================================
  Files           6        6
  Lines         110      110
  Branches       11       11
=======================================
  Hits           74       74
  Misses         28       28
  Partials        8        8

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Mouse Slot should be removed [Obsolete - 1.0]

Mouse/Swap slot still exists in 1.0 and is fully functional.