[Bug] Encounter errors when using model locally

Describe the bug
import torch
from modelscope import AutoModel, AutoTokenizer

torch.set_grad_enabled(False)
model_path = './local_dir'

# init model and tokenizer
model = AutoModel.from_pretrained(model_path, torch_dtype=torch.bfloat16, trust_remote_code=True).cuda().eval()
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)

query = 'Analyze the given image in a detail manner'
image = ['./tests/panda.jpg']
with torch.autocast(device_type='cuda', dtype=torch.float16):
    response, _ = model.chat(tokenizer, query, image, do_sample=False, num_beams=3, use_meta=True)
print(response)

Hi, I was using the code above to test the model locally, but got the error

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Input In [65], in <module>
      5 images.append(image)
      6 image = torch.stack(images)
----> 7 response, _ = model.chat(tokenizer,
      8                          query=query,
      9                          image=image,
     10                          history=[])
     11 print(response)

File /opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py:115, in context_decorator.<locals>.decorate_context(*args, **kwargs)
    112 @functools.wraps(func)
    113 def decorate_context(*args, **kwargs):
    114     with ctx_factory():
--> 115         return func(*args, **kwargs)

File ~/.cache/huggingface/modules/transformers_modules/modeling_internlm_xcomposer2.py:594, in InternLMXComposer2ForCausalLM.chat(self, tokenizer, query, image, hd_num, history, streamer, max_new_tokens, do_sample, num_beams, temperature, top_p, repetition_penalty, infer_mode, use_meta, meta_instruction, **kwargs)
    592     im_mask = torch.zeros(inputs['input_ids'].shape[:2]).cuda().bool()
    593 else:
--> 594     inputs, im_mask, _ = self.interleav_wrap_chat(query, image, history=history, meta_instruction=meta_instruction, hd_num=hd_num)
    595 inputs = {
    596     k: v.to(self.device)
    597     for k, v in inputs.items() if torch.is_tensor(v)
    598 }
    599 # also add end-of-assistant token in eos token id to avoid unnecessary generation

File ~/.cache/huggingface/modules/transformers_modules/modeling_internlm_xcomposer2.py:259, in InternLMXComposer2ForCausalLM.interleav_wrap_chat(self, query, image, history, meta_instruction, max_length, hd_num)
    257 for idx, part in enumerate(parts):
    258     if need_bos or len(part) > 0:
--> 259         part_tokens = self.tokenizer(
    260             part,
    261             return_tensors='pt',
    262             padding='longest',
    263             add_special_tokens=need_bos).to(self.device)
    264         if need_bos:
    265             need_bos = False

TypeError: 'NoneType' object is not callable

Also, if I use the code TestMMModel from test_hf_model, it will report the two images (panda.jpg and bamboo.jpg) are not the same size when running this line
image = torch.stack(images)
The model was downloaded from link below
https://www.modelscope.cn/models/Shanghai_AI_Laboratory/internlm-xcomposer2d5-7b
Environment
python 3.10.13
torch 2.1.2
cuda 12.2
Other information
No response

Describe the bug
import torch
from modelscope import AutoModel, AutoTokenizer

torch.set_grad_enabled(False)
model_path = './local_dir'

# init model and tokenizer
model = AutoModel.from_pretrained(model_path, torch_dtype=torch.bfloat16, trust_remote_code=True).cuda().eval()
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)

query = 'Analyze the given image in a detail manner'
image = ['./tests/panda.jpg']
with torch.autocast(device_type='cuda', dtype=torch.float16):
    response, _ = model.chat(tokenizer, query, image, do_sample=False, num_beams=3, use_meta=True)
print(response)

Hi, I was using the code above to test the model locally, but got the error

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Input In [65], in <module>
      5 images.append(image)
      6 image = torch.stack(images)
----> 7 response, _ = model.chat(tokenizer,
      8                          query=query,
      9                          image=image,
     10                          history=[])
     11 print(response)

File /opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py:115, in context_decorator.<locals>.decorate_context(*args, **kwargs)
    112 @functools.wraps(func)
    113 def decorate_context(*args, **kwargs):
    114     with ctx_factory():
--> 115         return func(*args, **kwargs)

File ~/.cache/huggingface/modules/transformers_modules/modeling_internlm_xcomposer2.py:594, in InternLMXComposer2ForCausalLM.chat(self, tokenizer, query, image, hd_num, history, streamer, max_new_tokens, do_sample, num_beams, temperature, top_p, repetition_penalty, infer_mode, use_meta, meta_instruction, **kwargs)
    592     im_mask = torch.zeros(inputs['input_ids'].shape[:2]).cuda().bool()
    593 else:
--> 594     inputs, im_mask, _ = self.interleav_wrap_chat(query, image, history=history, meta_instruction=meta_instruction, hd_num=hd_num)
    595 inputs = {
    596     k: v.to(self.device)
    597     for k, v in inputs.items() if torch.is_tensor(v)
    598 }
    599 # also add end-of-assistant token in eos token id to avoid unnecessary generation

File ~/.cache/huggingface/modules/transformers_modules/modeling_internlm_xcomposer2.py:259, in InternLMXComposer2ForCausalLM.interleav_wrap_chat(self, query, image, history, meta_instruction, max_length, hd_num)
    257 for idx, part in enumerate(parts):
    258     if need_bos or len(part) > 0:
--> 259         part_tokens = self.tokenizer(
    260             part,
    261             return_tensors='pt',
    262             padding='longest',
    263             add_special_tokens=need_bos).to(self.device)
    264         if need_bos:
    265             need_bos = False

TypeError: 'NoneType' object is not callable

Also, if I use the code TestMMModel from test_hf_model, it will report the two images (panda.jpg and bamboo.jpg) are not the same size when running this line image = torch.stack(images)
The model was downloaded from link below https://www.modelscope.cn/models/Shanghai_AI_Laboratory/internlm-xcomposer2d5-7b
Environment
python 3.10.13 torch 2.1.2 cuda 12.2
Other information
No response

can you try demo in https://huggingface.co/internlm/internlm-xcomposer2d5-7b or https://github.com/InternLM/InternLM-XComposer ？

Describe the bug
import torch
from modelscope import AutoModel, AutoTokenizer

torch.set_grad_enabled(False)
model_path = './local_dir'

# init model and tokenizer
model = AutoModel.from_pretrained(model_path, torch_dtype=torch.bfloat16, trust_remote_code=True).cuda().eval()
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)

query = 'Analyze the given image in a detail manner'
image = ['./tests/panda.jpg']
with torch.autocast(device_type='cuda', dtype=torch.float16):
    response, _ = model.chat(tokenizer, query, image, do_sample=False, num_beams=3, use_meta=True)
print(response)

Hi, I was using the code above to test the model locally, but got the error

---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Input In [65], in <module>
      5 images.append(image)
      6 image = torch.stack(images)
----> 7 response, _ = model.chat(tokenizer,
      8                          query=query,
      9                          image=image,
     10                          history=[])
     11 print(response)

File /opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py:115, in context_decorator.<locals>.decorate_context(*args, **kwargs)
    112 @functools.wraps(func)
    113 def decorate_context(*args, **kwargs):
    114     with ctx_factory():
--> 115         return func(*args, **kwargs)

File ~/.cache/huggingface/modules/transformers_modules/modeling_internlm_xcomposer2.py:594, in InternLMXComposer2ForCausalLM.chat(self, tokenizer, query, image, hd_num, history, streamer, max_new_tokens, do_sample, num_beams, temperature, top_p, repetition_penalty, infer_mode, use_meta, meta_instruction, **kwargs)
    592     im_mask = torch.zeros(inputs['input_ids'].shape[:2]).cuda().bool()
    593 else:
--> 594     inputs, im_mask, _ = self.interleav_wrap_chat(query, image, history=history, meta_instruction=meta_instruction, hd_num=hd_num)
    595 inputs = {
    596     k: v.to(self.device)
    597     for k, v in inputs.items() if torch.is_tensor(v)
    598 }
    599 # also add end-of-assistant token in eos token id to avoid unnecessary generation

File ~/.cache/huggingface/modules/transformers_modules/modeling_internlm_xcomposer2.py:259, in InternLMXComposer2ForCausalLM.interleav_wrap_chat(self, query, image, history, meta_instruction, max_length, hd_num)
    257 for idx, part in enumerate(parts):
    258     if need_bos or len(part) > 0:
--> 259         part_tokens = self.tokenizer(
    260             part,
    261             return_tensors='pt',
    262             padding='longest',
    263             add_special_tokens=need_bos).to(self.device)
    264         if need_bos:
    265             need_bos = False

TypeError: 'NoneType' object is not callable

Also, if I use the code TestMMModel from test_hf_model, it will report the two images (panda.jpg and bamboo.jpg) are not the same size when running this line image = torch.stack(images)
The model was downloaded from link below https://www.modelscope.cn/models/Shanghai_AI_Laboratory/internlm-xcomposer2d5-7b
Environment
python 3.10.13 torch 2.1.2 cuda 12.2
Other information
No response

can you try demo in https://huggingface.co/internlm/internlm-xcomposer2d5-7b or https://github.com/InternLM/InternLM-XComposer ？

Thank you for your reply, But the first coding paragraph should be the same as the huggingface High Resolution Image Understanding demo, except I changed the model to my local files.
I'm not sure if it's the way I use that cause this error.

@HanKaiyang They have different implementations, you can see the code https://huggingface.co/internlm/internlm-xcomposer2-7b/blob/d7ab428de9dc92ea1df7763bf4723ac76c181da1/modeling_internlm_xcomposer2.py#L477  and https://huggingface.co/internlm/internlm-xcomposer2d5-7b/blob/4aa81f2bbf20a9ddd4137dfe847c142adf07b652/modeling_internlm_xcomposer2.py#L601. The format of parameter image is different.

@HanKaiyang They have different implementations, you can see the code https://huggingface.co/internlm/internlm-xcomposer2-7b/blob/d7ab428de9dc92ea1df7763bf4723ac76c181da1/modeling_internlm_xcomposer2.py#L477 and https://huggingface.co/internlm/internlm-xcomposer2d5-7b/blob/4aa81f2bbf20a9ddd4137dfe847c142adf07b652/modeling_internlm_xcomposer2.py#L601. The format of parameter image is different.

Hi, I think I figure out the problem. When using model.chat(tokenizer,...), the tokenizer is not attached to the model properly, so that the tokenizer is not callable in function interleav_wrap_chat.
The problem is solved by initiated the model tokenizer by adding model.tokenizer = tokenizer before using model.chat.
model_path = './local_dir'
tokenizer = AutoTokenizer.from_pretrained(model_path, trust_remote_code=True)
model = AutoModel.from_pretrained(model_path, torch_dtype=torch.bfloat16, trust_remote_code=True).cuda().eval()
model.tokenizer = tokenizer
model.chat(...)

