Jupyter Notebook theme when using ssh

Bug: Notebook Editor, Interactive Window, Editor cells

When using jupyter notebook in ssh mode, the theme of jupyter notebook is not same as VS Code's theme.
Actual behavior

Expected behavior

Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running:                       Local | Remote | N/A
Extension version: 20YY.MM.#####-xxx
VS Code version:                                #.##
Setting python.jediEnabled:               true | false
Python and/or Anaconda version:     #.#.#
OS:                                                     Windows | Mac | Linux (distro):
Virtual environment:                          conda | venv | virtualenv | N/A | ...

Developer Tools Console Output

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer

did this feature added into the up to date version? I am thinking about swap to Jupyter Lab..

This is still a limitation. We are waiting on VS code to give us access to themes from a remote extension.

@rchiodo Would it be possible to have the theme as a setting in the python extension. I know it seems kind of silly to have to set the same theme twice, but it would get around the unexpected visual mismatch :)

Having the setting doesn't solve the root cause of the problem. We know what theme is picked, we just can't find the theme json data.
In the %USERPROFILE%\.vscode\extensions (on windows) is where theme extensions are installed. In the remote SSH case, our extension is not installed there, but on the remote machine. We need access to this folder in order to find the theme json contents. There's is currently no way for an extension to read this directory.

@rchiodo Thanks! I tried copying the extension data from %USERPROFILE%\.vscode\extensions to the ~/.vscode/extensions on the remote host. For the first 3 seconds everything was fine, but then it switched to the default light theme.

This is still a limitation. We are waiting on VS code to give us access to themes from a remote extension.

Would it be possible to also install the theme on the remote machine?

Yes that might work. We look next to the extension for the theme, so if the extension is installed remotely, it should find the theme if you install it remotely.
However I believe there are UI vs Remote extensions. The theme may not end up on the remote machine even if you install it there.

I installed a secondary theme on my local machine, copied its folder to the remote host, and deleted the first copy of the theme extension from my end. This leaves the extension theme on the remote host only, with my main theme installed locally.
Every time I go onto a remote server with ssh I'll have to switch to the other theme. The same theme can't be used since the local copy would override the remote copy automatically :\

I can confirm this bug with the Remote - WSL extension, too. Copying the theme extensions into ~/.vscode_server/extensions does not work. Is there maybe another way to hack this?

For anybody coming here through Google: There is a beautiful new themed native notebook interface that works with SSH remote! It's in the latest insiders VS Code (at least 1.49.0) and insiders python (v2020.9.104154-dev). Right click on a notebook and select "Open in preview Notebook Editor"

If it is still a limitation, would it be possible to provide more themes on the remote machine without limitation? (eg. One Dark Pro) The default dark and light themes are really awful.

@yyNoBug you can use vscode insider or code-server . They provide many themes

For anybody coming here through Google: There is a beautiful new themed native notebook interface that works with SSH remote! It's in the latest insiders VS Code (at least 1.49.0) and insiders python (v2020.9.104154-dev). Right click on a notebook and select "Open in preview Notebook Editor"

Hello, but I can't find the variable viewer in the Insight version. Do you know where to view the variable? "show variables active in jupyter kernel"

@xlilium It's sadly not there yet (I'm currently working on it :)). There are some features of the preview editor that are not fully matched up with the old webview based editor. Our short-term goal is to fill in these missing areas in the next few releases before moving this new notebook interface out of preview.


Grid visualizations

@stuhlmueller
What you guys saw this morning, but I've added a light grey grid and basic labeling.

Looks good. Two minor comments:

It probably make sense to standardize all our code on either spaces or tabs, otherwise diffs will be harder to read. I'd go with two spaces.
If you're using lodash (or underscore), add it to package.json (npm install --save lodash) and require it in your file.

Yup, sounds good.

Are you planning to add commits to viz so that the PR gets updated, or should we merge this now and you'll make the changes later?

I was planning to make the changes first.
On Thu, Feb 4, 2016 at 11:11 AM Andreas Stuhlmüller <
<EMAIL_ADDRESS>wrote:

Are you planning to add commits to viz so that the PR gets updated, or
should we merge this now and you'll make the changes later?
—
Reply to this email directly or view it on GitHub
https://github.com/agentmodels/webppl-gridworld/pull/3#issuecomment-180006478
.


BUG - Weird Category Picker behaviour on initial app run when there is no category

Describe the bug

When used launches the app first time and navigates to the add tweet URL page, the picker picks the category, and renders a weird circle when tapped.

To Reproduce
Steps to reproduce the behavior:

Go to the 'Add Tweet URL' page after clean install
Click on the 'Category' right part of it
See error

Expected behavior

My assumption is this should be handled by showing a create category flow trigger from here and selecting the created category

Screenshots

Device Info (please complete the following information):

Device: [iPhone14 Pro Simulator]
OS: [iOS 16.1]
App Version [e.g. v1.1]

@DominatorVbN I haven't seen this before!
What iOS version are you running?

I used iPhone 14 Pro Simulator from XCode 14.1.0 beta with iOS 16.1 beta

If you run this on not a beta software, do you see the same behavior?
Next time when creating a bug report please do not delete this info from the template:
Device Info (please complete the following information):

Device: [e.g. iPhone14]
OS: [e.g. iOS 16.0]
App Version [e.g. v1.5]


create ATM demo using react-view-models

Recreate this JSBin / Demo http://canjs.com/doc/guides/atm.html
But use react-view-models

This will be drastically improved by #19 and #18 so I am prioritizing them first

Is this somewhere I can look at?

I just closed it because it didn't seem like the right demo to do, as the canjs version is just a big template and most of the logic goes in the template.
I was just going to try and ask everyone/think of what would demo better

hmmm, yeah, it should be showing off the sort of federated state that view models provide, I think it's a great example, especially with the new resolver stuff.


Splashscreen on iOS cannot be tested in Simulators

Type of issue
Typo
Description
The splashscreen on iOS doesn't work on simulators and needs to be signed to be seen. User will require phycasl device to test.
Can a note for this be added?
Page URL
https://learn.microsoft.com/en-us/dotnet/maui/user-interface/images/splashscreen?view=net-maui-8.0&tabs=android
Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/user-interface/images/splashscreen.md
Document Version Independent Id
44323c6e-d65c-b254-ee3c-cd9415bdf3bc
Article author
@davidbritch
Metadata

ID: 44323c6e-d65c-b254-ee3c-cd9415bdf3bc
Service: dotnet-mobile
Sub-service: dotnet-maui

HomeHistory.pdf


Rename MessageInfo::sent_funds to MessageInfo::funds.

This affects the JSON we send in MessageInfo. Update the types to force wasmd to adapt

This was already done in https://github.com/CosmWasm/wasmvm/blob/0.14-dev/types/env.go


Surface STDOUT/STDERR from child processes

This passes along stdio: 'inherit' to all instances where child_process.execSync is called, so all STDOUT and STDERR from the child process is displayed.
Without this, the only feedback given, e.g. when a script fails, is Error: Command failed: yarn preyalcpublish.

ok, thanks!


DBFlow 3.1.1 version issue

Error:(48, 0) Could not find method apt() for arguments [com.github.Raizlabs.DBFlow:dbflow-processor:3.1.1] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Open File

apt "com.github.Raizlabs.DBFlow:dbflow-processor:3.1.1"
compile "com.github.Raizlabs.DBFlow:dbflow-core:3.1.1"
compile "com.github.Raizlabs.DBFlow:dbflow:3.1.1"
compile "com.github.Raizlabs.DBFlow:dbflow-sqlcipher:3.1.1@aar"
compile "net.zetetic:android-database-sqlcipher:3.5.1"

Please help me, I cant run a project because of this error I dont know.

This is the one I tried https://github.com/ukanth/afwall

It seems that your gradle does not know about the Annotation Processor (apt).
Have a look at the readme at the point Including in your project

We need to include the apt plugin in our classpath to enable Annotation Processing

please follow the easy including in your project steps


Update dependencies for vulnerabilities in client-go as well

While here, update to golang.org/x/text v0.3.5 which came out since.
Follow up to commit 9c4236e616b806155c5cb073ed4925d5b15d15aa
Author: Stu Gott<EMAIL_ADDRESS>Date:   Wed Dec 16 17:39:34 2020 -0500
Update versions of some dependencies

This PR addresses known CVEs by upgrading the affected dependencies to
more recent versions.

CVE-2020-9283  -- February 20, 2020
CVE-2020-14040 -- June 16, 2020
CVE-2020-15586 -- July 13, 2020
CVE-2020-16845 -- August 5, 2020

Release note:

Update kubevirt client-go to not depend on Go modules with known vulnerabilities

obsolete - the commit that caused the conflict also updated dependencies, and it looks like by now we are as up to date as necessary.


New trace UI

[ ] proto page should like the image below.
[ ] use JSON as a input. JSON contains a tree data structure which can define parent-child relation, every node on it has duration.

json should like this, could add as many childs as your want.

{
    "operationName": "/uri/transaction/serviceA",
    "startTime": 0,
    "duration": 1000,
    "childs": [
        {
            "operationName": "FunctionA",
            "startTime": 100,
            "duration": 700,
            "childs": []
        },
        {
            "operationName": "FunctionB",
            "startTime": 9500,
            "duration": 50,
            "childs": []
        }
    ]
}

@TastySummer

@TastySummer  , this is a new json format:
[
  {
    "operationName": "client transaction from start to end",
    "startTime": 0,
    "duration": 1000,
    "levelId": "0",
    "parentLevelId": "-1"
  },
  {
    "operationName": "load balancer transaction from start to end",
    "startTime": 50,
    "duration": 900,
    "levelId": "0.0",
    "parentLevelId": "0"
  },
  {
    "operationName": "auth",
    "startTime": 60,
    "duration": 50,
    "levelId": "0.0.0",
    "parentLevelId": "0.0"
  },
  {
    "operationName": "billing",
    "startTime": 110,
    "duration": 50,
    "levelId": "0.0.1",
    "parentLevelId": "0.0"
  },
  {
    "operationName": "resource allocation and provisioning",
    "startTime": 160,
    "duration": 700,
    "levelId": "0.0.2",
    "parentLevelId": "0.0"
  },
  {
    "operationName": "container start up",
    "startTime": 400,
    "duration": 350,
    "levelId": "<IP_ADDRESS>",
    "parentLevelId": "0.0.2"
  },
  {
    "operationName": "storage allocation",
    "startTime": 410,
    "duration": 200,
    "levelId": "<IP_ADDRESS>.0",
    "parentLevelId": "<IP_ADDRESS>"
  },
  {
    "operationName": "start-up scripts",
    "startTime": 610,
    "duration": 20,
    "levelId": "<IP_ADDRESS>",
    "parentLevelId": "0.0.2"
  }
]

