🐛 Walkx icon repository not using updates files - API

Environment
Docker
Version
No response
Describe the problem
@walk icon repository has now SVG icons, he spent a lot of time on it and they don’t seem to appear in homarr. I’m not sure why I’ve tried to look at it in the code but couldn’t really figure how it works.
ill assign this to you @manuel-rw since you did the icon picker component and all the logic with that ;)
Logs
No response
Context
No response
Please tick the boxes

[X] I confirm that I attached the proper logs
[X] I've read the docs
[X] I've checked for duplicate issues
[X] I've tried to debug myself

Sure. I'll look into it. Thanks for assigning

Ok, so this is what's going on:
The API route https://data.jsdelivr.com/v1/packages/gh/walkxcode/dashboard-icons@master?structure=flat returns the following item in the flat file list:
{
        "name": "/png/alpine-linux.png",
        "hash": "F2lnsPbJo2gph4hwkNwnKRBhdMsJs1jPJ2SVt68zdwQ=",
        "size": 22073
},

However, this file does not exist on the CDN data endpoint<EMAIL_ADDRESS>Other files, like the following work on both endpoints:

homarr.svg
homarr.png
alpine.png

I don't get it, why this is happening. I double checked that we request the correct branch, that there is no caching going on and that it's not my device / network being the traitor. @walkxcode can you maybe assist us on this issue?

https://data.jsdelivr.com/v1/packages/gh/walkxcode/dashboard-icons@master?structure=flat > https://data.jsdelivr.com/v1/packages/gh/walkxcode/dashboard-icons@main?structure=flat :)

There is. I just read that jsDelivr switched to a system where anything after the @ will be the NPM version tag. Problem is... There is no NPM in my project :') I'm going to try some possible fixes, and otherwise I might have to find another CDN (old CDN will still work no problem).

@walkxcode  your main branch is called “main” not “master”

No. I've tried.

~data.jsdelivr.com/v1/packages/gh/walkxcode/dashboard-icons@master?structure=flat > data.jsdelivr.com/v1/packages/gh/walkxcode/dashboard-icons@main?structure=flat :)~
This actually doesn't work?.. I'll look further into the issue.

So there’s no way of getting the up to date files ? 💀

Yeah, I don't think it's possible...

Does master maybe reference the first ever recorded version of the branch but not an updates afterwards? If that's the case, we would have to tag a specific version instead of using master / main (eg. a commit hash). We could retrieve the latest commit hash via API and then retrieve the contents of that specific revision. Kind of breaks image caching, but probably our best bet?

I think that's the case, but I don't know if commit hashes will work.

They do. It's documented in the docs. However, we need to know the hashes in the first place...

They do. It's documented in the docs. However, we need to know the hashes in the first place...
It's also weird that this issue only seems to exist for your icon repo.The other work fine.

Why not just use main and use the latest one ? The only issue is that the branch got renamed and the CDN didnt pick it up to alias it to main instead of master. replacing it with main should work.

No. It does not work, as I already said above.

I can confirm that main doesn't work either.

This API endpoint is working for me:
https://data.jsdelivr.com/v1/packages/gh/walkxcode/dashboard-icons@118c204a1c84245c98ec316e1918f42277d68248?structure=flat
{
        "name": "/png/alpine.png", // <-- correct file name, that was updated recently, as an example
        "hash": "okx+Xqqc45mGtY1o3GgZzTU+HBSnTKF9ybnpj5O/Ypw=",
        "size": 18264
}

We could try to email jsdelivr to ask them how to get the link to the latest resources, it might be a bug on their end or something we weren’t able to find about online

Interestingly, JsDelivr seems to "know" no versions:

We could try to email jsdelivr to ask them how to get the link to the latest resources, it might be a bug on their end or something we weren’t able to find about online

Won't they reply with the usual generic "oh we're sorry that you're having this problem, try this and this...."?

At least JsDelivr seems to know the project:
curl -X GET "https://data.jsdelivr.com/v1/stats/packages/gh/walkxcode/dashboard-icons?period=week" \
 -H "accept: application/json" \

{
  "hits": {
    "rank": 817,
    "typeRank": 273,
    "total": 2077449,
    "dates": {
      "2022-10-15": 311693,
      "2022-10-16": 334698,
      "2022-10-17": 283700,
      "2022-10-18": 266822,
      "2022-10-19": 263361,
      "2022-10-20": 319285,
      "2022-10-21": 297890
    },
    "prev": {
      "rank": 819,
      "typeRank": 269,
      "total": 2038555
    }
  },
  "bandwidth": {
    "rank": 1174,
    "typeRank": 608,
    "total":<PHONE_NUMBER>6,
    "dates": {
      "2022-10-15":<PHONE_NUMBER>,
      "2022-10-16":<PHONE_NUMBER>,
      "2022-10-17":<PHONE_NUMBER>,
      "2022-10-18":<PHONE_NUMBER>,
      "2022-10-19":<PHONE_NUMBER>,
      "2022-10-20":<PHONE_NUMBER>,
      "2022-10-21":<PHONE_NUMBER>
    },
    "prev": {
      "rank": 1160,
      "typeRank": 607,
      "total":<PHONE_NUMBER>6
    }
  },
  "links": {
    "self": "https://data.jsdelivr.com/v1/stats/packages/gh/twbs/bootstrap?period=week",
    "versions": "https://data.jsdelivr.com/v1/stats/packages/gh/twbs/bootstrap/versions?period=week"
  }
}

At least JsDelivr seems to know the project:
curl -X GET "https://data.jsdelivr.com/v1/stats/packages/gh/walkxcode/dashboard-icons?period=week" \
 -H "accept: application/json" \

{
  "hits": {
    "rank": 817,
    "typeRank": 273,
    "total": 2077449,
    "dates": {
      "2022-10-15": 311693,
      "2022-10-16": 334698,
      "2022-10-17": 283700,
      "2022-10-18": 266822,
      "2022-10-19": 263361,
      "2022-10-20": 319285,
      "2022-10-21": 297890
    },
    "prev": {
      "rank": 819,
      "typeRank": 269,
      "total": 2038555
    }
  },
  "bandwidth": {
    "rank": 1174,
    "typeRank": 608,
    "total":<PHONE_NUMBER>6,
    "dates": {
      "2022-10-15":<PHONE_NUMBER>,
      "2022-10-16":<PHONE_NUMBER>,
      "2022-10-17":<PHONE_NUMBER>,
      "2022-10-18":<PHONE_NUMBER>,
      "2022-10-19":<PHONE_NUMBER>,
      "2022-10-20":<PHONE_NUMBER>,
      "2022-10-21":<PHONE_NUMBER>
    },
    "prev": {
      "rank": 1160,
      "typeRank": 607,
      "total":<PHONE_NUMBER>6
    }
  },
  "links": {
    "self": "https://data.jsdelivr.com/v1/stats/packages/gh/twbs/bootstrap?period=week",
    "versions": "https://data.jsdelivr.com/v1/stats/packages/gh/twbs/bootstrap/versions?period=week"
  }
}

But why are the dates so far in time ?

According to https://github.com/jsdelivr/jsdelivr/issues/18417#issuecomment-1163078689 , it should update within 12 hours. I tried purging the cache using https://purge.jsdelivr.net/walkxcode/dashboard-icons@main, but that didn't change anything (or it takes longer to propagate to the CDN).
https://github.com/video-dev/hls.js/issues/1664#issuecomment-380941077
https://stackoverflow.com/a/69151200
Maybe we need to wait now? 🤔

Is this still an issue ? Im not sure

Yes it is

https://api.github.com/repos/walkxcode/dashboard-icons/git/trees/main?recursive=true

Fixed with #1520


Run Shader on Blits from a GPU_Image Tileset

Hi,
I have been successful in doing two things with sdl-gpu so far:

Use a GPU_Image tileset with GPU_BlitScale() to draw out 16x16 pixel tiles to create the level of my game.
Use GPU_LoadShader(), GPU_LinkShaders(), glGenVertexArrays(), glVertexAttribPointer(), etc. in order to create and modify shader triangles within my game.  I am able to pass in vertex data and utilize attributes, uniforms, position, color, etc. to modify the shaders during rendering.

One question is as follows:

What is a good method to apply/run a shader (from point 2 above) on a 16x16 blit (from point 1 above)?  In other words, how do I target only specific 16x16 blit tiles to be affected by a particular shader?

A second question is as follows:

What is a good method to have a shader apply across multiple 16x16 blits as a whole?  For example, where a light would diffuse across an area of 20x20 tiles, not just each tile individually.  Would each tile get its own shader class?  How would multiple tiles share 1 shader?

Thanks so much!

I was able to make some progress on this.  I have been using the "tests/shader-attributes" source code as a reference.  I have found the following:
If I wrap a "GPU_Blit()" call with "GPU_ActivateShaderProgram(program, &block)" [to activate the shader] and "GPU_ActivateShaderProgram(GPU_GetContextTarget()->context->default_textured_shader_program, NULL)" [to deactivate the shader] then the activated shader will only affect the blits/tiles drawn between the activate/deactivate shader call.  This is exactly what I was trying to do.
It seems a little odd to have to wrap the draw calls with activate/deactivate shader but if it works then that's fine.  I will be thinking about another way to do this though.
Another note:
Since I am using GPU_Blit(), the shader seems to automatically pick up the tile vertices.  In other words, I don't need to create a mesh, vertex buffer object, vertex array object, bind, etc.  The other interesting thing is that the shader affects all of the tile blits as a whole instead of individually as they are blitted.  This actually answers my second question.
Therefore, all in all I think I got everything working for now.

Sorry I wasn't able to get back to you before you put more time into this.
It seems like you just needed a better demo of how to use shaders in a real application with SDL_gpu?  I think you've pretty much gotten there.
Load shader program:
Uint32 vert = GPU_LoadShader(GPU_VERTEX_SHADER, vert_filename);
Uint32 frag= GPU_LoadShader(GPU_FRAGMENT_SHADER, frag_filename);
Uint32 shader = GPU_LinkShaders(vert, frag);

Then load a shader block so that SDL_gpu can use the standard attributes for blitting with that shader:
GPU_ShaderBlock block = GPU_LoadShaderBlock(shader, "gpu_Vertex", "gpu_TexCoord", "gpu_Color", "gpu_ModelViewProjectionMatrix");
Also get the locations of custom uniforms/attributes you want to use:
int hue_loc = GPU_GetUniformLocation(shader, "hue");
Then when you want to use it, you activate it, set uniforms, blit, then deactivate (if necessary):
GPU_ActivateShaderProgram(shader, &block);
GPU_SetUniformf(hue_loc, 0.5f);
GPU_Blit(image, NULL, screen, x, y);
GPU_ActivateShaderProgram(0, NULL);  // Using 0 and NULL will reset it to the appropriate default shader