Appreciate for you help.
BG


In ViewPager2 just show loading indicator in some cases

I'm using BIV(1.5.7) in ViewPager2(1.0.0-beta04), if the viewpager2 init with the currentItem which is > 1, than previous page will only show the progress indicator, no mater how user scrolled later, the image will never show up.

I hope you could do some debug on it, and submit a bugfix PR :)

I hope you could do some debug on it, and submit a bugfix PR :)

I've find the solution here https://github.com/Piasy/BigImageViewer/blob/master/app/src/main/java/com/github/piasy/biv/example/RecyclerAdapter.java#L50

Great then, I'll update README about this.


Solution to i_introduction - Extensions On Collection is incorrect

Hi there, first of all this page has been a great resource!
The solution to Extensions on Collections is listed in the online tutorial as:
arrayListOf(1, 5, 2).sortedDescending()

@RNabel, my solution for this test is as correct as your answer.
Thanks for your issue!
Greeting!!!

Great, thank you for having a look! While your answer is correct, the question states:
"Rewrite the previous example once more using an extension function sortedDescending" :wink:


OpenStack GPU support

Summary
Document how GPUs should be configured to be available in OpeStack.

Related issue :

@gwarf, is it still ok to merge?


Why the state size of S6 implementation is limited to <=256 ?

Because we don't use anywhere near that high, and it takes more effort to implement for state size > 256.


fix: removed the custom ip address logic and '@hashgraph/proto'

Description
This pull request changes the following:

removed the custom ip address logic and '@hashgraph/proto'

Related Issues

Closes #493

:tada: This PR is included in version 0.29.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[PACKAGE DETECTED AS MALWARE] simple-drag-drop-text

The atom package simple-drag-drop-text is detected as malware by the Dr.Web antivirus.

Threat: JS.DownLoader.1080
Isolated: 08/05/2019 13:12
Quarantine type: User
Object name: jquery.js
Owner: aurora
Modified: 08/05/2019 13:12
Size: 251.51 KB
Origin path:
/home/aurora/.atom/packages/simple-drag-drop-text/node_modules/jquery/dist/jquery.js

vms.drweb.com/search/?q=JS.DownLoader.1080

However the Kaspersky VirusDesk showed no results.

The package lives up to the "simple" part of its name, with nothing suspicious in the tiny bit of code that makes up the package.
This sounds like a false positive from your AV vendor, an unfortunately common problem.
Thanks for contributing!

@Arcanemagus When I looked closer, I've found the malicious file was not part of this package at all, but of the dependencies.
The root cause was actually jQuery JavaScript Library v2.2.4.
I've reinstalled the package and just rescanned the suspected file but no issue was found!
I don't know, maybe another program injected something into that directory; I hope not.


Submission of Batch Jobs with Python Code

Is it possible to submit a Livy Spark Batch job that references a python file instead of a jar file? I have tried something of the following, but the job fails:
curl -k --user "user:pwd" -v -H "Content-Type: application/json" -X POST --data "{"file"<EMAIL_ADDRESS>https://mycluster.azurehdinsight.net/livy/batches | python -m json.tool

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

ID: 4472f8f1-7879-22cc-9c8d-5ccca7f0358a
Version Independent ID: 19443dd3-1562-c748-2cc4-7e19b3aa01f4
Content: Use Livy Spark to submit jobs to Spark cluster on Azure HDInsight
Content Source: articles/hdinsight/spark/apache-spark-livy-rest-interface.md
Service: hdinsight
Product: unspecified
GitHub Login: @nitinme
Microsoft Alias: nitinme

@hr00
Thanks for the feedback! We are currently investigating and will update you shortly.

@hr00 What message does the job fail with?

@hr00 I see references to the Livy batches API and python files here:
https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.4/bk_spark-component-guide/content/livy-api-batch.html
@nitinme could you consider this a request to add an example of how to make a Livy API call to execute a python file?

@jason-j-MSFT We have used that API to create the requests and have successfully done so for session requests and statements. But when running batch jobs we see exceptions in the application log like the following:
Application application_1526496305873_0051 failed 5 times due to AM Container for appattempt_1526496305873_0051_000005 exited with exitCode: -1000
For more detailed output, check the application tracking page: http://.cx.internal.cloudapp.net:8088/cluster/app/application_1526496305873_0051 Then click on links to logs of each attempt.
Diagnostics: File/Folder does not exist: /clusters//user/livy/.sparkStaging/application_1526496305873_0051/pyspark.zip [0460e181-84d4-45a7-903e-31258cf7946d][2018-05-31T09:06:24.2370618-07:00] [ServerRequestId:0460e181-84d4-45a7-903e-31258cf7946d]
java.io.FileNotFoundException: File/Folder does not exist: /clusters//user/livy/.sparkStaging/application_1526496305873_0051/pyspark.zip [0460e181-84d4-45a7-903e-31258cf7946d][2018-05-31T09:06:24.2370618-07:00] [ServerRequestId:0460e181-84d4-45a7-903e-31258cf7946d]
at sun.reflect.GeneratedConstructorAccessor81.newInstance(Unknown Source)

@hr00 you might want to check it here: https://issues.apache.org/jira/browse/SPARK-10795

@hr00 Please let us know if you need further assistance, or if the tips provided led to a solution. Thanks! Jason

#please-close
We haven't heard back lately, and not sure if this issue is still active. Let us know if we need to continue the discussion.
Azure support could also assist if you are stuck.
Summary:
The doc recommended to use the POST /batches and the pyFiles element in the body.
pyFiles | Python files to be used in this session | list of strings
Looks like there are a number of quirks with pyspark.zip per the jira noted.
Not sure if this scenario is hitting a bug, or something misconfigured on the cluster, or a problem in the body of the rest call.


(BSO) =cl pets

🐛 Bug Report
Add the new BSO pets to the =cl pets like plopper, ishi, wilvus, etc.
Also I got Zippy from questing, but doesn't show up on the =cl pets.
https://i.imgur.com/LjApdLg.png
https://i.imgur.com/GxcvaaS.png

Added all the missing pets to cl pets.


[Impeller] Document the level of support for all parts of the Flutter rendering API.

Prepare a feature matrix attempting to list everything Flutter supports today (in its rendering API) and detail if Impeller supports the operation and to what level of fidelity.
The scope of this task is limited to the rendering intent can be expressed using the display list dispatcher.

go/impeller-whats-done is a WIP and will be reviewed in the weekly sync.

All remaining fidelity issues identified in the doc now have issues assigned to them.


silk_clear_request_log taking longer than 30 minutes

Just installed Silk and ran through all the settings. Everything "works" perfectly (I can see the profiles and queries of the method I set the silk profile on just fine), but the queries seems extremely high for the 2 Django queries I'm making inside the method. I'll be creating an issue after this one to address that issue.
The main issue, however, is that when I tried to clear the logs to see if that's the problem, silk_clear_request_log takes an enormous amount of time. I let it sit for 30 minutes and then went and cooked dinner, came back and it had finally finished. Since I had just installed Silk and run maybe 2 requests, I thought this seemed a bit excessive. Unsure on a fix for this, except perhaps showing some kind of feedback like a progression bar so the user doesn't think the command failed?

@blairg23 That seems rather bizarre behavior for the clearing feature. hmm. Can I get some information as to what is your setup specifically?

Looking at the command itself. It actually clears 4 separate tables. Likely what could be added is some progress reporting to let the command user know what is about to take place. Also, I am not sure if the for loop used to remove is the most efficient. The command is 2/3 years old. It could use a little love to see how it can improve.

I agree, I think some feedback to tell the user that it's still going and what progress it's made would be helpful. I found that the reason it takes so long is that I had an inefficiency which was causing a query to occur every iteration, so I was having 39k queries every time I called that method. This build up of queries probably led to the long wait time on the clear Silk log command. It takes considerably less time now.

I'm having the same problem, and I have 10,000 requests as shown in the silk UI. Perhaps there's a workaround with some raw SQL that I can execute to purge the data?

@siovene depends on what DB flavor you are using, but as avelis already mentioned in previous post, you can run TRUNCATE SQL command yourself, which purge the logs very fast.
IMO I think that this task should be implemented with Raw SQL as the performance gain is very, very significant. I noticed that you support PostgreSQL, SQLite and MySQL and it should not be hard to write support for these, especially since TRUNCATE is pretty straightforward command. Only difference will be in SQLite where it is not supported and DELETE TABLE * needs to be used...
If you would agree with this approach I would be happy to submit PR with the changes...


Source for Human3.6M Images?

Hello,
I was wondering if you had the script to generate the images that correspond to your annotations for the Human3.6M dataset. I didn't see any information on it and would like them so I can train your model using your train script. I already have access to the Human3.6M raw videos so only need the script to convert to images.

Hi @vgonzalez88 ,
Actually, we do not process image from original video by our self. We use the images processed by PoseNet. I think you can download them directly from here.


Allow downloading tweets by hashtag or cashtag