levelId is the node identifier ( unique ) in the graph
parentLevelId is parent node id of this node. should have a vertical line, link to the parent node
the sequence of the json array, is the flow sequence of the graph

第二种格式可以 @wu-sheng

[
  {
    "operationName": "client transaction from start to end",
    "startTime": 0,
    "duration": 1000,
    "levelId": "0",
    "parentLevelId": "-1"
  },
  {
    "operationName": "load balancer transaction from start to end",
    "startTime": 50,
    "duration": 900,
    "levelId": "0.0",
    "parentLevelId": "0"
  }
  ...
]

@ascrutae , use the second format json ^^^ in ui page.

👌

因为点击各节点会弹出模态框，所以json数据格式稍微有点变动

业务字段部分为一行，不要换行，如果需要换行用“\n”表示。

模态框雏形

This whole UI will be provided in version 2.1-2017. On the next iteration.

Closing

As 3.0 comes, this new UI is back. Here are the color resources.

The UI has moved to sky-walking-ui. The issue stays because it existed long time ago.

see mater


Fix DBusSystemDialog when path contains spaces

What does the pull request do?
Fixes the DBusSystemDialog when the path contains spaces.
What is the current behavior?
When using the DBus system dialog, the portal returns an encoded URI as the path, e.g. "New%20Folder".
Non-existent directories are filtered out by checking with Directory.Exists(), though since the undecoded path is passed in, the method returns false for directories with spaces, even though they do exist.
For files, at least the example in the ControlCatalog crashes since it expects (rightfully so) an decoded path.
What is the updated/expected behavior with this PR?
Decode the path to not crash/not filter out valid directories.
How was the solution implemented (if it's not obvious)?
Use Uri.LocalPath, which decodes the path, instead of Uri.AbsolutePath.
Note: LocalPath returns an absolute path, even though the name suggests otherwise.
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes
None
Obsoletions / Deprecations
None
Fixed issues

You can test this PR using the following package version. 11.0.999-cibuild0023573-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]


How can I enable the sound?

When I scanned something I want to hear the sound beep. Thank you :)

Hello @dahiandrea
If you want sound to be played after the scanning process ends:
intent.putExtra(Pdf417ScanActivity.EXTRAS_BEEP_RESOURCE, R.raw.beep);
Or you can optionally put here the resource ID of your sound file.
Regards


docs: Add missing backticks.

Thanks!
@bors r+

:pushpin: Commit 53a54c7134e32c532adcc93b76fa12ce95359ae4 has been approved by cuviper
It is now in the queue for this repository.

:hourglass: Testing commit 53a54c7134e32c532adcc93b76fa12ce95359ae4 with merge 23f1de1c1446d161e894f71b259caaf0cde7f00c...

:sunny: Test successful - checks-actions
Approved by: cuviper
Pushing 23f1de1c1446d161e894f71b259caaf0cde7f00c to master...


Pruning Fail

Hi,
I was trying to test LevelPruner on my network. I used sparsity of 0.8. The pruning has no bug but I found the returning mask has 1 for all the values. Apparently it is not pruning. I am wondering what happened.

Hi @rongzixuan789 ,
Would you please paste your network and pruning code? if will be helpful for us to check what happened.

Hi,
Before I posted the code, I am wondering if nni works in google colab. I have installed nni using pip in google colab and run the code without reporting error. But it is not pruning. If it is the problem of using server, I may try the code locally.

Hi @rongzixuan789,
Yes it can run on colab, I just wrote a simple example on colab you can check it:
https://colab.research.google.com/drive/1ger68Upwyw_-b3X24phx1tBmneNtCgCs#scrollTo=UFypPjPnhvBf

Hi @chicm-ms
Thank you for your reply. I think the pruner needs to work in the way that the weights and bias are transferred to the prunermodulewrapper after the model is compressed.
As I have tried to assign the parameters before I compress the model, I got the following.
https://colab.research.google.com/drive/18KD2kR1MdcArgGUyoYqyzl3ZP_hhVDSn
Let's say I have a pretrained and uncompressed model in pth file. When should I load the parameters into the pruner and how should I do it? Thank you


Worker crashes upon restart due to broken linked list

The worker crashed upon restart due to Linkedlist is broken in function verify_pdex_account_read_proofs(..).
This happens in the following scenario:

start node
start worker
register main account //Alice with bin/substratee-client register-account //Alice (currently only available on branch  ocex-client-calls)
restart worker

This crash is caused due to account.account.prev != last_account.
@Gauthamastro @ksr30 before I look into it, do you perhaps have any input on what goes wrong there?

It's a bug, https://github.com/Polkadex-Substrate/polkadexTEE-worker/blob/develop/enclave/src/polkadex.rs#L50
L50 is a wrong statement I believe, it should be like
if account.account.next.is_some() {
         last_account = account.account.current.clone().unwrap();
} else {

break;
}

@haerdib should we cloase it? ... I think its done

Hm. I just added your commit to the openfinex feature branch to be able to test the openfinex server. But it's not yet on the develop branch. Could you do a PR from your bug fix branch? the openfinex branch is not yet ready for a PR.

Or we can just leave it open and close it with the PR from the openfinex branch. That's also works.

No problem @haerdib ... I will raise new PR.

Closed with #95


[feature] #3964: application/x-parity-scale response for /status …

Description
New features:

GET /status accepts application/x-parity-scale content type and responds accordingly
GET /status/<field> now accepts nested paths, e.g. /status/uptime/secs

Breaking changes:

GET /status/<field> used to be forgiving for path-not-found and serialization errors. Now it returns 400 and 500 errors accordingly.

Linked issue
Closes #3964
Benefits
JavaScript SDK can use /status endpoint without hacks around JSON parsing.
Checklist

[ ] Open a PR into documentation
[x] Manually check the behaviour of /status endpoint

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

50 of 89 (56.18%)  changed or added relevant lines in 3 files are covered.
6375 unchanged lines in 107 files lost coverage.
Overall coverage decreased (-3.4%) to 56.048%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cli/src/torii/mod.rs
0
1
0.0%

cli/src/torii/routing.rs
0
38
0.0%

Files with Coverage Reduction
New Missed Lines
%

cli/src/main.rs
1
0.0%

cli/src/torii/pagination.rs
1
98.9%

config/src/torii.rs
1
96.43%

core/src/smartcontracts/isi/block.rs
1
87.5%

crypto/src/merkle.rs
1
96.23%

logger/src/lib.rs
1
95.15%

config/src/lib.rs
2
0.0%

logger/src/layer.rs
2
48.05%

cli/src/samples.rs
3
0.0%

data_model/derive/src/has_origin.rs
3
95.16%

Totals

Change from base Build<PHONE_NUMBER>:
-3.4%

Covered Lines:
21982

Relevant Lines:
39220

💛  - Coveralls


Where i can change my DEFAULT THEME to DARK THEME?

Sorry guys.. i not find in code... the CONST where i can change my default theme...
Could u help me please?
Thanks

Hello @phantoxe.
Actually to change theme you have to call RkTheme.setTheme() and pass your new theme.
It's described here https://akveo.github.io/react-native-ui-kitten/#/docs/quick-start/theme

Closing this due to no response.


AssertionError on calling run_simulations(dmaps) 01-Ray-Tasks.ipynb