If you use C++, you're welcome to mess around with my Shader class that stores all that stuff in one place, caches uniform locations, and supports unversioned GLSL 300-compatible shaders.
I use it like so:
Load:
Shader shader;
shader.load(vert_filename, frag_filename);
// Do this if you write unversioned shaders that can work on OpenGL 3+ and GLES 2+
// shader.load_unversioned(vert_filename, frag_filename);

Use:
shader.activate();
GPU_SetUniformf(shader.get_location("hue"), 0.5f);  // Location is cached so doesn't need to be preloaded
GPU_Blit(image, NULL, screen, x, y);
shader.deactivate();

Shader class.zip

Wow, your code above is spot on.  It's exactly what I meant.  I will try to use the code formatting from now on to make things more legible.
What I thought was interesting is that "gpu_Vertex",  "gpu_TexCoord",  "gpu_Color", "gpu_ModelViewProjectionMatrix" are all "standard attributes."  Is this why the shader automatically works with GPU_Blit() in terms of "vertex, texture, color, matrix"?
Thanks for the Shader class, it has all the concepts I was talking about written very well.  I will certainly utilize this.

Yes, GPU_Blit() uses the shader block to know which attributes to pass that data to.  That data is the typical for 2D rendering to a quad and this setup just organizes it in a way.
You might also find it useful to know that the first texture sampler will be image unit 0, which is what GPU_Blit() assumes and uses.  If your shader uses multiple texture samplers, then use GPU_SetShaderImage() to link each of them to a GPU_Image and a unique image unit.

Ha, you are basically reading my mind.  I was literally just digging through "tests/multitexture" and found GPU_SetShaderImage() before I even saw your latest post.  It's exactly what I am trying to do right now.  I am trying to sample a diffuse and normal map texture in the fragment code.
I may have some other questions regarding this process and will let you know in a separate issue.
Thanks so much for all of your help!


Dev/update shufflenet config

Remove the original training schedules for shufflenet_v1 (imagenet_bs1024_linearlr.py) and shufflenet_v2 (imagenet_bs2048_linearlr.py ) and update them to a new training strategy (imagenet_bs1024_linearlr_bn_nowd.py). Experiments have been done to verify the effectiveness of the new schedule, which sets the weight decay of BatchNorm2d in the network to zero during training. I'll update the new pretrained model and logs in another pull request.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: xiaojieli0903:x: lixiaojielixiaojie seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


How to retrieve form's id attribute from custom input

I am trying to retrieve form's id attribute from custom input method:
  class DatepickerInput < SimpleForm::Inputs::StringInput
    def input
      ...
      get_form_id # !!! how to?
    end
  end

It is easy to retrieve input's options via input_html_options, but how can I access form's properties?

Please use the mailing list or StackOverflow for questions/help, where a wider community will be able to help you. We reserve the issues tracker for issues only.


[UX] Assign new family head

Describe the enhancement
Screenshot 1

Alert Badge

When assigning new/changing HH head from the drop down, the modal shouldn’t have the alert.
The alert badge should only show when removing HH head from the HH and user is tasked to assign new head

Radio button colour

Active radio button color should be blue as the button colors. this is because it’s a selected input field and all selected input fields should have the same color properties

HH Member names

HH member names should show gender and age as shown in the adjusted designs.
There no dividers in the list of these HH members

Save button

The save button size is not as intended in the design
The container for the buttons should have a top border line as a sense of separation from the list.
The cancel button should be grey as intended in the design

Adjusted Design

Screenshot 2

Button Container

The buttons container should always be showing at the bottom of the list.
This modal should be responsive, if it’s a long list, show a predefined number of members and not all, but the buttons should always stick. when user scrolls, the whole modal should be able to expand. see attached examples

This is pending implementation no further design input required
CC @HenryRae


US 04.01.01

US 04.01.01
As a borrower, I want to request a book that is not currently accepted or borrowed so that I would have a chance to borrow it when that book is returned.

Since technically requests are made, this can be closed


Is it possible to customize the tags of zipkin tracing provider

I just tried to use Zipkin to trace requests of Envoy. It works as expected. I just downloaded the data of JSON format from Zipkin:
[
   {
      "traceId":"5341a3f65e389606",
      "id":"5341a3f65e389606",
      "kind":"SERVER",
      "name":"<IP_ADDRESS>:8000",
      "timestamp":1692354579079400,
      "duration":4622,
      "localEndpoint":{
         "ipv4":"<IP_ADDRESS>"
      },
      "annotations":[
         {
            "timestamp":1692354579084446,
            "value":"ss"
         }
      ],
      "tags":{
         "component":"proxy",
         "downstream_cluster":"-",
         "guid:x-request-id":"40a5e8d9-1e0a-98e1-92a4-dcc10dfdd84e",
         "http.method":"GET",
         "http.protocol":"HTTP/1.1",
         "http.status_code":"200",
         "http.url":"http://<IP_ADDRESS>:8000/",
         "peer.address":"<IP_ADDRESS>",
         "request_size":"0",
         "response_flags":"-",
         "response_size":"4",
         "upstream_cluster":"cluster_http",
         "upstream_cluster.name":"cluster_http",
         "user_agent":"curl/7.29.0"
      },
      "shared":true
   }
]

I'm thinking if it's possible to add the path and the host of the request to the tags. Does Envoy support this for now?

Would specifying custom tags useful for your case?


record_data.py

hello，i ran python code record_data.py with your documentation in windows environment，after executing the example command

python record_data.py --browser chrome --num_runs 1 --sites_list google.com --trace_length 5

i got error "subprocess.CalledProcessError: Command '['ps', 'aux']' returned non-zero exit status 1" at line 202
have you ever encountered such a situation？how could i deal with this?

I can’t push a fix right now, but in the meantime you can check out issue #1 for a solution. Please let me know if you run into any other issues.

thank you very much!
i have solved the problem based on issue #1, the changes that i made is at line 202 and line 191 just as you said. thanks your reply!
li zongtai


Decorator interface

This PR implements #129
@ejhumphrey please give this a glance.  Tests pass and it behaves as expected.  I changed your implementation a little bit by using the decorator module.  This way, docstrings and call signatures are preserved:
@pescador.streamable
def mystream(n):
    '''My bologna

    Docstring bonanza!
    '''
    for i in range(n):
        yield i

def streamable(func):
    def streamed(*args, **kwargs):
        return pescador.Streamer(func, *args, **kwargs)
    return streamed

@streamable
def mystream2(n):
    '''My bologna

    No docstring in sight.
    '''
    for i in range(n):
        yield i

results in
[6]: mystream?
Signature: mystream(n)
Docstring:
My bologna

Docstring bonanza!
File:      ~/Notebooks/<ipython-input-5-0930abf6a0b9>
Type:      function

[7]: mystream2?
Signature: mystream2(*args, **kwargs)
Docstring: <no docstring>
File:      ~/Notebooks/<ipython-input-5-0930abf6a0b9>
Type:      function

lgtm. but wouldn't it be tuna over bologna for this lib? 🙃


[BUG] : Dark theme toggle button does not work as it should

Dark theme toggle button (on the top right) this button should toggle dark theme when clicked the first time, but it is doing after clicking it the second time.
Also clicking it the first time changes the button's theme to dark mode but the whole page is still in light mode, vice versa.
Screenshot:

I want to work on it.

can i work on this issue


fix: unexpected validation error when ttl is set with variable

When default is set with variable, it will be unknown in the request sent to the plugin, so the validation will fail. With this change, the plugin can handle this case correctly.
The validation still works when mode is override_origin and default is not set(which will be null) or <=0.
fixes: #4412

Hi @jacobbednarz
Could you please kindly review this PR? Thanks!
Issue: #4412


Advanced Armor Training selections don't give move at full speed in heavy

Basically, exactly what it says.
The second rank of armor training, regardless of class or you take the base or the advanced pick, is supposed to give full speed in heavy.
This isn't happening.
The fix is not as simple as just slapping the ArmorSpeedPenaltyRemoval fact on the selector - I just tried that, and it doesn't work. That fact doesn't look for two instances of itself, it looks for two ranks of a feature with the fact.
Will attempt to make a pull request that fixes this.

https://github.com/Vek17/WrathMods-TabletopTweaks/pull/208
This fixes the problem.


Allow nodes to have no inputs defined

Description
When incorporating kedro in with existing libraries designed to fetch datasets similar to pandas-datareader its frustrating that I need to setup a dummy dataset to pass in even though it is not used.
Context
I have existing libraries that I use daily that fetch data for me with a single function.  These functions tie into kedro extremely well, except for functions that do not require input.
This example from the first page of the pandas-datareader docs is a great example of what I am trying to do.  This function returns 5-years of 10-year constant maturity yields on U.S. government bonds with a single keyword argument no data input required.
import pandas_datareader as pdr
pdr.get_data_fred('GS10')

Possible Implementation
Allow for inputs=None  currently kedro checks for None and throws an error.
https://github.com/quantumblacklabs/kedro/blob/master/kedro/pipeline/node.py#L553-L557
Possible Alternatives
If the above is desired by other use cases.  The error could be toggled off with a configuration such as strict_node_input.

Hi @WaylonWalker Thank you for reporting!
Kedro node allows None inputs (see https://github.com/quantumblacklabs/kedro/blob/master/kedro/pipeline/node.py#L48).
You can have node(func, inputs=None, output="something") or node(func, inputs="something", output=None), but cannot have node(func, inputs=None, output=None).
Maybe it would be helpful if you could paste the actual error stack in here :)

Wow this one got stale on me.  I just updated some of my pipelines that needed to use None.  Thanks for the feedback.


fix currency selector background

fix currency selector background on windows + linux, e.g. white text on light background makes the text illegible

fixed in release v0.1.1


apparently it is showing one of the last songs as if listening even when i am not listening to anything on spotify

This is intentional, please check out:
https://github.com/novatorem/novatorem/blob/master/SetUp.md#customization
If you'd like to change things up more, the setup.md file has instructions on debugging your changes.


Dict with a single key type reported as unassignable to a dict with multiple key types

Environment data

Pylance version: 2024.10.1
OS and version: MacOS Sonoma 14.1
Python version (& distribution if applicable, e.g. Anaconda): 3.11.6

Code Snippet

def func(d_in: dict[str | int, int]):
    pass

d = {"a": 1}
d2 = {"a": 1, 1: 2}

func(d) # Pylance error here
func(d2) # No error here

