Heavy CPU usage

Environment data

VS Code version: 1.25.1
Extension version (available under the Extensions sidebar): 2018.6.0
OS and version: MacOS High Sierra
Python version (& distribution if applicable, e.g. Anaconda): 3.6.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): Conda
Relevant/affected Python packages and their versions: Dash 0.21.1

Actual behavior
I am writing an app using Dash library. The extension would fire up a python process pretty frequently that is pretty CPU heavy. I am not sure what the process does, but I am suspecting that it is trying to do something that helps the autocompletion feature. Also, the autocomplete or suggestions are pretty slow. Anybody else with the same experience?

Thanks for the tip. I will try it out and let you know how it goes.

I am having this issue as well! Tested on code 1.25 and insiders 1.26 (2018-07-20). Python extension version 2018.7.0. I am using a python 3.6.5 venv via pyenv with yapf autoformatting. MacOS High Sierra 10.13.6.
Tested with "python.jediEnabled": false and not.

It seems to be tied to linting. When I save, CPU usage spikes and my pylint results take quite a while to appear. Once the linting results have appeared, CPU usage returns to normal. Interestingly, the CPU usage does not appear in Code's Process Explorer, but does appear in Activity Monitor.
CPU %	Memory (MB)	pid	Name
2	115	98038	code main
5	147	98104	     gpu-process
0	311	98110	     window (course.py — rudaux)
0	197	98113	         extensionHost
0	66	98363	             /Users/samhinshaw/.pyenv/versions/recent/bin/python completion.py
0	16	98406	                 python3.6 /Users/samhinshaw/.vscode/extensions/ms-python.python-2018.7.1/pythonFiles/jedi/evaluate/compiled/subprocess/__main__.py /Users/samhinshaw/.vscode/extensions/ms-python.python-2018.7.1/pythonFiles
0	16	99366	                 /Users/samhinshaw/.pyenv/versions/recent/bin/python /Users/samhinshaw/.vscode/extensions/ms-python.python-2018.7.1/pythonFiles/jedi/evaluate/compiled/subprocess/__main__.py /Users/samhinshaw/.vscode/extensions/ms-python.python-2018.7.1/pythonFiles
0	49	98114	         watcherService
0	49	98212	         searchService
0	131	98115	     shared-process
0	229	98751	     window (rudaux_config.py — DSCI_100_instructors)
0	147	98752	         extensionHost
0	16	99134	             python completion.py
0	16	99155	                 /Users/samhinshaw/.pyenv/versions/3.6.5/envs/recent/bin/python
/Users/samhinshaw/.vscode/extensions/ms-python.python-2018.7.1/pythonFiles/jedi/evaluate/compiled/subprocess/__main__.py /Users/samhinshaw/.vscode/extensions/ms-python.python-2018.7.1/pythonFiles
0	49	98753	         watcherService
0	49	98899	         searchService

More information in a gist

Same issues .
Code version: 1.25.1
vs-python :  2018.7.1
Cpu load is really huge when Jedi is doing some completion job and all operations become very slow.

@brettcannon Ubuntu 16.04
I think VS Code completion for large-scale external libs like wxpython , is  really slow , and much slower than Pycharm I have to say. Maybe Jedi should be the reason.

@anribras I'm sure Jedi is the reason, which is why we are asking folks to try the experimental language server to see how that performs for them.

@brettcannon I am using the experimental python server for about a week but still seeing the same high cpu usage.

@amirhosseindavoody do have any code you can share which exhibits the high CPU usage?

So what's interesting is that my project recently stopped exhibiting this behavior to such a degree. Usage will spike to ~99%, but only for about a second.
Unfortunately, I don't have to time to try to recreate a minimum viable example, but I can provide you with two files:

Exhibits the bug do a severe degree (an older version of the offending file, CPU Usage spikes for at least 10 seconds).
Does not exhibit the bug appreciably (the current version of the offending file, only spikes for ~1sec).

I understand if these are too verbose to be helpful, but maybe they will still provide some insight. I will try to revisit this if I can.

Occasional spike is normal, analysis runs several threads run when text buffer changes.

I think that it's related to pylint.


Pull request with type [CREATE] for user [Mhudson97] and object type [CMPivotQuery] - titled [Count of Installed Software Title]

Automated pull request from the Configuration Manager community hub.

You will need to click "Merge pull request", and shortly after your item will become live in the hub.


UIDVALIDITY probably should only be updated when (max) UID is changed for mailbox

I think? Need to double check. It may explain the jumpy list in thunderbird.

Turns out this can actually be stored until we wrap!

Alternatively we can also change it on recycle but since we dont recycle its fine?
This brings also up that we need to ensure that the SERIAL of postgres wraps to 0 or 1 and not to a negative number


Create the separate location in cocoon for the Revert bot

Create a new internal project for the revert bot.
Create the required build files, docker files etc... Use auto_submit as a reference.

Hey, is this good to close?

No this is in progress. I am keeping it open for now. It is created but it is not merged into our code.

This might be a duplicate. Link the other and close.

@ricardoamador can you please update and close if needed?

Still going to do this as I think we can split a couple more services like flakebot in order to streamline our services. Still on my radar this one.


[5.1] No of retries left functionality added to ThrottlesLogins

It is helpfull have like this function. see Issue.

Could you make this line shorted by assigning variables earlier within this method please.

I didn't understand.

@pavankumarkatakam Likie so:
$key = $request->input($this->loginUsername()).$request->ip();

$attempts = app(RateLimiter::class)->attempts($key);

return $this->maxLoginAttempts() - $attempts + 1;

StyleCI is so useful. :)


Float vs Double

I find that, when using Raylib-CS, I do a lot of casting between 32-bit float and 64-bit double.
In most applications on modern PCs, there's no reason to use 32-bit float instead of 64-bit double, since the execution time remains the same and you're only sacrificing precision. The big exception si if you need 32 bits for something, like some bit-shifting voodoo or micro-optimizations, but even then those aren't common or even good practice in .NET.
For Raylib itself, 32-bit float is great for cross-platform compatibility reasons, but for Raylib-CS would it be reasonable to substitute double for float in most cases, especially in Vector2 and Vector3?

I am not sure if changing them to double would cause issues with pinvoke functions converting between the types.  It might work as expected but you should test with some of the Vector2 and Vector3 pinvoke functions to be sure.

Alright. I'll give it a whack and see if it works.


Convert hero section styling to tailwind

Summary of Changes
This PR converts the styling of the hero section to Tailwind CSS.
Related Issue
#179 #177 #182
Checklist

[x] I have read and followed the project's contribution guidelines, including code style and commit message conventions.
[x] My code is well-documented, and I've updated relevant documentation.
[x] I have added or updated test cases to ensure the code's functionality.
[x] I have tested these changes on my local environment.
[x] All tests pass, and there are no new linting errors.
[x] I have reviewed and proofread my code and the changes.
[x] The branch is up-to-date with the base branch.

Reviewer(s)
@Abhijay007

Hey @Abhijay007 Can you check this out?

Hey @Abhijay007 Can you check this out?

sure

@Abhijay007 Seems like I forgot to check the mobile styling. I will do that today.

@Abhijay007 Seems like I forgot to check the mobile styling. I will do that today.

No problem, take your time 👍

@Abhijay007  Can you check it now?

Also, if we look closer: there are some resolution changes as well, can you please look into this as well?
current code :

your code :

same in docs section :
see styles for search button :

Hi @Abhijay007, sorry for the long leave. I was busy with my college work. I tried searching the classes which are controlling the layout padding and search button styles. But I didn't get them any place. I am not sure where Docusaurus keeps it. Do you have any clue?

Hi @Abhijay007, sorry for the long leave. I was busy with my college work. I tried searching the classes which are controlling the layout padding and search button styles. But I didn't get them any place. I am not sure where Docusaurus keeps it. Do you have any clue?

Hi @devilkiller-ag,  I believe you can likely find the styles for this in "node_modules@docusaurus\theme-classic" within the node_modules directory. However, I'd like to mention that changing these styles may not necessarily address the sorting issue we're currently facing.
I'm considering a different approach. Is it possible to let Docusaurus render the custom CSS from there, where it is currently rendering, while concurrently using Tailwind for the components without disrupting the styles? I believe this approach could help resolve these issues, allowing us to utilize Tailwind and custom CSS without overriding the styles for prebuilt components unless necessary.
I have previously shared examples from other projects, such as Medusa.js and Supabase, where they seem to be successfully using multiple CSS files concurrently:

Example from Medusa.js, an open-source project utilizing Tailwind in Docusaurus
Supabase, another popular OSS project using SCSS + Tailwind + Docusaurus

These examples seem to be employing a similar strategy, with multiple CSS files working concurrently. Therefore, I believe this could be a more effective approach to our situation, so can you please look into this?

Hey @Abhijay007, I got your point! I noticed that Medusa.js Docs is using three files for their styling:

_docusaurus.css: This CSS file includes tailwind styling definitions for classes defined by docusaurus
_variables.css: This stores the style variables
custom.css: for storing their custom styling for various components

They use this to define their custom CSS in docusaurus.config.js (as we do):
theme: {
     customCss: require.resolve("./src/css/custom.css"),
},

I think we should try overwriting the classes defined by docusaurus. However, I am not able to find how the connect  _docusaurus.css with the overall doc? Is the name  _docusaurus.css important to do this? I need to investigate a little more on this.

Hi @devilkiller-ag any update on this ?

Hi @Abhijay007, earlier I re-structured CSS like that done in Medusa and rectified many styling. However, to solve the search icon size and sidebar width, I messed up with many docusaurus classes and doc search inifima variables. I tried to search variables used for font size in node modules and the internet got no working way to change the font size of the text inside the search icons and sidebar width. Also in this process, I messed up with all the headers. 🥲 I tried to fix them today but failed. I will retry tomorrow.

Sorry for ghosting this issue, I will speed up the work now.

Hi @Abhijay007, earlier I re-structured CSS like that done in Medusa and rectified many styling. However, to solve the search icon size and sidebar width, I messed up with many docusaurus classes and doc search inifima variables. I tried to search variables used for font size in node modules and the internet got no working way to change the font size of the text inside the search icons and sidebar width. Also in this process, I messed up with all the headers. 🥲 I tried to fix them today but failed. I will retry tomorrow. Sorry for ghosting this issue, I will speed up the work now.

