concerning warnings in lodspk.sh

lebot@aquarius:/var/www/datafaqs/DataFAQs-lodspeakr$ utils/lodspk.sh create service datasets html
/var/www/datafaqs/DataFAQs-lodspeakr/utils/modules/create-service.sh: line 26: warning: here-document at line 17 delimited by end-of-file (wanted `QUERY')
/var/www/datafaqs/DataFAQs-lodspeakr/utils/modules/create-service.sh: line 57: warning: here-document at line 38 delimited by end-of-file (wanted `VIEW')
/var/www/datafaqs/DataFAQs-lodspeakr/utils/modules/create-service.sh: line 48: warning: here-document at line 44 delimited by end-of-file (wanted `QUERY')
/var/www/datafaqs/DataFAQs-lodspeakr/utils/modules/create-service.sh: line 50: warning: here-document at line 48 delimited by end-of-file (wanted `QUERY')
service.datasets created/modified successfully!

Worked only in mac but not in linux. Fixed in a0a2afd1c7d33d953cfaf51925b7d4f652c52521


[BUG] - Cannot login with Pilot ID

Describe the bug
Cannot login with pilot ID to a virtual airline, either using the single digit, numbers only or with the airline ID (tried 4, 0004, and SCD0004).
To Reproduce
Steps to reproduce the behavior:

Open the application
Log in to TFDi Design account
Select virtual airline
Attempt to log in with the pilot ID

Expected behavior
Login should be allowed with pilot IDs, not just with an email address.
Screenshots

System Information (please complete the following information):

Version 0.2.3
PHP version: 8.0
Database version: Unknown
Webserver version: Unknown
Handler: phpvms7

Additional context
Clone of invernyx/smartcars-3-bugs#8

phpVMS 7 handler issue. Since the handler is not yet complete, this issue will eventually be addressed and resolved.


[Minor][SQL] Fix typo in sql

In this PR, "analyser" is changed to "analyzer" to keep a consistent naming. Some other typos are also fixed.

Can one of the admins verify this patch?

Thanks, merging to master.

Thanks Michael!


Update react-virtualized-auto-sizer dependency to support react 18

The current dependency "react-virtualized-auto-sizer" is fixed to 1.0.6 which in turn lock the version to be lower than 18.
<EMAIL_ADDRESS>updates dependency to include also react 18.
By updating it i can remove npm overrides which are causing me quite a lot of headaches 😄
Thanks

how did you fix that? Because I'm also tired of all the warnings in my project. We tried before with https://github.com/table-library/react-table-library/commit/d225372db6ca476bb40c285a16dabc1e18c9ad5b#commitcomment-83185847

Oh, there seems to be a new version for React 18 finally. Anyone who wants to open a PR? :)

I can do that.
btw there are other libs that could be updated too:


[Bug]: Redirect are not handled, so they throw errors

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
Any throw redirect('/login') in a server function will cause a server error. I have also tried with return redirect('/login'), but that just doesn't do anything at all. I can reproduce this in a freshly created solid-start project.

Looking at the server logs, it seems to be the actual redirect response object that is thrown as an error.
Error: Unknown error
    at castError (./node_modules/.pnpm/solid-js@1.8.15/node_modules/solid-js/dist/server.js:9:10)
    at ./node_modules/.pnpm/solid-js@1.8.15/node_modules/solid-js/dist/server.js:560:32 {
  [cause]: Response {
    [Symbol(realm)]: { settingsObject: {} },
    [Symbol(state)]: {
      aborted: false,
      rangeRequested: false,
      timingAllowPassed: false,
      requestIncludesCredentials: false,
      type: 'default',
      status: 302,
      timingInfo: null,
      cacheState: '',
      statusText: '',
      headersList: [HeadersList],
      urlList: []
    },
    [Symbol(headers)]: HeadersList {
      cookies: null,
      [Symbol(headers map)]: [Map],
      [Symbol(headers map sorted)]: [Array]
    }
  }
}

Expected behavior 🤔
The user should be redirected to a new page.
Steps to reproduce 🕹
Steps:

git clone https://github.com/jakst/solid-redirect-crash-repro
cd solid-redirect-crash-repro
pnpm install
pnpm dev
Visit localhost:3000
Notice the error

The issue seems to have been introduced in<EMAIL_ADDRESS>

Fixed in 0.12.4 of the router


VRT vault

Description

VRTVault contracts to let user deposit VRT for a fixed Interest Rate
No LockTime for the funds
User can deposit as many time as they wish to
Interest is accrued based on blocks passed from the time since deposit was made
Any existing deposit gets interest accrued and transferred to the User
InterestRate is immutable and set once during contract deployment

VRTVault Public and external functions

Deposit
Withdraw
Claim
getAccruedInterest
getBlockNumber

VRTVault Admin functions

getAdmin
burnAdmin
setNewAdmin
setVenusInfo
_become
_setPendingImplementation
_acceptImplementation
_setPendingAdmin
_acceptAdmin

Task linked: CU-22h3eka VRT vault

Please rebase --autosquash before merging, and wait for @RoseRompkxm review as well


Write a C program to implement selection sort

Description
Write a C program to implement selection sort
Selection sort is a sorting algorithm that selects the smallest element from an unsorted list in each iteration and places that element at the beginning of the unsorted list.
Pseudocode
procedure selection sort
   list  : array of items
   n     : size of list

   for i = 1 to n - 1
   /* set current element as minimum*/
      min = i

      /* check the element to be minimum */

      for j = i+1 to n
         if list[j] < list[min] then
            min = j;
         end if
      end for

      /* swap the minimum element with the current element*/
      if indexMin != i  then
         swap list[min] and list[i]
      end if
   end for

end procedure

Example
Input  : [8, 5, 2, 6, 9, 3, 1, 4, 0, 7]
Output : [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

How to contribute

Comment !assign to assign this issue to yourself
Fork this repository
Create a new branch
Save the solution in program/program/implement-selection-sort/ImplementSelectionSort.c
Commit the changes
Create a pull request

!assign

!assign


Looping over the ghost variable is broken

Vyxal, 8 bytes
13 (| ←,

Try it Online!

what exactly should this be doing?

Who are you, Rupert Murdoch? (I changed the title to be more sensible)

This is because the loop is saving to the variable VAR_ aka the ghost variable, but at some point the ghost variable was changed to be ctx.ghost_variable. I'm guessing that change was probably made when the ghost variable was made global.


feat(transformer): support custom aliases

Description
Add support for passing custom aliases in the custom TV Transformer.

Additional context
Currently, the transformer checks the files's content against the "tailwind-variants" constant to check whether or not the file should be transformed.
However, when creating a custom TV instance and importing it, the transformer will ignore it as it's not matching "tailwind-variants".
// @/lib/tv.ts
import { createTV } from 'tailwind-variants';
export type { VariantProps } from 'tailwind-variants';

export const tv = createTV({
  // my custom twMergeConfig.
});

The proposed change adds a configuration object to the withTV function to configure aliases:
// tailwind.config.js

const { withTV } = require('tailwind-variants/transformer')

/** @type {import('tailwindcss').Config} */
module.exports = withTV({
  content:  ["./index.html", "./src/**/*.{js,ts,jsx,tsx}"],
  theme: {
    extend: {},
  },
  plugins: [],
}, {
  aliases: ["@/lib/tv"]
})

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Follow the Style Guide.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).

Our team encountered this issue a while back, and we ended up naming our custom TV instance file tailwind-variants.ts. However, we did waste some time trying to debug the issue until delving into the TV transformer source code and finding the condition.
I was hoping to submit a PR, but time has slipped away, so I appreciate the effort put into this as it's a much-needed option within the transform.


backup storage options

LGTM. Should we send a webhook with the filename for each file that was sent to the backup destination?

We'll have to do something with cloud-egress/cloud-io and generate presigned download urls

Still need to figure out what to do about situations like some segments or images going to backup while the rest go to primary


GoogleMaps SPM integration: Error: module 'GoogleMaps' not found

Environment details

GitHub Action

Xcode 14.2

iOS-maps-sdk 8.4.0 via SPM

fastlane gym 2.219.0

build simulator iPhoneOS16.2.sdk

Steps to reproduce

Execute Fastlane on GitHub Action

    build_app(
      scheme: "APP_Scheme",
      configuration: "APP_Configuration",
      clean: true,
      skip_archive: true,
      skip_package_ipa: true
    )

It will show ** BUILD FAILED **

Screenshot

If you would like to upvote the priority of this issue, please comment below or react on the original post above with :+1: so we can see what is popular when we triage.
@FrankWuoO Thank you for opening this issue. 🙏
Please check out these other resources that might help you get to a resolution in the meantime:

Check the issue tracker - bugs and feature requests for Google Maps Platform APIs and SDKs
Open a support case - Get 1:1 support in Cloud Console.
Discord - chat with other developers
StackOverflow - use the google-maps tag

This is an automated message, feel free to ignore.

Can you please clean build folder, clean, and build from Xcode first and let us know if you can successfully build and run your app on Xcode first?

Sure, it was successful building on Xcode 15.1 locally.
Now, I'd like to attempt building on the same Xcode version (14.1) as GitHub Actions, but I can't due to MacOS Sonoma not allowing its installation. 😢

I just verified with both Xcode 14.0.1 and 14.2 that the Swift package for GoogleMaps works properly. Please make sure you follow the steps from https://developers.google.com/maps/documentation/ios-sdk/config#swift-package-manager and let me know what's the error that you are encountering?

We use xcode 15 locally, but Xcode 14.2 on CI (azure)....on the server, it is now failing consistently. It used to work every once in a while (failing more times than not) but now, since I changed the SPM cache key, which is forcing a rebuild of all SPM packages, it fails every time. I feel like the builds that were succeeding may have been picking up the binary from cocoapods cache. Just a theory.
I even tried pinning to 8.3.1...same error
[GoogleMapsCoreTarget] Compiling GMSEmpty.m
❌ /Users/runner/work/1/s/ios/SPM/checkouts/ios-maps-sdk/Core/GMSEmpty.m:17:9: module 'GoogleMaps' not found
@import GoogleMaps;
 ~~~~~~~^~~~~~~~~~

We can't quite switch to xcode 15 on CI because of ongoing performance issues with xcode and running tests.
I feel like "@import GoogleMaps" in the dummy files is causing this issue. And I'm not entirely convinced it's needed.

Flutter is experiencing the same issue: https://github.com/flutter/packages/pull/6639#issuecomment-2096877641
So I believe this is a race condition, which is why it doesn't always occur. This applies to GoogleMapsCoreTarget, GoogleMapsBaseTarget, and GoogleMapsM4BTarget, but let's look at GoogleMapsCoreTarget as an example.
If you look at GoogleMapsCoreTarget, it uses the GoogleMaps module:
https://github.com/googlemaps/ios-maps-sdk/blob/bd392d7d844b49ec6795871a3c25edd01ab839f2/Core/GMSEmpty.m#L17
However, it does not have a dependency on the GoogleMaps or GoogleMapsTarget target:
https://github.com/googlemaps/ios-maps-sdk/blob/bd392d7d844b49ec6795871a3c25edd01ab839f2/Package.swift#L64-L70
Therefore, Swift Package Manager/Xcode may possibly compile sources from GoogleMapsCoreTarget before the GoogleMaps.xcframework is done processing, which can cause the module 'GoogleMaps' not found error

FYI: You can view the build timeline like above screenshot in Xcode via Editor > Assistant

@vashworth @FrankWuoO  Is this still occurring for you with Maps SDK for iOS v9.x?

@wangela I haven't tested it yet (because it would take a lot of time to test all of this and then revert it back), but I'm not sure how using v9.x would've solved it?
GoogleMapsTarget has a dependency on GoogleMaps (binary target), GoogleMapsBaseTarget (regular target), and GoogleMapsCoreTarget regular target.
Both GoogleMapsBaseTarget and GoogleMapsCoreTarget contain GMSEmpty.h with the @import GoogleMaps statement. However, neither GoogleMapsBaseTarget nor GoogleMapsCoreTarget has a dependency on GoogleMaps or GoogleMapsTarget, so how can they import it? It's still the same issue described in the comment above: https://github.com/googlemaps/ios-maps-sdk/issues/10#issuecomment-2096890239.

@wangela Sorry for the late reply. I switched to the native MapKit, so I haven’t tested it since then.


fix: undefined triggerpath dependency

Description
Fixes #15524
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
WIP
Checklist:

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

/ok-to-test sha=046645b


Create Github actions - Best practices

Should create a new action workflow that verify best practices
Best practices rules:

Only one commit per PR

Only these rule for now.

Hi @keerthanak-tw nice catch! Feel free to create a new issue or submit the PR directly.

@keerthanak-tw
Just to double-check, confirm if you are working on this current issue #59
If yes I will assign you to that

Hello.. Iam not working on this or the one i mentioned. But wanted to bring attention when i noticed it..
Will create a new issue for others to pick up

Hello.. Iam not working on this or the one i mentioned. But wanted to bring attention when i noticed it.. Will create a new issue for others to pick up

Cool, thanks for the report. Feel free to create a new issue, someone can jump on it =)

this issue is no longer aplicable since we can set up squash and merge on the github


Remove _mappings from create mapping url

_mappings and mappings should not be specified at the same time when sending out create mapping request If index doesn't exist, the url should not include _mappings as part of it's path, otherwise it will throw index not exist error If index already exists, the mappings object should not be included in the body, other wise it will throw mapping parse error exception
Signed-off-by: Xuesong Luo<EMAIL_ADDRESS>Description
Describe what this change achieves.
Issues Resolved
https://github.com/opensearch-project/documentation-website/issues/1174
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

 Will create another PR


variable FPS

Compute how many times in the last second a variable reading was received
Display the result in the UI

Not useful anymore.


Integrate invariants into stitch

Github is again showing the commits out of order.
Correct commit order: "Integrate inv..." -> "Remove redundant..." -> "Move vis..."

Coverage increased (+0.7%) to 35.868% when pulling 42b71992a56f4e3f2778aa8bec255d579faa3581 on akshayknarayan:stitch-inv into ef7e4638b6fed6170b48cdf62b8e08ef915d0bdc on NetSys:master.

Coverage decreased (-0.5%) to 34.678% when pulling 34aca0bb99a7f425e4fda35c141ba1e730c19aea on akshayknarayan:stitch-inv into fc56afefa397149692582e1d9d88ab230d2fee50 on NetSys:master.

Thanks for reorganizing the commit history, much easier to review now.

First three patches look good, one minor rebasing error. Ill look at the last three today.

Correct commit order:
3793949 (HEAD -> stitch-inv, origin/stitch-inv) inspect: Move visualization tool to separate package
e34a076 stitch: Integrate invariant checking into stitch
a534f34 inspect: Move inspect to within stitch package
a693365 cluster: Move instance descriptions to separate package
f4c0364 stitch: Remove redundant struct defining a machine
e343290 (upstream/master, origin/master, master) cluster: Word wrap to 89 characters

Merged the first two patches (you may want to rebase).  Third patch fails unit tests (likely rebasing error).

Finished reviewing the main invariant patch.  Basically looks good.

Alright, made changes to address comments.

@ejj rebased, ready for review

Merged


[iOS][Font color - Input Fields] [Font color in ACRTextView gets overwritten]

Platform
What platform is your issue or question related to? (Delete other platforms).

iOS

Author or host
Host - Teams iOS
Version of SDK
1.2.7
Details
Issues:

ACRTextView overwrites the defined font color in the following function:

- (void)textViewDidBeginEditing:(UITextView *)textView
{
    if (_placeholderText && [textView.text isEqualToString:_placeholderText]) {
        textView.text = @"";
        textView.textColor = [UIColor blackColor];
    }
    [textView becomeFirstResponder];
}

Input field background color changes based on the system theme instead of app theme
Keyboard appearance changes based on system theme

These issues are critical when the user is on iOS 13 with System Dark Theme enabled.
PFA the screenshot:

@adumrewal thanks for reporting the issue.


Php diff 60

Please also check remaining code which uses $this->options.
Line 57-59 can be removed?
Line 71 always evaluates to true? Remove isset function?

Please also check remaining code which uses $this->options.
I did.

Line 57-59 can be removed?
Yes

Line 71 always evaluates to true? Remove isset function?
Nope, in doubt the colorizeString function returns the string as is.

Nope, in doubt the colorizeString function returns the string as is.

I'm not sure what 'In doubt' means.
Currently:

$string is colorized when the option is set (Which what MainRenderAbstract will do), no matter the value is a truthy or falsy.
$string is returned as is when the option isn't set (But it will be set by MainRendererAbstract::__construct() calling MainRendererAbstract::setOptions()).

Expected:

$string is colorized when the option is set and the value is a truthy.
$string is returned as is when the option isn't set or when the value is a falsy.

Having if ($this->options['cliColor']) {...
The way I see it, $this->options['cliColor'] is either set (by the MainRenderer) and its value is a truthy or falsy, or it isn't set which evaluates to a falsy also. (https://3v4l.org/vGsYB)

@vendeeglobe please give feedback to this PR.

Looks good to me. I'll pull and test it after it's merged into master.


Loading json data

What kind of issue is this? (put 'x' between the square brackets)

[X] Question. This issue tracker is not the place for questions. If you want to ask how to do
something, or to understand why something isn't working the way you expect it to, use
http://stackoverflow.com/questions/ask .
Provide working code, starting from http://jsfiddle.net/JNsu6/15/.
We monitor the tag featherlight.js.

[ ] Bug report. If you’ve found a bug, you must provide a minimal example in a CodePen,
starting from http://jsfiddle.net/JNsu6/15/ .

[ ] Feature Request. Make sure there's no good way to do what you want first;
consider asking on http://stackoverflow.com/questions/ask first.

Can featherlight load json data from an ajax call so I can populate the content in javascript?
I cant seem to get it to work, it seems to always wants to populate the content itself.

Hi!
My name is Marc-André and I'd like your help. I'm not the original author but I liked the project so much I started contributing more and more; now I'm the (only) maintainer.
How you can help
I'd like you to help me in keeping the issues of this project organized. In particular, I'd very much like questions to be asked on Stack Overflow(reasons just down below) and I think you could help.
To serve that goal, I wrote that questions should be asked on Stack Overflow in the READ ME file. Still, some people asked questions here.
I requested the same in the Contributing Guidelines. Even though GitHub has a paragraph saying "Please review the guidelines for contributing to this repository." that shows up whenever someone creates an issue, some people still asked questions here.
Finally, GitHub allowed us to write a template issue, in which I wrote

This issue tracker is not the place for questions. If you want to ask how to do
something, or to understand why something isn't working the way you expect it to, use
http://stackoverflow.com/questions/ask .
Provide working code, starting from http://jsfiddle.net/JNsu6/15/.
We monitor the tag featherlight.js.

Still, some people like you select this and ask a question here. So my question is: why did you feel it was the right thing to do? What could I possibly have done so that this basic wish was respected? I must admit that I feel disrespected whenever someone completely ignores my requests. I understand that most developpers don't feel the urge to help by digging in, inspecting the code and contributing back with great bug reports or pull requests, but it saddens me when people show little care and disregard maintainer wishes.
It would help me a lot if you helped me find a solution so that questions are asked on Stack Overflow.
Why StackOverflow?
I feel that StackOverflow is much better organized for questions and answers than GitHub. Not too surprising, that's exactly what it was designed for!
It has a much better interface to find similar questions, so there's a better chance a question and its answers will help someone else.
I monitor the tag for this project, so I normally will read the question. Sometimes, someone else has already answered the question, which is awesome for whoever wrote the question and for me! That never happens with GitHub issues, btw.
Otherwise I can answer it, especially if it shows what the requester has tried, and has a working example. If something is not clear, there's the comment section, that insure that the discussion doesn't have to be re-read by others that only want the answer.
If the question is badly asked, for example if it has no working example, I can also ignore it and downvote it. Maybe someone will answer it, either way, I don't have an opened issue being stale in GitHub forever.
Indeed, I try as best as I can to keep the list of open GitHub issues down to a minimum. Things there should mostly be things that need to be fixed one way or another. Having a bunch of half baked questions in there would not help at all.
I'm hoping you will reply with good hints on how to achieve this goal. Thanks.


Using ctrl+scroll wheel changes camera zoom.

When scrolling through stash with ctrl+MW if not hovering over a inventory the scroll wheel will still scroll in and out the camera.
Coming from trade macro this was not the case there. Might be possible to mute the scroll wheel output when holding ctrl and having the game in focus.

Duplicate of #369


Python: Failed to specify embedding dimensions

Describe the bug
A clear and concise description of what the bug is.
I would like to use the embedding model text-embedding-3-small and text-embedding-3-large, and specify the dimensions. I tried to specify the param dimensions in AzureTextEmbedding and got a type error:
AzureTextEmbedding(
TypeError: init() got an unexpected keyword argument 'dimensions')
Please instruct how to specify the embedding dimensions in semantic kernel - python. Many thanks!
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform

OS: [e.g. Windows, Mac]
IDE: [e.g. Visual Studio, VS Code]
Language: [e.g. C#, Python]
Source: [e.g. NuGet package version 0.1.0, pip package version 0.1.0, main branch of repository]

Additional context
Add any other context about the problem here.

hi @sinyubonnie-ho we indeed have not yet added support for that, if you are up for it you could create a PR to fix it, should be a matter of adding the field with None as default here: https://github.com/microsoft/semantic-kernel/blob/e416946567c39f7c8b867d517a218f226f978d39/python/semantic_kernel/connectors/ai/open_ai/prompt_execution_settings/open_ai_prompt_execution_settings.py#L76


Create 2022-06-12-ols-7-graduations-and-ols-8-call.md

Graduation details for OLS-7 and OLS-8 details linking to OLS Africa trial run

Thanks @malvikasharan


Avoid go-routines with fails outside of testcases.

This was hiding actual errors as we can see in https://prow.ci.openshift.org/view/gs/origin-ci-test/pr-logs/pull/openshift_thanos/52/pull-ci-openshift-thanos-release-4.7-test-local/1376872767521034240
Signed-off-by: Bartlomiej Plotka<EMAIL_ADDRESS>Fixing flake https://app.circleci.com/pipelines/github/thanos-io/thanos/5562/workflows/994df1b2-6d4f-4c15-918f-9bf9315f2f40/jobs/14318
cc @s-urbaniak
Also fixing flake: https://app.circleci.com/pipelines/github/thanos-io/thanos/5562/workflows/994df1b2-6d4f-4c15-918f-9bf9315f2f40/jobs/14318

@bwplotka Good thing with auto-merge, it doesn't merge it if the pipeline fails :)

oh oh, I was confused by UI, Thanks!


Adding proxies

I'm going to take a stab at adding proxy support.  Is it safe to start with master or should I use v0.34.0?

Master is safe!

Oh. Like fallback endpoints?

I'm do not think that should be added into this library. Perhaps you can start your own package and wrap the Client or `AsyncClient.
cc @kevinheavey

Yeah agreed with @michaelhly. But do let us know if something about solana-py's design makes it unnecessarily difficult to add proxy support in a new library

I believe it is very necessary to add the feature of using a proxy because there are firewalls in this world, and using a proxy can bypass them.
What we need to do is add an argument in the init() and pass it to the httpx.Client(), very simple. I can make a PR if this modification is allowed.

I believe it is very necessary to add the feature of using a proxy because there are firewalls in this world, and using a proxy can bypass them.
What we need to do is add an argument in the init() and pass it to the httpx.Client(), very simple. I can make a PR if this modification is allowed.

Feel free! I can include it in the next release!

Here you go.
https://github.com/michaelhly/solana-py/pull/479
@michaelhly

@Jonney Released in v0.36.1
🎉


SSL Cert for api-dev is not valid

It is mismatched, meant for api.monarchinitiative.org and needs to have its own cert issued and configured

It's done, but it was a little bit of a rocky transition. Faisal looked into and found the part of the UI that will let us create a new certificate on its own, and then we can switch to it once it's up, rather than creating and assigning at the same time with no fallback when it's an error.


WIP: Implemented bounded wait queue for rpc requests

It was done via wrapping semaphore type, for the limit of concurrent
rpc requests, in a new type which also manages the number of awaiting
tasks on that particular semaphore, if that number becomes more than the
preconfigured value, then all the subsequent requests of that type will
be rejected.
Once the task manages to acquire semaphore, it releases
its slot in wait queue, so other tasks will be able to try to acquire a
semaphore and be queued if they cannot.

Made some changes to PR, simplifying the logic, by using double semaphore type, and wrapping the semaphore's acquire method in SemaphoreQueue's acquire method, thus discarding custom Future implementation and helper guard type.


Determine option to zoom to a result in the combined popup

Add a method to make the pop up clickable to zoom to the resulting feature

I'll second this request in the sense that it would be great if someone could click on the pop-up for a particular district and zoom to the full extent of the polygon that is highlighted to show the district's limits.


[Help] how to fix i tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:185] none of the mlir optimization passes are enabled (registered 2)

i used tf-cpu 2.6.0, python 3.9 run program in vscode env for conda find fault
i tensorflow/compiler/mlir/mlir_graph_optimization_pass.cc:185] none of the mlir optimization passes are enabled (registered 2)
how this fix ??
chatbot with LSTM
thanks

@dekkuz
In order to expedite the trouble-shooting process here,Could you please fill the issue template,
Thanks!


[Bug]: Computed name field did not give run-time error for immutable type

Description
import ballerina/io;

const x = "a";
readonly X = {a : "A", [x] : "B"};

public function main() {
    io:println(X);
}

Currently it returns {"a":"B"}. But spec says,
A mapping-constructor-expr first constructs a mapping value without considering any computed-name-field.
The effect of a computed-name-field is to modify the member of the mapping with the specified name after
the mapping has been constructed. If the modification is incompatible with the inherent type, then the
mapping-constructor-expr will panic. The modifications are performed in the order in which the computed-name-fields
 occur in the mapping-constructor-expr.

The modification should be panic for immutable types.
Steps to Reproduce
No response
Affected Version(s)
2201.5.0
Master
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

While the const scenario will be disallowed once https://github.com/ballerina-platform/ballerina-spec/issues/772 is addressed, this also disallows the non-const case which is kinda too restrictive IMO.
Related to https://github.com/ballerina-platform/ballerina-spec/issues/532.
Created https://github.com/ballerina-platform/ballerina-spec/issues/1245.


Removed references to webpush

This doc is confusing for developers, and makes it seem like an alternative way to send notifications. This is pretty difficult to implement and is intended mostly for web browsers that are hosting websites and their notifications.  Trying to eliminate some of this confusion.

PRRT: review required.
@mijacobs : The PR passed the acceptance checklist. Please evaluate further and approve/complete the PR if appropriate. Thanks!

@manoskow : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#signoff

#sign-off


fixes #44544

@tsalinger as mentioned in our slack discussion let's push this out of march until we find a more elegant solution.


[Bug] Cisco Nexus profile CPU oid erratic and does not match up to other tools

Currently polling against <IP_ADDRESS>.<IP_ADDRESS>.3<IP_ADDRESS>.0, consensus on various forums and data collected in NR shows this oid is very erratic as it is the point in time value with no time averaging.
Suggesting we remove this from the nexus profiles and fall back to the more typical <IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.1.10

addressed in PR #128


chore(axios-ext): reset version to 0.15.1

Description

Reset axios-extension package version to 0.15.1

Type of change

[ ] Bug (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds a new feature)
[ ] Breaking change (Bug or New feature that would cause existing functionality/consumers to not work as expected)
[x] Non-Breaking chores (Changes to tools, libraries, build process, documentation, etc)
[ ] None of the above (Reviewers might ask for more clarification)

How have you tested?
Make it easier for reviewer by describing the tests you have done to verify your changes and provide clear instructions for reviewers to reproduce.
Checklist:

[x] The code conforms to the general development principles
[x] Supplied as many details as possible on this change
[x] The code is easy to read and maintainable by others
[ ] Corresponding changes to the documentation has been done
[ ] Already existing and new unit tests pass locally

1.0.0 is already published. Do you plan to delete it from the registry?
Is it worth reverting?

@devinea: I tried deleting the 1.0.0 version, but it looks like npm unpublish fails if there are already dependents on npmjs (not necessarily for the same version). I unpublished<EMAIL_ADDRESS>and<EMAIL_ADDRESS>but the unpublish for<EMAIL_ADDRESS>fails. I am waiting for feedback from npmjs on the issue.

That one is obsolete, correct?

Yes, it looks like the only solution is to deprecate the 1.0.x versions which is probably not desirable. I'll close the PR.


Update README to reflect Monorepo-ness

There's now more than just the dex in the repo. We should move the current README into the dex crate and update the main readme to describe the entire monorepo.

Completed by https://github.com/project-serum/serum-dex/pull/73.


There is no response from the server-side after bumped up to<EMAIL_ADDRESS>

I'm using Donut puppet, and there is an incident today

And I'm trying to fix it by upgrading to<EMAIL_ADDRESS>but it still doesn't work,  there is no any output from the server-side and I don't know what happened...

I'm sure I tried to remove package-lock.json and node_modules, and re-install the dependencies again, but it doesn't work...
1. Versions

What is your wechaty version?

Answer: 0.62.3

Which puppet are you using for wechaty? (puppeteer/padlocal/service...)

Answer: Donut

What is your wechaty-puppet-XXX（padchat/puppeteer/） version?

Answer:
"wechaty-puppet": "^0.41.1",
"wechaty-puppet-service": "^0.21.8",

What is your node version? (run node --version)

Answer: v14.6.0

What os are you using

Answer: macOS 11.4

According to https://github.com/Chatie/server/issues/73 our token discover service was downgraded yesterday, and users might have been experiencing issues like yours.
Please retry today and let me know if your problem still exists. If it exists please provide a minimum re-produce repo so that we can investigate the problem for you.
Thank you very much.

@huan I believe I didn't make any changes but it works again...
Whatever, thanks.

Closed as resolved


Crash on Startup

Upgraded mapbox studio to v.0.1.6 after removing mapbox studio and manually deleting C:\Program Files\mapbox-studio.  On startup the program crashes with an uncaught exception Error: Spawn UNKNOWN at exports._ernoException (util.js:742:11)  ...  Machine is running Windows 7.

My installation was working fine on version 1.5. Just upgraded to v0.2.0 and now it's crashing every time I open it. Tried uninstalling, deleting the directory, replacing gdal.node and node.exe, installing in C:\Program Files (x86)\mapbox-studio and in C:\Program Files\mapbox-studio.... nothing works. I am on Windows 7.

@dchadney can you fetch the logs (which are located in a fill called app.log in your user's directory in a folder called .mapbox-studio) and post them here?

@dchadney
If app.log does not contain any useful information, it would of great help for us, if you have the time to work through this gist:
Debug Mapbox Studio
Let me know, if you need further assistance.

I was experiencing the issue of MapBox closing immediately after opening in Win 7 and discovered that it started working when I uninstalled, manually deleted the .mapbox-studio folder in my C:\Users\user folder, then reinstalling. It started opening fine after that.


[Docs] 404/Broken links on adapters page

Current State
Site Link : https://docs.meshery.io/extensibility/adapters

Desired State
Should not be broken and take the user to the desired page.

Contributor Guides and Resources

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

Thanks, @Rohith-Raju. Is this an item that you would  like to work on?

Sure, would love to @leecalcote

Hey so I went through the code and this is what I found

Here the links point to each of its files in the directory.

But there are no files that could be found with that name which explains the page not found.
What are my next steps?

Hey @Rohith-Raju, try to add ({{site.baseurl}}/page-name)
For eg
({{ site.baseurl }}/concepts/architecture/adapters)

Yes, of course, I was thinking the same thanks @Akshit42-hue


update dubbo urls

The URLs in README.md and brave.dubbo.rpc.TracingFilter are out of date.

Thanks for the help!


Heated seat oddity vs app on RHD cars

The new heated seat functionality is amazing: thanks for implementing.
I turned the right-side heated seat on via Home Assistant, then switched over to the app to check. It has labelled the right-side seat as heating but the "Medium" label is under "Passenger". The app does not behave like this when it is used to switch on the seats: text and picture are aligned. This is just a minor cosmetic issue, as I have verified that the right-hand seat is heating up (picture and HA entities are correct, app text is wrong).
I would be quite happy with a "won't fix" response.

Uhm, it's actually not minor as it may indicate an inconsistency somewhere in the command being sent, altough I have a feeling the label is handled by the in-app logic somehow.
Can you re-test by starting the right seat heater and see how the status changes on HA / MQTT? A JSON capture of the payload would be nice as well (for both the start command from HA, start response from HA, vehicle and charging status when started from the app, vehicle and charging status when started from HA)

Looks like you're right about it being fixed within the app: older versions had it the wrong way around:
https://www.mgevs.com/threads/heated-seats-bug-altered-not-improved.14624/


Dynamic where cannot support complex sql

Hey rbock, sorry to bother you so frequently lately.
I want to write the following where code in dynamic_where:
auto dynamic_where = sql.where;
dynamic_where.add(A && B);
auto sub_where = sqlpp::value(true);
if (..) {
   sub_where = C || D;
}

if(..) {
  sub_where = sub_where || E;
}

if(..) {
 sub_where = sub_where || F;
}

where.add(sub_where); // which is sql.where = where && sub_where;

I tried my best to write C++ code to achieve this, but it failed with either type errors or syntax errors, so I am here looking for your help. How can I achieve this complex where sql with sqlpp?

Start with auto sub_where = sqlpp::boolean_expression(db, true); instead.

And no worries about frequent questions.

Thank you so much for your help. sqlpp::boolean_expression actually solves my problem! Bravo!


Add full $PATH, better terminal choice, and automatic graphical/terminal detection

Basically just a translation of my dmenu-terminal pull request to here, per request, as well as fixes given in the review there. I can also add my proposed addition to the dmenu-web part here, but because it's so different from my previous PR I figured I'd ask first.

Uses dmenu_path to enumerate the full path rather than just /bin
Adds a whole order of terminal preference (argument, system spec, urxvt, xterm)
Automatic graphical or terminal detection

Changes ~/.dmenu-terminal format to an override, included in README.

Alright, I added URL detection. It's set as far as I'm concerned.


Installing SSHy and WSProxy

Trying to install SSHy and WSProxy. Steps I did were:
git clone https://github.com/stuicey/SSHy.git
nvm use 9.6.1
#Now using node v9.6.1 (npm v6.9.0)
npm i -g wsproxy
#Installation was fine. No errors or anything.

I attempt to go to https://forsaken-borders.net/dev/ssh, and then those errors show up...

Any clues?

It looks like you might have installed the version of wsproxy published on npm instead of my fork, the websocket protocol spec changed a while ago and I'm not sure if the official version has that patch. Try execute the following commands from the folder you've cloned the SSHy repo to. (note the / on wsproxy/)
git submodule update --init --recursive
npm i -g  wsproxy/
wsproxy

Progress... I haven't touched anything else. Any other steps I'm missing?

Its trying to open a secure websocket connection (wss://) as you have opened the page with https. Most web browsers don't allow unsecure websocket connections over https. You'll need to either provide a cert for wsproxy to use, refer to: wsproxy readme; or open the page with http.

So then, I would just replace wdd:// with https://?

You'll either need to provide a certificate & private key to wsproxy so it can host a secure websocket server wss:// e.g.
wsproxy -s -c [certificate_chain_file] -k [private_key_file]
or, you'll need to access the SSHy webpage via http:// so that it will use unsecure websockets ws://
Since the SSH connection is encrypted in browser you're not hiding much by using https://, would just be the pre-authentication information and SSH server ip.

I am new to this so I am sorry for a stupid question, but is it possible to install wsproxy manually, without npm or avoid it altogether? I want to use SSH only to connect to my machine (where sshy is installed) from elsewhere...


Scatter plot: zoom slider behaviour is inconsistent for inverted axes

Steps to reproduce:

Open a table
Add scatter plot
Invert one of the axes
Zoom using slider

Expected results: Zoom slider behaviour should be consistent with axis direction.
Actual results: Zoom slider does not take into account 'invert axis' setting: wrong part of the plot is zoomed.

Fixed in 1.14

Case 2

Open table: scatter plot broken.csv
Add scatter plot
Switch an axis to log scale and invert it
Zoom using slider
An error occurs

Wrong range.
packages/$sdk/lib/_internal/js_runtime/lib/js_helper.dart 1772:17      Object.u
packages/d4/src/widgets/range_selector/range_selector.dart 83:44       pU.fk
packages/d4/src/widgets/range_selector/range_selector.dart 208:13      cz5.
packages/$sdk/lib/html/dart2js/html_dart2js.dart 42920:48              db5.
packages/$sdk/lib/async/zone.dart 1132:12                              aYc
packages/$sdk/lib/async/zone.dart 1012:12                              d8O.Ae
packages/$sdk/lib/async/zone.dart 909:14                               d8O.Hq
packages/$sdk/lib/async/zone.dart 936:23                               d8R.
packages/$sdk/lib/_internal/js_runtime/lib/js_helper.dart 2456:48      fF2.
packages/$sdk/lib/_internal/js_runtime/lib/isolate_helper.dart 474:16  O0.LE
packages/$sdk/lib/_internal/js_runtime/lib/isolate_helper.dart 59:16   Object.FY
packages/$sdk/lib/_internal/js_runtime/lib/js_helper.dart 2456:14      fF0
packages/$sdk/lib/_internal/js_runtime/lib/js_helper.dart 2476:14      HTMLDocument.

DG v1.14.0

Also fixed in 1.13.15


Cluster quit working

Used this Eval Guide to create a nested HCI instance in Azure Commercial...guide was fantastic and worked great. Problem I have as of this morning, when I start my Host VM, the cluster nodes will no longer start. I get the message in the image attached below:

Hello thanks for letting us know about your issue. Yesterday, I encountered this error as well. But today the cluster is working again. Try restarting the Azure VM and then starting each nested server.

@ercohen19 tried starting my cluster again today and still having the same issue

Hi I have experienced the same issue. I recommend redeploying your cluster. My new cluster is up and running with no issues.

@ercohen19 when you say re-deploy the cluster do you mean destroy the host and start from scratch with the Eval Guide or just destroy the cluster on the existing host?

Destroy the host and start from scratch with the Eval Guide. I would recommend deleting the entire resource group as well or creating a new one.

Marking this issue as closed.


Change zopim to chat

:bear:
/cc @zendesk/wombat @zendesk/vegemite
Description
Change zopim to chat, as suggested by @timbertson https://github.com/zendesk/zendesk_app_market/pull/1720#discussion_r61212533
Risks

None

:+1:

Does zopim appear in any existing manifest.jsons? i.e. do we need to support zopim still for backwards compatability?

@timbertson nope. Product is not currently in use.

:+1:

@timbertson Zopim KB app references zopim as a location. Are we mapping locations to products anywhere?


"Hello, User!" userscript shows a content deleted icon. / Messages page is broken (2 issues)

Released CSS bug report
The "Hello, User!" userscript doesn't show an avatar but just shows the content deleted icon
To Reproduce
Steps to reproduce the behavior:
https://www.roblox.com/home

Install the userscript
Go to the Roblox home page

To Reproduce
Steps to reproduce the behavior:
https://www.roblox.com/my/messages/#!/inbox

Go to the page
Open eyes

What it looks like now:

What it should look like (if possible, if not just make it not duplicated):

OS: Windows
Browser: Brave
Script Version 1.2.3 (although it doesn't affect anything, it does the same thing whether or not you have the 2016 script)
Display resolution: 1928 x 1080

I've noticed that sometimes it will show the avatar, but it's not consistent.

The problem with the userscript is kind of a problem with how I wrote the code and tampermonkey. Clicking off the page seems to break the page load function to redefine the profile avatar variable image thingy. Should be fixed now though.
I'll work on getting the message page to look better.

Thanks, I also made a suggestion relating to the login page in the discussion, if you wanna check that out

The roblox logo should be back now for messages. I'll check out the discussion

Alright, thanks!


System dying after use & few other things

Before opening an issue:

[x ] I tested the latest release
[x ] I looked at other issues (even the closed ones)
[ x] I read the Troubleshooting Guide
[ x] I'll fill this template properly

Your issue will get closed/locked by the bot in case proper info isn't provided
If you open unnecessary/dumb issues, you'll be rewarded with appropriate tags.

Describe the bug
This is post has a variation of the problem (will scan stuff but do nothing but now after a while it just completely dies) of my first few posts along with some new ones.
First of all, the bug was somehow only fixed for one or two uses before it reverted back to its previous state, even though i tried the battery saver thing again.
additionally, there are two more other bugs that I am even more confused about.

I don't have video evidence for this one but I when I tried stopping the recording of FGO, the red square turned into a lighter shade and kinda froze. i then manually stopped FGA, and looked at the video that got recorded. It was corrupted and couldn't be opened. I tried it again and again, and finally worked properly on my third attempt, which is the recording that is attached. The recording was from a previous version since i forgot to check for updates, but after updating, the same bugs still happened so i didnt bother rerecording in the new version since I saw no difference.

the fga button thing appeared outside of FGO, but only appeared in landscape mode. I have no idea how this happened as all i did was exit out of FGO, but i took a picture of it. it appears that i can still click on it to activate the code, but i didn't run it. it is the screenshot.

Screenshots

Video
https://user-images.githubusercontent.com/81982489/119064316-19e54700-b9a9-11eb-9a91-34fa70c7070e.mp4
sry for bad quality it was too big so had to shrink it  a bit
Device Info (please fill at-least 'Device model'):
Device model: [HUAWEI Mate SE BND-L34]
Screen size: [2160 x 1080]
Android Version: [8.0.0]
RAM: [4.0 GB]

2nd one has a history:
First the button was always there, no matter the orientation. Then I suggested to hide it in vertical mode since FGO always forces landscape and I'm too lazy to stop FGA every time.
If we would only show it when FGO is detected, then it's unusable for people where FGA can't detect that FGO is open.
Just stop FGA through the notification when you don't want to see the button while watching videos.

"System dying after use" is related to Huawei battery optimisation. No solution from our end.


Error with adding sound from Text-to-speech

When adding a sound using the Text-to-speech it adds the 'sound location' as 'window'

Fixed in commit https://github.com/Jitnaught/JNSoundboard/commit/ffab637b1f1971a74c50ee7c11db42370ae7f1f1 :)


Current and version dir cannot different paths structures.

This seems like a bug to me, but it might also be a feature request?
Basically what Im trying to do:
ansistrano_deploy_to: "/var/www" # Base path to deploy to.
ansistrano_version_dir: "releases" # Releases folder name
ansistrano_current_dir: "foo/bar" # Softlink name. You should rarely changed it.
ansistrano_current_via: "symlink"

During the:
TASK [ansistrano.deploy : ANSISTRANO | Change softlink to new release]

I get a failure since it's somehow assumed that they're both going to have the shared base folder.
I can make a quick pull request if someone thinks it's reasonable to change in deploy/tasks/symlink.yml:
FROM
- name: ANSISTRANO | Change softlink to new release
  file:
    state: link
    path: "{{ ansistrano_deploy_to }}/{{ ansistrano_current_dir }}"
    src: "./{{ ansistrano_version_dir }}/{{ ansistrano_release_version }}"

TO
- name: ANSISTRANO | Change softlink to new release
  file:
    state: link
    path: "{{ ansistrano_deploy_to }}/{{ ansistrano_current_dir }}"
    src: "{{ ansistrano_deploy_to }}/{{ ansistrano_version_dir }}/{{ ansistrano_release_version }}"

Does this change make any difference at all? Maybe I am missing something but I think you will end up with the same result
And yes, being all under the same parent path is by design. In order to be able to have the current folder in a completely different location you would need an extra variable like {{ ansistrano_full_path_to_current_code }}
Does it provide any benefit at all?

Does this change make any difference at all? Maybe I am missing something but I think you will end up with the same result

They won't have the same result. With the example above:
ansistrano_deploy_to: "/var/www"
ansistrano_version_dir: "releases"
ansistrano_current_dir: "foo/bar

Actual:
Symlink /var/www/foo/bar to var/www/foo/releases.
Expected:
Symlink /var/www/foo/bar to var/www/releases.
After my proposed change the expected would correctly happen.

Does it provide any benefit at all?

Yes. There's many scenarios where you could want to deploy a "sub folder" of a system.
Example above. My app could start at /var/www/foo but I want to deploy /var/www/foo/bar separately. I don't want to keep the releases within my app (inside /var/www/foo/releases (and have some risk that they will be accessed by third party or interfere with my development. I want to keep the releases in some separate folder under /var/www/foo_releases or something similar, that noone has access to.

If security is your concern, you need to make sure your app cannot access those folders and your web server is properly configured. That has nothing to do with ansistrano or any deployment tool and it can happen no matter where you put the releases files if any of them are wrongly configured.
And you could always deploy to /opt/your_app and symlink /var/www/app to /opt/your_app/current in a post deployment hook if that gives you extra confidence about other releases folders not being accidentally exposed
Also, some discussion around this from years ago at https://github.com/ansistrano/deploy/issues/92 as such change can break some existing behaviors which are arguably edge cases but so is yours. And IMHO it does not justify introducing potentially breaking changes for your reasoning
I will have a look though as anyway, specifying a 2 folder structure should provide your expected result

I have worked around this, but I genuinely thought this was a bug when I first saw it (and still sort of do).

Another option could be to just disallow nested dirs in those configs if there's other edge cases you wouldn't wanna deal with.

Closing as we will not be fixing this any time soon


Allow perlcritic linter notes to be shown as warnings

Some of us prefer to take perlcritic, well, not literally.  We
introduce a new variable, g:ale_perl_perlcritic_as_warnings, that
allows one to change the default handler behaviour from undefined
(effectively shows as errors) to warnings.

Since perlcritic is a style checker, not a syntax validator, I would argue for always classifying its output as warnings. Or at least, making warnings the default setting of this option.

On Wed, 19 Jul 2017, Eddie Lebow wrote:

Since perlcritic is a style checker, not a syntax validator, I would
argue for always classifying its output as warnings. Or at least,
making warnings the default setting of this option.

I would be OK with that -- I was erring on the side of caution in
leaving the default behaviour intact.
--
Chris Weyl (aka rsrchboy at github, the CPAN, and irc.freenode.org)
Ex Astris, Scientia!
GPG: 9DB3 B4D1 3392 7169 0D89  A91C 1535 F82E 8083 A84A

This isn't necessary. There's an existing option for remapping problem types however you want. I'm on my phone, so I can't remember the variable name, but use : help ale and search for map. It might be named ale_type_map.


fix: collector template and logger

Current coverage is 100% (diff: 100%)

Merging #16 into master will not change coverage

@@           master   #16   diff @@
===================================
  Files           4     4
  Lines         139   130     -9
  Methods        26    26
  Messages        0     0
  Branches        0     0
===================================
- Hits          139   130     -9
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update da43eba...b5cc5a4


Unable to access ship builds from the link shortener

I'm able to access this: https://coriolis.io/ but not this: https://s.orbis.zone/a_d5

It's a never ending story, this thing goes down every few months.
A couple of high profile youtubers offered to host it on their own servers since the links get broken on their videos, but the author refused but he's ok getting donations.
And now we're stuck again while the game is at one of its high points population wise and new Epic players are looking up builds.
Sad situation...

It's a never ending story, this thing goes down every few months.
A couple of high profile youtubers offered to host it on their own servers since the links get broken on their videos, but the author refused but he's ok getting donations.
And now we're stuck again while the game is at one of its high points population wise and new Epic players are looking up builds.
Sad situation...

Still down, unfortunately.

Still down, unfortunately.


#3065. R dataframe autotranslation breaks on control-character in string

Code for containsControlCharacters and escapeControlCharacters is duplicated.
The reason is that as I see core module(NamespaceRest) and jvm/shared module(SimpleEvaluationObject) are independent.
Maybe some proposals here?

we have a place for code shared between core and plugins:
https://github.com/twosigma/beaker-notebook/tree/master/shared/src/main/java/com/twosigma/beaker/shared

:+1:


Expand '~' in the path given as argument

See #18
When one of the tools is invoked with a path containing a ~, we should call -stringByExpandingTildeInPath: to expand it.

Seems it's not an issue anymore (was it ever?) as I just tested with v0.5.0: swiftgen strings ~/Localizable.strings and it worked.
Maybe @AJ9 issue in #18 was finally not that ~ after all (but probably UTF8 encoding instead)
@AJ9 could you confirm?

Tested locally, I confirm this was not the issue and ~ works well. Plus, #21 is fixed now.


Add Quetz builder

This PR add a quetz builder to use its own extensions namespace.
Side effects:

Simplify the application (inherit directly from lumino application)
Drop JupyterLab services
Correct style sheets deduplication
Add quetz-theme

This PR add a quetz builder to use its own extensions namespace.

Out of curiosity, what was the main motivation for not using @jupyterlab/builder directly?
Right now it's true that the JupyterFrontEnd interface might be a bit cumbersome to work with, for example with the required kernel and session services. But this should be improved with the 4.0 @jupyterlab packages.

what was the main motivation for not using @jupyterlab/builder directly?

The mid-term goal would be to achieve https://github.com/jupyterlab/lumino/issues/104 (building on https://github.com/jupyterlab/jupyterlab/pull/11693). That means we should be able to namespace the key in package.json as well as webpack shared scope. So we can truly build simple application reusing the same infrastructure without the weight of JupyterLab for simpler server such as Quetz.
One thing that is also suboptimal when reusing JupyterLab application is the link with codemirror (as seen in Gator too). This means for example that the JS Quetz assets weight almost 30MiB (as BluePrint JS is in too).

Quetz assets

assets by path *.js 29.8 MiB
  assets by chunk 21.9 MiB (id hint: vendors)
    asset vendors-node_modules_blueprintjs_core_lib_cjs_components_button_buttons_js-node_modules_bluep-798265.5bc681256b1094cf7716.js 4.01 MiB [emitted] [immutable] (id hint: vendors)
    asset vendors-node_modules_codemirror_addon_comment_comment_js-node_modules_codemirror_addon_displa-384d74.4386eb1a6df7b186bd0b.js 3.18 MiB [emitted] [immutable] (id hint: vendors)
    asset vendors-node_modules_codemirror_mode_apl_apl_js-node_modules_codemirror_mode_asciiarmor_ascii-55b27f.4bf94485538bf29f2c24.js 2.31 MiB [emitted] [immutable] (id hint: vendors)
    + 21 assets
  + 26 assets
assets by chunk 2.79 MiB (auxiliary id hint: vendors)
  assets by path *.svg 1.73 MiB 3 assets
  assets by path *.eot 363 KiB 3 assets
  assets by path *.ttf 362 KiB 3 assets
  assets by path *.woff 203 KiB 3 assets
  assets by path *.woff2 164 KiB 3 assets
asset index.html.j2 1.57 KiB [emitted]
Entrypoint main 274 KiB = vendors-node_modules_whatwg-fetch_fetch_js.f3f33e2cf34eabd88e74.js 44 KiB main.6417e3ad5e06198cd44e.js 230 KiB
Entrypoint regenerator 248 KiB = vendors-node_modules_regenerator-runtime_runtime_js.0e3cf038469fba3544f3.js 63.5 KiB regenerator.1d4f60ad7746378117e1.js 185 KiB
orphan modules 461 KiB [orphan] 75 modules
runtime modules 152 KiB 28 modules
modules by path ../../node_modules/ 10.4 MiB
  javascript modules 10.3 MiB 1130 modules
  json modules 36 KiB 7 modules
modules by path ../../packages/ 222 KiB 99 modules
provide-module modules 1.6 KiB 39 modules
consume-shared-module modules 1.6 KiB 39 modules
modules by path ./ 9.25 KiB
  modules by path ./build/*.js 7.92 KiB 3 modules
  ./publicpath.js 1.31 KiB [built] [code generated]
  ./terminal-highlight (ignored) 15 bytes [built] [code generated]
+ 6 modules
webpack 5.67.0 compiled successfully in 5116 ms


brscan5: fix sane config path

Description of changes
Fixes brscan5's config loading

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

As ofborg says, target the master branch. the changes will automatically be added to the nix{os,pkgs}-unstable branches.

oops, not sure how that happened. sorry

@ofborg eval

wait hold on how do i

@GrahamcOfBorg eval

Is this completely abandoned ?

@mattchrist

First time I've seen this MR. I'll take a look.

@RaitoBezarius can we get your help here ?

how do i get this moving ?


Bump libgit2 dependencies

Brings in rust-lang/git2-rs#527
Closes #7466
Closes #7988

r? @Eh2406
(rust_highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 82239d7a100acae243f6aa45e9bed19375d07a6f has been approved by Eh2406

:hourglass: Testing commit 82239d7a100acae243f6aa45e9bed19375d07a6f with merge 24bc9252625a05b2b06b4a3b772cca3b18132a91...

:sunny: Test successful - checks-azure
Approved by: Eh2406
Pushing 24bc9252625a05b2b06b4a3b772cca3b18132a91 to master...


Initial contact with primary recipient (WP3.5)

See the item "Initial Contact with Recipient" from the Contribution Lead checklist in Appendix B of ls.st/RDO-41

Steve Ridgeway is the primary recipient point of contact.  Emails have been exchanged by the WP3.5 team with Steve.


two questions about Configuration Parameters in apollo.

Hi,
I'm a researcher in SMU, Singapore, focusing on ADS safety.
I have two questions on the configuration parameters in ADS modules.
1.Do the configuration parameters (e.g., gear_shift_period_duration in planning module) affect the driving status of ego vehicle?
2.Are the current configuration parameters fixed? or Can we tune them to adapt more scenarios?
Thanks.

hello from NTU. Looks like we are working on the same topic. If you're keen, you may add my WeChat: XX_101n374i1_XX and we can discuss on this further :)
back to your questions:

by a quick full source code source, the gear_shift_period_duration in the planning module is only used in the open space trajectory partition optimizer, which may affect scenarios such as dead-end turn, park and go, pull over, valet parking etc.
Yes by all means you can change the parameters however you want. But be sure you know what you're doing:)

Great.
Added you.

seems solved! if you still have questions, feel free to reopen it


Godot 4.0 alpha editor segfaults when browsing to import a project using lavapipe

Godot version
v4.0.alpha3.official.256069eaf
System information
Xubuntu 21.04 (64-bit)
Issue description
The editor crashes with a segfault when clicking "Browse" in the Project Manager's "Import Existing Project" dialog. This happens immediately, before the file picker even opens.
Console output:
hazel@CBKLAPTOP:~/programs$ ./Godot_v4.0-alpha3_linux.64
Godot Engine v4.0.alpha3.official.256069eaf - https://godotengine.org
Vulkan API 1.2.162 - Using Vulkan Device #0: Unknown - llvmpipe (LLVM 12.0.0, 256 bits)
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.

Segmentation fault (core dumped)

Steps to reproduce

Open the godot editor to the Project Manager screen.
Click "Import" in the top-right corner to import a project. The "Import Existing Project" dialog will open.
Click "Browse" to the right of the "Project Path" field.
The editor immediately closes, and Segmentation fault (core dumped) is printed to the terminal.

Minimal reproduction project
No reproduction project, as this happens before any project is loaded.

Do you have a Vulkan-compatible GPU? If so, does this occur when using it instead of software rendering via lavapipe?

@Calinou Not on that computer. It has an Intel i7-2670QM with HD 3000 integrated graphics, which doesn't support Vulkan as far as I know. Do you just need any Vulkan GPU to test? I could try this on my main computer if that would help. It has a much more modern GTX 980 (which definitely DOES support vulkan), but it only has Windows installed so I'd need to boot an Ubuntu live USB.

Do you just need any Vulkan GPU to test?

Yes, any fully Vulkan-compatible GPU will do (this excludes Intel Haswell IGPs, which are only partially Vulkan-compatible).

I can't reproduce the issue with either AMD Radeon RX Vega M or with lavapipe:
Vulkan API 1.2.0 - Using Vulkan Device #1: AMD - AMD RADV VEGAM

Vulkan API 1.2.0 - Using Vulkan Device #0: Unknown - llvmpipe (LLVM 13.0.1, 256 bits)

But @warriordog has a slightly older lavapipe, and so bug is likely related to it. It's not a fully conformant Vulkan implementation as the warning mentions. And there's an upstream issue keeping track of related problems: https://gitlab.freedesktop.org/mesa/mesa/-/issues/3772
You could compile a debug build of Godot to have debug symbols and get a crash backtrace, which could confirm if the crash happens in lavapipe code.

I think this is very likely to be an issue with lavapipe. I upgraded to Xubuntu 21.10 (which has a slightly newer version) and now the crash happens even earlier. Godot closes with a segmentation fault at around the time when it would be moving from the splash screen into the actual editor. I'm going to try and manually update to the latest version and - if I don't brick my installation - I'll report back if the problem is fixed.

Well, I updated to the latest compatible version of mesa (21.3.7) and the crash still happens:
hazel@CBKLAPTOP:~/programs$ ./Godot_v4.0-alpha3_linux.64
Godot Engine v4.0.alpha3.official.256069eaf - https://godotengine.org
Vulkan API 1.2.162 - Using Vulkan Device #0: Unknown - llvmpipe (LLVM 13.0.0, 256 bits)
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.

Segmentation fault (core dumped)

Godot 4.0 Alpha 4 is still affected, by the way:
hazel@CBKLAPTOP:~/programs$ ./Godot_v4.0-alpha4_linux.64
Godot Engine v4.0.alpha4.official.f47097973 - https://godotengine.org
Vulkan API 1.2.162 - Using Vulkan Device #0: Unknown - llvmpipe (LLVM 13.0.0, 256 bits)
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.

Segmentation fault (core dumped)

@akien-mga I don't know how to make a debug build, but I ran under gdb and got this:
Thread 20 "Godo:lavapipe0" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffbcff9640 (LWP 4517)]
0x00007ffff064d689 in llvm::CmpInst::Create(llvm::Instruction::OtherOps, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*, llvm::Twine const&, llvm::Instruction*) () from /lib/x86_64-linux-gnu/libLLVM-13.so.1

This should likely be reported to the Mesa developers.

Seeing the same issue on the latest lubuntu lts. Is gd4 just not targeting anything without Vulkan?

Duplicate of https://github.com/godotengine/godot/issues/38428.

Is gd4 just not targeting anything without Vulkan?

There's an OpenGL renderer you can test with the --rendering-driver opengl3 [command line argument](https://docs.godotengine.org/en/stable/getting_started/editor/command_line_tutorial.html, but many features are still missing, especially in 3D. Note that you may have to create a project from the command line (see that page's description) to bypass the project manager.


Global JAEGER_TAGS environment variable is not used by spring starter.

The auto config class (io.opentracing.contrib.java.spring.jaeger.starter.JaegerAutoConfiguration) creates a tracer in such a way that it does not add tags.   It also would not use any of the other JAEGER_* env variables that the Jaeger client looks for.
This showed to us by not adding the JAEGER_TAGS to our traces.

PR for this: https://github.com/opentracing-contrib/java-spring-jaeger/pull/17

Close PR as intended solution had issues.
The spring starter should use environment variables if environment variables are there.  So this issue is still open from that perspective.

I will look into JAEGER_TAGS but I don't agree that the env vars should be used if they are there.
If the user wanted that, they could just go ahead and use declare a bean from Configuration.fromEnv().getTracerBuilder().
Having said that I will look into ways to provide even more configuration

Why not to provide tags as map via spring config?

@pavolloffay Thanks for the suggestion, I plan to look into this soon

@geoand: Any update on this please?
We have a use case to inject the JAEGER_TAGS values from environment, so looking around for this support.
Thanks a ton!

@sagaranand015 I just created #36 to address this

This is lovely!
Eagerly waiting for it be to be merged and released. Thank you @geoand

You're welcome!
Once I get a review, I'll merge and do a release

Why not to provide tags as map via spring config?
I don't see a way to provide a map of Tags via application.yml/Spring Config

Why not to provide tags as map via spring config?

I don't see a way to provide a map of Tags via application.yml/Spring Config.
I think supporting both JAEGER_TAGS + a map from application.yml might be good!

That's pretty much what the PR does :wink:

Oh I missed that part. That's indeed what it does :)

Version 1.0.2 is on the way with a fix on this


Attributes translation for Student, SchoolPerformace and Incident

Issue #8.

Coverage remained the same at 85.0% when pulling c1349cd926d0de5ba70fc89da662978dfb05918c on brunoao86:attributes-translation into 6d6e1596b76017c15b3a2daa0c6b54d7c8ce55f3 on sistemacode:master.

Thx so much


InputText, InputTextMultiline, InputFloat, InputInt

Hey :),
This one contains the InputXYZ functions. There's one not-so-minor issue, which also is present in the ImGui demo window.
For InputText if the buffer size is not specified as something big like 1024 or bigger it will take the passed value and use it as a limit - so if you pass "Text" it will display text but will also put limit of 4 chars on the input. No idea why this happens, so i've put a 2056 char array as limit for now. Same applies for the InputTextMultiline function.
Another issue with the inputs i noticed is that it works too fast, meaning if i type "A" it's ok, but if i do backspace (delete) and enter (new lines) it deletes multiple characters/words or puts lots of new lines. Same behaviour exists in the ImGui demo window by the way, so i think it might be something either in the implementation or in Cython itself.
Will keep digging to see if i can fix it.
P.S. Same type of issues i noticed with scrolling - if you have a big height window and you scroll with the mouse for ex., it always goes either at the top or at the bottom, you can't position it in the middle. Same issues with the combo lists.
P.P.S. All of those are observed on Python 3.5 with the PySDL implementation, so they might not be present in Python 2.X.
Cheers,
S.

I will pull it locally to see what may be the cause if these issues.
If something does not work with imgui demo window it is either a bug in imgui C++ implementation or a problem with the inputs processing (so PySDL/GLFW integration). I will review the #14 PySLD2 PR soon and then compare results between different integrations.

I did run thin in my local environment and here is my feedback:

The buffer size unfortunately must be set explicitly right now as a function parameter. Imgui expects that user knows how much of input he wants to process. Setting this to arbitrarily high value is not a proper solution. I would rather like to not have a default value for such param either because if we implement #8 fully, this will have to be a keyword-only argument.
Remember that buffer size is in bytes and the input is in unicode. This means that buffer size does not equal the number of characters. Function docstring should have a clear note on that.
I have tried to run example code in both GLFW2 implementation and PySDL2. I have noticed the "multiple backspace and newline characters" issue only on GLFW3 and Python 3. I don't know what is the problem yet. But since it happens also in the demo window it is just implementation-specific issue or internal imgui problem. Will have to try raw C++ example from imgui sources.
I have found that PySDL2 does not handle key modifiers correctly. Pressing SHIFT, CTRL, ALT etc. yields semi-random unicode code points.
Callbacks are missing but they are optional so I can add support for them in the future.

3., 4. and 5. can be handled in separate issues/PRs.

I have found the reason for problem 3. It is a timing issue and both PySDL2 and GLFW3 do not measure time deltas properly. Will be very easy to fix.

Hey :),
All those PR got me confused and i won't be surprised if i messed the branches again.
Anyway, i've added the _from_bytes() (think it's correct) and fixed the input_text methods to be with length parameters.
Cheers,
S.

Changes Unknown when pulling 5c221acdf037d8ad842db32aa71c456c209d6958 on supudo:InputBoxes into ** on swistakm:master**.

This branch is fine. You did not mess anything here :). The _from_bytes() function loos great. It is something that I exactly had on my mind.
There are just some two issues with input_float3 and input_float4 functions. You can find details in Appveyor build logs. Seems that creating this tests pipeline did finally pay out 🍾

Changes Unknown when pulling a89139f3220f792b0af550c4f5d9e697b689d5f2 on supudo:InputBoxes into ** on swistakm:master**.


Fixing bug in pstfrom draw method

Fix where par_df lists in struct dict were being combinded during specsim draw

Coverage decreased (-1.3%) to 76.392% when pulling e2b58eb86f09176044125c1b25269ac406e02eef on briochh:feature_pstfrom_dev into c8ff8cd521795c0ee0a85b9267d439de584aa4d8 on jtwhite79:feature_pstfrom_dev.


master and primavera branch

I can process NEMO output with the master branch, but when trying to process IFS output I get
Traceback (most recent call last):
  File "./ece2cmor.py", line 68, in <module>
    main(sys.argv[1:])
  File "./ece2cmor.py", line 63, in main
    maxsizegb = args.tmpsize)
  File "/home/sm_wyser/ece2cmor3/ece2cmor3/ece2cmorlib.py", line 131, in perform_ifs_tasks
    outputfreq = outputfreq,tempdir = tempdir,maxsizegb = maxsizegb)):
  File "/home/sm_wyser/ece2cmor3/ece2cmor3/ifs2cmor.py", line 88, in initialize
    ifs_grid_descr_ = cdoapi.cdo_command().get_griddes(ifs_gridpoint_file_) if os.path.exists(ifs_gridpoint_file_) else {}
  File "/home/sm_wyser/ece2cmor3/ece2cmor3/cdoapi.py", line 59, in __init__
    self.app = cdo.Cdo()
  File "/home/sm_wyser/.conda/envs/CMOR/lib/python2.7/site-packages/cdo.py", line 87, in __init__
    self.operators              = self.getOperators()
  File "/home/sm_wyser/.conda/envs/CMOR/lib/python2.7/site-packages/cdo.py", line 261, in getOperators
    if (parse_version(getCdoVersion(self.CDO)) > parse_version('1.7.0')):
  File "/home/sm_wyser/.conda/envs/CMOR/lib/python2.7/site-packages/cdo.py", line 40, in getCdoVersion
    return match.group(1)
AttributeError: 'NoneType' object has no attribute 'group'

Interestingly enough, the IFS output processing worked fine with the PRIMAVERA branch but not the NEMO output processing (see #31)

Ah I see the error in the primavera branch of the master script now, it does the ocean twice!

Fixed the double ocean cmorization problem finally, rev. 16e1b12df990088c200c1369f369c42cf6f14acc

Klaus, can you load your conda enviroment and type the following:
python
>>> import cdo
>>> app = cdo.Cdo()

Does it give the same error?

Here is what I get:
>>> import cdo
>>> app=cdo.Cdo()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sm_wyser/.conda/envs/CMOR/lib/python2.7/site-packages/cdo.py", line 87, in __init__
    self.operators              = self.getOperators()
  File "/home/sm_wyser/.conda/envs/CMOR/lib/python2.7/site-packages/cdo.py", line 261, in getOperators
    if (parse_version(getCdoVersion(self.CDO)) > parse_version('1.7.0')):
  File "/home/sm_wyser/.conda/envs/CMOR/lib/python2.7/site-packages/cdo.py", line 40, in getCdoVersion
    return match.group(1)
AttributeError: 'NoneType' object has no attribute 'group'

I have updated cdo to version 1.8.2, get the same error. Is it a problem with my anaconda env?

I have come across this issue myself, but I can't remember the solution. Could it be that some cluster module or appended path exposes an older version of cdo?

It's pretty weird. I have load module cdo in my bash_profile, but somehow cdo gets broken when I activate the Anaconda env and therefore cdo.Cdo() results in an error. The fix is
source activate CMOR
module unload cdo
module load cdo
python
>>> import cdo
>>> cdo.Cdo()

(CMOR is the name of my Anaconda env)
For the time being it's OK to have this workaround, but it's not nice in the long run. I'll ask the guys from the computer center if this is a bug of Anaconda and if so if it can be fixed.
With the workaround I can now process atm and oce output without problem, therefore closing the issue.

Update: I consulted the computer center, and they discovered that cdo in source forge dosn't come with the correct dependencies: cdo needs libicui18n.so.58 (whatever that is) but apparently "our" anaconda comes with icui-54. In principle icui could be updated from conda-forge, but unfortunately icui has quite many dependants (scipy and numpy among others), and I am not sure what happens with the CMOR3 library if these packages are changing.

That is what I suspected too. I am not sure whom to report this to, because I don't know whether the CDO developer team at MPI is releasing that conda package


Site https://tom5454.com/ and https://paste.tom5454.com/ don't work for me without VPN

Your two sites don't work for me without using a VPN or proxy.
I also have 100% packet loss when trying to ping cmd against your sites.
It seems your hosting provider is blocking Crimean IP addresses or something like that.

please don't give up on the GitHub gists and add the ability to use a proxy to connect the mod to paste.tom5454.com.
Otherwise, people like me simply won't see other people's models.
99% of the fault was the sanctions as your sites are located on google servers.

GitHub gists are not going away. The mod uses the minecraft's proxy settings, that comes from the launcher to access the paste site. (These proxy settings are also used for minecraft's authentication).
But I will add an option to the settings gui to change the proxy for the paste site.

Can you access https://cf.tom5454.com/

Can you access https://cf.tom5454.com/ without a proxy or VPN?
It seems to work)


Emulate old securepass-tools by supporting symlinks to spctl

An example follows:
$ ln -s spctl sp-apps
$ ./sp-apps

The latter should behave as the following:
$ spctl app list

As requested by @gpaterno


Clarify license as BSD 3-Clause License

I followed the process for adding a license to an existing repository, and then I copied and pasted the license that GitHub generates for the BSD 3-Clause License type into the existing LICENSE file.
Other than the removal of the "All rights reserved" line, the rest should mostly be formatting changes.
Resolves #284

No need to be sorry — I don’t think you are being pedantic.
But now it is my turn to actually be pedantic: I said that the rest should mostly be formatting changes. 😉
I am aware of this other, very minor addition. An addition that was not made by me, mind you — all the changes here were entirely copy-pasted from GitHub's license generation tool, as noted in the PR description.
Moreover, the text in this PR is exactly — verbatim — what appears in the BSD 3-Clause License.
Finally, wouldn’t we want to extend the same release from liability to folks who graciously volunteer to contribute to the project?

Hey Teemu. Is it okay if we proceed and merge this PR?

Merging the change as it reflects the current maintainers/contributors as well


zh_trans_index

Master branch home page translation update.

@zacharysarah This is a translation guide, the specific tutorial is here:

@brucehex This PR conflicts with the workflow for localization. 👋 Please see #10666 and #10485 for more context.


Improve flat trace generation performance

PR description
When testing one of the blocks that has a lot of subcalls (838 internal transactions), we noticed that most of the time was spent on hasRevertInSubCall method.

This PR reduced the time to trace a 29 mgas block from more than 5 seconds to 1 second.
Fixed Issue(s)

@shemnon Could you review the last changes ?


Installation fails due to Matplotlib 3.x requiring python 3.x

The new matplotlib needs python 3 so the dependency check fails and install ends in error.  I encountered this while trying to install on a raspberry pi zero w.
I worked around this by manually installing marplotlib 2.x pip install ‘matplotlib<3.0’ before manually running the installer.

I'm having the same problem, but I'm not even able to install matplotlib from the command line.

You have to install older version of NumPy as well.
/home/pi/oprint/bin/pip --no-cache-dir install 'numpy<1.17'
/home/pi/oprint/bin/pip --no-cache-dir install 'matplotlib<3.0'

Installing numpy and matplotlib on their own before the plugin worked for me. This should be on the front page with the installation instructions IMO.

When installing numpy, I had to restrict the max number of concurrent jobs in order to install numpy successfully:
$ NPY_NUM_BUILD_JOBS=1 /home/pi/oprint/bin/pip --no-cache-dir install 'numpy<1.17'

otherwise I'd get a segfault like so:
    In file included from /usr/include/python2.7/pyport.h:325:0,
                     from /usr/include/python2.7/Python.h:58,
                     from numpy/core/src/umath/ufunc_type_resolution.c:15:
    /usr/include/arm-linux-gnueabihf/bits/mathcalls.h:115:1: note: expected 'long double *' but argument is of type 'npy_longdouble * {aka double *}'
     __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
     ^
    arm-linux-gnueabihf-gcc: build/src.linux-armv7l-2.7/numpy/core/src/multiarray/einsum.c
    In file included from numpy/core/include/numpy/npy_math.h:548:0,
                     from numpy/core/include/numpy/halffloat.h:5,
                     from numpy/core/src/multiarray/einsum.c.src:19:
    numpy/core/src/npymath/npy_math_internal.h.src: In function 'npy_modfl':
    numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of 'modfl' from incompatible pointer type [-Wincompatible-pointer-types]
         return modf@c@(x, iptr);
                         ^~~~
    In file included from /usr/include/python2.7/pyport.h:325:0,
                     from /usr/include/python2.7/Python.h:58,
                     from numpy/core/src/multiarray/einsum.c.src:12:
    /usr/include/arm-linux-gnueabihf/bits/mathcalls.h:115:1: note: expected 'long double *' but argument is of type 'npy_longdouble * {aka double *}'
     __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
     ^
    arm-linux-gnueabihf-gcc: numpy/core/src/multiarray/strfuncs.c
    arm-linux-gnueabihf-gcc: numpy/core/src/multiarray/number.c
    arm-linux-gnueabihf-gcc: build/src.linux-armv7l-2.7/numpy/core/src/multiarray/arraytypes.c
    arm-linux-gnueabihf-gcc: internal compiler error: Segmentation fault (program as)
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.
    arm-linux-gnueabihf-gcc: build/src.linux-armv7l-2.7/numpy/core/src/umath/scalarmath.c
    error: Command "arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -std=c89 -Wno-error -fPIC -DNPY_INTERNAL_BUILD=1 -DHAVE_NPY_CONFIG_H=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -Ibuild/src.linux-armv7l-2.7/numpy/core/src/umath -Ibuild/src.linux-armv7l-2.7/numpy/core/src/npymath -Ibuild/src.linux-armv7l-2.7/numpy/core/src/common -Inumpy/core/include -Ibuild/src.linux-armv7l-2.7/numpy/core/include/numpy -Inumpy/core/src/common -Inumpy/core/src -Inumpy/core -Inumpy/core/src/npymath -Inumpy/core/src/multiarray -Inumpy/core/src/umath -Inumpy/core/src/npysort -I/usr/include/python2.7 -Ibuild/src.linux-armv7l-2.7/numpy/core/src/common -Ibuild/src.linux-armv7l-2.7/numpy/core/src/npymath -Ibuild/src.linux-armv7l-2.7/numpy/core/src/common -Ibuild/src.linux-armv7l-2.7/numpy/core/src/npymath -c numpy/core/src/multiarray/number.c -o build/temp.linux-armv7l-2.7/numpy/core/src/multiarray/number.o -MMD -MF build/temp.linux-armv7l-2.7/numpy/core/src/multiarray/number.o.d" failed with exit status 4
    In file included from numpy/core/include/numpy/npy_math.h:548:0,
                     from numpy/core/src/multiarray/arraytypes.c.src:16:
    numpy/core/src/npymath/npy_math_internal.h.src: In function 'npy_modfl':
    numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of 'modfl' from incompatible pointer type [-Wincompatible-pointer-types]
         return modf@c@(x, iptr);
                         ^~~~
    In file included from /usr/include/python2.7/pyport.h:325:0,
                     from /usr/include/python2.7/Python.h:58,
                     from numpy/core/src/multiarray/arraytypes.c.src:3:
    /usr/include/arm-linux-gnueabihf/bits/mathcalls.h:115:1: note: expected 'long double *' but argument is of type 'npy_longdouble * {aka double *}'
     __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
     ^
    In file included from numpy/core/include/numpy/npy_math.h:548:0,
                     from numpy/core/include/numpy/ufuncobject.h:4,
                     from numpy/core/src/umath/scalarmath.c.src:16:
    numpy/core/src/npymath/npy_math_internal.h.src: In function 'npy_modfl':
    numpy/core/src/npymath/npy_math_internal.h.src:490:21: warning: passing argument 2 of 'modfl' from incompatible pointer type [-Wincompatible-pointer-types]
         return modf@c@(x, iptr);
                         ^~~~
    In file included from /usr/include/python2.7/pyport.h:325:0,
                     from /usr/include/python2.7/Python.h:58,
                     from numpy/core/src/umath/scalarmath.c.src:13:
    /usr/include/arm-linux-gnueabihf/bits/mathcalls.h:115:1: note: expected 'long double *' but argument is of type 'npy_longdouble * {aka double *}'
     __MATHCALL (modf,, (_Mdouble_ __x, _Mdouble_ *__iptr)) __nonnull ((2));
     ^
    numpy/core/src/multiarray/arraytypes.c.src: In function 'small_correlate':
    numpy/core/src/multiarray/arraytypes.c.src:4919:1: internal compiler error: in estimate_operator_cost, at tree-inline.c:3959
     }
     ^
    Please submit a full bug report,
    with preprocessed source if appropriate.
    See <file:///usr/share/doc/gcc-6/README.Bugs> for instructions.

I'm guessing the device runs low on memory during compilation.

I just setup OctoPi (my first time using OctoPrint) on a new Raspberry Pi 4 B (with 4GB RAM) and wanted to install this plugin but got the same problem.
Thanks @boraca! With those install commands I was able to get this installed and working (though now I have another issue with the heatmap image not showing without reloading the whole page, I'll see if there's another issue about that open).


(maint) - Release prep v4.2.2

Summary
Rolling back release v5.0.0.
Releasing puppet-lint gem with reference to newly published rubygem on GitHub registry.
Have added original owner back as this will be the final release under https://rubygems.org/gems/puppet-lint.
Additional Context
Add any additional context about the problem here.

[ ] Root cause and the steps to reproduce. (If applicable)
[ ] Thought process behind the implementation.

Related Issues (if any)
Mention any related issues or pull requests.
Checklist

[ ] 🟢 Spec tests.
[ ] 🟢 Acceptance tests.
[ ] Manually verified.

Have added original owner back as this will be the final release under https://rubygems.org/gems/puppet-lint.

Would it make sense to publish to both?
Facter gets released as GPG signed to https://downloads.puppet.com/ which feels like the right thing to do here. In Fedora's Facter packaging I use that as the official source (and verify the GPG signature). IMHO that gives way more supply chain safety than publishing to GitHub and also consistency to the community.

Have added original owner back as this will be the final release under https://rubygems.org/gems/puppet-lint.

Would it make sense to publish to both?

I assumed and I'm still hoping that the final gems will be released to github and rubygems. Vox Pupuli follows the same pattern and that was also our recommendation in the last Vox Pupuli monthly meeting.

@bastelfreak @ekohl - Lets discuss. We're going to re-open the discussion

A gemspec can only name a dependency, it can't indicate the source. If a user doesn't specify the source of puppet-lint in a Gemfile, they will get an older version. It also means a lot more work for everyone consuming puppet-lint to set up. If you trust Rubygems, it's just so much easier if you publish to both. Not having to think about transitive dependencies, all of that.
In the case of Vox Pupuli, we don't depend on puppet-lint directly. Instead, we pull it in via voxpupuli-puppet-lint-plugins which in turn pulls it in via voxpupuli-test. Our modules have something that comes down to:
group :test do
  gem 'voxpupuli-test', '~> 7.0', require: false
end

If you don't publish to Rubygems, we need to change this to:
group :test do
  gem 'voxpupuli-test', '~> 7.0', require: false
  source 'https://rubygems.pkg.github.com/puppetlabs' do
    gem 'puppet-lint'
  end
end

Out of interest, I just tried to at least consume voxpupuli-test but then I see:
$ bundle update
Authentication is required for rubygems.pkg.github.com.
Please supply credentials for this source. You can do this by running:
`bundle config set --global rubygems.pkg.github.com username:password`
or by storing the credentials in the `BUNDLE_RUBYGEMS__PKG__GITHUB__COM` environment variable

So that will make consuming puppet-lint anywhere via Bundler a massive pain, especially in CI.
My recommendation:

Publish to Rubygems as has always been done
Publish to GitHub's registry
Publish GPG signed releases to downloads.puppet.com

For Fedora RPM packaging of Facter & Puppet I verify the GPG key (https://src.fedoraproject.org/rpms/facter/blob/rawhide/f/facter.spec#_64 & https://src.fedoraproject.org/rpms/puppet/blob/rawhide/f/puppet.spec#_64) and I'll do the same for puppet-lint if possible.
The PDK can then consume gems from a verified source, either via GH or downloads.puppet.com. I don't know the PDK build process, but perhaps just being able to verify a gem is signed and is identical to what's on Rubygems is sufficient assurance for customers.

A gemspec can only name a dependency, it can't indicate the source. If a user doesn't specify the source of puppet-lint in a Gemfile, they will get an older version. It also means a lot more work for everyone consuming puppet-lint to set up. If you trust Rubygems, it's just so much easier if you publish to both. Not having to think about transitive dependencies, all of that.
In the case of Vox Pupuli, we don't depend on puppet-lint directly. Instead, we pull it in via voxpupuli-puppet-lint-plugins which in turn pulls it in via voxpupuli-test. Our modules have something that comes down to:
group :test do
  gem 'voxpupuli-test', '~> 7.0', require: false
end

If you don't publish to Rubygems, we need to change this to:
group :test do
  gem 'voxpupuli-test', '~> 7.0', require: false
  source 'https://rubygems.pkg.github.com/puppetlabs' do
    gem 'puppet-lint'
  end
end

Out of interest, I just tried to at least consume voxpupuli-test but then I see:
$ bundle update
Authentication is required for rubygems.pkg.github.com.
Please supply credentials for this source. You can do this by running:
`bundle config set --global rubygems.pkg.github.com username:password`
or by storing the credentials in the `BUNDLE_RUBYGEMS__PKG__GITHUB__COM` environment variable

So that will make consuming puppet-lint anywhere via Bundler a massive pain, especially in CI.
My recommendation:

Publish to Rubygems as has always been done
Publish to GitHub's registry
Publish GPG signed releases to downloads.puppet.com

For Fedora RPM packaging of Facter & Puppet I verify the GPG key (https://src.fedoraproject.org/rpms/facter/blob/rawhide/f/facter.spec#_64 & https://src.fedoraproject.org/rpms/puppet/blob/rawhide/f/puppet.spec#_64) and I'll do the same for puppet-lint if possible.
The PDK can then consume gems from a verified source, either via GH or downloads.puppet.com. I don't know the PDK build process, but perhaps just being able to verify a gem is signed and is identical to what's on Rubygems is sufficient assurance for customers.

Thanks for the in-depth analysis @ekohl.
We have taken this all into account and will update the discussions thread by COB tomorrow with our final steps outlined.
RE The changelog, this was an oversight and will be corrected in the next release of puppet-lint.


Matching engine tutorial add networking troubleshooting

REQUIRED: Add a summary of your PR here, typically including why the change is needed and what was changed. Include any design alternatives for discussion purposes.

GCP Customers sometimes have an incorrect configuration which gives them errors such as Error 403 status:14 "failed to connect to all addresses" when their VPC and Matching Engine resources configuration is incorrect. This new section will allow them to troubleshoot their issues without the help from a support agent.

REQUIRED: Fill out the below checklists or remove if irrelevant

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[ ] Use the notebook template as a starting point.
[ ] Follow the style and grammar rules outlined in the above notebook template.
[ ] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[ ] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under the Official Notebooks section, pointing to the author or the author's team.
[ ] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

If you are opening a PR for Community Notebooks under the notebooks/community folder:

[x] This notebook has been added to the CODEOWNERS file under the Community Notebooks section, pointing to the author or the author's team.
[x] Passes all the required formatting and linting checks. You can locally test with these instructions.

If you are opening a PR for Community Content under the community-content folder:

[ ] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[ ] The main content directory has been added to the CODEOWNERS file under the Community Content section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

This notebook is referenced in: https://cloud.google.com/vertex-ai/docs/matching-engine/ann-service-overview#key_user_journeys

All comments have been resolved. Awaiting new review @andrewferlitsch