Updated .json and .md files

Updated the WifiManger .json and .md files as per the latest code.
JIRA ID: https://ccp.sys.comcast.net/browse/RDK-33853
@anand-ky
Dev Owner Tony has approved in this link: https://github.com/rdkcentral/rdkservices/pull/1904 . Created a new request addressing conflicts. Please merge this request.

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

@tabbas651 For the first comment "link is not working for WifiManager.json, it returns 404 value".
It is an autogenerated [URL]
(https://github.com/rdkcentral/ThunderInterfaces/tree/master/interfaces/WifiManager.json) while generating the WifiManager.md file using JsonGenerator.py script file. The weblink which is created is not proper in the  JsonGenerator.py script file. Please check this https://github.com/rdkcentral/Thunder/blob/master/Tools/JsonGenerator/JsonGenerator.py#L2930 where the script for weblink generation is handled.

please find the review Comments

link is not working for  WifiManager.json, it returns 404 value
can you please modify like "A result value of 0" instead of "A 0 value" in mentioned methods
please remove  version -2 in initiateWPSPairing because you removed that statement for getSupportedSecurityModes otherwise add the version-2 for getSupportedSecurityModes

By mistake closed this PR. Reopening now.


Error "Error: Cannot find module 'http-mite-proxy'"

Error: Cannot find module 'http-mitm-proxy'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/Users/Greyston/Desktop/pokemon-go-mitm-node/lib/pokemon-go-mitm.coffee:6:9)
at Object. (/Users/Greyston/Desktop/pokemon-go-mitm-node/lib/pokemon-go-mitm.coffee:1:1)
at Module._compile (module.js:409:26)
at Object.loadFile (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/register.js:16:19)
at Module.load (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/register.js:45:36)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object. (/Users/Greyston/Desktop/pokemon-go-mitm-node/example.logTraffic.coffee:9:17)
at Object. (/Users/Greyston/Desktop/pokemon-go-mitm-node/example.logTraffic.coffee:1:1)
at Module._compile (module.js:409:26)
at Object.exports.run (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/coffee-script.js:134:23)
at compileScript (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:224:29)
at compilePath (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:174:14)
at Object.exports.run (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/command.js:98:20)
at Object. (/usr/local/lib/node_modules/coffee-script/bin/coffee:7:41)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Function.Module.runMain (module.js:441:10)
at startup (node.js:139:18)
at node.js:968:3
Getting this error after running "coffee example.logTraffic.coffee"
Help?

Did you forget to npm install or maybe npm install failed?

@trisk I fixed the issue and i have everything running now all i need to know i how do i run the scripts like get a master ball and stuff?

please follow the readme and study the examples and their comments - this is a mostly technical project.


Kontena Master doesn't report loss of contact with Kontena Agent/Nodes

When I was dealing with some odd VPN issues, #150, I eventually found that my issue was due to the Kontena Agent/Node not being able to contact the Kontena Master and vice versa. I had accidentally removed TCP port 8080 from our Security Group and the Kontena servers were no longer able to talk to each other.
$ kontena node list
Name                           OS                                       Driver          Labels                         Status
ip-10-0-0-99                   Ubuntu 14.04.3 LTS (3.13.0-63-generic)   aufs            -                              online

A status of online is unexpected as the Node/Master haven't been in communication over port 8080. Grid list wasn't of much help either:
$ kontena grid list
Name                           Nodes    Services     Users
mygrid *                       1        0            1

The issue became more apparent when modifying things, for example:
~$ kontena vpn delete
{"code":503,"message":"Node unavailable","backtrace":null}

I would think this would be reproducible by blocking TCP port 8080 between node containers and running the previous commands.
Thanks guys,
-Seth

Yes, there seems to be an edge case when connection state is not detected. Currectly connection state is checked from websocket connection between server and node. But if connection state gets out of sync and node is not coming back, master does nothing...
I think that only way to fix this is some kind of cleanup routine in master that checks last_seen_at timestamp. @nevalla @miskun what do you think?

@four43 workaround for this is to remove "ghost" node from master manually:
$ kontena node remove ip-10-0-0-99

@jakolehm I believe this issue (among others) will be addressed and fixed in #110?

I'm pretty sure that this issue has already been fixed in 0.9.


Feature Request: Type Safe ConfigAnnotation

If I define a ConfigAnnotation like this
const ConfigAnnotation = Annotation.Root({
  model: Annotation<string>({
    reducer: (_, current) => current,
    default: () => "gpt-4o",
  }),
});

I should be able to do this
const agent = async (
  state: typeof MessagesAnnotation.State,
  config?: RunnableConfig,
): Promise<Partial<typeof MessagesAnnotation.State>> => {
  const response = await researchPromptTemplate
    .pipe(llms[config.configurable.model].bindTools(tools))
    .invoke(
      {
        messages: state.messages,
      },
      config
    );

  return {
    messages: [response],
  };
};