No problem, @devilkiller-ag. Take your time. Also, I just want to mention that you don't need to be concerned about changing or revamping the whole site with Tailwind or using ShadCN UI for now. We just want the "Components" to be converted, so it's fine if Docusaurus utilizes the pre-added custom CSS and we can use Tailwind or ShadCN UI for the components concurrently.
I think you might need to rethink the approach you are following now; it might not require that much digging in. Let me know if you need any assistance regarding this. Also, don't stress too much on this. If achievable, then only invest time in this; otherwise, we will figure out something else. However, I do think that implementing the UI library just for the components might not be that difficult. We just need to focus on changing the approach a bit.
I will try to look into this whenever I get some time. Till then, you can investigate further if it's feasible. Thanks for putting your time into this.

@devilkiller-ag are you still working on this PR ?


Pol 379

Description
[Describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves]
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] New functionality has been documented in CHANGELOG.MD

          7 Errors

:no_entry_sign:
Please add a CHANGELOG.md file

:no_entry_sign:
Please add labels to this Pull Request

:no_entry_sign:
aws/rs_aws_alb/README.md:117: MD001 Header levels should only increment by one level at a time
aws/rs_aws_alb/README.md:165: MD001 Header levels should only increment by one level at a time
aws/rs_aws_alb/README.md:198: MD001 Header levels should only increment by one level at a time
aws/rs_aws_alb/README.md:233: MD001 Header levels should only increment by one level at a time
aws/rs_aws_alb/README.md:41: MD006 Consider starting bulleted lists at the beginning of the line
aws/rs_aws_alb/README.md:207: MD006 Consider starting bulleted lists at the beginning of the line
aws/rs_aws_alb/README.md:242: MD006 Consider starting bulleted lists at the beginning of the line
aws/rs_aws_alb/README.md:25: MD007 Unordered list indentation
aws/rs_aws_alb/README.md:207: MD007 Unordered list indentation
aws/rs_aws_alb/README.md:256: MD010 Hard tabs
aws/rs_aws_alb/README.md:180: MD012 Multiple consecutive blank lines
aws/rs_aws_alb/README.md:220: MD012 Multiple consecutive blank lines
aws/rs_aws_alb/README.md:248: MD012 Multiple consecutive blank lines
aws/rs_aws_alb/README.md:3: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:6: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:18: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:21: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:30: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:40: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:46: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:93: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:94: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:127: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:140: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:173: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:181: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:206: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:221: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:241: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:249: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:254: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:257: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:260: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:264: MD022 Headers should be surrounded by blank lines
aws/rs_aws_alb/README.md:165: MD024 Multiple headers with the same content
aws/rs_aws_alb/README.md:173: MD024 Multiple headers with the same content
aws/rs_aws_alb/README.md:198: MD024 Multiple headers with the same content
aws/rs_aws_alb/README.md:206: MD024 Multiple headers with the same content
aws/rs_aws_alb/README.md:233: MD024 Multiple headers with the same content
aws/rs_aws_alb/README.md:241: MD024 Multiple headers with the same content
aws/rs_aws_alb/README.md:41: MD030 Spaces after list markers
aws/rs_aws_alb/README.md:42: MD030 Spaces after list markers
aws/rs_aws_alb/README.md:43: MD030 Spaces after list markers
aws/rs_aws_alb/README.md:44: MD030 Spaces after list markers
aws/rs_aws_alb/README.md:32: MD031 Fenced code blocks should be surrounded by blank lines
aws/rs_aws_alb/README.md:34: MD031 Fenced code blocks should be surrounded by blank lines
aws/rs_aws_alb/README.md:47: MD031 Fenced code blocks should be surrounded by blank lines
aws/rs_aws_alb/README.md:91: MD031 Fenced code blocks should be surrounded by blank lines
aws/rs_aws_alb/README.md:7: MD032 Lists should be surrounded by blank lines
aws/rs_aws_alb/README.md:22: MD032 Lists should be surrounded by blank lines
aws/rs_aws_alb/README.md:41: MD032 Lists should be surrounded by blank lines
aws/rs_aws_alb/README.md:128: MD032 Lists should be surrounded by blank lines
aws/rs_aws_alb/README.md:174: MD032 Lists should be surrounded by blank lines
aws/rs_aws_alb/README.md:207: MD032 Lists should be surrounded by blank lines
aws/rs_aws_alb/README.md:242: MD032 Lists should be surrounded by blank lines
aws/rs_aws_alb/README.md:250: MD032 Lists should be surrounded by blank lines
aws/rs_aws_alb/README.md:258: MD032 Lists should be surrounded by blank lines
aws/rs_aws_alb/README.md:153: MD034 Bare URL used
aws/rs_aws_alb/README.md:262: MD034 Bare URL used
aws/rs_aws_alb/README.md:19: MD036 Emphasis used instead of a header
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

:no_entry_sign:
File syntax check failed. aws/rs_aws_elb/elb_test_cat.rb.

:no_entry_sign:
File syntax check failed. azure/rs_azure_containerservices/containerservices_test_cat.rb.

:no_entry_sign:
File syntax check failed. azure/rs_azure_storage/storage_test_cat.rb.

:no_entry_sign:
File syntax check failed. libraries/plugin_generics.rb.

  Generated by :no_entry_sign: Danger

          2 Errors

:no_entry_sign:
CHANGELOG.md#L1 - Found 1 possible wrong charset “ascii”, expected “utf-8”.(editorconfig)

:no_entry_sign:
README.md#L1 - Found 1 possible wrong charset “ascii”, expected “utf-8”.(editorconfig)

  Generated by :no_entry_sign: Danger

          2 Errors

:no_entry_sign:
CHANGELOG.md#L1 - Found 1 possible wrong charset “ascii”, expected “utf-8”.(editorconfig)

:no_entry_sign:
README.md#L1 - Found 1 possible wrong charset “ascii”, expected “utf-8”.(editorconfig)

  Generated by :no_entry_sign: Danger

Danger has errored
[!] Invalid Dangerfile file: 784: unexpected token at ``
 #  from Dangerfile:89
 #  -------------------------------------------
 #  # Lint added and modified files only
 >  textlint.lint
 #  -------------------------------------------

  Generated by :no_entry_sign: Danger

          1 Error

:no_entry_sign:
File syntax check failed. libraries/plugin_generics.rb.

  Generated by :no_entry_sign: Danger

          2 Errors

:no_entry_sign:
Please add a CHANGELOG.md file

:no_entry_sign:
aws/rs_aws_alb/README.md:156: MD024 Multiple headers with the same content
aws/rs_aws_alb/README.md:181: MD024 Multiple headers with the same content
aws/rs_aws_alb/README.md:189: MD024 Multiple headers with the same content
aws/rs_aws_alb/README.md:199: MD024 Multiple headers with the same content
aws/rs_aws_alb/README.md:216: MD024 Multiple headers with the same content
aws/rs_aws_alb/README.md:224: MD024 Multiple headers with the same content
aws/rs_aws_alb/README.md:241: MD024 Multiple headers with the same content
aws/rs_aws_alb/README.md:253: MD024 Multiple headers with the same content
aws/rs_aws_alb/README.md:261: MD024 Multiple headers with the same content
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

  Generated by :no_entry_sign: Danger


Fix Property Upgrade codegen default values

Now we return default value instead of directly call .get() since property could be empty.
Fixes https://github.com/gradle/gradle/issues/25835

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test and merge


Secure communication between server and agent using mTLS

Description
Currently the communication between server and agent via gRPC is unencrypted. In order to provide authentication and encryption mTLS shall be used.
Goals

The mTLS encryption shall be optional (not required during development)
A script shall be provided to create CA and certificates
It shall be documented how to use the generated or existing certificate with Ankaios server and agent
Server and agent shall be extended use mTLS

Tasks

[ ] Check if existing gRPC crate supports mTLS
[ ] Extend server and agent
[ ] Provide scripts to generate CA and certs
[ ] Enhance documentation
[ ] Enhance SW design and requirement tracing

The project https://github.com/eclipse/kuksa.val also uses gRPC between client and databroker via TLS so maybe we can check that before.

As agreed, we first need a concept and we can discuss it together to decide how to proceed.