Expected behavior
A dictionary of type dict[str, int] should be assignable to a parameter of type dict[str|int, int]
Note that this arises in the Redis API, where _Key is defined as str | bytes
Actual behavior
Argument of type "dict[str, int]" cannot be assigned to parameter "d_in" of type "dict[str | int, int]" in function "func"
  "dict[str, int]" is not assignable to "dict[str | int, int]"
    Type parameter "_KT@dict" is invariant, but "str" is not the same as "str | int"Pylance[reportArgumentType](https://github.com/microsoft/pyright/blob/main/docs/configuration.md#reportArgumentType)

Logs

2024-10-15 13:01:16.833 [info] (Client) Pylance async client (2024.10.1) started with python extension (2024.16.1)
2024-10-15 13:01:17.131 [info] [Info  - 1:01:17 PM] (44576) Server root directory: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist
2024-10-15 13:01:17.132 [info] [Info  - 1:01:17 PM] (44576) Pylance language server 2024.10.1 (pyright version 1.1.382, commit e46efc6b) starting
2024-10-15 13:01:17.133 [info] [Info  - 1:01:17 PM] (44576) Starting service instance "redis-tutorial"
2024-10-15 13:01:17.156 [info] (44576) No configuration file found.
2024-10-15 13:01:17.157 [info] (44576) No pyproject.toml file found.
2024-10-15 13:01:17.158 [info] [Info  - 1:01:17 PM] (44576) Setting environmentName for service "redis-tutorial": "3.11.6 (venv venv)"
2024-10-15 13:01:17.158 [info] [Info  - 1:01:17 PM] (44576) Setting pythonPath for service "redis-tutorial": "/Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/venv/bin/python"
2024-10-15 13:01:17.159 [info] [Info  - 1:01:17 PM] (44576) No include entries specified; assuming /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial
2024-10-15 13:01:17.159 [info] [Info  - 1:01:17 PM] (44576) Auto-excluding **/node_modules
2024-10-15 13:01:17.160 [info] [Info  - 1:01:17 PM] (44576) Auto-excluding **/__pycache__
2024-10-15 13:01:17.160 [info] [Info  - 1:01:17 PM] (44576) Auto-excluding **/.*
2024-10-15 13:01:17.181 [info] [Info  - 1:01:17 PM] (44576) Assuming Python version 3.11.6.final.0
2024-10-15 13:01:17.181 [info] (44576) Assuming Python platform Darwin
2024-10-15 13:01:17.226 [info] [Info  - 1:01:17 PM] (44576) Execution environment: 3.11.6 (venv venv)
2024-10-15 13:01:17.227 [info] [Info  - 1:01:17 PM] (44576)   Extra paths:
2024-10-15 13:01:17.227 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/venv
2024-10-15 13:01:17.227 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/''
2024-10-15 13:01:17.227 [info] [Info  - 1:01:17 PM] (44576)   Python version: 3.11.6.final.0
2024-10-15 13:01:17.227 [info] [Info  - 1:01:17 PM] (44576)   Python platform: Darwin
2024-10-15 13:01:17.227 [info] [Info  - 1:01:17 PM] (44576)   Search paths:
2024-10-15 13:01:17.227 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stdlib
2024-10-15 13:01:17.227 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial
2024-10-15 13:01:17.227 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/venv
2024-10-15 13:01:17.228 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/''
2024-10-15 13:01:17.228 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/typings
2024-10-15 13:01:17.228 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stubs/...
2024-10-15 13:01:17.228 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/bundled/stubs
2024-10-15 13:01:17.228 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist
2024-10-15 13:01:17.228 [info] [Info  - 1:01:17 PM] (44576)     /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
2024-10-15 13:01:17.228 [info] [Info  - 1:01:17 PM] (44576)     /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload
2024-10-15 13:01:17.228 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/venv/lib/python3.11/site-packages
2024-10-15 13:01:17.228 [info] [Info  - 1:01:17 PM] (44576) Execution environment: 3.11.6 (venv venv)
2024-10-15 13:01:17.228 [info] [Info  - 1:01:17 PM] (44576)   Extra paths:
2024-10-15 13:01:17.228 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/venv
2024-10-15 13:01:17.229 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/''
2024-10-15 13:01:17.229 [info] [Info  - 1:01:17 PM] (44576)   Python version: 3.11.6.final.0
2024-10-15 13:01:17.229 [info] [Info  - 1:01:17 PM] (44576)   Python platform: Darwin
2024-10-15 13:01:17.229 [info] [Info  - 1:01:17 PM] (44576)   Search paths:
2024-10-15 13:01:17.229 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stdlib
2024-10-15 13:01:17.229 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial
2024-10-15 13:01:17.230 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/venv
2024-10-15 13:01:17.230 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/''
2024-10-15 13:01:17.230 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/typings
2024-10-15 13:01:17.230 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stubs/...
2024-10-15 13:01:17.230 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/bundled/stubs
2024-10-15 13:01:17.230 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist
2024-10-15 13:01:17.230 [info] [Info  - 1:01:17 PM] (44576)     /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
2024-10-15 13:01:17.230 [info] [Info  - 1:01:17 PM] (44576)     /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/lib-dynload
2024-10-15 13:01:17.230 [info] [Info  - 1:01:17 PM] (44576)     /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/venv/lib/python3.11/site-packages
2024-10-15 13:01:17.230 [info] [Info  - 1:01:17 PM] (44576) Adding fs watcher for library directories:
 file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist
file:///Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11
file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/venv/lib/python3.11/site-packages
2024-10-15 13:01:17.230 [info] [Info  - 1:01:17 PM] (44576) Adding fs watcher for directories:
 file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial
2024-10-15 13:01:17.230 [info] (44576) Searching for source files
2024-10-15 13:01:17.230 [info] [Info  - 1:01:17 PM] (44576) Auto-excluding /Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/venv
2024-10-15 13:01:17.231 [info] [Info  - 1:01:17 PM] (44576) Found 2 source files
2024-10-15 13:01:17.242 [info] (44576) pytest configurations: {"message":"request cancelled","classes":["Test"],"files":["test_*.py","*_test.py"],"functions":["test"]}
2024-10-15 13:01:17.251 [info] (44576) pytest configurations: {"message":"script","classes":["Test"],"files":["test_*.py","*_test.py"],"functions":["test"]}
2024-10-15 13:01:17.452 [info] [Info  - 1:01:17 PM] (44576) Background analysis(1) root directory: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist
2024-10-15 13:01:17.453 [info] [Info  - 1:01:17 PM] (44576) Background analysis(1) started
2024-10-15 13:01:17.499 [info] (44576) pytest configurations: {"message":"request cancelled","classes":["Test"],"files":["test_*.py","*_test.py"],"functions":["test"]}
2024-10-15 13:01:17.512 [info] (44576) pytest configurations: {"message":"script","classes":["Test"],"files":["test_*.py","*_test.py"],"functions":["test"]}
2024-10-15 13:01:21.761 [info] (44576) Attempting to resolve using local imports: __builtins__
2024-10-15 13:01:21.927 [info] (44576) [FG] parsing: file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/mappingtest.py (42ms)
2024-10-15 13:01:21.938 [info] (44576) [FG] parsing: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 2ms] (58ms)
2024-10-15 13:01:21.948 [info] (44576) [FG] binding: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stdlib/builtins.pyi (20ms)
2024-10-15 13:01:21.950 [info] (44576) [FG] binding: file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/mappingtest.py (1ms)
2024-10-15 13:01:21.956 [info] (44576) Attempting to resolve using local imports: __builtins__
2024-10-15 13:01:21.957 [info] (44576) [BG(1)] SemanticTokens full at file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/mappingtest.py ...
2024-10-15 13:01:21.958 [info] (44576) [BG(1)]   parsing: file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/mappingtest.py (32ms)
2024-10-15 13:01:21.959 [info] (44576) [BG(1)]   parsing: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 1ms] (37ms)
2024-10-15 13:01:21.960 [info] (44576) [BG(1)]   binding: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stdlib/builtins.pyi (30ms)
2024-10-15 13:01:21.961 [info] (44576) [BG(1)]   binding: file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/mappingtest.py (0ms)
2024-10-15 13:01:21.965 [info] (44576) [BG(1)]   parsing: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stdlib/typing.pyi [fs read 1ms] (14ms)
2024-10-15 13:01:21.978 [info] (44576) [BG(1)]   binding: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stdlib/typing.pyi (14ms)
2024-10-15 13:01:21.992 [info] (44576) [BG(1)]   parsing: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stdlib/types.pyi [fs read 0ms] (5ms)
2024-10-15 13:01:21.995 [info] (44576) [BG(1)]   binding: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stdlib/types.pyi (3ms)
2024-10-15 13:01:22.003 [info] (44576) [BG(1)]   parsing: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (3ms)
2024-10-15 13:01:22.005 [info] (44576) [BG(1)]   binding: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (2ms)
2024-10-15 13:01:22.010 [info] (44576) [BG(1)]   parsing: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (1ms)
2024-10-15 13:01:22.011 [info] (44576) [BG(1)]   binding: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist/typeshed-fallback/stdlib/abc.pyi (1ms)
2024-10-15 13:01:22.015 [info] (44576) [BG(1)] SemanticTokens full at file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/mappingtest.py (169ms)
2024-10-15 13:01:22.093 [info] [Info  - 1:01:22 PM] (44576) Indexer background runner(2) root directory: file:///Users/jonathan/.vscode/extensions/ms-python.vscode-pylance-2024.10.1/dist (index)
2024-10-15 13:01:22.093 [info] [Info  - 1:01:22 PM] (44576) Indexing(2) started
2024-10-15 13:01:22.145 [info] (44576) [IDX(2)] scan packages file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial ...
2024-10-15 13:01:22.145 [info] (44576) [IDX(2)]   read stdlib indices (10ms)
2024-10-15 13:01:22.313 [info] (44576) [IDX(2)] scan packages file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial (178ms)
2024-10-15 13:01:22.314 [info] [Info  - 1:01:22 PM] (44576) scanned(2) 31 files over 1 exec env
2024-10-15 13:01:22.332 [info] (44576) [BG(1)] indexing: file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/hats.py ...
2024-10-15 13:01:22.332 [info] (44576) [BG(1)]   parsing: file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/hats.py [fs read 0ms] (6ms)
2024-10-15 13:01:22.334 [info] (44576) [BG(1)]   binding: file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/hats.py (2ms)
2024-10-15 13:01:22.335 [info] (44576) [BG(1)] indexing: file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/hats.py [found 11] (9ms)
2024-10-15 13:01:22.335 [info] (44576) Workspace indexing done: file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/hats.py
2024-10-15 13:01:22.336 [info] [Info  - 1:01:22 PM] (44576) Heap stats: total_memory_size=16384MB, total_free_size=43MB, total_heap_size=51MB, used_heap_size=40MB, cross_worker_used_heap_size=40MB, total_physical_size=51MB, total_available_size=4055MB, heap_size_limit=4096MB
2024-10-15 13:01:22.336 [info] (44576) [BG(1)] indexing: file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/mappingtest.py [found 3] (0ms)
2024-10-15 13:01:22.336 [info] (44576) Workspace indexing done: file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/mappingtest.py
2024-10-15 13:01:22.403 [info] (44576) [BG(1)] analyzing: file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/mappingtest.py ...
2024-10-15 13:01:22.404 [info] (44576) [BG(1)]   checking: file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/mappingtest.py (12ms)
2024-10-15 13:01:22.404 [info] (44576) [BG(1)] analyzing: file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/mappingtest.py (13ms)
2024-10-15 13:01:22.411 [info] (44576) [BG(1)] SemanticTokens delta previousResultId:1729022481947 at file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial/mappingtest.py (0ms)
2024-10-15 13:01:22.421 [info] (44576) [IDX(2)] index packages file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial ...
2024-10-15 13:01:22.421 [info] (44576) [IDX(2)]   index execution environment file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial [found 1678 in 31 files] (2ms)
2024-10-15 13:01:22.421 [info] (44576) [IDX(2)] index packages file:///Users/jonathan/Library/CloudStorage/Dropbox/code/redis-tutorial [found 1678 in 1 exec envs] (18ms)
2024-10-15 13:01:22.421 [info] [Info  - 1:01:22 PM] (44576) indexed(2) 31 files over 1 exec env
2024-10-15 13:01:22.433 [info] [Info  - 1:01:22 PM] (44576) Indexing finished(2).

