Ability to apply default chapter sort/filter settings globally

Describe your suggested feature
I prefer to see chapters chronologically, so I edit the sorting options per title. I would love it if I could do this for titles either globally or per category.
Forgive me if this exists and I am just blind and can't find it! Thank you!
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[ ] If this is an request for a feature in the original Tachiyomi, I am opening because multiple versions of Yōkai have been released without this feature.
[X] If this is an issue with an extension, or a request for an extension, I should be contacting the extensions repository's maintainer/support for help.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have checked through the app settings for my feature.
[X] I will fill out all of the requested information in this form.

Accidentally checked that box. It's in mihon, though!


normalize acor[0] to be 1?

https://github.com/flatironinstitute/bayes-kit/blob/8f8c494cf65ce39f0982566b54ed1a9a277f8c82/bayes_kit/ess.py#L120-L135
I might be missing something here, but I think you need to normalize acor so that acor[0] is 1.

acor[0] will be 1 as calculated by my FFT function, but for some reason, the autocorr_np is no longer giving me anything like the same answers.  I just removed it.
I just verified against running in R that the FFT implementation is correct.  I'm adding unit tests now.  And indeed, I need to trim down the result.

Also, if I don't include the size argument in the FFT, I don't get the right answer.

Hmmmm, well if you do
autocorr_fft([1, 0, 0, 0])
you get
[ 1.00000000e+00 -8.33333333e-02 -1.66666667e-01 -2.50000000e-01
  7.40148683e-17 -2.50000000e-01 -1.66666667e-01 -8.33333333e-02]

whereas I would expect to get [1, 0, 0, 0, ...]

That's the right answer according to R:
> z <- c(1, 0, 0, 0)
> acf(z, pl=FALSE)

Autocorrelations of series ‘z’, by lag

     0      1      2      3
 1.000 -0.083 -0.167 -0.250
>

I also fixed so it only returns a vector of the same size as the input, so the output exactly matches R's results now.


Add different loader writer resilience strategies

Add different loader writer resilience strategy. Move it to the API

The current one
The NOP one
The always failing one (decide if it should be the default)

Requires #2198

This becomes a duplicate of #2199 if we improve the abstract super class support.


amplify init fails when using AWS IAM Identity Center: Failed to get profile credentials, Unexpected token A in JSON at position 0

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v18.16.0
Amplify CLI Version
12.0.3
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No, I'm not even able to init.
Describe the bug
Tryin to use Amplify with AWS IAM Identity Center. amplify init --debug fails with the following error:
 Failed to get profile credentials
Unexpected token A in JSON at position 0

Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/