As proposed by @christoph-hamm, we can use certificates also for scoping (later if needed) the same way Kubernetes does (via the organization and organizational unit fields).
I looked a bit into what tonic supports. There is an example on how to setup mTLS here: https://github.com/hyperium/tonic/tree/master/examples/src/tls_client_auth
and it looks quite straight forward. (I'll also add the link to the description.)
Just a couple of hints:

From what I see tonic does not support multiple client CAs in parallel (not that we need that).
Tonic also does not support crl (revocation lists), but we don't need this either.

Also also should check the permissions of the pem and key files read by server and agent and reject starting if the files are readable by group and others.

The PR with the implementation has been reviewed and merged into main.


where is the backward() function

Hi josue:
where is the backward() function in your class? Is there an automatically backward() function ,or we need to write it by ourself ?

Hi,
The backward function is automatically computed by autograd. To use it you  would do like with any other tensor.
First you have to compute a loss and then call backward from the loss like:
import torch
from convNd import convNd

device = "cpu"

# define basic layer info
inChans = 2
outChans = 4
weight = torch.rand(1)[0]
bias = torch.rand(1)[0]

# create input tensor
x = torch.rand(1, inChans, 5, 5, 5, 5, 5).to(device)
conv5d = convNd(
    in_channels=inChans,
    out_channels=outChans,
    num_dims=5,
    kernel_size=3,
    stride=(2,1,1,1,1),
    padding=0,
    padding_mode='zeros',
    output_padding=0,
    is_transposed=False,
    use_bias=True,
    groups=2,
    kernel_initializer=lambda x: torch.nn.init.constant_(x, weight),
    bias_initializer=lambda x: torch.nn.init.constant_(x, bias)).to(device)
# apply conv5d
xConv = conv5d(x)

# Compute a loss
lossF = xConv.mean()
# Call backward on that loss
lossF.backward()
# check gradients of conv weights
print(conv5d.conv_layers[0].conv_layers[0].weight.grad.sum())

As this is a 5D conv, Note how on the final line conv5d.conv_layers[0] access the first 4D conv and  conv5d.conv_layers[0].conv_layers[0] the first 3D convolution, where the actual Pytorch torch.conv3d is used and the weights are stored.

got it,  thank you !

Hi josue:
I want to realize a 6D-conv-layer. Then I try this:
`trainset_dataloader = DataLoader(dataset=train_dataset,
batch_size=8,
shuffle=True,
num_workers=4)
import torch
from pytorch_convNd.convNd import convNd
for epoch in range(1):
for i, traindata in enumerate(trainset_dataloader):
trian_image, train_label = traindata
trian_image_unsque = trian_image.unsqueeze(0)
print(trian_image_unsque.shape)
device = "cpu"
# define basic layer info
inChans = 8 # is this equal to batch_size ?
outChans = 4
weight = (torch.rand(1)[0])
bias = (torch.rand(1)[0])
# create input tensor
x = torch.rand(1, inChans, 5, 5, 5, 5, 5).to(device)
    x = trian_image_unsque.to(device)
    conv6d = convNd(
        in_channels=inChans,
        out_channels=outChans,
        num_dims=6,
        kernel_size=3,
        stride=(1,1,1,1,1,1),
        padding=0,
        padding_mode='zeros',
        output_padding=0,
        is_transposed=False,
        use_bias=True,
        groups=2,
        kernel_initializer=lambda x: torch.nn.init.constant_(x, weight),
        bias_initializer=lambda x: torch.nn.init.constant_(x, bias)).to(device)
    # apply conv6d
    xConv6d = conv6d(x)
    # Compute a loss
    lossF = xConv6d.mean()
    # Call backward on that loss
    lossF.backward()

    if i==0:
        break`

First, a single data's shape is 3X3X3X3X3X3,and I regard it as an 6-dimension data. Second, I set batch_size 8, so I got an 8X3X3X3X3X3X3 tensor from DataLoader. Third, I used trian_image_unsque = trian_image.unsqueeze(0)  ,then got an 1X8X3X3X3X3X3X3 tensor,which was feed into 6DConv .
Am I right ?
In your 5D demo, is the "inChans"  has same meaning with "batch_size" ?
And the first parameter  "1" , which is before "inChans", is an adapting dimension for training ? ( x = torch.rand(1, inChans, 5, 5, 5, 5, 5).to(device))

Actually in Pytorch the convention is that the first dimension is the batch, second the channels then the spatial dimensions. [batch,channel,dim1,dim2,...,dimN]
So when you have this tensor 1x8x3x3x3x3x3x3 you actually have batch 1, and 8 channels.
Instead of trian_image_unsque = trian_image.unsqueeze(0) try trian_image_unsque = trian_image.unsqueeze(1) to insert a single channel there.

wow, thank you very much  !


Issues using Microsoft.EntityFrameworkCore.Tools 1.0.0-preview3-final

Following this guide but changing version on package Microsoft.EntityFrameworkCore.Tools to the preview3 when executes "dotnet ef" after "dotnet restore" fires up this error: No executable found matching command "dotnet-ef". And when I rollback to the preview2 but along with the package Microsoft.EntityFrameworkCore.Design on version 1.1.0-preview1-final gave another error dotnet quit unexpectedly (on window alert) and message error on terminal says: Unhandled Exception: System.MissingMethodException: Entry point not found in assembly 'Microsoft.EntityFrameworkCore.Design, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
this occurs on "dotnet ef" after "dotnet restore"...
All this with Visual Studio Code on macOS Sierra
BTW  this is my project.json that works well on dotnet ef execution and this is for a web api project
{
  "dependencies": {
    "Microsoft.NETCore.App": {
      "version": "1.0.1",
      "type": "platform"
    },
    "Npgsql.EntityFrameworkCore.PostgreSQL": "1.0.2",
    "Microsoft.EntityFrameworkCore.Design": {
      "version": "1.0.0-preview2-final",
      "type": "build"
    },
    "Microsoft.AspNetCore.Mvc": "1.0.1",
    "Microsoft.AspNetCore.Routing": "1.0.1",
    "Microsoft.AspNetCore.Server.IISIntegration": "1.0.0",
    "Microsoft.AspNetCore.Server.Kestrel": "1.0.1",
    "Microsoft.Extensions.Configuration.EnvironmentVariables": "1.0.0",
    "Microsoft.Extensions.Configuration.FileExtensions": "1.0.0",
    "Microsoft.Extensions.Configuration.Json": "1.0.0",
    "Microsoft.Extensions.Configuration.CommandLine": "1.0.0",
    "Microsoft.Extensions.Logging": "1.0.0",
    "Microsoft.Extensions.Logging.Console": "1.0.0",
    "Microsoft.Extensions.Logging.Debug": "1.0.0",
    "Microsoft.Extensions.Options.ConfigurationExtensions": "1.0.0"
  },

  "tools": {
    "Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.0.0-preview2-final",
    "Microsoft.EntityFrameworkCore.Tools": "1.0.0-preview2-final"
  },

  "frameworks": {
    "netcoreapp1.0": {
      "imports": [
        "dotnet5.6",
        "portable-net45+win8"
      ]
    }
  },

  "buildOptions": {
    "emitEntryPoint": true,
    "preserveCompilationContext": true
  },

  "runtimeOptions": {
    "configProperties": {
      "System.GC.Server": true
    }
  },

  "publishOptions": {
    "include": [
      "wwwroot",
      "**/*.cshtml",
      "appsettings.json",
      "web.config"
    ]
  },

  "scripts": {
    "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
  },

  "tooling": {
    "defaultNamespace": "API"
  }
}

The package listed in your tools section needs to be updated to Microsoft.EntityFrameworkCore.Tools.DotNet.

Ok thanks bricelam, adding that package on tools with the latest version fix the problem now dotnet ef runs correctly!

Closing this one out. The change required in the tools node is documented in the release post. The docs will cut over to 1.1 content once we RTM it.

@rowanmiller Thanks for the details. Here's a nuance: I'm having the same issue but my project is Asp.net Core on .Net Framework 4.6.1, and it seems EF.Tools.DotNet:1.1.0* is not available for net461. What dependencies and tools should I specify to be able to run ef commands?

@bricelam could you help out with the above question?

For now, you need to add it manually to the csproj (NuGet will enable installing from the UI later).
<ItemGroup>
  <DotNetCliToolReference Include="Microsoft.EntityFrameworkCore.Tools.DotNet" Version="1.0.0-msbuild3-final" />
</ItemGroup>


Fix: Use App Name if Package Name is not available

:scroll: Description
Not all platforms have a concept of an package id like on Android or iOS. Thus we need some other identifier. This identifier is the app name.
:bulb: Motivation and Context
https://github.com/getsentry/sentry-dart/issues/410
:green_heart: How did you test it?
New test
:pencil: Checklist

[x] I reviewed submitted code
[x] I added tests to verify changes
[x] I updated the docs if needed
[x] All tests passing
[x] No breaking changes

:crystal_ball: Next steps

Codecov Report

Merging #411 (42260a7) into main (4d42b29) will increase coverage by 2.62%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #411      +/-   ##
==========================================
+ Coverage   90.74%   93.37%   +2.62%
==========================================
  Files          52        5      -47
  Lines        1654      166    -1488
==========================================
- Hits         1501      155    -1346
+ Misses        153       11     -142

Impacted Files
Coverage Δ

dart/lib/src/isolate_error_integration.dart

dart/lib/src/version.dart

dart/lib/src/protocol/sentry_stack_trace.dart

dart/lib/src/protocol/sdk_version.dart

dart/lib/src/protocol/sentry_operating_system.dart

dart/lib/src/protocol/sentry_user.dart

dart/lib/src/diagnostic_logger.dart

dart/lib/src/protocol/sentry_browser.dart

dart/lib/src/platform_checker.dart

dart/lib/src/integration.dart

... and 37 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 4d42b29...42260a7. Read the comment docs.


Antiforgery token validation failed even when the form that is posted contains the token

I'm having a weird issue that may or may not be a bug in asp related to CSRF tokens.
I have an action with the following attributes:
[HttpPost]
[ValidateAntiForgeryToken]
[Authorize]

When I post to this, I get:

Antiforgery token validation failed. The required antiforgery request token was not provided in either form field "__RequestVerificationToken" or header value "RequestVerificationToken".

If I check the HTML of the page using Chrome, I see that the form contains the following hidden input:
<input name="__RequestVerificationToken" type="hidden" value="CfDJ8O3lgopbgsJNtDH_fqvyV9D9trRngoK8OrpG0nwsV-aBRi70ONhbzJlxd18xNg1ih7cE2oCRGfhWi1NkyS1RiqS4GRO6B5I-737ciTn3Q9ppPABkKkXoF2QBsn8FE3jMvwkaNRNDtFFV_Fgfh9R2O4DQ9JH8ruFUDXuQczjESTpAsrKJY0oNmArWaNHNvp3wUw">
This should be all that is needed, right?
However, if I manually add a @Html.AntiForgeryToken() at the top of the form, the POST succeeds.
This addition does add the following, which is the same as above:
<input name="__RequestVerificationToken" type="hidden" value="CfDJ8O3lgopbgsJNtDH_fqvyV9D9trRngoK8OrpG0nwsV-aBRi70ONhbzJlxd18xNg1ih7cE2oCRGfhWi1NkyS1RiqS4GRO6B5I-737ciTn3Q9ppPABkKkXoF2QBsn8FE3jMvwkaNRNDtFFV_Fgfh9R2O4DQ9JH8ruFUDXuQczjESTpAsrKJY0oNmArWaNHNvp3wUw">
So by the end of it, I have duplicate __RequestVerificationToken inputs on my form. One that is automatically injected, and the other I manually inject through the @Html helper... but the post only succeeds if I manually use the helper.
Relevant packages:
"Microsoft.AspNetCore.Mvc": "1.0.0-rc2-final"

Did you close this because you found a solution? I believe we had a bug in this area for RC2. /cc @kichalla

The part where you are seeing duplicate antiforgery token fields on the form was the bug in RC2(which was fixed for 1.0 release). But based on your description you shouldn't need to add the @Html.AntiforgeryToken again if the antiforgery token field has already been auto-generated(you are probably using tag helper attributes which would cause this).
Could you share how your .cshtml looks like? Or was it a mistake at your end?(since you closed the issue).

I closed this because it was an issue on my side. I had a form embedded within a form (by mistake). So when the inner form posted, the outer form had the anti forgery token, thus the action didn't receive it.


Investigate replacing Routes with Ingress

Looking at some OpenShift 4.x docs, I got the impression that regular Kubernetes Ingress resources are recognized by OpenShift and used as base for new routes. If that confirms to be true, we can just get rid of the Route resource in the Jaeger Operator, keeping Ingress for both OpenShift and Kubernetes.

Would need to be sure the upgrade mechanism handled it, so routes were then converted into equivalent ingresses.

This would probably also help with the issue that on Openshift, routes ignore the hostnames set for Ingress controllers per https://github.com/jaegertracing/jaeger-operator/issues/135.

This would probably also help with the issue that on Openshift, routes ignore the hostnames set for Ingress controllers per #135.

Could you please create a new issue explaining your issue?


HOME page

Fixes Issue

Changes proposed
Added typewriter effect in homepage that shows available sub categories and guides to navigate through menu
Screenshots

Note to reviewers

Hi @rupali-codes , i created draft PR, let me know if i can proceed to actual PR.

@rupali-codes can you please look in to this


feat: add signal for event-tracking emission

Description: This PR defines a signal that listens to every event-tracking emission event. It's currently needed to emit events via the event bus to the OARS stack to have real-time events and better performance than the current implementation.
ISSUE: https://github.com/openedx/openedx-events/issues/215
Dependencies: None
Testing instructions: More details in https://github.com/openedx/event-tracking/pull/246
Merge deadline: This is needed for the Aspects project to move the tracking log processing from celery to async processing,  more details in this PR https://github.com/openedx/event-routing-backends/pull/361
Reviewers:
Merge checklist:

[ ] All reviewers approved
[ ] CI build is green
[ ] Version bumped
[ ] Changelog record added
[ ] Documentation updated (not only docstrings)
[ ] Commits are squashed

Post merge:

[ ] Create a tag
[ ] Check new version is pushed to PyPI after tag-triggered build is
finished.
[ ] Delete working branch (if not needed anymore)

Thanks for the pull request, @Ian2012!  Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
This is currently a draft pull request. When it is ready for our review and all tests are green, click "Ready for Review", or remove "WIP" from the title, as appropriate.

Please, add a bit more info in the cover letter! Like how to test, the need for the event, etc. So the community knows how important it is :)

