Remove ayosef from codeowners :/

I'll miss you guys :)

Codecov Report

Merging #1018 (a637a32) into main (b822ea9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1018   +/-   ##
=======================================
  Coverage   30.57%   30.57%
=======================================
  Files          45       45
  Lines        5518     5518
=======================================
  Hits         1687     1687
  Misses       3596     3596
  Partials      235      235

Continue to review full report at Codecov.

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

Test results are available in Ibutsu. The test run IDs are:
969ec603-9d16-4a17-81f0-72ec59cfee9c
a6939e02-2715-495f-acb0-8bbe61a766f6


Typography > Overview page should be locked horizontally in mobile

The page moves all around in mobile

https://v9.carbondesignsystem.com/guidelines/typography/overview#type-scale

@vpicone This applies to IDL as well.

@vpicone Moved this up the chain.


How to load a component with children?

💬 Questions and Help
How do I load a component with children attached to it, like Tabs.Panels?
Here's the export on the component:
export let Tab = Object.assign(TabRoot, { Group: Tabs, List, Panels, Panel })
Also, probably a dumb question, but if I import a component that imports huge_node_module and then another that also imports the same huge_node_module, will huge_node_module be loaded twice?

For such case you should use "library" adapter - https://loadable-components.com/docs/library-splitting/


Create Symlink or Add VirtualDirectory

Hi,
I'm attempting to get simplesaml to work within my DrupalVM environment. It is currently working within Acquia, using a Symlink that points from docroot/simplesaml to ../simplesamlphp/www
The symlink is part of my git repo, but simply appears as a file in my docroot named simplesaml with the contents ../simplesamlphp/www
I've read that there are issues with symlinks, vagrant and windows, none of the solutions I found seemed inline with DrupalVM/my setup.
Another alternative that could work would be to create an Apache VirtualDirectory and point it to the simplesamlphp/www folder, I just don't know how to go about configuring that.
I am on DrupalVM 2.5.1, I'm not opposed to upgrading if that is a requirement.
As always any help is appreciated.
Thanks,
Rich

alright I was able to create a symlink manually by adding the following to my vagrantfile:
config.vm.provider :virtualbox do |v|     v.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"]  end
I then vagrant up --provision from with a shell (git for windows) running as administrator -- I could then ssh into my vagrant guest OS and create a symlink using ln -s -- prior to this I would get a "protocol error"
I'm still curious if there's a better approach -- ideally I think the Apache Virtual Directory would be more sustainable for me / my team as I'm afraid this solution is a bit fragile.

@sbubaron - One way to make that hack work a little better in the interim is to add it to a Vagrantfile.local file that you commit to your project repo—that way you don't have to maintain a fork of Drupal VM just for that project.
In the past, when I've dealt with simpleSAMLphp, I just gave up on getting it working in the local environments for a number of reasons :)
If you're on Windows, and you need to use symlinks, you have to use native synced folders (or suffer through some strange speedbumps with SMB or trying NFS), and it's best to have the symlink generated within the VM. And then on top of all that, there will be some other 'fun' problems that crop up.

See related: http://www.jeffgeerling.com/blog/2016/using-smb-symlinks-instead-native-synced-folders-vagrant-and-virtualbox
Also: http://docs.drupalvm.com/en/latest/other/windows/

I'm going to close this issue as I can't see any further way of making it work better in a Windows environment besides what's already mentioned in the above two links; SMB especially is helpful in this case, but the main thing is symlinks are a little difficult to manage in a Windows environment, so I recommend if at all possible to avoid their use.

Np it's actually working well for me, I'll try to remember what I did
exactly and share.
Rich
On Jul 24, 2016 1:02 PM, "Jeff Geerling"<EMAIL_ADDRESS>wrote:

I'm going to close this issue as I can't see any further way of making it
work better in a Windows environment besides what's already mentioned in
the above two links; SMB especially is helpful in this case, but the main
thing is symlinks are a little difficult to manage in a Windows
environment, so I recommend if at all possible to avoid their use.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/geerlingguy/drupal-vm/issues/708#issuecomment-234788714,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKbKDuLinobo3yIQ-NDofa-80lopeczZks5qY5qngaJpZM4IvR9r
.

For whatever reason the symlink stopped working (I think it may have something to do with viewing it in a text editor?) -- so I had to recreate it.
After trying a few different things, what worked for me was opening a admin command prompt and using mklink
d:\git\doitsbu\docroot>mklink /D simplesaml ..\simplesamlphp\www
symbolic link created for simplesaml <<===>> ..\simplesamlphp\www

Don't use windows paths i.e. D:\git\doitsbu\simplesamlphp\www as they won't work in the VM.
I also created a Vagrantfile.local with:
config.vm.provider :virtualbox do |v|
  v.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"]
end

@sbubaron - Thanks so much for adding this info, it will be helpful for others setting up simplesaml locally on Windows!


Attach Network

Attaching Networks/IPs to a virtual machine

[ ] Attach external network

[ ] Method for retrieving public networks
[ ] Method for retrieving public network by Id
[ ] Method for retrieving public IPs to acquire for a virtual datacenter
[ ] Method for acquiring a public IP for a virtual machine in the virtual datacenter
[ ] Write integration test for attaching network

[ ] Release version 1.1.0

The process for attaching Network is defined as follows
IMPORTANT: Bluenets are modeled as public networks

Intitial state: Add a Bluenet (Public Network) NIC to a VM with Id = x

"Purchase" a public IP to the VM's Virtual Data Center
To select the right public network you need to know the OS of the VM and based on this you will select Bluenet Linux or Bluenet Windows