ProfileConfigurationError: Failed to get profile credentials
    at Object.getAwsConfig (/snapshot/repo/build/node_modules/@aws-amplify/amplify-provider-awscloudformation/lib/configuration-manager.js:939:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.run (/snapshot/repo/build/node_modules/@aws-amplify/amplify-provider-awscloudformation/lib/initializer.js:119:27)

Unexpected token A in JSON at position 0
ProcessCredentialsProviderFailure: Unexpected token A in JSON at position 0
    at /snapshot/repo/build/node_modules/aws-sdk/lib/credentials/process_credentials.js:142:13
    at ChildProcess.exithandler (node:child_process:411:7)
    at ChildProcess.emit (node:events:513:28)

Expected behavior
AWS nudges/recommends to use AWS IAM Identity Center. I would expect Amplify to be able to work with it. Is this not supported yet?
Reproduction steps
The same behavior was reported by @josefaidt in https://github.com/aws-amplify/amplify-cli/issues/12174#issuecomment-1476927553
The issue says it's fixed, but I'm using the latest version and it's apparently not fixed.
Steps to reproduce:

aws configure sso
amplify init

This will fail with Cannot read properties of undefined (reading 'accessKeyId').

Manually add credential_process = aws sso login --profile ... to ~/.aws/config.
amplify init now redirects to SSO. After a successful login, the error above appears.

Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Hey @restfulhead :wave: thanks for raising this! How do you have your ~/.aws/config file structured? When setting up SSO profiles you will also specify an sso-session entry:
[profile sso-josef]
sso_session=josef
sso_account_id=8147xxxxxx
sso_role_name=AdministratorAccess
region=us-east-1
credential_process=aws sso login --profile sso-josef

[sso-session josef]
sso_start_url=https://d-xxxxx.awsapps.com/start
sso_region=us-east-1
sso_registration_scopes=sso:account:access

the sso-session entry should not show up in the list of available AWS profiles displayed during the amplify init flow. Can you confirm you have a setup similar to the example shown above? Are you able to use the associated AWS profile?

Are you able to use the associated AWS profile?

Yes, CLI and also SAM work just fine.

Can you confirm you have a setup similar to the example shown above?

Yes, mine looks similar:
[profile default]
sso_session = default
sso_account_id = ***
sso_role_name = AdministratorAccess
region = us-east-1
output = json
cli_pager=

[sso-session default]
sso_start_url = https://d-***.awsapps.com/start
sso_region = us-east-1
sso_registration_scopes = sso:account:access

the sso-session entry should not show up in the list of available AWS profiles displayed during the amplify init flow.

Oh, but it does show up:

Btw, today I get another error:
🛑 Internal server error

Learn more at: https://docs.amplify.aws/cli/project/troubleshooting/

ProjectInitFault: Internal server error
    at init (/snapshot/repo/build/node_modules/@aws-amplify/amplify-provider-awscloudformation/lib/amplify-service-manager.js:200:13)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.run (/snapshot/repo/build/node_modules/@aws-amplify/amplify-provider-awscloudformation/lib/initializer.js:132:9)

Hey @restfulhead thanks for checking on that! It's interesting the sso-session is showing up in this profile list. It showed up for me on the first init, but after I selected the associated profile the sso-session entry disappeared from the list. Using the default profile in your case should work, however there is an active issue in us-east-1 that is causing the 500 "internal server error" you're seeing https://health.aws.amazon.com/health/status
I will mark this as a bug to remove the sso-session entries from the AWS profile list


Duplicate auto includes with relative path

Please describe the problem.
When auto include completion kicks in, it can't seem to account for relative paths when determining if something is already included.
If you can, provide a minimal chunk of code that shows the problem (either inline, or attach it if larger).
Create files:
src/foo/Foo.hpp
src/foo/Foo.cpp

In src/foo/Foo.hpp
class Foo {
   static void Bar() {}

  void MyFunct();
};

In src/foo/Foo.cpp
#include "foo/Foo.hpp" # Format required by linter to have "path/file.hpp"

void Foo::MyFunc() {

}

In Foo.cpp
Type:  Foo:: + tab and autocomplete Bar()
This will autocomplete the function, but it will also include: Foo.hpp despite foo/Foo.hpp already being included.
System information
Output of clangd --version:
thomasjv-mbp:~$ clangd --version
Apple clangd version 15.0.0 (clang-15<IP_ADDRESS>)
Features: mac+xpc
Platform: x86_64-apple-darwin22.6.0

Editor/LSP plugin:
VS Code + VSCode remote
Operating system:
Mac OS/RHEL on remote host.

How did you resolve foo/foo.h? I could not reproduce this using relative paths with ../.
The code that I tested was:
src/foo/foo.h
#pragma once

class Foo {
  static void Bar() {}
  void MyFunct();
};

src/foo/foo.cpp
#include "../foo/foo.h"

void Foo::MyFunct() {
    Foo::Bar();
}

When I autocompleted Bar(), `foo wasn't included again.


Add pytest output for local development setup

This PR addresses the task - Issue #3.
Changes made:

Set up a local development environment for the NetworkX project following the Contributor Guide.
Ran tests locally using pytest.
Added a file nx_dev_test_output.txt containing the output of the pytest command.

Thanks!


feat: experimental live preview feature

Introducing an experimental live preview feature to the Astro SDK, enabling real-time editing for an enriched user experience. To activate, simply set experimentalLivePreview to true within your astro.config.mjs file. Additionally, leverage useStoryblok on your Astro pages for story fetching instead of useStoryblokApi. This update brings no breaking changes, empowering users to seamlessly enhance their editing workflow.

Closing this PR now. I'll create a new PR shortly to address the latest changes.


How to disable editable of input element. User can edit only with controls.

How to disable editable of input element. User can edit only with controls.

How can I update this in my own project?


Add upconfig command for Solr

Port it from zkcli bundled with Solr

[ ] Create a command that does nothing
[ ] See how Solr implementation works
[ ] Port Solr implementation


LibVCS4j

I propose to add https://github.com/uni-bremen-agst/libvcs4j. The library allows existing analysis tools to examine the evolution of software systems by providing a common API for different version control systems and issue trackers. Furthermore, there is a subproject that is capable of collecting different size and complexity related metrics for several programming languages (using the ConQAT scanner library).

Sounds good! I'm just not sure about the category, though.
How about "Linting Engines" or simply "Helper Tools"? What do you think?

How about "Supporting Tools"?

Sounds good! Can you create the pull request?


feat: add unit tests for navigation component

Description

This PR introduces tests for the navigation component , there are many sub components in navigation  , which are covered by this pull request

Related issue(s)
fixes #2066

/rtm


Create custom example : Pagination- with page numbering,Delete action for every column and custom class to data cells of particular column

Showing page numbering to navigate through different pages at the bottom (Main focus)
Added custom column action (deleting of the row)
Used Dynamic classes to style data cells - not suited(checks every data cell in table)

Note : Add your own modules.css file

I have updated this example i would be closing it and provide the updated example later on


How to upsample sparse point clouds data

Hi，
Thanks again for such a brilliant work, it's really helpful!
I have a question about the Fig.1  in your paper.

The figure  shows the sparse LiDAR inputs and  upsampled results as point clouds. But how is this process implemented in the network?During the training phase, was only the original image diffusion process from pure Gaussian noise performed? And should I consider two types of point clouds (sparse or dense) as x_t and x_s in the denoising process?
How should I apply the DDPM network,  input a 16 beams sparse LiDAR point cloud  and to achieve a 64 beams dense  LiDAR point cloud as output? Is there any related. py files? or should I take the 16 beams point data as test split and run completion_demo.py?

Thank you for the question!
The upsampling can be performed by exploiting the pre-trained unconditional DDPM, which is implemented as a class function here:
https://github.com/kazuto1011/r2dm/blob/004a1e46beb6d953b6fac06869408036aba5ef80/models/diffusion/continuous_time.py#L263-L273
Please call repaint() instead of sample(). The usage is here in completion_demo.py:
https://github.com/kazuto1011/r2dm/blob/004a1e46beb6d953b6fac06869408036aba5ef80/completion_demo.py#L89-L99
x_in and mask are all you need to prepare. x_in is the sparse input in (batch size, 2, height, width) where the unknown pixels are filed with 0 (anything ok, actually). mask is also in (batch size, 2, height, width).
The approach is from RePaint [Lugmayr+, CVPR'22]
Training and unconditional sampling are by denoising x_t into x_s at each step, starting from $\mathcal{N}(0,1)$. The upsampling is by denoising x_t and then resetting the known pixels with noised x_in via $q(z_s|x)$.

Thank you for your detailed reply! I'll try conducting an upsampling experiment.😃

Yes, almost correct. We can compute the noising $q(z_s|x)=\mathcal{N}(\alpha_s x,\sigma_s I)$ analytically without the model.
https://github.com/kazuto1011/r2dm/blob/004a1e46beb6d953b6fac06869408036aba5ef80/models/diffusion/continuous_time.py#L299-L301
q_step_from_x_0() is analytic noising, and p_step() is denoising by prediction.

Thank you very much. I think I completely understand now.

@NathanDrake67 Hello, did you succeed in upsampling LiDAR point cloud?

@NathanDrake67 Hello, did you succeed in upsampling LiDAR point cloud?

Yes, just follow the code in completion_demo.py
r2dm/completion_demo.py
Lines 89 to 99 in 004a1e4
 x_out = ddpm.repaint(
     known=x_in,
     mask=mask,
     num_steps=args.num_steps,
     num_resample_steps=args.num_resample_steps,
     jump_length=args.jump_length,
     rng=utils.inference.setup_rng(range(batch_size), device=device),
 ).clamp(-1, 1)

If you have 64 beams LiDAR data , you can use mask to erase a few lines of the range image(so that the data you give would be more like a 32 or 16 beams LiDAR data), and then the model will generate a complete range image, thus succeed in upsampling the LiDAR point cloud.
or if you have just 16 beams LiDAR ponit loud data ,you can just follow the origin method to generate a range image ( obviously,  many rows will be 0，but this is okay )，then use repaint to generate, and once the generation is completed, upsampling is completed．
I hope this can be helpful to you～😂

@NathanDrake67 Hello, did you succeed in upsampling LiDAR point cloud?

Yes, just follow the code in completion_demo.py

Ok thanks, I have 32 beams LiDAR point cloud, I'll see what I can do :), Also I can't get a pretrained model, do you know how I can do it?

The pre-trained models are here!
https://github.com/kazuto1011/r2dm/releases/tag/weights

@NathanDrake67 Hello, did you succeed in upsampling LiDAR point cloud?

Yes, just follow the code in completion_demo.py

Ok thanks, I have 32 beams LiDAR point cloud, I'll see what I can do :), Also I can't get a pretrained model, do you know how I can do it?

you can find pretrained models here, as the  author mentioned😀
https://github.com/kazuto1011/r2dm/releases/tag/weights

@NathanDrake67 Hello, did you succeed in upsampling LiDAR point cloud?

Yes, just follow the code in completion_demo.py

Ok thanks, I have 32 beams LiDAR point cloud, I'll see what I can do :), Also I can't get a pretrained model, do you know how I can do it?

you can find pretrained models here, as the project owner mentioned😀 https://github.com/kazuto1011/r2dm/releases/tag/weights

Thanks! This may be a silly question, but here's my problem. I have 32-beam lidar data that I've downsampled myself, and my goal is to upsample them again by testing different methods. These are point clouds from the Kitti 3d object detection dataset, so they're in .bin format. For now, I'm unable to upsample using this method with a point cloud to test, I put my point cloud in x_in as a torch tensor, but it's not working. Do you think it's possible, and if so, could you explain how to do it? Thank you very much!

@NathanDrake67 Hello, did you succeed in upsampling LiDAR point cloud?

Yes, just follow the code in completion_demo.py

Ok thanks, I have 32 beams LiDAR point cloud, I'll see what I can do :), Also I can't get a pretrained model, do you know how I can do it?

you can find pretrained models here, as the project owner mentioned😀 https://github.com/kazuto1011/r2dm/releases/tag/weights

Thanks! This may be a silly question, but here's my problem. I have 32-beam lidar data that I've downsampled myself, and my goal is to upsample them again by testing different methods. These are point clouds from the Kitti 3d object detection dataset, so they're in .bin format. For now, I'm unable to upsample using this method with a point cloud to test, I put my point cloud in x_in as a torch tensor, but it's not working. Do you think it's possible, and if so, could you explain how to do it? Thank you very much!

Are you just put your point cloud in the form of (N, 3) Tensor?  acctually the repaint function in completion_demo.py needs a （1，2，64，1024）shape tensor  as "x_in" input , so you need to transform your point cloud data into a range image  first ~
I hope I didn't misunderstand your question😂

Are you just put your point cloud in the form of (N, 3) Tensor? acctually the repaint function in completion_demo.py needs a （1，2，64，1024）shape tensor as "x_in" input , so you need to transform your point cloud data into a range image first ~ I hope I didn't misunderstand your question😂

Thank you very much! at least I can run it and I understand how it works better. I'm still having a few problems with the transformation of my cloud data point into range image, I'm getting a very bad image. could you tell me how you did it?

The following function may help you, which loads .bin file and converts it to the range image by spherical projection (scan_unfolding=False).
https://github.com/kazuto1011/r2dm/blob/5335ba6c571c7ddca740437d179c41ca06f8b1df/data/kitti_360/kitti_360.py#L34-L93

The following function may help you, which loads .bin file and converts it to the range image by spherical projection (scan_unfolding=False).
https://github.com/kazuto1011/r2dm/blob/5335ba6c571c7ddca740437d179c41ca06f8b1df/data/kitti_360/kitti_360.py#L34-L93

Thanks a lot!

I can now get it to work, but the results aren't very convincing as you can see, I've tried every pretrained model and the result is always very different from what I wanted.

I'm using a .bin input cloud extracted from the Kitti 3D Object detection dataset, which was taken with the same Lidar as for the Raw kitti or kitti360 dataset. I don't understand why I have such a difference in the results. Do you have any idea why?


auto-close runner when user closes session

resolved by https://github.com/PMET-public/action-tmate/commit/b0ec21af4847e75e2ac61b4656a35ca9a5c8ec93


Loading UI with super slow connection shows different icons

Version: Master on 4/7/15
When the internet was extremely slow, I got a strange loading of the Rancher UI.

Weird.. the request for one version of the font must be timing out and one of the other variants succeeds.

We no longer use this icon set, or remote hosting of them.


Feature/location

@harshkhare3 Please describe what this pull request is for. And change the pull request to merge into the develop branch.

feat: convert addresses into a geocode


Added spuvvn.txt

Added my university domain.
University website: https://www.spuvvn.edu/
IT related course: https://www.spuvvn.edu/academics/departments/computer-science/academic-programmes/
Contact us:: https://www.spuvvn.edu/contacts/

University website: https://www.spuvvn.edu/

@davedarshana Thank you for your patience while waiting for a review and processing your request. Pull request merged. Please start applying for JetBrains educational subscription at https://www.jetbrains.com/shop/eform/students in an hour, to allow the changes to propagate through JetBrains systems.

Thanks @philipto for your prompt action on this matter.


ENH: Update for ITKPythonPackage script updates

Changes:

Expose ITKPythonPackage organization and tag parameters to facilitate 1) testing ITKPythonPackage script updates from user forks and 2) applying ITKPythonPackage script patches introduced after packaging in ITKPythonBuilds archives
Update MANYLINUX_VERSION parameter for Linux wheel build scripts

Depends on https://github.com/InsightSoftwareConsortium/ITKPythonPackage/pull/233

Moving forward with merging, only change from review was updating ITKPythonPackage hash to reference merge commit in master branch rather than dev branch


New Component: Markdown Editor

Can anyone recommend a Markdown editor which uses a toolbar (like on GitHub comments for example)? I've found https://github.com/sparksuite/simplemde-markdown-editor and https://github.com/Ionaru/easy-markdown-editor.
Cc @jepsar

We need this our customer as well.

I was thinking the same on my morning run. I'd better make this into a component.

I don't like the fact that both editors try to be kind of WYSIWYG.

Well if we decide on one I don't mind taking the first shot at implementing it?

Ha, they looked too similar. https://github.com/Ionaru/easy-markdown-editor is a fork. The other one seems to be dead.

Made great progress, this should be ready for review tomorrow or tuesday!


Feature Request: Direct display of important messages

It would be cool if some important messages can be displayed instantly after a REST command is received.

I would be interested in this feature as well. Ideally a 'slot' that would override all other slots until another REST command was received to revert to the original slots

Idea:

Activate slot via POST /display/slot/<id>

The slot will be only activated, if it contains a enabled plugin.
If a different slot is marked sticky, the requested slot will not be activated.

Set slot sticky, which means the slot will be activated and slot scheduling is disabled. POST /display/slot/<id> sticky=true

Only one slot can be marked sticky.
If plugin is removed from slot, sticky flag will be removed and slot scheduling resumes with next slot.
If a slot shall be set sticky and a different slot is already marked sticky, the sticky flag is moved to the requested one.

Remove sticky flag and resume slot scheduling with next slot.: POST /display/slot/<id> sticky=false

Implemented in Development branch. Will be available in christmas release.


Bump latest dockcross for testing

Pull Request Test Coverage Report for Build #316

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

Totals

Change from base Build #314:
0.0%

Covered Lines:
481

Relevant Lines:
484

💛  - Coveralls


Cannot parse string with 1 day digit and June/July

Observed Behavior
$./dateparse "1 July 2013"
fatal: parsing time "1 July 2013" as "2 Jany 2006": cannot parse "uly 2013" as " Jany "

Expected Behavior
Parses string without error
Notes
I also observe this behavior on the latest commit with "9 June 2013" but not with "19 June 2013"

thanks for the report, will get this as soon im back from travelling, probably be a few days.

sorry it took so long, fix merged in, thank you for report.


feat: add generic sql driver (via db0)

Hello!
Resolves https://github.com/unjs/unstorage/issues/400
I added tests for libsql (local file) and postgresql (only runs when the connection string in the .env is present.
And I also updated the docs.
Notes:

Inlining db0 in the vitest config was necessary because of this error from the postgres test

FAIL  test/drivers/db0.test.ts [ test/drivers/db0.test.ts ]
SyntaxError: Named export 'Client' not found. The requested module 'pg' is a CommonJS module, which may not support all module.exports as named exports.
CommonJS modules can always be imported via the default export, for example using:
import pkg from 'pg';
const { Client } = pkg;

In the docs I used ```sql blocks but it's not added in the undocs config

 WARN  [@nuxtjs/mdc] Language "sql" is not loaded to the Shiki highlighter, fallback to plain text. Add the language to "mdc.highlight.langs" to fix this.

Thanks for the PR dear @zsilbi it is a good start.
TBH i have to go over it for next steps (and we need a newer db0 release since it is stall in current experimental version) but some pointers if you can help in the meantime:

We need to most importantly support sqlite dialect for db0 and have it as default
Table creation should be automated too so that this driver can be used in zero config setups (we might need to have migration too later as a note)
(chore) i would remove dotenv requirement. pglite and sqlite can be used for testing

Table creation should be automated too so that this driver can be used in zero config setups

Should it always try to create the table before the first query, or only after the first failed query and then retry?
To make it more easier to configure, dialect entries could also be added to db0 connectors.
The database instance could return the dialect of the provided connector so this driver could use that.

or only after the first failed query and then retry?

i wasn't thinking of it sounds a nice idea!

To make it easier to configure, dialect entries could also be added to db0 connectors.

i was thinking of it actually! feel free to open an issue in db0 to support this.

or only after the first failed query and then retry?

i wasn't thinking of it sounds a nice idea!

I got this working. It also stores the promise of the CREATE TABLE query, so concurrent queries could queue up waiting for the same promise to be fulfilled.

I would remove dotenv requirement. pglite and sqlite can be used for testing

I'll change it to use pglite when it will be available: https://github.com/unjs/db0/pull/110


Component not found on createApp reload

Reproduction link
codesandbox.io
Steps to reproduce
   function loadEvent(resumeData = null) {
      createApp(eventMainComponent, {resumeData: resumeData}).use(OpenLayersMap).mount("#Vue-events")
    }

What is expected?
Component uses OpenLayersMap
What is actually happening?
Not sure if this is related to OpenLayers or Vue3-OpenLayers or simply Vue3
problem is OpenLayersMap not found inside the created app on a reload
in the sandbox you see the map disappear on reload
My application is not a full vue application
my menu loads vue instances in the website dynamically
for example I click on Events and this will trigger the following code:
    import OpenLayersMap from 'vue3-openlayers'
    createApp(eventMainComponent,{resumeData:resumeData}).use(OpenLayersMap).mount("#Vue-events")

works like a charm the first time but I switch to another page lets say blog
then if I reload Events that will execute the same code above I get
    [Vue warn]: injection "ol-format" not found. which refers to const format = inject('ol-format');

this is not related to lib.

I agree
I posted on vue@next and they told me to post on your lib lol


Add social media badges

Should include:

[ ] Linkedin
[ ] Twitter

hey, it's me again 😄  Where do you want these badges to be added in the UI?

@areknow, do you have any suggestions?

@areknow, do you have any suggestions?

I'll put a design together tomorrow

I would keep it pretty simple like this:

Created #6 @beeme1mr @areknow please take a look and let me know your thoughts!

Thanks @Sreejit7


Escape input to not break markdown

I started using the Bitbucket inlet and realised that some strings coming from CI break the Markdown, so they need to be properly escaped before using as part of a Markdown message.

Thanks!


add angular training

was in orphaned branch angular-training

@ebrehault There are still a bunch of rst-issues.
Also: I think it should be split in several files.

WARNING: angular/angular.rst:1060: (SEVERE/4) Title level inconsistent:

Creating a theme to handle the configuration
++++++++++++++++++++++++++++++++++++++++++++
WARNING: angular/angular.rst:1108: (SEVERE/4) Title level inconsistent:

Pushing the Plone configuration from the Angular project
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
WARNING: angular/angular.rst:1137: (SEVERE/4) Title level inconsistent:

Moving logic in a service
+++++++++++++++++++++++++
WARNING: angular/angular.rst:1140: (SEVERE/4) Title level inconsistent:

Reactive programming with RxJS
++++++++++++++++++++++++++++++
WARNING: angular/angular.rst:1143: (SEVERE/4) Title level inconsistent:

Enabling offline & PWA
++++++++++++++++++++++
WARNING: angular/angular.rst:1148: (SEVERE/4) Title level inconsistent:

SEO and server-side rendering
+++++++++++++++++++++++++++++

@ebrehault I'll merge it now. Since the build is greend you can fix the rst-issues later.

Ok I will.
Thanks.

@ebrehault I can work on this over the weekend.

@fulv oh that would be nice!
By the way, we will have 28 people in our training at Barcelona :)