This is by design as explained here in the Pyright docs.
If d is passed to func as d_in, func could add additional keys to d of type int which would be illegal for a dict[str, int].
If you want to allow d to be passed to func, you can explicitly annotate it as dict[str | int, int]:
d: dict[str | int, int] = {"a": 1}

Ok, I see your point.
But... explicitly declaring the type of d doesn't seem to work if it's value is returned from a function.
For example, I get the same error with
def get_a_dict():
    return {"a": 1, "b": 2}

d:dict[str | int, int] = get_a_dict()

A workaround is to copy each element like:
d:dict[str | int, int] = {a:n for a, n in get_a_dict.items()}

But that seems needlessly inefficient.
Is this still by design? If not, I'm happy to open a separate issue.

That's by design for the same reason. The dict returned by get_a_dict() should only be allowed to have str keys because it's a dict[str, int]. Therefore you can't assign it to a variable of type dict[str | int, int], because that would allow invalid int keys to be added.
If you want consumers of the returned dictionary to be able to add int keys into that dictionary, you should annotate the return type of get_a_dict() to be dict[str | int, int]:
def get_a_dict() -> dict[str | int, int]:

Got it.
This gets a bit tricky if get_a_dict comes from an API that I can't easily change.
I suppose one could use the less efficient method I mentioned above, effectively copying to a new dict?

If you're sure that it's safe, you could cast the return value:
def get_a_dict():
    return {"a": 1, "b": 2}

d3 = cast(dict[str | int, int], get_a_dict())
func(d3)

If other code has access to the dict (ex. the code that produced it) and you're not sure what assumptions that code may be making about the values in the dict, then consider whether modifying it is safe. If it's potentially unsafe, copying seems like a reasonable approach.


Improve the doc : components > slots

Hi,
there's a blur area in the docs about slots, in the guide (not API), we are not directly aware that there's a "$slots" variable (or others) available in the component's scope.
It would be really helpful to now this, use case :
conditionnal rendering of slots TAG wrapper. If we do not now we have access to "$slots" in the templates, this cannot be acheived, this is very important to slots as, you don't want your consumer to add unecessary tags when using the slot, he just needs to put his content.

<template>

      <slot name="left"></slot>

{{ title }}

      <slot name="right"></slot>

</template>

Thank you

I'd also like to add slot list rendering:
Child.vue:
<template>

      <slot :name="name"></slot>

</template>

Elsewhere:
<child>

Lorem ipsum dolor sit amet

Hello, World!

</child>

Produces:

Lorem ipsum dolor sit amet

Hello, World!


Deadlock(?)  loading IronPython project in VS DesktopExpress 2013

I have a mixed VS solution with three C# projects and one IronPython project in it. When I try to open this solution with the 13th April build of PTVS installed VS 2013 Desktop Express freezes with the notification "VS Express 2013 Desktop Express is busy ... waiting for an internal operation to complete ...". Solution Explorer shows that the Solution is "(loading...)" but there is little to no CPU activity. It looks like something is deadlocked.
I originally thought that this was due to some combination of editor windows being open but this seems to be not so. If I rename the solution folder then the project opens fine. Doing nothing further if I then immediately close it and reopen it then the hang occurs. Renaming the solution folder again repeats this behaviour, it opens once the first time and not thereafter.
The behaviour first occurred in the 6th April Dev Build, before then Dev Build 2015-03-26 seemed to work fine except for the occasional freeze that required a restart which all previous builds of PTVS seem to have suffered from when an IronPython project is loaded in VS but with the IronPython source not necessarily being loaded in the editor.

I believe this is the same problem that I've seen with freezes on project open due to deadlocks in async analysis code - it's not  specific to IronPython.

Fixed in RC.


infrastructure_added relative links

Dan, can you complete this once all of the landing pages are done.  This way we only have one PR to merge.  Thanks.

@dlangston Also, please make this PR towards the release 3 branch.  Thanks.

Added to hotfix for release 3 here:
https://github.com/asascience-open/ooi-ui/pull/261


Keep cluster CR finalizer until app CRs have been deleted

This is a fix for a problem with cluster deletion reported by @nprokopic
https://gigantic.slack.com/archives/C0251MXL5/p1631176814021100
The cluster namespace was stuck in terminating because the cluster CR finalizer had been removed but there were still app CRs with the app-operator finalizer.
Checklist

[x] Update changelog in CHANGELOG.md.

Tested on ghost.
@MarcelMue @fiunchinho @whites11 @njuettner @anvddriesch If you could help with a review on this it'd be much appreciated 🙏


fix: change default length for api key back to 7 days

Description of changes:
fix: change default length for api key back to 7 days
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #2507 into master will decrease coverage by 1.71%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2507      +/-   ##
==========================================
- Coverage   63.99%   62.27%   -1.72%
==========================================
  Files         200      201       +1
  Lines        9848    10119     +271
  Branches     1886     2059     +173
==========================================
  Hits         6302     6302
- Misses       3268     3536     +268
- Partials      278      281       +3

Impacted Files
Coverage Δ

packages/graphql-auth-transformer/src/resources.ts
87.8% <100%> (ø)
:arrow_up:

...aphql-auth-transformer/src/ModelAuthTransformer.ts
90.83% <100%> (ø)
:arrow_up:

...y-graphql-types-generator/src/compiler/legacyIR.ts
96.77% <0%> (ø)
:arrow_up:

...y-appsync-simulator/src/schema/directives/index.ts

...psync-simulator/src/utils/expose-graphql-errors.ts

...ages/amplify-appsync-simulator/src/server/index.ts

...ync-simulator/src/velocity/util/transform/index.ts

...amplify-appsync-simulator/src/server/operations.ts

...plify-appsync-simulator/src/server/subscription.ts

...y-appsync-simulator/src/resolvers/unit-resolver.ts

... and 10 more

Continue to review full report at Codecov.

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


AzureAppServiceManage version 0.214 not working