This is also blocked on #224 and its implementation

@bmtcril why is it blocked by that PR?
I was thinking that this feature flag would prevent performance issues on large installations:
https://github.com/openedx/event-routing-backends/pull/305/files#diff-475f912f3206aed7a6cbb4ac6a1954040e433ff426ce93f798c2700558e34d88R14
Or am I missing something?

Hi! is this ready for our review? If it's not, then please convert it to draft :)! thanks

Hi @bmtcril and @mariajgrimaldi - just checking in on this :)

@bmtcril @mariajgrimaldi this is ready for review now

I'll be reviewing this. Thanks!

Hi @mariajgrimaldi! Are you able to merge this?

@mphilbrick211: I was waiting for Cristhian to update the init file. I'll be merging this now.

@Ian2012 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.

Sorry about that, @mariajgrimaldi - thank you!


Presentation: OpenTelemetry

#3796
Applied changes from 4096 to master branch.

Beta APIs appear in documentation. Some of yours lack documentation.

@pmconne added documentation.


how to set a label for input ????

Like this: https://github.com/TeamWertarbyte/material-ui-time-picker/blob/master/stories/index.js#L43


Restrict Access Permissions option for Workspaces

Currently, when you try to synchronize a single file using the "synchronize" option, there is a checkbox allowing you to "Restrict Access" in the popup that appears before you're redirected to the permissions authorization page

Is it possible to also restrict access when adding a new Google Drive Workspace?
Basically what I want is that stackedit should be granted permission to do whatever it likes within a folder of my choosing within my drive and have permissions to no other files
My use case is basically https://github.com/benweet/stackedit/issues/748

That's not possible I'm afraid. StackEdit wouldn't be allowed to open shared workspaces.

Effectively you're taking the whole "request access via email" flow and making it instant with that prompt and the access I'd expect it to grant you. I am asking sincerely btw, not trolling, I promise. I just hit the same issue I think as I was trying to open an .md file from the Drive interface. I couldn't when I checked that open because the page had a bad promise call to .then(). I'm guessing it's the list() call results and they don't exist when it's checked.

...then again, I might be seeing something totally unrelated because apparently it doesn't work even when I do check it. Is StackEdit compatible with Team Drives?


Fix #5989

Fixes #5989

Remove CSS rule position: relative from div.data-table-cell-content.
Add CSS rule position: relative to .data-table td

Before:

After:

@thadguidry I have tested tables in various scenarios. It is working.

Looks like there's something weird going on where there's a blinking cursor now at the end of <td> 's ? or an outer <div> ?
https://github.com/user-attachments/assets/20c5b95d-6903-46c7-9cfd-370dc5b08802
Also, there is a blinking cursor that seems to show up at the left edge of the EDIT button also, whenever you click into an empty cell?
https://github.com/user-attachments/assets/d3b41e48-8209-4842-979e-c690ceaab117

Nevermind.  It's an Edge browser issue only.  Tested fine in Chrome and Firefox.
Great job!

Nevermind. It's an Edge browser issue only. Tested fine in Chrome and Firefox. Great job!

Any idea why the issue specific to edge browser?
Or else I should use a different approach

No idea.  The button text itself seemed to default as edit-able text in Edge, but not in Firefox or Chrome.
As to the left edge of my column C , I have no idea what Edge is doing, perhaps you could track it down and submit another PR, but you might spend hours?  Up to you, either decision.


Add Firebase Analytics to watch the events

Create methods to watch over the user activity using Firebase Analytics

can this issue be assigned  to me ?

Sure @ThatOneTallKid, but this issue will be resolved at the end because it'll be easier to create event s for all the finalised features. But you can comment on other issues. I'll assign it to you.

@himanshusharma89 can I work on this issue?

@ThatOneTallKid Do you still want to work on this issue?

Do we need to make specific user properties or just setting up Analytics in Firebase? @himanshusharma89

@Mohitmadhav you need to capture certain events or gestures from the application and send it to the condole.

Checking AdMob
Login
Changing Screen

We'll be adding these methods to every screen, right?

Checking AdMob
Login
Changing Screen

We'll be adding these methods to every screen, right?

I meant the FirebaseAnalytics and FirebaseAnalyticsObserver object as an argument to every screen
@himanshusharma89

@himanshusharma89 I am well versed with firebase please assign  me

@subhangi2731 I have assigned an issue to you.

Create methods to watch over the user activity using Firebase Analytics

Hey, I have recently added firebase analytics to one of the apps, to find bugs and user intercation. If no one is working on this issue, please assign it to me so that I can go ahead and work with it.
Thanks in advance!

Thank you @himanshusharma89 !
Please add me as a collaborator in the firebase, so that I can watch the debugview parallely and work accordingly.
My mail Id is<EMAIL_ADDRESS>


Add antenna toggle capability to HINT (Int <-> Ext)

The T-Mobile Arcadyn TMOG4AR has physical external antenna ports and allows the user to toggle between Internal and External antennas (if connected) using the physical buttons on the front of the 5G gateway
I'm assuming the same capability to switch between Int/ Ext can be accomplished via software in Hint Control
If you want to test the code, I am happy to help
If curious why I would ask for this - The stock internal antenna gets me far higher download speeds (450-700 Mbps), but pathetic uploads (1-9 Mbps). The External antenna (Waveform QuadPro) gets me upto 40Mbps upload speeds which I seldom need - but it comes at the expense of bringing the download speed to <200 Mbps... and yes I have extensively troubleshooted with techs at waveform trying out various port configurations, placements etc, but hasn't helped
Being able to switch antennas with HINT would be awesome and very convenient
Also, why is it called HINT, this is a Tmo 5G gateway killer management app - Perhaps rename as T5G HubControl or T5G CommandCenter

The known API only has a way to show the currently-used antenna. It doesn't have a way to change it.


Add map entry APIs

To mirror BTreeMap's entry, first_entry, and last_entry.

Hi! I'd like to work on this.

Hey! Awesome, thank you - I'll assign the issue to you. To help you navigate the code:

src/tree/tree.rs is where the majority of the logic is implemented, both sets and maps are mostly public wrappers around this tree.