Ability for apps to directly link to the register page

Currently, when you log into the default flow, you will be directed to the login screen. There is no way for apps to have a "Sign Up For Solid" button and link to a login screen (Well there is on NSS, but I think that's going to be deprecated). CSS should allow for this.
This is currently not in the spec, so a bit of research will be needed to complete this. There was a draft spec on how to do this somewhere, but I'll need to look it up.

This was solved by #749 if I understand correctly. Not spec-compliant since there is no spec yet but that should be solved in the spec repo if required.


Accept uuid.UUID objects in UUID validator

Fixes #549 and https://github.com/flask-admin/flask-admin/issues/1444
Better implementation of #609

Test Result:
================================================= test session starts =================================================
platform win32 -- Python 3.10.2, pytest-7.2.1, pluggy-1.0.0 -- C:\Users\JayTurner\.virtualenvs\wtforms-V-P53RkO\Scripts\python.exe
cachedir: .pytest_cache
rootdir: C:\Users\JayTurner\Personal\wtforms, configfile: setup.cfg
collected 7 items

tests/validators/test_uuid.py::test_valid_uuid_passes[2bc1c94f-0deb-43e9-92a1-4775189ec9f8] PASSED               [ 14%]
tests/validators/test_uuid.py::test_valid_uuid_passes[2bc1c94f0deb43e992a14775189ec9f8] PASSED                   [ 28%]
tests/validators/test_uuid.py::test_valid_uuid_passes[uuid_val2] PASSED                                          [ 42%]
tests/validators/test_uuid.py::test_bad_uuid_raises[2bc1c94f-deb-43e9-92a1-4775189ec9f8] PASSED                  [ 57%]
tests/validators/test_uuid.py::test_bad_uuid_raises[2bc1c94f-0deb-43e9-92a1-4775189ec9f] PASSED                  [ 71%]
tests/validators/test_uuid.py::test_bad_uuid_raises[gbc1c94f-0deb-43e9-92a1-4775189ec9f8] PASSED                 [ 85%]
tests/validators/test_uuid.py::test_bad_uuid_raises[2bc1c94f 0deb-43e9-92a1-4775189ec9f8] PASSED                 [100%]

================================================== 7 passed in 0.02s ==================================================

I have reformted the imports on re the tox style checks and added a changelog entry

Hi @TurnrDev
I was thinking about this PR and I was wondering: if the validator gets UUID objects in the end, that means that it has been initialized with model data, and it has been validated without formdata (else the formdata would have been validated, and formdata can only be strings). Out of curiosity, why do you validate your model data?

Hi @azmeuk
I encoured this issue when using flask-admin with sqlalchemy. I can't say for sure why they're doing what they're doing.


Unique footprint

Hey guys. How can we determine that a particular site is built using Sanic?

You cannot. This is a rather intentional decision that has been made. Sanic tries to remain unopinionated where it can. One of those decisions means not adding a Server header, which could potentially open up a security issue.
For example, if there became known a security issue in Sanic, it would be possible for someone to exploit a site that has not upgraded. It literally would be an advertisement that it is vulnerable. Therefore, we suggest any app developer that wants to provide this information do so with their own knowledge and consent.
from sanic import HTTPResponse, Sanic, __version__

app = Sanic("TestApp")

@app.on_response
async def on_request(_, response: HTTPResponse):
    response.headers["server"] = f"Sanic, v{__version__}"


fix(docs): fix typos

Fixed small typos, nothing to be worried about. :smile:

LGTM

Thanks, could you change the commit message to docs: Fix typos please, as fix is only for actual code change.s

There were the following issues with your Pull Request

Commit: a8bcb90a04af3f2063f5e452f7157d31b6df760a
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at http://karma-runner.github.io/0.13/dev/git-commit-msg.html

This message was auto-generated by https://gitcop.com

Done :octocat: !

Thanks :octocat:


Pagination: Linear growth of execution time with LIMIT / OFFSET

@Tpt great work with oxigraph, I have been using it extensively for more than a year.
Recently I've needed to traverse very large graph by querying batches of instances (where instance === set of triples defining an instance of specific class === subgraph).
I've ran experiment where I have:

50 000 instances
or 3 400 000 triples (1 instance === 68 triples)

I've queried these instances in batches of 1000 using CONSTRUCT query with LIMIT and OFFSET, where:

LIMIT was set to 1000
while OFFSET was moved from 0 to 49 000

The result of given experiment one can see here:

As you can see there is continuous growth of query time for a batch of 1000 instances === 68000 triples.
Is this to be expected?
Any suggestion how I can alleviate this issue?

Seems that the best way to accomplish my work is to use DESCRIBE and iterate over an array of Instance ids , as I have mean query time of 1.35 ms.

@Tpt great work with oxigraph, I have been using it extensively for more than a year.

Thank you!

Is this to be expected?

Sadly yes. Oxigraph relies on RocksDB that does not allow to skip a given number of values (skipping a number of values does not plays well with LSMTs). Hence, when evaluating a query with an OFFSET, the evaluator can't actually skip and still have to iterate on the skipped results.
However, Oxigraph is currently quite naive in the way skipping is implementing, the evaluator will build the skipped intermediate results before discarding them instead of just ignoring what RocksDB returns. Hence it will do a lot of wasteful work. If we fix that, it should be possible with a bit of work to get much faster results (but sadly, with still a linear slowdown).

Any suggestion how I can alleviate this issue?

Depending on the queries, Oxigraph might not have to construct the full result set into memory and will just stream the results back. So, doing a single query without LIMIT and OFFSET might work.

@Tpt thanks for comprehensive answer. I will report back how my experimentation is going.

DESCRIBE ended up as the choice leading to about 2 ms/instance speed which is for our use-case more than enough. Still a lot to gain by moving from sequential to parallel SPARQL queries.


{Release} bump version and add history for azure firewall

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/MyronFanQiu/azure-cli-extensions.git@release-new-azure-firewall#subdirectory=src/$EXT&egg=$EXT"


Retrieve study data from a database.

I am trying to retrieve data from database.  Where should I modify?
Is there any way to fetch study data from my database. Mongodb.
Please suggest me if any.
It will be my pleasure.

Take a look at our data sources
https://docs.ohif.org/configuration/dataSources/introduction


[NodeJS] Crafty.init is not a function.

Im trying to get Crafty to work. I tried it in VSCode and on RunKit, and both threw the same error.
TypeError: Crafty.init is not a function
Level1.js:3
    at Object.<anonymous> (/Users/gingkathfox/Desktop/Overtime-Game/Level1.js:3:8)
    at Module._compile (module.js:640:14)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
    at tryModuleLoad (module.js:499:12)
    at Function.Module._load (module.js:491:3)
    at Function.Module.runMain (module.js:684:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3

code file: Level1.js.zip

Hmm, I can't reproduce in a normal context.
Here is an updated version of the npm example.  When I run that locally, crafty is imported correctly.
So it seems that craftyjs isn't being found correctly when you're requiring it, possibly due to the way your environment is setup.  I'm not familiar with how node modules are used within VSCode or RunKit, could you provide a bit of background on what you're trying to accomplish?

Im helping develop a game, and since JS is the only language I know well, I wanted the engine to be in JS. I found Crafty, and decided to use it.
I don't think VSCode does anything to the node modules, it calls node to debug and run it.

VSCode is written in Electron, so it probably does have some way of running js as if it were in a browser, using html rendering.  I've only ever used it as an editor, though, since that's its primary focus.  How are you attempting to invoke Level1.js from within VSCode?
I'd suspect you'll probably find it easier to follow the example, spinning up a node server locally to run your code in a browser.   (You can just clone the repo as a starting point.) The example uses browserify to assemble everything, but it should be possible to use alternatives  like webpack if you like.

Since I couldn't reproduce, closing the issue.
Feel free to reopen with more details!


Make Algolia requests for Chapters page directly from FE

Is your feature request related to a problem? Please describe.
At the moment all requests to Algolia go from FE to BE and then to Algolia index engine.
Describe the solution you'd like
Implement logic for the Chapters page to request data from Algolia right from FE (w/o sending it to BE first)
Additional context
https://www.algolia.com/doc/libraries/javascript/v5/

I would like to work over it @arkid15r

@arkid15r seems interesting should I take it ?...let me know if any other contributor is interested in it !

We're going to start enforcing the 2 tasks per person rule I mentioned last week.
You're welcome to take this one after you're done with your current tasks -- https://github.com/orgs/OWASP/projects/43/views/1?filterQuery=-status%3ADone+assignee%3Ayashpandey06

Hii @arkid15r,
I am interested.
can you please assign it to me.


type 'function-val' should become 'function'

The types 'function-val' and 'member-function-val' should become 'function' to make them consistent with the type pattern %function.

Internally we store functions as function values but to the user these look like functions as the type counter part to the %function type pattern which will match both function-val and member-function-val.  This mapping is done in the type module function gettype. Here is a simple example program,
load system io.
load system type.

structure A with
   data a.
   function foo with none do
      return this@a.
   end
end

let o = A(1).

function goo with f:%function do
   return f().
end

let i = goo(o@foo). -- check that member functions are matched by %function
assert (i==1).

-- all of the following return type 'function'
io @println (type @gettype (o@foo)).
io @println (type @gettype (goo)).
io @println (type @gettype (lambda with x do x+1)).


Events class improvements

Made the Events class an all static class instead of a part static part singleton.
Reworded some and added documentation
The last commit adds a TODO because  only the return value returned by the last callback gets returned by the Events::fire() method.
It might be an idea to pass the return value of the previous callback to the next callback in line.
For example it now is impossible to register more then one "on_page_output" callback as only the last one is able to affect the real page output. (libraries/view.php:801)But when changed the first callback is able to modify the $pageContent which then is passed to the next callback in line that can modify it a bit more.

Can you elaborate on what this might solve? Have you done extensive testing on whether this all still works with package level events, regular site events ? etc..?

You mean the TODO part?
Because this commit only contains some cleaned up code with extra docblocks as well.

No, the whole thing - just wanting to make sure that this works with the existing ways of handling events

When you now install two packages which both hook into on_page_output only the return value of one of the two packages is used.
No I haven't done any testing, but most of the events don't expect a return value so it shouldn't be a problem for those events.

Currently if you extend an event more than once and return values from each call, only the last run event will return something. That is obviously not good. What I propose is make what is returned to the Events::fire an array, this would break backwards compatibility, but then we wouldn't have to return -1 to stop the deleting of a user (could return false in an array).
Im also experimenting with passing the error object along:
Events::fire('on_user_custom_validate_password', $password, $passwordConfirm, $e); where $e is the current error object

What about passing the return value of the previously called event to the next in line?
Or maybe passing the return value by reference so in the case of page_output the output can be modified by multiple events.
In the case of returning an array you would get an array with the page output in it changed in various ways.

how would that work for on_user_add if the first event returns false? (just an example)

If the first returns false the second event can that check that return value and if it is already false it doesn't have to do its own checks as the event is canceled already.
Or the second event could do an extra check and if that one succeeds return true again.

Im getting a headache from this, what if one event checks if the email address is allowed to register, and the other logs all sign up requests, if the one that checks the email is executed first and returns false, it would never get logged, (event canceled) how would you get around that?

The event can't be cancelled by the callbacks. When returning false that return value is simply passed to the next callback.
When the last callback is reached that returnvalue is used.
So what the logging callback would do is simply pass along the return value of the previous callback and still log the event.

So it wouldn't pass the user object to the second callback
On Dec 1, 2011 9:53 AM, "Christiaan Baartse" <
<EMAIL_ADDRESS>wrote:

The event can't be cancelled by the callbacks. When returning false that
return value is simply passed to the next callback.
When the last callback is reached that returnvalue is used.
So what the logging callback would do is simply pass along the return
value of the previous callback and still log the event.

Reply to this email directly or view it on GitHub:
https://github.com/concrete5/concrete5/pull/149#issuecomment-2975499

No all arguments should be passed along together with the return value..
Something like this
function fire(array $args) {
    $ret = null;
    foreach ($this->callbacks as $callback) {
        $ret = user_call_func_array($callback, array_merge($args, $ret));
    }
    return $ret;
}

that would work, currently $args isn't an array though, it uses func_get_args() doesn't it?

Let's worry about this post 5.5.


Relax underreporting for CSV prevalence data

Causes the CSV output to mirror the updated formula in the calculator from #564

Closing in favor of #570


more explicit magic and even more shell detection

This fixes the problem where $SHELL isn't available even in .bashrc; at least in docker images based on debian:buster-slim.
resolves https://github.com/teaxyz/setup/issues/131

I am enamored with this robustification. thank you.

This will cause the installer to re-add the shell magic, but that requires you to blow away your installation first.
Also, I already tested running magic twice is safe.


Error messages aren't visible.

For some reason, I can't view some error messages in the console. Instead, all I see is a red line. This seems to happen whenever there's a bug in my code earlier on and just when ndb is just starting up.

Steps to reproduce

ndb version: 1.0.44
Platform / OS version: Windows 10
Node.js version: 8.11.4

What steps will reproduce the problem?
On one occasion, I had accidentally called a function using like object::function instead of object.function. Though, it's been caused by other errors, as well.

Could you check latest ndb version: 1.0.47? This issue should be fixed there.

I checked 1.0.49 and can not reproduce this issue with repro case that works with 1.0.44 so I assume this one was fixed by rolling DevTools frontend and by implementing from scratch detecting and attaching to node process. Feel free to left a comment here or file another issue if you still can reproduce this bug.


WIP: Update the UI of the editor

#147889065

          1 Message

:book:
Nice, more deletions than insertions :red_circle:

  Generated by :no_entry_sign: Danger

@alanpeabody @Justin-Holmes @colinta there is a bunch of css and jso style updates in this PR, not sure if y'all wanted to take a look before I merge it.

I have to be honest though, css is kinda hard to review without just looking at it in a browser. You kind of look at it and say "ok, I guess that change looks like it works for that button with all of the various media queries, LGTM".

LGTM!


make parameter list in results_notebook more readable

include parameter names with values and symbols
add control bounds to the list of "Optimal control parameters:"

is still open
is complete


Make Getting Started labels a bit more clear

Target > Platform to represent target for your RN app
Development > OS to represent your RN Development environment

shipit

Agree with 'Target', maybe 'Development OS' or keeping just 'OS' would be better?

Ugh.... my commits got all crazy here although what is being committed is right. Let me see if i can fix.

I don't like all these commits. And I don't want to deal with squashing, etc. I am just going to create a new pull request, since this was such a simple one.

@JoelMarcey updated the pull request.


Improve FatFs speed by merging wf-fatfs changes

https://github.com/WonderfulToolchain/wf-fatfs is a FatFs fork which contains some interesting speedup. For instance:
#define FF_WF_FAST_CONTIGUOUS_READ  0
#define FF_WF_FAST_CONTIGUOUS_WRITE 0
/* FF_WF_FAST_CONTIGUOUS_* controls whether or not contiguous reads or writes
/  of more than 1 cluster (>4-32KB) are optimized to use large disk_read()
/  and disk_write() calls. This can be useful on platforms where the cost of
/  initializing a sector read/write is large.
/
/  0: Do not optimize this scenario.
/  1: Optimize this scenario.
*/

This should be able to speed up ROM loading (as performed by flashcart menus) by quite a bit, by issuing even just a single read operation.
We should review the change in wf-fatfs and incorporate them if applicable to N64.

How do you feel about submodules?


cmd/list: fix Cask listing

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

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

We don't use cask_options for brew list so we shouldn't be creating a Cask config from the args.
Fixes https://github.com/Homebrew/discussions/discussions/1105.

Review period skipped due to critical label.


Debug stepping becomes really slow when the scene contains a shader material wich uses the TIME uniform.

Godot version
4.0beta15
System information
windows 10 x64, vulkan and opengl
Issue description
While trying to step trough lines in the debugger in a scene that contains a shader material that uses the TIME built-in uniform, the debug steps become really slow.
Steps to reproduce
Open attached project, play "main.tscn" and try to step through the breakpoints with F10 or F12
Minimal reproduction project
NewGameProjectG4B.zip

Another slow debug stepping related bug was reported here:
https://github.com/godotengine/godot/issues/67696

Same, it was slow to the point I thougt it was freezing. Removing my shader from the label I used totally fixed it.

still reproducible on beta 5

Closing as duplicate of https://github.com/godotengine/godot/issues/68232

Yy, you closed this as duplicate of... itself?

Whoops, I had both issues open at once. Should be https://github.com/godotengine/godot/issues/67696


CSUB-179 Fee integration tests for collect coins

Description of proposed changes:
Partial support for collect coins in creditcoin-js. It covers request_collect_coins.
persist_collect_coins and fail_collect_coins are TBD.
Three fee integration tests for request/fail/persist.
Follow up PR for #204
Practical tips for PR review & merge:

[ ] All GitHub Actions report PASS
[ ] Newly added code/functions have unit tests

[ ] Coverage tools report all newly added lines as covered
[ ] The positive scenario is exercised
[ ] Negative scenarios are exercised, e.g. assert on all possible errors
[ ] Assert on events triggered if applicable
[ ] Assert on changes made to storage if applicable

[ ] Modified behavior/functions - try to make sure above test items are covered
[ ] Integration tests are added if applicable/needed

Codecov Report

Merging #268 (e59c1fd) into dev (55a0c46) will increase coverage by 2.02%.
The diff coverage is 90.22%.

@@            Coverage Diff             @@
##              dev     #268      +/-   ##
==========================================
+ Coverage   67.63%   69.66%   +2.02%
==========================================
  Files          36       37       +1
  Lines        6863     7456     +593
==========================================
+ Hits         4642     5194     +552
- Misses       2221     2262      +41

Impacted Files
Coverage Δ

runtime/src/lib.rs
14.05% <ø> (ø)

pallets/creditcoin/src/weights.rs
14.56% <21.62%> (-3.22%)
:arrow_down:

pallets/creditcoin/src/types.rs
73.50% <78.26%> (+1.90%)
:arrow_up:

pallets/creditcoin/src/lib.rs
86.45% <78.57%> (-1.28%)
:arrow_down:

pallets/creditcoin/src/mock.rs
94.09% <83.33%> (ø)

pallets/creditcoin/src/ocw/collect_coins.rs
98.49% <98.49%> (ø)

pallets/creditcoin/src/helpers.rs
92.77% <100.00%> (ø)

pallets/creditcoin/src/ocw.rs
92.20% <100.00%> (-0.15%)
:arrow_down:

pallets/creditcoin/src/ocw/errors.rs
80.55% <100.00%> (+0.55%)
:arrow_up:

pallets/creditcoin/src/ocw/tests.rs
98.32% <100.00%> (+<0.01%)
:arrow_up:

... and 4 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


feat: add support for BLAS Level 1 drotg routine

Fixes #279.
Checklist

[x] Add readme.md
[x] repl.txt
[x] types
[x] package.json
[x] lib
[x] examples
[x] benchmark
[x] test

@kgryte

I guess, I have a lint error in test.assign.js and test.main.js, that was some mixed space and tab indents, I was unable to fix it hence used --no-verify commit, will polish it once all files get in this PR.

All tests and benchmarks cleared, this PR can have a review.

@Pranavchiku Would you be willing to update this PR according to the changes made in commit https://github.com/stdlib-js/stdlib/commit/36b75b3271e9c3ee29c2c4488c3c1420fe48dd2e?

@Pranavchiku When getting mixed tabs and spaces lint errors, in Sublime Text, I simply select all text and then use built in IDE tools to convert indentation from spaces to tabs (or vice versa depending on the file type). In short, prefer resolving this locally rather than using --no-verify.

Updated tests, all tests pass and benchmarks cleared, this PR can have a final review.


Automated cherry pick of #3953: Fix egress e2e test

Cherry pick of #3953 on release-1.6.
#3953: Fix egress e2e test
For details on the cherry pick process, see the cherry pick requests page.

/test-e2e
/test-ipv6-e2e
/test-ipv6-only-e2e
/skip-conformance
/skip-networkpolicy

Codecov Report

Merging #3970 (ad106de) into release-1.6 (34b87e5) will decrease coverage by 10.81%.
The diff coverage is 40.00%.

@@               Coverage Diff                @@
##           release-1.6    #3970       +/-   ##
================================================
- Coverage        64.28%   53.47%   -10.82%
================================================
  Files              279      393      +114
  Lines            27844    53531    +25687
================================================
+ Hits             17899    28624    +10725
- Misses            8025    22454    +14429
- Partials          1920     2453      +533

Flag
Coverage Δ

e2e-tests
49.47% <40.00%> (?)

integration-tests
38.06% <ø> (?)

kind-e2e-tests
47.73% <50.00%> (-3.71%)
:arrow_down:

unit-tests
43.38% <ø> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/agent/route/route_linux.go
29.17% <40.00%> (-20.08%)
:arrow_down:

pkg/controller/egress/store/egressgroup.go
1.72% <0.00%> (-58.00%)
:arrow_down:

pkg/agent/cniserver/pod_configuration_linux.go
26.31% <0.00%> (-40.36%)
:arrow_down:

pkg/controller/ipam/antrea_ipam_controller.go
43.87% <0.00%> (-30.27%)
:arrow_down:

pkg/controller/networkpolicy/endpoint_querier.go
61.46% <0.00%> (-29.97%)
:arrow_down:

pkg/util/sets/string.go
75.00% <0.00%> (-25.00%)
:arrow_down:

pkg/controller/ipam/validate.go
57.95% <0.00%> (-24.31%)
:arrow_down:

pkg/controller/networkpolicy/clustergroup.go
54.14% <0.00%> (-24.17%)
:arrow_down:

pkg/agent/cniserver/ipam/antrea_ipam_controller.go
56.66% <0.00%> (-23.34%)
:arrow_down:

pkg/apiserver/handlers/endpoint/handler.go
47.82% <0.00%> (-22.77%)
:arrow_down:

... and 354 more


[GITHUB-4] Upgrade to Ansible 2.2

Change resolves issue with "Create Consul required directories" with_dict
to generate directories provided in meta/main.yml

I Like

LGTM 👍


Planning to upgrade logo on GitHub Marketplace to Microsoft logo by end of May 2021

Team,
We are planning to upgrade the logo for all 13 GitHub Actions projects listed on the GitHub Marketplace to the official Microsoft logo.

We'd like to make this change by the end of May 2021.
Please let us know if you have any objection, otherwise we'll proceed.
https://github.com/microsoft/raft-action
https://github.com/microsoft/sarif-actions
https://github.com/microsoft/powerplatform-actions
https://github.com/microsoft/psscriptanalyzer-action
https://github.com/microsoft/vs-intellicode
https://github.com/microsoft/setup-msbuild
https://github.com/microsoft/ps-rule
https://github.com/microsoft/RichCodeNavIndexer
https://github.com/microsoft/playwright-github-action
https://github.com/microsoft/DevSkim-Action
https://github.com/microsoft/infersharpaction
https://github.com/microsoft/android-app-size-diff
https://github.com/microsoft/variable-substitution

Looks like this was done a while ago, so I'm closing this!


Cocoapods Says latest version 5.14.0

When I run pod outdated I get
The following pod updates are available:
- FontAwesome.swift 1.9.0 -> 1.9.0 (latest version 5.14.0)

Apparently there is a tag '5.14.0' AFAICT it's not on any branch.
If I run:
git branch -a --contains 8e8912c
the result is empty.
What I guess happened is that a branch was made with a commit
$ git checkout 5.14.0
~/develop/Samples/FontAwesome.swift  [(5.14.0)] $ git lol
* 8e8912c (HEAD, tag: 5.14.0) Bump FontAwesome version to 5.14.0
* 2684b5b (tag: 1.9.0) Bump version to 1.9.0

Then the branch was deleted. git doesn't delete tags even though the branch it's on has been deleted. The tag is keeping that branch alive. I assume this tag was never meant to be kept around.
To fix this the tag needs to be deleted.
git tag -d 5.14.0
This seems also like a Cocoapods issue. I don't see why it should say that a tag on a dead branch is the most recent version when it's not on master and conflicts with what's in the podspec. pod update doesn't update to the 5.14.0 tag.

wild. thanks for letting me know. I just deleted the tag, should fix the issue. close if true, thanks

I can see that the tag is gone (it was previously visible in the GitHub tags menu). But I still get the same output from pod outdated. Maybe it will be fixed next time a new version is released to Cocoapods, but I'm really not sure.
I filed an issue with the Cocoapods project
https://github.com/CocoaPods/CocoaPods/issues/9988

@MatrixSenpai Can you review and maybe comment on the issue in the Cocoapods project listed upthread? A dev there points out that the page below shows that the latest version is 5.14.0. Not sure how that happened or how to fix it.
https://cocoapods.org/pods/FontAwesome.swift

I must have pushed it to the trunk and forgot about it. I'll fix it tonight

Deleting the tag is not enough, you should deprecate/remove the pod in trunk. FYI pod installation is completely broken today.

v5.14.0 has been removed from the pod trunk. Also, @keeshux can you open a new issue with the problems you're experiencing? Please include the version number

v5.14.0 has been removed from the pod trunk. Also, @keeshux can you open a new issue with the problems you're experiencing? Please include the version number

No new issue. I meant that pod 'FontAwesome.swift' could not work until the broken version was removed. Having removed the pod on your end and updated the pod repo on mine, the issue has been solved. Thanks!


New platform dataservices endpoints for Animas pump

@gniezen Back at ya!

LGTM! Merging, and going to make a note on the parent PR to npm link to the right platform-client.


Verification setups

From @mithro on June 5, 2013 3:29
Please check that HDMI2USB works with the following set ups;
Set Up 1

Capture PC: Windows 7
Input PC: Windows 7

I only included this set up as I believe it is what you are testing with at the moment right?
Set Up 2

Capture PC: Ubuntu Precise
Input: Ubuntu Precise computer

Set Up 3

Capture PC: Ubuntu Precise
Input: Windows 7 computer

Set Up 4

Capture PC: Ubuntu Precise
Input: Mac OS X computer

Set Up 5

Capture PC: Ubuntu Precise
Input: Raspberry PI

I can send you a Raspberry Pi if you don't have one.
Set Up 6

Capture PC: Ubuntu Precise
Input: PS3 or Xbox 360 or Nintendo Wii

This is a low priority, but I would like to see what happens - I think HDCP is probably going to make it busted...
Copied from original issue: timvideos/HDMI2USB-jahanzeb-firmware#26

From @micolous on July 11, 2013 17:41
I own an Xbox 360 so can test out things with that.
Input appears to work with the Xbox 360 but there are issues getting the resolution set properly (#30).  Once this is done it works fine at 1024x768@60Hz.  I am able to do this with no special tricks (provided that @jahanzeb's firmware isn't attempting HDCP magic.  I'm able to play games, and even video apps:

Nintendo Wii only has Component and Composite outputs.  The Wii U has HDMI output available but I don't know if it requires HDCP.
Playstation 3 I'm fairly sure is always-on HDCP.
I'll attempt to get in touch with someone to test it out with those other consoles.

From @micolous on July 14, 2013 14:19
I attempted to capture from a Playstation 3 on the weekend, but was unsuccessful.  I forgot to log the LED output when I was trying.  I'm fairly sure this is to do with HDCP.  So I think that testing against the PS3 is a dead-end.
I was not able to borrow a Wii U over the weekend in order to test this.  I may be able to at another time.


pull request for e2e test at 11/10/2016 11:15:08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


⚠ Bofrost.lu has degraded performance

In 8cdb9a8, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1183 ms

Resolved: Bofrost.lu performance has improved in e9fd8cb after 10 minutes.


Clipboard doesn't persist after closing AsciidocFX

When I cut/copy something from AsciidocFX, and then close AsciidocFX, I can no longer paste what I had cut/copied. This is particularly problematic when cutting, since there's no way to get the text back.

It is related to JavaFX and it should be reported to java bug system.


add python-kaleido to binder for edge test

What

addresses edge test failures due to python-kaleido dependency

How to Test

while we do need the dependency in binder, thats not whats causing this to fail. python-kaleido is in edgetests section setup.cfg, so it should be getting installed

https://github.com/capitalone/rubicon-ml/blob/main/setup.cfg#L102

@fdosani any thoughts?

while we do need the dependency in binder, thats not whats causing this to fail. python-kaleido is in edgetests section in setup.cfg, so it should be getting installed

https://github.com/capitalone/rubicon-ml/blob/main/setup.cfg#L102

@fdosani any thoughts?

Seeing if I can recreate this locally.


Add nullable attribute to Select field

This change will allow the drop down field to be optional.

Thanks Matt 🙌


Support variables in Next.js pageProps

Would it make sense to support variables in Next.js pageProps? This would make global variables defined in /markdoc/variables.js available to /pages/_app.js. Happy to try creating a PR if this sounds sensible.

Yes, that works for our use case!
Thanks a lot for this project, it's a joy to work with!


Automated release tweets

I have been trying to build an action that automatically tweets on the xgcm twitter account.
I am hitting some authentication error. Basically I need to enable write access on the twitter dev portal, but I am confused what information I need to provide here

@rabernat do you know what they want from me here?

https://github.com/rabernat/poseidon-bot/blob/master/llcbot.ipynb


[GH-7380] Bugfix/move maximum payload size bytes

Summary
It moves the config entry MaximumPayloadSizeBytes to its correct location. It has nothing to do with storage, but it's rather an API restriction. Also the JSON path is adjusted since it currently incorrect.
Ticket Link
Fixes #7292 and #7380

Hello @ChinoUkaegbu,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.


Dummy pr cov check

@acs-robot a Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

TODO: have to check/make BO listen to multiple events/conditions

Packaging result: :heavy_check_mark: el7 :heavy_check_mark: el8 :heavy_check_mark: debian :heavy_check_mark: suse15. SL-JID 3198


Fail to install with node 5.3.0 due to<EMAIL_ADDRESS>compile

Log below:
$npm install -g api-mock
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"~0.10.4"} (current: {"node":"5.3.0","npm":"3.3.12"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"5.3.0","npm":"3.3.12"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"5.3.0","npm":"3.3.12"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"5.3.0","npm":"3.3.12"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"5.3.0","npm":"3.3.12"})
npm WARN engine<EMAIL_ADDRESS>wanted: {"node":"0.8.x"} (current: {"node":"5.3.0","npm":"3.3.12"})
/usr/local/bin/api-mock -> /usr/local/lib/node_modules/api-mock/bin/api-mock

><EMAIL_ADDRESS>install /usr/local/lib/node_modules/api-mock/node_modules/protagonist
> node-gyp rebuild

  CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/ByteBuffer.o
  CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownNode.o
  CXX(target) Release/obj.target/libmarkdownparser/drafter/ext/snowcrash/ext/markdown-parser/src/MarkdownParser.o
  LIBTOOL-STATIC Release/markdownparser.a
  CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/HTTP.o
  CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSON.o
  CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONOneOfParser.o
  CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONSourcemap.o
  CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONTypeSectionParser.o
  CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/MSONValueMemberParser.o
  CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Blueprint.o
  CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/BlueprintSourcemap.o
  CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Section.o
  CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/Signature.o
  CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/snowcrash.o
  CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/UriTemplateParser.o
  CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/HeadersParser.o
  CXX(target) Release/obj.target/libsnowcrash/drafter/ext/snowcrash/src/posix/RegexMatch.o
  LIBTOOL-STATIC Release/snowcrash.a
  CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/autolink.o
  CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/buffer.o
  CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/markdown.o
  CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/src_map.o
  CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/src/stack.o
  CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_href_e.o
  CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/houdini_html_e.o
  CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html.o
  CC(target) Release/obj.target/libsundown/drafter/ext/snowcrash/ext/markdown-parser/ext/sundown/html/html_smartypants.o
  LIBTOOL-STATIC Release/sundown.a
  CXX(target) Release/obj.target/libdrafter/drafter/src/drafter.o
  CXX(target) Release/obj.target/libdrafter/drafter/src/cdrafter.o
  CXX(target) Release/obj.target/libdrafter/drafter/src/Serialize.o
  CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeAST.o
  CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeSourcemap.o
  CXX(target) Release/obj.target/libdrafter/drafter/src/SerializeResult.o
  LIBTOOL-STATIC Release/drafter.a
  CXX(target) Release/obj.target/libsos/drafter/ext/sos/src/sos.o
  LIBTOOL-STATIC Release/sos.a
  CXX(target) Release/obj.target/protagonist/src/annotation.o
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../../nan/nan.h:261:25: error: redefinition of '_NanEnsureLocal'
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Local<T> val) {
                        ^
../../nan/nan.h:256:25: note: previous definition is here
NAN_INLINE v8::Local<T> _NanEnsureLocal(v8::Handle<T> val) {
                        ^
../../nan/nan.h:661:13: error: no member named 'smalloc' in namespace 'node'
    , node::smalloc::FreeCallback callback
      ~~~~~~^
../../nan/nan.h:672:12: error: no matching function for call to 'New'
    return node::Buffer::New(v8::Isolate::GetCurrent(), data, size);
           ^~~~~~~~~~~~~~~~~
/Users/somebody/.node-gyp/5.3.0/include/node/node_buffer.h:31:40: note: candidate function not viable: no known conversion from 'uint32_t' (aka 'unsigned int') to 'enum encoding' for 3rd argument
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/somebody/.node-gyp/5.3.0/include/node/node_buffer.h:43:40: note: candidate function not viable: 2nd argument ('const char *') would lose const qualifier
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
/Users/somebody/.node-gyp/5.3.0/include/node/node_buffer.h:28:40: note: candidate function not viable: requires 2 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate, size_t length);
                                       ^
/Users/somebody/.node-gyp/5.3.0/include/node/node_buffer.h:36:40: note: candidate function not viable: requires 5 arguments, but 3 were provided
NODE_EXTERN v8::MaybeLocal<v8::Object> New(v8::Isolate* isolate,
                                       ^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../../nan/nan.h:676:12: error: no viable conversion from 'v8::MaybeLocal<v8::Object>' to 'v8::Local<v8::Object>'
    return node::Buffer::New(v8::Isolate::GetCurrent(), size);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/somebody/.node-gyp/5.3.0/include/node/v8.h:210:7: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to
      'const v8::Local<v8::Object> &' for 1st argument
class Local {
      ^
/Users/somebody/.node-gyp/5.3.0/include/node/v8.h:210:7: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'v8::MaybeLocal<v8::Object>' to
      'v8::Local<v8::Object> &&' for 1st argument
class Local {
      ^
/Users/somebody/.node-gyp/5.3.0/include/node/v8.h:214:13: note: candidate template ignored: could not match 'Local' against 'MaybeLocal'
  V8_INLINE Local(Local<S> that)
            ^
/Users/somebody/.node-gyp/5.3.0/include/node/v8.h:326:13: note: candidate template ignored: could not match 'S *' against 'v8::MaybeLocal<v8::Object>'
  V8_INLINE Local(S* that)
            ^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:6:
../../nan/nan.h:683:26: error: no member named 'Use' in namespace 'node::Buffer'
    return node::Buffer::Use(v8::Isolate::GetCurrent(), data, size);
           ~~~~~~~~~~~~~~^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/somebody/.node-gyp/5.3.0/include/node/node.h:42:
/Users/somebody/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Primitive *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/somebody/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:414:12: note: in instantiation of function template specialization 'v8::Local<v8::Primitive>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::Undefined(v8::Isolate::GetCurrent())));
           ^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/somebody/.node-gyp/5.3.0/include/node/node.h:42:
/Users/somebody/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Boolean *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/somebody/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:424:12: note: in instantiation of function template specialization 'v8::Local<v8::Boolean>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(v8::True(v8::Isolate::GetCurrent())));
           ^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/somebody/.node-gyp/5.3.0/include/node/node.h:42:
/Users/somebody/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Function *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/somebody/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~~~~~~~~~~~~~~~~~~
../../nan/nan.h:1514:12: note: in instantiation of function template specialization 'v8::Local<v8::Function>::Local<v8::Value>' requested here
    return NanEscapeScope(NanNew(handle)->Get(kCallbackIndex)
           ^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
In file included from ../src/annotation.cc:1:
In file included from ../src/protagonist.h:4:
In file included from /Users/somebody/.node-gyp/5.3.0/include/node/node.h:42:
/Users/somebody/.node-gyp/5.3.0/include/node/v8.h:221:5: error: assigning to 'v8::Object *volatile' from incompatible type 'v8::Value *'
    TYPE_CHECK(T, S);
    ^~~~~~~~~~~~~~~~
/Users/somebody/.node-gyp/5.3.0/include/node/v8.h:180:37: note: expanded from macro 'TYPE_CHECK'
    *(static_cast<T* volatile*>(0)) = static_cast<S*>(0);      \
                                    ^ ~/~~~~~~~~~~~~~~~~
../../nan/nan.h:1632:12: note: in instantiation of function template specialization 'v8::Local<v8::Object>::Local<v8::Value>' requested here
    return NanEscapeScope(handle->Get(NanNew(key)).As<v8::Object>());
           ^
../../nan/nan.h:398:30: note: expanded from macro 'NanEscapeScope'
# define NanEscapeScope(val) scope.Escape(_NanEnsureLocal(val))
                             ^
9 errors generated.
make: *** [Release/obj.target/protagonist/src/annotation.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:270:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Darwin 15.3.0
gyp ERR! command "/usr/local/Cellar/node/5.3.0/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/api-mock/node_modules/protagonist
gyp ERR! node -v v5.3.0
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS><EMAIL_ADDRESS>install: `node-gyp rebuild`
npm WARN<EMAIL_ADDRESS>Exit status 1
/usr/local/lib
└── (empty)

npm ERR! code 1

+1 We're having the exact same issue, the guys at protagonist have pointed out that they solved the issue in their 1.2.5 version but the package.json of this module is still using the 0.19.6.  See related issue: https://github.com/apiaryio/protagonist/issues/73
Can anybody please upgrade the protagonist version?

+1

+1

Just published 0.3.1 which should work in node 4 and 5


xlm-roberta and Mistral-7B take significant amounts of memory during compilation

While compiling models like HuggingFace protectai/xlm-roberta-base-language-detection-onnx or mistralai/Mistral-7B-v0.1 I notice we take significantly larger amounts of memory than the entire model size during compiling.
For example, the xlm-roberta-base-language-detection-onnx is about 1.11GB but during compile time I see peaks up to 9GB of memory used by onnx-mlir, opt and llc compiling with --O3 --EmitLib --mtriple=s390x-ibm-loz --mcpu=z14 --onnx-op-stats TXT.
The Mistral-7B-v0.1 model is about 29GB but during compile time I see peaks up to 70+Gb and sustained 58GB memory compiling with  --O3 --EmitLib --mtriple=s390x-ibm-loz --mcpu=z14 --store-constants-to-file --onnx-op-stats TXT
Is there anything that can be done to reduce the compile time memory required for these kind of models?

@cjvolzka How can we get onnx model for Mistral-7B-v0.1 ?

@imaihal Sorry, I missed your question. Below is how I generated the Mistral onnx model.
Notes:

I exported the model using my Mac as the tools don't support s390x. Afterward, I transferred the folder it created (with the onnx file and constants) to the s390x host to compile the model.
the huggingface-cli comand will ask a couple of questions:

Use https://huggingface.co/settings/tokens to generate the token it requests
You don't need to add the token as a git credential

pip install huggingface_cli optimum
huggingface-cli login
optimum-cli export onnx --model mistralai/Mistral-7B-v0.1 --framework pt --atol 0.001 --task text-generation Mistral-7B-v0.1-text-generation


[MATLAB] Add Fields property to arrow.tabular.Schema MATLAB class

Describe the enhancement requested
Currently, there is no easy way to extract multiple arrow.type.Fields from an arrow.tabular.Schema object into a single, nonscalar array. Currently, the only way to do so is to iterate over the number of fields in the Schema, call field with each index value, and then concatenate the fields together into one array:
% Create a RecordBatch
>> t = table(1, true, datetime("now"), seconds(1), VariableNames=["Number", "Logical", "Date", "Time"]);
>> rb = arrow.recordBatch(t);

% Extract the RecordBatch's Schema
>> schema = rb.Schema;

% Create the 4x1 Field array
>> fieldCellArray = cell([1 schema.NumFields]);
>> for ii = 1:schema.NumFields
    fieldCellArray{ii} = schema.field(ii);
 end
>> fields = vertcat(fieldCellArray{:})

fields =

  4×1 Field array with properties:

    Name
    Type

We should add a Field property to arrow.tabular.Schema that is a 1xN arrow.type.Field array.
Component(s)
MATLAB

take

Actually, Fields is already a property on arrow.tabular.Schema. It was added here in #37013.
Closing this issue.


fix: Added cross-fetch as an explicit dependency to not rely on it coming from algosdk

This fixes a bug when deploying code to e.g. AWS Lambda and the node_modules is optimised such that cross-fetch isn't able to be imported
Also updated packages to latest versions.

@robdmoore shall we merge this?


[PE-D][Tester B] Crew Members can be duplicated

The allowance of crew members having the exact same field might cause confusion. As shown in the diagram above, an airline manager might mix up two people, on the off chance they have the same name and roles. Using a restriction to a unique list would help solve the issue.

Labels: severity.Medium type.FeatureFlaw
original: Oliverloo0909/ped#1

Done. Now crews should have different names.

I disagree. It would be rude not to allow people with same names.


null resource_owner_id when calling /users/tokens/sign_up

gem "rails", "<IP_ADDRESS>"
gem "devise", "~> 4.9.2"
gem "devise-api", "~> 0.1.1"

After following the instructions in README, when calling:
curl --location --request POST 'http://<IP_ADDRESS>:3000/users/tokens/sign_up' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email"<EMAIL_ADDRESS>    "password": "123456"
}'

I get the following error:
ActiveRecord::NotNullViolation (PG::NotNullViolation: ERROR:  null value in column "resource_owner_id" of relation "devise_api_tokens" violates not-null constraint
DETAIL:  Failing row contains (16, User, null, yFGekCPsECmhuyYCFzxUSwbgrso8zTTTjfoaszJ7s8Mx_VJSq_64njNrsfc-, sW5JeuBM1eAZG_Y939eoo49ETxTd6yzypyaw7j-oSMjaRadxoaC3yx7Ra4So, 3600, null, null, 2023-04-06 15:18:25.860126, 2023-04-06 15:18:25.860126).
):

activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `exec_params'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/postgresql_adapter.rb:768:in `block (2 levels) in exec_no_cache'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/share_lock.rb:187:in `yield_shares'
activesupport (<IP_ADDRESS>) lib/active_support/dependencies/interlock.rb:41:in `permit_concurrent_loads'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/postgresql_adapter.rb:767:in `block in exec_no_cache'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract_adapter.rb:765:in `block in log'
activesupport (<IP_ADDRESS>) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract_adapter.rb:756:in `log'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/postgresql_adapter.rb:766:in `exec_no_cache'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/postgresql_adapter.rb:745:in `execute_and_clear'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/postgresql/database_statements.rb:54:in `exec_query'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract/database_statements.rb:132:in `exec_insert'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/postgresql/database_statements.rb:92:in `exec_insert'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract/database_statements.rb:167:in `insert'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract/query_cache.rb:22:in `insert'
activerecord (<IP_ADDRESS>) lib/active_record/persistence.rb:496:in `_insert_record'
activerecord (<IP_ADDRESS>) lib/active_record/persistence.rb:1096:in `_create_record'
activerecord (<IP_ADDRESS>) lib/active_record/counter_cache.rb:166:in `_create_record'
activerecord (<IP_ADDRESS>) lib/active_record/locking/optimistic.rb:79:in `_create_record'
activerecord (<IP_ADDRESS>) lib/active_record/attribute_methods/dirty.rb:222:in `_create_record'
activerecord (<IP_ADDRESS>) lib/active_record/callbacks.rb:461:in `block in _create_record'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:107:in `run_callbacks'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:929:in `_run_create_callbacks'
activerecord (<IP_ADDRESS>) lib/active_record/callbacks.rb:461:in `_create_record'
activerecord (<IP_ADDRESS>) lib/active_record/timestamp.rb:108:in `_create_record'
activerecord (<IP_ADDRESS>) lib/active_record/persistence.rb:1067:in `create_or_update'
activerecord (<IP_ADDRESS>) lib/active_record/callbacks.rb:457:in `block in create_or_update'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:118:in `block in run_callbacks'
activerecord (<IP_ADDRESS>) lib/active_record/autosave_association.rb:370:in `around_save_collection_association'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:127:in `block in run_callbacks'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:138:in `run_callbacks'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:929:in `_run_save_callbacks'
activerecord (<IP_ADDRESS>) lib/active_record/callbacks.rb:457:in `create_or_update'
activerecord (<IP_ADDRESS>) lib/active_record/timestamp.rb:126:in `create_or_update'
activerecord (<IP_ADDRESS>) lib/active_record/persistence.rb:615:in `save'
activerecord (<IP_ADDRESS>) lib/active_record/validations.rb:47:in `save'
activerecord (<IP_ADDRESS>) lib/active_record/transactions.rb:298:in `block in save'
activerecord (<IP_ADDRESS>) lib/active_record/transactions.rb:354:in `block in with_transaction_returning_status'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract/database_statements.rb:314:in `transaction'
activerecord (<IP_ADDRESS>) lib/active_record/transactions.rb:350:in `with_transaction_returning_status'
activerecord (<IP_ADDRESS>) lib/active_record/transactions.rb:298:in `save'
activerecord (<IP_ADDRESS>) lib/active_record/suppressor.rb:50:in `save'
devise-api (0.1.1) app/services/devise/api/tokens_service/create.rb:29:in `create_devise_api_token'
dry-monads (1.6.0) lib/dry/monads/do.rb:131:in `block in create_devise_api_token'
dry-monads (1.6.0) lib/dry/monads/do/mixin.rb:40:in `call'
dry-monads (1.6.0) lib/dry/monads/do.rb:131:in `create_devise_api_token'
devise-api (0.1.1) app/services/devise/api/tokens_service/create.rb:13:in `call'
dry-monads (1.6.0) lib/dry/monads/do.rb:131:in `block in call'
dry-monads (1.6.0) lib/dry/monads/do/mixin.rb:40:in `call'
dry-monads (1.6.0) lib/dry/monads/do.rb:131:in `call'
devise-api (0.1.1) app/services/devise/api/resource_owner_service/sign_up.rb:31:in `call_create_devise_api_token_service'
dry-monads (1.6.0) lib/dry/monads/do.rb:131:in `block in call_create_devise_api_token_service'
dry-monads (1.6.0) lib/dry/monads/do/mixin.rb:40:in `call'
dry-monads (1.6.0) lib/dry/monads/do.rb:131:in `call_create_devise_api_token_service'
devise-api (0.1.1) app/services/devise/api/resource_owner_service/sign_up.rb:14:in `block in call'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract/transaction.rb:319:in `block in within_new_transaction'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
activesupport (<IP_ADDRESS>) lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract/transaction.rb:317:in `within_new_transaction'
activerecord (<IP_ADDRESS>) lib/active_record/connection_adapters/abstract/database_statements.rb:316:in `transaction'
activerecord (<IP_ADDRESS>) lib/active_record/transactions.rb:209:in `transaction'
devise-api (0.1.1) app/services/devise/api/resource_owner_service/sign_up.rb:11:in `call'
dry-monads (1.6.0) lib/dry/monads/do.rb:131:in `block in call'
dry-monads (1.6.0) lib/dry/monads/do/mixin.rb:40:in `call'
dry-monads (1.6.0) lib/dry/monads/do.rb:131:in `call'
devise-api (0.1.1) app/controllers/devise/api/tokens_controller.rb:17:in `sign_up'
actionpack (<IP_ADDRESS>) lib/action_controller/metal/basic_implicit_render.rb:6:in `send_action'
actionpack (<IP_ADDRESS>) lib/abstract_controller/base.rb:215:in `process_action'
actionpack (<IP_ADDRESS>) lib/action_controller/metal/rendering.rb:53:in `process_action'
actionpack (<IP_ADDRESS>) lib/abstract_controller/callbacks.rb:234:in `block in process_action'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:118:in `block in run_callbacks'
actiontext (<IP_ADDRESS>) lib/action_text/rendering.rb:20:in `with_renderer'
actiontext (<IP_ADDRESS>) lib/action_text/engine.rb:69:in `block (4 levels) in <class:Engine>'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:127:in `instance_exec'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:127:in `block in run_callbacks'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:138:in `run_callbacks'
actionpack (<IP_ADDRESS>) lib/abstract_controller/callbacks.rb:233:in `process_action'
actionpack (<IP_ADDRESS>) lib/action_controller/metal/rescue.rb:22:in `process_action'
actionpack (<IP_ADDRESS>) lib/action_controller/metal/instrumentation.rb:67:in `block in process_action'
activesupport (<IP_ADDRESS>) lib/active_support/notifications.rb:206:in `block in instrument'
activesupport (<IP_ADDRESS>) lib/active_support/notifications/instrumenter.rb:24:in `instrument'
activesupport (<IP_ADDRESS>) lib/active_support/notifications.rb:206:in `instrument'
actionpack (<IP_ADDRESS>) lib/action_controller/metal/instrumentation.rb:66:in `process_action'
actionpack (<IP_ADDRESS>) lib/action_controller/metal/params_wrapper.rb:259:in `process_action'
activerecord (<IP_ADDRESS>) lib/active_record/railties/controller_runtime.rb:27:in `process_action'
actionpack (<IP_ADDRESS>) lib/abstract_controller/base.rb:151:in `process'
actionview (<IP_ADDRESS>) lib/action_view/rendering.rb:39:in `process'
actionpack (<IP_ADDRESS>) lib/action_controller/metal.rb:188:in `dispatch'
actionpack (<IP_ADDRESS>) lib/action_controller/metal.rb:251:in `dispatch'
actionpack (<IP_ADDRESS>) lib/action_dispatch/routing/route_set.rb:49:in `dispatch'
actionpack (<IP_ADDRESS>) lib/action_dispatch/routing/route_set.rb:32:in `serve'
actionpack (<IP_ADDRESS>) lib/action_dispatch/routing/mapper.rb:18:in `block in <class:Constraints>'
actionpack (<IP_ADDRESS>) lib/action_dispatch/routing/mapper.rb:48:in `serve'
actionpack (<IP_ADDRESS>) lib/action_dispatch/journey/router.rb:50:in `block in serve'
actionpack (<IP_ADDRESS>) lib/action_dispatch/journey/router.rb:32:in `each'
actionpack (<IP_ADDRESS>) lib/action_dispatch/journey/router.rb:32:in `serve'
actionpack (<IP_ADDRESS>) lib/action_dispatch/routing/route_set.rb:852:in `call'
omniauth (1.9.1) lib/omniauth/strategy.rb:192:in `call!'
omniauth (1.9.1) lib/omniauth/strategy.rb:169:in `call'
omniauth (1.9.1) lib/omniauth/strategy.rb:192:in `call!'
omniauth (1.9.1) lib/omniauth/strategy.rb:169:in `call'
warden (1.2.9) lib/warden/manager.rb:36:in `block in call'
warden (1.2.9) lib/warden/manager.rb:34:in `catch'
warden (1.2.9) lib/warden/manager.rb:34:in `call'
rack (<IP_ADDRESS>) lib/rack/tempfile_reaper.rb:15:in `call'
rack (<IP_ADDRESS>) lib/rack/etag.rb:27:in `call'
rack (<IP_ADDRESS>) lib/rack/conditional_get.rb:40:in `call'
rack (<IP_ADDRESS>) lib/rack/head.rb:12:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/http/permissions_policy.rb:38:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/http/content_security_policy.rb:36:in `call'
rack (<IP_ADDRESS>) lib/rack/session/abstract/id.rb:266:in `context'
rack (<IP_ADDRESS>) lib/rack/session/abstract/id.rb:260:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/cookies.rb:697:in `call'
activerecord (<IP_ADDRESS>) lib/active_record/migration.rb:603:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/callbacks.rb:27:in `block in call'
activesupport (<IP_ADDRESS>) lib/active_support/callbacks.rb:99:in `run_callbacks'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/callbacks.rb:26:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/actionable_exceptions.rb:17:in `call'
sentry-rails (5.4.1) lib/sentry/rails/rescued_exception_interceptor.rb:12:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/debug_exceptions.rb:28:in `call'
sentry-ruby (5.4.1) lib/sentry/rack/capture_exceptions.rb:28:in `block (2 levels) in call'
sentry-ruby (5.4.1) lib/sentry/hub.rb:199:in `with_session_tracking'
sentry-ruby (5.4.1) lib/sentry-ruby.rb:372:in `with_session_tracking'
sentry-ruby (5.4.1) lib/sentry/rack/capture_exceptions.rb:19:in `block in call'
sentry-ruby (5.4.1) lib/sentry/hub.rb:59:in `with_scope'
sentry-ruby (5.4.1) lib/sentry-ruby.rb:352:in `with_scope'
sentry-ruby (5.4.1) lib/sentry/rack/capture_exceptions.rb:18:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/show_exceptions.rb:26:in `call'
railties (<IP_ADDRESS>) lib/rails/rack/logger.rb:40:in `call_app'
railties (<IP_ADDRESS>) lib/rails/rack/logger.rb:25:in `block in call'
activesupport (<IP_ADDRESS>) lib/active_support/tagged_logging.rb:114:in `block in tagged'
activesupport (<IP_ADDRESS>) lib/active_support/tagged_logging.rb:38:in `tagged'
activesupport (<IP_ADDRESS>) lib/active_support/tagged_logging.rb:114:in `tagged'
railties (<IP_ADDRESS>) lib/rails/rack/logger.rb:25:in `call'
sprockets-rails (3.4.2) lib/sprockets/rails/quiet_assets.rb:13:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/remote_ip.rb:93:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/request_id.rb:26:in `call'
rack (<IP_ADDRESS>) lib/rack/method_override.rb:24:in `call'
rack (<IP_ADDRESS>) lib/rack/runtime.rb:22:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/executor.rb:14:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/static.rb:23:in `call'
rack (<IP_ADDRESS>) lib/rack/sendfile.rb:110:in `call'
actionpack (<IP_ADDRESS>) lib/action_dispatch/middleware/host_authorization.rb:137:in `call'
rack-cors (1.1.1) lib/rack/cors.rb:100:in `call'
shakapacker (6.5.0) lib/webpacker/dev_server_proxy.rb:25:in `perform_request'
rack-proxy (0.7.2) lib/rack/proxy.rb:67:in `call'
railties (<IP_ADDRESS>) lib/rails/engine.rb:530:in `call'
puma (5.6.4) lib/puma/configuration.rb:252:in `call'
puma (5.6.4) lib/puma/request.rb:77:in `block in handle_request'
puma (5.6.4) lib/puma/thread_pool.rb:340:in `with_force_shutdown'
puma (5.6.4) lib/puma/request.rb:76:in `handle_request'
puma (5.6.4) lib/puma/server.rb:441:in `process_client'
puma (5.6.4) lib/puma/thread_pool.rb:147:in `block in spawn_thread'

With some debugging I confirmed that the devise_api_token created in https://github.com/nejdetkadir/devise-api/blob/main/app/services/devise/api/tokens_service/create.rb#L26 has resource_owner_id set to null. What should I check to be successful in troubleshooting this?

please check this issue

Thank you! And really sorry for having missed the other issue. 🤦


Fix contributors

I accidentally added @robert and @matt instead of @robert-crandall and @matt-forster because my Regex was incorrect.

Haha, thanks!