Note
Issues in this repo are for tracking bugs, feature requests and questions for the tasks in this repo
For a list:
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
If you have an issue or request for the Azure Pipelines service, use developer community instead:
https://developercommunity.visualstudio.com/spaces/21/index.html )
Required Information
Entering this information will route you directly to the right team and expedite traction.
Question, Bug, or Feature?  Bug
Type: Task
Enter Task Name: AzureAppServiceManage
list here (V# not needed):
https://github.com/Microsoft/azure-pipelines-tasks/tree/master/Tasks
Environment

Server - Azure Pipelines or TFS on-premises? TFS on premises

If using TFS on-premises, provide the version: 2.210.1

If using Azure Pipelines, provide the account name, team project name, build definition name/build number:

Agent - Hosted or Private: Private

If using Hosted agent, provide agent queue name:

If using private agent, provide the OS of the machine running the agent and the agent version:

OS : Linux

Agent version 2.210.1

Issue Description
[Include task name(s), screenshots and any other relevant details]
[AzureAppServiceManage@0]  ie the Swap Azure task
The version 0.210 used to work. The version 0.214 is causing issues.
Since release pipeline is classic, we cant take an older version to temporary sort the issue.
"Error: Failed to fetch App Service 'webapp-botcomposer-dev' publishing credentials. Error: Could not fetch access token for Azure. Status code: endpoints_resolution_error, status message: Error: could not resolve endpoints. Please check network and try again. Detail: ClientConfigurationError: untrusted_authority: The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter."
Note that the publish to Web app task works, but swapping of slots fail with the same service connection. So its definately not the service connection or authorization that is the issue.
Task logs
[Enable debug logging and please provide the zip file containing all the logs for a speedy resolution]
Troubleshooting
Checkout how to troubleshoot failures and collect debug logs: https://docs.microsoft.com/en-us/vsts/build-release/actions/troubleshooting
Error logs
2023-01-12T23:58:07.9646231Z ##[debug]MSAL - getEndpoint - useGraphActiveDirectoryResource=false
2023-01-12T23:58:07.9647193Z ##[debug]MSAL - getEndpoint - useMSAL=true
2023-01-12T23:58:07.9649662Z ##[debug]MSAL - getEndpoint - endpoint={"subscriptionID":"----","subscriptionName":"SubscriptionName","servicePrincipalClientID":"","environmentAuthorityUrl":"https://login.microsoftonline.com/","tenantID":"----","url":"https://management.azure.com/","environment":"AzureCloud","scheme":"ServicePrincipal","activeDirectoryResourceID":"https://management.core.windows.net/","azureKeyVaultServiceEndpointResourceId":"https://vault.azure.net","azureKeyVaultDnsSuffix":"vault.azure.net","scopeLevel":"Subscription"}
2023-01-12T23:58:07.9652176Z ##[debug]MSAL - getEndpoint - connectedServiceName=connectedServiceName----***********
2023-01-12T23:58:07.9653460Z ##[debug]connectedServiceName----********* auth param authenticationType = spnKey
2023-01-12T23:58:07.9654210Z ##[debug]credentials spn endpoint
2023-01-12T23:58:07.9655566Z ##[debug]connectedServiceName----********* auth param serviceprincipalkey = ***
2023-01-12T23:58:07.9656487Z ##[debug]connectedServiceName----********* data EnableAdfsAuthentication = false
2023-01-12T23:58:07.9657376Z ##[debug]connectedServiceName----********* auth param apitoken = undefined
2023-01-12T23:58:07.9660507Z ##[debug]{"subscriptionID":"----","subscriptionName":"SubscriptionName","servicePrincipalClientID":"","environmentAuthorityUrl":"https://login.microsoftonline.com/","tenantID":"----","url":"https://management.azure.com/","environment":"AzureCloud","scheme":"ServicePrincipal","activeDirectoryResourceID":"https://management.azure.com/","azureKeyVaultServiceEndpointResourceId":"https://vault.azure.net","azureKeyVaultDnsSuffix":"vault.azure.net","scopeLevel":"Subscription","authenticationType":"spnKey","servicePrincipalKey":,"isADFSEnabled":false,"applicationTokenCredentials":{"clientId":"","tenantId":"----","baseUrl":"https://management.azure.com/","authorityUrl":"https://login.microsoftonline.com/","activeDirectoryResourceId":"https://management.azure.com/","isAzureStackEnvironment":false,"authType":"spnKey","secret":,"isADFSEnabled":false,"useMSAL":true}}
2023-01-12T23:58:07.9795576Z ##[debug]Processed: ##vso[telemetry.publish area=TaskEndpointId;feature=AzureAppServiceManage]{"endpointId":"connectedServiceName----*********"}
2023-01-12T23:58:07.9797554Z ##[debug]Resource Group: rg-name-dev
2023-01-12T23:58:07.9798382Z ##[debug]MSAL - getMSALToken called. force=undefined
2023-01-12T23:58:07.9799138Z ##[debug]MSAL - ServicePrincipal - clientSecret is used.
2023-01-12T23:58:07.9800070Z ##[debug][Thu, 12 Jan 2023 23:58:07 GMT]<EMAIL_ADDRESS>: Info - acquireTokenByClientCredential called
2023-01-12T23:58:09.9934018Z ##[debug]Completed action
2023-01-12T23:58:09.9935456Z ##[debug]task result: Failed
2023-01-12T23:58:09.9991606Z ##[error]Error: Failed to fetch App Service 'webapp-appname-dev' publishing credentials. Error: Could not fetch access token for Azure. Status code: endpoints_resolution_error, status message: Error: could not resolve endpoints. Please check network and try again. Detail: ClientConfigurationError: untrusted_authority: The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.
2023-01-12T23:58:10.0011787Z ##[debug]Processed: ##vso[task.issue type=error;]Error: Failed to fetch App Service 'webapp-appname-dev' publishing credentials. Error: Could not fetch access token for Azure. Status code: endpoints_resolution_error, status message: Error: could not resolve endpoints. Please check network and try again. Detail: ClientConfigurationError: untrusted_authority: The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.
2023-01-12T23:58:10.0017910Z ##[debug]Processed: ##vso[task.complete result=Failed;]Error: Failed to fetch App Service 'webapp-appname-dev' publishing credentials. Error: Could not fetch access token for Azure. Status code: endpoints_resolution_error, status message: Error: could not resolve endpoints. Please check network and try again. Detail: ClientConfigurationError: untrusted_authority: The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.
2023-01-12T23:58:10.0025174Z ##[section]Finishing: Swap Slots: webapp-appname-dev

This problem may have been caused by Tasks Updates - G1 - Common (npm) - MSAL by ozanovus · Pull Request #17225 · microsoft/azure-pipelines-tasks. The task is ignoring the proxy settings of the agent server.
AzureKeyVault task also has the same problem AzureKeyVault fails with 'endpoints_resolution_error' · Issue #17485 · microsoft/azure-pipelines-tasks as AzureAppServiceManage and is Revert m214 changes to keyvaulttaskV1/2 by merlynomsft · Pull Request #17503 · microsoft/azure-pipelines-tasks.

@kaito-ms   @tasneemnaushad My team and I are also observing the same issue. When does Microsoft plan to release a fix (or rollback) the extension so that the issue can be resolved?

We applied a rollback to AzureAppServiceManage 0.210.0.
Related PRs / hotfixes:
#17625 #17624

I have verified and the revertion works. I believe this can be closed
Thank you for the quick turn around.


Turn off LF/CRLF conversion in FatFS string functions

Raised by envenomator on Twitter:
If an 0x0D (\r) is written to a file, the byte 0x0A (\n) is also written.

The only conversion I can see is here.
Line 6500 of ff.c
if (FF_USE_STRFUNC == 2 && c == '\n') {	 /* LF -> CRLF conversion */
	putc_bfd(pb, '\r');
}

Setting FF_USE_STRFUNC to 1 in ffconf.h will turn off LF -> CRLF conversion

I always forget which one is which (CR/LF). Just tested with a small piece of code, writing to a file with fa_write | fa_create_always. As soon as I write a 0x0a, the 0x0D is immediately added as well. When I write a 0x0D, just 0x0D gets written, nothing extra.

Defined FF_USE_STRFUNC as 1 in ffconf.h and reflashed MOS 1.02; no additional 0x0Ds are added anymore, which is good. Also checked if saves/loads in BBCBASIC still work, which they do. So I think indeed setting this solves the issue; great!


Create G-Code module

Create a module designated for G-code parsing and generating.

There was already an issue for that #12.
But it's fine, I will delete #12.

I would prefer to have a similar gcode class as for the geometry and the meshing.
Something like:
class Gcode:
"""Base class with API for any gcode writer."""
def __init__(self, *args, **kwargs) -> None:
    self.logger = logging.getLogger(__name__ + "." + self.__class__.__name__)

@typing.override
def create(
    self, in_file: Path, out_gcode: Path ) -> None:
    """Create gcode file by given path file or geometry file

    Args:
        in_file: File path to path point file or stl file from geometry step
        out_gcode File path of output gcode file.

    Returns:

    """
    raise NotImplementedError

class GcodeFromPoints(Gcode):
"Gcode generater from given path points"
def __init__(...)
   super().__init__(**kwargs)

def create(self, point_file: Path, out_gcode: Path):
     "write gcode by given points"
    like the code from yout temp_convertor.py

Hi Annika, I completely agree with your idea. I am working on some fundamental functions and classes which works for the final Gcode class.
My plan is to create a parametrized gcode parsing and generating module, working for machines with various gcode standard.
The thing is that neither iso-6983 nor DIN-66025 define a detailed code norm. The Reprap firmware does have a detailed documentation but there are also several versions like Marlin, repetier,etc, which only share most commands in the same codes.
The printer I was working on yesterday is installed a reprap firmware, but the version maybe Repetier.  Therefore for example the code M104 which supposed to control extruder temperature actually controls the extruder switch.
Therefore I think it would be a useful part of the code.

The structure looks more or less like the figure presents.


[Streaming] Proxy support for WebSocket connections

The Web Framework used needs to support proxies (not a worry)
The NodeWebSocketFactoryBase implementation needs to support proxies (i.e, investigate proxy configuration via ws).
The WebSocketServer/other botframework-streaming classes may need retooling
???

[enhancement]

Through the Factory pattern we make it easy for developers to configure their factory to create a WebSocket connection that is not ws reliant and supports proxies.
These changes can be additive, and do not need to go out in R7.

Closing as a non-issue due to lack of interest and the aforementioned extensibility points for supporting proxies and alternative implementations of the NodeWebSocketFactory.
If there is enough interest we can reopen this and first class the support.


[DOCS]: update doc about before/after_script

Documentation Link
https://buildtest.readthedocs.io/en/latest/configuring_buildtest/overview.html#before-script-for-executors
Issue Description
I could not find any issue about this (apart from https://github.com/buildtesters/buildtest/issues/470 maybe).
The text below should have before_script.sh instead of after_script.sh

This can be found in var/executors directory as shown below

var/executors/
|-- local.bash
|   |-- after_script.sh

When I add after_script:  in my config, I get:
  error = <ValidationError: "Additional properties are not allowed ('after_script' was unexpected)">

in https://buildtest.readthedocs.io/en/latest/configuring_buildtest/overview.html#default-configuration
I see:
cat: /buildtest/settings/config.yml: No such file or directory

I guess that's not the expected output.
Post question in Slack

[X] I agree that I posted my question in slack before creating this issue

Is there an existing issue

[X] I confirm there is no existing issue for this issue

Fixed in https://buildtest.readthedocs.io/en/devel/configuring_buildtest/overview.html#before-script-for-executors

@jgphpc thanks for bringing this up. The after_script used to exist but was removed and this was an error in docs that never got cleaned up. I'll fix this

i have addressed this now in https://github.com/buildtesters/buildtest/pull/949


⚠ Bofrost.fr has degraded performance

In b0045dc, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1033 ms

Resolved: Bofrost.fr performance has improved in c9e0305 after 6 minutes.


Replacement tokens don't work with UWP projects

The nuget client silently ignores exceptions, which makes this very hard to diagnosis. Until that is fixed, it would be very helpful to have this documented.
See source code comments here: https://github.com/Nuget/NuGet.Client/blob/dev/src/NuGet.Clients/NuGet.CommandLine/Commands/ProjectFactory.cs#L746

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

ID: 06a19d7d-253d-f17f-6421-624c9867473d
Version Independent ID: cc37eb17-f715-080c-7bfc-9eae868d50ba
Content: .nuspec File Reference for NuGet
Content Source: docs/reference/nuspec.md
Product: nuget
GitHub Login: @karann-msft
Microsoft Alias: karann

To clarify, replacement tokens based on AssemblyInfo don't work. $id$ and $configuration$ still work.


Fixing issue147

Add an event on BTN2 to open launcher when no clock detected
See #147 .

Sorry , i did something wrong with my branch... I'll clean that and redo my PR


Feature request: TRPC middleware

I've hacked together a TRPC middleware for my v1 integration, but it seems to be broken with v2. Still debugging the issue, but would love to have an officially managed middleware I can use on specific TRPC endpoints.

I think there was a community trpc adapter, but now I can't find it anymore
I'll ask around

If it helps anyone, I made a gist with a working trpc middleware for QStash https://gist.github.com/johnoppenheimer/adc409f5a7aec65c4a14085a6b583038
I took inspiration from the nextjs handler and just made it more TRPC.
The main thing is the body, TRPC expect the input of a mutation using POST to be inside a json attribute, so just shove the rawBody coming from the middleware options to inside it and it works.
Open to make a PR if that's helpful!


Did you encounter this issue?

Hey,
I am also writing a docker-java-api.
I make an HTTP call over the unix socket, get the 200 OK response with the expected content, but also a second response which is 400 BAD REQUEST with no body. More details here.
Did you have this issue? Any hint would be greatly appreciated.

This wasn't something we hit, but we also use another ruby gem for our HTTP requests that made treating Unix socket vs TCP socket simple.

@tlunter I see. Thanks, anyway  :)


[FR] - Missing --tx-file feature in cardano-cli transaction assemble command

External
Area
Other   Any other topic (Delegation, Ranking, ...).
Describe the feature you'd like
So, before i do it with cardano-signer, i would like to suggest adding a
cardano-cli transaction assemble --tx-file ...

option into cardano-cli. Because currenty, we can only sign "pre-witnessed" tx-files via the
cardano-cli transaction sign --tx-file ...

command. But if you wanna work with witnesses for that step (like its supposed to work via cardano-hw-cli), this
feature is missing. Because the currently available command
cardano-cli transaction assemble --tx-body-file ...

strips the already present witnesses out of the tx-file (as the name suggested it only keeps the body).
Best regards,
Martin

Reopening... still needed

Reopening... still needed


Sweep: Clean up the RSBankHelper class

Details
The RSBankHelper class needs to be cleaned up.
File location: runelite-client/src/main/java/net/runelite/client/plugins/alfred/api/rs/bank/RSBankHelper.java

Sweep: Remove those comments you added and make the the actual functions cleaner. Also don't make those variables static.


[CR-59] Network Benchmark

In this commit, we

added a submodule netperf to run the throughput test, and output min/avg/max
and time series plot for throughput;
applied fix tcp socket buffer size and multi-stream for throughput test;
added logic to find the best number of streams;
extend the test to cross-region scenario.

TFTR!


Triangular angular - fix rise_time functions

@dsrim:  Here are some suggested fixes to include in https://github.com/clawpack/geoclaw/pull/320.
I made rise_time_starting the optional argument rather than rise_time_ending, and fixed the UCSB Fault code to work properly, I think.
The nose test tests/test_dtopotools.py now passes on my laptop, but I'm getting problems with other nose tests that I don't yet understand.
BTW, I see you merged this new code into your master branch and are doing the PR from there to clawpack's master.  The better way to it is to merge recent changes to master into your feature branch and not update your master until this gets merged into clawpack's master, so you stay up to date with that on your master branch.  So PR's would always come from a feature branch, not from a master branch.  This works too but could lead to confusion in your repository if other PR's update master before this one gets merged in.

@rjleveque Okay I'll do a PR from the feature branch from now on... should I do another PR from the feature branch then?

@dsrim No this is fine for now.
I'm still confused about why travis is failing and a different set of tests now fail on my laptop, neither having anything to do with the dtopotools changes.  I'll keep working on it...


Complete site

Full project for JavaScript to do list
view branch: https://luminous-mandazi-6facd5.netlify.app/

Screenshot and links to readme

Don't use innerHTML on user inputted data

@ikraamg I made the requested changes from the previous pr, let me know if anything else needs changing


Added websites -C  programming

added websites to learn C programming
Pull Request
added some useful websites to learn C programming
Description
added useful websites to learn C programming
Closes #
Type of change

[x] Adding a new Resource
[ ] Adding a new Category
[ ] Documentation enhancement or fixes
[ ] Website enhancement or fixes

Checklist:

[x] I read carefully CONTRIBUTING.md
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

Screenshots (if appropriate):
Please add screenshots to help explain your changes.
Additional

@jfmartinz could you please review it?


Feat Add async vectorize

Unfortunately this doesn't work for Safari or Firefox, which is sort of a big deal. Is there something else we can use?

Unfortunately this doesn't work for Safari or Firefox, which is sort of a big deal. Is there something else we can use?

Fire fox gonna support it in the coming version.
This feature has been supported by Chrome 3yrs ago. I thought it will be commonly supported now...
Okay, I am gonna add a fallback that use the previous rendering pipeline.

@moromis - Have to revert back and add my implementation here.
Somehow, ur implementation breaks the rendering behavior for a sync-label generation.
Just let me know if there is anything I need to take care of.
The placeholder turns out to be a little tricky.
I will post an issue about it later.


feat(get_transaction_count): add

Time spent on this PR:
1 day

Closes #101
Pull Request type

Please check the type of change your PR introduces:

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] Documentation content changes
[ ] Testing
[ ] Other (please describe):