Since v2.0, this module is internal-only (not part of crate's public API). So you're free to make any changes necessary.
This where you'll find self.min_idx and self.max_idx, array indexes (e.x. &self.arena[self.min_idx]) that the help access the first/minimum and last/maximum items (useful for first_entry and last_entry).

src/map_types.rs is where SgMap's return types are. This is a good place to define a public Entry struct, even if you decide to put most of the logic elsewhere.

Two asides:

One of the main ways this crate is tested is by fuzzing against the standard library. I'd be happy to accept a PR even if it doesn't update the fuzz harness, so you don't need to worry about this. But, in case you find fuzzing helpful in testing the APIs you add: this section of the "Rust Fuzz" book explains structure-aware fuzzing, which is used in fuzz/fuzz_targets/sg_map.rs.

first_entry and last_entry are currently nightly-only for BTreeMap, so if you can implement those APIs in this crate (stable 1.55+) I think that's pretty exciting :sunglasses:

Feel free to take you time on a PR since this isn't a bug/blocking. If you have any questions, I'll do my best to answer them on this thread but may not always reply same-day. Thanks for your time/effort!


Resolve stopQuery/broadcastQueries race condition

[x] Update CHANGELOG.md with your change
[x] Make sure all of the significant new logic is covered by tests (Small change to avoid race condition, hard to effectively reproduce in tests.)
[x] Rebase your changes on master so that they can be merged easily
[x] Make sure all tests and linter rules pass (There are pre-existing middleware tests in master that currently fail for me intermittently due to timeouts, but this change has no effect on test failures.)

Fix for #231.

Add check for listener in QueryManager's broadcastQueries()

It is possible the deletion of a query listener in stopQuery()
and the forOwn iteration of query listeners in broadcastQueries() to
overlap, causing a race condition. This explicitly checks that
the listener exists before attempting to invoke it.

Looks great, thank you for identifying this race condition!


Replaced RecordBatch by Chunk

closed #673
This is a major refactor to the crates' IO interfaces, see #673 for details.
This PR:
Replaces RecordBatch by a new struct, Chunk, containing a vec of arrays with the same length. All IO interfaces now use columns and behave as follows:

read or infer schema (logical plane)
read columns (physical plane)

This allows users to not have to "leak" logical information to the physical plane unless necessary by the format.
All IO APIs were refactored to read and write Chunk (instead of RecordBatch). This removes much of the boilerplate to write a file.
Migration path

RecordBatch -> Chunk<Arc<dyn Array>>
RecordBatch::num_rows() -> Chunk::len()
RecordBatch::columns() -> Chunk::columns()
RecordBatch::column(i) -> Chunk::columns()[i]
RecordBatch::num_columns() -> Chunk::columns().len()
RecordBatch::schema() -> no longer present. Use other APIs (usually metadata) to get the schema

Renamed to Chunk based on @sundy-li 's suggestion: https://github.com/jorgecarleitao/arrow2/issues/673#issuecomment-991845103

@yjshen , @houqp , could you take a look at this?
I envision some pain with this PR in datafusion, as datafusion currently passes logical information (Schema) down to the physical nodes.
Because this PR requires less information to write, one way to go is to declare in DataFusion
pub struct RecordBatch {
     pub columns: Chunk<Arc<dyn Array>>;
     pub schema: Arc<Schema>;

and pass columns to the interfaces (this schema is now useless from arrow2's perspective, since the schema is known before the first batch is available).
For reading, likewise the schema is always known prior to start reading the first batch. Thus, we can just store an Arc<Schema> after reading the metadata/infering the schema and clone it for every batch that comes from IO.

The new Chunk API LGTM.


bug (23.7r1): Call to undefined function legacy_interfaces_details()

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
Since upgrading to 23.7-RC1 I have a reported crash once per minute which appears to be triggered by the default gateway_alert check in Monit:
[21-Jul-2023 08:40:28 Europe/London] Error: Call to undefined function legacy_interfaces_details() in /usr/local/etc/inc/plugins.inc.d/dpinger.inc:142
Stack trace:
#0 /usr/local/etc/inc/plugins.inc.d/dpinger.inc(353): dpinger_instances()
#1 /usr/local/etc/inc/plugins.inc(330): dpinger_status()
#2 /usr/local/etc/inc/legacy_bindings.inc(172): plugins_run('return_gateways...')
#3 /usr/local/opnsense/scripts/OPNsense/Monit/gateway_alert(52): return_gateways_status()
#4 {main}

To my PHP-naive mind it looks like dpinger.inc is missing a require_once 'interfaces.lib.inc; as this file is where the legacy_interfaces_details() function is actually defined. I did this on my appliance in an attempt to get rid of the errors and it did, but I'll leave it to the experts to decide whether that's the right solution or not.
Tip: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert)
To Reproduce
Steps to reproduce the behavior:

Install OPNsense 23.7r1
Configure gateways with monitoring
Install the os-monit plugin
See error

Expected behavior
Errors do not happen
Describe alternatives you considered
A clear and concise description of any alternative solutions or workaround you considered.
Screenshots
If applicable, add screenshots to help explain your problem.
Relevant log files
If applicable, information from log files supporting your claim.
Additional context
Add any other context about the problem here.
Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 23.7r1 (amd64, OpenSSL).
Atom C2558
Network Intel® I210

@g-a-c thanks! to avoid gluing all includes together the include/require should be in the top script, see https://github.com/opnsense/core/commit/24f8eb66329b289cb09d6331904b43f62defb6f7
# opnsense-patch 24f8eb6

Cheers,
Franco


efficiency: switch the larger sums to CT's pairwise sum

closes #38

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

Project coverage is 99.61%. Comparing base (66e3335) to head (732fc33).

Additional details and impacted files
@@             Coverage Diff             @@
##            master      #39      +/-   ##
===========================================
- Coverage   100.00%   99.61%   -0.39%
===========================================
  Files           37       37
  Lines          536      525      -11
===========================================
- Hits           536      523      -13
- Misses           0        2       +2

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


Refactor once this lands

https://github.com/marijnh/acorn/issues/181
ref
tl;dr
function b({ c: c = 2 }){ => function b({ c = 2 }){

Also depends on this


File Viewer WebPart not showing embed document on page

Hi there,
I am have the the following issue. And understand why it is happening - just hoping that someone may have a work-around.
I have a site with a number of pages using the "File viewer" web part. For example showing an Organisation chart on the page. When I provision the page using the Apply-PnPTenantTemplate with the latest schema (9-2019) the image is not visible.
Here is a few snipets of my code.
upload document
<pnp:File Src="resources\documents\Quality-Policy-Placeholder.docx" Overwrite="true" Folder="QMSDocuments"></pnp:File>
embedding the document
<pnp:Section Order="1" Type="OneColumn">
pnp:Controls
<pnp:CanvasControl WebPartType="DocumentEmbed" ...........
...........serverRelativeUrl":"{site}/QMSDocuments/Quality-Manual-Placeholder.docx","wopiurl":"{hosturl}{site}/_layouts/15/Doc.aspx?sourcedoc=%7B76C31252-FFF1-470E-ADA7-B2CDE3BF6135%7D&file=Quality-Manual-Placeholder.docx&action=embedview&
the problem is the GUID. When I upload the document it has a new GUID and the provision template is using the GUID from the source where i get the template.
Is there another way of doing this.
kind regards
Shaun

Hi @shaunpitt,
After struggling with the same problem as you, I landed on your post...
I was able to fix my template by using the fileuniqueid-Token - ProvisioningEngineTokens.
This, I believe will solve your issue:

replace: %7B76C31252-FFF1-470E-ADA7-B2CDE3BF6135%7D
with: %7B{fileuniqueid:QMSDocuments/Quality-Manual-Placeholder.docx}%7D

Should look like this:
<pnp:CanvasControl WebPartType="DocumentEmbed" ...........
...........serverRelativeUrl":"{site}/QMSDocuments/Quality-Manual-Placeholder.docx","wopiurl":"{hosturl}{site}/_layouts/15/Doc.aspx?sourcedoc=%7B{fileuniqueid:QMSDocuments/Quality-Manual-Placeholder.docx}%7D&file=Quality-Manual-Placeholder.docx&action=embedview&
I'm using PnP.Framework 1.10
Kind regards
-Carlos


CI for Node

Bumps url-parse from 1.5.1 to 1.5.3.

Release notes
Commits

updated-dependencies:

dependency-name: url-parse
dependency-type: indirect
...

Signed-off-by: dependabot[bot]<EMAIL_ADDRESS>

loog fine


NUTCH-2917 Remove transitive dependency to log4j 1.x

+1
On Tue, Dec 21, 2021 at 04:21 Sebastian Nagel @.***>
wrote:

You can view, comment on, or merge this pull request online at:
https://github.com/apache/nutch/pull/718
Commit Summary

f2a66ad
https://github.com/apache/nutch/pull/718/commits/f2a66ad1a02ae42373f9f243c5208320dddf2247
NUTCH-2917 Remove transitive dependency to log4j 1.x

File Changes
(1 file https://github.com/apache/nutch/pull/718/files)

M ivy/ivy.xml
https://github.com/apache/nutch/pull/718/files#diff-d571fae60d753ab001a6b973e986ec559a7e178604b56ffb4904a66854392121
(1)

Patch Links:

https://github.com/apache/nutch/pull/718.patch
https://github.com/apache/nutch/pull/718.diff

—
Reply to this email directly, view it on GitHub
https://github.com/apache/nutch/pull/718, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAI4TFZZHAUBHCIJ2XRRKVDUSBWNHANCNFSM5KQBIN5A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
http://home.apache.org/~lewismc/
http://people.apache.org/keys/committer/lewismc


Wrong query result with constant

Describe the bug
1 create a view with constant
CREATE VIEW `app_brand_ka_analysis_flow_entry_m_kks4` AS
SELECT `t`.`brand_id` AS `bigchain_brand_id`,
       `t`.`city_id` AS `poi_second_city_id`,
       `t`.`mo` AS `mo`
FROM `default_cluster:mart_waimai`.`app_ka_brand_list_m` t
UNION ALL
SELECT `t`.`brand_id` AS `bigchain_brand_id`,
       -1 AS `poi_second_city_id`,
       `t`.`mo` AS `mo`
FROM `default_cluster:mart_waimai`.`app_ka_brand_list_m` t;

2 query
SQL1 :
SELECT
poi_second_city_id
FROM
app_brand_ka_analysis_flow_entry_m_kks4
WHERE
mo = 24233
AND poi_second_city_id = -1
AND bigchain_brand_id = 437;

the result is:
|                 -1 |
|                 -1 |
|                 -1 |
|                 -1 |
|                 -1 |
|                 -1 |
|                 -1 |
|                 -1 |
+--------------------+
5714 rows in set (27.65 sec)

SQL 2:
SELECT
poi_second_city_id
FROM
app_brand_ka_analysis_flow_entry_m_kks4
WHERE
mo = 24233
AND poi_second_city_id IN (-1)
AND bigchain_brand_id = 437;

the result is empty.
the SQL 2 result is wrong. because in RangePartitionPruner.prune, the code will run into
        Set<Long> resultSet = Sets.newHashSet();
        int childrenNum = inPredicate.getChildren().size();
        int newComplex = inPredicate.getChildren().size() * complex;
        for (int i = 1; i < childrenNum; ++i) {
            LiteralExpr expr = (LiteralExpr) inPredicate.getChild(i);
            minKey.pushColumn(expr, keyColumn.getDataType());
            maxKey.pushColumn(expr, keyColumn.getDataType());
            Collection<Long> subList = prune(rangeMap, columnIdx + 1, minKey, maxKey, newComplex);
            for (long partId : subList) {
                resultSet.add(partId);
            }
            minKey.popColumn();
            maxKey.popColumn();
        }

and get the wrong partition id.
we could fix the bug by computing -1 in (-1)  to BoolLiteral(true).

Even this patch can make this query work in a proper way. however I think the root reason won't be fixed.
For second operand of the union query
SELECT `t`.`brand_id` AS `bigchain_brand_id`,
       -1 AS `poi_second_city_id`,
       `t`.`mo` AS `mo`
FROM `default_cluster:mart_waimai`.`app_ka_brand_list_m` t;

I don't know why the poi_second_city_id IN (-1) predicate is used to prune partition.  Maybe there is some problem?

why the poi_second_city_id IN (-1) predicate is used to prune partition?
1 poi_second_city_id IN (-1) is -1 in (-1)
2 In SingleNodePlanner,    List conjuncts = analyzer.getUnassignedConjuncts(scanNode), conjuncts will contain  -1 in (-1);
3  In PartitionColumnFilter keyFilter = createPartitionFilter(slotDesc, conjuncts); -1 in (-1) will set setInPredicate partitionColumnFilter.setInPredicate(inPredicate);
4 So the RangePartitionPruner.partitionColumnFilters will contain -1 in (-1) inPredicate.
I think the root cause is  -1 in (-1) shouldn't be contained analyzer.getUnassignedConjuncts(scanNode). So I think simplify -1 in (-1)  to BoolLiteral(true) will fix this issue and reasonable.

I think the problem located in step 3. -1 in (-1) can not be used to prune partition. What we want to use to prune partition is in predicate like partitionColumn in (1, 2, 3). So besides this patch, we'd better to have another patch to check if the in predicate can match this pattern.

Yes. I see And I agree with you.
The issue should be here:
            if (!expr.isBound(desc.getId())) {
                continue;
            }

If we think conjunct -1 in (-1) could get here,  we will need change expr.isBound method, change the expr.isBound value to false for LiteralExpr.
If we think conjunct -1 in (-1) could not get here, we should simplify constant Expr earlier.
I don't know the origin design, but I guess  conjunct -1 in (-1)  should simplify earlier.


[#5280] improvement(cli): Display distribution / bucketing information for Tables in the Gravitino CLI

What changes were proposed in this pull request?
Add --distribution option to display distribution information on Tables.
Why are the changes needed?
This change allows users to retrieve additional distribution information on Tables
Closes: #5280
Does this PR introduce any user-facing change?
Yes, it adds the --distribution option to CLI
How was this patch tested?
Compiled and tested locally.

Thanks for your contribution. Looks good to me other than one very minor change.

@TungYuChiang it looks good to me, just waiting on @jerryshao feedback.

@TungYuChiang it looks good to me, just waiting on @jerryshao feedback.

Though I'm a little concerned about this, I'm fine with the current implementation to avoid any blockings.


Added Proto.Actor (core) xml docs

Description
XML docs
Purpose
This pull request is a:

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] I have added tests that prove my fix is effective or that my feature works
[x] I have added necessary documentation (if appropriate)

Fantastic work!


List/Download all files of a proposal, list all unique suffixes.

Add following make targets:

make get-file-names-suffixes

This will create a list of files and unique suffixes (.txt) for each proposal id.
target ids: 05150 12037 04521 07313 03744 05844

make get-file-names-suffixes-all

This will create a list of files and unique suffixes for all proposal ids with moving target flag equal to true.
target ids: all proposal ids from astroquery with mtFlag set to True.

make download-all-files

This will download all files and also create a list of filenames & unique suffixes (.txt) for each proposal id.
target ids: 05150 12037 04521 07313 03744 05844

Notes: all list and download files are under tmp-working-dir/files_from_mast

Rename _ACCEPTED_INSTRUMENTS to ACCEPTED_INSTRUMENTS and move it to AcceptedParams.py(Originally named AcceptedSuffixes.py). This will be only place that stores the string of accepted instruments.

Add a new make target make download-shm-spt-all to download shm & spt files for all proposal ids with mtflag=true.


Air purifier v3 support

I cant get this to work with the air purifier v3 it connects fine but wont return any values etc.

+1

Its not working. I am waiting to for corrcect script for Purifier 3.

Duplicate? https://github.com/aholstenson/miio/issues/257


Incompatible with Sorcery

I'm having difficulty getting this gem to not step on the toes of Sorcery in a Rails 4.1 application. Here's what I've found:

If I have the seed_migration initializer loading before the Sorcery initializer, then SeedMigration.register User prevents the Sorcery modules from being included in the User class.
If I have the seed_migration initializer loading after the Sorcery initializer, then SeedMigration.register User triggers the Sorcery modules before they're fully configured (which happens in Rails.application.config), which makes Sorcery throw an error.
If I load the seed_migration initializer after Rails application configuration (i.e. at the end of config/environment.rb), Sorcery loads properly but SeedMigration.register User doesn't register the User model.

Help?

Hi,
Sorry for the late reply, I don't exactly know what I changed but I apparently muted the notifications from this repo by mistake and didn't notice new issues opened in the last 6 months. Sorry about that.
I've never used Sorcery so I don't have a lot of context but I'll see if I can help, but I don't have a lot of available time, so I can't make any promises.


Cannot add my github account

Hello,
Today I faced an issue that kept requiring me to sign in to sync setting while I was already signed in with my github account, I kept authorizing and vscode asks to restart to update and kept going in this loop. I uninstalled vscode then reinstalled it and since then whenever I try to add an account it takes me to microsoft login and not github as it used to and I can't sign in to my github account through vscode and I couldn't find any help online

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

Hello, Today I faced an issue that kept requiring me to sign in to sync setting while I was already signed in with my github account, I kept authorizing and vscode asks to restart to update and kept going in this loop. I uninstalled vscode then reinstalled it and since then whenever I try to add an account it takes me to microsoft login and not github as it used to and I can't sign in to my github account through vscode and I couldn't find any help online

I have the same problem

Hello guys!!!
It would be helpful if you could provide me with more information, such as the type of error that appears or the message displayed in your VSCode...
Here are some suggestions that might help resolve your issue:
Clear VS Code's authentication cache: You can do this by opening the Preferences: Open User Settings command and searching for Accounts: Authentication Session. Click on Clear All Authentication Sessions and try signing in again.
Check sync settings: Make sure the Settings Sync: Enable option is turned on. If it's turned off, turn it on and try signing in again.
Turn sync off and on again: Sometimes, turning sync off and then back on can resolve connection issues. You can do this via the Settings Sync: Turn off command and then Settings Sync: Turn On.
Check extensions: Some extensions might interfere with settings sync. Try disabling all extensions to see if the issue persists.
I hope this helps! If the issue continues, please provide more details or any error messages you're seeing.
I hope these suggestions can help you guys!
See ya!

@Andrehlb 's solution worked for me.
I linked a Microsoft account first, but I wanted to link GitHub instead.
Even after signing off MS, when signing in VS Code would keep redirecting me to Microsoft directly without prompting the Github/Microsoft choice.
Solved it by signing back in to the Microsoft account, turning off sync there accpet to empty the sync cache when prompted, and then turning sync back on you will be prompted the GH/MS choice again.
Hope this helps, also thanks Andrehlb!

@Andrehlb 's solution worked for me.
I linked a Microsoft account first, but I wanted to link GitHub instead. Even after signing off MS, when signing in VS Code would keep redirecting me to Microsoft directly without prompting the Github/Microsoft choice.
Solved it by signing back in to the Microsoft account, then turning off sync, also accepting to empty the sync cache when prompted, and then turning sync back on you will be prompted the GH/MS choice again.
Hope this helps, also thanks Andrehlb!

I have the same problem,  Thank you very much!

Hey @TylerLeonhardt, this issue might need further attention.
@HabibaaFarid, you can help us out by closing this issue if the problem no longer exists, or adding more information.

/duplicate
https://github.com/microsoft/vscode/issues/195532

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


typing issue in document

What's the problem here?

Hi @k9982874. 😄
I don't see any problem with the code you've highlighted. Could you clarify?

I'm going to close this for now because I think the docs in question are fine.
I can re-open it later if we get more clarification on what the problem is. ❤


Re-throwing error in transaction catch block will propagate transaction error again

Repro
const db = new Dexie("Test_Re_Throw_Error");
db.version(1).stores({
  friends: `
  id,
  name,
  age`,
});
db.transaction("r", ["friends"], generateError).catch(e => {
  /*
  I re-throw transaction error on purpose, in my real code,
  it's like this: throw new CustomError(e)
  for clearer identification
  */
  throw new Error("throw again");
}).catch(e => {
  console.log("outermost error", e);
});

async function generateError() {
  await Promise.reject("inner error");
}

It's weird that throw again error was caught but inner error was exposed unexpectedly.
Dexie Version
3.2.1

I copied and pasted your repro into a jsfiddle but I get what was expected, the "throw again" error.
https://jsfiddle.net/nwufgymd/

@dfahlander Well, the unhandledrejection seemed to be swallowed by sandbox environment.
I have added an unhandledrejection event handler to illustrate. https://jsfiddle.net/r0hkocL5/
Or you can start your local dev environment to see exactly my screenshot showed.


TS: Refactor menu is transparent

Type: Bug
TypeScript:
STR:

select const var to move to new file
context menu - Refactor
opens menu without background (transparent), menu items text will be put on code editor`s text

VS Code version: Code 1.85.0 (af28b32d7e553898b2a91af498b1fb666fdebe0c, 2023-12-06T20:48:09.019Z)
OS version: Windows_NT x64

UPD
After pressing Show disabled menu item menu background became visible, but after a while working with it it again becames transparent and w/o icons.
Also this affects menu source action - it doesnt shows at all

UPD2
Clicking Show disabled / Hide Disabled in Refactor menu shows background in Refactor menu and also became working source action menu, but after a while both these menus became not working again: Refactor again became transparent and source action doesnt shows at all

Opening from the context menu is broken (in many languages). Pressing the shortcut key Ctrl+Shift+R seems to "fix" it (even for then opening it from the menu).

/duplicate : tracking here https://github.com/microsoft/vscode/issues/198881


[redacted]

Description

Reproducible example

Environment info
LightGBM version or commit hash:
Command(s) you used to install LightGBM

Additional Comments

Looks like you created this accidentally @Nader822 . I'm closing and locking it.


Simplify the number of options presented to the user when opening a bug/issue

Description
Very meta! When the user clicks "Clear an issue" they are taken to a screen with four options. It's not clear which one to use. Let's simplify this to be something like...

Open a bug
Request something new

Acceptance Criteria
The issue types should be

Bug Report
Enhancement Request
Documentation Request

I'll take this one.

After closely reviewing the different issue types i'd like to continue to provide a way to allow a user to make a documentation request as that template ask them a really different set of questions that will aid us in creating the documentation.


“/” and "//" in easyfl

/ ——> true.divide
// ——> floor.divide

python==3.7.13
pytorch==1.6.0

solution:

Thanks for pointing out this. Simply changing from torch.div to torch.true_divide may not be compatible with older versions of PyTorch.
You can create a pull request to fix this issue while maintaining backward compatibility. Thanks


How can I impersonate other browsers?

I need to impersonate firefox and other browsers. How can I do that?

I might be wrong but, I think you might have to create a file looking like the following, with the properties of the wanted browser, and then you have to add it to your fork of curl-impersonate, and then to the BrowserType in curl_cffi/requests/session.py.
https://github.com/lwthiker/curl-impersonate/blob/main/chrome/curl_safari15_5

Duplicate of #59 , let's track the issue there.


Add BEiT ONNXRT example

Type of Change
example
API not change
Description
ONNXRT quantization example of BERT Pre-Training of Image Transformers(BEiT) model
It was first released in https://github.com/microsoft/unilm/tree/master/beit.
How has this PR been tested?
CI, extension test
Dependency Change?
No

extension test is running


investigate the performance of HashKey

After #8733, we have a benchmark.
It is suspected that its performance, hashing varchar in particular,  has a big impact on AggExecutor.
Some comments made in Slack: https://risingwave-labs.slack.com/archives/C04MD3Z2VJR/p1679466789211899
Feel free to join the channel

Essentially there are two kinds of HashKey : FixedSizeKey and SerializedKey
SerializedKey is used for keys whose size is not fixed(e.g. key which contains dynamic size types such as str), and it’s in fact a wrapper of Vec
FixedSizeKey is used for keys whose size is fixed(e.g., whose sizes are fixed, such as int, bigint), and it’s a fixed sized array. In this case use FixedSizeKey  can help avoid allocation, and speeds up hash table lookup

anyway, I think we can remove the null_bitmap in the SerializedKeySerializer and its HashKey?

Does HashKey contain a Hashed value? Or the value we want to hash by?
It contains both raw data and hash code, otherwise we can’t use vectorized hash
See https://github.com/risingwavelabs/risingwave/blob/86ffe994cc32f3032443fce8498272c75d1b0180/src/common/src/hash/key.rs#L107

[ ] reserve the buffer (tuples' size and encoding size) in the HashKeySerializer::from_hash_code
[ ] change the null bit map from FixedBitSet into smallbitset(https://docs.rs/smallbitset/latest/smallbitset/) or our self-maintained bitset to avoid memory in the heap.
[ ] SerializedKeySerializer can use a special value encoding which do not serialize if the field is NULL and depend on the null bit map

BTW, after some investigation,I think some computation logic depends on the null_bitmap and we can not simply remove it and depends on the value encoding's null encoding.

I'm wondering if there's really no way to remove this null encoding? What logic depends on it?

[ ] Try small vec https://github.com/risingwavelabs/risingwave/pull/8941#issuecomment-1498479355
[ ] Implement key format for mixed fixed + serialized keys.
[ ] Add larger fixed key sizes: 512, 1024, 2048.


Uncaught Error: ENOSPC: no space left on device, write

[Enter steps to reproduce:]

...
...

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Ubuntu 16.04.2
Thrown From: Atom Core
Stack Trace
Uncaught Error: ENOSPC: no space left on device, write
At fs.js:786

Error: ENOSPC: no space left on device, write
    at Error (native)
    at Object.fs.writeSync (fs.js:786:20)
    at Object.fs.writeFileSync (fs.js:1353:24)
    at Object.writeFileSync (/app.asar/node_modules/fs-plus/lib/fs-plus.js:288:17)
    at StyleManager.addStyleSheet (/app.asar/src/style-manager.js:149:12)
    at /app.asar/src/workspace-element.js:62:17)
    at /app.asar/src/config.js:635:20
    at Function.module.exports.Emitter.simpleDispatch (/app.asar/node_modules/event-kit/lib/emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (/app.asar/node_modules/event-kit/lib/emitter.js:141:28)
    at Config.module.exports.Config.emitChangeEvent (/app.asar/src/config.js:826:29)
    at Config.module.exports.Config.setRawValue (/app.asar/src/config.js:612:19)
    at Config.module.exports.Config.set (/app.asar/src/config.js:227:14)
    at Workspace.increaseFontSize (/app.asar/src/workspace.js:939:17)
    at /app.asar/src/workspace-element.js:119:20)

Commands
  3x -6:39.8.0 core:close (atom-pane.pane.active)
     -5:40.3.0 pane:show-next-recently-used-item (input.hidden-input)
     -5:40.2.0 pane:move-active-item-to-top-of-stack (input.hidden-input)
  4x -3:35.9.0 core:close (input.hidden-input)
     -2:47.2.0 pane:show-next-recently-used-item (input.hidden-input)
     -2:47.1.0 pane:move-active-item-to-top-of-stack (input.hidden-input)
     -2:43.1.0 pane:show-next-recently-used-item (input.hidden-input)
     -2:42.9.0 pane:move-active-item-to-top-of-stack (input.hidden-input)
  4x -0:58.7.0 core:close (input.hidden-input)

Non-Core Packages

Thanks for the report!  Can you confirm a few things for us?

what were you doing at the time of the error?
is the error is reproducible?
if reproducible, do you see the error in safe mode (atom --safe)?

your emulator memory might be full ,Delete data from your emulator audio,video or any huge files, later restart and run.

Thanks again for your issue!
We haven't received a response to our question in this comment https://github.com/atom/atom/issues/14418#issuecomment-301592437. With only the information that is currently in the issue, we don't have enough information to take action. I'm going to close this but don't hesitate to reach out if you have or find the answers we need, we'll be happy to reopen the issue.


Add possibility to control npm version

You've done amazing job with ionic and cordova.
And i would like to have possibility to set npm version i would like to use.

There is a node installer task in the tools category.  It will also install the corresponding npm version
You can also choose a private agent on an azure VM and install whatever tools you want.


v1.1.3 Added get history positions to bitget futures client

Summary
Added get all history positions from https://bitgetlimited.github.io/apidoc/en/mix/#get-history-position to futures-client.ts
Additional Information
startTime and endTime is required, max query is 3 months.


fix: gitlab licence service docs and example

re https://github.com/badges/shields/pull/8024#issuecomment-1153331982
Fixed the documentation and example of custom server, now they are displayed properly.
/assign @calebcartwright

Warnings

:warning:
This PR modified service code for gitlab but not its test code. That's okay so long as it's refactoring existing code.

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @sunny0826!

  Generated by :no_entry_sign: dangerJS against 833884d59c7ad75977ad41ab9b2cd4e0fe5a03d5


Add count to intercept method to specify number of times the request has to be intercepted

@rparthas Also please resolve the conflicts.

@Apoorva-GA  I could see one of the checks failed. Is there possibility to rerun the ci tests ? I am running with node 10 and don't seem to get any error in local
Connection to runner with Pid 3613 lost. The runner probably quit unexpectedly. Inspect logs for potential reasons. Error : read tcp <IP_ADDRESS>:40061-><IP_ADDRESS>:41316: use of closed network connection

@rparthas Thanks for the PR..!!


improve the modeling of start and end time of an event or series

So far the start and end date of an event is being modeled as a data property of academic event with the range xsd:datetimestamp. This should rather be more general, having a start and end for a process as a process boundary.

Looking at RO, it seems best to reuse the starts & ends for events and starts with & ends with for series (which alsways start and end with an event, which is also always a part of the series).

The planned start date and end date of an academic event are being modeled as data properties restricted to the domain of academic event and to the range of xsd:dateTimeStamp.
Both data properties have a sub-property that can be used to provide a previously planned end or start date for the case that an academic event has been rescheduled.
I don't know if this way of modeling is sufficient wrt to BFO, as in not modeling them as process boundaries. But for our use case in ConfIDent it is sufficient to just have a data property with this range restriction to annotate academic events.

When trying to describe test data, it became apparent that xsd:dataTimeStamp is too restrictive as range, because one doesn't always know the exact hour on which an event starts or ends. Thus these data properties need to be adjusted.


Action pipeline support

I got too little sleep and posted wrong thing in the wrong place. Sorry! Please ignore/delete this PR.


Navigating to absolute urls/links from deployed static site fails to route

Going to root and clicking links within the page will work and update url bar but directly opening a deep url fails. We need to set up the app to work that way.

oh yeah thats a thing with the browserRouter maybe not serving a page by default?
I've struggled with nginx and that in the past.
#51


refactor: fix clang-tidy reports

Purpose

This basically code clean-up with:

performance fixes
move semantics fixes
etc...

How does the solution address the problem

Changes made

Did you run analysis after your changes? Because I see some use after move and that's really dangerous

I am running it now but it takes ages so it is not finished yet

prnet cleaned-up successfully


remove hard coded tags

The following tags are hard coded (in variables.tf):
tags.Project
tags.Environment
tags.Name
It would be good to remove the hard coding so that we can have a clean set of custom values.

Hi @packeteer ,
Can you clarify? As far as I know the tags variable in variables.tf is empty by default and the user is free to set whatever set of tags he wants in there.

if the user does not specify a value, then they end up with the following tags:
Project:noproject
Environment:default
Name:noproject-default-

@packeteer I've created a PR to clean up / remove those variables from the module. Do you think that fits your use-case?
https://github.com/skyscrapers/terraform-website-s3-cloudfront-route53/pull/36

I've gone ahead and merged the PR and closed this issue. Feel free to re-open it or open a new one if you feel your initial issue has not been fully resolved.


Configure expiry serilializer

With the new release 4.0.x we now return the expiry date which is great, but it cannot be formatted the way I want it to be without overloading the post method of LoginView.
I would like to be able to return the expiry directly as a Unix Timestamp instead.
An easy way to achieve this goal could be to add a configurable expiry serializer, we could then import from knox_settings. (basically in the same fashion it has been done for UserSerializer.
I would be willing to provide such a patch if you guys agree with the idea.

This seems like a valid proposal to me 👍🏻

ok cool I'll come up with a PR in the next days.

Done

@loicgasser thanks for following this and cleaning things up, much appreciated 🙏


Check for duplicate input events when adding to action

Addresses #95283.
Displays a warning message when a duplicate Input Event is added to an Action in the Input Map.
Up for any suggestions if we want to handle this differently.

Attempting to add Keyboard Input A to move_left. (Shown Below)

Why only show a dialog with 'ok' and not 'continue' & 'cancel'? If this dialog is meant to save users time in discovering an error, it makes sense to me to subsequently help them fix it.

Why only show a dialog with 'ok' and not 'continue' & 'cancel'? If this dialog is meant to save users time in discovering an error, it makes sense to me to subsequently help them fix it.

Yeah, I could definitely do this.
So this PR as is just shows the warning and blocks them from adding the duplicate key to an action. Would the 'continue' allow them to add the duplicate key, and the 'cancel' stop them from adding the duplicate key? Kind of confused on what the functionality of those two would be.

I would maybe propose these two options:
"Add Anyway" -> adds the duplicate control to the action
"Cancel" -> doesn't add the control

I would maybe propose these two options: "Add Anyway" -> adds the duplicate control to the action "Cancel" -> doesn't add the control

Updated to proposed option. Please let me know if I need to change anything with the C++ implemenation, trying to learn the code base :).

Not sure whether we should split up the update process in two methods like this (e.g. creating the duplicates in _event_config_confirmed and working with the duplicates in _event_add_edit_confirmed). This might come back at us later if someone tries to use _event_add_edit_confirmed directly and it modifies stuff in place.
Maybe we should just do the duplicate check before showing the dialogue and put all the other stuff in _event_add_edit_confirmed 🤔

Updated, definitely think that's cleaner.


How to set own account bio?

I'm still learning java, so sorry if I've missed something easy.
I can't find any methods that would let me change my account bio. I know its definitely possible, since I've done it with tweepy for Python, but I can only find a way to get it in this project with User.getDescription.
Using:

Java Adoptium JDK 17
Windows 11 21H2
twittered 2.16
Twitter API v1.1 (i think)

Hey @helpimnotdrowning , I don't think that the library has a method to set the user description.
Did you check the twitter API documentation ? Not sure such endpoint exists.

I think the description parameter here https://developer.twitter.com/en/docs/twitter-api/v1/accounts-and-users/manage-account-settings/api-reference/post-account-update_profile would do this.

Oh you're right. As it's v1 endpoints I didn't plan to implement it until the v2 version is released, but feel free to contribute submitting a pull request :)


Reconsider "Most Recent" wording

Testing #141342

Most Recent refers to the link closest to the cursor position.

No string feelings but the TPI itself made me file this issue. If above explanation is needed than that might be a since of bad naming? So how about "Open closest/nearest link" or "Open last link" (last allows for interpreting it as time/recency and proximity-value)

Open Last Link is nice and concise 👍


XSS Image filename is interpreted as HTML

When  uploading an image called "test<h1>test.invalidextention", the error message will interpret the HTML. Same thing when uploading a valid image.
Reported by:
Daniel Fabian from the Google Security Team

Thanks, @salvadormrf (and Daniel).

@salvadormrf are you happy with this fix?

@tomdyson We were using a different solution using "document.createTextNode" but we may use this one. Thanks!

document.createTextNode() is a much more reliable solution. By definition, anything created by document.createTextNode() is text, so injecting HTML is simply not possible.

:+1:


Add more NLU training data for weather

Per https://github.com/RasaHQ/contributors/issues/15
Adding more training data related to weather.

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

Thanks for submitting a pull request 🚀 @samsucik will take a look at it as soon as possible ✨

Thanks @samsucik for the review! I have signed the CLA


Enhancement: way to configure multiple metric readers+exporters

I was investigating options to have our apps instrumented to export some default metrics to central prometheus.
I already have setup uptrace for tracing so I wanted to keep option for sending those metrics to uptrace too.
Unfortunately because go OTEL MeterProvider is immutable after creation - you by design cannot add new readers (and thus exporters) even though the constructor supports multiple readers.
That means the best option would be to allow sending my own configured metric.Reader as config option for uptrace to use during creation of the MeterProvider.
Currently I have to choose if I want to send to uptrace OR expose classic http /metrics endpoint as i would have to overwrite the MeterProvider and lose uptrace client.
The option could look something like
// WithMetricsReader provide custom reader for global MeterProvider to allow multiple readers/exporters
func WithMetricsReader(reader metric.Reader) MetricsOption {
	return metricsOption(func(conf *config) {
		conf.readers = append(conf.readers, reader)
	})
}

and during creation of MeterProvider:
customReaders := make([]metric.Option, len(cfg.readers))
for i := range(cfg.readers) {
	customReaders[i] = metric.WithReader(cfg.readers[i])
}

provider := metric.NewMeterProvider(
	metric.WithReader(reader),
	metric.WithResource(cfg.newResource()),
	customReaders...
)

I think that's all needed to cleanly integrate our own custom readers + exporters inside uptrace.
Not sure if it's against overall design that all metrics should go through single channel to OTEL Collector/Uptrace
Any comments/suggestions welcome :-)

That sounds good. Perhaps we should even go with a more general API like:
func WithMetricOption(option metric.Option) MetricsOption {
	return metricsOption(func(conf *config) {
		conf.metricOptions = append(conf.metricOptions, option)
	})
}

Then you can use it like this:
uptrace.ConfigureOpentelemetry(uptrace.WithMetricOption(
    metric.WithReader(promReader),
))

This way you can add/overwrite any existing metric.Option provided by Otel SDK. What do you think?

Sure sounds even better. Will be more future proof if any new options come around.


Director bug

The director function GetAdsForPath() de-references a nil pointer when queried for a namespace prefix that does not exist in the ttlcache.

Fixed by PR #326


Documenting the mobile toolkits

The mobile toolkits are currently lacking documentation. Let's use this issue to track the work to be done.
Some of the pages will be in the shared mobile repo while platform-dependent ones will be in swift-toolkit or kotlin-toolkit.
The integration guides will be in each platform repo and will be the gateway to more abstract concepts/APIs.

Integration guides

[ ] What to do if you're stuck?

Look in the github issues/discussions, then Slack.
What kind of issues we can offer support for.

[ ] What publication formats are supported by Readium?
[ ] How to open a publication and read its metadata?
[ ] How to render a publication on the screen?
[ ] How to save and restore the last read position?
[ ] How to save bookmarks?
[ ] How to display page numbers?

Explains the difference between page numbers, screen pages and positions

[ ] How to show a progress bar for the whole publication?
[ ] How to add new text selection menu items?
[ ] How to get the current progression / page number in the publication?
[ ] EPUB: How to add custom fonts?
[ ] EPUB: How to customize the text and background colors?
[ ] How to search through the content of a publication?
[ ] How to highlight a text selection?
[ ] How to display the table of contents?
[ ] How to browse an OPDS catalog?
[ ] How to open publications protected by Readium LCP?

General concepts

[ ] Readium architecture (overview of each modules) in the context of Readium mobile
[ ] Core models / terms

[ ] Publication models and extensions
[ ] Publication services

[ ] Position
[ ] Cover
[ ] Search
[ ] Locator

[ ] Locator
[ ] Fetcher
[ ] MediaType

[ ] Streamer

[ ] PublicationParser
[ ] HTTP server

[ ] Navigator

[ ] Navigation
[ ] Decorator
[ ] Presentation
[ ] Injectable

[ ] Content Protection
[ ] Readium CSS

Contribution guides

[ ] How to setup a dev environment
[ ] Guidelines to contribute
[ ] Licensing?
[ ] Detailed overview of each module's architecture
[ ] How to build the EPUB JavaScript bundles?

Bravo for the initiative Mickaël.
I agree that "How to setup a dev environment" is part of the Contribution Guides, more than Integration Guides: every contributor should make a clean fork and propose PRs for what the can propose to the community.

liking this as well, thanks. I think it would be useful to have a description of the concept of "positions" vs "page numbers", since it's easy to confuse the two things if you're new to Readium. I think this can be approached from both  developer and a user/product point of views.

@ettore Yes definitely, I added this as a comment to "How to display page numbers?"


Story Locking: only show if there's an actual lock user

Context

Summary

Fixes showing the lock dialog if there wasn't actually a lock user set.
Relevant Technical Choices

Remove redundant showDialog state variable
To-do

User-facing changes

Fixes this bug:

Testing Instructions

[x] This is a non-user-facing change and requires no QA

This PR can be tested by following these steps:

Open editor
Don't see lock message

Reviews
Does this PR have a security-related impact?

No
Does this PR change what data or activity we track or use?

No
Does this PR have a legal-related impact?

No
Checklist

[ ] This PR addresses an existing issue and I have linked this PR to it in ZenHub
[x] I have tested this code to the best of my abilities
[x] I have verified accessibility to the best of my abilities (docs)
[x] I have verified i18n and l10n (translation, right-to-left layout) to the best of my abilities
[x] This code is covered by automated tests (unit, integration, and/or e2e) to verify it works as intended (docs)
[x] I have added documentation where necessary
[x] I have added a matching Type: XYZ label to the PR

Fixes #

@swissspidy Why does this fix the problem? What was the original problem?

Use null to represent "no user" or "no locked user" if possible

Yeah that makes sense.
We have similar situations in the editor for things like story poster, where we use an "empty" object instead of null. Best to tackle that coherently in a dedicated ticket 👍


[Book] Integrate Vocs framework

Integrate vocs framework https://vocs.dev/docs to assemble a static site out of markdown files.
Add instructions how to build and run dev server locally to the readme (+ installation steps).
References:

https://github.com/dojoengine/book

Hi @dmirgaleev I'm a frontend and a blockchain developer. I will love to work on this. I'm ready to work

i will like to work on this issue @dmirgaleev kindly assign i am ready to work.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
i am a frontend developer with experience in technical writing and documentation using tools like Docusaurus and Jekyll. with my experience using the framework i would be able to handle this task as vocs is also a similar framework
How I plan on tackling this issue

Set up the project with VOCS
Organize markdown file by placing them in a directory and configuring Vocs to pull content from this directory.
Configure the VOCS to build the static site using the files in 2 above
set up the dev server
Add all the building and run instruction to  the readme file.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a blockchain developer with vast experiences with in css ,react, typescript,javascript ,solidity etc.
How I plan on tackling this issue
I intend to approach the problem with the following :

Set Up Vocs: Follow the Vocs documentation to install the framework. Use the instructions to assemble the static site from the existing markdown files.

Configure Build: Ensure the site is configured properly by adding necessary configurations (e.g., vocs.config.js).

Update README:

Include installation steps (e.g., npm install vocs or other dependencies).
Add instructions for building (vocs build) and running the dev server (vocs dev) locally.

Test: Verify the build and dev server locally to ensure everything runs smoothly.

I am using the DojoEngine book repo as a reference

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
Hello, I am Joseph I am a Software developer and blockchain developer and I am also an active contributor here on only dust here is my profile https://app.onlydust.com/u/josephchimebuka. This is my first time to contribute to this repo ill appreciate the opportunity to contribute. this is a couple of frontend and blockchain projects i have built https://metacrypt.vercel.app/ https://mattedsgn.com/ I have also written articles too here is an article for written for Karst
How I plan on tackling this issue
The descriptionis already detailed I will follow it to solve the issue in 2-3 days

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I am a full-stack developer with experience in QA testing and languages like Python, Cairo, Solidity, React, and JavaScript.
How I plan on tackling this issue
i will Understand VOCs Framework
Study the VOCs framework:
Define VOCs and its importance
Identify key components (e.g., collect, analyze, act)
Identify Customer Feedback Channels
Determine customer feedback channels:
Surveys
Social media
Support tickets
Reviews

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
hello i am a frontend developer and a technical writer
please can i work on this issue :)
i would love to be a contributor on this repo
How I plan on tackling this issue
please kindly assign me and i'll get straight to work

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I have experience in web development and frontend frameworks, particularly with static site generation and Markdown integration.
How I plan on tackling this issue
I would integrate the Vocs framework by setting it up to generate a static site from Markdown files, updating the README with build and run instructions, and testing the integration to ensure everything works smoothly.

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I hold a degree in computer science and have worked as a mobile developer with React and JavaScript, two of the Vocs framework's primary technologies. I have experience working with static site generators such as Jekyll and Docusaurus on a number of documentation projects. My knowledge of contemporary web technologies and my experience with frontend development make me a good fit to integrate Vocs and enhance the project's documentation system.
How I plan on tackling this issue
Studying the Vocs documentation and the present project structure would be my first steps. Next, I would configure Vocs in the project such that it would function with the already-existing markdown files. I would make a vocs.config.js file to alter the look and feel of the website. I would then modify the build procedure to use Vocs to create the static website. For local testing, I would include a dev server script. Lastly, I would provide explicit instructions to the README for installing the software, creating the website, and starting the development server locally. I would make sure the current material is correctly transferred and rendered in the new system during the entire process.

Hello @akintewe! Welcome aboard! Please don't hesitate to join our Telegram group https://t.me/baking_bad_odhack to ask questions and share your progress! It is recommended to share your progress on a daily basis.  Happy hacking!

Thank you very much for this opportunity

Resolved in https://github.com/dipdup-io/stone-packaging/pull/44