This branch adds the ability to download tweets not only for a profile, but also for hashtags or cashtags.
Changes were made to the functions get_tweets and pagination_parser in nitter_scraper/tweets.py and get_tweets in nitter_scraper/nitter.py. Please tell me if you're okay with the implementation or have suggestions for improvement.
Example usage for hashtags (leading #):
import nitter_scraper
from nitter_scraper import NitterScraper

hashtags = ["ToTheMoon"]

print("Scraping with local nitter docker instance.")

with NitterScraper(host="<IP_ADDRESS>", port=8008) as nitter:
    for hashtag in hashtags:
        tweets = nitter.get_tweets(hashtag, query_type='hashtag', pages=2)
        for tweet in tweets:
            print()
            pprint(tweet.dict())
            print(tweet.json(indent=4))

Example for cashtags (leading $):
import nitter_scraper
from nitter_scraper import NitterScraper

cashtags = ["USDT"]

print("Scraping with local nitter docker instance.")

with NitterScraper(host="<IP_ADDRESS>", port=8008) as nitter:
    for cashtag in cashtags:
        tweets = nitter.get_tweets(cashtag, query_type='cashtag', pages=2)
        for tweet in tweets:
            print()
            pprint(tweet.dict())
            print(tweet.json(indent=4))

Do you think it might be better to drop the parameter query_type and make it implicit? So query_strings that start with a # are implicitly hashtags, so are cashtags with a $ at the beginning and everything else must be a user's account?

Made it implicit now. Think this to be a more intuitive user experience. It works like before now, but allows for #hashtag or $cashtag use like so:
import nitter_scraper
from nitter_scraper import NitterScraper
from pprint import pprint

queries = ["dgnsrekt", "#ToTheMoon", "$USDT"]

print("Scraping with local nitter docker instance.")

with NitterScraper(host="<IP_ADDRESS>", port=8008) as nitter:
    for query in queries:
        print('=' * 80, '\n', query, '\n', '=' * 80)
        tweets = nitter.get_tweets(query, pages=1)
        for tweet in tweets:
            print('-' * 80)
            pprint(tweet.dict())
            print(tweet.json(indent=4))

Or with an arguable bit more readibility borrowing colored output:
import nitter_scraper
from nitter_scraper import NitterScraper
from pprint import pformat
from pygments import highlight
from pygments.lexers import PythonLexer
from pygments.formatters import TerminalFormatter

def pprint_color(obj):
    print(highlight(pformat(obj), PythonLexer(), TerminalFormatter()))

queries = ["dgnsrekt", "#ToTheMoon", "$USDT"]

print("Scraping with local nitter docker instance.")

with NitterScraper(host="<IP_ADDRESS>", port=8008) as nitter:
    for query in queries:
        print('=' * 80, '\n', query, '\n', '=' * 80)
        tweets = nitter.get_tweets(query, pages=1)
        for tweet in tweets:
            print('-' * 80)
            pprint_color(tweet.dict())


Undocumented field "source" #658

This Issue comes from here: https://github.com/MicrosoftDocs/azure-docs.fr-fr/issues/658
Hello,
There is no mention in  the documentation to the field "source" for policy condition. Especially for sample like:
"if":{
"allOf":[
{
"source":"action",
"equals":"Microsoft.Storage/storageAccounts/write"
},
{

Détails du document
⚠ Ne pas modifier cette section. C’est obligatoire pour docs.microsoft.com ➟ Liaison des problèmes GitHub.

ID: 9762f1b7-0e3a-d58f-fd99-a27ad948907b
Version Independent ID: 89e28332-184e-ba84-df1f-e7698c5e0f7c
Content: Détails de la structure des définitions de stratégies - Azure Policy
Content Source: articles/governance/policy/concepts/definition-structure.md
Service: azure-policy
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

#assign:DCtheGeek

@Comite-Rhone-Judo Thanks for the question. I've reached out to the team to get some information and will get back to you.
@MicrosoftDocs/azure-cxp-triage Please label 'product-question' and #in-progress.

Thanks for your comment. The feedback has been shared with the content owner for further review. Thanks for your patience.

The recommendation going forward is to use type, but without the /write. This is equivalent today as Policy only evaluates /write actions. I'm going to close this issue.  Thanks again for the question!
@MicrosoftDocs/azure-cxp-triage #please-close


Expose an internal API that will let us plug in a separate render stack

Parent issue: https://github.com/microsoft/vscode/issues/221145
The initial plan with the webgpu based is to provide a separate mode via a setting (editor.gpuAcceleration: 'on' | 'off'?) which will switch the rendering stack to a GPU-based one. The first step is for this renderer to simply fallback entirely to rendering lines using the DOM such that we can start self hosting on it and then incrementally swap out parts to render onto a canvas.
Some requirements:

The new renderer will need to create a canvas that sits below all the editor content, is sized to the viewport (excluding minimap/breadcrumbs) and has a fixed position (since moving it would cause a layout).
Initially this could cover just the editor viewport (.view-lines). Eventually we want to swap out the line numbers as well (.margin-view-overlays .line-numbers) since they're relatively expensive, ideally we would share the canvas for this.
We want to be able to incrementally swap out view parts of monaco as they are implemented on the GPU side, for example rulers would be an easy win.
The more we can isolate the GPU code the better as this feature will be experimental and opt-in for some time and we don't want to leak the complexity of dealing with webgpu to the rest of the codebase.

You can look at the parts outside of the gpu/ in tyriar/gpu_exploration for the parts that I needed to hook into to get it to work. Note that disableNonGpuRendering can mostly be ignored initially, this was used get a better idea of the kind of numbers if we could theoretically get by removing almost all DOM interaction.
VisibleLinesCollection owned the canvas and renderer:
https://github.com/microsoft/vscode/blob/4f7eededdcbaadc8f9e1bc52c72188aa906684c2/src/vs/editor/browser/view/viewLayer.ts#L262
https://github.com/microsoft/vscode/blob/4f7eededdcbaadc8f9e1bc52c72188aa906684c2/src/vs/editor/browser/view/viewLayer.ts#L362
VisibleLinesCollection disabled ViewLayerRenderer being created (would be needed for fallback?):
https://github.com/microsoft/vscode/blob/4f7eededdcbaadc8f9e1bc52c72188aa906684c2/src/vs/editor/browser/view/viewLayer.ts#L368-L370
Forcing the DOM node to not shift around was done in ViewLines:
https://github.com/microsoft/vscode/blob/4f7eededdcbaadc8f9e1bc52c72188aa906684c2/src/vs/editor/browser/viewParts/lines/viewLines.ts#L613-L614
https://github.com/microsoft/vscode/blob/4f7eededdcbaadc8f9e1bc52c72188aa906684c2/src/vs/editor/browser/viewParts/lines/viewLines.ts#L667-L671

Another approach that might work better is to allow view parts to optionally draw to a canvas. For example:

viewLayer.ts/view.ts or something similar manages the shared canvas and renderer object
viewParts/lines/gpu/ contains the logic to render to a canvas
viewParts/lines/ contains something that determines whether to draw via dom or gpu
We could then use the pattern for all view parts (viewParts/<part>/gpu)

I'm not sure about the persistence of object in viewParts/ but as long as we have a shared renderer object we would be able to set/fetch state on that if needed.


coursier_test on master failed with error: FileNotFoundException: [...]/.structure.lock (Operation not permitted)

Hi Oscar,
I checked out master and ran bazel test //... immediately. The test for coursier_test failed. Here's what test.log says:
Executing tests from //test/scala/com/github/johnynek/bazel_deps:coursier_test
-----------------------------------------------------------------------------
[36mDiscovery starting.[0m
[36mDiscovery completed in 87 milliseconds. [0m
[36mRun starting. Expected test count is: 7 [0m
[32mCoursierTest: [0m
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[31m- test bouncycastle example *** FAILED *** (846 milliseconds) [0m
[31m  java.io.FileNotFoundException: /Users/haikalpribadi/Library/Caches/Coursier/v1/.structure.lock (Operation not permitted) [0m
[31m  at java.io.FileOutputStream.open0(Native Method) [0m
[31m  at java.io.FileOutputStream.open(FileOutputStream.java:270) [0m
[31m  at java.io.FileOutputStream.<init>(FileOutputStream.java:213) [0m
[31m  at java.io.FileOutputStream.<init>(FileOutputStream.java:162) [0m
[31m  at coursier.CachePath.withStructureLock(CachePath.java:112) [0m
[31m  at coursier.Cache$.coursier$Cache$$withStructureLock(Cache.scala:74) [0m
[31m  at coursier.Cache$.coursier$Cache$$withLockOr(Cache.scala:88) [0m
[31m  at coursier.Cache$$anonfun$remote$1$1.apply(Cache.scala:662) [0m
[31m  at coursier.Cache$$anonfun$remote$1$1.apply(Cache.scala:544) [0m
[31m  at scala.concurrent.impl.Future$PromiseCompletingRunnable.liftedTree1$1(Future.scala:24) [0m
[31m  at scala.concurrent.impl.Future$PromiseCompletingRunnable.run(Future.scala:24) [0m
[31m  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [0m
[31m  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [0m
[31m  at java.lang.Thread.run(Thread.java:748) [0m
...

Any idea on what could be the cause?
ps: I didn't know you could do //.... What does the label mean and where is it documented?

The exception seems to indicate it cannot make a file I guess Coursier uses for caching.
I don’t know why the tests pass for me, I assume they do and they do in CI.
We should not be using some random directory automatically, we should find why Coursier is using that directory I guess by reading the Coursier docs or source.
// means the root of the project in bazel and ... means all targets. So //... means all targets in the whole project.
You can use ... with other paths too, e.g. bazel build foo/... this is a relative path to foo and all targets under foo.

You're right, it's coursier, rather than slf4j. Should have read the logs better. I've updated the issue title now.
Seems like there are 2 related issues out there:
https://github.com/lihaoyi/Ammonite/issues/798 and
https://github.com/coursier/coursier/issues/673
I've checked that there were no read/write permission issues. Both issues above seem to show that it's related to the OS filesystem, though. Does this ring any bell for you?
And thanks for the //... explanation too, @johnynek and @promiseofcake. So much to learn on Bazel!

Maybe sandboxfs blocking access to $HOME/.cousier? These lines seem to disable it in CI https://github.com/johnynek/bazel-deps/blob/823d48443d546033882e8150fa6be2c10061febc/.bazelrc.travis#L13-L18
I was getting the same error (on osx). I copied/pasted .bazelrc.travis -> .bazelrc and the error disappeared. Bazel 0.17.2 installed with brew.
https://blog.bazel.build/2017/08/25/introducing-sandboxfs.html says disabled by default. Maybe that's changed since.

I'm seeing this as well when using a genrule that runs a code generator that uses scalafmt-dynamic to format sources after generation.

I assume the sandboxing is making the tests fail since they may use some undeclared files. I'm not sure how that relates to a genrule in your repo though.


Interesting issues with az translator

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
(including expected behavior in the same section)

One specific error is calling out that --template and --parameters are missing... although what actually triggered the error is that -- resource-group is misspelled...

and I attempted the commands 3-4 times before coming to that realization
Perhaps we could be more concise with the error call out...?

translator didn't work when I use the *.json downloaded from portal

Not sure if this is an edge case but it is a bit concerning if the translator is suppose to support (all) VM creation use cases and
To Reproduce
See above
Environment summary

Additional context
Followed up in email

hi @arrownj could you pls check it? thanks

Hi @chenlomis , for the first problem, actually it's not a problem of the cli-translator extension. It's an error message reported by CLI argument parser. Actually if you run az vm create -- resource-group <rg> --name <vm_name> --image UbuntuLTS, it will report a similar error message. In your case, you must set default resource-group before(try to run az configure list-defaults, you should see the default group value there). Otherwise, the error should be something like this:

RequiredArgumentMissingError: the following arguments are required: --template, --parameters, --resource-group/-g

And this is by design.
For the second problem, could you please send me your template.json/parameters.json file. Currently there are some vm properties not supported. Let's identity this problem via email. Thanks


geyser: add num_partitions to block info

Problem
num_partitions added to proto definitions https://github.com/anza-xyz/agave/pull/1601 and the feature already exists in v2.0.0 but still no support in the Geyser.
Summary of Changes
Add ReplicaBlockInfoV4

@CriesofCarrots thank you! :rocket:


Error: Expected 'OData-Version' header with value '4.0' but received value 'null'

OpenUI5 version:
SAPUI5 Distribution: 1.70.0 (Build von 11.09.2019 07:41:00)
OpenUI5 Version: 1.70.0 (Build von 09.09.2019 16:01:00)
Benutzeragent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36
App-URL: http://localhost:5500/webapp/index.html
Browser/version (+device/version):
Google Chrome: Version 76.0.3809.132 (Offizieller Build) (64-Bit)
Any other tested browsers/devices(OK/FAIL):
Firefox: FAIL
MS Edge: FAIL
Minimal example if possible
<Table ... items="{path: 'middlewareModel>/ProductSearch'}"></Table>
Steps to reproduce the problem:

Register an OData datasource (.NET Core 2.2, OData-Version: v4.0) and model in the manifest.json
Create view and assign ODataModel to a table
Run application in browser
Error is thrown

What is the expected result?
The result of the ODataModel should be displayed in the table.
What happens instead?
The following error occured:
Failed to get contexts for http://localhost:49640/odata/ProductSearch with start index 0 and length 10 - Error: Expected 'OData-Version' header with value '4.0' but received value 'null' in response for http://localhost:49640/odata/ProductSearch?$skip=0&$top=10
Any other information? (attach screenshot if possible)
I checked the response headers in Google Chrome (see attached Screenshot):

It works with an older version of SAP UI5 (tested with 1.44.12 for example).

Hello everybody,
I found out that this was a CORS error.
I have inserted the following header into the OData service:
Access Control Expose Header: 'OData-Version'
Otherwise, CORS does not allow OpenUI5 to read the contents of the OData-Version header.

thanks for the answers guys it worked on my end


raftstore::test_merge::test_node_merge_with_slow_learner failed

[2019-10-09T17:13:05.898Z]    0: backtrace::backtrace::libunwind::trace
[2019-10-09T17:13:05.898Z]              at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.35/src/backtrace/libunwind.rs:88
[2019-10-09T17:13:05.898Z]    1: backtrace::backtrace::trace_unsynchronized
[2019-10-09T17:13:05.898Z]              at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.35/src/backtrace/mod.rs:66
[2019-10-09T17:13:05.898Z]    2: std::sys_common::backtrace::_print
[2019-10-09T17:13:05.898Z]              at src/libstd/sys_common/backtrace.rs:47
[2019-10-09T17:13:05.898Z]    3: std::sys_common::backtrace::print
[2019-10-09T17:13:05.898Z]              at src/libstd/sys_common/backtrace.rs:36
[2019-10-09T17:13:05.898Z]    4: std::panicking::default_hook::{{closure}}
[2019-10-09T17:13:05.898Z]              at src/libstd/panicking.rs:200
[2019-10-09T17:13:05.898Z]    5: std::panicking::default_hook
[2019-10-09T17:13:05.898Z]              at src/libstd/panicking.rs:214
[2019-10-09T17:13:05.898Z]    6: std::panicking::rust_panic_with_hook
[2019-10-09T17:13:05.898Z]              at src/libstd/panicking.rs:477
[2019-10-09T17:13:05.898Z]    7: std::panicking::continue_panic_fmt
[2019-10-09T17:13:05.898Z]              at src/libstd/panicking.rs:384
[2019-10-09T17:13:05.898Z]    8: std::panicking::begin_panic_fmt
[2019-10-09T17:13:05.898Z]              at src/libstd/panicking.rs:339
[2019-10-09T17:13:05.898Z]    9: test_raftstore::pd::TestPdClient::must_have_peer
[2019-10-09T17:13:05.898Z]              at components/test_raftstore/src/pd.rs:753
[2019-10-09T17:13:05.898Z]   10: test_raftstore::pd::TestPdClient::must_add_peer
[2019-10-09T17:13:05.898Z]              at components/test_raftstore/src/pd.rs:850
[2019-10-09T17:13:05.898Z]   11: integrations::raftstore::test_merge::test_node_merge_with_slow_learner
[2019-10-09T17:13:05.898Z]              at tests/integrations/raftstore/test_merge.rs:113
[2019-10-09T17:13:05.898Z]   12: integrations::raftstore::test_merge::test_node_merge_with_slow_learner::{{closure}}
[2019-10-09T17:13:05.898Z]              at tests/integrations/raftstore/test_merge.rs:106
[2019-10-09T17:13:06.160Z]   13: core::ops::function::FnOnce::call_once
[2019-10-09T17:13:06.160Z]              at /rustc/c6e9c76c59e3c10acd63ca9ec157a8894ea1a068/src/libcore/ops/function.rs:227
[2019-10-09T17:13:06.160Z] test raftstore::test_service::test_rawkv ... ok
[2019-10-09T17:13:06.160Z] test raftstore::test_multi::test_multi_server_leader_crash ... ok
[2019-10-09T17:13:06.417Z]   14: <alloc::boxed::Box as core::ops::function::FnOnce>::call_once
[2019-10-09T17:13:06.417Z]              at /rustc/c6e9c76c59e3c10acd63ca9ec157a8894ea1a068/src/liballoc/boxed.rs:922
[2019-10-09T17:13:06.417Z]   15: __rust_maybe_catch_panic
[2019-10-09T17:13:06.417Z]              at src/libpanic_unwind/lib.rs:80
[2019-10-09T17:13:06.417Z]   16: std::panicking::try
[2019-10-09T17:13:06.417Z]              at /rustc/c6e9c76c59e3c10acd63ca9ec157a8894ea1a068/src/libstd/panicking.rs:275
[2019-10-09T17:13:06.417Z]   17: std::panic::catch_unwind
[2019-10-09T17:13:06.417Z]              at /rustc/c6e9c76c59e3c10acd63ca9ec157a8894ea1a068/src/libstd/panic.rs:394
[2019-10-09T17:13:06.417Z]   18: test::run_test::run_test_inner::{{closure}}
[2019-10-09T17:13:06.417Z]              at src/libtest/lib.rs:1413

https://internal.pingcap.net/idc-jenkins/blue/rest/organizations/jenkins/pipelines/tikv_continue_test/runs/87/nodes/20/steps/32/log/?start=0

seem this issue was addressed by https://github.com/tikv/tikv/pull/5719


Windows 10 cordova app

When I Validation app before push to store , Windows App Certification Kit results this :
Windows App Certification Kit - Test Results
Bytecode generation
•Error Found: The bytecode generation test detected the following errors:◦File \?\C:\Program Files\WindowsApps\48547Zergling.TrungTmGiiTr_<IP_ADDRESS>_neutral__96ahq9ex4saq4\plugins\nl.x-services.plugins.socialsharing\www\SocialSharing.js has JavaScript syntax or other problems.
Error Found: The UTF-8 file encoding test detected the following errors:◦File C:\Program Files\WindowsApps\48547Zergling.TrungTmGiiTr_<IP_ADDRESS>_neutral__96ahq9ex4saq4\plugins\nl.x-services.plugins.socialsharing\www\SocialSharing.js is not properly UTF-8 encoded. Re-save the file as UTF-8 (including Byte Order Mark).

Similar issue when uploading to the store which does get it rejected. Easy to fix, just fix the file as described.

You're welcome to try that


Can't find variable: internal

Tried using this on an 11ty site I'm building and it didn't work. Then tried to use it on a bare bones 11ty basically copying your example and it also failed with the same error.
It builds but with the following error:
'svelte/internal' is imported by svelte/Greeter.svelte, but could not be resolved – treating it as an external dependency
No name was provided for external module 'svelte/internal' in output.globals – guessing 'internal'

Then when I load it in the browser I get Can't find variable: internal error in the browser console.

I uploaded the simple test to this repo here

Hi, I am not experiencing the issue you're describing. Did you make sure to npm install the svelte package? svelte is a peerDependency of this plugin. I'm going to mark this as closed for now.


No uninstall functionality for MacOS

There is no uninstalling functionality for MacOS, and there needs to be.

Are you talking about removing the settings and extensions?  To uninstall the program on a Mac, you simply move it from the Applications folder to the Trash.

I'm specifically talking about how after doing the thing that you describe and then "installing" again you do not start with a fresh copy but everything is the same.

You can delete $HOME/Library/Application Support/Code and $HOME/.vscode to remove everything from your system.


warn: Ignoring non-link key added to list

This statement prints a lot a the moment.

I mean we could get rid of that print statement. or make it an info or something. It's not exactly a bad thing I supposed

In unfisk, 98% of the logs are that print statement.  Perhaps an underlying library like this should be confining all its print statements to trace and let the higher-level thing do info/warn/error printing?

Unfisk does not use this lib
On Fri, Feb 5, 2021, 5:19 PM Aaron Ault<EMAIL_ADDRESS>wrote:

In unfisk, 98% of the logs are that print statement. Perhaps an underlying
library like this should be confining all its print statements to trace
and let the higher-level thing do info/warn/error printing?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/OADA/list-lib/issues/3#issuecomment-774318944, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAJEVI4RSC2GA2NGCKFMYTS5RVHNANCNFSM4WPV4F3Q
.

Sorry, I meant target-helper's logs.  It's getting late in the day for farmers like me....  :)

I say we just move it to trace or something. You're seeing it a lot because
you have an index so it sees changes in the middle of the index and ignores
them.
On Fri, Feb 5, 2021, 5:49 PM Aaron Ault<EMAIL_ADDRESS>wrote:

Sorry, I meant target-helper's logs. It's getting late in the day for
farmers like me.... :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/OADA/list-lib/issues/3#issuecomment-774330149, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABAJEVNKJJ6D5UWEQRB35ETS5RYY5ANCNFSM4WPV4F3Q
.

Agreed, move to trace.  As a general takeaway, should our internal libs limit themselves to trace?    I mean, in theory it should be DEBUG=<service>:info,<service>:warn,<service>:error, but it seems like too much detail to get that right everywhere w/o thinking about it too much.  Maybe some kind of -*lib* in the default which would turn off any debugs w/ "lib" in the name?

I don't think the libs should limit themselves to trace. if you don't want them on, don't turn on their debug.


grid Creator - Web design

https://images01.nicepagecdn.com/page/43/33/html-template-4333622.jpg Design a grid like the above image
Create a file "grid_NUM_by_(YourName).html" in the modules/grid folder.
Use simple HTML and CSS and JAVASCRIPT to create the grid animation. You can use the interface development https://kwickerhub.com/ (This project) or you can write the lines of code yourself.
Step by Step Guide.
Fork this project(Use the 'fork' button in the top right corner) and Clone your Fork.
git clone https://github.com/YOUR_USERNAME/frontend
Open your code Editor and Create a file "grid_NUM_YOUR_NAME_.html" in the "modules/grid" folder of this project you just cloned. No need to create head, title and body tags, Just Add a div tag with some embedded style(i.e use the style tag) and the script tag where necessary.
If you want to add an image resource, please add it in the folder ••
"modules/grid/images_and_icons"
We recommend you use an svg for your image/icon.
Push your Code: You need to push your recent changes back to the cloud. Use the command below in the main directory of this Repository
git push origin dev
or use a GUI tool to avoid mistakes or complexity. LOL.
Then make you Pull Request...
Below is a example of the code structure we need:
'''

'''
For more examples:
modules->buttons
modules->cards
for examples of contributions or Pull request accepted in to the project.
And please do not wait for this issue to be assigned to you as we have limited hands but have a lot to do/cover. Please send in your PR.
Good-luck.

Hi! @NtemKenyor  I would like to work on this issue.
Thanks!

Hello, I am working on this issue and will push a PR soon.


[DEV] After having an #announce room as your last read report, signing out and back in navigates you to the #admins room even if the openOnAdmin room URL param isn't set

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

Action Performed:

Create a fresh account, create a fresh workspace.
Navigate to the #announce room.

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: v1.3.9-2
Reproducible in staging?: N/A
Reproducible in production?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by:
Slack conversation:
View all open jobs on GitHub

Triggered auto assignment to @zanyrenney (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Closing as I can't repro this anymore


Apply granim.js as a  background rather than to a  element

Great work. This is a feature request rather than an issue.
What would be really useful is if you could apply the animated gradient as a background to a <div> rather than having to apply it to a <canvas> element - this way you could use -webkit-background-clip:text to produce text with an animated gradient fill, rather than having to photoshop a .png image with the transparent text cut out to layer over the gradient (as in the fourth example on your demo page)?

@tomheaps The entire lib is built upon the canvas API. So it won't be possible.

@tomheaps you can make animated gradient on text using only CSS (make background size like 200% 200% and animate it).


Add hover effect on explore courses button

Issues Identification
Closes: #1092
Description
Summary
Added hover effect on explore courses button for better user experience.
Details
Include any detailed information about the changes in this pull request.
Types of Changes
Please check the boxes that apply

[ ] Bugfix (non-breaking change that fixes an issue)
[X] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update (Documentation content changed)
[ ] Other (please describe):

Checklist
Please check the boxes that apply

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] My changes do not break the current system and pass all existing test cases
[ ] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes

Screenshots
https://github.com/user-attachments/assets/dedf7f74-f420-475f-8458-a70199801e96
Additional Information
Please provide any other information that is relevant to this pull request.

@shivhere007 thank you for the contribution to ML Fusion Lab.
your contribution gives a value to us.
now please do work on other projects.


Exporting the class TextFieldProps from dropdown_search.dart

While importing the file form_builder_searchable_dropdown.dart, the class TextFieldProps from dropdown_search/dropdown_search.dart is not imported with it, which forces for manual import in order to customize the Search Box inside the SelectionWidget.
In the commit, I have just exported the class from the file form_builder_searchable_dropdown.dart to eliminate the problem I have described.

Hi @moazelsawaf, thanks for contributing.
Would you consider moving the export to packages/form_builder_extra_fields/lib/form_builder_extra_fields.dart.
We prefer having all the exports in one barrel file.

Done moving the export.

Thanks for your contribution @moazelsawaf

You are always welcome ❤


extend/os/mac/keg_relocate: remove HOMEBREW_RELOCATE_METAVARS

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally? -- SystemCommand#run failure

It's not being used, and it breaks formulae when it is.
Plus do some extra refactoring.

Review period will end on 2021-05-13 at 03:39:58 UTC.

Review period ended.


Refactor 'production' test

resolution_invalid   |    by<EMAIL_ADDRESS>
Currently 'production' is only set when booting with the VM name set to 'accessdev.nci.org.au'. May be useful to change this, e.g. 'accessdev(-test)?.nci.org.au' (modulo regex syntax)

Issue migrated from trac:67 at 2024-01-31 17:14:56 +1100

ibc599 changed reviews which not transferred by tractive

<EMAIL_ADDRESS>changed resolution from `` to invalid

<EMAIL_ADDRESS>commented

No longer relevant as this flag is defined in Hiera

ibc599 changed status from new to assigned

ibc599 changed owner from `` to Admin

<EMAIL_ADDRESS>changed status from assigned to closed

<EMAIL_ADDRESS>removed milestone (was Future)

<EMAIL_ADDRESS>commented

Milestone Future deleted


Host header omits non-default port numbers

This was fixed in upstream libgit2 (https://github.com/libgit2/libgit2/pull/4882) but libgit2-sys's submodule is pinned to a version before that.

ping. Anything I can do to help move this along?

Thanks for the report! For updates to the submodule it's all just done through PRs, and we can update the submodule at any time!

I've created PR: https://github.com/rust-lang/git2-rs/pull/421 to update the submodule.
Please let me know if more is needed.

This appears to be fixed now.


Functions missing in sound API

In order of priority:

SoundTrack:s cannot be looped (needed for background music)
There are no callbacks when SoundTrack:s complete
SoundTrack:s cannot control the volume (would be required for fading/mixing different music tracks)
SoundEffect:s should use Android's SoundPool classes instead of MediaPlayer (required for the following bullets)
SoundEffect:s are missing looping, volume, pitch, and pan controls (required for positional audio)
SoundEffectStream:s are not being properly deleted when finished playing and thus leaking memory
SoundTrack:s are not being properly deleted when finished playing and thus leaking memory
All other missing callbacks for SoundTrack and SoundEffect.

Thank you! This is very helpful.

API here: https://github.com/vlidholt/sky_engine/blob/master/skysprites/lib/src/sound.dart


Conditionally compiled functions

Conditionally compiled functions might be overlooked by call graph generators.
Add few such examples to make the benchmark more complete.
More on conditional compilation

Several examples have been added. It remains to define exactly what the output of a sound call graph generator should be. What about precision of the generated call graph?

This is a good question w.r.t precision. I believe it could perhaps make sense to add examples exercising such cases (e.g., exactness of Trait/Generics, etc) in the benchmark. Although I am not sure if this is relevant at this stage (or how this can be tested)


Add "!" at the beginning of the message for global

Some players find it difficult to enter the /global and /local command every time
They are more used to typing "!" at the beginning of the message for global, and for local without "!" at the beginning.
This feature would be very useful, I would be very grateful if it would be added.

I've never heard of this before, lol. Channels are user customisable, not hardcoded so this would be a bit of a pain to add tbh - and it goes against the spirit and spec of commands in Minecraft. Is /g (message) not fast enough? You can define shortcut commands for this purpose.

Hmm, I do not know, I can say that I speak for the Russian servers, they use this and the players are not used to using commands for global or local chat.

Hmm, I guess it could be added as an optional parameter.

Yes, I would be very grateful.

@WiIIiam278, add this feature, please

@WiIIiam278, add this feature, please


Migrate invoice service to new repo

#504 pr 2

@vedhavyas

Based on the explanation given offline the model we assume in multi tenancy is based on the config per tenant, so the implementation is according to the spec.
About errors I think lets not make it subjective how we decide how to implement errors, you will never know which error needs to be handled in which way, I think we can go with the list of error types here and decide later if we need to remove them(this is a compromise that I don't like, just so that we can move on)
I put a 👍 on stuff I will change.

I will address the agreed 👍 comments on a different smaller pr so as to not block anything else.


fix: exception when running dart_frog build

Description
I just created a project with cli and then changed nothing. when i wanted to build the project the cli would give this exception
✓ Bundling sources (0.1s)
An exception occurred while executing hook: pre_gen.dart.
Error: FileSystemException: Rename failed, path = 'C:\Users\madi\AppData\Local\Temp\943e167a' (OS Error: The system cannot move the file to a different disk drive.
, errno = 17)

Steps To Reproduce

create a project with dart_frog create
run dart_frog build

Expected Behavior
project should been build for production
Additional Context
Dart SDK version: 2.17.6 (stable) (Tue Jul 12 12:54:37 2022 +0200) on "windows_x64"

Hi @Mahfa 👋
Thanks for opening an issue!
Can you please provide the exact version of windows you're running on? Thanks!

hi @felangel
ur welcome
this is my windows version
Edition	Windows 10 Pro
Version	21H2
Installed on	2/27/2022
OS build	19044.1766
Experience	Windows Feature Experience Pack 120.2212.4180.0

i could fix this issue by moving my project ro c:
but there is another issue when running dart_frog dev
C:\Users\madi\Documents\projects\tests\my_first_frog>dart_frog dev
✓ Running on http://localhost:8080 (3.7s)
The Dart VM service is listening on http://<IP_ADDRESS>:8181/7XjAwm6iFgE=/

The Dart DevTools debugger and profiler is available at: http://<IP_ADDRESS>:8181/7XjAwm6iFgE=/devtools/#/?uri=ws%3A%2F%2F<IP_ADDRESS>%3A8181%2F7XjAwm6iFgE%3D%2Fws

.dart_frog/server.dart:7:8: Error: Error when reading '.dart_frog/..%0Doutesindex.dart': The filename, directory name, or volume label syntax is incorrect.

import '..\routes\index.dart' as index;
       ^
.dart_frog/server.dart:29:22: Error: Undefined name 'onRequest'.
    ..all('/', index.onRequest);
                     ^^^^^^^^^

hi @felangel ur welcome this is my windows version
Edition	Windows 10 Pro
Version	21H2
Installed on	2/27/2022
OS build	19044.1766
Experience	Windows Feature Experience Pack 120.2212.4180.0

I fixed the issue with dart_frog build by moving my project to drive C but there is another issue when running dart_frog dev
C:\Users\madi\Documents\projects\tests\my_first_frog>dart_frog dev
✓ Running on http://localhost:8080 (3.7s)
The Dart VM service is listening on http://<IP_ADDRESS>:8181/7XjAwm6iFgE=/

The Dart DevTools debugger and profiler is available at: http://<IP_ADDRESS>:8181/7XjAwm6iFgE=/devtools/#/?uri=ws%3A%2F%2F<IP_ADDRESS>%3A8181%2F7XjAwm6iFgE%3D%2Fws

.dart_frog/server.dart:7:8: Error: Error when reading '.dart_frog/..%0Doutesindex.dart': The filename, directory name, or volume label syntax is incorrect.

import '..\routes\index.dart' as index;
       ^
.dart_frog/server.dart:29:22: Error: Undefined name 'onRequest'.
    ..all('/', index.onRequest);
                     ^^^^^^^^^

Hi @Mahfa have you tried updating to the latest version of dart_frog_cli?
dart pub global activate dart_frog_cli

This should be resolved on v0.0.2-dev.9. Let me know if that helps 👍

hey @felangel thanks for the update.
the new version did solve the problem with dart_frog dev but the project still won't build if it is not located in drive C

hey @felangel thanks for the update. the new version did solve the problem with dart_frog dev but the project still won't build if it is not located in drive C

Awesome, yeah we'll plan to address the drive location issue in the next sprint 👍

I also get this error, while running a dart_frog build from within Google cloud shell.
Dart SDK version: 2.17.6 (stable) (Tue Jul 12 12:54:37 2022 +0200) on "linux_x64"

$HOME/.pub-cache/bin/dart_frog build
✓ Bundling sources (0.1s)
An exception occurred while executing hook: pre_gen.dart.
Error: FileSystemException: Rename failed, path = '/tmp/JMWDTL' (OS Error: Invalid cross-device link, errno = 18)

The directory is there... and seems to be a copy of the root folder of my project, without the build folder.
james@cloudshell:~/budvue_api (api2-clickspace-tv)$ ls -l /tmp/JMWDTL/
total 44
-rw-r--r-- 1 james james   139 Aug 17 02:24 analysis_options.yaml
-rw-r--r-- 1 james james  1577 Aug 17 02:24 deployment.yaml
drwxr-xr-x 6 james james  4096 Aug 17 02:24 lib
-rw-r--r-- 1 james james 13604 Aug 17 02:24 pubspec.lock
-rw-r--r-- 1 james james   335 Aug 17 02:24 pubspec.yaml
-rw-r--r-- 1 james james  1745 Aug 17 02:24 README.md
drwxr-xr-x 3 james james  4096 Aug 17 02:24 routes
drwxr-xr-x 3 james james  4096 Aug 17 02:24 test

Any pointers on having me chip in on this?

@hotdang-ca planning to look more closely at this very soon. In the meantime, are you able to do the build locally and deploy the artifacts to google cloud?

I cannot on a Mac M1 host -- causes unrelated docker issues with the executable. I could try on an Intel Mac host; cannot do the build on a Windows host, for the same original reason:
✓ Bundling sources (1.5s)
An exception occurred while executing hook: pre_gen.dart.
Error: FileSystemException: Rename failed, path = '/tmp/QJSAAC' (OS Error: Invalid cross-device link, errno = 18)

dart_frog --version
0.1.0

THAT's actually inside of a Ubuntu 20.04 box through Windows Subsystem for Linux. I'll try right now from straight windows.
I took a look at the source code... you do Directory.rename(...), it could be related to a dart version.
dart --version
Dart SDK version: 2.17.6 (stable) (Tue Jul 12 12:54:37 2022 +0200) on "linux_x64"

I'll play around some more and figure something out.
I need the image in the Artifact Registry for GKE to pick it up. HEhe, maybe I'm using this for more than what it was designed. I've been in the dart + google world for 3+ years, but our reliance on firebase-interop and dart2js is impacting the creation of new projects. So, dart_frog is our new platform which we are slowly migrating over legacy (pre-sound null safe) code.

Windows is fine:
flutter --version
Flutter 3.0.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f1875d570e (5 weeks ago) • 2022-07-13 11:24:16 -0700
Engine • revision e85ea0e79c
Tools • Dart 2.17.6 • DevTools 2.12.2

dart_frog --version
0.1.0

Just those linux hosts (including WSL) it seems.

@hotdang-ca thanks for providing the additional context. I’m planning to spend some time on this tomorrow and will provide an update shortly.


NEXT-28169 | AbstractMailService causing errors when sending mail with attachment

PHP Version
8.2
Shopware Version
<IP_ADDRESS>
Expected behaviour
Mail is sent successfully and attachment is viewable after download
Actual behaviour
Mail is not sent and gives the error above. If content is base64 encoded, then the error is not shown, but the attachment is corrupt when downloaded
How to reproduce
When attaching a file to send via email upon form submission, using the binAttachments array in the Databag - there is an error message as follows:
Failed sending mail to following recipients: {{ recipients }} with Error: Malformed UTF-8 characters, possibly incorrectly encoded
The mail works if no attachment is there, and also if I use the mail() function directly. The $file->getContent() is somehow causing this problem. If I base64 encode the content, the error is resolved, but then when downloading the file from the attachment shows a corrupt file.

Create a form in the storefront
Submit the form to custom controller
Use the DataBag to add binAttachments
For the attachment content, use $uploadedFile->getContent() method

Fixed in v<IP_ADDRESS>


react-native-tvos/rn-diff-purge-tv is out of sync, last available version is 0.68.2-2

New Version
0.68.2-6
Old Version
0.68.2-2
Issue and Reproduction Steps
The react-native-tvos/rn-diff-purge-tv repository seems out of sync, not possible to upgrade to latest version (0.68.2-6).
$ npx @react-native-community/cli upgrade 0.68.2-6
info Fetching diff between v0.68.1-1 and v0.68.2-6...
error Fetch request failed with status 404: 404: Not Found.
error Failed to fetch diff for<EMAIL_ADDRESS>Maybe it's not released yet?
info For available releases to diff see: https://github.com/react-native-community/rn-diff-purge#diff-table-full-table-here

Issue is now fixed, sorry for the delay.

Looks like it's out of sync again. I'm looking to upgrade to the latest to get this patch.
(Wish I knew how to update it for you. Thank you for all the work you put into this.)

@euroclydon37 , I'm using this on 0.69.6-2
May work for you too?
tvos_focus.patch

@euroclydon37 my apologies, I have now updated rn-diff-purge-tv with all the versions up to and including 0.73.1-0 which I just published.

Thanks!


CSS theme not applied, 404 error on each file

Hello, I installed the theme by making a git clone, and I followed the procedure described in the README
root@SRV-Docker-01:/opt/tt-rss/tt-rss/themes.local# git clone -b dist https://github.com/levito/tt-rss-feedly-theme.git
Clonage dans 'tt-rss-feedly-theme'...
remote: Enumerating objects: 9165, done.
remote: Counting objects: 100% (395/395), done.
remote: Compressing objects: 100% (100/100), done.
remote: Total 9165 (delta 307), reused 379 (delta 294), pack-reused 8770
Réception d objets: 100% (9165/9165), 17.28 Mio | 23.01 Mio/s, fait.
Résolution des deltas: 100% (4791/4791), fait.
root@SRV-Docker-01:/opt/tt-rss/tt-rss/themes.local# cd tt-rss-feedly-theme/
root@SRV-Docker-01:/opt/tt-rss/tt-rss/themes.local/tt-rss-feedly-theme# mv feedly* ../
root@SRV-Docker-01:/opt/tt-rss/tt-rss/themes.local# rm -rf tt-rss-feedly-theme/
root@SRV-Docker-01:/opt/tt-rss/tt-rss/themes.local# chown -R service:service *
root@SRV-Docker-01:/opt/tt-rss/tt-rss/themes.local# ls -lash
total 940K
4,0K drwxr-xr-x  3 service service 4,0K 31 mai   19:45 .
4,0K drwxrwxrwx 25 service service 4,0K 31 mai   19:30 ..
4,0K drwxr-xr-x  3 service service 4,0K 31 mai   19:44 feedly
4,0K -rw-r--r--  1 service service  294 31 mai   19:44 feedly_auto.css
112K -rw-r--r--  1 service service 110K 31 mai   19:44 feedly.css
4,0K -rw-r--r--  1 service service  133 31 mai   19:44 feedly-high-contrast_auto.css
116K -rw-r--r--  1 service service 113K 31 mai   19:44 feedly-high-contrast.css
116K -rw-r--r--  1 service service 114K 31 mai   19:44 feedly-high-contrast_night.css
112K -rw-r--r--  1 service service 111K 31 mai   19:44 feedly_night.css
4,0K -rw-r--r--  1 service service  308 31 mai   19:44 feedly-sepia_auto.css
4,0K -rw-r--r--  1 service service  135 31 mai   19:44 feedly-sepia-contrast_auto.css
116K -rw-r--r--  1 service service 113K 31 mai   19:44 feedly-sepia-contrast.css
116K -rw-r--r--  1 service service 114K 31 mai   19:44 feedly-sepia-contrast_night.css
112K -rw-r--r--  1 service service 110K 31 mai   19:44 feedly-sepia.css
112K -rw-r--r--  1 service service 111K 31 mai   19:44 feedly-sepia_night.css

However, once the installation is complete and the theme has been selected in the TTRSS menu,
TTRSS is completely broken, CSS styles are not applied, looking closely in the browser console, I notice that the server returns a 404 error for the theme present in themes.local, any idea why?
Nota : My TTRSS instance is deployed using docker, I use a separate account (service) to run the various programs inside of the container, and the themes.local folder is mounted on /opt/tt-rss
I use TTRSS v24.05-8b037e81
Many thanks if someone have an idea !

Hello again,
I'm at fault, I had not seen that the first container (app) had the /opt/tt-rss folder mounted but not the second (web-nginx), as a result, the downloaded files were only visible from one of the containers.
Here the solution is to replace app with ttrss directory (default is /opt/tt-rss) in docker-compose.yml under both app and web-nginx sections:
app:
    ...
    volumes:
      - /opt/tt-rss:/var/www/html
    ...
web-nginx:
    ...
    volumes:
      - /opt/tt-rss:/var/www/html:ro
    ...

So this issue is not a tt-rss-feedly-themes related ! I'm sorry


More details needed on the NumpyToTensor field in config file

Issue description
The field NumpyToTensor in the doc is a bit obscure to me. I feel that more context (with maybe a link to a paper?) is needed.

Following the issue https://github.com/ivadomed/ivadomed/issues/815, we decided to remove the NumpyToTensor from the config file and to do the operation internally where it is required. This was implemented in subsequent PRs #818, #826 and #830, and previous config file that contains the field remain compatible.
I recommend to remove the NumpyToTensor field from the documentation here as this is now an "internal" transform and should not be exposed to the user.
Note that the clear definition of its function would remain available in the API here.


Update to work with EE 3.0+

I'm not sure what all would need to be updated to make this work with the v3 release of EE. Running the tool in the base directory of a brand new EE3 project states that it cannot find the system folder.

Yes, this only works with EE2. I should make this clear in the README.
I have no plans to update this to work with EE3. There's a lot of work to update it. This could change in the future, but that's my stance for now.


Issue 157

This PR/Translation is about #157.
files translated:

[x] def/--LOCALE-CODE--/context.cson

validation

[x] I've validated my translation locally by running

npm run validation -- --locale ALL_LOCALE

@Umoxfo thanks for this nice fix 🙇
LGTM and let's merge it 💯


Hidekeyboardfix

Replaces #1060

I haven't had a chance to test this in silico, but the code looks good to me.

I built it, tested it by hand, checked for runtime errors, and ran the test suite. All looks good.
The change does what's expected, and doesn't generate any new comments in logcat when used, in both cases (keyboard out or not).
Now when there's no keyboard out, it quietly and happily does nothing.
I recommend merge.


The demo's last popover image has broken.

https://github.com/kamranahmedse/driver.js/blob/288c7deafb5fa0f7e8a6d5d98648a047eb2b2b27/docs/src/components/Examples.astro#L110

It's working fine for me


Add a footer

Add a footer that acts a site map, and includes some information about the pod, such as:

Blog
About
Socials
Projects

Hello,
I have opened a pull request with implementations of given task here https://github.com/MLH-Fellowship/prep-portfolio-23.MAR.PREP.2/pull/15

@zwwang98 can you also help to check and test this at your side (and update with your version perhaps)?


Querying list of differents existant (unique) fields

Would be nice to allow querying list of differents existant fields with -f option (like field) :

beet list -f genre year:2008
Rock
Rap
Techno

beet list -f year genre:Rock
2008
2009
2012
2014

The right way is probably to use a Unix pipeline:
$ beet ls -f '$genre' | sort -u


On Intellij IDEA preview 2021.3.2 gradle build files with false positive FinalNewline

On Intellij IDEA preview 2021.3.2, gradle build files seem to have a false positive FinalNewline warning from Detekt.

@rocketraman 👋  Thanks for the bug report. Do you happen to know if this is new to 2021.3.2?

I believe it is.

Do you still get this error with 2022.1 ?
I checked two different build.gradle.kts files and no FinalNewline warnings.
Could also be a false positive from KtLint which got fixed with detekt 1.20?

I don't recall seeing this again.

I have this problem in each .kt file. Im using AS Electric Eel (2022.1.1) Canary 8 and AS  Dolphin (2021.3.1) Beta 5 with the latest Detekt plugin version 1.21.0-RC2


dpt didn't create a 'dpt_pseudotime' obs

Hey guys! always write funny markdown so I just pasted a screenshot.

sc.pl.dpt(mfdata) yields same result.
Could this be a bug? Or did I miss some step?
Thanks++
Chris

Sorry about this, probably you didn't provide a root cell via adata.uns['iroot'] = some_index... My bad that this disappeared again from the docs... grrrmpf... I'll add it right away.

Ok, updated the docs... Sorry about that.


Missing runtime ID for Raspberry ARM32

I can install .NET Core runtime for ARM32 but I can't publish my app for it to include the runtime.

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

 :(

Appears to have been addressed by #8710


interactive graph network view, when click on one node, show related information

when clicking on a node, showing a resource card, similar to the cards in the non-graphic view?
e.g. when clicking the green PROV button in image 1, show something similar to image 2.
image 1

image 2

@FuqiX I dont think this is possible with the cytoscape graph library we are using. I will check if its doable.


[Doc]: Add GitHub issues and pull request templates

Closes #702

Hey @chengzhuzhang, I just got around to this. They are based on xCDAT issue templates and pull request template.
Just wanted to make sure you're onboard with this too before I merge.

Going to merge this PR because we discussed this was a good idea already.


Does not work with a small easy peasy sample 'http -f  requests.http'

Checklist

[ X] I've searched for similar issues.
[ X] I'm using the latest version of HTTPie.

Minimal reproduction code and steps

Create a .http file, e.g. file.http
Try execute, http -f file.http

Current result
Traceback (most recent call last):
File "/opt/homebrew/bin/http", line 8, in
sys.exit(main())
^^^^^^
File "/opt/homebrew/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/httpie/main.py", line 8, in main
from httpie.core import main
File "/opt/homebrew/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/httpie/core.py", line 8, in
import requests
File "/opt/homebrew/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/requests/init.py", line 147, in
from . import packages, utils
File "/opt/homebrew/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/requests/utils.py", line 24, in
from . import certs
File "/opt/homebrew/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/requests/certs.py", line 14, in
from certifi import where
ModuleNotFoundError: No module named 'certifi'
Expected result
The current result is malfunction since 'certifi' module is there as well.

Debug output
Please re-run the command with --debug, then copy the entire command & output and paste both below:
$ http --debug -f product_requests.http
Traceback (most recent call last):
  File "/opt/homebrew/bin/http", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/homebrew/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/httpie/__main__.py", line 8, in main
    from httpie.core import main
  File "/opt/homebrew/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/httpie/core.py", line 8, in <module>
    import requests
  File "/opt/homebrew/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/requests/__init__.py", line 147, in <module>
    from . import packages, utils
  File "/opt/homebrew/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/requests/utils.py", line 24, in <module>
    from . import certs
  File "/opt/homebrew/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/requests/certs.py", line 14, in <module>
    from certifi import where
ModuleNotFoundError: No module named 'certifi'

Additional information, screenshots, or code examples
…

yep, same issue here running a simple command as noted in the usage examples:
https httpie.io/hello

throws this error:
Traceback (most recent call last):
  File "/usr/local/bin/https", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/httpie/__main__.py", line 8, in main
    from httpie.core import main
  File "/usr/local/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/httpie/core.py", line 8, in <module>
    import requests
  File "/usr/local/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/requests/__init__.py", line 147, in <module>
    from . import packages, utils
  File "/usr/local/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/requests/utils.py", line 24, in <module>
    from . import certs
  File "/usr/local/Cellar/httpie/3.2.2_2/libexec/lib/python3.12/site-packages/requests/certs.py", line 14, in <module>
    from certifi import where
ModuleNotFoundError: No module named 'certifi'

Not sure if I'm doing anything wrong. Have installed it with brew install httpie but can't get anything other than this error

I have the same issue as the commenters above.

This fixed it for me:
/opt/homebrew/Cellar/httpie/3.2.2_3/libexec/bin/python3 -m pip install setuptools Pygments certifi

That fixed it for me as well.

As everyone in the thread figured out, it's not an issue with HTTPie itself.
Maybe worthwhile to check if brew cask for HTTPie isn't broken. Will check it out soon. But immediately, it seems to be OK by my reading of https://formulae.brew.sh/api/formula/httpie.json


[SPARK-47873][SQL] Write collated strings to Hive metastore using the regular string type

What changes were proposed in this pull request?

When writing table schema to hive stop writing collated strings as string COLLATE name but instead just write them as regular string type as hive doesn't support collations.
Since we write the original schema as json to table properties in hive so we will able to read the collation back.
Also when reading back the table from the catalog, aside from ignoring case and nullability we should now also ignore any differences in string types as well.
Why are the changes needed?

In order to not break hive compatibility with external engines using hive that would otherwise fail to parse this new type.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

Unit tests.
Was this patch authored or co-authored using generative AI tooling?

No.

@cloud-fan all tests passing after scalastyle fix

thanks, merging to master!


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-1.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 2259

Questions ?
Please refer to the Backport tool documentation


V1.1.0 wasi

@0xE282B0 Please add your sign-off to each commit using the --signoff option when making commits

Rebased with signoff.

I checked the examples, including client, multi_server, and echo, and they are okay.


The delete dialog is not localized for one ADLS Gen1 file

Storage Explorer Version: 1.10.1
Build: 20191010.3
Branch: master
Platform/OS: Windows 10/ Linux Ubuntu 19.04/macOS High Sierra
Language: Chinese (zh-CN)
Architecture: ia32/x64
Regression From: Not a regression
Steps to reproduce:

Launch Storage Explorer using the command 'StorageExplorer.exe --lang=zh-CN'.
Select one ADLS Gen1 account -> Upload one file.
Try to delete the ADLS Gen1 file -> Check the delete dialog.

Expect Experience:
The delete dialog is localized.
Actual Experience:
The delete dialog is not localized.

More Info:
Only verified this issue in Chinese (zh-CN).

Looks like hard-coded issue. Cloud explorer.
https://devdiv.visualstudio.com/DevDiv/_git/CloudExplorer?path=%2Fsrc%2FCloudHub%2Fts%2FStorageExplorer%2FAzureDataLakeStore%2FCommands%2FDeleteCommand.ts&version=GBmaster


integration: add missing Clone operations

/cc @xiang90 @heyitsanthony

This isn't covered by https://github.com/coreos/etcd/blob/master/integration/cluster.go#L527 ?

@heyitsanthony you are right. Missed that it was embedded. Thanks!


Bump v0.1.4

Found a bug in get_forecast_value. I pushed to master by mistake the fix 577f5e2.

Codecov Report

Merging #18 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #18   +/-   ##
=======================================
  Coverage   62.52%   62.52%
=======================================
  Files          23       23
  Lines        1150     1150
=======================================
  Hits          719      719
  Misses        431      431

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 577f5e2...4b62b59. Read the comment docs.


Allow users to export data from the Hub

Some of the new content types we are adding (e.g. solar pv installations or green funds) will likely lead to user requests for Excel exports of the data. Ideally, users could export filtered data. To address the fact that different content types have different fields, this feature could be available only through content type views rather than all search results.

Will be particularly useful for renewable energy installs once they're in.

move to the end of sprint 1 (may get pushed off)


Changing version, adding release workflow and changing icon refs

See #20
Wanted to get the publishing workflow setup before merging the big PR and officially releasing v0.1

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.225%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
453

Relevant Lines:
626

💛  - Coveralls


resolves #612

What issue type does this pull request address? (keep at least one, remove the others)
/kind enhancement
What is this pull request for? Which issues does it resolve? (use resolves #<issue_number> if possible)
resolves #612 => This could be solved even nicer, e.g. gcloud directly generates a key and displays it, so users can directly copy it after logging in. But for now, this is a working solution which only requires to click 2 additional buttons before being able to copy an access key. That should be acceptable for now and is already much better than the current behavior.
Does this pull request has user-facing changes? (e.g. config changes, new/modified commands, new/modified flags)
Yes. The cloud login asks for an access key now if the user does not have a browser installed or DevSpace fails opening it.
Does this pull request add new dependencies?
No.
What else do we need to know?
There has been a commit for DevSpace Cloud to allow redirects after logging in, so we can send users directly to /settings/access-keys without having to explain a lot.

LGTM


Update UUID Initialization

Adds explicit UUIDBytes initialization to avoid an Xcode warning

@mallorypaine Could you please review this PR?


Add Model type to Cadl.Reflection

We have such decorator to be added:
extern dec exclude(target: Model);

However, Model is not in the Cadl.Reflection

@bterlson, @timotheeguerin, @nguerrera, I had an earlier proposal like this, but Tim disagreed and mentioned that object implies model. I don't know if this is a TS convention, but I feel having model is clearer.
BTW, if this change is approved, we need to do a pass on existing libraries to update the decorators.

I recommend closing this and opening a design issue.

Thanks all. I create issue at https://github.com/microsoft/cadl/issues/1536. And close this PR.


WSL --install fails with "Error: 0x80070424 The specified service does not exist as an installed service"

Windows Version
Microsoft Windows [Version 10.0.22631.2715]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
No response
Distro Version
Ubuntu
Other Software
No response
Repro Steps
Installing subsystem distro fails if i run wsl --install Ubuntu
Already tried following:
-Remove and reinstall Hyper-V and Subsystem
Expected Behavior

Actual Behavior
C:\Users\user>wsl --install ubuntu
Ubuntu on jo asennettu.
Käynnistetään Ubuntu...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070424
Error: 0x80070424 The specified service does not exist as an installed service.
Diagnostic Logs
WslLogs-2023-11-15_08-54-49.zip

It's not just a problem installing WSL, the same error is happening when launching already-installed WSL after Windows Update. See #10755 (someone already closed it on account of workarounds, which might help here too, but the issue remains).

Re-Enabling Virtual Machine Platform solved my issue. https://github.com/microsoft/WSL/issues/10760

I've had this issue for a few days. None of the other fixes such as disabling and reenabled WSL services in Windows Features worked for me. I attempted to completly uninstall WSL and noticed I had 2 versions listed in the installed programs list. 1 version would uninstall fine, the other (which install date matched the day I started seeing this issue) would not unsintall with the message 'installation package could not be opened'. I used a 3rd party uninstall program to remove all registry entries and associated files. Rebooted, then installed the pre-release 2.0.11 : https://github.com/microsoft/WSL/releases/tag/2.0.11 . It now works and no data was lost as I didnt uninstall any distros.

Estou com esse erro
wsl --install ubuntu
O serviço especificado não existe como serviço instalado.
Error code: Wsl/CallMsi/0x80070424
Podem me ajudar?

I had the same issue
Resolved with https://github.com/microsoft/WSL/releases/tag/2.0.11

In my case, I needed to enable the following from Programs and Features -> Turn Windows Feature on or off:

Virtual Machine Platform
Windows Subsystem for Linux

go to Applications select windows linux subsystem app, advanced options, repair

go to Applications select windows linux subsystem app, advanced options, repair

Doesn't work in windows 10

go to Applications select windows linux subsystem app, advanced options, repair

Doesn't work in windows 10

i'm using windows 10 :)

For me, the cause was Comodo Auto-Containment.
To explain . . .
I went through a process of deduction to find out what the cause was for my terminal not running as expected. I tried to stop/start the virtualization platform - negative. Tried netsh winsock reset - negative. I even went as far as checking my UEFI SVM setting, which was fine.
Then I thought back to what I had changed since I last ran the container. The only things I could think of were Malwarebytes, and Comodo Firewall (which comes with some fancy features).
I quit Malwarebytes - negative. I turned off all Comodo features - SUCCESS! Then narrowed it down to Auto-containment, so whilst it was off, I added the terminal process to an ignore rule, and now all is fine.

When I came across the issue, I was running an up-to-date Windows 11.
I already had the Hyper-V features enabled (reasons unrelated to WSL) and Windows Subsystem for Linux enabled. The fix for me was simple; I had to enable the Virtual Machine Platform Windows feature. No restart was required after enabling this feature. Lastly, I ran wsl --shutdown before trying to install a distro.

I had the same issue Resolved with https://github.com/microsoft/WSL/releases/tag/2.0.11

Finally it worked! Thanks for sharing!

I reinstalled WSL from wsl.exe in C:\Program Files\WindowsApps\MicrosoftCorporationII.WindowsSubsystemForLinux_<IP_ADDRESS>_x64__8wekyb3d8bbwe
And then everything works well now. But I still can't see the Windows Subsystem for Linux service running in taskmgr. So weird.

I was experiencing the same problem and disabling features like WSL, Hyper-V and Virtual Machine Platform and restarting didn't work for me. What I did to solve it was activate the features described above and restart and manually install WSL through the link: https://github.com/microsoft/WSL/releases. Try downloading the latest version (I recommend a non-preview version) and installing. I was installing Podman when I had this problem.

I had the same issue Resolved with https://github.com/microsoft/WSL/releases/tag/2.0.11

it's work for me


[Warning] Area 51 (2005)

Hello everybody!
I just want to let you know that the source code is available here: https://github.com/ProjectDreamland/area51
And it's important to remember that the game in question is Freeware, and free of copyright since 2008, so if any programmer is interested in starting a source port project now is a good time, and there will be no barriers to it.
Cheers!

Thanks @SilentMRG!  I am not planning to do any work on specific games like this.  I want to spend my time working on dd7to9.

Elisha, no problem... I thank you for your attention! And thanks for all your work on dxwrapper. =)


Patch DOM: moving a component that returns a Fragment only moves the first element in the fragment

Describe the bug
When a component is returning a fragment and the arraysDiffSequence generates a move operation for the component
only the first element of the component is moved instead of the whole component
To Reproduce
Steps to reproduce the behavior:
Try to render the following code and click the reverse button
const Child = defineComponent({
  render() {
    return hFragment([
      h('h2', {}, ['The User is ', this.props.user.name]),
      h('h4', {}, ['the id is ', this.props.user.id]),
    ])
  },
})

const Container = defineComponent({
  state() {
    return {
      users: [
        { id: 1, name: 'Test1' },
        { id: 2, name: 'Test2' },
      ],
    }
  },
  render() {
    return h('div', {}, [
      h(
        'button',
        {
          on: {
            click: () => {
              this.updateState({
                users: [...this.state.users].reverse(),
              })
            },
          },
        },
        ['Reverse']
      ),
      ...this.state.users.map((user) => h(Child, { user, key: user.id })),
    ])
  },
})

createApp(Container).mount(document.body)

Expected behavior
The Components get correctly reversed
Screenshots
initial render:

after reverse:

Additional context
Add any other context about the problem here.

Hi there @Raven-79 👋👋
Thanks for taking the time to report this issue. I will take a look at soon as I find some time.

I reproduced the issue with a test and understood the root cause, which is a bit tricky.
Inside the patchChildren() function, the ARRAY_DIFF_OP.MOVE operation should move not only the first element, but all of them in case they are part of a fragment.
 case ARRAY_DIFF_OP.MOVE: {
        const oldChild = oldChildren[originalIndex]
        const newChild = newChildren[index]
        const el = oldChild.el 👈
        const elAtTargetIndex = parentEl.childNodes[index + offset]

        parentEl.insertBefore(el, elAtTargetIndex)
        patchDOM(oldChild, newChild, parentEl, hostComponent)

        break
}

I need a bit of time to think about what the best solution would be here. Ideally it should be simple and shouldn't change things a lot, so to not confuse future readers when they compare the code they wrote following the book and the code that's in the repo.
Again, super thanks @Raven-79 for reporting this very interesting bug. I will be fixing it soon and explaining the solution with lots of detail.

hello @angelsolaorbaiceta
Thanks a lot for the fix, and thanks for the book! I really enjoyed reading it; it was both fun and rich with information.


bug(docs): Inaccurate description of builder responsibilities

Would we all agree this is inaccurate?  If so, I'll open a PR to simply remove this line.
https://github.com/deis/deis/blame/master/docs/understanding_deis/components.rst#L50
AFAIK, config is not baked into the images.  It is held in the database and used to regenerate application units when a the new release is produced.
I saw this particular bullet point cause some confusion for some co-workers recently.

Yes, that is partially inaccurate. The builder pulls down config from the controller during the build process, but it does not add the latest config to the resulting docker image. That is the responsibility of the registry module in the controller.

Agreed, the docs would be more accurate if that line were removed. Thanks for reading closely @krancour!

I can't take the credit.  A co-worker read that line and took the doc's word for it.  Caused us a bit of confusion.  I'll nix this just as soon as I get a moment.
Do you think that besides removing that line, it might make sense to add a note that specifically explains that config values are never baked into the images directly?  Of is that TMI WRT to the brief overview of each component?


Add documentation regarding ID configuration (keycloak and direct) including roles

https://github.com/epam/ai-dial/blob/main/docs/tutorials/roles-management.md


[debian] Refactor debian packaging

Refactor debian package to make separate packages for capi and ccapi, along with their devels.
Other bug fixes/improvements are:

Update the names of the packages in pkg-config files for the capi and ccapi
Update the installed files based on the requirement by the devel headers
(this might be even expanded). This will be refactored again once layer_internal and neuralnet
cleanup is performed.
Update the included headers

Self evaluation:

Build test: [x]Passed [ ]Failed [ ]Skipped
Run test: [x]Passed [ ]Failed [ ]Skipped

Signed-off-by: Parichay Kapoor<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #1236. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/.

:octocat: cibot: @kparichay, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://nnstreamer.mooo.com/nntrainer/ci/repo-workers/pr-checker/1236-202106021420140.33808994293213-7cfed8f733fa42e2c0a5a37bf2ccf813d4e0c266/.


Add Databricks Feature

Install the Databricks CLI via Homebrew on a dev container feature.
Milestones

[x] #7
[x] Add tests
[ ] Generate documentation
[ ] Release package

This is closed for now


[Bug]: access modifier should be internal for _rebalance in the FullRange example (security related)

Describe the bug
https://github.com/Uniswap/v4-periphery/blob/581d96dfd8b281cafe351205bf6d2d65efb4df90/contracts/hooks/examples/FullRange.sol#L317
is public
Expected Behavior
should be internal
To Reproduce
No response
Additional context
No response

the function starts with _ and hence looks like an internal function.
However, the developer put it external because rebalance can happen in more cases and may need be triggerable directly for external caller. it seems that the developer hasn't fully handled this, so he put it as public first. (that's how I feel).

Hi! thanks for flagging -- going to close this issue because:

hook examples no longer live in the main branch

custom accounting will allow for a more v2-style curve with v2 interfaces. reference implementation https://github.com/hensha256/v2-on-v4


Kafka Source

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/spark-streaming-df-test/7/
Test FAILed.

Build finished. Test FAILed.


Update copyright notices to 2022 (close #312)

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://docs.snowplowanalytics.com/docs/contributing/contributor-license-agreement/ to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.


TitleBar (MacOS) - custom titlebar doesn't implement path or document proxy

Prerequisites

[ ] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
New custom MacOS TitleBar does not implement support for standard path popup or drag-n-drop document proxy, as per standard titlebars.
Steps to Reproduce

Switch to custom title bar on macos and restart
open a document
cmd-click in document title in titlebar. A path pop up should appear, but doesn't.
drag the document icon, a document proxy should appear for drag and drop, but doesn't.

Expected behavior: [What you expect to happen]
I expect the path popup to appear, as it does in default mode, and I expect the document proxy to appear, as it does in default mode.
Actual behavior: [What actually happens]
Neither appear. This is perhaps refered to by "Custom" will affect functionality, but as nice as it is, this is a bridge to far, i'm just wondering if the authors are unaware of this default behaviour.
Reproduces how often: [What percentage of the time does it reproduce?]
Every time.
Versions
1.16.0 x64 for Mac OS X.
Additional Information

i'm just wondering if the authors are unaware of this default behaviour.

Yes, it got pointed out here: https://github.com/atom/atom/pull/11790#issuecomment-222168228.
There is now this note in the settings:

Meaning that, you're free to switch to a custom title bar, but some functionality (like dragging the icon or opening the dropdown) won't work. There aren't any short-term plans to reimplement these features, so I'm gonna close this as wontfix.
@mrstux thanks for pointing it out, though. 🙇