Once the IP is purchased attach it to the VM by defining the link
ipLink = {
          href : "https://ABIQUOAPIENDPOINT/cloud/virtualdatacenters/X/privatenetworks/XX/ips/XXXX",
          rel : "nic" + NumerNic,
          title : "newIp" (or any)
          type : "application/vnd.abiquo.privateip+json" (or ip type)

Attach Network

Method for retrieving public networks
Method for retrieving public network by Id
Method for retrieving public IPs to acquire for a virtual datacenter
Method for acquiring a public IP for a virtual machine in the virtual datacenter
Integration tests

resolves #39


Incorporate theming

Themes are part of the core idea behind the app, it allows users to feel more in control and within a safe space. Theming should be added to allow users to control the overall color palette for their app.

Now with 9cb3d75, the only thing missing is to link the ThemeScreen to the user_settings.dart file in order to incorporate theming


Keyboard shortcuts for extension to fast-switch between asbplayer/synced video and open Anki dialog

To implement synchronous mining flow with synced video

Will not implement this for now; similar feature implemented with side panel


RuntimeError: The size of tensor a (20) must match the size of tensor b (25) at non-singleton dimension 1

I am getting this error running lda2vec-pytorch on Google's CoLab platorm on a text file with 5,171 news articles from global websites.
E.g.
RuntimeError: The size of tensor a (20) must match the size of tensor b (25) at non-singleton dimension 1
from lda2vec_loss.py:
print(doc_weights.shape, doc_probs.shape, unsqueezed_doc_probs.shape, unsqueezed_topic_vectors.shape)
torch.Size([7168, 20]) torch.Size([7168, 20]) torch.Size([7168, 20, 1]) torch.Size([1, 25, 50])
%run get_stories_windows.ipynb
100%|██████████| 5171/5171 [22:09<00:00,  1.36it/s]
number of removed short documents: 5
total number of tokens: 5841072
number of tokens to be removed: 2660533
number of additionally removed short documents: 3
total number of tokens: 3180503

minimum word count number: 18
this number can be less than MIN_COUNTS because of document removal
5163it [00:08, 616.10it/s]
CPU times: user 1h 23min 15s, sys: 2.38 s, total: 1h 23min 18s
Wall time: 42min 10s
  2%|▏         | 108/5163 [00:00<00:04, 1074.25it/s]CPU times: user 12.1 s, sys: 7.26 s, total: 19.3 s
Wall time: 9.84 s
topic 0 : Point Vladimir Union Moscow progress migration air Mosul Insight safe
topic 1 : Hong Morocco Kong les sur Jamaica Carnoustie Escocia Park Turkish
topic 2 : Got Talent Baron Sacha Club UAE AMERICA SHOWTIME Trapeze talent
topic 3 : Kentucky Lil Peoria Song Minnesota CBS hai Cyclone boy KZN
topic 4 : Game NBA Oman heat Tokyo Utah Bangla Soccer Basketball Mail
topic 5 : Ganga Chennai Bengaluru Hyderabad ordeal Theatre thREAD CLOSE Sabha Mumbai
topic 6 : Army syrian AGT Philippines Syrian Baltimore February October army January
topic 7 : ADVERTISEMENT Deutsch Programs migrant teach Podcasts turkish Puigdemont XXL Reuters
topic 8 : Air Force NYC Iraq Turkmenistan Kazakhstan Nordic Energy CBS Affairs
topic 9 : Philadelphia Mix Pennsylvania Route Baltimore Episode Summer Deep Massachusetts Park
topic 10 : Herald ZEALAND NEW IOL NZME Property crash Northern Pakuranga serial
topic 11 : RFI GMT Paris attachment Mon gmt Fri flash bulletin analysis
topic 12 : Nairobi Counties Rift switch Ethiopia NTV hoursÂ Ruaraka Eritrea Gold
topic 13 : Texas Russian Oman Newscasts Image Star Fry summer funny Vermont
topic 14 : Premium Content Zuckerberg Conference arab Gaza jewish JPost Careers Diaspora
topic 15 : Messenger WhatsApp external LinkedIn Queen window Prince Kilmeade School Elizabeth
topic 16 : Director Documentary London Chicago Game Tower Urdu Airlines english Egypt
topic 17 : Peninsula EBITDA Khmer Hungary SPAIN amazing thai Partners khmer lottery
topic 18 : Amsterdam Mark Fox Amazon Swansea Song Qatar TIME Indonesia durationStr
topic 19 : Pak Headlines pak modi india England pakistani Reaction indian Pakistani
100%|██████████| 5163/5163 [00:05<00:00, 977.59it/s]

!python train.py

number of documents: 5163
number of windows: 3180503
number of topics: 25
vocabulary size: 19224
word embedding dim: 50
../utils/lda2vec_loss.py:47: UserWarning: nn.init.normal is now deprecated in favor of nn.init.normal_.
  init.normal(self.doc_weights.weight, std=DOC_WEIGHTS_INIT)
number of batches: 444

epoch 1
  0% 0/444 [00:00<?, ?it/s]../utils/lda2vec_loss.py:196: UserWarning: Implicit dimension choice for softmax has been deprecated. Change the call to include dim=X as an argument.
  doc_probs = F.softmax(doc_weights)
torch.Size([7168, 20]) torch.Size([7168, 20]) torch.Size([7168, 20, 1]) torch.Size([1, 25, 50])

Traceback (most recent call last):
  File "train.py", line 36, in <module>
    main()
  File "train.py", line 32, in main
    save_every=20, grad_clip=5.0
  File "../utils/training.py", line 127, in train
    neg_loss, dirichlet_loss = model(doc_indices, pivot_words, target_words)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "../utils/lda2vec_loss.py", line 70, in forward
    doc_vectors = self.topics(doc_weights)
  File "/usr/local/lib/python3.6/dist-packages/torch/nn/modules/module.py", line 493, in __call__
    result = self.forward(*input, **kwargs)
  File "../utils/lda2vec_loss.py", line 208, in forward
    doc_vectors = (unsqueezed_doc_probs*unsqueezed_topic_vectors).sum(1)
RuntimeError: The size of tensor a (20) must match the size of tensor b (25) at non-singleton dimension 1

Pytorch version issue?  Perhaps:
https://github.com/marvis/pytorch-yolo2/issues/106
but in any case, the shapes don't match up:
e.g.
torch.Size([7168, 20, 1]) torch.Size([1, 25, 50])

n_topics in get_windows.ipynb (for lda):
E.g. -
n_topics = 25
must equal n_topis in train.py.
(Otherwise, doc_weights_init.npy shape will be mismatched with the self.doc_weights Embedding tensor in lda2vec_loss.py).


glfwTerminate  crash issue

Hi my friend,
I always encounter such  issue as below.
when I set should close glfw as true, the function of glfwTerminate crash randomly,
could you help me figure out what is the reason？

Can you post a minimal working example that demonstrates the crash?

I resolve this issue right now, because of the NULL pointer on some situation, still thank you very much.


Fix etcd lock TTL refresh value in seconds

Latest changes in libkv to include the LeaderTTL flag here in swarm included a wrong calculation for the TTL lock refresh value in etcd. This would cause the refresh event to be triggered way more than expected for etcd.
This PR updates libkv to the latest including the change.
Signed-off-by: Alexandre Beslic<EMAIL_ADDRESS>

LGTM

LGTM


_artLayer, remove() Issue

For some reason I'm getting the following error when trying to use remove() on an artLayer object:
raise NameError("Name %s not found" % name)
NameError: Name remove not found
Strangely enough, in _artLayer I duplicated the remove() method, renamed it to delete(), and called delete() and it works fine. It just can't seem to find remove().

@MrTeferi I release a new version 0.17.5，
You try using the latest one.
# Import third-party modules
import examples._psd_files as psd  # Import from examples.

# Import local modules
from photoshop import Session

PSD_FILE = psd.get_psd_files()

psd_file = PSD_FILE["export_layers_as_png.psd"]
with Session(psd_file, action="open") as ps:
    art_layer = ps.active_document.artLayers.getByName("blue")
    art_layer.remove()

Thanks for adding getByName, that seems to be working now!
For the remove() issue, here's what I'm trying to do for context:

import photoshop.api as ps
app = ps.Application()
def compute_text_layer_dimensions (layer):
layer_copy = layer.duplicate(app.activeDocument, ps.ElementPlacement.PlaceInside)
layer_copy.rasterize(ps.RasterizeType.TextContents)
dimensions = compute_layer_dimensions(layer_copy)
layer_copy.remove()
return dimensions

For this function I pass it a layer instance, it copies the layer, rasterizes that layer, gets its dimensions (with my own function  computer_layer_dimensions which is known to be working), then removes the copied layer and returns the dimensions.
As I mentioned, the "remove()" method in this case doesn't work and gives a name error, for some reason when I went into _artLayers and copied the remove() function and renamed it delete, if I call delete instead it does work. I'm not too sure why?

For my app, I keep most of my photoshop functionality in a module called "helpers" which imports the api and instantiates app as ps.Application() at the top is there a meaningful difference in efficiency/functionality between building around that vs doing "with Session()" for all my photoshop functions?

As I mentioned here https://github.com/loonghao/photoshop-python-api/issues/101#issuecomment-1065897543
I made a simple patch to fix the issue of not finding remove() _artlayer.py#L445
After using duplicate, we should return an instance of ArtLayer to fix that _artlayer.py#L471
I will update the codes to fix it soon.

Hey that's a really good idea, thanks!

Hi @MrTeferi I have released a new version v0.17.6
Let me know if that is working for you.
Cheers,
Hal

Works like a charm! I'll go ahead and close this, would love to see ActionList added to Session and init when possible thanks :)


Do some parsing on parameters

Parameters like 'assoc', 'type', and 'bincomp' are not easy to work with in their standard form, due to the inclusion of extra information, such as references. These could, however, be parsed to put important information (e.g., for 'assoc': 'AXP') into a new column for easy querying.
Other parameters are not automatically populated when they can be easily derived, like 'P0' from 'F0' or 'PB' from 'FB0'. Functions should be added to the class to populate these classes (perhaps only when required?)

Has been done in PR #41


Spring Annotation Support

I know there is an outstanding pull request (#16) out there for spring annotation support, but it's missing tests, and doesn't merge anymore. I'd like to know what you think about a do-over on this.
My current thinking is that it should be part of the jsondoc-springmvc module, and basically just map the spring annotations over to the core classes. That way, non-spring folks can keep using the core library without pulling spring along for the ride.
The Api annotations would supplement things that are missing from the spring annotations (descriptions, groupings, etc.). Here are some specific things that I know need to be addressed in order to call this done. Other folks can add to this as needed.

Support for ResponseEntity
Opt-in for documentation (My current theory is that we would reuse the @ApiMethod and @Api annotations, with some tweaks (like not requiring the verb on @ApiMethod).
Handling Spring defaults for the annotations (ex: verb defaults, content type defaults, produces defaults)

Thoughts/concerns?

After poking at this a bit, I'm almost wondering if it might be easier to just have a separate set of method annotations for the spring stuff. That will allow the two method annotations to live independently of each other. They would still map to the same base pojo. Just throwing some thoughts out there for discussion.

I think I've got a good first pass at this ready to go. There are no changes to the underlying library (except what my IDE tried to do with imports, and some method scoping cleanup). If you have jsondoc-springmvc on your classpath, and the appropriate annotations, it just works. I'm going to be working with some more complicated apis on this tomorrow, but I'll go ahead and give you a pull request to look over.

One thing to note, I didn't do anything with auth support. In part, because I don't need it. We're using oauth, and the existing implementation doesn't quite work for us. I've got markers for where it should go in the code.

Sorry, one last thing on this. I'd really like to see something like what I did with the ApiDocScanner work its way into the project. That way, folks fan add their own mappers to the documentation classes that are the core of this project. Thanks again for all your work.

Hey Ben,
thank you for your proposal. In these days I will have very few time to work on the project, so I'll be very slow in responding to issues and pull requests. The next things I wanted to work on in the project are (and this would be the roadmap I was thinking about):

consolidate the spring boot integration, using the jsondoc-springmvc module for both spring boot and non spring boot applications (still need to understand if it's feasible, suggestions are welcome)
use a single jsondoc-ui module for every kind of webapplications (spring boot, non spring boot, any other frameworks): I don't like having jsondoc-ui and jsondoc-ui-webjar, so also in this case proposals on how to do that are welcome
give support for spring mvc annotaions as you and other guys proposed
develop a new feature which will provide a richer documentation for api clients (I prefer not to disclose it, it'll be a surprise)
do improvements and bugfixes as usual

Anyway I had a quick look at the code you pushed and I have a few comments:

The ApiDocScanner interface is definitely the correct approach, I also was thinking about this approach to support spring mvc and other kind of implementations
Instead, I don't agree on having new annotations (SpringApiMethod, ...), because it will mean that every new implementation could have it's own annotations. I think the right thing to do is to use the core annotations instead. What about the mandatory annotation's attributes? When I developed them I thougth about the minimum set of information needed to have a meaningful documentation which could also be tested in the playground, that's why there are mandatory attributes. It is known that this is a problem when putting jsondoc annotations on controller methods, because you end up writing the same info twice, for example on the ApiMethod path and on the RequestMapping value. So we need a way to keep some info as "mandatory because meaningful and needed for the playground", while relaxing the checks when putting the jsondoc annotation on a method already annotated with the mandatory info (like the RequestMapping spring's one). So, the idea is to relax the checks at compile time, providing some defaults like you said (ApiVerb, produces, etc), but add new "errors" and "warnings" sections in the single PojoDoc class or globally in the JSONDoc class, filled at jsondoc documentation generation (runtime), clearly communicating that something is mandatory (and in this case the documentation is not meaningful - "path" attribute for example - in the "errors") and that something should be specified in the jsondoc annotation to provide better documentation ("description" attribute for example, in the "warnings"). This needs to be shown very clearly in the UI.
Speaking about the UI, it expects some of the json data to be always filled with some data (the mandatory annotations' attributes), used to populate the handlebars template in the right way. If the checks will be relaxed then also the UI must take into account that, and add additional checks on the presence of the not-anymore-mandatory data.

At the end, here are the steps I have in mind to make spring mvc (or other frameworks) and jsondoc cohexist:

do as you did with the interface approach
relax checks on jsondoc annotations which have a spring's pair, providing errors and warnings sections in the jsondoc pojo or object
when using only jsondoc-core, scanning classes for documentation will be done in two steps for each method annotated with ApiMethod: first step will use the default jsondoc scanner methods, which could produce an incomplete documentation. Second step is a consistency check step: the generated pojo is analyzed and eventually errors and warnings lists are filled
when using jsondoc-springmvc scanning classes for documentation will be done in three steps for each method annotated with ApiMethod: first step will use the default jsondoc scanner method which will an incomplete documentation (missing "path" for example). Second step will take the result of the first step and integrate the pojos with the data coming from the Spring annotations. The third step is a consistency check step: the generated pojo is analyzed and eventually errors and warnings lists are filled
In case the same info is specified both on jsondoc and spring annotations, then the spring's one wins
In the UI, show errors and warnings very clearly (I'll think a way to do that) and manage cases in which some of the "semantic mandatory" data is missing in handlebars templates

Some additional notes:

generally speaking, jsondoc must work on servlet 2.4+ environments, so everything should be compatible also with 2.4 servlets. Is spring-mvc 4.1.3.RELEASE compatible with it?
Travis CI build is not failing on the pull request

Thank you


ClientAuthenticationError while creating blob data source connector

demo-python/code/integrated-vectorization/azure-search-integrated-vectorization-sample.ipynb
Create a blob data source connector on Azure AI Search
DefaultAzureCredential failed to retrieve a token from the included credentials.
Attempted credentials:
	EnvironmentCredential: EnvironmentCredential authentication unavailable. Environment variables are not fully configured.
Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot to troubleshoot this issue.
	ManagedIdentityCredential: Unexpected response "{'error': 'service_unavailable', 'error_description': 'Service not available, possibly because the machine is not connected to Azure or the config file is missing. Error: missing required agent config properties. Current agent config: {Subscriptionid: Resourcegroup: Resourcename: Tenantid: Location: VMID: VMUUID: CertificateThumbprint: Clientid: Cloud: PrivateLinkScope: Namespace: CorrelationID: ArmEndpoint: AtsResourceId:} (config file location: [C:\\ProgramData\\AzureConnectedMachineAgent\\Config\\agentconfig.json](file:///C://ProgramData//AzureConnectedMachineAgent//Config//agentconfig.json)). Connection status: Disconnected. Check Agent log for more details.', 'error_codes': [503], 'timestamp': '2024-06-30 11:17:16.2342401 +0900 JST m=+1511.508532901', 'trace_id': '', 'correlation_id': '02124ad4-1f99-4c6e-b364-48fd7f3456f2'}"
Content: {"error":"service_unavailable","error_description":"Service not available, possibly because the machine is not connected to Azure or the config file is missing. Error: missing required agent config properties. Current agent config: {Subscriptionid: Resourcegroup: Resourcename: Tenantid: Location: VMID: VMUUID: CertificateThumbprint: Clientid: Cloud: PrivateLinkScope: Namespace: CorrelationID: ArmEndpoint: AtsResourceId:} (config file location: [C:\\ProgramData\\AzureConnectedMachineAgent\\Config\\agentconfig.json](file:///C://ProgramData//AzureConnectedMachineAgent//Config//agentconfig.json)). Connection status: Disconnected. Check Agent log for more details.","error_codes":[503],"timestamp":"2024-06-30 11:17:16.2342401 +0900 JST m=+1511.508532901","trace_id":"","correlation_id":"02124ad4-1f99-4c6e-b364-48fd7f3456f2"}

To mitigate this issue, please refer to the troubleshooting guidelines here at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
---------------------------------------------------------------------------
ClientAuthenticationError                 Traceback (most recent call last)
[d:\Code\azure-search-vector-samples\demo-python\code\integrated-vectorization\azure-search-integrated-vectorization-sample.ipynb](file:///D:/Code/azure-search-vector-samples/demo-python/code/integrated-vectorization/azure-search-integrated-vectorization-sample.ipynb) Cell 10 line 1
     [10](vscode-notebook-cell:/d%3A/Code/azure-search-vector-samples/demo-python/code/integrated-vectorization/azure-search-integrated-vectorization-sample.ipynb#X12sZmlsZQ%3D%3D?line=9) container = SearchIndexerDataContainer(name=blob_container_name)
     [11](vscode-notebook-cell:/d%3A/Code/azure-search-vector-samples/demo-python/code/integrated-vectorization/azure-search-integrated-vectorization-sample.ipynb#X12sZmlsZQ%3D%3D?line=10) data_source_connection = SearchIndexerDataSourceConnection(
     [12](vscode-notebook-cell:/d%3A/Code/azure-search-vector-samples/demo-python/code/integrated-vectorization/azure-search-integrated-vectorization-sample.ipynb#X12sZmlsZQ%3D%3D?line=11)     name=f"{index_name}-blob",
     [13](vscode-notebook-cell:/d%3A/Code/azure-search-vector-samples/demo-python/code/integrated-vectorization/azure-search-integrated-vectorization-sample.ipynb#X12sZmlsZQ%3D%3D?line=12)     type="azureblob",
   (...)
     [16](vscode-notebook-cell:/d%3A/Code/azure-search-vector-samples/demo-python/code/integrated-vectorization/azure-search-integrated-vectorization-sample.ipynb#X12sZmlsZQ%3D%3D?line=15)     data_deletion_detection_policy=NativeBlobSoftDeleteDeletionDetectionPolicy()
     [17](vscode-notebook-cell:/d%3A/Code/azure-search-vector-samples/demo-python/code/integrated-vectorization/azure-search-integrated-vectorization-sample.ipynb#X12sZmlsZQ%3D%3D?line=16) )
---> [18](vscode-notebook-cell:/d%3A/Code/azure-search-vector-samples/demo-python/code/integrated-vectorization/azure-search-integrated-vectorization-sample.ipynb#X12sZmlsZQ%3D%3D?line=17) data_source = indexer_client.create_or_update_data_source_connection(data_source_connection)
     [20](vscode-notebook-cell:/d%3A/Code/azure-search-vector-samples/demo-python/code/integrated-vectorization/azure-search-integrated-vectorization-sample.ipynb#X12sZmlsZQ%3D%3D?line=19) print(f"Data source '{data_source.name}' created or updated")

File [c:\Program](file:///C:/Program) Files\Python311\Lib\site-packages\azure\core\tracing\decorator.py:78, in distributed_trace.<locals>.decorator.<locals>.wrapper_use_tracer(*args, **kwargs)
     [76](file:///C:/Program%20Files/Python311/Lib/site-packages/azure/core/tracing/decorator.py:76) span_impl_type = settings.tracing_implementation()
     [77](file:///C:/Program%20Files/Python311/Lib/site-packages/azure/core/tracing/decorator.py:77) if span_impl_type is None:
---> [78](file:///C:/Program%20Files/Python311/Lib/site-packages/azure/core/tracing/decorator.py:78)     return func(*args, **kwargs)
     [80](file:///C:/Program%20Files/Python311/Lib/site-packages/azure/core/tracing/decorator.py:80) # Merge span is parameter is set, but only if no explicit parent are passed
     [81](file:///C:/Program%20Files/Python311/Lib/site-packages/azure/core/tracing/decorator.py:81) if merge_span and not passed_in_parent:

File [c:\Program](file:///C:/Program) Files\Python311\Lib\site-packages\azure\search\documents\indexes\_search_indexer_client.py:393, in SearchIndexerClient.create_or_update_data_source_connection(self, data_source_connection, match_condition, skip_indexer_reset_requirement_for_cache, **kwargs)
    [391](file:///C:/Program%20Files/Python311/Lib/site-packages/azure/search/documents/indexes/_search_indexer_client.py:391) name = data_source_connection.name
    [392](file:///C:/Program%20Files/Python311/Lib/site-packages/azure/search/documents/indexes/_search_indexer_client.py:392) packed_data_source = data_source_connection._to_generated()  # pylint:disable=protected-access
--> [393](file:///C:/Program%20Files/Python311/Lib/site-packages/azure/search/documents/indexes/_search_indexer_client.py:393) result = self._client.data_sources.create_or_update(
    [394](file:///C:/Program%20Files/Python311/Lib/site-packages/azure/search/documents/indexes/_search_indexer_client.py:394)     data_source_name=name,
...
Visit https://aka.ms/azsdk/python/identity/environmentcredential/troubleshoot to troubleshoot this issue.
	ManagedIdentityCredential: Unexpected response "{'error': 'service_unavailable', 'error_description': 'Service not available, possibly because the machine is not connected to Azure or the config file is missing. Error: missing required agent config properties. Current agent config: {Subscriptionid: Resourcegroup: Resourcename: Tenantid: Location: VMID: VMUUID: CertificateThumbprint: Clientid: Cloud: PrivateLinkScope: Namespace: CorrelationID: ArmEndpoint: AtsResourceId:} (config file location: [C:\\ProgramData\\AzureConnectedMachineAgent\\Config\\agentconfig.json](file:///C://ProgramData//AzureConnectedMachineAgent//Config//agentconfig.json)). Connection status: Disconnected. Check Agent log for more details.', 'error_codes': [503], 'timestamp': '2024-06-30 11:17:16.2342401 +0900 JST m=+1511.508532901', 'trace_id': '', 'correlation_id': '02124ad4-1f99-4c6e-b364-48fd7f3456f2'}"
Content: {"error":"service_unavailable","error_description":"Service not available, possibly because the machine is not connected to Azure or the config file is missing. Error: missing required agent config properties. Current agent config: {Subscriptionid: Resourcegroup: Resourcename: Tenantid: Location: VMID: VMUUID: CertificateThumbprint: Clientid: Cloud: PrivateLinkScope: Namespace: CorrelationID: ArmEndpoint: AtsResourceId:} (config file location: [C:\\ProgramData\\AzureConnectedMachineAgent\\Config\\agentconfig.json](file:///C://ProgramData//AzureConnectedMachineAgent//Config//agentconfig.json)). Connection status: Disconnected. Check Agent log for more details.","error_codes":[503],"timestamp":"2024-06-30 11:17:16.2342401 +0900 JST m=+1511.508532901","trace_id":"","correlation_id":"02124ad4-1f99-4c6e-b364-48fd7f3456f2"}

To mitigate this issue, please refer to the troubleshooting guidelines here at https://aka.ms/azsdk/python/identity/defaultazurecredential/troubleshoot.
Output is truncated. View as a [scrollable element](command:cellOutput.enableScrolling?5136fb9e-2922-43c3-8721-ee1ba99a3086) or open in a [text editor](command:workbench.action.openLargeOutput?5136fb9e-2922-43c3-8721-ee1ba99a3086). Adjust cell output [settings](command:workbench.action.openSettings?%5B%22%40tag%3AnotebookOutputLayout%22%5D)...

Can you please create a support ticket for this issue?


[Feature Request] TASK_MODEL_DICT is better to be on registry.py

[x] I have searched to see if a similar issue already exists.

Is there any feature that you would like to add?
src/netspresso_trainer/models/builder.py
TASK_MODEL_DICT is in load_backbone_and_head_model function, but there are registry.py already that contains most of model dicts.
I think TASK_MODEL_DICT should be moved to register.py.
Is there any suggestion (or solution) to solve this issue?
Move TASK_MODEL_DICT to register.py.
Additional context
All other contexts or screenshots are welcome.

To move TASK_MODEL_DICT to registry.py, following rules must be kept.

base.py must only contain about model spec.
Object creation must be done only on 'builder.py '.


Synchronization between LTE and GPS

According to nordic the LTE and GPS shares a physical radio resource.
While using your library it seems that if GPS is currently awaiting fix, and I send something on a socket, the send future returns Ok() even though nothing is actually sent.
Am I doing something wrong? Is this a limitation? Shouldn't the "send" future be returned after the radio resource is free, and the data actually sent, or alternatively return an Err()
Workaround so far is to use a mutex for sync.

Hi, I've not run into that so far. Can you tell me what the modem api actually returns?
My guess is that we just have to add something in the various matches like here: https://github.com/diondokter/nrf-modem/blob/f9d4a24a91b9dc3c09c569ec4dd9c47a37ed1cd4/src/socket.rs#L329-L338

Testing takes a looong time when doing it on HW. Coming back with results and examples.
Meanwhile:
The match you mention is part of connect().
My architecture involves a connected socket (dtls) kept in scope by an async task. Another async task periodically pulls GPS data using start_continuous_fix() and free() (with a timeout). I have to use continuous_fix since the 9160 sporadically gives coordinates that are way of, and need to sanity check 2 sets of coordinates.
This works until the continuous_fix runs while i send to the socket

I think I am getting similar issue for time to time. Sometimes stuff is not send over an UdpSocket and sometimes when the socket is active I am never getting a fix. 2/3 times it works fine, but the other don't and it always happens when I am not connected to it so I could get any logs yet :/

Ok, good to know. I don't really have the bandwidth to look into it though.
Nordic probably has docs surrounding this issue and I think I've seen some APIs before. So there likely is a solution in some form.

Maybe this https://docs.nordicsemi.com/bundle/ncs-2.0.0/page/nrfxlib/nrf_modem/doc/api.html#c.nrf_modem_gnss_prio_mode_enable ?
But I am not aware if my SIM does support eDRX, I kind suspect not, but I will try it anyway if it helps.
But that could make the problem of LTE not sending stuff sometimes when GNSS is running even worse.

I don't know, it might help!
You can try by just calling that function and seeing if that helps

I didn't notice any improvements from it, it still worked pretty erratic. For now I just replaced the build in GNSS with a Quectel L76 module and it works much better and even the battery holds longer (probably because how much faster getting the fix is)


Rendering problems (columns & images) in Outlook app [Win10 version]

Describe the bug
In the native Outlook application (Windows 10), certain columns are not rendered properly, they are not shown aligned with the structure of raised columns and some images are shown in their original size when they should be displayed on a smaller scale and fit the expected design.
To Reproduce
Simple, open a mail sended with Outlook app (Win10 version) and see the error.
This is the code used to make the mockup:
MJML Code (via Pastebin)
Expected behavior
Outlook Web version (expected result)
Gmail mobile result
Real behavior in Outlook native app
Actual Outlook in Win10 render
Footer in other mockups
MJML environment:

OS: [e.g. Ubuntu 18.04]
MJML Version [e.g. 4.2.0]
MJML tool used [e.g MJML App via NPM commands]

Additional context
I have tried to modify the MSO conditionals specifically in width handlers, passing them from pixels to % but without success results. In addition to placing certain rules of styles in-line to correct the final transpile, as a result of this last the interpreter of Outlook reads the rules in a totally erroneous way.

hi @DallOner, your markup is invalid:

line 251, you have a section with 2 columns of each 100%. The columns inside a section shouldn't be more than 100% in total
line 258, you should rather use 4 columns with an image in each instead of just putting image tags inside a text tag like this
line 263, you missed to close the column tag

Fixing those points should fix your problem.
PS: you can share MJML content with the try it live directly: https://mjml.io/try-it-live/HJAOJSvNV

Hi @ngarnier thanks so much for the fixes! but still a little broken in Outlook app.
Code with Fixes HERE
Updated Real behavior with Fixes:
Columns Desaligment
Button & Footer
The misalignment of the columns would appear to be because the outlook interpreter rendered as if it were a mobile resolution. On the other hand, I do not know why the interpreter reverts the button in that bad way, without any apparent style.

The fact that the columns stack is because Outlook app shows the mobile version by default. You can either:

keep columns side by side in mobile instead of having them stack using mj-group. If you do so, columns will stay side by side on mobile devices as well in all emails clients (which you might want as you have a table layout)
force Outlook app to keep columns side by side using <mjml owa="desktop">. If you do so, Outlook app will keep columns side by side and other desktop clients as well, but mobile clients will display them as stacked

For the button, please use mj-button instead of faking a button with a link.
For the footer, not sure what's happening as I don't have issue (see here) apart from the fact they stack but my solution above will fix that too.

Hey man, you are the best! thank you very much, all the corrections have been successful, the footer theme will be fixing to place a single image in that column. Everything else works 100/100. thanks again!

Are you referring to Outlook.com or to a desktop version of Outlook? If so, which version?
If Outlook.com, just force the desktop layout for this client with owa="desktop" on the mjml tag: https://mjml.io/try-it-live/SJzTvcvDS.

@ngarnier desktop version of Outlook on Windows 10. I tried 3 different html signatures, none of them works as should (columns).

Sections are like rows in your email, while columns are columns inside those rows. As a consequence, the sum of all columns inside a single section should not amount to more than 100%, which is not the case in your MJML.
For example, if you look at the section starting line 58, you can see it's made of a first column whose width is 100%, and many other columns.

@ngarnier  i give you my example:
Here is the code of example e-mail signature
Image should be next to text. Its perfectly working on GMail (screenshot) and Outlook Mac OS (screenshot).
And on Windows Outlook Desktop App we have this incorrect result.
And this example https://mjml.io/try-it-live/SJzTvcvDS also is incorrect in Windows Outlook Desktop App (screenshot).

I already explained the issue, I don't know how else to word it.
The sum of the columns inside a section should not be greater than 100%.
Fix your code accordingly.


[AMQ-8971] activemq-client karaf feature supporting both JMS 1.1 and JMS 2.0

Note there is a test application at the following github repo that I used to reproduce the problem, and test the solution:
https://github.com/artnaseef/AMQ8971
It only tests with an application using AMQ out-of-the-box (i.e. JMS 1.1).  JMS 2.0 (camel etc) should work, but isn't tested with that repo.  In other words, this update makes the activemq-client feature work for both JMS 1.1 and JMS 2.0 applications.


notebook integration for markdown  cells

Use case
Native Notebook experience in VS Code is great, and it is natural for rendering tutorials. But currently Notebook is per file extension, and I cannot have a notebook supporting multiple "languages", which is common in tutorials.
For example, I want to write a tutorial containing snippets for both python code and powershell commands. PowerShell extension recognizes file extension .ps1 (it's reusing the ext according to this blog) and Python extension recognizes .ipynb.
feature request
As most of tutorials are written in Markdown, an approach can be, integrate Notebook support with Markdown rendering. For example, tutorials can be written in below way:
tutorial.md

# A Sample Tutorial
* Step 1. Run below commands to configure prerequisites.

```powershell
some powershell commands...
```

* Step 2. Run below Python code and observe the output
```python
sample python code snippet
```

expected behavior
If Notebook extensions are installed, corresponding "code" cells (powershell and python) are automatically rendered in the Notebook way, that users can run it.

You would like https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-markdown-notebook from @roblourens


testing: run vscode tests in-order

Use proper mocha file load events so that order is retained (instead of running all suites in alphabetical order across the codebase)
Fixes #173016
Fixes #173015

@hediet this should be good to go after the test is fixed 🙂

I spent some hours figuring out why the test fails and I'm still clueless.
Unfortunately, it only fails when running all tests in electron and unfortunately async stack traces don't work.
I think some test T asynchronously creates a disposable when the merge editor tests run.
However, T does not seem to dispose that disposable before the merge editor test finishes, so the merge editor tests marks it as leaking...
I did not figure out which test T is.

This came in with other improvements necessary for snapshot tests


Cargo release will publish the same package twice if users haven't logged in.

Cargo release will publish the same package twice if users haven't logged in.

clone https://github.com/hi-rustin/cargo-information
Unlogin your cargo
Try cargo release minor --execute
It will tell you that you haven't logged in yet
Try cargo release minor --execute
It will bump your version twice and only publish the latest one on creates.io

I am not sure if there is any way to check if users log in before we suggest --execute or do the real publish.

Logs:
❯ cargo release minor --execute
Release cargo-information 0.5.0? [y/N]
y
   Upgrading cargo-information from 0.4.2 to 0.5.0
[main 07d415f] chore: Release cargo-information version 0.5.0
 3 files changed, 4 insertions(+), 2 deletions(-)
  Publishing cargo-information
    Updating crates.io index
error: no token found, please run `cargo login`
or use environment variable CARGO_REGISTRY_TOKEN

cargo-information on  main [$⇡] is 📦 v0.5.0 via 🦀 v1.77.2 took 5s
❯ cargo login
please paste the token found on https://crates.io/me below
       Login token for `crates-io` saved

cargo-information on  main [$⇡] is 📦 v0.5.0 via 🦀 v1.77.2 took 42s
❯ cargo release minor --execute
Release cargo-information 0.6.0? [y/N]
y
   Upgrading cargo-information from 0.5.0 to 0.6.0
[main 2227f71] chore: Release cargo-information version 0.6.0
 3 files changed, 4 insertions(+), 2 deletions(-)
  Publishing cargo-information
    Updating crates.io index
   Packaging cargo-information v0.6.0 (/Volumes/t7/code/cargo-information)
    Updating crates.io index
   Verifying cargo-information v0.6.0 (/Volumes/t7/code/cargo-information)
   Compiling cargo-information v0.6.0 (/Volumes/t7/code/cargo/target/tmp1/package/cargo-information-0.6.0)
    Finished dev [unoptimized + debuginfo] target(s) in 8.30s
    Packaged 118 files, 175.6KiB (43.4KiB compressed)
   Uploading cargo-information v0.6.0 (/Volumes/t7/code/cargo-information)
    Uploaded cargo-information v0.6.0 to registry `crates-io`
note: Waiting for `cargo-information v0.6.0` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published cargo-information v0.6.0 at registry `crates-io`
     Pushing Pushing main, v0.6.0 to origin
Enumerating objects: 15, done.
Counting objects: 100% (15/15), done.
Delta compression using up to 8 threads
Compressing objects: 100% (11/11), done.
Writing objects: 100% (11/11), 1.08 KiB | 1.08 MiB/s, done.
Total 11 (delta 8), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (8/8), completed with 4 local objects.
remote: Bypassed rule violations for refs/heads/main:
remote:
remote: - Changes must be made through a pull request.
remote:
remote: - 9 of 9 required status checks are expected.
remote:
To https://github.com/hi-rustin/cargo-information
   a263494..2227f71  main -> main
 * [new tag]         v0.6.0 -> v0.6.0

To confirm my understanding,

You told cargo release to bump the version and release
it errored
Once you resolved the error, you told it to bump the version and release

There are a lot of failure modes within the release process and we don't try to revert the process.  This means the commit we made for bumping the version is still there.  In the confirmation prompt for the second release, it told you it was releasing 0.6 instead of 0.5.
There are two ways to recover in this situation

Revert the commit first
Perform the release without a version bump ... I think.  I can't remember if replacements will still run or not

Do we have any way to check it before we suggest --execute to users? It seems the answer is no. Cargo seems doesn't provide a CLI interface to let us grab that information.

I don't think cargo does but it would be interesting to explore how it could expose that information


Add cluster registration security model

Signed-off-by: Mike Ng<EMAIL_ADDRESS>Will need a CN translator contribution later.

/approve
/lgtm


Refactor disjunction selection

A couple small tweaks to lift a bunch of code into a separate function, and then make that common path earlier and more prominent.

@swift-ci Please smoke test


[Feature]:  Solved the 138.Leet Code Challenge

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description

I have solved the  138. Copy List with Random Pointer .
I want add this solution.

please assign me.

Use Case

Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

Hello @Ajay-Dhangar ,kindly assign me


Provide a pattern to wait for RBAC propagation

We have multiple services that hit a problem where their live tests are failing because RBAC permissions were not propagated in time. We also had many ways each of them tries to solve the problem:
By waiting pre-defined amount of time: https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/eventhub/test-resources-post.ps1?rgh-link-date=2021-04-21T00%3A02%3A41Z#L15-L16
Or having retry on tests:  https://github.com/Azure/azure-sdk-for-net/pull/20559
To me, the goal of New-TestResources is to leave the test environment fully ready for the test run and non-propagated RBAC is something we should solve in a centralized way.

cc @benbp @heaths

https://github.com/Azure/azure-sdk-for-net/issues/17384

There is a retry already, and the Az cmdlets have a back off period (doubles).

It's not RBAC for the newly-created resource group it's for the resources created as part of template deployment.

I see. But why make everyone wait if not necessary? That was the whole reason of test-resources-post.ps1 - to allow service-specific actions post deployment. For Key Vault, for example, I have to activate Managed HSM - something that can't be done via ARM templates by design. Most services don't have this problem. In fact, RBAC assignments for Managed HSM don't take this long (they are data-plane RBAC that mimic control-plane RBAC, so perhaps that's why).
The purpose of the scripts is you want is still met. Users don't run test-resources-(pre|post).ps1 themselves. The scripts do that, so users just run the scripts for a service and it all works out in the end.

I'm saying that unconditionally waiting is a bad solution and we need something better to recommend to partners.

The test-resources-post.ps1 workaround seems good. That's why those scripts are used if present. I could update documentation to detail some example uses if you think that would help.

The test-resources-post.ps1 workaround seems good.

I disagree, it's slow and unreliable. It doesn't guarantee that RBAC propagates.

I agree we should at least come up with a pattern for this RBAC propagation issue so that folks can use that in their post scripts if needed. @pakrym do you know if there is any way to query the status?

This is probably a better question for the ARM team. I'm not aware of any way to make sure RBAC has propagated, and it may well depend on some RPs' implementation. Still, I doubt this is something we could put in the New-TestResources.ps1 script unless there's some obvious way of detecting that RBAC permissions were even assigned - which can be done in test-resources-post.ps1, which Key Vault is doing for Managed HSM test resources.

There is Get-AzRoleAssignment. A pattern in docmentation or even inheritted (via scope) function could maybe loop on that. Initially, I'm in favor of documenting a pattern since providing all the data necessary may be more verbose and cause compat issues later if we have to change it.

. @pakrym do you know if there is any way to query the status?

It seems that you have to actually call the service to know. @kasobol-msft is working on a prototype that allows partners to define a way to check if the environment is ready as part of the .net testing framework. We would make a simple call and see if it fails with auth error and keep retrying.

@heaths Problem is that Get-AzRoleAssignment might give you the assignments but they might still in flight to arrive at storage service side. If storage backend hasn't yet consumed the change then calls to storage fail with 403.
I don't like idea of waiting for RBAC at resource provisioning step. That time can be used to advance pipeline (especially that pessimistic case is 5 minutes).


One Dimensional Array -> Maximum Absolute Difference : Add C++ code and fix some bugs

Hello @Abhijit2505 !
I am Rashi, a Participant of SWOC'21. I have found a few issues on the page - Maximum Absolute Difference in the section One Dimensional Array and would like to work on them.
Link to the page - https://abhijit2505.github.io/Algorithmic-Treasure-Site/Pages/Array/maxAbsoluteDiff.html
Following are the issues:

Only Python code is available for this problem. I would like to add C++ code as well and add its tag at the top.

The title has been mistyped as Adding One to Number instead of Maximum Absolute Difference

The four cases are not at all clear.

There is error in Python code.

Please assign this issue to me, would like to work on them.

I can do this in C++ , Java

I can do this in C++ , Java

@rashigupta01 please get started.

@rashigupta01 please get started.


Check that PRs do not break Asciidoctor build

This PR enables a github action to check that PRs do not break the asciidoc build. If the build is successful, the pdf and html files are uploaded as artifacts to the action, which allow for easier previews of the generated files.

As an example of what this will look like, see here.

I agree this is a useful and sensible step
thank you for the input @lesserwhirls

Thanks @marqh! Happy to help where I can :-)

This is great!
Would it be possible to upload the pdf and html individually, not in an archive so as to facilitate easy inspection?
Maybe it would also be a good idea to upload a log (perhaps just the console output)?
Like this, we might catch some warnings more easily that don't prevent a successful creation, but would be nice to know anyways.

This is great!
Would it be possible to upload the pdf and html individually, not in an archive so as to facilitate easy inspection?

That would be great! Currently, the actions/upload-artifact github action does not support it, but it's on their list of improvements (more info here).

Maybe it would also be a good idea to upload a log (perhaps just the console output)?
Like this, we might catch some warnings more easily that don't prevent a successful creation, but would be nice to know anyways.

I've updated this PR to enable the asciidoctor build to use the --verbose flag, which seems to show warnings. An example of what the output looks like now can be found here.

Two positive reviews and it looks good to me. I'm going to merge.
I will look at how to require reviews for this type of PR, probably by members of the info-mgmt team - @cf-convention/info-mgmt


Fixes for the E2E Unpackaged scenario

While doing extensive testing for the unpackaged apps E2E scenario, I caught a couple of bugs:
1. Bug on foreground notifications: On platform initialization, if the app list size is 0, the NotificationListenerManager was never initialized with a ForegroundSinkManager. Even after adding a listener, the ForegroundSinkManager reference on NotificationListenerManager remained empty. Now we initialize the NotificationListenerManager appropriately regardless of the app list size.
2. NotificationSink update bug: Whenever a channel request arrives, wpncore cleans the corresponding NotificationSink of the app. In such case, the LRP doesn't know if the NotificationSink (a NotificationListener in LRP jargon) is still valid. This caused new push notifications to be dropped and block the channel. With the fix, whenever RegisterForegroundActivator or RegisterLongRunningActivator are called, we remove the existing NotificationListener and replace it with a new one, doing a best effort to have an up-to-date listener. This may still require a RegisterLongRunningActivator call from WAS channel request, if applicable.

All unpkg tests are working now.

All unpkg tests are working now.

Verified, they do indeed all pass now as long as you have this FrameworkUDK fix installed on your devide: https://microsoft.visualstudio.com/OS/_git/os.2020/pullrequest/6502196
thanks.


QIR FullStateSimulator does not reuse qubit mappings

The QIR FullStateSimulator wrapper does not include any logic to reuse qubit logical identifiers, instead always incrementing the logical qubit id with each call to allocate, as seen in FullStateSimulator.cpp:
        Qubit AllocateQubit() override
        {
            typedef void (*TAllocateQubit)(unsigned, unsigned);
            static TAllocateQubit allocateQubit = reinterpret_cast<TAllocateQubit>(this->GetProc("allocateQubit"));

            const unsigned id = this->nextQubitId;
            allocateQubit(this->simulatorId, id);
            this->nextQubitId++; // <-- UNCONDITIONALLY INCREASES ID
            return reinterpret_cast<Qubit>(id);
        }

Looking at how the native simulator implements the allocateQubit API, the assumption is that the caller will reuse a previously released qubit id if possible. Since the QIR wrapper does not, it means each allocation will grow the size of the qubit map even if there are unused qubits already present in the map. This is effectively a memory leak, though admittedly a very small one.
While we could implement the logic in FullStateSimulator.cpp to track in-use qubit ids and reuse the next available (similar to what the C# mapping implemented in QubitManager.cs does), we should instead consider exposing the qubit management logic already present in the native simulator through the C API. The simulator already supports a variant of allocate that takes no arguments and instead returns the qubit id:
    logical_qubit_id allocate()
    {
        recursive_lock_type l(mutex());
        return psi.allocate_qubit();
    }

The corresponding function on the wave function implementation then uses its internal map to find the first available qubit, only adding a new qubit if no existing entries are available:
    /// Allocate a qubit with implicitly assigned logical qubit id.
    logical_qubit_id allocate_qubit()
    {
#ifndef NDEBUG
        assert(usage_ != QubitAllocationPattern::explicitLogicalId);
        usage_ = QubitAllocationPattern::implicitLogicalId;
#endif

        flush();
        wfn_.resize(2 * wfn_.size());

        // Reuse a logical qubit id, if any is available.
        auto it = std::find(qubitmap_.begin(), qubitmap_.end(), invalid_qubit_position());
        if (it != qubitmap_.end())
        {
            logical_qubit_id num = static_cast<unsigned>(it - qubitmap_.begin());
            qubitmap_[num] = num_qubits_++;
            return num;
        }
        else
        {
            qubitmap_.push_back(num_qubits_++);
            return static_cast<unsigned>(qubitmap_.size() - 1);
        }
    }

This seems perfect for usage by the QIR FullStateSimulator wrapper, but just isn't exposed in capi.hpp.
Unless there is a good reason not to that I'm missing, we should expose the smart allocate from the simulator and use that in QIR.

I believe this is fixed as of https://github.com/microsoft/qsharp-runtime/pull/696.


Change all tests to VMessAEAD

Old VMess MD5 tests will be rejected and fail in 2022:
common/drain: drained connection > proxy/vmess/encoding: invalid user: VMessAEAD is enforced and a non VMessAEAD connection is received.

Codecov Report

Merging #1371 (4c06130) into master (77b8817) will decrease coverage by 0.25%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1371      +/-   ##
==========================================
- Coverage   39.51%   39.26%   -0.26%
==========================================
  Files         597      589       -8
  Lines       34874    34778      -96
==========================================
- Hits        13782    13655     -127
- Misses      19598    19608      +10
- Partials     1494     1515      +21

Impacted Files
Coverage Δ

app/proxyman/outbound/errors.generated.go
0.00% <0.00%> (-100.00%)
:arrow_down:

common/protocol/id.go
62.16% <0.00%> (-35.14%)
:arrow_down:

common/crypto/io.go
17.39% <0.00%> (-21.74%)
:arrow_down:

common/crypto/aes.go
75.00% <0.00%> (-12.50%)
:arrow_down:

proxy/vmess/account.go
61.53% <0.00%> (-7.70%)
:arrow_down:

common/task/task.go
88.88% <0.00%> (-7.41%)
:arrow_down:

testing/servers/tcp/tcp.go
81.81% <0.00%> (-5.46%)
:arrow_down:

testing/scenarios/common.go
73.07% <0.00%> (-4.62%)
:arrow_down:

app/proxyman/outbound/handler.go
38.05% <0.00%> (-4.48%)
:arrow_down:

transport/internet/udp/hub.go
73.61% <0.00%> (-4.17%)
:arrow_down:

... and 19 more

Continue to review full report at Codecov.

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

Hmm, for now, I think  it is still necessary to ensure that VMess MD5 is working properly.

Maybe only testing/scenarios should be modified.

Maybe only testing/scenarios should be modified.

Seems no longer needed as https://github.com/v2fly/v2ray-core/commit/1ebb5640473abf3d5efcfbc67f04554784728d8c is done

Seems no longer needed as https://github.com/v2fly/v2ray-core/commit/1ebb5640473abf3d5efcfbc67f04554784728d8c is done


Question regarding slotted content examples

This is more of a question than anything- but what is the intended way to default slot content in the slots section of the addons control? I know you can pass slotted content as the second arg of the template method, but it results in the content being uneditable, any additions made in the addons panel ends up duplicating any named slots placed there as opposed to replacing it, likewise there's no way to edit the default slot, only slots with a name.
I was able to default named slots like so, which makes it so the string is editable, and it seems to work pretty well (slot name is image, so you can target image-slot as an arg):
export const LargeWithIcon: Story = {
  args: {
    size: 'large',
    'image-slot': `<img
      src="..."
      alt=""
      slot="image"
    />`,
  },
};

However the usage of Lit's html method doesn't work here, meaning it has to be passed as a string. This feels bad because you end up losing a fair amount of tooling that comes with it.
export const LargeWithIcon: Story = {
  args: {
    size: 'large',
    'image-slot': html`<img
      src="..."
      alt=""
      slot="image"
    />`, // Results in [object,Object] showing in the storybook preview
  },
};

Feels like this piece is fairly undocumented as I couldn't find a specific callout on how to do this in the docs. Would love to see support for more default slot configuration as for less atomic components they need to be staged almost entirely with slots to make sense to library users.
Can't stress enough how useful this library continues to be ❤

Ah, looks like the following works with a default-slot arg when you have the following in JSDoc:
@slot default - A slot for default content.

Yes, it is intended. The args content is rendered in a textbox, and lit's tagged templates are actually functions. Users updating the slotted content from storybook have to do it by manipulating the value in the controls textbox (which is a string).
You should also be able to use default-slot with an unnamed slot as well.
@slot A slot for default content.


Synthesis failed for nodejs-logging-bunyan

Hello! Autosynth couldn't regenerate nodejs-logging-bunyan. :broken_heart:
Here's the output from running synth.py:
og.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'./samples/node_modules/fsevents/LICENSE', wd=3818, mask=IN_DELETE, cookie=0, name=LICENSE>
DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'./samples/node_modules/fsevents/fsevents.d.ts', wd=3818, mask=IN_DELETE, cookie=0, name=fsevents.d.ts>
DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'./samples/node_modules/fsevents/fsevents.js', wd=3818, mask=IN_DELETE, cookie=0, name=fsevents.js>
DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'./samples/node_modules/fsevents/fsevents.node', wd=3818, mask=IN_DELETE, cookie=0, name=fsevents.node>
DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'./samples/node_modules/fsevents/README.md', wd=3818, mask=IN_DELETE, cookie=0, name=README.md>
DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'./samples/node_modules/fsevents/package.json', wd=3818, mask=IN_DELETE, cookie=0, name=package.json>
DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'./samples/node_modules/fsevents', wd=3818, mask=IN_DELETE_SELF, cookie=0, name=>
DEBUG:watchdog.observers.inotify_buffer:in-event <InotifyEvent: src_path=b'./samples/node_modules/fsevents', wd=22, mask=IN_DELETE|IN_ISDIR, cookie=0, name=fsevents>
npm WARN optional SKIPPING OPTIONAL DEPENDENCY<EMAIL_ADDRESS>(node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for<EMAIL_ADDRESS>wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

audited 480 packages in 4.557s

63 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

2020-07-26 08:22:30,251 synthtool [DEBUG] > Running fix...
DEBUG:synthtool:Running fix...

><EMAIL_ADDRESS>fix /home/kbuilder/.cache/synthtool/nodejs-logging-bunyan
> gts fix

version: 12
2020-07-26 08:22:33,439 synthtool [DEBUG] > Wrote metadata to synth.metadata.
DEBUG:synthtool:Wrote metadata to synth.metadata.
2020-07-26 08:22:33,498 autosynth [INFO] > Changed files:
2020-07-26 08:22:33,498 autosynth [INFO] > M .gitattributes
 M .kokoro/release/docs-devsite.sh
 M synth.metadata
2020-07-26 08:22:33,498 autosynth [DEBUG] > Running: git log 3a00b7fea8c4c83eaff8eb207f530a2e3e8e1de3 -1 --no-decorate --pretty=%s
2020-07-26 08:22:33,503 autosynth [DEBUG] > Running: git log 3a00b7fea8c4c83eaff8eb207f530a2e3e8e1de3 -1 --no-decorate --pretty=%b%n%nSource-Author: %an <%ae>%nSource-Date: %ad
2020-07-26 08:22:33,507 autosynth [DEBUG] > Running: git add -A
2020-07-26 08:22:33,512 autosynth [DEBUG] > Running: git commit -m fix: move gitattributes files to node templates

Source-Author: F. Hinkelmann<EMAIL_ADDRESS>Source-Date: Thu Jul 23 01:45:04 2020 -0400
Source-Repo: googleapis/synthtool
Source-Sha: 3a00b7fea8c4c83eaff8eb207f530a2e3e8e1de3
Source-Link: https://github.com/googleapis/synthtool/commit/3a00b7fea8c4c83eaff8eb207f530a2e3e8e1de3
[autosynth-12 613c941] fix: move gitattributes files to node templates
 3 files changed, 4 insertions(+), 3 deletions(-)
2020-07-26 08:22:33,520 autosynth [DEBUG] > Running: git reset --hard HEAD
HEAD is now at 613c941 fix: move gitattributes files to node templates
2020-07-26 08:22:33,526 autosynth [DEBUG] > Running: git checkout autosynth
Switched to branch 'autosynth'
2020-07-26 08:22:33,531 autosynth [DEBUG] > Running: git diff HEAD..autosynth-12 -- . :(exclude)synth.metadata
2020-07-26 08:22:33,536 autosynth [DEBUG] > Running: git diff HEAD autosynth-12
2020-07-26 08:22:33,540 autosynth [DEBUG] > Running: git apply /tmpfs/tmp/tmp3dl084yw/autosynth-12.patch
2020-07-26 08:22:33,544 autosynth [DEBUG] > Running: git add -A
2020-07-26 08:22:33,548 autosynth [DEBUG] > Running: git commit -m fix: move gitattributes files to node templates

Source-Author: F. Hinkelmann<EMAIL_ADDRESS>Source-Date: Thu Jul 23 01:45:04 2020 -0400
Source-Repo: googleapis/synthtool
Source-Sha: 3a00b7fea8c4c83eaff8eb207f530a2e3e8e1de3
Source-Link: https://github.com/googleapis/synthtool/commit/3a00b7fea8c4c83eaff8eb207f530a2e3e8e1de3
[autosynth b910588] fix: move gitattributes files to node templates
 2 files changed, 2 insertions(+), 1 deletion(-)
2020-07-26 08:22:33,556 autosynth [DEBUG] > Running: git diff HEAD..autosynth-13 -- . :(exclude)synth.metadata
2020-07-26 08:22:33,560 autosynth [DEBUG] > Running: git diff HEAD..autosynth-13 -- synth.metadata
2020-07-26 08:22:33,564 autosynth [DEBUG] > Running: git diff autosynth-13..autosynth-18 -- . :(exclude)synth.metadata
2020-07-26 08:22:33,568 autosynth [DEBUG] > Running: git diff autosynth-13..autosynth-18 -- synth.metadata
2020-07-26 08:22:33,573 autosynth [DEBUG] > Running: git push --force origin autosynth
To https://github.com/googleapis/nodejs-logging-bunyan.git
 + 3c48920...b910588 autosynth -> autosynth (forced update)
2020-07-26 08:22:37,184 autosynth [DEBUG] > Running: git log -2 --pretty=%b
2020-07-26 08:22:39,401 autosynth [DEBUG] > Running: git clean -fdx
Removing __pycache__/
Removing build/
Removing node_modules/
Removing package-lock.json
Removing samples/node_modules/
Removing samples/package-lock.json
Traceback (most recent call last):
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 677, in urlopen
    chunked=chunked,
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 426, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 421, in _make_request
    httplib_response = conn.getresponse()
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/http/client.py", line 1346, in getresponse
    response.begin()
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/http/client.py", line 276, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/requests/adapters.py", line 449, in send
    timeout=timeout
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 727, in urlopen
    method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/urllib3/util/retry.py", line 403, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/urllib3/packages/six.py", line 734, in reraise
    raise value.with_traceback(tb)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 677, in urlopen
    chunked=chunked,
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 426, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 421, in _make_request
    httplib_response = conn.getresponse()
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/http/client.py", line 1346, in getresponse
    response.begin()
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/http/client.py", line 307, in begin
    version, status, reason = self._read_status()
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/http/client.py", line 276, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/kbuilder/.pyenv/versions/3.6.9/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 657, in <module>
    main()
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 506, in main
    return _inner_main(temp_dir)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 637, in _inner_main
    commit_count = synthesize_loop(x, multiple_prs, change_pusher, synthesizer)
  File "/tmpfs/src/github/synthtool/autosynth/synth.py", line 364, in synthesize_loop
    if change_pusher.check_if_pr_already_exists(fork.branch):
  File "/tmpfs/src/github/synthtool/autosynth/change_pusher.py", line 117, in check_if_pr_already_exists
    prs = self._gh.list_pull_requests(repo, state="open", head=f"{owner}:{branch}")
  File "/tmpfs/src/github/synthtool/autosynth/github.py", line 60, in list_pull_requests
    response = self.session.get(url, params=kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/requests/sessions.py", line 543, in get
    return self.request('GET', url, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/requests/sessions.py", line 530, in request
    resp = self.send(prep, **send_kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/requests/sessions.py", line 643, in send
    r = adapter.send(request, **kwargs)
  File "/tmpfs/src/github/synthtool/env/lib/python3.6/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',))

Google internal developers can see the full log here.

Autosynth passed, closing! :green_heart:


导入项目 打正式包出错

Warning:string 'permission_denied' has no default translation.
Warning:rx.internal.util.unsafe.BaseLinkedQueueConsumerNodeRef: can't find referenced class sun.misc.Unsafe
Warning:rx.internal.util.unsafe.BaseLinkedQueueProducerNodeRef: can't find referenced class sun.misc.Unsafe
Warning:rx.internal.util.unsafe.ConcurrentCircularArrayQueue: can't find referenced class sun.misc.Unsafe
Warning:rx.internal.util.unsafe.ConcurrentSequencedCircularArrayQueue: can't find referenced class sun.misc.Unsafe
Warning:rx.internal.util.unsafe.MpmcArrayQueueConsumerField: can't find referenced class sun.misc.Unsafe
Warning:rx.internal.util.unsafe.MpmcArrayQueueProducerField: can't find referenced class sun.misc.Unsafe
Warning:rx.internal.util.unsafe.MpscLinkedQueue: can't find referenced class sun.misc.Unsafe
Warning:rx.internal.util.unsafe.SpmcArrayQueueConsumerField: can't find referenced class sun.misc.Unsafe
Warning:rx.internal.util.unsafe.SpmcArrayQueueProducerField: can't find referenced class sun.misc.Unsafe
Warning:rx.internal.util.unsafe.SpscArrayQueue: can't find referenced class sun.misc.Unsafe
Warning:rx.internal.util.unsafe.SpscUnboundedArrayQueue: can't find referenced class sun.misc.Unsafe
Warning:rx.internal.util.unsafe.UnsafeAccess: can't find referenced class sun.misc.Unsafe
Warning:there were 44 unresolved references to classes or interfaces.
Warning:Exception while processing task java.io.IOException: Please correct the above warnings first.
Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForGeneralRelease'.

java.io.IOException: Please correct the above warnings first.

启用混淆了吗，可参考关于代码混淆

加了混淆，仍然报错。
Warning:string 'permission_denied' has no default translation.
下面是复制过来的混淆代码：
#图片选择库
-keep class com.jph.takephoto.** { *; }
-dontwarn com.jph.takephoto.**

-keep class com.darsh.multipleimageselect.** { *; }
-dontwarn com.darsh.multipleimageselect.**

-keep class com.soundcloud.android.crop.** { *; }
-dontwarn com.soundcloud.android.crop.**


URL dependency of a dependency failing to resolve

$ uv --version
uv 0.4.19

Related:

https://github.com/astral-sh/uv/issues/1932#issuecomment-2155660516
https://github.com/astral-sh/uv/issues/4152

I have a package published to AWS Code Artifact that has a pyproject.toml that looks something like this:
[build-system]
requires = [
    "setuptools",
    "wheel",
]

# https://packaging.python.org/en/latest/specifications/declaring-project-metadata/
[project]
name = "my_package"
dynamic = ["version"]
dependencies = [
    "transformers[torch] @ git+https://github.com/huggingface/transformers@1f33023cfa998c237372baff36b166c014f33405#egg=transformers",
]

When I try to install it, I get the same error as in the 2 linked issues:
error: Package `transformers` attempted to resolve via URL: git+https://github.com/huggingface/transformers@1f33023cfa998c237372baff36b166c014f33405#egg=transformers. URL dependencies must be expressed as direct requirements or constraints. Consider adding `transformers @ git+https://github.com/huggingface/transformers@1f33023cfa998c237372baff36b166c014f33405#egg=transformers` to your dependencies or constraints file.

pip is able to install it though.
I would try to publish a package like this to PyPI as a MRE, but I think PyPI specifically forbids publishing packages with direct links.
So, similar to the recursive dependency in #4152, is there another case not being considered here? As in when the link is coming from the package you are trying to install.

Is this a dupe of https://github.com/astral-sh/uv/issues/5070?

Is this a dupe of #5070?

Yes seems like it.

(Merging.)


Ignore different files in different schemas\configurations

In our project, which have multiple targets and multiple build configurations, we run into the issue with EXCLUDED_SOURCE_FILE_NAMES settings. We are excluding some files for production builds (and some parts of source codes).
When we dont add ignore file, there is a problem with production build. If we add the global ignore file, the error is in our develop instance build.
I think, that R should have its own mechanism for selective ignore, or it should check EXCLUDED_SOURCE_FILE_NAMES for automatic ignore.
Or mI missing something?

R.swift uses all files from a target when generated the R struct.
It doesn't have support for EXCLUDED_SOURCE_FILE_NAMES (pull requests for new features are welcome!)
Thinking about this; Maybe it's possible to generate a ignore file based on the EXCLUDED_SOURCE_FILE_NAMES variable?

I've not used this Xcode feature myself, so to be clear; @mkubista you're excluding resources like images/xibs/storyboards from a certain configuration by putting them into EXCLUDED_SOURCE_FILE_NAMES?
Are you using this to build different variants of your app (like white-labeling)? Or is it to exclude some development features from the production build?
If you don't have too many variations a workaround could be to adjust the R.swift invocation in such a way that in production you do pass the ignore file and in debug you don't.

I've not used this Xcode feature myself, so to be clear; @mkubista you're excluding resources like images/xibs/storyboards from a certain configuration by putting them into EXCLUDED_SOURCE_FILE_NAMES?
Are you using this to build different variants of your app (like white-labeling)? Or is it to exclude some development features from the production build?
If you don't have too many variations a workaround could be to adjust the R.swift invocation in such a way that in production you do pass the ignore file and in debug you don't.

We are excluding some developer features from production builds - like some dialogs for switching REST API endpoint, extended logging of all API calls and other features.
So the solution you are proposing will work, if I check the current build configuration in script and pass ignore file as parameter. The slight flaw is, that we must remember to update ignore file when we will exclude other resources.
But it could be made by script.


this.debouncedGetAnswer is not a function

Version
2.6.10
Reproduction link
https://cn.vuejs.org/v2/guide/computed.html#%E4%BE%A6%E5%90%AC%E5%99%A8
Steps to reproduce
no step.please check the data
What is expected?
the repro defined two data, maybe the word 'debouncedGetAnswer ' should be replaced by  'getAnswer'.
What is actually happening?
this.debouncedGetAnswer is not a function

it's be resolved.

Heh if there is a mistake on the docs, could you please open an issue or a pull request on our doc repository? vuejs/vuejs.org
Im reopening and closing this to prevent further spam


Crashes after update without logs

I am trying to get MinEdLauncher to work on my Ubuntu 22.04 Budgie instance, but the launcher closes as soon as it gets to checking for updates.
I have checked for crash logs, but there are no files there:
$: ~/.config/min-ed-launcher$ stat $XDG_STATE_HOME/min-ed-launcher/min-ed-launcher.log
stat: cannot statx '/min-ed-launcher/min-ed-launcher.log': No such file or directory

$: ~/.config/min-ed-launcher$ stat ~/.local/state
stat: cannot statx '/home/sbdavis/.local/state': No such file or directory

I have tried with both experimental proton, 6.3, and 7
It does look like the settings.json file is getting created though:
$: ~/.config/min-ed-launcher$ find ./
./
./settings.json

System specs:
$ neofetch
           ./oydmMMMMMMmdyo/.              sbdavis@caliburn-ubuntu
        :smMMMMMMMMMMMhs+:++yhs:           -----------------------
     `omMMMMMMMMMMMN+`        `odo`        OS: Ubuntu Budgie 22.04.1 LTS x86_64
    /NMMMMMMMMMMMMN-            `sN/       Host: MS-7D42 1.0
  `hMMMMmhhmMMMMMMh               sMh`     Kernel: 5.15.0-46-generic
 .mMmo-     /yMMMMm`              `MMm.    Uptime: 10 hours, 55 mins
 mN/       yMMMMMMMd-              MMMm    Packages: 1949 (dpkg), 17 (snap)
oN-        oMMMMMMMMMms+//+o+:    :MMMMo   Shell: bash 5.1.16
m/          +NMMMMMMMMMMMMMMMMm. :NMMMMm   Resolution: 1920x1080, 1920x1080
M`           .NMMMMMMMMMMMMMMMNodMMMMMMM   DE: Budgie 10.6.1
M-            sMMMMMMMMMMMMMMMMMMMMMMMMM   WM: Mutter(Budgie)
mm`           mMMMMMMMMMNdhhdNMMMMMMMMMm   Theme: Pocillo-dark [GTK2/3]
oMm/        .dMMMMMMMMh:      :dMMMMMMMo   Icons: Pocillo [GTK2/3]
 mMMNyo/:/sdMMMMMMMMM+          sMMMMMm    Terminal: tilix
 .mMMMMMMMMMMMMMMMMMs           `NMMMm.    CPU: 12th Gen Intel i7-12700F (20) @
  `hMMMMMMMMMMM.oo+.            `MMMh`     GPU: AMD ATI Radeon RX 6800/6800 XT
    /NMMMMMMMMMo                sMN/       Memory: 4659MiB / 31961MiB
     `omMMMMMMMMy.            :dmo`
        :smMMMMMMMh+-`   `.:ohs:
           ./oydmMMMMMMdhyo/.

For what it's worth, I haven't been able to get ED to launch using Linux Mint either. If I don't use the MinEdLauncher and just use proton, the launcher starts but throws a message saying the launcher is out of date and I have no choice but to close it out.

The current readme includes updates that haven't been released yet including the log file location change. You should have a log file in the logs folder that's in the same location as the binary.

It looks like it's authenticating into Steam, but when it gets a list of purchased products it can't find any so I only get the combat demo. I don't have the combat demo in my directory, so it crashes. In the "Products" folder, I only have elite-dangerous-64. I bought the game through Steam back in like 2016 and linked my Steam account to my new Frontier account.

2022-08-15 18:14:43.377 -04:00 [DBG] Got steam client
2022-08-15 18:14:43.377 -04:00 [DBG] Got steam pipe
2022-08-15 18:14:43.380 -04:00 [DBG] Got steam global user
2022-08-15 18:14:43.381 -04:00 [DBG] Got steam user
2022-08-15 18:14:43.382 -04:00 [DBG] Requesting steam auth ticket
2022-08-15 18:14:43.382 -04:00 [DBG] Got steam auth ticket
2022-08-15 18:14:43.386 -04:00 [DBG] Authenticating via Steam
2022-08-15 18:14:44.232 -04:00 [DBG] Successfully authenticated
2022-08-15 18:14:44.233 -04:00 [DBG] Disposing Steam resources
2022-08-15 18:14:44.233 -04:00 [DBG] Cancelling auth ticket
2022-08-15 18:14:44.233 -04:00 [DBG] closing steam
2022-08-15 18:14:44.238 -04:00 [INF] Logged in via Steam as: ###REDACTED###
2022-08-15 18:14:44.238 -04:00 [DBG] Getting authorized products
2022-08-15 18:14:46.140 -04:00 [DBG] Purchases Response:
{"purchases":[{"colour":"#f07b05","filter":"ed","directory":"COMBAT_TUTORIAL_DEMO","serverargs":"","gameargs":"","sortkey":"30","product_name":"Single Player Combat Training","product_sku":"COMBAT_TUTORIAL_DEMO","template":"http://hosting.zaonce.net/launcher-steam/elite/en.html"}]}
2022-08-15 18:14:46.149 -04:00 [DBG] Authorized Products: Single Player Combat Training
2022-08-15 18:14:46.149 -04:00 [INF] Checking for updates
2022-08-15 18:14:46.151 -04:00 [DBG] Disabling 'Single Player Combat Training'. Unable to find product at '/home/sbdavis/.steam/debian-installation/steamapps/common/Elite Dangerous/Products/COMBAT_TUTORIAL_DEMO/VersionInfo.txt'
2022-08-15 18:14:46.183 -04:00 [ERR] Unhandled exception: System.AggregateException: AggregateException_ctor_DefaultMessage (Argument_InvalidResourceCultureName, en_us.utf-8)
 ---> System.ArgumentException: Argument_InvalidResourceCultureName, en_us.utf-8
   at System.Globalization.CultureInfo.VerifyCultureName(String cultureName, Boolean throwException)
   at System.Resources.ResourceManager.GetResourceFileName(CultureInfo culture)
   at System.Resources.ResourceManager.ResourceManagerMediator.GetResourceFileName(CultureInfo culture)
   at System.Resources.ManifestBasedResourceGroveler.GrovelForResourceSet(CultureInfo culture, Dictionary`2 localResourceSets, Boolean tryParents, Boolean createIfNotExists)
   at System.Resources.ResourceManager.InternalGetResourceSet(CultureInfo culture, Boolean createIfNotExists, Boolean tryParents)
   at System.Resources.ResourceManager.GetString(String name, CultureInfo culture)
   at MinEdLauncher.App.max@346(FSharpList`1 _arg10, FSharpFunc`2 f)
   at MinEdLauncher.App.continuation@1-59(LauncherSettings settings, CancellationToken cancellationToken, HttpClient _arg1, DateTime localTime, Int64 _arg3, String machineId, Connection connection, FSharpList`1 _arg10)
   at System.Runtime.CompilerServices.RuntimeHelpers.DispatchTailCalls(IntPtr callersRetAddrSlot, IntPtr callTarget, IntPtr retVal)
   at MinEdLauncher.App.continuation@328-55.Invoke(Unit unitVar0)
   at Ply.TplPrimitives.AwaitableContinuation`3.Invoke(Unit r)
   at Ply.TplPrimitives.tryFinally@257.Invoke(AwaitableContinuation`3 this)
   at Ply.TplPrimitives.AwaitableContinuation`3.Invoke(Unit r)
   at Ply.TplPrimitives.combine@240.Invoke(AwaitableContinuation`3 this)
   at Ply.TplPrimitives.AwaitableContinuation`3.Invoke(Unit r)
   at Ply.TplPrimitives.tryFinally@257.Invoke(AwaitableContinuation`3 this)
   at Ply.TplPrimitives.ContinuationStateMachine`1.System-Runtime-CompilerServices-IAsyncStateMachine-MoveNext()
   at MinEdLauncher.App.run@291-7.Invoke(Unit unitVar0)
   at Ply.TplPrimitives.ContinuationStateMachine`1.System-Runtime-CompilerServices-IAsyncStateMachine-MoveNext()
   at MinEdLauncher.Program.main@59-8.Invoke(Unit unitVar0)
   at Ply.TplPrimitives.ContinuationStateMachine`1.System-Runtime-CompilerServices-IAsyncStateMachine-MoveNext()
   Exception_EndOfInnerExceptionStack

This looks like an account linking issue. FDev's API says you don't own the game.
When you say you linked it to your new frontier account, does that mean a different one than in the past? I'm not sure how frontier decides on game licenses, but it could be the case that you can't link to more than one account.
You could try directly logging in with your frontier account since you have a pre-april 2019 purchase.
You might have to contact frontier support to get the issue resolved. If you do contact them, you might mention that the response to https://api.zaonce.net/3.0/user/purchases (purchases response) only returns the combat demo for your linked account.

After opening a ticket with Frontier Support, they confirmed my CD key was actually registered to an older email of mine. I was able to log into that Frontier account, register it with Steam, and everything worked from there.
Thanks so much!


feat: design changes in form component

Description

Currently "Details" section under the "Address" field has a blue background color making it visually discomfortable to look at.
The position of "bin" icon is on the left side of the section and don't clearly convey its usage clearly.

Possible solution(s)

Changing the color from blue to a suitable lighter color as per the exisitng color scheme
Moving the bin icon to the top of each section giving user a clear idea of its functionality

Additional context

Current look :

@anantJjain this is not an error or unexpected behaviour, this is just to showcase the extent and ease of the styling configuration of design package. If there is anything to change here, maybe that would be to give better example of the styles using the css parts instead of just changing the bg color and button position.
BTW both of those are configurable in the design package if Im not wrong.


Checklist upgrade

Restructured checklist

Breaks into three main sections, Preparation, Setup, and Monitoring/Maintenance

Adds and updates content

Adds testnet suggestion

[x] Provide link to checklist from initial disclaimers/advisories section

@samajammin @ryancreatescopy Take a look at this and let me know what you think of the changes. Modeled after Figma notes.

@ryancreatescopy Implemented your suggestions and updated Figma. Take a peak and let me know your thoughts


[Feature Request] Add custom image for half star

Please add the functionality to add your own images for half stars. Currently, you can only add custom images for empty/full.

Hi @Ludotrico thanks for the request. What kind of functionality you want to achieve with the half star images?

@evgenyneu At the moment there is half star precision but not if you supply custom images. This should be added:
CosmoView.settings.halfStarImage = ....

Oh, half precision should work with current setup of full and empty image. What it does, it first draws the empty star, and then draws half of the full start on top of it. Have you tried it?

Wow, i'm speechless, thanks!


Revoking tokens

Should tokens be removed at the client side only (from the database w/e) or from LinkedIn as well?
This Stackoverflow topic states it should be possible: http://stackoverflow.com/questions/11223357/how-to-remove-revoke-access-token-from-the-linkedin
But its from 2012.

Thank you for the link. I agree. You should remove the access token from your database if the user requests it.
When you have authenticated your user you can get the token by calling LinkedIn::getAccessToken(). You may save it or throw it away. That is out of scope for the library.


Add context.pxd

The comments are taken from the C API documentation
(https://docs.python.org/3.8/c-api/contextvars.html).

Superseded by #4088.


Skip lines that are strictly inside of a multi-line string for indentation evaluation

In relation to https://github.com/microsoft/vscode/issues/209519
As part of the indentation improvements we want to do, we would like to skip lines that are strictly inside of a multi-line string, when evaluating indentation
Simplify the indentation regexes in order not to take into account comment placements for indentation.

More specifically after discussing with colleagues, we want to avoid reindenting tokens inside of strings, and change the indentation when pasting into a string.


This commit will add Neha to model-registry OWNERS file

https://github.com/tonyxrmdavidson/model-registry.git

/test e2e-odh-cfo

/test e2e-odh-cfo

/test e2e-odh-cfo

@tonyxrmdavidson This PR is ready to merge now 🎉