I get an AssertionError when calling run_simulations(dmaps) in the 01-Ray-Tasks.ipynb:
I am running locally from a conda env (followed exactly the Setup section of the README). The simulation seems to run though unaffected by the exception...
Here is the output of the traceback including a related warnings:
WARNING:param.dynamic_operation: Callable raised "AssertionError('New option id<PHONE_NUMBER>928858 does not match any option trees in Store.custom_options.')".
Invoked as dynamic_operation(counter=0)
WARNING:param.dynamic_operation: Callable raised "AssertionError('New option id<PHONE_NUMBER>928858 does not match any option trees in Store.custom_options.')".
Invoked as dynamic_operation(counter=0)
Traceback (most recent call last):
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/plotting/util.py", line 275, in get_plot_frame
    return map_obj[key]
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/spaces.py", line 1341, in __getitem__
    val = self._execute_callback(*tuple_key)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/spaces.py", line 1110, in _execute_callback
    retval = self.callback(*args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/spaces.py", line 714, in __call__
    ret = self.callable(*args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/util/__init__.py", line 1042, in dynamic_operation
    key, obj = resolve(key, kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/util/__init__.py", line 1031, in resolve
    return key, map_obj[key]
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/spaces.py", line 1341, in __getitem__
    val = self._execute_callback(*tuple_key)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/spaces.py", line 1110, in _execute_callback
    retval = self.callback(*args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/spaces.py", line 714, in __call__
    ret = self.callable(*args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/util/__init__.py", line 1043, in dynamic_operation
    return apply(obj, *key, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/util/__init__.py", line 1035, in apply
    processed = self._process(element, key, kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/util/__init__.py", line 1019, in _process
    return self.p.operation(element, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/accessors.py", line 625, in <lambda>
    dmap = Dynamic(obj, operation=lambda obj, **dynkwargs: obj.opts(*args, **kwargs),
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/accessors.py", line 37, in pipelined_call
    return __call__(*args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/accessors.py", line 573, in __call__
    return self._dispatch_opts( *args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/accessors.py", line 577, in _dispatch_opts
    return self._base_opts(*args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/accessors.py", line 656, in _base_opts
    return self._obj.options(*new_args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/dimension.py", line 1307, in options
    obj = obj.opts._dispatch_opts(expanded, backend=backend, clone=clone)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/accessors.py", line 577, in _dispatch_opts
    return self._base_opts(*args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/accessors.py", line 653, in _base_opts
    return opts.apply_groups(self._obj, **dict(kwargs, **new_kwargs))
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/util/__init__.py", line 244, in apply_groups
    obj = cls._apply_groups_to_backend(obj, backend_opts, backend, clone)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/util/__init__.py", line 169, in _apply_groups_to_backend
    return StoreOptions.set_options(obj_handle, options, backend=backend)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/options.py", line 1843, in set_options
    applied = cls.propagate_ids(obj, match_id, new_id, compositor_applied+list(spec.keys()), backend=backend)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/options.py", line 1511, in propagate_ids
    % new_id)
AssertionError: New option id<PHONE_NUMBER>928858 does not match any option trees in Store.custom_options.

WARNING:param.dynamic_operation: Callable raised "AssertionError('New option id<PHONE_NUMBER>735367693583064832671926448157 does not match any option trees in Store.custom_options.')".
Invoked as dynamic_operation(counter=0)
WARNING:param.dynamic_operation: Callable raised "AssertionError('New option id<PHONE_NUMBER>735367693583064832671926448157 does not match any option trees in Store.custom_options.')".
Invoked as dynamic_operation(counter=0)
Traceback (most recent call last):
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/plotting/util.py", line 275, in get_plot_frame
    return map_obj[key]
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/spaces.py", line 1341, in __getitem__
    val = self._execute_callback(*tuple_key)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/spaces.py", line 1110, in _execute_callback
    retval = self.callback(*args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/spaces.py", line 714, in __call__
    ret = self.callable(*args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/util/__init__.py", line 1042, in dynamic_operation
    key, obj = resolve(key, kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/util/__init__.py", line 1031, in resolve
    return key, map_obj[key]
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/spaces.py", line 1341, in __getitem__
    val = self._execute_callback(*tuple_key)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/spaces.py", line 1110, in _execute_callback
    retval = self.callback(*args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/spaces.py", line 714, in __call__
    ret = self.callable(*args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/util/__init__.py", line 1043, in dynamic_operation
    return apply(obj, *key, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/util/__init__.py", line 1035, in apply
    processed = self._process(element, key, kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/util/__init__.py", line 1019, in _process
    return self.p.operation(element, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/accessors.py", line 625, in <lambda>
    dmap = Dynamic(obj, operation=lambda obj, **dynkwargs: obj.opts(*args, **kwargs),
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/accessors.py", line 37, in pipelined_call
    return __call__(*args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/accessors.py", line 573, in __call__
    return self._dispatch_opts( *args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/accessors.py", line 577, in _dispatch_opts
    return self._base_opts(*args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/accessors.py", line 656, in _base_opts
    return self._obj.options(*new_args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/dimension.py", line 1307, in options
    obj = obj.opts._dispatch_opts(expanded, backend=backend, clone=clone)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/accessors.py", line 577, in _dispatch_opts
    return self._base_opts(*args, **kwargs)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/accessors.py", line 653, in _base_opts
    return opts.apply_groups(self._obj, **dict(kwargs, **new_kwargs))
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/util/__init__.py", line 244, in apply_groups
    obj = cls._apply_groups_to_backend(obj, backend_opts, backend, clone)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/util/__init__.py", line 169, in _apply_groups_to_backend
    return StoreOptions.set_options(obj_handle, options, backend=backend)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/options.py", line 1843, in set_options
    applied = cls.propagate_ids(obj, match_id, new_id, compositor_applied+list(spec.keys()), backend=backend)
  File "/Users/matus/miniconda3/envs/anyscale-academy/lib/python3.7/site-packages/holoviews/core/options.py", line 1511, in propagate_ids
    % new_id)
AssertionError: New option id<PHONE_NUMBER>735367693583064832671926448157 does not match any option trees in Store.custom_options.

Hi , I have the same problem with you. But it is fixed.
You can open the enviroment.yml and change "ray[all]==0.8.7" to "ray[all]==1.2.0".
That should work.

Hi , I have the same problem with you. But it is fixed.
You can open the enviroment.yml and change "ray[all]==0.8.7" to "ray[all]==1.2.0".
That should work.

According to environment.yml the required version of ray if 1.2 or higher:
- pip:
    - ray[all] >= 1.2

And my version is:
conda list -n anyscale-academy ray
# packages in environment at /Users/matus/miniconda3/envs/anyscale-academy:
#
# Name                    Version                   Build  Channel
ray                       1.4.0                    pypi_0    pypi


Incorrect event type inferrence

Hey, I'm working on indexing a certain event where part of the data is marked as indexed and some isn't. Here's the event's ABI.
{
    anonymous: false,
    inputs: [
      {
        indexed: true,
        internalType: "address",
        name: "token0",
        type: "address",
      },
      {
        indexed: true,
        internalType: "address",
        name: "token1",
        type: "address",
      },
      { indexed: false, internalType: "bool", name: "stable", type: "bool" },
      {
        indexed: false,
        internalType: "address",
        name: "pair",
        type: "address",
      },
      { indexed: false, internalType: "uint256", name: "", type: "uint256" },
    ],
    name: "PairCreated",
    type: "event",
  },

When I look at event.args, it infers that the types will be
(property) args: readonly [`0x${string}`, `0x${string}`, boolean, `0x${string}`, bigint]

But instead, at runtime, event.args includes the following
{
  name: 'PairCreated',
  args: [ false, '0x783A3Fb9F88dF5A89fB3a5e595254Fa8f7b97b48', 7n ],
  log: {
    address: '0xc6366EFD0AF1d09171fe0EBF32c7943BB310832a',
    blockHash: '0x00029b7a00000793ea07845a2d6d1a81b016bdee433acf70e28687fde676aa52',
    blockNumber: 50805967n,
    data: '0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000783a3fb9f88df5a89fb3a5e595254fa8f7b97b480000000000000000000000000000000000000000000000000000000000000007',
    id: '0x00029b7a00000793ea07845a2d6d1a81b016bdee433acf70e28687fde676aa52-0x2',
    logIndex: 2,
    removed: false,
    topics: [
      '0xc4805696c66d7cf352fc1d6bb633ad5ee82f6cb577c453024b6e0eb8306c6fc9',
      '0x000000000000000000000000049d68029688eabf473097a2fc38ef61633a3c7a',
      '0x00000000000000000000000021be370d5312f44cb42ce377bc9b8a0cef1a4c83'
    ],
    transactionHash: '0x908abe1c16f8c62979187eb0f5b570328a2b85a8a019f2e942511d01b2372b10',
    transactionIndex: 0
  },
...
}

You can see that args are only the non-indexed args of the event, and the args marked as indexed, are part of log.topics.
Versions:
dependencies:
  '@ponder/core':
    specifier: ^0.3.9
    version: 0.3.9(@types/node@20.9.0)(typescript@5.2.2)(viem<EMAIL_ADDRESS>  '@t3-oss/env-core':
    specifier: ^0.9.2
    version: 0.9.2(typescript<EMAIL_ADDRESS>  viem:
    specifier: ^1.19.3
    version: 1.19.3(typescript<EMAIL_ADDRESS>  zod:
    specifier: ^3.22.4
    version: 3.22.4

devDependencies:
  '@types/node':
    specifier: ^20.9.0
    version: 20.9.0
  eslint:
    specifier: ^8.53.0
    version: 8.53.0
  eslint-config-ponder:
    specifier: ^0.3.9
    version: 0.3.9(@typescript-eslint/eslint-plugin@6.21.0)(@typescript-eslint/parser<EMAIL_ADDRESS>  typescript:
    specifier: ^5.2.2
    version: 5.2.2

Hi @kinsyudev, thanks for reporting. I think this might be a viem bug, reported here. As a workaround, you should be able to solve this by adding a name for the 4th parameter in the ABI item.

Thanks @0xOlias that solved it, a lot cleaner than this workaround I made....
  const [stable, pairAddress] = event.args as unknown as [
    boolean,
    `0x${string}`
  ];
  const token0 = bytes32ToAddress(event.log.topics[1] ?? "");
  const token1 = bytes32ToAddress(event.log.topics[2] ?? "");


improve crawler resiliency over proxies

when using tor, I think we're not really getting the best results (if you look at the errors, you can tell there's a bunch of SOCKS Unknown Error, or some TTLs too).
it might be wise to add some retry logic for some of these errors (or just a very permissive catch-all to try again?)

crawler has been moved out of this repo


Add Originating Identity header to requests to Service Brokers

Why
The Open Service Broker API is proposing that requests to service brokers should contain an Originating User ID as a HTTP header.
The header should have the format:
X-Broker-API-Originating-Identity: cloudfoundry <value>

where value should be Base64 encoded.
For example, a value of:
{
  "user_id": "683ea748-3092-4ff4-b656-39cacc4d5360"
}

would appear in the HTTP Header as
X-Broker-API-Originating-Identity: cloudfoundry
eyANCiAgInVzZXJfaWQiOiAiNjgzZWE3NDgtMzA5Mi00ZmY0LWI2NTYtMzljYWNjNGQ1MzYwIiwNCiAgInVzZXJfbmFtZSI6ICJqb2VAZXhhbXBsZS5jb20iDQp9

What
This PR makes a change to the service broker HTTP client, and provides that client with the necessary header. The value of the header set to the user who originated the request to the platform.
For requests where there is no originating user, such as last operation and orphan mitigation, the header is omitted.
The user's id is contained in a JSON string which is base 64 encoded.
For all cf CLI commands that can trigger calls to the service broker, we have added the appropriate broker acceptance tests:

cf create-service-broker
cf create-service
cf update-service
cf bind-service
cf delete-service
cf unbind-service
cf create-service-key
cf delete-service-key
cf bind-route-service
cf unbind-route-service

Notes

Docs will be pulled from the OpenServiceBrokerAPI when we bump the version of the spec.

PR

[X] I have viewed signed and have submitted the Contributor License Agreement
[X] I have made this pull request to the master branch
[X] I have run all the unit tests using bundle exec rake
[X] I have run CF Acceptance Tests on bosh lite

Sam, @ablease @lurraca

LGTM


Link to homepage in pypi is wrong

The "Homepage" link on https://pypi.org/project/withings-sync/ points to http://packages.python.org/an_example_pypi_project
It should probably point to this repo instead...

definitly, consider it as done


Add support for Slovak, fixes #80

Parked right under the Czech entry, since they’re really similar.
Note that I’m not 100% sure I did this right but it parsed my archive well enough to show me the statistics, so I guess it works.

Yep, looks good to me. Thanks for the PR :+1:


404 Error from Github private repo

I get a 404 error from Github when using a private repo. Am I missing something? The install form asked for my username and repository, it did not ask for a key or token. I have awarded my  Vercel account permission to access the Github repo, this did not change the 404 error.
Looking through the Hazel repository, I cannot find where my specific username and repository are declared. Are these variables stored in Vercel? Also, are these variables something I could hardcode in the /lib/server.js file?

Always, and I cannot stress this enough, read the documentation! Set the env variable TOKEN for private repos. As states in the Readme

@dlamon1 I can't figure out how to set a TOKEN for my private repo. Where should I add this in my files? or is this run via a CLI command?
Any examples would be great!

This is added inside of Vercel once you've deployed Hazel (https://vercel.com/ACCOUNT_NAME/PROJECT_NAME/settings/environment-variables)

l

Thanks @ryandunnewold ! I added both TOKEN and GH_TOKEN in the Environment Variables section on Vercel but it still does not trigger an update when one is available.
How did you manage to make auto-updating work for private repos?

@tarikhaiga here was the issue I ran into (included my fix in there) https://github.com/vercel/hazel/issues/131

I had to redeploy the app to make it read TOKEN variable

Thanks @Deliaz, redeploying worked for me 👍🏻

What's the leanest scope the token can have?


Create LICs 6-8 in CMV

There exists at least one set of N PTS consecutive data points such that at least one of the
points lies a distance greater than DIST from the line joining the first and last of these N PTS
points. If the first and last points of these N PTS are identical, then the calculated distance
to compare with DIST will be the distance from the coincident point to all other points of
the N PTS consecutive points. The condition is not met when NUMPOINTS < 3.
(3 ≤ N PTS ≤ NUMPOINTS), (0 ≤ DIST)

There exists at least one set of two data points separated by exactly K PTS consecutive intervening points that are a distance greater than the length, LENGTH1, apart. The condition
is not met when NUMPOINTS < 3.
1 ≤ K PTS ≤ (NUMPOINTS−2)

There exists at least one set of three data points separated by exactly A PTS and B PTS
consecutive intervening points, respectively, that cannot be contained within or on a circle of
radius RADIUS1. The condition is not met when NUMPOINTS < 5.
1 ≤ A PTS, 1 ≤ B PTS
A PTS+B PTS ≤ (NUMPOINTS−3)

See: #42


Updated, platform tool set to v143 (vs 2022), updated to c++20, improved code

[General]:

Updated platform tool set to v143 (vs 2022)
Updated to c++20
Added consts
Changed some NULL to nullptr when preferred
Added [[maybe_unused]] attributes where preferred

Reversekit.cpp:

Fixed bad usage of CreateThread, which could've led to race conditions, deadlocks, crashes and other unpredictable behavior

Why have so many functions been marked as inline?


kmassey created intro object

kmassey object created to add to empireConf pull request practice

Ah, common issue - the filename needs to be kylamassey.json, to match your GitHub username. Welcome to ideas about how to make that more clear!

fixed file name to reflect github USERNAME


the log is end,the gpu is not calculate,but is storing,the result is not getting,is it normal?

how to resolve it , thanks a lot.

Hi! Can you provide the full command you used?


Changes for SpecFlow .NET Core Support

To make it easier to use BoDi, I want to change it from the embedded one to the normal assembly.
So changes for .NET Standard/Core 2.0 support are needed.
This makes this PR

migrate to new project format
bring tests to work again
add strong name signing (was missing until yet)
adjust nuspec files

This is OK, As I pushed the updated master, it cannot be merged now, but I am sure this is just a minor issue. If you fix it we can merge.

I will have a look at it tomorrow.

@gasparnagy I updated the PR


[torch.compile] PostGradPassManager, Inductor code caching fix, fix_functionalization pass refactor + tests

This PR extracts the post_grad passes into PostGradPassManager. By overriding pickling of the class, we avoid failing to pickle custom passes, which is used in the code cache.
It also extracts pass config into PassConfig and adds an option to disable the reshapes pass. It adds utilities for registering custom inductor passes, and extracts fix_functionalization into a proper pass.

edge cases still:

Huh, it worked for me, maybe I didn't check the final changes

@ProExpertProg great job!


browser back button bug fixed

First thing, PLEASE READ THIS: ReactPlay Code Review Checklist

Description
fixed the bug "wrong route being highlighted when pressed the back button" as  described in issue #284.
Fixes # (#284 )
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
self tested
Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas

@atapas @koustov please check

@atapas  actually that is for github link of react-play on header. which is same or main github repo link for every project.

@atapas actually that is for github link of react-play on header. which is same or main github repo link for every project. for that we can raise separate issue.

Single line change... related to the same play! Why to create another issue.
got to your play in the play-meta.js file.. change the github link from https://github.com/reactplay/react-play/tree/main/src/plays/dynamic-routes/:menu to https://github.com/reactplay/react-play/tree/main/src/plays/dynamic-routes... and test it from the preview build.
I hope it helps.

@atapas actually that is for github link of react-play on header. which is same or main github repo link for every project. for that we can raise separate issue.

Single line change... related to the same play! Why to create another issue.
got to your play in the play-meta.js file.. change the github link from https://github.com/reactplay/react-play/tree/main/src/plays/dynamic-routes/:menu to https://github.com/reactplay/react-play/tree/main/src/plays/dynamic-routes... and test it from the preview build.
I hope it helps.

@Deepak8717 where are we on this one?

@atapas I apologize, for not being able to find any solution.

@atapas I apologize, for not being able to find any solution.

No worries @Deepak8717 , lets get on it together to find a solution.

@atapas . i request you to look into this or may be @koustov

@Deepak8717 let's do these steps

Got to play-meta.js
Navigate to your play and change path variable to /plays/dynamic-routes instead of /plays/dynamic-routes/:menu (note: path variable is something dynamically created by application, we shouldn't modify it.)
Now on DynamicRoutes.jsx read the params
If the param is empty or undefined, set the active route to breakfast
Else, set active routes to what you receive from params

This should solve your issue and will automatically fix the broken github link

@Deepak8717 let's do these steps

Got to play-meta.js

Navigate to your play and change path variable to /plays/dynamic-routes instead of /plays/dynamic-routes/:menu (note: path variable is something dynamically created by application, we shouldn't modify it.)

Now on DynamicRoutes.jsx read the params

If the param is empty or undefined, set the active route to breakfast
Else, set active routes to what you receive from params

Note: You can also set optional route params in RouteDefs.jsx This should solve your issue and will automatically fix the broken github link

@Deepak8717 you can refer this sample

@koustov thank you so much this helped me a lot. @atapas Kindly review

@koustov please check again


Is there a way to detect and remove filters on a sheet

using.asDataset
If the sheet you are processing has the autofilter enabled and (for example) only shows rows where a column is = 1.
Only rows visible in the sheet are imported into the dataset.
Is there a way to either ignore the filter and process all the rows when reading into the Dataset.

I tried to repro this by making both an xls and xlsx with autofilter, but ExcelDataReader ignores the autofilter and returns all rows.
Can you please provide a test file, possibly show your code?

I apologizes for wasting your time, you are 100% correct!  There must have been another bug in my code when I was testing this.
In my defense I assumed that this feature would be useful to some so accepted that it was there.
Thanks for taking the time to look.


Skip and Take

On all your controllers you have Skip(page).Take(pageSize);
Should it not be
.Skip((page -1) * pageSize).Take(pageSize);

Yup, my bad. I was working with some custom repositories first where pagination was supported and then I forgot to change it. I committed the fixes here.
Thanks.


Some changes in main function(destination)

Upon reviewing the main function at line 90, I observed the instantiation of a new task coordinator and the creation of task managers such as webhook within the creation function.
In my opinion, it would enhance clarity to register task managers in the main function after initializing the task coordinator, but before commencing its operation. This approach can provide a clearer understanding of the process flow.
Considering the current difficulty in comprehending the code structure, I suggest refactoring the main function for improved code readability. This adjustment is necessary as the complexity of the code makes it challenging to grasp its functionality at a glance.
@iam-benyamin
@gohossein
@PouriaSeyfi

Thank you @mohsenHa  for your suggestion.
This is considerable, but I think task managers can be very various depend on nature of coordinator.
for example destination type coordinator can have multiple task managers base on type of destination types that can be handled.
so at this level, I found that there is a complex and  maybe unique business logic to understand which task manager should be used for each coordinator.


added a compile button to footer

for issue #1  (adding spinner during compiling) and issue #21
-Team BigUhOh (RGSoC '20)

@escher-m could you add the onclick listener on the compile button to execute the compile function. Thanks!

I've called the compile function in the utils.js file. But on running it in the localhost, compiling is happening properly on using cmd+S but on using the compile button errors are shown during compiling.
What would you suggest I look into to fix this? @shashaBot @poush

These change�s do not address issue #1 as mentioned by you. Please make sure you have included those changes in the PR.

Working on this


fix(pacmak): go bad local package imports

When generating import statements within go code, if the package was a
child of the package currently being generated, the import statement
would not include the module name.
When a package is part of a module though this caused invalid imports.
So for all package import statements moduleNames are now included when
provided in the jsii config.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 5539dcf94f9d111213864d29d73c419f5f676365
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


lazily create nested enums

Reading https://devforums.apple.com/message/1101244#1101244 it makes me think that this would be the right way to create the nested enum structure lazily.
Any thoughts?

Delayed sounds like a very interesting way to do this. My initial thought had been to keep a queue of element names and then enumerate the queue when the final element was requested, but this might be a more elegant solution. I'll try to get a spike going with some of these ideas.

Have you had any time to look into this?
I just happen to have a 35MB XML file, with around 500k lines, and it is not pretty ;)
Takes about 16 seconds to parse (in Release mode on my MBP) and takes a whopping 700MB of RAM :D
Profiling shows that most of the time is (kind of obviously) spent in retain and release calls. So it would be hugely beneficial to circumvent Swifts memory management here.
Something like allocating one block of memory and using pointers to address it>
(I guess that should be another issue probably)
Of course, most people will never see these problems when working with small XML files and I could use the raw NSXMLParser. But hey, SWXMLHash is really pretty ;) (and 'Swifty')

Now that is a perfect use case for lazy parsing! :smiley:
I haven't had a chance to yet, but it is definitely on my to do list. Would it be possible to share the XML file (or perhaps a sanitized version of it) so that I can easily compare/contrast the differences in performance, etc.? If it is too big of a hassle then no worries.

Sadly I am not allowed to give out the data :(

See this gist for my current thoughts on how I think I might approach lazy loading.
Anything I'm missing with that general approach? I'm conceptually thinking of each subscript operation as a stream or path of operations and, given that, I should be able to parse only the XML elements in that stream.

I've begun work on this and have created #17 to track this work.

I think this is ready for a first iteration now - apologies on taking so long getting something going here! @tkrajacic do you think you could pull down PR #17 and see how it handles your 35MB file? Before I bring this in to master, I'd like to make sure I'm actually improving the performance :)
A few notes... I initially tried to detect when it was safe to stop parsing, but I don't think that will work with all XML fragments, so the NSXMLParser will still look through the entire document, but will only load results that match what was requested. The actual parsing doesn't get triggered until a call to all or element is made (or a call that calls them like children).

Ok, I am speechless :)
Without changing anything in my code (I am still calling just the parse function) parsing now takes only 3.2 seconds! (previously 16-20 seconds)
Memory consumption is also way down to around 200-300MB (it increases though when scrolling the table, where I present text of the nodes)
Those are just quick comparisons.
And now for the kicker:
When using your new lazy parsing, I get results almost immediately (hard to measure exactly because I fetch a few nodes and present them in a table.
And the best part, it only takes about 80MB of memory, and when scrolling the table actually never goes higher than maybe 90-100MB and immediately dropping back to 80MB when stopping scrolling.
This is brilliant!
You @drmohundro are the man!
I still can't stop grinning :D

That's awesome! Glad it works!
Quick question - are you targeting Xcode 6.3 or an earlier version? I only ask because if you're targeting an earlier version, I will just merge this into master. There are very few changes in my PR that assume Swift 1.2, so it would be easy to drop them.

I am only using Xcode 6.3 anymore.

Okay - I'll just merge into the xcode-6.3 branch then.

It's now live in the xcode-6.3 branch - I'll go ahead and close this issue. Thanks so much for your help with both the suggestion and with testing this!


prow.sh: work around "kind build node-image" failure

Kind 0.9.0 accesses the "bazel-out" directory with a relative path,
which only works when the command is invoked inside the Kubernetes
source code
directory (https://github.com/kubernetes-sigs/kind/issues/1910).

Tested in https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-csi_external-provisioner/512/pull-kubernetes-csi-external-provisioner-alpha-1-19-on-kubernetes-master/1321049239576383488

/assign @msau42

/release-note-none

/lgtm


[$500] Login - Two offline indicators in login screen

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: v1.4.44-3
Reproducible in staging?: y
Reproducible in production?: n
Reporter: Applause - Internal Team
Action Performed:

Launch New Expensify app.
Log out if logged in.
Go offline.

Expected Result:
There will be only one offline indicator.
Actual Result:
There are two offline indicators - One below email input, one at the bottom of the screen.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01c29d8f94d59d6b6e
Upwork Job ID:<PHONE_NUMBER>289456640
Last Price Increase: 2024-02-27

We think that this bug might be related to #vip-vsb
@quinthar

@marcaaron Can we clarify on where to show the indicator on large and small screens?

@marcaaron Can we clarify on where to show the indicator on large and small screens?
In Prod, its always below the form for both large and small screens FYI.
If we want to maintain the behaviour on Prod, then @gijoe0295's proposal looks good.
If however, we want to show the indicator at the bottom of the page for both large and small screens, then @dukenv0307's proposal looks good.
Lastly, if we want a mix and match of both (on large screens display the indicator at the bottom of form and on small screen display it at the bottom of the page), then @neonbhai's proposal would work well!
🎀 👀 🎀 C+ reviewed

Thanks so much for the help here. We have decided this is not urgent enough to block the deploy so let's assign it back to whoever created the regression. Which I believe would be @suneox in this case? @allroundexperts (or anyone) please kindly confirm that this PR did indeed cause the regression? 🙇

@dubielzyk-expensify makes a fair point - we could just pick one spot and use it across both mobile and desktop.

Agree with the other designers—I kinda think we should just stick with just below the button for all viewport sizes. Especially because the button is disabled. I think keeping the indicator close would be helpful/make offline status (and therefore why you can't sign in) more obvious.

Many thanks @suneox 🙇

Looks like the fix is on staging.

Payment Summary here

$500 approved for @allroundexperts


[WIP] html annotations

html annotation is back! When invoked, a single html page is created which displays the python source code of each numba jitted function called along function signature type info. Python lines that are use objects that numba can't deal with are colored red, and the first line of lifted loops are colored green. Clicking on 'show llvm' at the top of the function will toggle the display of llvm code underneath each line of python. For lifted loops, the llvm code is displayed as if it was compiled inline instead of in separate function, but it's not perfect yet (for example the final return instruction of the lifted loop function is still displayed until I figure out how to remove it without removing other return statements).
To invoke, use the numba command with the --annotate and --fancy flags:
numba --annotate --fancy example.html example.py
or set the environment variables NUMBA_DUMP_ANNOTATE=1 and NUMBA_DUMP_FANCY=example.html and run your script normally.

Note: I know it's work in progress, so I'm only posting a couple general comments.

note: this needs to remerge with master

bump for changes including switching to jinja2, embedding jquery, and code cleanup

If anyone has some time, feedback on the actual output it generates would be helpful too.

Ok, I've tried it. Some comments:

I first tried NUMBA_DUMP_FANCY=toto.html python examples/mandel.py but it didn't generate any HTML file. Then I realized I have to set NUMBA_DUMP_ANNOTATE=1 as well. Not only it's a bit inconvenient, but then it also dumps the plain text annotation on stdout, which I don't need since I'm getting a HTML file :-)

"show llvm" / "hide llvm" is a bit misleading since Numba IR is actually displayed, not LLVM IR

the block labels ("label XY") don't really stand out; in plain text mode, they get indented differently

some more styling is probably possible: for example, type annotations themselves (":: float64") could be displayed in a different color

if want to get really fancy we can start making things clickable (for example clicking on a label could highlight all jumps pointing to it; clicking on a variable name could highlight all its occurrences, etc.)

I don't know if that's the kind of feedback you waited for :)

My vote is to definitely resolve the first point (i.e. NUMBA_DUMP_FANCY=stuff.html generates the HTML without also doing the plaintext dump to the screen).  Also, can we rename that variable to NUMBA_DUMP_HTML?
Fixing the IR labels to be more accurate also makes sense.  I think for the first pass we can skip the styling changes, and pick them up in the next release.

Also, the functions aren't dumped in module order. For example, when annotating examples/mandel.py, create_fractal() is displayed before mandel().

I suspect the ordering is a side-effect of the annotation output happening incrementally at compile time.  That will clearly create a little confusion, but I think we should also defer fixing that to a followup issue if we can.

@pitrou great feedback, both for the code and the output.
The ordering of the functions became screwed up when I refactored to remove OrderedDict. This shouldn't be hard to fix though.

I think something may need to be done to escape certain characters: I just gave this a try with a piece of code containing a record type and the displayed signature looks like:
with signature: (array(Record([('x', ' pyobject

In the source, the text shows as:
with signature: (array(Record([('x', '<f8'), ('y', '<f8')]), 1d, C),) -> pyobject

but it seems that <f8'), ('y', '<f8')]), 1d, C),) -> is interpreted as an HTML tag. Similar things appear to happen with modules in the displayed IR, e.g with <module 'numpy' from '/home/gmarkall/.conda/envs/blaze_test/lib/python3.4/site-packages/numpy/__init__.py'> being invisible in the browser too.

Once this gets updated to master, are we ready to merge this?


Admins for other O365 Services

When will PIM be able to manage the other admin roles listed at https://docs.microsoft.com/en-us/office365/admin/add-users/about-admin-roles?view=o365-worldwide

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

ID: bf1a1d2f-6f7f-e7e3-2c3e-e658e7179877
Version Independent ID: 77f0313f-4513-2434-3ac6-dea428f57f40
Content: Azure AD directory roles you can manage in PIM
Content Source: articles/active-directory/privileged-identity-management/pim-roles.md
Service: active-directory
GitHub Login: @rolyon
Microsoft Alias: rolyon

@DeanGross Roles which are not represented in Azure AD cannot be supported by PIM. PIM team is working to make sure all the possible roles are added.  Can you let me know the specific role you are looking for ? This will help us in providing direct feedback to the appropriate team and get relevant timelines.

@DeanGross I am checking in to see if the above answer was helpful. Let me know if you have any other questions.

@DeanGross We have not heard from you in a while.We will now proceed to close this thread. If you have further questions, please tag me in the comments and I will gladly continue the conversation.

Sorry, I missed the responses. I was specifically thinking of the new Teams Admin roles


Add a clap-powered tool to hand-author manifests

From the manifest_editors.rs draft example:
//! Modifying manifest files by hand can be error-prone, especially as the complexity of the manifest grows.
//! Instead, you should consider building tooling to help you manage your manifests and allow game designers to work with them more easily.
//!
//! The core pattern, demonstrated here, is quite simple!
//!
//! 1. Load the manifest file into memory, converting it from a raw manifest to its final manifest form.
//! 2. Modify the manifest in memory, using GUI or command-line tools. Reflection is very useful here!
//! 3. Save the manifest back to disk, converting it from its final manifest form back to a raw manifest.
//!
//! Validation is also important, and can and should be performed at each step of the process.


Travis failed when building the doc

Travis cannot install pandoc for building the documentation.
Here the log:
$ if [[ $SETUP == 'doc' ]]; then ./doc/source/install_pandoc.sh; fi
Config file path source is default config file.
Config file /home/travis/.cabal/config not found.
Writing default configuration to /home/travis/.cabal/config
Downloading the latest package list from hackage.haskell.org
Resolving dependencies...
cabal: Could not resolve dependencies:
next goal: pandoc (user goal)
rejecting: pandoc-<IP_ADDRESS>, <IP_ADDRESS>, 1.16, <IP_ADDRESS>, 1.15.2 (global
constraint requires ==<IP_ADDRESS>)
trying: pandoc-<IP_ADDRESS>
trying: pandoc-<IP_ADDRESS>:+https
trying: http-client-tls-0.2.2 (dependency of pandoc-<IP_ADDRESS>:+https)
trying: tls-1.3.4 (dependency of http-client-tls-0.2.2)
trying: transformers-<IP_ADDRESS> (dependency of tls-1.3.4)
trying: yaml-<IP_ADDRESS> (dependency of pandoc-<IP_ADDRESS>)
trying: enclosed-exceptions-<IP_ADDRESS> (dependency of yaml-<IP_ADDRESS>)
trying: monad-control-<IP_ADDRESS> (dependency of enclosed-exceptions-<IP_ADDRESS>)
trying: lifted-base-<IP_ADDRESS> (dependency of enclosed-exceptions-<IP_ADDRESS>)
next goal: resourcet (dependency of yaml-<IP_ADDRESS>)
rejecting: resourcet-<IP_ADDRESS>, 1.1.7, 1.1.6, 1.1.5, <IP_ADDRESS>, 1.1.4, <IP_ADDRESS>,
<IP_ADDRESS> (conflict: transformers==<IP_ADDRESS>, resourcet => transformers>=0.2.2 &&
<0.5)
rejecting: resourcet-<IP_ADDRESS>, 1.1.3, <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, 1.1.2, 1.1.1,
<IP_ADDRESS>, 1.1.0, <IP_ADDRESS>, <IP_ADDRESS>, 0.4.10, 0.4.9, 0.4.8, <IP_ADDRESS>, <IP_ADDRESS>,
0.4.7, 0.4.6, 0.4.5, 0.4.4, 0.4.3, 0.4.2, 0.4.1, <IP_ADDRESS> (conflict:
monad-control==<IP_ADDRESS>, resourcet => monad-control>=0.3.1 && <0.4)
rejecting: resourcet-<IP_ADDRESS>, 0.4.0, <IP_ADDRESS>, 0.3.3, <IP_ADDRESS>, <IP_ADDRESS>, 0.3.2,
0.3.1, 0.3.0 (conflict: lifted-base==<IP_ADDRESS>, resourcet => lifted-base>=0.1 &&
<0.2)

The command "if [[ $SETUP == 'doc' ]]; then ./doc/source/install_pandoc.sh; fi" failed and exited with 1 during .

I think it's due again to cabal and that the default version of pandoc installed through it has changed again. (see the previous issue #109)
I'm on it

With the update of Ubuntu on Travis (now ubuntu precise), the installed version of pandoc (or the version available with apt-get) should be recent enough. We may not need to use cabal any more.

Nop, with precice, the pandoc version available is 1.9. The "--filter" option we used required pandoc >= 1.12.
We still stuck with cabal :(

So, the issue is that cabal cannot solve the dependencies to install pandoc: either the last one 1.16 or the previous one we used 1.15.X
So far everything I tried failed:

Use the pandoc version from the repository: doesn't work due to a too old version (see my previous message).
add the --max-backjumps=-1 to the cabal command line (cabal install pandoc --max-backjumps=-1) to search exhaustively through all packages to resolve dependencies: failed due to a timeout on Travis (it takes too much time).
Use the procedure on pandoc website, i.e update cabal through cabal (cabal install cabal-install) then install pandoc (cabal install pandoc --max-backjumps=-1): the update fails because some libraries cannot be installed...

I point out the 2 last options worked on my computer. Since they do, I'll try to retrieve the good versions of dependencies and installed them manually in install_pandoc.sh.

I made it work! The trick is to install the right version of resourcet to help the resolution of the dependencies. See https://github.com/jbarnoud/PBxplore/blob/fix-cabal/doc/source/install_pandoc.sh and https://travis-ci.org/jbarnoud/PBxplore/jobs/106213180.

youhou!

For future reference, I saved the travis log in a gist https://gist.github.com/jbarnoud/6a1436ff6f0e44c79bcb in the mess of that log are the version of everything cabal installed.


Approved Version does NOT exist

LightSpeed System is NOT even up to version 2.6.2!   Their latest version is 2.2.3.  What was the approved version?

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

ID: 76d112f8-f653-f5f5-0fb5-7cd936865b3e
Version Independent ID: 76d112f8-f653-f5f5-0fb5-7cd936865b3e
Content: What is Windows 11 SE
Content Source: education/windows/windows-11-se-overview.md
Product: windows
Technology: windows
GitHub Login: @paolomatarazzo
Microsoft Alias: paoloma

Thank you for the feedback @djmahoney99, I made the change, and it will be reflected soon.


fix rotate issue & fix size of pdf417_compact

Fix issue
#32
#31

I will review this tomorrow. Preliminary look was good.
I don't have enough test cases generation so after this I might add some to verify basic stuff like width and height of generated codes.
Thanks!

find bugs
rotate function need rework


Python 3 compatibility

plfit appears in the pypi repositories for python3, but is not compatible with this version of python (there is print x statements, for example).
Python 3.4.3 (default, Mar 25 2015, 17:13:50)
Type "copyright", "credits" or "license" for more information.

IPython 3.1.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import plfit
  File "/usr/lib/python3.4/site-packages/plfit/plfit.py", line 49
    print "scipy didn't import.  Can't compute certain basic statistics."
                                                                        ^

Good point.  I'm not sure why it appears that way in pypi; I may have misconfigured the setup.py.  It probably would not be hard to make plfit actually py3-compatible, but I don't have time at the moment.

See also #8, I think this is solved now.


Abstraction for Focus of various kinds

Currently Display manages Focus of all kinds, and it is creating a growing number of Properties on the Display dedicated to just this. W should break these out into an abstraction that manages Focus, I don't think it needs to all be on the Display.

I went ahead with this and did the following:

Created FocusManager which is responsible for all Properties involved with Focus. It has instance variables including pointerFocusProperty and readingBlockFocusProperty. FocusManager is created and used by Display.
Display.focusProperty was moved to FocusManager and renamed to Display.pdomFocusProperty, to distinguish it as the Property for DOM focus amongst the other focus types.

I then updated all usages of Display's focus methods throughout the project to use FocusManager.
This removed a fair amount of code from Display whish is a win, and something we have talked about before.

Local aqua tests are passing, including ?fuzzBoard, I am going to commit this. I updated documentation for a general Tandem so I think I will need to update stable phet-io APIs after this change.

All done. This is an issue I would like to review at next developer meeting.

Looks good to me. Thanks!

Thanks for reviewing!


event.stopPropagation() warning.

Hi! I want the event to not propagate on a container div. So this is what I did.
 const outer = useWheel(state => console.log(state))
 const inner = useWheel(
    ({ event }) => {
      event.stopPropagation()
      console.log(event)
    }
  )
return(
<div {...outer()} className="largeOuterDiv">
  <div {...inner()} className="smallInnerDiv"> </div>
</div>
)

But I am getting this warning:
This synthetic event is reused for performance reasons. If you're seeing this, you're accessing the method stopPropagation on a released/nullified synthetic event. This is a no-op function. If you must keep the original synthetic event around, use event.persist()
What could be a fix to this?

This is not specific to this lib, but rather to how React handles events. You need to use the domTarget option as explained in the docs FAQ. https://use-gesture.netlify.com/docs/faq#why-am-i-getting-warnings-from-preventdefault-after-i-pass-passivefalse


Editing/Curation of Page List

This would include:

Removing a page form page list (related to #32)
Editing Page Title
Making Pages not publicly visible?
Adding pages to a resource that was archived (eg. an image or a PDF)?

We are also interested in having more editing and curation functions for our collections.

Ability to select which links/pages are visible to users
Ability to arrange links/pages in the order that you'd like users to see them

Hi Amye,
Thanks for your message. The editing and curation functionality you have
requested is available using the lists feature included in the most recent
release of Webrecorder.io.
To share one or more pages you can put them in a list and then make that
list public. The pages can be re-ordered by dragging them up and down in
the list of URLs you are making. The collection must be set to public to
make a list visible. If a collection is set to public all contents in that
collection could only be viewed if someone had or knew the URL for the
captured page. Otherwise users will only find and see content you have put
in lists set to public.
For more details, please see these instructions from the user guide (
https://guide.webrecorder.io/):
Basic List Building

Look in the collection navigator (panel on left side of the screen)
and click ‘EDIT’ or ‘+’ (located to the right of ‘LISTS’).
Enter a name for the list https://guide.webrecorder.io/#lists then
click on the ‘+’. You can make as many lists as you like. When you have
finished creating one or more list, click ‘Done’.
To add a page to a list you can simply drag a page over to the list
in the collection navigator. Note: this will not remove the page from the
main collection page (any page can be in as many lists as you’d like).
To view pages in a list, click on the list name in the collection
navigator (panel on left side of the screen).
You can reorder pages in a list by dragging them up or down.
You can delete pages from a list by clicking on the trash can icon.
Note: deleting a page from a list will not remove the page from the
collection as a whole.
You can delete lists by clicking ‘EDIT’ to the right to ‘LISTS’ in
collection navigator.

Managing List Privacy

Lists are private by default. You can make a list public via the
privacy settings if your collection is set to ‘public’. A public list can
be viewed by anyone.
To make a list public click on grey circle next to the list name (in
the collection navigator on the left side of the screen) so it turns to
green. To make a list private, again, click on this circle, again, and it
will turn back to grey and the list will no longer be visible to anyone
other than you when you are logged in to your account.

Please keep us posted if you have any further questions or concerns.
All best,
Anna
On Thu, Jun 21, 2018 at 11:53 AM, amccarther<EMAIL_ADDRESS>wrote:

We are also interested in having more editing and curation functions for
our collections.

Ability to select which links/pages are visible to users
Ability to arrange links/pages in the order that you'd like users to
see them

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/webrecorder/webrecorder/issues/71#issuecomment-399153021,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJRlzpNE6PiF4akIJdkYCf3E3KOBxERuks5t-8GXgaJpZM4IMQB6
.

--
Anna Perricci
Associate Director, Strategic Partnerships, Webrecorder at Rhizome
Rhizome http://rhizome.org/ at the New Museum
webrecorder.io | oldweb.today

The information is also available at: https://guide.webrecorder.io/#basic-list-building
'Pages' are called 'Bookmarks' when added to lists, and all except bookmarks on arbitrary resources is now supported.

Closing as basic curation features are now implemented. Will open separate issue for non-page resources.


Supports sale cleaning

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

-34 of 34 (0.0%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 28.608%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

background/sales.go
0
2
0.0%

server/getrecord.go
0
6
0.0%

queuelogic/logic.go
0
11
0.0%

background/cleancollection.go
0
15
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
902

Relevant Lines:
3153

💛  - Coveralls


Added client version field.

Resolves issue # 46.

Also, we should verify value is set correctly in the tests.
I think probably in ../test/client.js

Updated tests. I tested by adding to test/helper.js a stub to make a nock that expected a user agent header, and then adding a test to test/client.js that made a call using that nock. Alternatively, this functionality could be tested by requiring it on every nock; if this is preferable, I can make those changes.


Improve unused patch message when source URLs mismatched

Resolves #8690
Resolve.unused_patches does not contains info about which source
URLs they are going to patch. As a result, we cannot provide a precise
message but only list all possible URLs of the packages with the same
name in the resolved graph.
There is a little flaw that if multiple patches are patching the same
package, the source URL of the used one would be shown as a possible
URL in the warning.

r? @alexcrichton
(rust-highfive has picked a reviewer for you, use r? to override)

@bors: r+
Seems reasonable to me, thanks!

:pushpin: Commit 91791c4fb1b4c8e38fc25267befdfbef4cfc03db has been approved by alexcrichton

:hourglass: Testing commit 91791c4fb1b4c8e38fc25267befdfbef4cfc03db with merge c5fddb0f56e930dd9ca1b1c4a005eef40b2f5cc2...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing c5fddb0f56e930dd9ca1b1c4a005eef40b2f5cc2 to master...


quiterss: cannot open sqlite database

https://github.com/lukesampson/scoop-extras/blob/f75081c452d7675e3aa132581e53aebbe71b5d5a/bucket/quiterss.json#L17
After install, I got this message when try opening.
Cannot open SQLite database!
Error: unable to open database file Error opening database

I've deleted feeds.db then it works. The installation has persisted feeds.db as folder, but it seems no need. I also curious how if the new version updated, does it still keep current database file in new updated app when open?
Could please help to check?
Thanks!

Please reinstall/force update quiterss


Updates and clean-up of OVN alert runbooks

In the lead-up to OVN-as-default for 4.11 managed OpenShift, we conducted a review of the existing runbooks.
This PR contains some changes, mainly fixing errors, broken links, or correcting style. No changes to the underlying advice contained therein.
Summary of changes:
NoOvnMasterLeader

Fixed broken links
Added missing namespace qualification in commands

NoRunningOvnMaster

Fixed broken link

NorthboundScaleAlert

Removed unnecessary extra quote in command.
Removed leading $ from commands that had it (not consistently applied, is a hindrance to copy/paste)
General reformatting of the doc

SouthboundScaleAlert

Removed leading $ from commands that had it (not consistently applied, is a hindrance to copy/paste)
General reformatting of the doc

V4SubnetAllocationThresholdExceeded.md

Spelling fix

/lgtm

/retest

/lgtm


Avoid negative scores returned from multi_match query with cross_fields

Description
Under specific circumstances, when using cross_fields scoring on a multi_match query, we can end up with negative scores from the inverse document frequency calculation in the BM25 formula.
Specifically, the IDF is calculated as:
log(1 + (N - n + 0.5) / (n + 0.5))

where N is the number of documents containing the field and n is the number of documents containing the given term in the field. Obviously, n should always be less than or equal to N.
Unfortunately, cross_fields makes up a new value for n and tries to use it across all fields.
This change finds the minimum (nonzero) value of N and uses that as an upper bound for the new value of n.

Related Issues
Resolves #7860
Check List

[x] New functionality includes testing.

[x] All tests pass

[ ] ~New functionality has been documented.~

[ ] ~New functionality has javadoc added~

[ ] ~API changes companion pull request created.~
[ ] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[ ] ~Public documentation issue/PR created~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

For some context, I came up with this fix after talking myself through the logic of the (previously) failing test in https://github.com/opensearch-project/OpenSearch/pull/13627/files#r1614240922

Oh... I thought of another way to fix it.
When we're adjusting the df per term, we could limit the df for the term based on the total doc count of the field. It's a bit more localized than this change, which potentially lowers the df for all terms.

Test Result (8 failures / +8)
org.opensearch.smoketest.SmokeTestMultiNodeClientYamlTestSuiteIT.test {yaml=search/50_multi_match/Cross fields do not return negative scores}
org.opensearch.smoketest.SmokeTestMultiNodeClientYamlTestSuiteIT.test {yaml=search/50_multi_match/Cross fields do not return negative scores}
org.opensearch.smoketest.SmokeTestMultiNodeClientYamlTestSuiteIT.test {yaml=search/50_multi_match/Cross fields do not return negative scores}
org.opensearch.smoketest.SmokeTestMultiNodeClientYamlTestSuiteIT.test {yaml=search/50_multi_match/Cross fields do not return negative scores}
org.opensearch.test.rest.ClientYamlTestSuiteIT.test {p0=search/50_multi_match/Cross fields do not return negative scores}
org.opensearch.test.rest.ClientYamlTestSuiteIT.test {p0=search/50_multi_match/Cross fields do not return negative scores}
org.opensearch.test.rest.ClientYamlTestSuiteIT.test {p0=search/50_multi_match/Cross fields do not return negative scores}
org.opensearch.test.rest.ClientYamlTestSuiteIT.test {p0=search/50_multi_match/Cross fields do not return negative scores}Test Result (8 failures / +8)
org.opensearch.smoketest.SmokeTestMultiNodeClientYamlTestSuiteIT.test {yaml=search/50_multi_match/Cross fields do not return negative scores}
org.opensearch.smoketest.SmokeTestMultiNodeClientYamlTestSuiteIT.test {yaml=search/50_multi_match/Cross fields do not return negative scores}
org.opensearch.smoketest.SmokeTestMultiNodeClientYamlTestSuiteIT.test {yaml=search/50_multi_match/Cross fields do not return negative scores}
org.opensearch.smoketest.SmokeTestMultiNodeClientYamlTestSuiteIT.test {yaml=search/50_multi_match/Cross fields do not return negative scores}
org.opensearch.test.rest.ClientYamlTestSuiteIT.test {p0=search/50_multi_match/Cross fields do not return negative scores}
org.opensearch.test.rest.ClientYamlTestSuiteIT.test {p0=search/50_multi_match/Cross fields do not return negative scores}
org.opensearch.test.rest.ClientYamlTestSuiteIT.test {p0=search/50_multi_match/Cross fields do not return negative scores}
org.opensearch.test.rest.ClientYamlTestSuiteIT.test {p0=search/50_multi_match/Cross fields do not return negative scores}

The specific exception is:

java.lang.AssertionError: Failure at [search/50_multi_match:32]: cast error while checking (field [hits.hits.2._score] is not greater than [0.0]): java.lang.ClassCastException: class java.lang.Double cannot be cast to class java.lang.Float (java.lang.Double and java.lang.Float are in module java.base of loader 'bootstrap')

Hmm... that's odd. This just changed after I rebased onto the latest main. (I swear the test was passing before I pushed the latest commit!) I wonder what changed the type of the scores...

Oh... interesting. Sometimes it fails on my machine and sometimes it passes.
I haven't been able to figure out yet why my 0.0 in the test YAML sometimes gets parsed as float and sometimes as double.

It feels like this was kind of a long-standing bug that we never really encountered until now. I found that the test would fail on my machine with certain seeds.
The only existing tests with floating point comparisons were all related to rank_eval, where the evaluation outputs have type double, so the conversions worked.
Anyway, I added some basic conversion for numeric types in assertions in the most recent commit https://github.com/opensearch-project/OpenSearch/pull/13829/commits/8c9ac3c68d4fbd5b4d9403c06d0c9c55f6a5d51d.

Grr... failed due to https://github.com/opensearch-project/OpenSearch/issues/10735

@msfroh mind please backport to 2.x manually? thank you

Backport PR is ready: https://github.com/opensearch-project/OpenSearch/pull/13983


About upload progress

I mentioned the problem of file upload progress before, and you also carried out relevant content.  #231  I tried it today. It's great, but I think it's not enough to only have the image file upload progress, because most scenes are uploading large non image files. Can you migrate the upload progress to all files? I think this should be great

Yes indeed, I will add this for other files.

Fixed in https://github.com/antoine92190/vue-advanced-chat/commit/68e3319030abbf5de8ae61e1da0e7d536672fe67


http_archive repository rename breaking builds on v1.0.1

(this is related to #38 because it is also result of the repo rename, but I believe is a different issue)
The repository rename in #36 also changed README.md to recommend the following WORKSPACE repository rule:
http_archive(
    name = "hermetic_cc_toolchain",
[...]
)

However, the existing build rules in the v1.0.1 archives still include each other as @bazel-zig-cc. This means that a WORKSPACE definition like the one above will fail with errors such as:
INFO: Invocation ID: 28e96ffa-cf39-4c7a-a059-d0f36b5653b1
ERROR: Failed to load Starlark extension '@bazel-zig-cc//toolchain/private:defs.bzl'.
Cycle in the workspace file detected. This indicates that a repository is used prior to being defined.
The following chain of repository dependencies lead to the missing definition.
 - @bazel-zig-cc
This could either mean you have to add the '@bazel-zig-cc' repository with a statement like `http_archive` in your WORKSPACE file (note that transitive dependencies are not added automatically), or move an existing definition earlier in your WORKSPACE file.
ERROR: cycles detected during target parsing
INFO: Elapsed time: 0.072s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)

A simple temporary workaround is to just rename the repository back to bazel-zig-cc and everything will work fine. But in the interest of completing the rename (and making the README provide working instructions), could I request a v1.0.2 to be released with the updated build rules that reference the new repository name?

Can you test #40?

<...> could I request a v1.0.2 to be released with the updated build rules that reference the new repository name?

As #40 says, we will be releasing v2 soon enough. I will fix up the instructions and README to use v1.0.1 until that happens.


Docker mongodb can not connect

This is my dockerfile:
FROM ubuntu:latest

RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
RUN echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | tee /etc/apt/sources.list.d/10gen.list

RUN apt-get update
RUN apt-get install mongodb-10gen

RUN mkdir -p /data/db

EXPOSE 27017 28017
CMD ["usr/bin/mongod", "--smallfiles"]

The deployment works but i cant connect to the running mongodb instance from my local machine. Port 28017 is also not reachable.
Testing deployment: https://mongodb-cmjcuzszqz.now.sh/
Thank you very much.

You shouldn't deploy database services on now. It's only made for applications at the moment. Please use a service like mLab!

Do you have plans for supporting dbs in future?

@koljakutschera No. We want to do one thing, but right 😊


Show key icon on compatible WebView fields

Task/Issue URL: https://app.asana.com/0/0/1202856772457648/f
Description
Shows the inline key icon in the WebView fields which can be autofilled.
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

Current dependencies on/for this PR:

develop

PR #2221   👈

This comment was auto-generated by Graphite.


Changing all runtime calls of IDocumentStorageService.read() to readString() and more

Fixes #4464
Step 2 of supporting utf8
I went through all calls of .read() and trace down relevant ones and change to readString()
Still going through all calls of fromBase64ToUtf8() and see if they can be removed

General comment: readString() API was added recently to driver layer, and that version of driver may take a while to propagate to all hosts. So once your PR is ready to be checked in, we need to ensure one of the two is true:

Enough time have passed for driver changes to propagate through all clients
We add an adapter layer in rutime that wraps storage interface and synthetizes readString() method if driver does not provide one.

Please also take a look at last couple comments in https://github.com/microsoft/FluidFramework/issues/3171
Given a bunch of adapters touched in your PR (prefetcher, channel storage, etc.) and then needing to be aware of binary -> string conversion, maybe it's good idea to have readString only on IChannelStorageService ? I.e. implement it only there, and spare driver layer and all adapter layers from needed to care about it?
Long term that feels simpler. Short term, it will add perf cost of base64 -> buffer -> string conversion (instead of current base64 -> string).

One minor comment that will help in future:
Looking at existing usage of fromBase64ToUtf8, I see test code (example - packages\test\end-to-end-tests\src\test\deRehydrateContainerTests.spec.ts). Ideally we change that code (and remove pretty much all reference to fromBase64ToUtf8 except in driver code) by leveraging readAndParseFromBlobs() API.
The reason it's a good change (even though not required or directly related to the core of your changes) is it helps in future, for work like https://github.com/microsoft/FluidFramework/issues/4746
Maybe other way to say it - there should be only two ways of reading blobs - one through storage and readBlob API, and another (which is not entirely correct and need further changes) - through readAndParseFromBlobs

One minor comment that will help in future:
Looking at existing usage of fromBase64ToUtf8, I see test code (example - packages\test\end-to-end-tests\src\test\deRehydrateContainerTests.spec.ts). Ideally we change that code (and remove pretty much all reference to fromBase64ToUtf8 except in driver code) by leveraging readAndParseFromBlobs() API.
The reason it's a good change (even though not required or directly related to the core of your changes) is it helps in future, for work like https://github.com/microsoft/FluidFramework/issues/4746
Maybe other way to say it - there should be only two ways of reading blobs - one through storage and readBlob API, and another (which is not entirely correct and need further changes) - through readAndParseFromBlobs


Time#days_in_year returns the no of days in a given year

In reference to issue #5157

LGTM :+1: ?

@luislavena & @straight-shoota PR has been updated.

There are similar methods without such code examples, would a PR with such doc changes be welcomed 😄 would love to contribute like that.

Definitely @coderhs!!! All the contributions that introduce better and easier to use documentation are welcome! 😄
Thank you!
❤ ❤ ❤

@luislavena have added code example to days_in_month and a test for that, have added the test for that method along with this PR, as mentioned in issue #5157


add label to indicate global modules

It is useful to know if a module is 'global' or 'per project optional'
at a glance

@123andy, it sounds like a useful feature to me. I tested it, and it looks fine.


Default pass4SymmKey

your example pass4SymmKey is too funny!  Thanks for the laugh.

Forgot about that, got a laugh myself yesterday :)


Tests: Adds a check redundant dependency declarations

Since it's possible to have redundant dependency declarations (e.g. require + optional for the same component), I decided to add a test for it.

@mAAdhaTTah Should we really merge these before the new release?


node_modules Folder

You do not need to include the node modules folder in the repo, npm install handels this folder for you
Awesome project, probably going to contribute something tomorrow

Fixed. Thanks for the feedback :D


[.Net SDK, WebChat] Webchat: trigger a reply  with .speak("abc") property without speak und get a spoken answer Message

Bot Info

SDK Version:  v3.13.1
Active Channels:  Direct Line, Webchat
Deployment Environment: Azure App Service

Issue Description
When the user logs in on the website, the event login starts and the user name is transferred appropriately. The message arrives but is not read aloud. So the  replyLogin.Speak  does not work.
Code Example
From MessageController
public async Task<HttpResponseMessage> Post([FromBody]Activity activity)
        {
            ConnectorClient connector = new ConnectorClient(new Uri(activity.ServiceUrl));
            if (activity.Type == ActivityTypes.Event)
            {
                switch (activity.Name)
                {
                    case "Login":
                        //TODO get User Data from Login
                        var username = activity.Value.ToString();
                        var welcomeUser = $"Hey {username}, welcome to ...";

                        Activity replyLogin = activity.CreateReply(welcomeUser);
                        replyLogin.Speak = $"Hey {username}, welcome to ";
                        replyLogin.InputHint = InputHints.ExpectingInput;
                        await connector.Conversations.ReplyToActivityAsync(replyLogin);
                        break;
                    case "VoiceVerify":
                        Activity replyVoiceVerify = activity.CreateReply("replyVoiceVerify works");
                        await connector.Conversations.ReplyToActivityAsync(replyVoiceVerify);
                        break;
                    default:
                        break;
                }

            }

Reproduction Steps

trigger a reply with .speak("abc") property without speak.
the Bot sends the message but do not Speak.
trigger a reply  with .speak("abc") property  with speak it works correct

Expected Behavior
trigger a reply  with .speak("abc") property without speak und get a spoken answer Message
Actual Results
trigger a reply with .speak("abc") property without speak(writting, event) sends the reply Message but do not speak the answer Message.

What browser are you using webchat in?

Closing the issue assuming it as resolved. Please reopen a new issue if it still persists.


Implement based on the new object store abstraction

https://github.com/apache/arrow-datafusion/issues/2489

@yahoNanJing  I may have some time to help with this project now that the object store has been incorporated into arrow https://github.com/apache/arrow-rs/issues/2030
My ulterior motive is that I would like to highlight the ability to plug in different implementations in the blog post I am writing about object_store and would like to use HDFS support in this crate as an example
Is anyone else planning to work on this ticket ?

Is there any progress in the work, I am very interested in this work, I hope arrow-datafusion can use hdfs storage

Is there any progress in this work, I am very interested in this work, and I hope arrow-datafusion can use hdfs storage

Is there any progress in this work, I am very interested in this work, and I hope arrow-datafusion can use hdfs storage @alamb @yahoNanJing

I have not made any progress @hrh007  but object_store 0.4.0 has been released https://crates.io/crates/object_store/0.4.0
I would be happy to help if you wanted to start the work

@alamb Thanks for reply, but object store 0.4.0 donot support HDFS either🤣

@dmetasoul01 mentioned on https://github.com/apache/arrow-datafusion/issues/3177#issuecomment-1220218640 that there is an implementation in blaze-rs
https://github.com/blaze-init/blaze/blob/master/native-engine/datafusion-ext/src/hdfs_object_store.rs

@hrh007, since hdfs object store depends on java environment, currently I don't put it into the object store crate.
And now the hdfs object store has already been used by the Ballista.


slayer plugin: Refactor plugin

This PR migrates the majority of extraction for slayer related information to be done through vars, and adds other minor UX improvements. The result is more accurate task, streak and points information.
Features added
• Ensure !Task chat command returns response
• Distinguish overlay color between superiors and regular NPCs
Most of the values used were obtained from the cache, some exceptions are mock fields such as Location.WILDERNESS which is not "real". I wasn't able to find any vars associated with wilderness slayer, therefore RSProfile is used instead.
Some things which may need to be confirmed, either as there was no information on the wiki or it was unclear:
• Sandcrabs task - it exists as a task value in the cache, but no information is available on the wiki
• Fremennik task location - it exists as a location value in the cache, but no information is available on the wiki
• Wiki claims all ogre variants are valid towards Mogre tasks
Region IDs may need to be checked. The values are presumed, since there is no clear definition for the bounds of the locations nor was any definition for them found, e.g. as enum or var in the cache. As such, the wiki was used as reference for the general location so the accuracy of those may be questionable.
Resolves #6458, #6793, #7333, #7839, #9400, #10646

Can you break out the commits from #16317? We don't want to review both at the same time.

Is the NPC variation data also pulled from the cache?

I am not able to review PRs that are this large when all or most of the changes are in a single commit. If you want to split this apart I would be happy to look at individual parts of the proposed change closer.

A portion of this was added in 1f6ae893d732cf3a022fe6d9662cd2a42ff2b217, if you want to rebase this.


chore: upgrade cosmjs versions and faucets

Overview
Seems like new cosmjs versions are available. Update it.

Can there be a way to provide custom cosmjs docker image?

Wait for this PR to be merged: https://github.com/cosmos/cosmjs/pull/1593


Provide an API for other build plugins to use

If you're a build plugin author and you'd like to use this, please mention your project below.  Currently this isn't a priority since no one is asking for it yet, but I have had some thoughts about it:

[ ] Access to accelerator object from other build plugins (through a global or by abstracting (preferred))
[ ] API to register / inject code (to run in the separate process) to rebuild changes files, with ability to use npm peer deps (which will get included if you require it from your project too, even if you don't use it)
[ ] API to send a bundle to the client
[ ] Docs on where/how to modify an existing build plugin to get hot support

Best case scenario ecmascript-hot will be made to use the new API and can serve as an example.
Note: hot module replacement only works with modules, i.e. JS files with import/export.  But, a lot of other assets are compiled into JS already, e.g. some CSS plugins, etc.

Ok, this is done :>  We actually load build plugins directly from the currently used package in the project now, with a very thin wrapper needed for build plugin authors to use.  There info in the Build Plugins docs.
cc: @clayne11, since you're the only other guy who knows what's going on here :>  Thanks also for all the help in other open issues recently.  As per your earlier comment, yes, it wasn't sustainable to keep duplicate code in the accelerator.
This move was also in preparation for Meteor's official .babelrc support, which is expecting in the next release.  It allows babel-compiler to be upgraded independently of ecmascript-hot, no need to follow and keep releasing our own builds for it anymore.


[DO NOT MERGE] Auto PR to update dependencies of istio

This PR will be merged automatically once checks are successful.
none

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
20f68a5dd71a41a5f57a79bff7351e55820f0ad8
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


LAA data platform sandbox

Environment details
Application Name

LAA data platform sandbox
Github team slug

laa-technical-architects
Environments

[x] Development
[ ] Test
[ ] Preproduction
[x] Production

Tags

tag
value

application
LAA data platform sandbox

business-unit
LAA

owner
<EMAIL_ADDRESS>

Networking options
Connectivity

would it be possible to access cloudwatch data in CP?
also, would like to expose API endpoint here to applications in LAA's AWS VPCs?
Additional features

[x] Bastion
[x] Additional VPC Endpoints
[ ] Extended DNS Zones

Other information

Closing for now, LAA to use their existing sandpit environment for the time being.