What is the current behavior?

getTransactionCount is hardcoded to 3
Issue Number: N/A
What is the new behavior?

Does this introduce a breaking change?

[ ] Yes
[ ] No

Other information

get_transaction_count

oh yeah ofc! let me try

Can you also add a test in rpc/tests/rpc.rs ?

hey @greged93 do you have any idea on how to inject some values / mock some object? the thing is, I always got  "Kakarot Core: Light Client Request Error: Contract not found" (expected) when testing. the other option is to run starknet devnet, and run the test, since the devnet already have some contracts

Hey @internnos, in rpc/tests/rpc.rs we are testing using the wiremock crate. Wiremock allows you to mimic a HTTP server. You can define the expected requests and responses in core/src/utils/wiremock_utils.rs. You should:

Define a test for get_transaction_count in rpc/tests/rpc.rs.
Define the expected request and response in core/src/utils/wiremock_utils.rs for testing get_transaction_count and mount it on the MockServer in setup_wiremock.

Let me know if you have more questions

Hey @internnos, in rpc/tests/rpc.rs we are testing using the wiremock crate. Wiremock allows you to mimic a HTTP server. You can define the expected requests and responses in core/src/utils/wiremock_utils.rs. You should:

Define a test for get_transaction_count in rpc/tests/rpc.rs.
Define the expected request and response in core/src/utils/wiremock_utils.rs for testing get_transaction_count and mount it on the MockServer in setup_wiremock.

Let me know if you have more questions

hey @greged93, gotcha, will do it! thanks for the help!

hi @greged93 i have a question
the thing is, the method i'd like to mock is called compute_starknet_address and its not a http request.
after i can compute the starknet address, then i'll call the starknet_getNonce endpoint(mocked using your suggestion)

compute_starknet_address is an entrypoint of the kakarot contract. In order to mock a call to a starknet contract, you can have a look at what was done for mock_get_evm_address in the wiremock. This should help you in order to implement mock_compute_starknet_address.

compute_starknet_address is an entrypoint of the kakarot contract. In order to mock a call to a starknet contract, you can have a look at what was done for mock_get_evm_address in the wiremock. This should help you in order to implement mock_compute_starknet_address.

ahh gotcha! thanks!

hi:), what is the status on this?

@bajpai244 will now take this issue

Yes, I have made a new issue #135 for this as well!

Closing, as we are in refactor cycle and PR has gone stale


ZEPPELIN-204 make scala code completion work again

What is this PR for?
Spark Scala interpreter didn't show any useful completion proposals (besides some keywords)
What type of PR is it?
Bug Fix
Todos
What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-204
How should this be tested?
Open a note with spark interpreter. Write some (multiline) code. Open code completion with ctrl-.
There are also some additional unit tests...
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

Tested manually and it works well.
@pellmont could you setup CI and see all tests become green?
Looks like travis-ci is not configured for your fork.
Please setup by swich on 'zeppelin' repository at https://travis-ci.org/profile and travis-ci.
And then make sure 'Build branch updates' option is enabled in the settings https://travis-ci.org/pellmont/zeppelin/settings.

Hey guys
I finally found why some integration tests fail!
In scala 2.11.8 the REPL had been improved a lot. So the tests work well with either scala 2.10 (with SparkJLineCompletion) or scala >=2.11.8 (with cala.tools.nsc.interpreter.JLineCompletion).
I'll investigate further to see whether I find a solution for scala 2.11 <=2.11.7.
Otherwise I'll disable the (extended) tests for the scala versions below 2.11.8 (via Assume)

finally a green build :-)

@pellmont Cool!
LGTM and merge to master if no further comment.

do I have to do something else before it can be merged? or just wait?

we are just wrapping up, shouldn't need anything at this point.


Any further plans on knowledge distillation?

ViT-22B conducted knowledge distillation experiments (refer to Table 8), demonstrating that it is not only a large-scale model but also an excellent teacher. Has there been any consideration or experiments conducted on whether Intern-VL can be distilled into smaller models, given that it serves as the largest open-source vision/vision-language foundation model to date (and a good alternative to the ViT-22B)? Thank you in advance for your attention.

Hello, thank you for your question. We have considered distilling InternVL into smaller models. In the future, we plan to conduct relevant distillation experiments to explore its potential as a teacher for smaller models.

Sounds promising. Hoping to see the potential of this vision-language model being applicable in many more situations.


[ADD] Tata Women of Mettle 2023

Event Name
Women of Mettle 2023
Short Description of the Event ( 20 words )
Women Of Mettle is among the various campus connect programs introduced by Tata Steel that are aimed at encouraging bright young minds in engineering and management institutes to hone their intellect in areas such as research & development, operational excellence, business strategy, and management, etc. The idea is to foster a collaborative environment among students, academia, and the corporate sector and provide unique and aspiring career opportunities to the young talent of India.
Event Date and Time
01/07/2023
Event Page Link
https://xathon.mettl.com/event/women-of-mettle-2023
Themes
WEB DEVELOPMENT,HACKATHON
Facebook
No response
Github
No response
Instagram
No response
LinkedIn
No response
Twitter
No response
Discord
No response
Other Link
No response

@VC6378 thanks for creating the issue and do you want contribute to vibey through this issue?

@Deepu178  Yes sir

@VC6378 I have assigned the issue under GSSoC  and enjoy working on this issue. 🚀


gherkin-js: Reverse GherkinDocument back to Feature

Summary

Hi there, I am using the gherkin library to parse a .feature file into a GherkinDocument.
const Gherkin = require('gherkin');
const parser = new Gherkin.Parser();
var gherkinDocument = parser.parse(feature);

I was wondering if there is a way to go back from a GherkinDocument object to a .feature string?
Expected Behavior

Something like:
var feature = parser.getFeature(GherkinDocument);

Current Behavior

I did not find any methods like this in the code.
Context & Motivation

It would be super nice to handle a getFeature() method. It's easier to handle the json-formatted GherkinDocument than a pure string like a .feature file.
Thanks !

I'd like to know in what this context this would be useful, and how this would be better than just reading the source from disk.

Hi @aslakhellesoy ! Ok let me explain a bit more.
I am using
const Gherkin = require('gherkin');
const parser = new Gherkin.Parser();
var gherkinDocument = parser.parse(feature);

to parse a .feature file on server side and respond to my client application with a json-formatted GherkinDocument.
The client application can easily handle the Feature as a json object and manipulate the properties of the document (for display, editing, ...).
Now, let's say my application has an interface to add/remove tags of a given Scenario, and a button to export a .feature file back from the GherkinDocument.
It's easy to add the tag in the tags: [] property of the Scenario. However, I want to be able to format the GherkinDocument back to a .feature string so that the user is able to download a new .feature file.
I found https://www.npmjs.com/package/gherkin-assembler to fulfill my need but I have not tested it yet.

@mlapeyre3 is there anything missing from gherkin-assembler? If not I think we can close this issue.

HI @aslakhellesoy, sorry I did not follow-up my latest post.
https://www.npmjs.com/package/gherkin-assembler did the job so you can close this issue :)


Add repository to package.json

Adding the repository to package.json lets you navigate to it from the npmjs.com web app

Thanks, again!. I am going to merge this manually.


Create Sync-GcsBucket cmdlet with semantics like gsutil rsync

gsutil rsync synchronizes the contents of two buckets/directories. Essentially taking two object paths (source and dest) and then copies/deletes all objects under those paths until dest matches source.
Seems like a reasonable feature to add. Though not GA-blocking (hence the enhancement tag.)
See:
https://cloud.google.com/storage/docs/gsutil/commands/rsync
https://msdn.microsoft.com/en-us/library/system.management.automation.verbsdata.sync(v=vs.85).aspx

any updates on this? I agree, it is a very desirable feature to have.

@jquinter thanks for the request, we are looking into this.

Ping? Was this done?

@ivannaranjo This cmdlet is not created yet.


libcurl version conflict on Ubuntu 18.04 Bionic Beaver

Product and Version: Visual Studio Live Share Linux Dependency Installer
OS Version: Linux 18.04 Bionic Beaver
Live Share Extension Version: Any
Steps to Reproduce / Scenario:

Install Virtual Box or other software that has libcurl4 as dependency.
Use the Visual Studio Live Share Linux Dependency Installer script to install the required dependencies.

Using the dependency installer script mentioned above over Ubuntu 18.04 (and possibly, its derivatives), issues the installation of the libcurl3 library, triggering he uninstall of the libcurl4 library and the software that has it as dependency. Most notably, the Virtual Box software.

@Rojo Noticed this today myself. libcurl4 will work so we can adjust the script to install libcurl? which would use 4 if it was installed.

Fixed in https://github.com/MicrosoftDocs/live-share/pull/432


Add a fallback if string to URL conversion fails

Temporary solution for discussion at #1341
Fix crash https://forums.cocoaforge.com/viewtopic.php?f=18&t=27220#p140913
We use the old WebKit hack as a fallback for converting string to URL if
our simple attempt fails. Also sync cleanedUpURLFromString method with
stringByCleaningUpURLString.

Looks very reasonable at the first glance, please give me until tomorrow for review :)

@barijaona can you please make sure the tests pass?

@josh64x2 , I fixed your concerns in the PR to @barijaona s repo (https://github.com/barijaona/vienna-rss/pull/11) and also deduplicated the fallback. In my view, this PR is fine after these changes are merged.

@josh64x2 , I fixed your concerns in the PR to @barijaona s repo (https://github.com/barijaona/vienna-rss/pull/11) and also deduplicated the fallback. In my view, this PR is fine after these changes are merged.

OK thanks!


enh(query database): improve error handling (2)

Description
This is step 2 for https://github.com/dust-tt/dust/issues/3678.

some refactoring to avoid code that is too verbose (use thiserror to avoid re-implementing Display over and over + implement From<_> traits to avoid ad-hoc mapping of errors)
finish to bubble up type errors all the way through block.execute, so the frontend can receive a proper error_code but without sacrificing error context within core

Risk
none
Deploy Plan

@philipperolet @flvndvd PMRW


Setup.hs, main files?

Maybe offer ability to generate setup.hs for simple build?
Similarly, I often write boilerplate main files that consist of importing another module where main is defined, simply so I can have main.hs in its own hs-source-dir. Might be able to generate that.

Regarding Setup.hs, I have being thinking for that myself for a while already but didn't come to a conclusion yet.  We could generate one, if both

neither Setup.hs nor Setup.lhs is present
the build type is not custom

@kanishka-azimi regarding generating a main module, are you aware that you can specify e.g.:
executables:
  foo:
    main: Some.Module.someFunction

as main?
This will pass -main-is Some.Module.fooTest to GHC.  When GHC sees a -main-is directive, it generates a suitable Main.hs transparently.
Does this do what you want?
However, GHC's -main-is has one limitation, it only works if the specified module is part of the current compilation unit.  To lift this restriction hpack would indeed need to generate that Main.hs itself.

This will pass -main-is Some.Module.fooTest to GHC. When GHC sees a -main-is directive, it generates a suitable Main.hs transparently.

I am not sure if this is new information or something I already use. I will experiment and review as time allows. I generally create a separate main module in its own directory, to avoid the double compilation issues (that may or may not be still present)

I created a feature request for GHC: https://ghc.haskell.org/trac/ghc/ticket/13801


OS X CI Testing

No testing is done on OS X. It's likely that rakudoc works there, but not known.
Need to set up Travis or similar to ensure OS X is supported.

I'm using it on my m2 mac, so it is expected to work; still need CI testing

I am working form  Macbook Pro M2 chip. The rakudo installation worked well, but the setup to get there was much harder. Please update the README with more detail on how to do an initial setup.

Download source docs from: https://github.com/Raku/rakudoc
Either

rakudoc --doc-sources=/repo/path/doc/doc --build-index

echo export RAKUDOC=/repo/path/doc/doc --build-index

In zsh, for convenience, in anticipation of multiple doc locations as the current README.md suggests, I put in my .zshrc
typeset -xT RAKUDOC rakudoc
export rakudoc=(
  /repo/path/doc/doc
)

this ties the scalar RAKUDOC to the array rakudoc. When the rakudoc array is populated as above, the scalar $RAKUDOC will be colon separated. Any PATH-like variable can apply that behavior.

It seems like that rakudoc itself could do these steps for you if it did not initially find an index in the default locations.

Aside from that, when I did the previous step and ran: rakudoc IO::Path it did indeed produce a the documentation. That confirms the index build and the Pathing, etc.
If you would like  me to apply a recipe or a set of predefined commands, I would be happy to do and report back the results.

See also #30 -

@coke Great minds think alike. :)


Update to VS2017

Similar to IronLanguages/ironpython3#323

Some stuff I noted while working on this (maybe file issues):

The app.config files aren't getting deployed. In any case they are out of date (version numbers and keys).
We used to have two signing keys, one for release and one for debug, this appears to no longer be the case. I'm fine with this however it makes it harder to differentiate between a release and a debug DLL. Is there some other identifier?
The staging/packaging is probably broken (or will be with this PR).

Yes, I've been waiting for something like this before updating the packaging stuff.

@slide Any idea for the Travis failures? I'm not sure if it's the project reorg or the DLR update which is causing them.

Close and reopen to test.

Close and reopen to test.


As a user, I would like to see a splash screen when I open the app.

I've noticed that since the login screen is the default route, you briefly see the login screen when opening the app even if you're logged in. Making a splash screen the default route and redirecting to either login or profile would be awesome


Passed shared file folder to ClearML NMT job

This change is

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

Comparison is base (d941cd2) 66.11% compared to head (89c2786) 66.11%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #157   +/-   ##
=======================================
  Coverage   66.11%   66.11%
=======================================
  Files         428      428
  Lines       33489    33493    +4
  Branches     4498     4498
=======================================
+ Hits        22141    22145    +4
  Misses      10264    10264
  Partials     1084     1084

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

Where is the issue that documents the bug/enhancement?

This resolves this: https://github.com/sillsdev/machine.py/issues/94


Backend paging

Fixes #548
Backend part of #524

[x] Add pagination-related request types
[x] Update parsers to contain pagination data
[x] Update tests for parsers
[x] Add pagination-related response types
[x] Update routes to use pagination
[x] Update tests for routes
[x] Add authentication to filter request parsers

The backend crashes upon running.

@Mouwrice can you perhaps give me some more info about the crash?

The backend crashes upon running.

@Mouwrice can you perhaps give me some more info about the crash?

This was fixed by making types more uniform in PR #573
But there still are some issues as you can see in the tests.

@Mouwrice the errors should've been fixed. Can you confirm?

@Mouwrice the errors should've been fixed. Can you confirm?

Yessir!


[TreeView] parent/child selectionBehavior

Provide a general summary of the feature here
I'm having a hard time implementing parent/child selection behavior in a TreeView.  Specifically I'd like to be able to:

select a parent and all of its children by selecting the parent checkbox.
Unselecting a child while siblings are still selected switches the parent to indeterminate
Unselecting the last child unselects the parent
Should onSelectionChange include parent keys? In my case parents are basically just meant for grouping and in my external state I'm only interested in knowing which child items are selected.

🤔 Expected Behavior?
Support intuitive parent/child selection.
😯 Current Behavior
Parents and children feel unrelated
💁 Possible Solution
No response
🔦 Context
I'm building this sort of CheckboxTree, which I suspect is a pretty common usage of Tree.

💻 Examples
No response
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

We'll be most likely looking to add this behavior to our implementation of RSP TreeView (and by extension RAC Tree) since it is supported by Spectrum Design, but I'm unsure when that work will be slated to be picked up. As for the implementation, I imagine SelectionManager would need to be updated to have a mode where toggling the selection of a node that has children would also select the children. As for onSelectionChange including the parent keys I imagine we would still want to include them for use cases do care about parent key selection as well but maybe that could be changed via a option as well.


Improve the AudioStreamPlayer(2D/3D) class descriptions

This closes https://github.com/godotengine/godot/issues/48387.

Thanks!

Cherry-picked for 3.4.

Cherry-picked for 3.3.1.


IRLZ34N

Hello,
Could someone please help me what is IRLZ34N in the schematic. I would like to properly wire up my Raspberry Pi.
Thank you!

IRLZ34N is a kind of MOSFET


Allow connection to GitHub Enterprise

The task cci service connect github does not allow a user to enter their GitHub enterprise server's address

This is also an issue for us. Any workaround?

I work in SF and would like to see this implemented. :/

I see a feature for this was built then closed. Does this mean this will not be supported? I am also a SF employee, and our team would really like to use cumulusci, but we can't without the ability to tie it to our github enterprise server.

@LoneWolfPR We still intend to add support for this but I am not certain of timeframe.

@davisagli I realize this was last commented on in July 2020, but are there plans to support GitHub Enterprise with CumulusCI? It's a much needed part of our enterprise workflow.

@mpeddycord We'd like to at some point, but it is not currently a priority in our roadmap.

The lack of this feature is making Cumulus un-usable in Enterprise projects. Are there any workarounds?

Tracking as W-11279304


minitrace-opentelemetry doesn't work with opentelemetry_zipkin exporter

Seems like using opentelemetry_otlp works great (https://github.com/tikv/minitrace-rust/tree/master/minitrace-opentelemetry), but when an exporter from opentelemetry_zipkin (https://crates.io/crates/opentelemetry-zipkin) is in use, seems like the global collector expects a tokio runtime to be available, and fails with:
thread 'minitrace-global-collector' panicked at /rustc/82e1608dfa6e0b5569232559e3d385fea5a93112/library/core/src/ops/function.rs:250:5:
there is no reactor running, must be called from the context of a Tokio 1.x runtime

This is how I configured the reporter and exporter:
let exporter = opentelemetry_zipkin::new_pipeline()
          .with_service_name(service_name)
          .with_collector_endpoint(endpoint)
          .init_exporter()?;

let reporter = OpenTelemetryReporter::new(exporter,  SpanKind::Server, resource, lib);

I assume it might be related to the fact that

Do you have a tokio runtime initialized when creating the zipkin reporter?

opentelemetry community is sort of mess at this moment... while opentelemetry_jaeger must be used in a environment without tokio, opentelemetry_zipkin requires the opposite.. But anyway I do have workaround: make a Reporter wrapper who ensure that a tokio runtimr exists and call inner reporter afterwards.

Do you have a tokio runtime initialized when creating the zipkin reporter?

I am using actix as web server, and it's a wrapper around tokio, so yeah I do have one.

opentelemetry community is sort of messy at this moment... while opentelemetry_jaeger must be used in a environment without tokio, opentelemetry_zipkin requires the opposite.. But anyway I do have workaround: make a Reporter wrapper who ensure that a tokio runtimr exists and call inner reporter afterwards.

I agree it's kinda it's in a mess, but the recent changes of providing the Runtime to each SpanProcessor kinda makes sense (also related: https://github.com/tikv/minitrace-rust/issues/179#issuecomment-1905444050).
I can create a processor that uses async runtime, or not.
I prefer the Reporter trait and it's simplicity, and it might be easier to implement a "native" minitrace exporter for Zipkin, instead of using the opentelemetry_rust one.


Add command duration to the powerline theme family

Add a command duration segment to be used in the powerline-* themes.
Description
The command duration implementation already exists, and it is used in the BarbUk theme.
I just added it to the powerline-base theme, which makes it available for the entire powerline family of themes (ex: powerline, powerline-multiline).
Note that in order for the duration to be computed and displayed, it has to be configured as described in the docs. The minimum configuration is:
export BASH_IT_COMMAND_DURATION=true

Motivation and Context
The duration of the last command can be very useful information. It was not available to the powerline themes, so I added it.
How Has This Been Tested?
As my changes are mostly cosmetic, I tested them by opening a terminal and checking that the duration prompt segment appears when it makes sense (when properly configured and last command ran for >= 1s).
I made sure to follow the linting standards and also ran the unit tests.
Screenshots (if appropriate):

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[x] If my change requires a change to the documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] If I have added a new file, I also added it to clean_files.txt and formatted it using lint_clean_files.sh.
[ ] I have added tests to cover my changes, and all the new and existing tests pass.

Also: I was worried about having this segment present by default, but it appears the user has to also configure an environment variable for it to actually show ....

Thank you for your comments, @davidpfarrell!
I'll address them one by one.
Concerning the question above, yes, I can remove it from the default prompts.

@davidpfarrell All comments have been addressed. Good catches! :+1:


public IvS data?

Thank you for your codes! Can you please share public IvS dataset? I couldn't find it.

Link : Public IVS dataset


Update default formatter documentation

I was receiving an AttributeError when trying to set output_format on a hug API directly as it states in the documentation. It seems I needed to specify an interface before setting the formatter. I think the documentation needs to be updated to reflect this.

Coverage remained the same at 100.0% when pulling 68111f0db56b085c0bb270cc717cd5e94a84cd38 on benjaminjosephw:patch-1 into b1b2a3db2bc2e764e895dacf1c44ed1e674c7270 on timothycrosley:develop.

This is correct! Thanks for identifying this error and correcting
~Timothy


Vertical Rhythm

Description
Vertical Rhythm is necessary part to provide order to layout. In your documentation I could not find anything mentioning this design concept. Request: please add something about vertical rhythm and maybe tools to check it on the page.
Why do you need this feature or component?
It makes the page and typography feel consistent and visually pleasant (from this article).
Additional context
This is an interesting tool to check vertical rhythm: https://basehold.it/
Peace,
VM

@vladimircores, thanks for the recommendation. The typography components already are designed to work with specific spacing (vertically and horizontally). They are not specifically designed to use the vertical rhythm mentioned in the article and there aren't plans to work towards that currently. For more details, take a look at the design language usage guidelines for typography.


Skip AAD internal filter when is already authenticated or token not issued by AAD

To apply the new feature from azure-spring-boot:
summary
When AADAuthenticationFilter or AADAppRoleStatelessAuthenticationFilter is auto-configured it will take action on every bearer token. This PR will skip the processing when the current context is already authenticated or the token is not issued by Azure AD.
Starter Names

active directory spring boot starter

Can one of the admins verify this patch?


Failed distributed query with complex arrayJoin() expression

Easiest way to reproduce:
select arrayJoin(arrayFilter(x->length(x) in (select number from system.numbers limit 5), attribute.names)) from remote('host1,host2', system.dictionaries);

SELECT arrayJoin(arrayFilter(x -> (length(x) IN
    (
        SELECT number
        FROM system.numbers
        LIMIT 5
    )), attribute.names))
FROM remote('host1,host2', system.dictionaries)

Received exception from server (version 18.6.54401):
Code: 10. DB::Exception: Received from chdw1-1.sqc04:9000, <IP_ADDRESS>. DB::Exception: Not found column arrayJoin(arrayFilter(lambda(tuple(x), in(length(x), _subquery1)), attribute.names)) in block. There are only columns: name, origin, type, key, attribute.types, bytes_allocated, query_count, hit_rate, element_count, load_factor, creation_time, source, last_exception, arrayJoin(arrayFilter(lambda(tuple(x), in(length(x), _subquery1__subquery_16466317254568153445_12029335626405941901)), attribute.names)).

Note, it can not match essentially identical columns:
arrayJoin(arrayFilter(lambda(tuple(x), in(length(x), _subquery1)), attribute.names))
arrayJoin(arrayFilter(lambda(tuple(x), in(length(x), _subquery1__subquery_16466317254568153445_12029335626405941901)), attribute.names))
Error is reproducible on any array in the distributed query.
Error is reproducible in 1.1.54394 and 18.1. I am not sure about 18.6 and above -- we do not have a homogeneous cluster to test.
There is no error in 1.1.54385.

The issue is present in 18.10.3
:) SELECT arrayFilter(x -> x IN (select 42), [42]) from remote('localhost,chdw1-1.sde317', system.one)

SELECT arrayFilter(x -> (x IN
    (
        SELECT 42
    )), [42])
FROM remote('localhost,some_other_host', system.one)

┌─arrayFilter(lambda(tuple(x), in(x, _subquery1)), [42])─┐
│ [42]                                                   │
└────────────────────────────────────────────────────────┘
Received exception from server (version 18.10.3):
Code: 10. DB::Exception: Received from localhost:9000, ::1. DB::Exception: Not found column arrayFilter(lambda(tuple(x), in(x, _subquery1)), [42]) in block. There are only columns: dummy, arrayFilter(lambda(tuple(x), in(x, _subquery1__subquery_3113076859249138518_4974159629285336334)), [42]).

1 rows in set. Elapsed: 0.050 sec.

SELECT
    user_id,
    if(user_id NOT IN
    (
        SELECT user_id
        FROM events.finance
        WHERE project_id = 282
        GROUP BY user_id
    ), 'yes', 'no') AS project282
FROM events.login
LIMIT 100

2018.08.21 15:53:49.196117 [ 79 ] <Error> executeQuery: Code: 10, e.displayText() = DB::Exception: Not found column if(notIn(user_id, _subquery1), 'yes', 'no') in block. There are only columns: user_id, if(notIn(user_id, _subquery1__subquery_2798086608428224864_7530129903691534915), 'yes', 'no'), e.what() = DB::Exception (from <IP_ADDRESS>:38180) (in query: SELECT user_id, if( user_id not in (SELECT user_id FROM events.finance WHERE project_id = 282 GROUP BY user_id), 'yes', 'no') as project282 FROM events.login LIMIT 100), Stack trace:

0. clickhouse-server(StackTrace::StackTrace()+0x16) [0x4b84796]
1. clickhouse-server(DB::Exception::Exception(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)+0x1f) [0x266aeef]
2. clickhouse-server(DB::Block::getByName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const+0x17f) [0x3cd601f]
3. clickhouse-server(DB::RemoteBlockInputStream::readImpl()+0x3ee) [0x3cf867e]
4. clickhouse-server(DB::IProfilingBlockInputStream::read()+0x20f) [0x3ce8bff]
5. clickhouse-server(DB::LimitBlockInputStream::readImpl()+0x36a) [0x3ce9c0a]
6. clickhouse-server(DB::IProfilingBlockInputStream::read()+0x20f) [0x3ce8bff]
7. clickhouse-server(DB::ParallelInputsProcessor<DB::UnionBlockInputStream<(DB::StreamUnionMode)0>::Handler, (DB::StreamUnionMode)0>::loop(unsigned long)+0xf3) [0x43cf9a3]
8. clickhouse-server(DB::ParallelInputsProcessor<DB::UnionBlockInputStream<(DB::StreamUnionMode)0>::Handler, (DB::StreamUnionMode)0>::thread(MemoryTracker*, unsigned long)+0x1f0) [0x43d0250]
9. clickhouse-server() [0x5290a7f]
10. /lib64/libpthread.so.0(+0x7e25) [0x7f5898ec6e25]
11. /lib64/libc.so.6(clone+0x6d) [0x7f58984cdbad]

is this the same error? version 18.10.6

Looks fixed in 18.12.13
https://github.com/yandex/ClickHouse/pull/3087


Use unique container names for tests TestSetBlobTagsWithLeaseId

There are two tests with the same name and depending on timing, the container might not have finished being deleted.  Use unique names to avoid the race.
Cleaned up linter warnings for error strings.

[ ] The purpose of this PR is explained in this or a referenced issue.
[ ] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[ ] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included.
[ ] MIT license headers are included in each file.

/azp run go - azblob


setting for IE 11

I am using react-html5video.
Using webpack+babel, I can compile and use it with chrome and safari without problem.
But for IE 11, I got object.assign error.
To avoid above error, I added https://github.com/es-shims/es6-shim/ which is not necessary for other browsers.
Could you give me an advice?
If you also provide es5 version, I will appreciate it.
I attached my webpack.config.js
/* global __dirname */

var path = require('path');
var webpack = require('webpack');

var CopyWebpackPlugin = require('copy-webpack-plugin');

var dir_js = path.resolve(__dirname, 'js');
var dir_html = path.resolve(__dirname, 'html');
var dir_build = path.resolve(__dirname, 'build');
var dir_dist = path.resolve(__dirname, 'dist');

module.exports = {
    entry: path.resolve(dir_js, '10.js'),
    output: {
        path: dir_dist,
        filename: 'bundle.js'
    },
    module: {
        loaders: [
            {
                loader: 'babel-loader',
                test: /\.js$/,
                query: {
                    presets: ['es2015', 'react',"stage-0"],
                },
            },
        ]
    },
    plugins: [
        new CopyWebpackPlugin([
            { from: dir_html } // to: output.path
        ]),
        new webpack.NoErrorsPlugin(),
        new webpack.optimize.UglifyJsPlugin({
            compress:{
                warnings: true
            }
        }),
    ],
    stats: {
        // Nice colored output
        colors: true
    },
};

Ah, I will have to update the UMD build to use http://babeljs.io/docs/plugins/transform-object-assign/.
In the mean time you could use that in your Webpack config instead of using the polyfill. I'm pretty sure that Object.assign is the only think that needs transforming.
Let me know if that works and I will try solve this over the weekend.

I just forked your repo and add
        loaders: [
            {
                test: /\.js$/,
                exclude: /node_modules/,
                loader: 'babel-loader',

                 query: {
                        presets: ['es2015', 'react','stage-0'],
                        plugins: ['transform-object-assign']
                },
            },

It works great!
Thank you very much for your suggestion.
Link

Excellent. I will take a look at this ASAP. Thanks!

Updated readme with information on using a polyfill or using of babel-runtime in order to ensure Object.assign and other ES6 features work. Deployed a new working UMD build with babel-runtime.
https://github.com/mderrick/react-html5video/commit/eaf26ab5f0f46caccd163193c9d28a428d06cd41


In the process of adding a variable length KeyValue, I encountered a problem with memory.

thanks !