Without facing Element implicitly has an 'any' type because expression of type 'any' can't be used to index type '{ "gpt-4o": AzureChatOpenAI…

Should definitely support this, thanks for flagging!

Nice! How do I acess it inside a node? For example what should I change within this node for the type hints to take effect?
const agent = async (
  state: typeof GraphStateAnnotation.State,
  config?: RunnableConfig,
): Promise<Partial<typeof GraphStateAnnotation.State>> => {
  const response = await researchPromptTemplate
    .pipe(llms["gpt-4o"].bindTools(tools))
    .invoke(
      {
        messages: state.messages,
      },
      config,
    );

  return {
    messages: [response],
  };
};

This should now work:
https://langchain-ai.github.io/langgraphjs/how-tos/configuration/#config-schema


fix(plugin api): fix generator dotfile rename for Windows.

Fixes issue with dotfile rename caused by Globby returning forward slashes instead of OS specific.

Thanks!

Exactly.


Add input_labels input to SAM model export

What does this PR do?
Adds support for supplying negative points in ONNX export.

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

Confirmed working correctly in transformers.js: https://github.com/xenova/transformers.js/pull/510
cc @fxmarty anything else before we merge? 😇
Also, in future, it would be nice to be able to export with boxes support. Will do as a follow-up


fix a typo in custom lexicon part

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

#sign-off

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


Update docs on multiple active portal support

Fixes DOC-4751, DOC-7418, DOC-7431

these docs lgtm!

awesome thanks!

one other thought i had, which i'm not sure we need to prioritize: i noticed that our docs don't talk about "prepared statements" at all. those are pretty fundamental for understanding what portals are. but since it's a PG wire protocol feature, maybe that means we don't document it on our site? i'm not sure what our approach is.

ya we should have that.  we have a couple of open issues about it
DOC-2091
DOC-7025
7025 in particular I just found and it looks like there is important info we need to share with users in that one
I reassigned both of those issues to @taroface b/c they appear to be in the SQL Queries product area but he'll let me know if that's wrong, and if so I'll find out where they should go to get done

Not sure how the bad links got polluted into this branch, but you can rebase master to get a working build, looks like.

Thanks for the heads up!


How to do a callback for Java desktop Application

Hi;
Thank you for your awesome work.
I made my Twitter client for Android using another library. I came by your twitter library from Twitter developer site. I am planning to do a desktop application that can work on both windows and mac platforms, my question is, how to do callback function so it can retrieve the access token from the web after my app been authorized by the user?
Is there is any example/documentation for doing such a thing?
Thanks.

Hi @allooba ,
That's a good question, I didn't have yet the opportunity to work on user authentication so I don't have any idea about how to do that.
Currently the only existing method to get a token is this one but it only works for your developer account and not for an external user via web.
If you want to develop this feature feel free to submit a pull request on the project, otherwise i'll try to watch it on the next few weeks.

Hello Redouane;
Thank you for your reply.
I am not sure if Java for desktop application can support callback function as Android do. However; I can look from my side too, to see if that can be possible. I hope we can get a work around soon, so the app can be useful for many users.
Thanks.

Ali Abdelrhim
United Arab Emirates - Dubai
Mobile: +971-50-5711654
Email<EMAIL_ADDRESS>Skype: ali_abdelrhim
Linkedin: https://www.linkedin.com/in/ali-abdelmotalib-3960b421/
Ali Abdelmotalib - Technical Support Engineer - Nattiq Technologies | LinkedIn
View Ali Abdelmotalib’s profile on LinkedIn, the world's largest professional community. Ali has 3 jobs listed on their profile. See the complete profile on LinkedIn and discover Ali’s connections and jobs at similar companies.
www.linkedin.com

On 16 Aug 2020, at 12:40 PM, Redouane Bali<EMAIL_ADDRESS>wrote:
Hi @allooba https://github.com/allooba ,
That's a good question, I didn't have yet the opportunity to work on user authentication so I don't have any idea about how to do that.
Currently the only existing method to get a token is this one https://github.com/redouane59/twitter-client/blob/master/src/main/java/com/github/redouane59/twitter/ITwitterClient.java#L205 but it only works for your developer account and not for an external user via web.
If you want to develop this feature feel free to submit a pull request on the project, otherwise i'll try to watch it on the next few weeks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/redouane59/twitter-client/issues/30#issuecomment-674499019, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4VXK5IQDKFXRC6B354PALSA6LRTANCNFSM4QAVO4IA.

Hello Redouane; Thank you for your reply. I am not sure if Java for desktop application can support callback function as Android do. However; I can look from my side too, to see if that can be possible. I hope we can get a work around soon, so the app can be useful for many users. Thanks.
…
Ali Abdelrhim United Arab Emirates - Dubai Mobile: +971-50-5711654 Email @.*** Skype: ali_abdelrhim Linkedin: https://www.linkedin.com/in/ali-abdelmotalib-3960b421/ Ali Abdelmotalib - Technical Support Engineer - Nattiq Technologies | LinkedIn View Ali Abdelmotalib’s profile on LinkedIn, the world's largest professional community. Ali has 3 jobs listed on their profile. See the complete profile on LinkedIn and discover Ali’s connections and jobs at similar companies. www.linkedin.com On 16 Aug 2020, at 12:40 PM, Redouane Bali @.***> wrote: Hi @allooba https://github.com/allooba , That's a good question, I didn't have yet the opportunity to work on user authentication so I don't have any idea about how to do that. Currently the only existing method to get a token is this one https://github.com/redouane59/twitter-client/blob/master/src/main/java/com/github/redouane59/twitter/ITwitterClient.java#L205 but it only works for your developer account and not for an external user via web. If you want to develop this feature feel free to submit a pull request on the project, otherwise i'll try to watch it on the next few weeks. — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#30 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AC4VXK5IQDKFXRC6B354PALSA6LRTANCNFSM4QAVO4IA.

No problem, it would be a pleasure, keep me informed !

Hi again @allooba , this problem will be solved thanks to PR https://github.com/redouane59/twittered/pull/70 .
You will be able to do something like
RequestToken requestToken = twitterClient.getOauth1Token("oob");
String authorizationUrl = "https://twitter.com/oauth/authenticate?oauth_token="+requestToken.getOauthToken();

Then you can redirect your user to this URL to get a pin code and after, just call
twitterClient.getOAuth1AccessToken(requestToken, pin);

with the previous token to have the needed access tokens !


Add github for scansat

The ending comma on line 10 isn't needed and makes the bot freak out a bit, remove it and everything looks fine.

#rebuild since v12 is out so this test should succeed


[VERSION]  No getContinuation for playlists

Expected Behavior
Since playlists can often be extremely long, I expected getContinuation to work, but it seems to not yet be implemented.
Steps to Reproduce
const wl = await youtube.getPlaylist('WL');
console.log(wl.getContinuation());

Checklist

[x] I am running the latest version
[x] I checked the documentation and found no answer
[x] I checked to make sure that this issue has not already been filed
[x] I have provided sufficient information

Yup, not implemented yet.
Will probably work on that later today or maybe tomorrow.

Thanks for your hard work!

This is fixed with #44 which just merged!


ImportError: Please install the leiden algorithm: conda install -c conda-forge leidenalg or pip3 install leidenalg.

Hi,
I'm running the pbmc3k tutorial on Jupyter Notebook. When I ran the code sc.tl.leiden(adata) , I encountered this error:
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
File ~/anaconda3/envs/env4/lib/python3.9/site-packages/scanpy/tools/_leiden.py:108, in leiden(adata, resolution, restrict_to, random_state, key_added, adjacency, directed, use_weights, n_iterations, partition_type, neighbors_key, obsp, copy, **partition_kwargs)
    107 try:
--> 108     import leidenalg
    109 except ImportError:

File ~/anaconda3/envs/env4/lib/python3.9/site-packages/leidenalg/__init__.py:35
      2 r""" This package implements the Leiden algorithm in ``C++`` and exposes it to
      3 python.  It relies on ``(python-)igraph`` for it to function. Besides the
      4 relative flexibility of the implementation, it also scales well, and can be run
   (...)
     33 not immediately available in :func:`leidenalg.find_partition`.
     34 """
---> 35 from .functions import ALL_COMMS
     36 from .functions import ALL_NEIGH_COMMS

File ~/anaconda3/envs/env4/lib/python3.9/site-packages/leidenalg/functions.py:2
      1 import sys
----> 2 import igraph as _ig
      3 from . import _c_leiden

File ~/anaconda3/envs/env4/lib/python3.9/site-packages/igraph/__init__.py:25
      6 __license__ = """
      7 Copyright (C) 2006- The igraph development team
      8
   (...)
     22 02110-1301 USA
     23 """
---> 25 from igraph._igraph import (
     26     ADJ_DIRECTED,
     27     ADJ_LOWER,
     28     ADJ_MAX,
     29     ADJ_MIN,
     30     ADJ_PLUS,
     31     ADJ_UNDIRECTED,
     32     ADJ_UPPER,
     33     ALL,
     34     ARPACKOptions,
     35     BFSIter,
     36     BLISS_F,
     37     BLISS_FL,
     38     BLISS_FLM,
     39     BLISS_FM,
     40     BLISS_FS,
     41     BLISS_FSM,
     42     DFSIter,
     43     Edge,
     44     GET_ADJACENCY_BOTH,
     45     GET_ADJACENCY_LOWER,
     46     GET_ADJACENCY_UPPER,
     47     GraphBase,
     48     IN,
     49     InternalError,
     50     OUT,
     51     REWIRING_SIMPLE,
     52     REWIRING_SIMPLE_LOOPS,
     53     STAR_IN,
     54     STAR_MUTUAL,
     55     STAR_OUT,
     56     STAR_UNDIRECTED,
     57     STRONG,
     58     TRANSITIVITY_NAN,
     59     TRANSITIVITY_ZERO,
     60     TREE_IN,
     61     TREE_OUT,
     62     TREE_UNDIRECTED,
     63     Vertex,
     64     WEAK,
     65     arpack_options as default_arpack_options,
     66     community_to_membership,
     67     convex_hull,
     68     is_bigraphical,
     69     is_degree_sequence,
     70     is_graphical,
     71     is_graphical_degree_sequence,
     72     set_progress_handler,
     73     set_random_number_generator,
     74     set_status_handler,
     75     umap_compute_weights,
     76     __igraph_version__,
     77 )
     78 from igraph.adjacency import (
     79     _get_adjacency,
     80     _get_adjacency_sparse,
   (...)
     83     _get_inclist,
     84 )

ImportError: dlopen(/Users/cailinghui/anaconda3/envs/env4/lib/python3.9/site-packages/igraph/_igraph.abi3.so, 0x0002): Library not loaded: @rpath/libblas.3.dylib
  Referenced from: /Users/cailinghui/anaconda3/envs/env4/lib/python3.9/site-packages/igraph/_igraph.abi3.so
  Reason: tried: '/Users/cailinghui/anaconda3/envs/env4/lib/python3.9/site-packages/igraph/../../../libblas.3.dylib' (no such file), '/Users/cailinghui/anaconda3/envs/env4/lib/python3.9/site-packages/igraph/../../../libblas.3.dylib' (no such file), '/Users/cailinghui/anaconda3/envs/env4/bin/../lib/libblas.3.dylib' (no such file), '/Users/cailinghui/anaconda3/envs/env4/bin/../lib/libblas.3.dylib' (no such file), '/usr/local/lib/libblas.3.dylib' (no such file), '/usr/lib/libblas.3.dylib' (no such file)

During handling of the above exception, another exception occurred:

ImportError                               Traceback (most recent call last)
Cell In[60], line 1
----> 1 sc.tl.leiden(adata)

File ~/anaconda3/envs/env4/lib/python3.9/site-packages/scanpy/tools/_leiden.py:110, in leiden(adata, resolution, restrict_to, random_state, key_added, adjacency, directed, use_weights, n_iterations, partition_type, neighbors_key, obsp, copy, **partition_kwargs)
    108     import leidenalg
    109 except ImportError:
--> 110     raise ImportError(
    111         'Please install the leiden algorithm: `conda install -c conda-forge leidenalg` or `pip3 install leidenalg`.'
    112     )
    113 partition_kwargs = dict(partition_kwargs)
    115 start = logg.info('running Leiden clustering')

ImportError: Please install the leiden algorithm: `conda install -c conda-forge leidenalg` or `pip3 install leidenalg`.

Then I tried import leidenalg but still came to error:
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[61], line 1
----> 1 import leidenalg

File ~/anaconda3/envs/env4/lib/python3.9/site-packages/leidenalg/__init__.py:35
      1 # -*- coding: utf-8 -*-
      2 r""" This package implements the Leiden algorithm in ``C++`` and exposes it to
      3 python.  It relies on ``(python-)igraph`` for it to function. Besides the
      4 relative flexibility of the implementation, it also scales well, and can be run
   (...)
     33 not immediately available in :func:`leidenalg.find_partition`.
     34 """
---> 35 from .functions import ALL_COMMS
     36 from .functions import ALL_NEIGH_COMMS
     37 from .functions import RAND_COMM

File ~/anaconda3/envs/env4/lib/python3.9/site-packages/leidenalg/functions.py:2
      1 import sys
----> 2 import igraph as _ig
      3 from . import _c_leiden
      4 from ._c_leiden import ALL_COMMS

File ~/anaconda3/envs/env4/lib/python3.9/site-packages/igraph/__init__.py:25
      1 """
      2 igraph library.
      3 """
      6 __license__ = """
      7 Copyright (C) 2006- The igraph development team
      8
   (...)
     22 02110-1301 USA
     23 """
---> 25 from igraph._igraph import (
     26     ADJ_DIRECTED,
     27     ADJ_LOWER,
     28     ADJ_MAX,
     29     ADJ_MIN,
     30     ADJ_PLUS,
     31     ADJ_UNDIRECTED,
     32     ADJ_UPPER,
     33     ALL,
     34     ARPACKOptions,
     35     BFSIter,
     36     BLISS_F,
     37     BLISS_FL,
     38     BLISS_FLM,
     39     BLISS_FM,
     40     BLISS_FS,
     41     BLISS_FSM,
     42     DFSIter,
     43     Edge,
     44     GET_ADJACENCY_BOTH,
     45     GET_ADJACENCY_LOWER,
     46     GET_ADJACENCY_UPPER,
     47     GraphBase,
     48     IN,
     49     InternalError,
     50     OUT,
     51     REWIRING_SIMPLE,
     52     REWIRING_SIMPLE_LOOPS,
     53     STAR_IN,
     54     STAR_MUTUAL,
     55     STAR_OUT,
     56     STAR_UNDIRECTED,
     57     STRONG,
     58     TRANSITIVITY_NAN,
     59     TRANSITIVITY_ZERO,
     60     TREE_IN,
     61     TREE_OUT,
     62     TREE_UNDIRECTED,
     63     Vertex,
     64     WEAK,
     65     arpack_options as default_arpack_options,
     66     community_to_membership,
     67     convex_hull,
     68     is_bigraphical,
     69     is_degree_sequence,
     70     is_graphical,
     71     is_graphical_degree_sequence,
     72     set_progress_handler,
     73     set_random_number_generator,
     74     set_status_handler,
     75     umap_compute_weights,
     76     __igraph_version__,
     77 )
     78 from igraph.adjacency import (
     79     _get_adjacency,
     80     _get_adjacency_sparse,
   (...)
     83     _get_inclist,
     84 )
     85 from igraph.automorphisms import (
     86     _count_automorphisms_vf2,
     87     _get_automorphisms_vf2,
     88 )

ImportError: dlopen(/Users/cailinghui/anaconda3/envs/env4/lib/python3.9/site-packages/igraph/_igraph.abi3.so, 0x0002): Library not loaded: @rpath/libblas.3.dylib
  Referenced from: /Users/cailinghui/anaconda3/envs/env4/lib/python3.9/site-packages/igraph/_igraph.abi3.so
  Reason: tried: '/Users/cailinghui/anaconda3/envs/env4/lib/python3.9/site-packages/igraph/../../../libblas.3.dylib' (no such file), '/Users/cailinghui/anaconda3/envs/env4/lib/python3.9/site-packages/igraph/../../../libblas.3.dylib' (no such file), '/Users/cailinghui/anaconda3/envs/env4/bin/../lib/libblas.3.dylib' (no such file), '/Users/cailinghui/anaconda3/envs/env4/bin/../lib/libblas.3.dylib' (no such file), '/usr/local/lib/libblas.3.dylib' (no such file), '/usr/lib/libblas.3.dylib' (no such file)

I've installed the leidenalg package. How can I solve this?
I am using Python 3.9.18, Jupyter Notebook 6.5.4, scanpy==1.9.5 anndata==0.10.0 umap==0.5.3 numpy==1.24.3 scipy==1.11.3 pandas==2.0.3 scikit-learn==1.3.0 statsmodels==0.14.0 pynndescent==0.5.10
Thanks a lot!

Seems like your conda environment is borked. Did you install igraph using conda? It should have pulled in libblas as a dependency.
Try conda install -c conda-forge python-igraph and if it doesn’t work, delete your environment and start new by installing scanpy and python-igraph into a fresh environment. It will work.


Other date format solution - php-date-formatter, fix #348

How about replace 'date-functions'?
Replace 'date-functions' to another php format solution 'php-date-formatter'. This library is distributed under a free license BSD-3, and the author is not against the other open it by using a software. Reason for replacement: 'date-functions' particular implementation can not solve some bugs.
This PR fix:#348

:+1:

I was looking for an alternative to long


Updated imports to libyoga*.a in HelloWorld

Fixes #11605
HelloWorld refers to CSSLayout even thought master has moved on and the library is now called Yoga.

@facebook-github-bot shipit


Use invalid opcode as part of the eWASM magic

Following the discussion: https://github.com/ethereum/evm2.0-design/pull/20#discussion_r73419436

@chriseth since you mentioned the requirement for this, can you please explain why we should have it?

The idea is that multiple versions of evm bytecode can be introduced with limited backwards-compatibility breaks. We can at least be rather sure that no useful existing contract can have the same bytecode (prefix) as an ewasm contract.

We can at least be rather sure that no useful existing contract can have the same bytecode (prefix) as an ewasm contract.

Currently all wasm binaries a prefixed with 0x00, which is stop. Wouldn't that eliminate all useful contracts?

This aims for a general standard to select the proper VM for a given bytecode, without having to add metadata to an account. Since we do not have a VM identifier for EVM1, anything is valid EVM1. In order to avoid cases where an existing contract written for EVM1 is mistaken for eWASM bytecode which would change its semantics, I would propose to take a first byte that cannot be the start of a contract that is in use, and I think 0xfe is more likely to fulfil that purpose than 0x00.

right, so if we go that route we probably should drop the wasm magic number 0x00, 0x61, 0x73, 0x6d and replace it with just a single 0xfe

No, I still think that a kind of version number of VM identifier should follow the 0xfe because that allows for upgrading the VM much more easily.

0x00, 0x61, 0x73, 0x6d ("0asm") is wasm identifier, it is followed the version number (0x01). So if we replaced the identifier then we would still have the version number to go off of for future upgrades

I would argue this is not needed, because wasm cannot be introduced without the client knowing about it, and if it does, it can easily detect the "wasm magic" as a pattern.

In theory it would be nice for a client to be able to implement some, but not all, VMs and to be able to detect which VM a particular piece of contract bytecode targets, so that it can choose to execute that contract or not -- this wouldn't make sense for main chain but it could make sense for a private network, or maybe for a hypothetical world where different shards run different VMs.


Add .circleci/config.yml

[One line description of your change]

Checklist

[ ] I've run tests to see all new and existing tests pass
[ ] I've followed the code style of the rest of the project
[ ] I've read the Contribution Guidelines
[ ] I've updated the documentation if necessary

If you've made changes to gyb files

[ ] I've run .script/generate_boilerplate_files_with_gyb and included updated generated files in a commit of this pull request

Motivation:
[Explain here the context, and why you're making that change. What is the problem you're trying to solve.]
Modifications:
[Describe the modifications you've done.]
Result:
[After your change, what will change.]

We're not taking this change, as we aren't going to use CircleCI and these jobs aren't useful.


Account with given username is age-restricted.

hello guys,
every account I try to access gives me the error "Account with given username is age-restricted."
$account = $this->instagram->getAccount(ltrim($social->username,'@'));
sleep(1);
$followers = $this->instagram->getFollowers($account->getId(), 1000, 100, true);
$result = '<pre>' . json_encode($followers, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES) . '</pre>';
\Log::info(compact('result'));

by the way i just want to get the number of followers and following

i also got this same error.. any idea how to fix this ?

@aherlambang not yet, working on it

@hebertlima let me know what your findings are

https://github.com/postaddictme/instagram-php-scraper/issues/1009

I have an alternate package that works:
package main

import (
   "fmt"
   "github.com/89z/mech/instagram"
)

func main() {
   login, err := instagram.NewLogin(username, password)
   if err != nil {
      panic(err)
   }
   user, err := login.User("lokalist.id")
   if err != nil {
      panic(err)
   }
   fmt.Println(user)
}

@89z this is node js though ?

Now it's normal!, I believe the problem was in Instagram itself, so i will close this issue.
[2022-03-10 21:19:56] local.INFO: array (
  'result' => '<pre>[
    {
        "id": "28#####0838",
        "username": "#######",
        "full_name": "...",
        "profile_pic_url": "...",
        "is_verified": false,
        "followed_by_viewer": false,
        "requested_by_viewer": false
    },
    ....


Add the option for frps sever to work against multiple harness endpoints

Summary
copilot:summary
WHY

yes exactly !


Add short section on mongodump / mongorestore early in the course

Yes definitely. Do you describe how to do that anywhere? I am struggling to set up the database like you have it. So I'm not able to follow even the simplest querying videos. This is really frustrating...

OK, I didn't read the instructions in the README.md in the data-folder not thouroughly enough. So I missed the unzipping part. Maybe a more detailed readme would be a good idea

Hi @lmr2391 this is covered in depth in the deployment section. I think there is another part (performance?) where it's covered. But yeah, doing it sooner is a good idea. Thanks!

I think it should be part of the Setting up your computer to follow along
section. Because it is required to follow you along. I think I checked it
there like two or three times whether I missed you explaining how set up the
databases when I realized you were using it.

Hi Michael - Enjoying the course so far. I spent about 30 mins trying to "import" the bookstore db into Mongo. I agree with @lmr2391 that a brief mention earlier during the querying videos section would be great. I will check out the later vids as you mention to see if it helps. Or office hours.
Here's what I was attempting:
mongorestore --drop --db bookstore /foo/bar/.../mongodb-for-python-developers/data/bookstore
Then later after reading the errors I tried:
usr/local/Cellar/mongodb/3.4.7/bin/mongostore --db; _bookstore; /path/to/bookstore
Typing in 'mongostore' in the CLI (while mongo is running) gives me:
$ mongostore
2017-09-13T16:01:31.109-0400 E QUERY    [thread1] ReferenceError: mongostore is not defined :

Hi @thomasoflight, thanks for the feedback. I'll definitely add a video on restoring the DB but it will be a few weeks until I can get to it. However, your first attempt:
mongorestore --drop --db bookstore /.../data/bookstore
Actually looks like it would be fine if mongorestore was in the path.

I'll keep playing with it - appreciate your quick thread response.

I'm just starting this course in October 2019. Like others I spent several hours, along with several backtracks in course sessions, to try to get bookstore loaded. I guess I had been running mongorestore from the mongo shell, not from the terminal - I'm on Windows 10. I just did that and it worked like a charm.
I had done that before but what I was doing wrong was not using "bookstore" in place of DATABASE, i.e. I was typing
mongorestore --drop --db DATABASE /.../data/bookstore
I realized that DATABASE looks like a parameter to be replaced but since I had not been able to load bookstore, it made no sense to me to drop bookstore.
Other than that, the course is great!

Sorry for the difficulty. I added this as an issue and I'll add a video for folks earlier in the course. Doesn't help you much, but pays it forward.
You're now all set and good to go? Glad you're enjoying the course (outside this bit :) ).

Hello from the future (Mongo 4.x)
If you want to follow along with the videos this would be a great opportunity to show the ease of using RoboMongo. Don't use this as a crutch, be sure to learn how to replicate what you're doing in the GUI at the cmd line level.
If you are having issues installing the bookstore db you may want to give Studio 3T (RoboMongo) a shot. Assuming mongo is running connect using the GUI, it's straight forward just make sure the localhost port matches.
First right-click on the db's in the left panel, and select 'Add Database', name it 'bookstore' for this specific example.
Second, right-click on the new 'bookstore' directory in the list of dbs and select 'Add Collection'
After that import the extracted file folder. Your options will include .csv, .json, .bson etc
In this example select '.bson', read the description and you'll see it matches the contents of the extracted file folder.
On the main screen use the GUI to find the bookstore folder path, and once found press the green triangle (execute)
You can watch the status of the import in the lower-left panel but it should be pretty fast.
Expand the bookstore directory and you should see the collection.
Now you can go into the cmd prompt enter mongo and start breaking things!

Hello from the future (Mongo 4.x)
If you want to follow along with the videos this would be a great opportunity to show the ease of using RoboMongo. Don't use this as a crutch, be sure to learn how to replicate what you're doing in the GUI at the cmd line level.
If you are having issues installing the bookstore db you may want to give Studio 3T (RoboMongo) a shot. Assuming mongo is running connect using the GUI, it's straight forward just make sure the localhost port matches.
First right-click on the db's in the left panel, and select 'Add Database', name it 'bookstore' for this specific example.
Second, right-click on the new 'bookstore' directory in the list of dbs and select 'Add Collection'
After that import the extracted file folder. Your options will include .csv, .json, .bson etc
In this example select '.bson', read the description and you'll see it matches the contents of the extracted file folder.
On the main screen use the GUI to find the bookstore folder path, and once found press the green triangle (execute)
You can watch the status of the import in the lower-left panel but it should be pretty fast.
Expand the bookstore directory and you should see the collection.
Now you can go into the cmd prompt enter mongo and start breaking things!

Hey, that's interesting. Can you add the whole DB that way or just collection by collection? Because with mongorestore you can restore a DB with 20 collections in one shot. I just haven't tried robomongo.
However, later in the course, we do discuss using robomongo for queries and visualizing the db.

Hey, that's interesting. Can you add the whole DB that way or just collection by collection? Because with mongorestore you can restore a DB with 20 collections in one shot. I just haven't tried robomongo.
However, later in the course, we do discuss using robomongo for queries and visualizing the db.

Unfortunately, I can't speak to RoboMongo/Studio 3T's ability to consume a DB with 20 collections. The newest version does allow for the DB's in this course to be easily imported at the DB level or as described, collection by collection.
Once unzipped the directory structure populates the DB and collections.
Really enjoy both Podcasts! Can I suggest you check out a company called OpenTrons, they are using python to run laboratory liquid handling robotics as well as customized automation. They're a great example of how coding can be a superpower!

Unfortunately, I can't speak to RoboMongo/Studio 3T's ability to consume a DB with 20 collections. The newest version does allow for the DB's in this course to be easily imported at the DB level or as described, collection by collection.
Once unzipped the directory structure populates the DB and collections.
Really enjoy both Podcasts! Can I suggest you check out a company called OpenTrons, they are using python to run laboratory liquid handling robotics as well as customized automation. They're a great example of how coding can be a superpower!

Thanks. Those import options are nice. But I now realize why I didn't know about those.

The free mongodb UI tool is Robo3T (formerly RoboMongo)
The paid premium product is Studio 3T.

I'm not against using paid products (we do use PyCharm pro for example in some courses). But we don't use it in this course.
And thanks for listening to the podcasts! Much appreciated. I'll check out OpenTrons.

Thanks. Those import options are nice. But I now realize why I didn't know about those.

The free mongodb UI tool is Robo3T (formerly RoboMongo)
The paid premium product is Studio 3T.

I'm not against using paid products (we do use PyCharm pro for example in some courses). But we don't use it in this course.
And thanks for listening to the podcasts! Much appreciated. I'll check out OpenTrons.


Refactor registry package to repo package

Currently, the registry package maintains the list of known DM type registries, and provides access to registries by short name or URL. It also contains the implementations of various registry types, such as storage buckets and Github.
To support the helm/dm integration, we want to:

[x] Rename the registry package to repo to better align with the chart repo terminology used by helm.
[x] Remove the implementation of Github repos.
[x] Make the repo package retrieve, unpack and return Charts instead of types.

@michelleN I'll submit a PR for the first two items in the list against master that will define the interfaces and migrate the current implementation of storage repos. Happy to leave the third item for you, but I can also take it on, if you prefer.

Fixed by #408.


fix(slider): allow Thumb size styles to be overridden

Currently, it's not possible to manually define dimension styles on Slider.Thumb:
<Slider.Thumb
  width="$4"  // this does
  height="$2" // nothing! 😭
/>

This is because inside the wrapper around that component, the size prop is always inserted after any custom user-defined props.
This PR moves the spreading of user-defined props to be after any predefined style props, enabling consumers to define or override width/height/minWidth/minHeight styles without using the size prop.

Nice, we should make a createSlider headless style like createSheet is now next.


Fix recording rule errors the label values change

This PR fixes the following problem:
You define an SLO with label mylabel=original. Let that run for a while. Then you change the label to mylabel=changed. This will cause the slo:sli_error:ratio_rate<window> to fail for the duration of the window with the error vector contains metrics with the same labelset after applying rule labels.
To fix this problem we essentially discard the labels from the query. They are then re-applied to the resulting recording rule.

Oh, plus subqueries, need to be enabled, and users must be on a recent enough version of Prometheus, IIRC.


Simple PEEK and POKE for BASIC

I was discussing this with @vantonic last night. Would it be possible to implement simple RAM access in BASIC? I know we're limited to 16-bit numbers in interpreter. But since we don't have DIM and are limited to 26 variables, this would give a lot more flexibility.
Here's how it might work:

i = peek X
poke X,VALUE
X would be 0x0000 to 0xFFFF and mapped to RAM not in use when BASIC interpreter is running

edit: I put in an 8-bit value before but meant 16-bit. To me it makes sense to use HEX so you don't need to type 65535 but really whatever is easiest to implement since we're at the deadline for this.

Implemented in 0.76. You can run
10 for a = 0 to 10
20 b = a * 3
30 poke a,b
40 next a
50 for a = 0 to 10
60 println peek a
70 next a
to print numbers 0...30
Currently, it doesn't support hexadecimal numbers.


red cursor not visible on navbar fixed

Fixed #960 Red Cursor bug not visible on navbar
The video explanation is here

Good job @mruga7 .
The issue still persists on the scrollbar area. If you wish, you can resolve that as well in another PR


The ID for the cosmos cache entry is a random string instead of the account identifier when using AquireTokenOnBehalfOf

When using AquireTokenByAuthorisationCode the id of the cosmos cache entry is the account identifier (objectId.tenantId). Then when I call AcquireTokenSilent the token is successfully retrieved from the cache.
However when using AquireTokenOnBehalfOf the id of the cosmos cache entry is (what looks like) a random string e.g. "JwCRE_PxyK4t2A76iuST6W_jewmNE-1epMH8yAXFPMg" or "DpUHeYQg5xT52Tdk62t_shU5m1Lm2BIVkbhQ6EtzucE". The rest of the cache entry looks correct. Then when I call AcquireTokenSilent, the retrieval fails with "No Refresh Token found in the cache", which makes sense since it is trying to use the account identifier to retrieve the token from the cache but that account identifier doesnt exist.
Is this a bug or is it saving the tokens with a different ID for a reason?

@SirElTomato the code in this extension does not generate the key, the key is passed as input: https://github.com/Azure/Microsoft.Extensions.Caching.Cosmos/blob/master/src/CosmosCache.cs#L240, based on the IDistributedCache interface.


Add keybindings for the new shortcuts added for interactive window

Recently we added a bunch of keyboard shortcuts for interactive window.
I'm assuming we'd need to ensure they are consistent with the Native Notebooks (But not conflict/override Jupyter keyboard shortcuts).

Commands are registered and work with the new native notebooks. Validate.


Remove deprecated and legacy code

I've been looking forward to this PR ❤ !

Thanks @jteijema! If you have any suggestions, please let me know. There is a lot to remove, and I might miss things. Next step: some serious refactors :) can't wait to make that happen.


Implement iif function

Resolves #195.

@piotrszul I found some cases that weren't covered by my original implementation - things like having ResourcePath or UntypedResourcePath in the arguments, or BackboneElements.
I have fixed this by introducing a method called FhirPath.mergeWith which knows how to create a new path which can be used to accommodate values from both the invoking path and a target path.
I've also added a bunch more test coverage.


[Question] Can I use AutoMapper.EF to map Dtos to entities (including nested included relations)?

As I told in the title, is it possible to map dtos to entities with relations included?
Example model
class Product {
  public int Id {get;set;}
  public string Name {get;set;}
  public List<ProductStore> Stores {get;set}
}

class ProductStore {
  public int Id {get;set;}
  public int ProductId {get;set;}
  public int StoreId {get;set;}

  public Product Product {get;set;}
  public Store Store {get;set;}

  public decimal Price {get;set;}
}

What I need?
public async Task<ActionResult> PutProduct(int id, [FromBody]Product doc)
{
    var product = await _context.Products.Incude(p => p.Stores).SingleOrDefaultAsync(p => p.Id == id);

    // A magic method to map dto (which is also same type as data model) to connected model
    Map(doc, product);

    /*
      *  Magic function from AutoMapper executes:
      *
      *  product.Name = doc.Name;
      *  product.Stores[0].Price = doc.Stores[0].Price;
      */

    await _context.SaveChangesAsync();
    return Ok();

WHY?
Otherwise I had to manually map each field also manually modify nested lists (eg add new items, remove item if not exists in doc, or modify exists items) which makes my code repeat itself.
So, can AutoMapper help me to solve this issue? Or do you have any other suggestions for modifying data. Thanks!

I think this is better suited for StackOverflow.


A utility method to register flags in Command.Parametrized

SpongeVanilla version: 1.16.4-8.0.0 (commit 3753b5e3630bb22f25402d1f8452f7eb8afb7ce2
Java version: 8
Operating System: Windows 10
Plugins: Cosmos

Hello, at the moment in the api-8 we have to register flags one by one.
final Command.Builder builder = Command.builder()
        .parameters(this.parameters)
        .setPermission(this.permission)
        .setExecutor(this);

for (Flag flag : this.flags) {
    builder.flag(flag);
}

this.parameterized = builder.build();

I would be nice to have a methods like parameters, but for flags.
Command.Builder flags(Flag... flags)
Command.Builder flags(Iterable<Flag> flags)
Thanks for reading this issue

Yep, reasonable.

Yep, reasonable.


Add details for collapsible section markup

[Enter feedback here]
Super helpful tool that we don't cover here. Example coverage: https://gist.github.com/pierrejoubert73/902cc94d79424356a8d20be2b382e1ab

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

ID: 29f1e43f-a069-dd88-7fc7-9cc497fb94f0
Version Independent ID: c261afa7-6eb7-b3f0-9f92-6d2f3c5ac336
Content: Markdown syntax for wikis in Azure DevOps - Azure DevOps
Content Source: docs/project/wiki/wiki-markdown-guidance.md
Product: devops
Technology: devops-collab
GitHub Login: @chcomley
Microsoft Alias: chcomley

@msheets1 -- thank you for your suggestion.
@chcomley -- is this functionality available in our existing toolset?  If so, please consider adding it to the documentation.

Hi @msheets1, Thanks so much for this! I've tested the functionality and added it to the article. Once it's live, this issue will automatically close. Thanks again!


Move Microsoft vendor registry into a separate repo with a simple pull-request-based submission method

The vendor registry is a typical case where a separate Github repository similar to this, for example https://github.com/microsoft/OpenTypeVendorRegistry would be useful. The repository should host a simple machine-readable representation of the registry (could be Markdown, could be CSV), and registering new vendors should happen as a pull request.
Regards,
Adam

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

ID: 91d203fe-edb5-7fd0-88f1-40a688aee010
Version Independent ID: 42388cb3-6080-2322-5f5f-5111f3b70ffb
Content: Registered font vendors - Typography
Content Source: typographydocs/vendors/index.md
Product: typography
GitHub Login: @alib-ms
Microsoft Alias: alib

Font bakery would benefit from this


cargo bench fails when running unittests

Problem
I have a benchmark set up in my cargo project. When I run cargo bench I expect for it to execute this benchmark.
Instead, it begins executing my unit tests and then fails with a SIGKILL. However, running cargo test passes.
❯ cargo bench criterion_benchmark
   Compiling <> v1.7.0 (<>)
    Finished `bench` profile [optimized] target(s) in 3.19s
     Running unittests src/lib.rs (target/release/deps/<>_lib-799808ee04af93f2)
error: bench failed, to rerun pass `--lib`

Caused by:
  process didn't exit successfully: `<path/to/debug/target> criterion_benchmark --bench` (signal: 9, SIGKILL: kill)

Steps

create cargo bench target. I used the fibonacci example from the Criterion quick start page.
run cargo bench
observe unit test failures.

Possible Solution(s)
I was curious if there might be an issue on my side so I checked out the Criterion repo. All tests and benchmarks work fine.
It seems as though something about the way my tests are executing does not play well with cargo bench.
I may be able to work around this by bypassing unittest execution, but even executing cargo bench -- <test_name> does not help.
Notes
No response
Version
cargo 1.80.0-nightly (4de0094ac 2024-05-09)
release: 1.80.0-nightly
commit-hash: 4de0094ac78743d2c8ff682489e35c8a7cafe8e4
commit-date: 2024-05-09
host: aarch64-apple-darwin
libgit2: 1.7.2 (sys:0.18.3 vendored)
libcurl: 8.6.0 (sys:0.4.72+curl-8.6.0 system ssl:(SecureTransport) LibreSSL/3.3.6)
ssl: OpenSSL 1.1.1w  11 Sep 2023
os: Mac OS 14.5.0 [64-bit]

Just setup a new package and followed Getting Started. No issue found. Could you provide a complete minimal reproducer? Either a Git repo, or uploading a zip of your package.

Saw SIGKILL so was wondering something like https://github.com/rust-lang/cargo/issues/13961#issuecomment-2129450166. Looks like it only happens on this specific package but not other so may be irrelevant.

I'll try to repro. My crate is proprietary so I'll have to make a repro. Can you give me more information about how I can debug this or what step of the build is failing?

See https://github.com/rust-lang/cargo/issues/8961 and https://github.com/rust-lang/rust/issues/79857. Check if it is OOM-killed.

On macOS, you can view the system logs to see if the memory_pressure system is activating, or any other unusual things. You can do that with the Console app (just click "start" to start recording), or in the CLI with the log show command.

Some updates. CARGO_BUILD_JOBS=1 cargo bench does not resolve the issue. @ehuss I ran Console with cargo bench and only saw this error: unable to get a dev_t for store<PHONE_NUMBER>.

Root caused - my company laptop was blocking the executable.


Invoke 'Rename' on delayed double click

If I select a file or folder in the explorer pane, then select it again, typical UI behavior would be to take that as a 'Rename' intent. In VS Code, it appears to be a no-op, which feels counterintuitive.

FWIW Sublime and Atom (on Ubuntu) don't trigger a rename on a delayed second click either.

This feature request will not be considered in the next 6-12 months roadmap and as such will be closed to keep the number of issues we have to maintain actionable. Thanks for understanding and happy coding!


undefined passed as argument #1 for "whereComposite" operation

Hi! I'm trying to do a simple patch on a model I've got, and I'm running into the following issue. I don't believe I'm doing anything tricky, though I'm sure it's something I'm doing wrong
Here's my class:
export class User extends Model {
  static tableName = 'users';

  static jsonSchema = {
    type: 'object',
    required: ['companyId', 'email'],
    properties: {
      email: { type: 'string', minLength: 1, maxLength: STRING_MAX_LENGTH },
      companyId: { type: 'string', minLength: ID_LENGTH, maxLength: ID_LENGTH },
      title: { type: ['string', 'null'] },
      name: { type: ['string', 'null'] },
      isManager: { type: 'boolean' },
    },
  };

  static get relationMappings() {
    return {
      company: {
        relation: Model.BelongsToOneRelation,
        modelClass: Company,
        join: {
          from: 'users.companyId',
          to: 'companies.id',
        },
      },
    };
  }
}

it extends a base Model I created for convenience
export default class extends Model {
  $beforeInsert() {
    this.created_at = new Date().toISOString();
    if (this.constructor.jsonSchema.properties.id) {
      this.id = uuid();
    }
  }

  $beforeUpdate() {
    this.updated_at = new Date().toISOString();
  }

  get term() {
    return {
      start: this.termStart && this.termStart.toISOString(),
      end: this.termEnd && this.termEnd.toISOString(),
    };
  }

  set term(term) {
    this.termStart = term.start;
    this.termEnd = term.end;
  }
}

And here's what I'm running (it's in a REPL, so the first line happens seconds before the second)
> User.query().findOne({ email: '...' }).then(u => global.u = u)
> u.$query().patch({ isManager: true }).then(u => console.log(u))

However, as the title suggests, I'm getting the somewhat cryptic error "undefined passed as argument #1 for 'whereComposite' operation" on the second line. I'm sure I'm doing something wrong, though, to tell you the truth, it seems very likely Objection could do a better job of telling me what I'm doing wrong.

Does User have an id property or some other primary key and have you specified it using static idColumn = 'theIdColumn'? The jsonSchema doesn't seem to mention id property which is the default idColumn.

Its primary key is email. I guess I missed the idColumn documentation. My bad! I do think the error message could have been less cryptic though. :)

I'll add a better error message for that case. The idColumn documentation is a bit hidden also, but I don't really know how and where to document it better. Any suggestions?

Great, thanks! Personally, I'm quite example-driven, so I think the most effective way to have gotten me to notice it would have been to have an example that uses it in the overview of Models. Currently, the only example is down in the documentation specific to idColumn, so you kind of have to be looking for it to see the example.

That's true. The reason I haven't added it to the model examples is that it usually doesn't have to be specified, and I wanted to keep the examples as simple as possible. I'll add it to the examples.


peerpod ctrl

This is integration of peerpod-ctrl in this controller

* This is rebased on top of #282
* currently supports only aws (waiting for azure upstream merge)
To install:

build and install controller normally, and KataConfig with enablePeerPods: true
make sure caa pods are up and running
run kubectl apply -f hack/caa-rbac.yaml workaround to set rbac for the caa pods (I'm not sure if they require to be restarted)
change the caa pod images from quay.io/confidential-containers/cloud-api-adaptor-aws to quay.io/confidential-containers/cloud-api-adaptor to make sure the peerpod-ctrl caa changes included (related also to #284)
then you should be able to run a (peer)pod and see PeerPod object created (it owned by the pod) and managed by the controller in case of deletion failure

TODOs:

make caa pod to be deployed with the correct rbac permissions
controller rbac for PeerPod modified manually, generate it using kubebuilder instead
remove hack patch
make sure it's rebased correctly once

This is all fixed, just build and test

azure is enabled but not tested

Removing WIP, I added a commit to keep up with https://github.com/openshift/sandboxed-containers-operator/pull/286 however, I'm not sure it's correct as locally i'm failing to build after this change
cc @bpradipt @jensfr @cpmeadors

The PR description is really confusing.  What does this PR actually implement/change?  Is there a jira issue for this?

This is the downstream integration part of the dangling resources controller in the sandboxed-container-operator, IIRC it's referred under the same Jira.
Also updated the commit msg to point to the upstream controller doc to make it clearer

I don't feel like I'm qualified to do a thorough review of this PR, but I did not noticed anything that looked obviously wrong.


[AMBARI-24052] Add Kerberos-related configuration recommendations to the stack advisor

What changes were proposed in this pull request?
Add Kerberos-related configuration recommendations to the stack advisor.

Add a new action, recommend-configurations-for-kerberos, to query services for only Kerberos-related configuration changes

The default implementation of new entry point (recommendConfigurationsForKerberos) calls back into the original recommendConfigurations for backwards compatibility.  As services support this new feature recommendConfigurationsForKerberos can be overridden in their service advisor implementations.
How was this patch tested?
Manually tested various scenarios to ensure the stack advisor results were the same with and without this patch and different when explicitly set to be - clean , upgrade, Kerberos-enabled, etc...
Executed unit tests:
mvn clean test package  -pl ambari-server

...

[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28:07 min
[INFO] Finished at: 2018-06-07T09:58:52-04:00
[INFO] Final Memory: 68M/1409M
[INFO] ------------------------------------------------------------------------

Please review Ambari Contributing Guide before opening a pull request.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2631/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2634/
Test PASSed.


Release 0.2.0

This looks great! Only main feedback is that I'd like to see the webserver Scala code moved into its own sub-package codepath.

Very good.
Now soon I'll push tests and we need to know what's wrong with 2.11 in Travis build.
Also I've noticed that I missed our special cases for duplicated keys (I'll fix it quickly).


plot_histogram() is not displaying any plot

Information

Qiskit Terra version:
Python version:
Operating system:

What is the current behavior?
Steps to reproduce the problem
What is the expected behavior?
Suggested solutions

It's working fine for me, can you update the description with the qiskit version, and some steps to reproduce the issue?

Thank you for your response Aditya.  The qiskit version is 0.19.2 as it is
shown below.
{'qiskit-terra': '0.14.1', 'qiskit-aer': '0.5.1', 'qiskit-ignis': '0.3.0',
'qiskit-ibmq-provider': '0.7.1', 'qiskit-aqua': '0.7.1', 'qiskit': '0.19.2'}
Also, I attach the snapshot of the code used from Qiskit textbook
wherein *plot_histogram(counts)
is used to get the histogram. *But it is not displayed.
What is the problem ? Had it been stored somewhere else ?

Thank you in advance.
Waiting for your response
*. *
Regards
On Fri, Jun 5, 2020 at 2:15 PM Aditya Giridharan<EMAIL_ADDRESS>wrote:

It's working fine for me, can you update the description with the qiskit
version, and some steps to reproduce the issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Qiskit/qiskit-terra/issues/4504#issuecomment-639345971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACDQJP565TTW3PI4V26YWX3RVCWA7ANCNFSM4NML5TMA
.

@haqenam786 have you imported plot_histogram from the qiskit library? You need to run this line of code from qiskit.visualization import plot_histogram if you're doing it locally.
If you're executing on the qiskit textbook website directly, you need to run the cell that contains that line of code before you can use plot_histogram.

Yes that line is taken in the code. I think it is visible in the attached
file. I used it.
On Fri, Jun 5, 2020, 4:06 PM Aditya Giridharan<EMAIL_ADDRESS>wrote:

@haqenam786 https://github.com/haqenam786 have you imported
plot_histogram from the qiskit library? You need to run this line of code from
qiskit.visualization import plot_histogram if you're doing it locally.
If you're executing on the qiskit textbook website directly, you need to
run the cell that contains that line of code before you can use
plot_histogram.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Qiskit/qiskit-terra/issues/4504#issuecomment-639398094,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACDQJP6TWRHPQENIBEZ74FTRVDDA7ANCNFSM4NML5TMA
.

are you running on a jupyter notebook?

No, I run it over spyder. That was the problem. Now, I run it over Jupyter
notebook and I got it.
Thank you for your cooperation
On Tue, Jun 9, 2020 at 1:31 AM Luciano Bello<EMAIL_ADDRESS>wrote:

are you running on a jupyter notebook?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Qiskit/qiskit-terra/issues/4504#issuecomment-640855788,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACDQJPZ6VXCAZL5QF6FNKFDRVU7SPANCNFSM4NML5TMA
.

It seems related with #4397

duplicated #4387


preview mode

It'd be good to have a mode where stacker figures out what would change and lets you know.

This is handled by diff!


Unable to add items to cart or view cart

Currently I am unable to add items to the cart or view the cart this has implications on workshop 4.1 as well as it means I am unable to create a segment targeting users who have a shopping cart.

Caused by the cart service failing to deploy - due to a go module loading error.  Redeploying the service through the build pipeline worked without hitting the same error.  Tested deploying the stack again, and didn't come across the issue, which suggests a transient issue.  Will reopen if it occurs more frequently


Would you open source the code for the data processing？

Hello, Author! I want to ask you how you process the raw dataset? How do you convert the raw data into txt files (code to CPG and tagging)? Can you open-source the code for the data processing? I would be grateful if you could answer!
dataset = tf.data.Dataset.list_files(### data_path + '/*.txt', shuffle=mode != 'eval', seed=42)

你好，作者！我想问你如何处理原始数据集？如何将原始数据转换为 txt 文件（代码到 CPG 和标记）？你能开源数据处理的代码吗？如果您能回答，我将不胜感激！
dataset = tf.data.Dataset.list_files(### data_path + '/*.txt', shuffle=mode != 'eval', seed=42)

Hi, have you got a reply to this question?


Authority Aggregator exits early when there are too many conflicting txes

Description
Currently, if a tx has a lot of conflicts, it's likely that we don't exit until we talk to every validator, which isn't effective, most times than not. This PR adds an early exit point, when the stake of most staked tx  + retryable stake is less than the quorum stake, we know for sure this object is equivocated. One example it tackles with is, when one obj has two txes, each with f+1 stake.
Test Plan
How did you test the new or updated feature?

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] protocol change
[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes
Authority Aggregator exits early when there are too many conflicting txes

Any possibility of new test cases?

added a test case test_early_exit_with_too_many_conflicts


SSL/TLS Link returns 404

this page is linked to from this doc, and returns a 404 https://support.microsoft.com/en-us/help/257591

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

ID: 21d33e8b-89ac-eecf-f926-263491a223af
Version Independent ID: 9899274d-7495-b9f7-6740-c30fc376d56d
Content: Data security and encryption best practices - Microsoft Azure
Content Source: articles/security/fundamentals/data-encryption-best-practices.md
Service: security
Sub-service: security-fundamentals
GitHub Login: @TerryLanfear
Microsoft Alias: terrylan

@shawnweisfeld - Thank you for the feedback! The link is being fixed now.

@shawnweisfeld Thanks for the feedback !  I have assigned this issue to content author to investigate and update the document as appropriate.

@shawnweisfeld - Thank you for this feedback. The broken link has been removed.
#please-close


Turning on "Override light direction" via code doesn't seem to work.

Turning on 'override light direction' and setting pitch/yaw values during runtime via code doesn't seem to work correctly.
material.EnableKeyword("DR_ENABLE_LIGHTMAP_DIR");
material.SetFloat("_OverrideLightmapDir", 1);
material.SetFloat("_LightmapDirectionPitch", pitchValue);
material.SetFloat("_LightmapDirectionYaw", yawValue);
So during runtime there's no change to the material. However, if I select the mesh and fold open the material instance, all of a sudden it works. Not sure if this is a bug or I just can't find the correct keyword to enable, but any help would be much appreciated.
Unity details:

Flat Kit version: Unsure, I can't find it in my 'in project' section of Unity Package Manager.
Unity version: 2020.3.25f1
Graphics Pipeline: URP
URP version: [e.g. 10.7.0]
Development OS: Windows

Build platform:

Platform: Unity Editor

Additional context
Add any other context about the problem here.

Hi,
To find out the version of Flat Kit, you'll need to go into Package Manager, and look at the 'Packages' menu -> 'My Assets'. You should see Flat Kit there.
Also, you can locate the [Readme] file, by default it is in the Assets/Flat Kit folder and see the Flat Kit version there
This info, with a video guide as well as the screenshots, is in the Flat Kit documentation here — please, look at the step-by-step installation guide or just watch the video guide.
Could you please locate the [Readme] file, press the 'Copy debug info' button and paste it here?

Hi @Jointy87 ,
What you are seeing is because some of the material properties are set by our custom Material Inspector (the class StylizedSurfaceEditor). Most properties should work fine when setting directly (like a color or a texture), but some others (like toggling a feature) are not possible at runtime because they require re-compiling the shader. We use compile-time shader features for performance reasons.
I suggest that you enable the keyword via the material inspector (instead of doing material.EnableKeyword("DR_ENABLE_LIGHTMAP_DIR");). The light angle then can be controlled via code as you are doing above. If you absolutely need a runtime toggle of the whole feature, you can use two separate materials with both states of the toggle, and switch between the materials via code.

Hey,
Thanks again for the quick reply and for the help. I'll have to tackle it slightly different than I initially intended then. Cheers!


Intersphinx links for navigation

Need to provide more details on our branching naming scheme to build the substitutions for links.


Updating Certificate duration does not update the Secret (CA Issuer)

Describe the bug:
Updating the duration field of a Certificate (at least with the CA Issuer) seems to be ignored by cert-manager: the Secret is not updated with a new certificate.
Expected behaviour:
When updating the duration field of a Certificate I would expect the CA Issuer to create a new tls cert with the newly asked certificate duration in the target Secret.
Steps to reproduce the bug:

create a Certificate with no duration field, with CA Issuer (defaults to 90d)
update the Certificate: add

  duration: duration: 8760h # 365d

wait: the secret never changes, the Certificate status doesn't change.
cert-manager logs: it did saw the Certificate update but did nothing:

I0702 09:56:15.187029       1 controller.go:129] cert-manager/controller/certificates "msg"="syncing item" "key"="default/mycert"
I0702 09:56:15.187488       1 helper.go:62] cert-manager/controller/certificates/CalculateDurationUntilRenew "msg"="requested certificate validity period differs from period given on returned certificate" "related_resource_kind"="Secret" "related_resource_name"="mycert-tls" "related_resource_namespace"="default" "resource_kind"="Certificate" "resource_name"="mycert" "resource_namespace"="default" "actual_duration"=7776000000000000 "requested_duration"=31536000000000000
I0702 09:56:15.187704       1 helper.go:62] cert-manager/controller/certificates/CalculateDurationUntilRenew "msg"="requested certificate validity period differs from period given on returned certificate" "related_resource_kind"="Secret" "related_resource_name"="mycert-tls" "related_resource_namespace"="default" "resource_kind"="Certificate" "resource_name"="mycert" "resource_namespace"="default" "actual_duration"=7776000000000000 "requested_duration"=31536000000000000
I0702 09:56:15.187750       1 util.go:177] cert-manager/controller/certificates "msg"="certificate scheduled for renewal" "duration_until_renewal"="1401h7m12.812279249s" "related_resource_kind"="Secret" "related_resource_name"="mycert-tls" "related_resource_namespace"="default" "resource_kind"="Certificate" "resource_name"="mycert" "resource_namespace"="default"
I0702 09:56:15.187773       1 sync.go:310] cert-manager/controller/certificates "msg"="certificate does not require re-issuance. certificate renewal scheduled near expiry time." "related_resource_kind"="Secret" "related_resource_name"="mycert-tls" "related_resource_namespace"="default" "resource_kind"="Certificate" "resource_name"="mycert" "resource_namespace"="default"
I0702 09:56:15.188075       1 controller.go:135] cert-manager/controller/certificates "msg"="finished processing work item" "key"="default/mycert"

Anything else we need to know?:

Deleting the target Secret made cert-manager create a new certificate with the expected new duration.

Environment details::

Kubernetes version:v1.16.8
Cloud-provider/provisioner: Azure AKS
cert-manager version: v0.13.1
Install method (e.g. helm or static manifests): helm chart cert-manager-v0.13.1

/kind bug

I tested this in v0.15.2 with experimental controllers enabled(https://cert-manager.io/docs/release-notes/release-notes-0.15/#experimental-controllers) as these will be the default in 0.16. And I was able to get a new certificate issued.
As this is working in the latest release I am going to close this issue.
Feel free to reopen if you still encounter this is the latest version.
/close

This issue is still exist, when we upgrade duration, file not changed.


[c2][decode]Support can update codec2.0's configure if OutputDelay less than sugguested value.

If OutputDelay less than sugguseted value from MFX, instead of returning error to C2, update the value.
Modify the default value of VP9 format from 10 to 11.

Signed-off-by: zhangyichix<EMAIL_ADDRESS>

From my tests, decRequest.NumFrameSuggested which from MFX is just suggested value, even if our m_uOutputDelay less than it, the program usually still works fine. So I suggest don't return error to c2 directly.
m_updatingC2Configures can be used to update any configures of codec2 by push values. It will finally push in worklet->output.configUpdate to update on function WaitWork.
Why modified to 11?
I post the logic of MFX below.
from function QueryIOSurfInternal：
p_request->NumFrameMin = p_params->mfx.CodecId == MFX_CODEC_VP8 ? mfxU16(4) : mfxU16(8);
p_request->NumFrameMin += p_params->AsyncDepth ? p_params->AsyncDepth : MFX_AUTO_ASYNC_DEPTH_VALUE; // MFX_AUTO_ASYNC_DEPTH_VALUE = 5
p_request->NumFrameMin += 2;
p_request->NumFrameSuggested = p_request->NumFrameMin;
If p_params->AsyncDepth = 1, NumFrameSuggested = 8 + 2 + 1 = 11

@dyang23 @TianmiChen @Shao-Feng

Hi everyone, after some tests and discuss with tianmi and dong, I realized I was wrong. The m_c2Allocator can't fetch more buffers than initialized count. So I have reverted those codes.
But I want to keep m_updatingC2Configures. It might be useful for updating other codec2's configures in future.


[regression] Starlight mdx files no longer properly combine script tags present in nested astro Components (build mode only)

What version of starlight are you using?
0.22.3
What version of astro are you using?
4.8.4
What package manager are you using?
npm
What operating system are you using?
Linux
What browser are you using?
Not relevant
Describe the Bug
Given the following Starlight mdx file:
---
// src/content/docs/issue.mdx
title: the issue
---

import Example from '../../examples/Example.astro';

<Example/>

Which uses the following Example Astro component:

---
// src/examples/Example.astro
import Wrapper from "../components/Wrapper.astro";
---

<Wrapper>

The square below is expected to be blue at runtime.

</Wrapper>

Which itself contains an instance of the following Wrapper Astro component:
---
// src/components/Wrapper.astro
---
<slot />

We expect both script tags present in the Wrapper and Example component to run.
This is, however, not the case when when running the project from a build folder.
In that situation, the script tag present in the Examplecomponent 'disappears' and only the script tag present in the Wrapper component runs.
The issue does not occur when running through the dev server.
The issue does not occur when the Example component is inserted in an Astro page.
The issue appears only when using Astro v4.8.0 or higher.
Link to Minimal Reproducible Example
https://github.com/david-hodgetts/starlight-mdx-with-astro-component-script-tag-issue
Participation

[ ] I am willing to submit a pull request for this issue.

I think this is a duplicate of #11063. So this is not a starlight issue per se. Sorry for posting in the wrong repo.

Thank you david i'm running into the same issue!

Thanks for reporting @david-hodgetts! I also think it’s a duplicate of https://github.com/withastro/astro/issues/11063, so will close this one in favour of that one — probably nothing we can do in Starlight itself.
For anyone else finding this, I guess until https://github.com/withastro/astro/issues/11063 is fixed, downgrading to Astro 4.7 might be the best approach.


Visiblity while selecting a pencil, shape and all other hover effects

I felt frustrated when we select a shape among square circle and trianlgle It don't have good UI to select one of them
we don't get the shape highlighed only the one we are selecting and all three gets highlighted on hover.
Also on selecting the pencil the options in dropdown have color similar to background which make it less visible.
I will improve the UI on hover of this and the section of selecting the pencil.

Hi there @Utsavladia 👋🏻, there's already an issue exists similar to yours #189.
So I'm closing this one, you can create a New issue for any other changes. Thank you!


What are the requirements of hardware equipment for training？

Hello author!
I would like to know how long it took you to train the network on what hardware? Are there any minimum requirements for the hardware of the training model? For example, NVIDIA 2080TI *2? Can it be satisfied?
Tks！

It can work with one 2080Ti in Ubuntu.


Dimenet tutorials cannot run

Hi,
I really appreciate what you did in the tutorials ,but I still met a problem when I try to train a dimenet network.
First , I make the dataset according to '/NeuralForceField/tutorials/data/create_dataset_from_file.ipynb' step by step,everything goes well.
Then I try to replace ' /NeuralForceField/tutorials/data/dataset.pth.tar' with my dataset in 06_dimenet.ipynb, however,it dosn't work.
the error is:
_---> 44     index = index.view(index_size).expand_as(src)
     47 # Generate output tensor if not given.
     48 if out is None:
RuntimeError: shape '[46080]' is invalid for input of size 360

Even I try not to replace the dataset, just run 06_dimenet.ipynb without any change,this error still occurs.I'm very confused with this error ,hope to get  your reply.
thanks!

Hey @GUYYYUG - glad you're enjoying it! Let me take a look at this, and I'll get back to you soon.

Hi, I met the same problem as GUYYYUG mentioned above. I am wondering how to tackle it as well. Thanks!

Hi everyone - this commit should fix the issue. Does the tutorial run now?

@simonaxelrod Hi, Thank you very much. It seems that this notebook works now. @GUYYYUG Thanks for your raising the issue as well. Feel free to contact me supposing you would like anyone to talk about GNN for molecular problems. BTW, I am now a toddler in this field from China.

Great, glad it works now! I'm going to close the issue but feel free to respond again if there are any other problems.

Thanks very much for your latest commit!!  @simonaxelrod
I am recently doing an internship about  molecular,however, I know little about this area. I am a junior undergraduate student at THU.glad to talk with you! @LingsparkQ


Ft-283 Added simple visual test

Which Issue was this PR made for?

Closes #283

What is within the scope with this PR

[x] make test to run test
[x] make test-headed to run it with running a chromium
[x] Simple client side test without server

[x] Enter test for roomname and click create
[x] Enter test for username and click join
[x] Leave room

What is NOT in the scope with this PR

Different browser testing
Testing with server

Other sidenotes that reviewer should be aware of
I only ran it on linux, not sure how it works with WSL @siberowl

AUTOMATED: Deployed to https://pr-300.dev.mochatto.com

AUTOMATED: Deployed to https://pr-300.dev.mochatto.com

AUTOMATED: Deployed to https://pr-300.dev.mochatto.com


Support Compass SASS compiler

Vaadin ships its own SASS compiler but it doesn't support all the features SASS provides. The plugin could provide an option to use the compass sass compiler as an alternative.

Supported via the new vaadin.plugin.themeCompiler = 'compass'  option.


Command line & drag and drop

Hello,
Congratulations for your softwre, is becoming the best tool for to manage dsk files.
When I was 16 I had an Amstrad PCW 8256, late on became a 8512 due to I worked for an Amstrad technical service company, even I adapted a 5 1/4 drive to my PCW in order to reduce disk costs, that's why today I enjoy with PCW emulators, Joyce from John Elliott and PCW Box from Habi, also I had a ZX Spectrum, and many of my frieds had an Amstrad CPC, so I play a lot with dsk files, thats why I love DiskImageManager.
I would like advice a couple of things:

Be able to open a dsk file using the command line, for example with KuShellExtension, another great program.
Or extract the specified files to a specified folder, using wildcard.

Be able to manage files inside dsk image with drag and drop, that way the file management will be really quick.

Perhaps, this wouldn't be difficult to do.
Right now we support read/extract only and I don't have any immediate plans to allow adding files/writing to DSKs.

The main problem with drag-to-export is that some files you will need the headers and other files you might not. There isn't a clear way to decide where to put this in the drag-drop model.


StartActive() overload with finishSpanOnDispose:true

Resolves #73.
This is done by adding the method to the interface. I think this is better as it keeps everything in one place. We have to rely on tracers implementing this correctly but this shouldn't be a concern IMO (as they also have to implement all other behaviors correctly).
An alternative would be to add the method as an extension method. The advantage would be that it is non-breaking and that we could provide the implementation. However this would make the API a little bit more complex as methods would then be on interfaces and extension types. Also, NoopTracer could no longer immediately return (which probably is a negligible cost though).
Thoughts?

An alternative would be to add the method as an extension method.

I think it's fine to put that in the main API (on the latest Cross-Language group call on Friday we talked briefly about this, and on Python we will also be providing such overload with finish_span_on_close=True).

@carlosalberto what's the latest status here? Can we add this overload in a next release or does it need further discussion?

As discussed in #73, this should be fine so I'll merge it. Feel free to post any concerns in #92 before we do the next release or create a new issue afterwards.


Warn when table is not saved/created/updated

I'm not sure if I'm the only stupid around here, but usually when I'm writing a migration I forget to append create()/update()/save() to the end of the method chain. Even though, the migration is run just fine, and I spend a minute or two staring at the table structure in my IDE, wondering why it haven't changed... until I notice I forgot to update().
I wonder if it would be possible to issue a warning inside the table's __destruct() if none of those three "final" methods have been called? It's not possible to throw an exception but maybe print/throw a plain warning would be fine, so other forgetful guys will know they made a mistake.

Would be even cooler if the right method (save/create/update) could be called directly from __destruct(), but I guess this is not possible because they might throw exceptions, right? Also, I'm not sure if they would be called in the right order.

You could subclass the Phinx::AbstractMigration class and add your own functionality. All supported by Phinx.
In your phinx.yml file, look for, or add migration_base_class:xxxx, where xxx is your newly created AbstractMigration class. You shouldn't need to create your own template (you can if you want to add additional documentation to remind you that you are running a subclass).


[OSPO Book] Add new terms to glossary.md

Since the last PR where we changed the overall OSPO Book structure to be deployed in a hugo-framework website  in the future, this PR can't be merged and has been converted into a duplicated of this one https://github.com/todogroup/ospology/pull/350 that follows the new structure and contains the same content.


Fix copy to clipboard error because action is undefined

Details

Can't copy to clipboard a money request system message in a one-expense report because the action is undefined.
Fixed Issues

$ https://github.com/Expensify/App/issues/51127
PROPOSAL: https://github.com/Expensify/App/issues/51127#issuecomment-2425035891
Tests

Same as QA Steps

[x] Verify that no errors appear in the JS console

Offline tests

Same as QA Steps
QA Steps

Open a workspace chat that has no unsettled expense
Submit a money request
Open the one-expense report
Edit money request info (desc, merchant, etc.)
Right-click/long-press the system message
Choose Copy to Clipboard
Verify it copies the system message by pasting it to the composer

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

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

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native

https://github.com/user-attachments/assets/7472d1c0-71f7-477a-a05a-1c467b17c3cf

Android: mWeb Chrome

https://github.com/user-attachments/assets/441e7ee7-0be2-46ee-bf73-37696d9e497c

iOS: Native

https://github.com/user-attachments/assets/e9f8fcb2-4330-49cd-98a5-ef783d6d4300

iOS: mWeb Safari

https://github.com/user-attachments/assets/c0febb1d-d304-4e06-958f-bf4ac96e7770

MacOS: Chrome / Safari

https://github.com/user-attachments/assets/5aedc30c-a976-48c5-80c4-8454ed922271

MacOS: Desktop

https://github.com/user-attachments/assets/8c6fedfd-6b7a-4dc6-a7b7-0891298b840f

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.


Sync issues with the Sent directory on IMAP

Expected behavior
When a message is sent, it is copied to the Send directory locally and on the server. If a sync is issued on that folder, then the local Sent will reflect the changes of the server, including any recently sent messages.
Actual behavior
The messages are copied to the local Sent directory but not the Sent directory on the IMAP account.
Steps to reproduce

Send a message from K-9.
Check the Sent directory in another email client.

Environment
K-9 Mail version:
Android version: 9
Account type (IMAP, POP3, WebDAV/Exchange): IMAP

Please provide a debug log. See https://github.com/k9mail/k-9/wiki/LoggingErrors

I've attached two logs. One with K-9 Mail 5.708 on Android 9 where the problem persists. One log with K-9 Mail version 5.705 on Android 7.1.2 where the problem does not occur. I've used the same account on both devices. Imho it is a very severe issue as one is not possible to export sent emails and lose them forever if the account is removed/added again etc.
k9-log_5.705_Android 7.1.2.txt
k9-log_5.708_Android 9.txt

@daniell1 Thank you extremely much!

@daniel1: The server returned the error response: NO [TOOBIG] Message is too big (0.000 + 0.000 secs). (it was almost 70 MB large).

@cketti : No, definitely not. I've sent the message to the inbox of the same account. The message's size is only a few kB. I only wrote Test into the Subject and my signature was automatically added to the body. Nothing else in the email, so I expect a bug in K-9 Mail.
BTW: I have another IMAP account on the phone which does not have the problem. And after I've read mails from the problematic account they are not marked as unread on the server and vice versa.

I've just sent a new completely emtpy email (without subject and signature in body) and it's the same.

Can you please record a debug log while sending an almost empty message?

Oh, nevermind. The upload that failed is to the Trash folder.
04-19 14:15:17.858 26886 26903 V ImapConnection: conn6647058>>> 63 APPEND "INBOX.Trash" (\Seen) {69211209}
04-19 14:15:17.943 26886 26903 V ImapConnection: conn6647058<<<#63# [NO, [TOOBIG], Message is too big (0.000 + 0.000 secs).]

You just made my day (or night... :D). I checked the trash on the mobile. I don't use the trash and it was empty on the server. However not on the mobile. Seems like there was something stuck. I deleted everything on the mobile and voila: all pending messages have been synced! Also marking them read/unread works again! @davidhedlund maybe the same for you? Is something stuck anywhere?


Switch our lazy array classes to use Dask instead?

Ported from #1724, comment by @shoyer

In the long term, it would be nice to get ride of these uses of _data, maybe by switching entirely from our lazy array classes to Dask.

The subtleties of checking _data vs data are undesirable, e.g., consider the bug on these lines:
https://github.com/pydata/xarray/blob/1a012080e0910f3295d0fc26806ae18885f56751/xarray/core/formatting.py#L212-L213

This comment has the full context: https://github.com/pydata/xarray/issues/1372#issuecomment-293748654. To repeat myself:

You might ask why this separate lazy compute machinery exists. The answer is that dask fails to optimize element-wise operations like (scale * array)[subset] -> scale * array[subset], which is a critical optimization for lazy decoding of large datasets.
See https://github.com/dask/dask/issues/746 for discussion and links to PRs about this. jcrist had a solution that worked, but it slowed down every dask array operations by 20%, which wasn't a great win.
I wonder if this is worth revisiting with a simpler, less general optimization pass that doesn't bother with broadcasting. See the subclasses of NDArrayMixin in xarray/conventions.py for examples of the sorts of functionality we need:

Casting (e.g., array.astype(bool)).
Chained arithmetic with scalars (e.g., 0.5 + 0.5 * array).
Custom element-wise operations (e.g., map_blocks(convert_to_datetime64, array, dtype=np.datetime64))
Custom aggregations that drop a dimension (e.g., map_blocks(characters_to_string, array, drop_axis=-1))

If we could optimize all these operations (and ideally chain them), then we could drop all the lazy loading stuff from xarray in favor of dask, which would be a real win.

The downside of this switch is that lazy loading of data from disk would now require dask, which would be at least slightly annoying to some users. But it's probably worth the tradeoff from a maintainability perspective, and also to fix issues like #1372.

The downside of this switch is that lazy loading of data from disk would now require dask, which would be at least slightly annoying to some users. But it's probably worth the tradeoff from a maintainability perspective, and also to fix issues like #1372.

I'm really not opposed to this. I also think it would be a good/reasonable thing to do before 1.0. There may be some pure-numpy Xarray users out there but I suspect they could 1) handle having dask as a dependency and 2) wouldn't be all that affected by the change since the in-memory workflow isn't particularly dependent on lazy evaluation.

Yeah, we could solve this by making dask a requirement only if you want load netCDF files and/or load netCDF files lazily.
Potentially chunks=False in open_dataset could indicate that you're OK loading everything into memory with NumPy. We would then have to choose between making the default use Dask or NumPy.

I just had to confront and understand how lazy CF decoding worked in order to move forward with #1528. In my initial implementation, I applied chunking to variables directly in ZarrStore. However, I learned that decode_cf_variable did not preserve variable chunks. So I switched the chunking to after the call to decode_cf.
My impression after this exercise is that having two different definitions of "lazy" within xarray leads to developer confusion! So I favor putting dask more central in xarray's data model.

I'm rather a numpy-xarray user than a dask-xarray user (since most often my data fits in memory), but I wouldn't mind at all having to install dask as a requirement!

Potentially chunks=False in open_dataset could indicate that you're OK loading everything into memory with NumPy. We would then have to choose between making the default use Dask or NumPy.

Maybe like other users who are used to lazy loading, I'm a bit more concerned by this. I find it so handy to be able to load a medium-sized file instantly, quickly inspect its content, and then work with only a small subset of the variables / data, all of this without worrying about chunks.
Assuming that numpy-loading is the default, new xarray users coming from netcdf4-python and who don't know much about dask might find xarray a very inefficient tool when trying to first import a medium-sized netcdf file.
If choosing chunks=False as default, I can also imagine often forgetting to set it to True when loading a file that is a bit too big to load in memory... That would be annoying.
By saying "making the default use Dask", do you mean that data from a file will be "loaded" as dask arrays by default? If this is the case, new xarray users which are probably not familiar with dask (at least less likely than they are familiar with numpy) will have to learn 1-2 concepts from dask before using xarray. This might not be a big deal, though.
In summary, I'm also really not opposed to use dask to replace all the current lazy-loading machinery, but ideally it should be as transparent as possible with respect to the current "user experience".

Since #1532, the repr for dask-backed variables does not show any values (to avoid triggering computations). But numpy-backed lazily-masked-and-scaled data is treated differently: it is shown.
This highlights an important difference between how LazilyIndexedArray and dask array work: with dask, either you compute a whole chunk or you compute nothing. With LazilyIndexedArray, you can slice the array however you want and only apply mask_and_scale to the specific items you have selected. This small difference has big performance implications, especially for the "medium sized" datasets @benbovy refers to. If we changed so that decode_cf used dask, you would have to compute the whole chunk in order to see the repr.
So on second thought, maybe the system we have now is better than using dask for "everything lazy."

@rabernat actually in #1532 we switched to not displaying a preview of any lazily loaded data on disk -- even if it isn't loaded with Dask. (I was not sure about this change, but I was alone in my reservations.)
I do agree that our lazy arrays serve a useful purpose currently. I would only consider removing them if we can improve Dask so it works just as well for this use case.

Should we close this? Seems like we've headed in a different discussion with our lazy array implementation.


Added Exit/close menu on LBRY Android App

The Issue
Would be nice if lbry app android version have Exit/close menu . this can make alpha testers can quiting app by tapping on this menu..
System Configuration

Device: Lenovo Vibe K4 Note
Android version: 6.0 Marshmallow

Anything Else

Screenshots

NO. Please DON'T.
For exit, just press the HOME device button and find a way to exit the app, normally via the multitask list.
Exit buttons are against best practices in Android.

Thank you for posting the issue. It is not standard practice to have an exit or close option in Android apps. You can either press the device's home button to return to your home screen, or the back button until the app is dismissed.


Coco Hub module added.

Orijinal Repo: https://github.com/mcvarer/coco_toolkit

[ ] The readme.md file will be updated.