write a playbook that creates an admin user account

Wings:

Also, it could be helpful to write a playbook that creates the user:
"estadmin"
UID 1336
GID 1336
Non system user
Shell /bin/bash
And populates it with pubkeys defined in Git.
That way we can roll out keys to every machine so that we can open up access to boxes to Lodge, Alvin, etc.
estadmin will be the primary way people log onto boxes until we get LDAP in place.

I'm thinking this could be a part of like a 'standard operating environment' playbook that also resolves issues like this one: https://github.com/application-research/estuary-hosted-infrastructure/issues/1

Yeah, basically. I was going to call it "base-playbook" in keeping with traditions at previous employers. It's the base of any machine.


Very, very tiny thing

At https://docs.microsoft.com/en-us/office/vba/api/word.cell.range
Under Example:
This example copies thecontents (…)

@PeterVanLoosbroek I made the fix. Changes will be live later today. :-)


[RFC] Remove decorators from documentation.

Right now the documentation includes decorators, which are a stage-2 TC39 proposal. The implementation in babel has issues, and requires a legacy transformer. Should we pull decorators from the docs until the spec is finalized and babel is updated?

I would leave them there with a notion about stage-2. If you use ES7 you probably also know about decorators and their current issues.

@tonilaukka The problem is that people set them up based on outdated blog posts and try to get help via random stackoverflow findings. The experience is far from seamless and I know that a lot of projects promoting the use of decorators get bug reports from people mis-configuring babel (which makes sense because it's extremely brittle and error prone to set up decorators).

Also, the official create-react-app setup doesn't include decorators. So out of the box people might get confused and try to use features that are not available to them.

Totally agree with this. Happy to add them back when Babel officially supports them and configuration doesn't break due to plugin order.

@kesne you make valid point there with create-react-app and I agree with you and @gaearon on the other issues too. ;) When everything is working for you, it easy to forget how hard it was to get working in the first place.


If there is no config file it crashes

If the file exists and does not have the key everything works fine, but if one of the files does not exist and it tries to read it, an exception will be thrown.
Need to handle file not found exception properly

Closed by #23


software auto-update

Add feature to allow the app to update automatically on availability of new version

fixed here


Now will distinguish between status codes the expected inferred type

Fixes #1956 and #1850 .
Changes proposed in this pull request:

Now instead merging 2 different responses as available options, will check for the status code the available options, after that if you still have multiple content types it will raise the error, and users should specify in headers the correct one

Thanks @carloscbl!
Tests are failing though. Not sure if this is due to an issue with your code, or because the failing tests depend on the old behavior.


dotnet new mvc does not work, because System.Collections.Immutable 1.6 cannot be found

Describe the bug
Creating a new ASP.NET project with the built in template generator does not work, because System.Collections.Immutable version 1.6.0 cannot be found in nuget -> the project dependencies cannot be restored
To Reproduce
Steps to reproduce the behavior:

Run

dotnet new mvc --auth individual --output zz

See error

The template "ASP.NET Core Web App (Model-View-Controller)" was created successfully.
This template contains technologies from parties other than Microsoft, see https://aka.ms/aspnetcore/3.0-third-party-notices for details.

Processing post-creation actions...
Running 'dotnet restore' on zz/zz.csproj...
/Users/mudrz/Projects/asptests/zz/zz.csproj : error NU1102: Unable to find package System.Collections.Immutable with version (>= 1.6.0)
/Users/mudrz/Projects/asptests/zz/zz.csproj : error NU1102:   - Found 26 version(s) in nuget.org [ Nearest version: 1.6.0-preview4.19212.13 ]
  Restore failed in 1.96 sec for /Users/mudrz/Projects/asptests/zz/zz.csproj.

Restore failed.
Post action failed.
Description: Restore NuGet packages required by this project.
Manual instructions: Run 'dotnet restore'

Expected behavior
I expect that project dependencies would install
Additional context
Manually running dotnet restore results in the same error

Include the output of dotnet --info
.NET Core SDK (reflecting any global.json):
 Version:   3.0.100
 Commit:    04339c3a26

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.15
 OS Platform: Darwin
 RID:         osx.10.15-x64
 Base Path:   /usr/local/share/dotnet/sdk/3.0.100/

Host (useful for support):
  Version: 3.0.0
  Commit:  7d57652f33

.NET Core SDKs installed:
  3.0.100 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 3.0.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

@mudrz Thanks for contacting us.
This is likely an issue with your environment. I would try a few things:

Check your nuget package restore sources.
Clean your nuget package caches and run dotnet restore.
If none of those things work, I would recommend you open an issue in https://github.com/nuget/home as they will be in a better position to help you.
I can see the package available on nuget here https://www.nuget.org/packages/System.Collections.Immutable/1.6.0


Notifications for Linux

Added support for notifications in Linux.

Thanks for doing this, much appreciated!
This, along with Windows notifications, should end up shipping in 1.0.7 tomorrow.


Update develop after 2.2.0 tagged

does that release date need to be updated?

It does, but the main branch is protected! I should have changed that before merging. I think I'd have to merge another branch into it with the correct date. Any suggestions how to handle this?

I think make a chore branch or something with the change to merge to main?

I think make a chore branch or something with the change to merge to main?

All set! Really fast - thank you!


Weave IPAM CNI plugin cannot distinguish between empty and nil routes

Consider the following CNI config:
{
    "name": "weave",
    "type": "weave-net",
    "hairpinMode": true,
    "ipam": {
       "type": "weave-ipam",
       "subnet": "<IP_ADDRESS>/24"
    }
}

When using the config, expected behavior is that the Weave CNI plugin will add a default route as can be seen here. However, the IPAM plugin populates the Routes field with empty list, so the default route is not added.

I tried following and it works. Let me know if you see any issue in using weave with following approach:
I tried following conf and it worked. I am getting correct route settings.
{
"name": "weave",
"type": "weave-net",
"hairpinMode": true,
"ipam": {
"type": "host-local",
"subnet": "<IP_ADDRESS>/24",
"rangeStart": "<IP_ADDRESS>",
"rangeEnd": "<IP_ADDRESS>",
"routes": [
{ "dst": "<IP_ADDRESS>/0" }
]
}
}

The only part on my every worker node, I have to modify weave conf file manually based on different ranges.

I think the net plugin is behaving as designed and the Weave Net ipam shouldn’t populate an empty list.
Is it actually the ipam plugin, or libcni that is adding an empty list?

So i digged in bit more.
It turns out the source of the problem is the network configuration not having a CNI version. Example config shared in #3331 does not have a cniVersion explicitly specified. Which is interpreted by CNI library as 0.1.0
When weave-net plugin invokes IPAM plugin using libcni helper functions it will result in 0.2.0 result as 0.2.0 supports cniVersion 0.1.0.
Weave CNI plugin converts the results to current version of the result using libcni helper function convertFrom020  which initializes the Routes with zero-length slice irrespective of any routes in the config. If we specify 0.3.0 as cniVerson there is no issue.
I think libcni should not be creating empty slice of routes when there are no routes specified in the network configuration.
@bboreham @brb Any thoughts? I can open an issue libcni

@murali-reddy that's great: I really like to understand what is going wrong before fixing things.
A quick glance suggests that libcni is indeed initializing that member unnecessarily.
We should add the CNI version to our standard config, right?  And maybe mention this in the docs.

@murali-reddy Good investigation! Please file an issue for libcni.

We should add the CNI version to our standard config, right? And maybe mention this in the docs.

Default config that weave creates already sets cniVersion to 0.3.0.  But even if users create custom config IMO this is something better fixed by libcni. If its not for 0.3.0, it might happen for 0.4.0

I really like to understand what is going wrong before fixing things.

Basically the problem (i.e. adding empty slice of Routes) is manifesting when converting IPAM plugin result to current version IPAM result. Opened https://github.com/containernetworking/cni/issues/573

I will close this issue and follow up on the libcni issue. Please reopen if you think otherwise.


JavaScript Algorithms and Data Structures Projects - Caesars Cipher

Describe your problem and - if possible - how to reproduce it
I cannot pass the JavaScript Algorithms and Data Structures Projects - Caesars Cipher even though it works fine in my IDE (visual studio code).
to reproduce:
go to: https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/caesars-cipher
fill in this:
function rot13(str) { // LBH QVQ VG!
var decoded = "";
for(let x = 0; x < str.length; x++){
var letter = str[x];
if(!letter.match(/[A-Z]/)){
} else {
var charcode = letter.charCodeAt(0);
letter = String.fromCharCode(((charcode - 65 + 13) % 26) + 65);
  }
  decoded += letter;

}
console.log(decoded);
}
// Change the inputs below to test
rot13("SERR PBQR PNZC");
(which I think is right)
and click on run tests
Add a Link to the page with the problem
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/caesars-cipher
Tell us about your browser and operating system

Browser Name: Chrome
Browser Version: 66.0.3359.181
Operating System: MacOs

If possible, add a screenshot here

never mind! my bad! forgot the console.log. Although it is weird that this does not show up in the terminal inside FreeCodeCamp. Sorry!

@JMVL64 you should close this issue if it's no longer a problem

Yes, no longer a problem. Had some busy times and forgot to close it.


add hive-frontend Group to ClusterRoleBinding

This PR is an attempt to solve https://jira.coreos.com/browse/APPSRE-961.
The plan is to add OCM developers to this group on the integration environment only.
Please let me know what you think.

/assign @dgoodwin

/lgtm


Populate from tree - Select node

Let me know if you'd like me to split this up into separate issues. Somewhat related to #55
Problem
The Populate from tree option in the property actions only populates from direct children of the current content node (the one containing that property). It always adds all children of that node. This creates a problem if:

The current content node doesn't have children
You want to include deeper descendants, not just direct children
You just added a new branch of content to the tree (a new page with its own set of descendants) and you only want to add that new branch without having to re-add everything else

Proposed solution

Populate descendants and not just direct children (or let editors choose whether to include descendants, maybe with a setting for the level of depth?)
Allow editors to select a specific node to populate from, possibly with an option for whether or not the selected node should itself be added as a menu item (or alternately being able to populate items under a specific parent menu item, since either gives an option to avoid having to drag all the individually added child items)

Hey @eden-jh,
I've been thinking about this one a bit and agree the current "populate from tree" implementation isn't great...
As you point out, the most obvious flaws are:

It doesn't make sense when there are no children
It can result in duplicates, there is currently no check if an item already exists
There might be 1000's of children (it's unlikely a user will ever want more than say 10?)

I think the best and most "Umbraco way" of doing this is to present the user with a multiple content picker dialog, allowing them to choose which nodes (at any level) should be included. This gets around the need for configuration options etc too.
I feel sacrificing a tiny bit of the autonomy for better control is a good trade off. What do you think?
I've got a prototype working in the feature/populate-tree branch - will do some testing and get some opinions before looking at a release.
Cheers,
Callum


Test on ipyparallel

Refs #811
Contributor Checklist:

[ ] I have added a changelog entry for my contribution
[ ] I have added/updated documentation for all user-facing changes
[ ] I have added/updated test cases

Thx, merged!


Boonex import for nodebb

Hi !!
will it be possible to have an import of Boonex?

sure, if you provide a DB Dump

Hi, sorry for the wait.
I send that in your e-mail.
Thx ^^

no worries, I am behind on some work too for the next couple of weeks, Ill get to it when i get a chance.
i got your email by the way


test-case: sometimes the transcribes audio case will failed.

LocalAI version:

main branch
Environment, CPU architecture, OS, and Version:

Describe the bug

I run several times of all the test cases today, and the test case for audio [It] transcribes audio always failed (80%) chance. So, we need to check this test case and make sure it is useful.
•

Summarizing 2 Failures:
  [FAIL] API test API query [It] transcribes audio
  /workspaces/LocalAI/api/api_test.go:273
  [FAIL] API test API query backends [It] runs rwkv
  /workspaces/LocalAI/api/api_test.go:312

Ran 19 of 19 Specs in 317.171 seconds
FAIL! -- 17 Passed | 2 Failed | 0 Pending | 0 Skipped
--- FAIL: TestLocalAI (317.17s)
FAIL
Process 28417 has exited with status 1
Detaching
dlv dap (28037) exited with code: 0

Summarizing 1 Failure:
  [FAIL] API test API query [It] transcribes audio
  /workspaces/LocalAI/api/api_test.go:273

Ran 19 of 19 Specs in 324.966 seconds
FAIL! -- 18 Passed | 1 Failed | 1 Flaked | 0 Pending | 0 Skipped
--- FAIL: TestLocalAI (324.97s)
FAIL

Ginkgo ran 2 suites in 5m30.902523564s

There were failures detected in the following suites:
  api ./api

Test Suite Failed
You're using deprecated Ginkgo functionality:
=============================================
  --flakeAttempts is deprecated, use --flake-attempts instead
  Learn more at: https://onsi.github.io/ginkgo/MIGRATING_TO_V2#changed-command-line-flags

To silence deprecations that can be silenced set the following environment variable:
  ACK_GINKGO_DEPRECATIONS=2.9.5

exit status 1
make: *** [Makefile:238: test] Error 1

To Reproduce

Expected behavior

Logs

Additional context

doesn't really seem to affect the CI, never observed such a failure rate on GHA - actually its always green there?

doesn't really seem to affect the CI, never observed such a failure rate on GHA - actually its always green there?

Em, I run it in the Codespace environment, and I saw it failed by several times but it does not affect the CI is true.


STPSourceProtocol.StripeID is throwing a null reference exception

I had the same issue with this, let's see if we can fix it.
In implementing STPBackendAPIAdapter.SelectDefaultCustomerSource and accessing the parameter STPSourceProtocol source for the property StripeID throws a NullReferenceException, if you debug at that point you can see an STPCard with the values but accessing the property will throw. Cast is also not possible.
I have worked around the problem using source.ValueForKeyPath(new NSString("stripeID")); and worked.
Let me know if you have any ideas.

b767d1a1f53b28562da82063103c4985854c5a9d closes #2


Broken link

If you navigate to the following URL, and click "Sample device client in C." - The link to https://github.com/Azure/azure-iot-sdk-c/blob/dps_symm_key/provisioning_client/devdoc/using_provisioning_client.md gives 404.
https://docs.microsoft.com/en-us/azure/iot-central/concepts-connectivity#further-reference >

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

ID: a591eefb-3d7f-7760-13a2-63c54c516ab0
Version Independent ID: 28c5ea4a-d7f9-e389-4a0d-03d72cf8588a
Content: Device connectivity in Azure IoT Central
Content Source: articles/iot-central/concepts-connectivity.md
Service: iot-central
GitHub Login: @dominicbetts
Microsoft Alias: dobett

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

Thanks again @shulagrawal  I have assigned the issue to the content author to evaluate and update as appropriate. @dominicbetts I am not sure which sample will replace this one that is missing https://github.com/Azure/azure-iot-sdk-c/tree/master/iothub_client/samples#list-of-samples

Hi @shulagrawal - thanks for reporting this. I've fixed the link and the changes should be live later today. For reference, the link is now https://github.com/Azure/azure-iot-sdk-c/blob/master/provisioning_client/devdoc/using_provisioning_client.md

#please-close


Can't figure out how to properly install it

I'd expect that by doing pip install porcupine on my terminal I'd install this library as any other library; however it doesn't find the repo, and installing it manually doesn't seem to be a direct way of doing it since it looks like it might need some kind of configuration which isn't specified anywhere either. I can't find any instructions anywhere on the entire internet about this, so maybe someone could help me out with this and I might write a short guide to include on the readme file. In other issues you've linked to the Integration section of the readme, but that assumes you already have it installed.

we don't have pip support. good item to add for future though. if you clone the repo you should be able to use the python demos right away. if you want just the python binding you can strip other parts. happy to merge a PR for how to do this if you decide to document it.


[FEAT]: Support @agent from API OpenAI Compatible endpoints

How are you running AnythingLLM?
Docker (local)
What happened?
Hello AnythingLLM Team 👋
Awesome product you have done!
I'm encountering an issue about requesting @agentfrom OpenAI compatible endpoint (/v1/openai/chat/completions) => Agent is not triggered
How can we use @agentfeature inside OpenAI compatible endpoints from the AnythingLLM API?
Are there known steps to reproduce?
Working (using /v1/workspace/{slug}/thread/{threadSlug}/stream-chat endpoint)
import requests

url = 'http://localhost:3001/api/v1/workspace/internet-knowledge/thread/adc71dbd-5850-4a5e-aad0-7494da39b2cc/stream-chat'

headers = {
    'accept': 'text/event-stream',
    'Authorization': 'Bearer 00000000-0000-0000-0000-000000000000',
    'Content-Type': 'application/json',
}

data = {
    "message": "@agent Extract links of http://anythingllm.com",
    "mode": "chat",
    "userId": 1
}

response = requests.post(url, headers=headers, json=data)

print(response.text)

data: {"id":"05f1ab51-9965-4457-b11a-0e9f5d902b32","type":"agentThought","thought":"@agent: Scraping the content of http://anythingllm.com/","sources":[],"attachments":[],"close":false,"error":null}
data: {"id":"05f1ab51-9965-4457-b11a-0e9f5d902b32","type":"textResponse","textResponse":"Here are some of the main links from the AnythingLLM webpage:\n\n1. AnythingLLM Cloud: Link\n2. Docs: Link\n3](https://docs.anythingllm.com/)/n3). Github: Link\n4](https://github.com/Mintplex-Labs/anything-llm)/n4). Download AnythingLLM: Link\n\nAdditionally, the webpage includes links to their social media profiles and contact pages, such as their Twitter, Discord, and a contact email address.","sources":[],"attachments":[],"close":true,"error":null}
data: {"uuid":"05f1ab51-9965-4457-b11a-0e9f5d902b32","type":"finalizeResponseStream","textResponse":"Here are some of the main links from the AnythingLLM webpage:\n\n1. AnythingLLM Cloud: Link\n2. Docs: Link\n3](https://docs.anythingllm.com/)/n3). Github: Link\n4](https://github.com/Mintplex-Labs/anything-llm)/n4). Download AnythingLLM: Link\n\nAdditionally, the webpage includes links to their social media profiles and contact pages, such as their Twitter, Discord, and a contact email address.","thoughts":["@agent: Scraping the content of http://anythingllm.com/"],"close":true,"error":false}

Not working (using /v1/openai/chat/completions endpoint)
from langchain_openai import ChatOpenAI

llm = ChatOpenAI(
    model_name="internet-knowledge",
    openai_api_key="00000000-0000-0000-0000-000000000000",
    openai_api_base="http://localhost:3001/api/v1/openai",
    default_headers={
        "Authorization": "Bearer 00000000-0000-0000-0000-000000000000",
        "Accept": "*/*",
        "Content-Type": "application/json"
    }
)

messages = [
    ("human", "@agent Extract links of http://anythingllm.com"),
]
for chunk in llm.stream(messages):
    print(chunk.content, end="")

I'm unable to extract links from specific websites like http://anythingllm.com/. You may visit the website directly and browse through it for any links or resources you need.

Ah, yes the /v1/workspace/chat endpoint is the only endpoint that supports that functionality currently. We could expand it to this endpoint as well. Can I understand more about the use case here over needing this functionality vs just using the /workspace/chat endpoint?
We would ideally not mess with the "compatible" part of OpenAI compatible too much, but I'm no opposed to it right now

Ah, yes the /v1/workspace/chat endpoint is the only endpoint that supports that functionality currently

Good to know, thank you!

Can I understand more about the use case here over needing this functionality vs just using the /workspace/chat endpoint?

We use several native applications in our corp that allow us to change the OpenAI base endpoint URL and we would like to provide the power of @agent from AnythingLLM to them. (We can't use the widget)


The panel on the right does not work in Safari

any known prob that can be solved for this?

I've been totally unable to find out why this is happening. There are no errors in the console and nothing seems to be wrong. I haven't been able to find anything related by googling either.
It's little to no consolation but I've been reading that safari is not held in high regard in the web community; to some it's becoming what IE was in terms of standards compliance and keeping up to date with features. And this app is built using the latest and greatest AngularJS and Angular Material so it's definitely an oddity arising from safari working with one or both of those.
If I figure out what's happening then I'll fix it but for now all i can say is don't use safari.

Seems to be working now.


Adapt caching system fs so that NotionCMS works client side

This is basically the only thing blocking from client side usage. Might also be nice to allow for setting a remote cache.
Curious what good client side use cases look like though.

We now use indirect eval in the cache deserializer (for handling serialized functions) so we should force disable this on the client for security. Really, we should just force off the entire caching system as its not useful on the client.

We also are now using some node deps that will need some isomorphic treatment.

Client side support is now out of scope for this project.

I did think of re-opening this as I'm considering making ncms function inside of a worker. I can see some benefit to launching your app initially (no prerender) and pulling in a bunch of data from Notion - maybe they aren't pages, Notion db would be a base for your collections.

This may be the path forward as it has drivers that you could use to support just about any environment:
https://unjs.io/unstorage


Can't login to container registry when username contains special characters

I trie to add a container registry using Harbor registry. Harbor generates usernames like robot$demoproject-demo-name
When using this registry devtron can't push any artifacts. It always shows "401 unauthorized" in build log. I think that the $ may be the problem...
AB#132

You can use this 'robot$xxxxxx' , use with 'yourrobotaccount'


TestMount and TestMountSameTimestamps tests fails

Output of restic version
0.14.0
How did you run restic exactly?
go test -timeout 30m -v -work -x ./cmd/... ./internal/...
What backend/server/service did you use to store the repository?
Not apply
Expected behavior
Test pass
Actual behavior
Test didn't pass. I am using fusermount version 2.9.9
Steps to reproduce the behavior
Do you have any idea what may have caused this?
No
Do you have an idea how to solve the issue?
No
Did restic help you today? Did it make you happy in any way?
Yes :)

Please provide more details on your system setup and the full error output generated by the tests. My system using Arch Linux also uses fusermount version 2.9.9 and for me the whole test suite works correctly.

Sorry I forgot to add the output on the last comment, here it is the output of the two tests:
=== RUN   TestMount
    testing.go:31: using low-security KDF parameters for test
    config.go:74: disabling check of the chunker polynomial
    testing.go:31: using low-security KDF parameters for test
    config.go:74: disabling check of the chunker polynomial
    lock.go:80: setting lock timeout to 0s
    integration_test.go:56: repository initialized at /tmp/portage/app-backup/restic-0.14.0/temp/restic-test-2113816379/repo
    integration_fuse_test.go:87: checking for 0 snapshots: []
integration_fuse_test.go:60: unexpected error: fusermount: exit status 1

    integration_fuse_test.go:53: subdir "snapshots" of dir /tmp/portage/app-backup/restic-0.14.0/temp/restic-test-2113816379/mount never appeared
    integration_fuse_test.go:94: virtual directory "snapshots" doesn't exist
    integration_fuse_test.go:74: unable to umount dir /tmp/portage/app-backup/restic-0.14.0/temp/restic-test-2113816379/mount, last error was: exit status 1: fusermount: failed to unmount /tmp/portage/app-backup/restic-0.14.0/temp/restic-test-2113816379/mount: Operation not permitted
--- FAIL: TestMount (4.30s)
=== RUN   TestMountSameTimestamps
    testing.go:31: using low-security KDF parameters for test
    config.go:74: disabling check of the chunker polynomial
    integration_fuse_test.go:87: checking for 3 snapshots: [28030368 75ad6cdc 5fd0d8b2]
integration_fuse_test.go:60: unexpected error: fusermount: exit status 1

    integration_fuse_test.go:53: subdir "snapshots" of dir /tmp/portage/app-backup/restic-0.14.0/temp/restic-test-1841085805/mount never appeared
    integration_fuse_test.go:94: virtual directory "snapshots" doesn't exist
    integration_fuse_test.go:74: unable to umount dir /tmp/portage/app-backup/restic-0.14.0/temp/restic-test-1841085805/mount, last error was: exit status 1: fusermount: failed to unmount /tmp/portage/app-backup/restic-0.14.0/temp/restic-test-1841085805/mount: Operation not permitted
--- FAIL: TestMountSameTimestamps (4.05s)

btw is there a way to exclude a given test from the test case?

You can set the environment variable RESTIC_TEST_FUSE to false or 0.
Judging from the paths in the log output you're using Gentoo?
Does restic mount /some/path show any useful error message?
If not my next suggestion would be to use strace to take a look at what's happening:
go test -c ./cmd/restic
cd cmd/restic
strace -ff ../../restic.test -test.run '^TestMount$'

As fusermount is normally a setuid-binary you'll probably have to run the last command as root to work.

I'm closing this issue as I cannot reproduce it and the requested in formation was not provided. Feel free to reopen it when you can provide more information.


Better error messaging when env is not supplied for kubecfg show -f <FILE>

If an env isn't supplied with the kubecfg show -f <FILE> command, kubecfg can't load the appropriate ksonnet lib files from /environments with the -J flag.
We need better error messaging so the user knows what to do in this scenario.

This issue was moved to ksonnet/ksonnet#13


VQVAE or VAE?

Dear authors, thanks for your interesting work and plans. However, there is one question in my mind: why you choose to use VQVAE instead of VAE?
As stated both in DiT and SoRA's official website, both of them use VAE without quantization. So what drive you to choosing VQVAE as your tokenizer?
Looking forward to your reply and hoping to contribute to your project.

same question +1

We are writing something to clarify it.

looking forward to the conclusion

Hi, we can start this discussion.
https://github.com/PKU-YuanGroup/Open-Sora-Plan/discussions/18

Dear authors, thanks for your interesting work and plans. However, there is one question in my mind: why you choose to use VQVAE instead of VAE? As stated both in DiT and SoRA's official website, both of them use VAE without quantization. So what drive you to choosing VQVAE as your tokenizer? Looking forward to your reply and hoping to contribute to your project.

emmm, is not DiT use sd-vae-ft-mse?its VQVAE

Dear authors, thanks for your interesting work and plans. However, there is one question in my mind: why you choose to use VQVAE instead of VAE? As stated both in DiT and SoRA's official website, both of them use VAE without quantization. So what drive you to choosing VQVAE as your tokenizer? Looking forward to your reply and hoping to contribute to your project.

emmm, is not DiT use sd-vae-ft-mse?its VQVAE

Hi thanks for your kind reminder. But to best of my knowledge, sd-vae-ft-mse use kl-f8 configuration so it is a vae model without quantization right? Is there any important information I missed?


always provide default opaque{} external type implementations

This change is what is needed to make Mach engine / sysgpu happy
Fixes Snektron/vulkan-zig#125

Thank you!


Added Website Layout

Description 📜
Added a new project: Website Layout. This is a basic layout of every website and can be use to edit
Fixes #334

Type of change 📝

[ x] Add a new project

Domain of Contribution 📊

[x ] Project using only HTML & CSS

Checklist ✅

[x] I'm GSSoC'22 contributor

Screenshots / Gif (Optional) 📸

Kindly review my PR @khushi-purwar


ActionAsPdf

Hi,
I am trying to use Rotativa by returning a memory stream of the pdf.  Is this available yet in Core??

I would also appreciate this!


Chore: document MTU requirements

Description

We had problems related to the MTU value set by Wireguard 1380, which was problematic for github action runner Docker builds. This should be mentioned in the docs to let our users know of potential issues.
Exit criteria
Recommended MTU value is specified in the documentation, as well as explanation why this is required.

[x] MTU value documented

this was done in the troubleshooting guide #913


Question: BlazorWebView and ApiAuthorization

I'm looking if BlazorWebView is a possible path to display a blazor wasm app inside a Wpf application. My blazor wasm app runs fine inside the browser, but we want to provide integration inside an existing Wpf application by showing this blazor app inside a dockable window. At the moment I use an embedded browser (FireFox / GeckoFX) control, but the BlazorWebView way looks a better solution to me.
If I try to start the blazor app I get exceptions from the Microsoft.AspNetCore.Components.WebAssembly.Authentication Api authorization components because it tries to connect to a non http(s) scheme.
Any idea if it is possible to get this to work?

The WebAssembly solution unfortunately relies on a return URL that will be redirected to. Since the webview does not have a webserver built in, the http handler will need to catch the redirect. Unfortunately the http/app scheme is not the same on every platform and on some platforms the http handler cannot catch redirects. So although technically you might be able to get it to work, I would advise against it. It's too much work, and it's brittle.
However, I've had good success with writing a custom AuthenticationStateProvider and using the default MSAL components for mobile apps in .net. There is more info in this issue:
https://github.com/jspuij/BlazorWebView/issues/11
and there is some sample code here:
https://gist.github.com/jspuij/b03a4d9bff94a12aef3c7ec0b063d140

Looks good. I watched yesterday the presentation from Daniel Roth on the BlazorDay and there he also talked about the BlazorWebView. Is that the same component as this project, or did Microsoft create their own version?
See https://www.youtube.com/watch?v=XoizucRjxgU&feature=youtu.be at around 40 mins inside this presentation

I watched the presentation and i think they did their own.

They probably will do their own. Note that this project is just a fork of Steve Sanderson's WebWindow project that is able to create a window on Windows / macOS / Linux and run blazor on a native framework inside.
There is also the Mobile bindings project, which runs blazor inside a webview on mobile and uses native UI components instead of HTML.
None of them did what I want, which is use HTML, and be able to run an application on desktop AND mobile natively. I'm sure eventually they will make my project obsolete, which is fine, but I needed mobile support with HTML sooner and I didn't like the webserver / server side blazor approach that BlazorMobile takes.

i still like this project because i wanted to be able to use html in native apps now.


rtl support

hi
do your panel support RTL?

Hi @nima-rnd, StarAdmin-Free-Vue-Admin-Template does not support RTL as of now.


updating readme for singularity runner

please can someone look at issue #22 which relates to the issue that the MLCommons CLA link is not working. This prevents contributors that have signed the CLA to have a check failed.
It is unclear what we have to do to fix this.


python3Packages.django_3: 3.2.14 -> 3.2.15

https://www.djangoproject.com/weblog/2022/aug/03/security-releases/
Fixes: CVE-2022-36359
Description of changes

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/)
22.11 Release Notes (or backporting 22.05 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@ofborg build python3.pkgs.django_3


Simple Demo App

Add new simple demo app that can be run without configure scripts

https://user-images.githubusercontent.com/101136623/176988788-d3044757-f310-4992-8e60-ebb4177c9b5b.mov

gorgeous. lgtm. whats the plan for the old demo app?

Unless someone wants to remove/hide it we can keep it as is. It provides an environment for testing runtime changes for contributors. Something we may want to do though is update the readme to mention the new demo app?


Questions: image inside, outline, elevation, rounded corners ?

Is it possible to put an image inside the MaterialLetterIcon , that won't be shaped, meaning show as it is?
This is useful in cases that there are no letters or images available for the item. Can also be useful for the case of loading the image, yet not having any letter to show during this time.

Is it possible to add a border (AKA outline/stroke) around the shape, including color and width?

Is it possible to add elevation to the MaterialLetterIcon ?
I know that it's possible to add a rounded one using this:

    public static void setOvalElevationToView(final View view) {
        if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.LOLLIPOP)
            view.setOutlineProvider(new ViewOutlineProvider() {
                @TargetApi(VERSION_CODES.LOLLIPOP)
                @Override
                public void getOutline(View view, Outline outline) {
                    final int size = view.getWidth();
                    outline.setOval(0, 0, size, size);
                }
            });
    }

But it's only from Lollipop, and only for rounded ones

Is it possible to use rounded corners, instead of only square/circle shapes?

yes you can make customization. i have already uploaded source code for library

You mean changing the code of the library? I meant if it supports those things.

It's just that for mimicking the contacts app, I also have to handle the case that the item doesn't have a letter to show and also not an image:


Externalized

@sjbreiner you should develop in draft PRs for visibility.

Hi @olynch,
I think this is ready to review. If it looks good I can try to move over the petri net editor next week (dwd requires more work, I think).
Main changes:

I took most of the code in Main and moved it into Semagrams.scala, inside a subclass ACSemagram. This should maybe be merged into the base trait? I also packaged the semagram element together with accessors and modifiers to make it easier to use externally.
I built a table widget with toggleable cells and some convenience methods for attaching them to a semagram. I've got hovering and editing working both ways.
I added a MsgEvent to handle external updates. Possibly this should be moved over to the outbox, or that could just be removed.
I also added a Blur event to fix a problem with corrupted keyboard state.

@sjbreiner you should develop in draft PRs for visibility.
Sure thing.

I can't remember how to run the formatter. Is there a way to run it automatically if checkFormat fails?
Let me know if you have any questions.
Spencer


Dependabot doesn't run & says it's not configured even though it is

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
npm
Package manager version
No response
Language version
No response
Manifest location and content before the Dependabot update
No response
dependabot.yml content
https://github.com/n1ckoates/blog/blob/main/.github/dependabot.yml
Updated dependency
No response
What you expected to see, versus what you actually saw
In every repository that I have Dependabot configured (n1ckoates/quoter, n1ckoates/perhaps, n1ckoates/blog), Dependabot does not run and shows a message saying it isn't configured in settings. Apart from the last repo, all of them previously had working Dependabot. I've tried re-pushing the default Dependabot config file, but that didn't do anything, and didn't even show the config check GitHub action.
Notably, this issue seems to have popped up right after I changed my GitHub username around a week ago, as I haven't received any PRs from Dependabot since then.

Native package manager behavior
No response
Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response

Did you enable dependabot from the Service settings?
https://github.com/n1ckoates/blog/settings/security_analysis

After doing so, you can go to
https://github.com/n1ckoates/blog/network/updates and you should see something like :

I also noticed that you're using lockfile v3 for NPM. As far as I understand, the support for that is in early stages as we're still targeting npm 8 and lockfile v3 was introduced with NPM 9
Can you downgrade to lockfile v2 and retry?

I can confirm that downgrading to lockfile v2 fixed it.
See https://github.com/yeikel/blog/commit/b737b2df4310a3f1ee724bc08333b3c3919142d0
C:\Users\Yeikel>npm --version
8.19.3

rm  package-lock.json
npm install

Note that I had to download a dependency manually https://github.com/yeikel/blog/commit/c9cc4ab69d1115f39c95fb41d7f59b80ce0921ce
Because your repository is already up to date
Example pull request : https://github.com/yeikel/blog/pull/1

Unfortunately, neither of those fixes worked for me.
I checked settings/security_analysis on all three repositories, and they already had version updates enabled. perhaps didn't have Dependabot alerts or security updates enabled, but I'm not sure if that matters as version updates were still turned on.
I tried downgrading lockfile v2 on blog and then downgraded a dependency (as you did), but this didn't seem to change anything. Quoter & Perhaps were already using lockfile v2, as they are older repositories.

The "not configured yet" indicates it's not even triggering the Dependabot job. Whereas the lockfile v3 issue would manifest later in the job logs, probably as a "unable to find" or "unable to parse" manifest file.
Version updates should work regardless of alerts/security updates, all you should need to do is push the dependabot.yml file and it should start working.
I've stuck this on our internal board for further investigation, but it probably won't get looked at til this coming week sometime.
Also, this is almost certainly something specific to this particular user, so for anyone else hitting this issue, please file a new issue rather than tagging onto this ticket.

Also, many, many thanks @yeikel for chiming in!

I noticed that Github UI is not great because even after enabling it you will see that "Dependabot is not enabled". It takes at least a page refresh to update the message and that can be confusing.
Also for this example, it seems that v3 is also working fine : https://github.com/yeikel/blog/pulls
But I still think that sticking to v2 for now is better

@n1ckoates I can see in the Dependabot DB the old account is deactivated, but there's no entry for the new account so I can't force a sync for it.
Can you try turning Dependabot Security Updates off and on again for one repo? That should emit the event that Dependabot needs to install or it will give us a fresh error in the logs to find. Let me know when you complete this and I can take another look.

That didn't seem to do it. Let's try one more thing, try committing a newline or other change to the dependabot.yml in the default branch.

I removed a comment from dependabot.yml.

That didn't do it, I'll keep looking into it. Thanks for your patience.

Just checking if there's any update on this @jakecoffman
Thanks!

I tried to recreate what you did: I made a new user, setup Dependabot on a repo, and then renamed my user. But it all just worked. I'm not entirely sure what has gone wrong here.
Have you noticed anything strange in other GitHub products? Web-hooks not firing, etc?

I haven't noticed anything else in other products; just tested a webhook I previously had setup and the event fired as expected.
This is a really weird issue.

@n1ckoates it looks like your account is now setup properly in the Dependabot database. Can you try touching the dependabot.yml again to see if that picks it up?

I can confirm it's working! I made a change to the config file, and it immediately picked it up and started checking for updates.
Thanks so much for your help.


sensor.go_echarger_xxxxxx_wh warning

Hi.
Recently I've been getting this warning in my logs:
Logger: homeassistant.components.sensor.recorder
Source: components/sensor/recorder.py:405
Integration: Sensor (documentation, issues)
First occurred: 15:05:10 (1 occurrences)
Last logged: 15:05:10
Entity sensor.go_echarger_xxxxxx_wh from integration goecharger_mqtt has state class total_increasing, but its state is not strictly increasing. Triggered by state 0.044042 (0.047654) with last_updated set to 2023-08-31T13:01:18.267895+00:00. Please report it to the custom integration author.
Is it serious ?.

I have seen this too. In the end of charging when battery is full, at some times the power flow may be reversed (from car to system) and thus total energy is not strictly increasing. Not serious as the flow is minimal.


Note for iOS users

A note worth adding to the documentation, IMO:
If the notification doesn't appear, make sure you're not trying to display it while your game is in the foreground. In iOS, apps can only show notifications if they are in the background. This implies that you must use interval>0.

Thanks


Logging Module: There was a problem There was an error creating your Lambda Function. Please try again.

I keep getting
There was a problem
There was an error creating your Lambda Function. Please try again.
When attempting to create the stream. I have copied and pasted everything as shown. I am using us-east-2 so I changed the REGION env in fluentd.yml.
Any idea what I'm missing?

I found a work around for this on the AWS forums. Basically you create the function manually and then subscribe. https://forums.aws.amazon.com/thread.jspa?threadID=295573

Closing this issue for now,
@christensen143 don't hesitate to reopen the issue if needed.


fix(transformer): fix arrow function transform

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#5933  👈
#5932
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite


Add jxl mime type

Add the image/jxl mime type in docs/conf/mime.types and test/pyhttpd/conf/mime.types

Thanks for the PR.


Add NFS client daemons to agents so they can mount NFS volumes.

@anhowe @colemickens

This change is

@brendandburns,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@acs-bot test this please

@acs-bot test this please

@brendandburns Can you run ./scripts/rebase.sh, amend and push the result? Can't run e2e without it and it will break CI otherwise.

@colemickens @anhowe
Rebased, comment addressed, ptal.
Thanks
--brendan


Still have a problem Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.

Hello,
I create my own data 100000 sentences, vocab file 45000 word using subword bpe.
Once i trained model to 120k step, but i accidentally delete it.((((((
So I decided to train it again at the same input files(train dev test voacb nothing changed). But now i have a problem with
Hint: If you want to see a list of allocated tensors when OOM happens, add report_tensor_allocations_upon_oom to RunOptions for current allocation info.
i change batch-size to 64 but it isnt solve my problem. Somebody have any ideas? what happened?

It happened after 2000 step of training

Did u check you are actually allocated 8 gpus?
At the non-interactive mode, i put the nvidia-smi before and after the train  command

Did you tried to restart your runtime? This error happends to me if my GPU memory is full.

hi,I have the same problem Now,
How to deal with it ?
Did you got success ?
could you pls help me ?
thx

:(


Link with icon inverse theming enhancement

This epic contains links to the issues needed to enhance the Link with icon pattern
Additional information

Link with icon visual specs
Link with icon functional specs

Here are the updated functional specs for this.
https://ibm.ent.box.com/file/682502793940


typeDoc option ignored in packages mode

Describe the bug
In entryPointStrategy=packages, each package has its own config. Only some of those “root” options affect how the individual packages are built (e.g. plugins). But it is certainly not a straightforward “inherit from root config” situation.
Essentially, that means that many/most/all settings in the typeDoc prop of the starlight-typedoc options object are ignored. Since it acts as the root config, and inheritance doesn’t happen, the settings do nothing.
(I would expect typedoc to have better documentation around this, or a config system that makes more sense, but I digress)
To Reproduce

Use a packages setup
Provide the typeDoc prop and set a config value to something obvious like disableSources=true
build
note that your setting was ignored

Expected behavior
It’s likely not feasible to do anything about this other than note it in the documentation.
How often does this bug happen?
Every time
System Info
No response
Additional Context
No response

Thanks for the report. I think adding a comment in the docs like you suggested is indeed a good idea for this specific case. I'll do that in the next few days and I'll also try to see if I can find any references in the TypeDoc docs that I can link to.
Note: I'm also transferring this issue to the proper repo, not sure how it ended up in this repo.


[COMMUNITY TESTING] On-board community deployment testers

Objective
On-board 1 to 2 community deployment testers to help deploy and troubleshoot the first versions of Shannon. These testers will run alpha versions POKT Full Nodes, connect the POKT Full Nodes to Chain nodes, and provide data/feedback to the protocol team.
Origin Document
As protocol releases new versions and features, they need testers that can provide testing in native node runner environments. This will allow the protocol team to test deployments and test protocol features with experienced node runners.
Goals

Spin up alpha POKT Full Nodes
Connect alpha nodes to chain nodes
Provide protocol team with data and feedback to address bug and drive development goals
Provide protocol team with direct comms to experienced node runner

Deliverables

[ ] Organize compensation model with PNF
[ ] Secure testers
[ ] Onboard to relevant channels
[ ] Deploy first nodes & connect to Chain Nodes

Creator: @moatus

@moatus 👌
A few things to keep in mind. A few additional things to simply keep in mind & consider:

Need to figure out the comms channel where early Shannon Suppliers & Gateways can ask the protocol team questions.
We'll be directing them to our documentation. In particular the configs section put together by @red-0ne : https://dev.poktroll.com/category/configs
A few things that @okdas is working on to enable this are:

#24
#340
#342

A nice to have would be #27

Given that we are already capturing external feedback, marking this as completed. https://www.notion.so/buildwithgrove/TestNet-external-node-runners-feedback-0a3d634572cc41c997f1e7ecaabdca4c?pvs=4


index.xsl

Wrote temp_index.xsl to accomplish uwlswd > index.html to-dos, but did not do this the way I said I'd do (I did something easier 😅...).

Created an XML instance with category/resource groups to iterate through, used a key to fetch DOIs and descriptions from DataCite metadata.
Added very basic list of links at top for navigation
Updated some top-of-page text, etc.

Just something basic until #62 is resolved. Following this a new/updated index.xsl can match on schema:disambiguatingDescription values.

This also looks good! I like the addition of a menu at the top.
I wonder if there is a way to make the separation between resources and their related links and descriptions clearer.
Maybe using a list?
I am fine with merging this, but I did see that you deleted the original index.xsl - do we want to adjust the formatting there as well and save it for when we are ready to use the BMPs? Or just go ahead and delete it and make adjustments to temp_index.xsl when we are ready?

Thank you @cspayne !

I wonder if there is a way to make the separation between resources and their related links and descriptions clearer. Maybe using a list?

I agree this would be good. Right now it all just sort of looks like one big list, with the resource titles, IRIs, and descriptions as list items on the same level of hierarchy.
I just tried a list but didn't like the way it looked (also, for some reason, my xsl:if wasn't working correctly and I was getting second bullets where there was no description...) What about just indenting the IRI + (if one exists) description? Is there an easy way to do this, or something similar that is used for other CAMS pages that we could use here too?

I am fine with merging this, but I did see that you deleted the original index.xsl - do we want to adjust the formatting there as well and save it for when we are ready to use the BMPs? Or just go ahead and delete it and make adjustments to temp_index.xsl when we are ready?

I linked to the current version of index.xsl in #62 , so I think it's okay to get rid of it for now.

I just tried a list but didn't like the way it looked (also, for some reason, my xsl:if wasn't working correctly and I was getting second bullets where there was no description...) What about just indenting the IRI + (if one exists) description? Is there an easy way to do this, or something similar that is used for other CAMS pages that we could use here too?

Yes! I just added a class to those p elements and added a css indent to the index_pages.css - if that looks okay to you, I can push it before we merge.

I linked to the current version of index.xsl in #62 , so I think it's okay to get rid of it for now.

Perfect!

This looks great to me! Please do push and merge (I guess here and in webviews)--thank you!


Custom Cache key

The new cache option is great, but is also tightly coupled to the lock file hash. While this is a great way to ensure the cache is always a 1:1 match with the lock file, it ultimately makes the case a lot less useful in often updating, multiple branch setups - such as with dependabot. The ability to define a custom cache key would allow for longer term caches which with a wider ranges of package versions cached. To combat snowballing growth of the cache,  the key could be set to include the current month, ensuing the cache is reset one a month.

Hello @mbrevda. Thank you for your report. I'll mark your issue as an enhancement. We'll investigate your proposal.

or even the ability to set custom restore keys for when the primary key is not hit. We use a rolling cache as our fallback when the hash of the lock file does not have a hit. Makes a considerable difference running instal from ` few day old cache than starting from scratch.

We have a different issue that will benefit from this enhancement, or from a separate solution.
We are running a matrix of flows, with the node version changing between each flow.
Because of the way the key is built, the node version has no influence on the cache key, and all of the flows try and upload their node_modules cache using the same key, with only one of them succeeding.
The node_modules to be uploaded are also different between the node versions, with packages running different compilation depending on the version, and the way things are now, that isn't taken into consideration.
Allowing us to provide a custom cache key will solve these issues for us, but a simpler to implement fix for our issue would be to add the node version used to the cache key.

Hello everyone. By our investigation we've decided not to add support of custom cache keys. The role of caching for node is to cover the majority of use cases without deep customization. It'll help novice users to setup faster their yml files. If you need more custom logic, the preferred solution will be using the action/cache task.
@roikoren755,
The current implementation of caching with common key will work for your use-case and matrix with different Node.js versions.
 Instead, we cache global npm / yarn cache on machine ($HOME/.npm  or $HOME/.yarn). It means that post_install steps for packages are not cached and cache can be reused by different Node.js versions. It is approach recommended by actions/cache

Is adding another param really that big of a deal?

Could we at the very least have the recommended implementation? All the node examples recommend a fallback key with good reason - restoring from something is much faster than restoring from nothing.
https://github.com/actions/cache/blob/main/examples.md#node---npm
https://github.com/actions/cache/blob/main/examples.md#node---yarn

@mbrevda , from ADR

We don't pursue the goal to provide wide customization of caching in scope of actions/setup-node action. The purpose of this integration is covering ~90% of basic use-cases. If user needs flexible customization, we should advice them to use actions/cache directly.

Customizing of caching key is definitely not basic use-case so we should use actions/cache directly for this use-case. We don't want to duplicate functionality of actions/cache in scope of actions/setup-node.
@lharress , restore-keys doesn't make any sense for setup-node integration of caching.

restore-keys is an ordered list of alternative keys to use for finding the cache if no cache hit occurred for primary-key.

Example in actions/cache repo recommends to set restore-keys to ${{ runner.os }}-node-. We never push cache for this key so the cache for this key will always be empty and won't be restored.

@maxim-lobanov I do not believe that is the case, if it is then the documentation is misleading.
https://docs.github.com/en/actions/guides/caching-dependencies-to-speed-up-workflows#matching-a-cache-key

You can provide a list of restore keys to use when there is a cache miss on key. You can create multiple restore keys ordered from the most specific to least specific. The cache action searches for restore-keys in sequential order. When a key doesn't match directly, the action searches for keys prefixed with the restore key. If there are multiple partial matches for a restore key, the action returns the most recently created cache.

Specifically, this piece;

When a key doesn't match directly, the action searches for keys prefixed with the restore key.

Unless I am misunderstanding, this mens if I have 1 item in the cache with the key node-cache-one and then I attempt a restore using the key  node-cache-two and a restore key of node-cache- it will cause a cache miss, but then when searching for the prefix node-cache- it will find node-cache-one and restore from there.

@lharress let me follow up with my team regarding it and return back with answer

@maxim-lobanov Any update on this? Could the issue be re-opened while it's being discussed?

Related: #328 requests the addition of a default restore key.

I would also like this. My use case is when changing the yarn setup from a local repo to a global cache, the cache needs to be busted.
The lock file does not change in this case - does someone know a good way to get it changed without changing packages?
An alternative to a completely custom cache key could be a custom pre- or suffix.


Optimize file and previous output handling

Using StringIO for input and output files in all cases
Storing the previous code present in the file as a list instead of a string
Fixes #29

FWIW, all tests pass:
$ make test
tox -q
py37: SKIP ⚠ in 0 seconds
...........................................................................................................................................                                                                                [100%]
139 passed in 0.36s
py38: OK ✔ in 1.53 seconds
py39: SKIP ⚠ in 0 seconds
...........................................................................................................................................                                                                                [100%]
139 passed in 0.37s
py310: OK ✔ in 1.51 seconds
...........................................................................................................................................                                                                                [100%]
139 passed in 0.36s
py311: OK ✔ in 1.47 seconds
py312: SKIP ⚠ in 0.12 seconds
Name                        Stmts   Miss Branch BrPart   Cover   Missing
------------------------------------------------------------------------
cogapp/__init__.py              1      0      0      0 100.00%
cogapp/__main__.py              3      3      0      0   0.00%   3-7
cogapp/cogapp.py              487      0    212      0 100.00%
cogapp/makefiles.py            22      0     16      0 100.00%
cogapp/test_cogapp.py         854      3     88      3  99.36%   1300->1302, 2102, 2240-2241
cogapp/test_makefiles.py       68      0     10      0 100.00%
cogapp/test_whiteutils.py      68      0      0      0 100.00%
cogapp/utils.py                37      0      8      0 100.00%
cogapp/whiteutils.py           43      0     34      0 100.00%
------------------------------------------------------------------------
TOTAL                        1583      6    368      3  99.54%
  py37: SKIP (0.00 seconds)
  py38: OK (1.53 seconds)
  py39: SKIP (0.00 seconds)
  py310: OK (1.51 seconds)
  py311: OK (1.47 seconds)
  py312: SKIP (0.12 seconds)
  coverage: OK (0.40 seconds)
  congratulations :) (5.50 seconds)

Thanks for the pull request! I've never used on cog on such large files so haven't suffered the performance problem.
Looking at your changes, I'm not sure we need to deal with the input and output files differently.  I think the speed problems are all due to how previous is managed (string concatenation instead of list appending).  Would you mind trying just that change and see if the speed is still good?

Hey Ned, thanks for the quick reply! You're right - the speed is the same only with the change to previous! I'll push an updated commit shortly.
Thanks,
Panayiotis

P.S.: Something weird is going on and I'm not sure why...
Here are some results for cog -xc:
Normal cog:
real    0m34.789s
user    0m14.104s
sys     0m20.461s

Cog with io.StringIO() as fIn:
real    0m9.625s
user    0m9.039s
sys     0m0.524s

Cog with io.StringIO() as fIn and previous as list:
real    0m0.172s
user    0m0.123s
sys     0m0.021s

Cog with previous as list:
real    0m0.136s
user    0m0.108s
sys     0m0.021s

I ran each one multiple times and got roughly the same results. It is not clear to me why if previous is a string then the handling of fIn matters, but if previous is a list then it doesn't. Just out of curiosity, can you think of any reasons?

Hmm, that is odd, I can't think why a stringIO for reading would only have an effect at all, but I like the simplicity of the latest code, and it gets us the full benefit!

Exactly! Thanks for merging :))


Implement chaining

Fixes #1

Two things failing here:

The Lucee 5 CI doesn't work at all.  It looks like it hasn't since I did the pull request for it. 😖
The normal _.bind() failure on Railo 4.1+ and Lucee 4.5.

Thanks so much for contributing! This will be a great feature to add.
Yes, unfortunately the tests have been failing for the latest Lucee and Railo versions for a while due to the bind() test failure. That specific issue might take a bit of work to resolve, but we should be able to merge your work in regardless of that problem.
I'll have a look at your changes more closely tonight and see if we can get it merged it soon.

I'm not sure what to make of this latest CI failure.  I have it working in both ACF 11 and Lucee 4.5 locally.  ¯_(ツ)_/¯

This has been sitting here for a while now with no progress, so I think closing it makes the most sense.


Use of md5 is not FIPS compliant. Express server requests using etag fail with FIPS compiled NodeJS

We use Express v4 and our client requires any crypto providers be FIPS compliant. So, we build NodeJS v6.2 with the openssl fips module.
When we make requests to the server, they fail with the following error:
Message: Error: error:060A80A3:digital envelope routines:FIPS_DIGESTINIT:disabled for fips
  at Error (native)
  at new Hash (crypto.js:49:18)
  at Object.Hash (crypto.js:48:12)
  at entitytag (/usr/src/app/server/node_modules/etag/index.js:48:6)
  at etag (/usr/src/app/server/node_modules/etag/index.js:90:7)
  at wetag (/usr/src/app/server/node_modules/express/lib/utils.js:57:10)
  at ServerResponse.send (/usr/src/app/server/node_modules/express/lib/response.js:184:17)
  at ServerResponse.json (/usr/src/app/server/node_modules/express/lib/response.js:250:15)
  at app.use (/usr/src/app/server/node_modules/server/server.js:324:25)
  at Layer.handle_error (/usr/src/app/server/node_modules/express/lib/router/layer.js:71:5)

In our effort to use Node with FIPS compliant crypto, we have noticed several modules using md5, which is officially deemed insecure. Now, I realize etag is only using the hash to get a unique identifier for the response content, but the openssl-fips module has no way to know if a module is encrypting some sensitive content, or if it is just hashing a response. :/
We have proven a fix for this locally by simply changing md5 to sha256 on line 48 of the index.js. We think sha256 would be future proof, as sha1 is going to be insecure pretty soon, most likely. This fix would greatly help us in our efforts to prepare for a security penetration test. :)
We realize that use of sha will degrade performance, so what would you think of adding something like this:
A private var, which allows us to customize the hash algorithm.
var etagHashAlgorithm = process.env.NODE_ETAG_HASH_ALG || 'md5';

Use the customized, or defaulted value
.createHash(etagHashAlgorithm)

I've opened a PR for this: https://github.com/jshttp/etag/pull/18
Thank you very much for any support you can provide on this,
Alex

Hi @agenaille, this is certainly something that sucks :/ So just in general, before the rest of this information (as the TL;DR) I would say: don't use this module then. Sure, you are using Express.js, but that only uses this module if you don't turn ETags off or provide your own custom implementation. This also means that your quickest path to resolution is to provide your own custom ETag generation function to Express.js to skip using this module for your requirements.
Now, for the long answer.
Yes, it sucks that you have to use something that stops you from using a certain hash algorithm, even if the use of the algorithm is actually usable in the domain it is used for here (and we even harden it by providing the original content length as out-of-band information in the ETag).
The main reason we use md5 is because it's very fast and provides the needs we have w.r.t the ETags. I think providing a way to choose the underlying algorithm is out-of-scope for this module, as this module's purpose is to simply provide a very simply way to generate the ETags in a reproducible way and by the time we start adding the ability to choose the algorithm, we are not only exposing implementation details across our interface, but at that point this module is really not doing anything.
I'm not going to close this issue, because I think this requires some investigation on our end--to figure out how to deal with FIPS enabled OpenSSL in Node.js, a bigger conversation I need to understand from Node.js core on what modules are expected to do.
In addition, if we do change the algorithm, it will have to be a major version bump, including not getting into Express.js until it does a major version bump. This is because people have brought up the concern that they want to understand exactly how we generate our ETags so they could duplicate them on things like caching servers and mirrors, so changing the algorithm in Express 4.x has sailed, unfortunately (but you can easily set your own custom ETag generator in Express.js to use sha256 if you want).
We also need to understand the performance implications of changing the algorithm (you can see we provide benchmarks on the README, as we do really check how fast the ETag generation is, because it makes a huge difference in Node.js since we are generating them in a sync fashion, which blocks the event loop from proceeding forward until the generation has completed. This was one of the reasons we choose the MD5 algorithm with the out-of-band original byte size.
I hope this makes sense!

Thank you for your reply @dougwilson. We will look into plugging in a custom etag generation module. My hope is that in the future, you would be ok with providing the customization of the algorithm per environment. Teams needing to use FIPS would be able to use your nice etag module, and teams not using it would be 100% unaffected and still having the same md5 performance that exists today. Thanks again, Alex

Thanks @DavidTPate. I understand that part, and plan to fork as you said, but the harder and more time consuming part of this will be figuring out how to add a custom etag generation module into my express app so that all of my REST routes are etagged, as well as static file responses. :/

I don't see a mention of the functionality (maybe it is deprecated?) but in the current version of Express here it looks like you could do the following to trade out your ETag generation (note: express.static handles its own etag generation):
const express = require('express');
const app = express();

app.set('etag fn', function myCoolETagFunction() { return '42'; });

If you look here you'll find where the default value is set, and the functionality and message signature are here.
Hope that helps!

$$$$$$$$$$$$ money! Thank you @DavidTPate you're the man! :)

Hi @DavidTPate, your example is not correct, please never, ever set those "* fn" settings, as that can cause you to break in any upgrade, as those are private. Please read the documentation on the etag setting here: http://expressjs.com/en/4x/api.html#etag.options.table

but the harder and more time consuming part of this will be figuring out how to add a custom etag generation module into my express app so that all of my REST routes are etagged, as well as static file responses. :/

Hopefully this is not hard to time-consuming in any way. If you are finding gaps in the Express.js documentation, please file them at https://github.com/expressjs/expressjs.com so we can get this documented! Here are the answers for your two cases:
// This controls the ETag generation or your dynamic responses through res.send/res.json/res.jsonp, etc.
app.set('etag', function dynamicETag (body) {
  return crypto.createHash('sha256').update(body).digest('hex')
})

// This is for your static files served through serve.static ; consult documentation if you are using something else (and I hope you are NOT serving production files through Node.js....)
app.use(express.static('/public', {
  setHeaders: function (res, path, stat) {
    return crypto.createHash('sha256').update(stat.mtime.getTime().toString(16) + '-' + stat.size.toString(16)).digest('hex')
  }
}))

My hope is that in the future, you would be ok with providing the customization of the algorithm per environment. Teams needing to use FIPS would be able to use your nice etag module, and teams not using it would be 100% unaffected and still having the same md5 performance that exists today.

Absolutely. I have not closed this issue and still investigating it. I have not had anytime since I last posted and now, so cannot provide you any updates, which is why you have not heard further.
This module will never provide a configurable algorithm, because that is just a violation of the abstraction here. You should in now way care that we are using a hash under the hood, and if you are, it is only because you are trying to copy the ETag generation in other servers (like nginx or similar), though usually that is done the other way around. I know I have not sat down to write out the goals of this module, which I also need to do, but a core goal of this module is that there is no configuration and you just get an ETag for the given content; as soon as you start adding options, this turns into something you could have easily implemented yourself, since it just doesn't do much.
I do provide a lot of modules, but the core tenant is that these are not kitchen sink modules, and they do not provide knobs to turn. The expectation is that users who are using this modules understand JavaScript and can easily write it, so a module like this that does not do much is going to continue to do that, as that is the goal of the module, and if you need a different ETag generation scheme, then just write the 1-2 lines of code to do that.
That all being said, the reason this is under investigate is do better understand the FIPS mode and understand what Node.js core TC expects from module developers when this is enabled. From my initial understanding of the FIPS 140-2, is that the usage of MD5 is not banned outright, only that is is not allowed to be used under certain conditions, and as far as I understand, the usage of MD5 in this module does not violate FIPS 140-2, as it is set out to cover the algorithms to use in security purposes, not in the general purpose. Yes, I see that OpenSSL (or Node.js?) is disabling all the non-verificated modules in the code, assuming that all uses of the OpenSSL library are going to be for security purposes, but that is too board, and has of course even lead Microsoft to tell people to stop enabling FIPS-mode in Windows (from my understanding; see https://blogs.technet.microsoft.com/secguide/2014/04/07/why-were-not-recommending-fips-mode-anymore/). I still need to understand from Node.js TC what they expect from module developers in this regard (i.e. are they expecting that modules on npm support a crippled code crypto module).

@dougwilson Thanks for pointing that out, I replace my comment with just a note pointing to yours. Don't want anyone getting brazen based on that and messing themselves up.

@dougwilson Thanks for clarifying David's code suggestion. I really appreciate both of you gentlemen's support with this! :)
Doug, I was hoping I could pick your brain on one of your comments.

// This is for your static files served through serve.static ; consult documentation if you are using something else (and I hope you are NOT serving production files through Node.js....)

We do plan to serve our UI through Node.js, as we can use Node to provide filtering of requests for static assets to require an authenticated session, backed by redis, to access them. This is a business application, and we cannot have unauthenticated users downloading all of our static content, as they could learn a lot about our APIs that way. I'm wondering if you can clarify what you mean when you say you hope we aren't going to serve our static content through Node.js. I'm wondering if you thought we just had plain vanilla static assets with no authentication requirements, in which case one might just serve with Nginx, or if you think Node has some inherent problems with being production ready. We are using Node.js v6.2 because the next LTS will release on v6.x and I feel like it is ready for production, but if it is not, i'd love to hear what you have to say on that matter. :) Thanks again, Alex.

The best way to override this etag module with my own ended up being:

fork etag, change md5 to sha1
Add dependency in my package.json like so:
"etag": "git://github.com/agenaille/etag.git",

Anyone else needing FIPS compliant etag can simply add the above to your package.json in your Express project and npm will automatically flatten the dependency out and overwrite the jshttp/etag module with the sha1 equipped module, in the node_modules folder with no code changes necessary. Thanks everyone for your help and suggestions!


Reporting a documentation bug on scipy.stats.multivariate_normal logpdf

The docs page shows that multivariate normal's logpdf function accepts allow_singular as a kwarg. The source does not have the kwarg. Likely this documentation bug cropped up because of the direct wrapping of NumPy's docstrings. Just wanted to report it, nothing else.

Thanks for the report! #5150 adds the argument with an explicit NotImplementedError.


Require some example 'WITH' or 'SUB-QUERY'

SELECT * FROM (SELECT
           * ,
           row_number() OVER (PARTITION BY "course_id" ORDER BY position(lang::varchar in 'ru,en')) AS "index"
FROM "course_locales") as course_locales
WHERE course_locales.index = 1

OR
WITH course_locales AS (
    SELECT
           * ,
           row_number() OVER (PARTITION BY "course_id" ORDER BY position(lang::varchar in 'ru,en')) AS index
    FROM "course_locales"
) SELECT * FROM course_locales WHERE course_locales.index = 1

How I can create this query in bun?

Did you see https://bun.uptrace.dev/guide/queries.html#cte?

Did you see https://bun.uptrace.dev/guide/queries.html#cte?

Missed this page. Thanks!

CTE section missing from that page?

The updated link is https://bun.uptrace.dev/guide/query-common-table-expressions.html


Group Policy for controlling sources

Adding enforcement of Group Policies for additional required sources and allowed sources. This change includes:

Reading of source lists from Group Policy. Each source is specified by a JSON with all its details.
A new GroupPolicyException type for reporting errors.
Enforcement of the policies when adding and removing sources (only allow adding allowed sources and don't allow removing additional required sources).
A source export command to produce the JSON strings used in the policies.
Unit tests.

Still pending for Group Policies:

E2E tests
Use final registry key path, value names, and policy names

Microsoft Reviewers: Open in CodeFlow

Two tests failed. One was because in one test for failure adding a disabled default source I needed to add the Type in the test to fit the Arg+Type matching (where I only used the Arg before). The other was because I had a test for the Data+Identifier check after adding the source; I removed the test since that check was removed.


DBZ-607 Dependency adjustments

Hey @jgao54, here's a minor change I did while looking through your PR.

Thanks for the PR! my maven-foo is rough.


Not able to add maxLength to comment column in a matrix dynamic

Are you requesting a feature, reporting a bug or asking a question?
bug/question
What is the current behavior?
maxLength property works for a question type COMMENT
What is the expected behavior?
maxLength property should work the same way if a Comment is included as a column in Matrixdynamic
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
your_code_here

Specify your

browser: chrome
browser version:
surveyjs platform (angular or react or jquery or knockout or vue): angular 5
surveyjs version: 1.0.33

Referencing from issue. #1233
I raised the ticket to fix the comment field. But the commit details show thta the maxlength property is added for text field.
Also a request, please do not close the ticket until user has tested after the release is out/ received an answer for their questions

You could just reopen the original ticket. Duplicate of https://github.com/surveyjs/surveyjs/issues/1233


Entity query fails suddenly with Index was outside the bounds of the array - RowNumberPagingExpressionVisitor in the stack trace

I have a complex entity query that has been working for the past couple of weeks. Suddenly, the query starts failing.
We did recently upgrade our SQL Server from 2005 to 2016, but that was many weeks back, and the query has worked fine since the upgrade until now.
Important Note: An IIS reset made the issue go away.
I noticed in the stack trace that there is a call to RowNumberPagingExpressionVisitor.
I also noticed that we are still using the UseRowNumberForPaging option for our DbContext. Maybe that is somehow related to the issue?
Exception message:
An exception occurred in the database while iterating the results of a query for context type 'MyProject.Data.MyContext'.
System.IndexOutOfRangeException: Index was outside the bounds of the array.

Stack trace:
fail: Microsoft.EntityFrameworkCore.Query[10100]
      An exception occurred in the database while iterating the results of a query for context type 'MyProject.Data.MyContext'.
      System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.Collections.Generic.List`1.Enumerator.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression.VisitChildren(ExpressionVisitor visitor)
   at Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.ExpressionVisitorBase.VisitExtension(Expression extensionExpression)
   at Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression.Accept(ExpressionVisitor visitor)
   at Microsoft.EntityFrameworkCore.SqlServer.Query.Sql.Internal.SqlServerQuerySqlGenerator.RowNumberPagingExpressionVisitor.VisitSelectExpression(SelectExpression selectExpression)
   at Microsoft.EntityFrameworkCore.SqlServer.Query.Sql.Internal.SqlServerQuerySqlGenerator.RowNumberPagingExpressionVisitor.Visit(Expression expression)
   at Microsoft.EntityFrameworkCore.SqlServer.Query.Sql.Internal.SqlServerQuerySqlGenerator..ctor(QuerySqlGeneratorDependencies dependencies, SelectExpression selectExpression, Boolean rowNumberPagingEnabled)
   at Microsoft.EntityFrameworkCore.SqlServer.Query.Sql.Internal.SqlServerQuerySqlGeneratorFactory.CreateDefault(SelectExpression selectExpression)
   at Microsoft.EntityFrameworkCore.Query.Expressions.SelectExpression.CreateDefaultQuerySqlGenerator()
   at Microsoft.EntityFrameworkCore.Query.Internal.ShaperCommandContext.GetRelationalCommand(IReadOnlyDictionary`2 parameters)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.BufferlessMoveNext(DbContext _, Boolean buffer)
   at Microsoft.EntityFrameworkCore.SqlServer.Storage.Internal.SqlServerExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
   at Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable`1.Enumerator.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.<_TrackEntities>d__17`2.MoveNext()
   at Microsoft.EntityFrameworkCore.Query.Internal.LinqOperatorProvider.ExceptionInterceptor`1.EnumeratorExceptionInterceptor.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

Code to reproduce
    var companyTypes = _context.CompanyTypes.FromCacheMyApp().ToDictionary(k => k.Id);

    IQueryable<Companies> query = _context.Companies;

    var states = _context.StateRegions.FromCacheMyApp().ToList();
    var countries = _context.CountryCodes.FromCacheMyApp().ToList();

    var s = "test";
    Expression<Func<Companies, bool>> condition = x => x.Code.Contains(s)
         || x.Name.Contains(s)
         || x.Places.Any(p => p.City == s);

    var matchingStateIds = states.Where(x => x.Name.Contains(s)).Select(x => x.Id).ToList();
    var matchingCountryIds = countries.Where(x => x.Name.Contains(s)).Select(x => x.Id).ToList();

    if (matchingStateIds.Any())
    {
        foreach (int matchingStateId in matchingStateIds)
        {
            condition = condition.Or(x => x.StateRegionId == matchingStateId);
        }
    }

    if (matchingCountryIds.Any())
    {
        foreach (int matchingCountryId in matchingCountryIds)
        {
            condition = condition.Or(x => x.CountryId == matchingCountryId);
        }
    }

    query = query.Where(condition);
    query = query.Skip(0).Take(30);

    var results = query
        .ToList() //ToList is called Select for a reason...
        .Select(x => new CompanyDto
        {
            Id = x.Id,
            Code = x.Code,
            CompanyType = x.CompanyTypeId.HasValue ? companyTypes[u.CompanyTypeId.Value].Code : "",
            //.....other stuff to select
        });

    var totalCount = query.Count();

I don't this it is relevant to the error, but if it helps, this is how we build our OR expression:
    internal class SubstExpressionVisitor : System.Linq.Expressions.ExpressionVisitor
    {
        public Dictionary<Expression, Expression> subst = new Dictionary<Expression, Expression>();

        protected override Expression VisitParameter(ParameterExpression node)
        {
            Expression newValue;
            if (subst.TryGetValue(node, out newValue))
            {
                return newValue;
            }
            return node;
        }
    }

    public static class PredicateBuilder
    {
        public static Expression<Func<T, bool>> Or<T>(this Expression<Func<T, bool>> a, Expression<Func<T, bool>> b)
        {

            ParameterExpression p = a.Parameters[0];

            SubstExpressionVisitor visitor = new SubstExpressionVisitor();
            visitor.subst[b.Parameters[0]] = p;

            Expression body = Expression.OrElse(a.Body, visitor.Visit(b.Body));
            return Expression.Lambda<Func<T, bool>>(body, p);
        }
    }

Further technical details
EF Core version: 2.1
Database Provider: Microsoft.EntityFrameworkCore.SqlServer
Operating system: Windows Server 2008 R2

@john-luke-laue Unfortunately, there are two many unknowns in the snippets above for us to be able to effectively reproduce the issue you are seeing. Can you post a runnable project/solution or complete code listing that demonstrates the issue?

EF Team Triage: Closing this issue as the requested additional details have not been provided and we have been unable to reproduce it.
BTW this is a canned response and may have info or details that do not directly apply to this particular issue. While we'd like to spend the time to uniquely address every incoming issue, we get a lot traffic on the EF projects and that is not practical. To ensure we maximize the time we have to work on fixing bugs, implementing new features, etc. we use canned responses for common triage decisions.

@john-luke-laue If you are still using RowNumberForPaging, could you please comment on issue #13959 and let us know why?

@ajcvickers We finally upgrade our database from SQL Server 2005 to SQL Server 2016 which allowed us to remove RowNumberForPaging. It has been a little over a month since updating, and I have not gotten this error.
So, I guess there is no reason for me to comment on the issue you linked to.

@john-luke-laue Thanks for the info. Much appreciated.


plugin available for hoobs ?

Hello i am using hoobs on my raspberry. but didn't found your plugin in the library for installing.
maybe a stupid question but iam ot a professional.
thanks

@pcziesch For hoobs you can use the Homebridge eufy security plugin

I don't know hoobs and @schliemann has already answered ;)


feat(Django): Implements Django form to submit questions

Implements a form that was created for user to submit questions that populates the db and renders successfully on another end point. Model was updated so pub.date is set to default current time and date as to not violate not null constraint on form input. Views was updated so that input is passed correctly and posts successfully into db.

https://github.com/Aykhan123/django-app/pull/2


MINOR: Update year in NOTICE

This is required to run a release as it is checked in release.py
This needs to be applied to 2.8, 2.7 too. Sophie already made the change in 2.6
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

cc @ijuma @mjsax


Revert "proxy: update tokio-postgres to allow arbitrary config params (#8076)"

This reverts #8076 - which was already reverted from the release branch since forever (it would have been a breaking change to release for all users who currently set TimeZone options). It's causing conflicts now so we should revert it here as well.

What's the plan for un-reverting this?


[PnP] Overview

This is to help introduce the PnP section in the TOC.

Docs Build status updates of commit 58dc2e2:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/overview/patterns-and-practices-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

@davidchesnut this one's done, too.

Docs Build status updates of commit 34e5ea9:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-PullRequestMergeConflict] Cannot sync git repo to specified state. Please make sure the pull request is mergeable.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 86a3506:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/overview/patterns-and-practices-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Playbook failed

The task includes an option with an undefined variable. The error was: bbb_secret is undefined
ansible-role-bigbluebutton/tasks/check-for-sessions.yml': line 2, column 5

I stated the problem in #165 and looking for best way to fix it currently.
For first time running the role (installing bbb) you could run the role with skip-tags=check-for-sessions to avoid the check that is failed. The reason is bbb should already be installed for bbb_secret to exist, so it is gethered in a latter task, after installation.

Took me a few solid minutes to understand what's going on and why it's failing.
Why this is failing is this chain of tasks when executing this Role with bbb_secret undefined and the default true for bbb_check_for_running_meetings
https://github.com/ebbba-org/ansible-role-bigbluebutton/blob/2a58831486f4889f1cdd382bfa840111a1a2fc7d/defaults/main.yml#L5
https://github.com/ebbba-org/ansible-role-bigbluebutton/blob/2a58831486f4889f1cdd382bfa840111a1a2fc7d/tasks/main.yml#L7-L9
https://github.com/ebbba-org/ansible-role-bigbluebutton/blob/2a58831486f4889f1cdd382bfa840111a1a2fc7d/tasks/check-for-sessions.yml#L2-L9
I don't even know if this role ever works when bbb_secret is undefined at this step.
Because here it gets read from the system.
But this won't prevent this error since it occurs on the first run where nothing is present.
https://github.com/ebbba-org/ansible-role-bigbluebutton/blob/83471e86d6ddf982cd7929fe71cdbbac87b8b8ad/tasks/runtimevars.yml#L8-L12

Created a hotfix PR #169

Fixed in  8492d45


switch default link behavior

Coverage remained the same at 61.667% when pulling a4cb37efc8eea08e04037574327388238b15b556 on change-lint-command into 1663dcf64c2c3b9d060a54e645433b2a84de5989 on master.


Feature request: Kinesis exporter

Would you consider including the Kinesis exporter? This seems like a good option for people looking for a low latency buffer for telemetry before further processing it or exporting downstream.

Thanks a lot for this @nickcox! Do you have a concrete use case or is this more like a general suggestion?

Apologies @mhausenblas, I completely missed your reply.
Yes, we would like to compare latency of exporting to Kinesis (and using Firehose w/ out of the box buffering) vs the currently buggy and high latency otlp exporter.

The OTLP exporter is not the source of latency or defects and changing to the Kinesis exporter would not affect the behavior described in the linked issue.  We are preparing a new release that includes https://github.com/open-telemetry/opentelemetry-lambda/pull/310/ which we expect to resolve the linked issue.

aiui, the design of the lambda collector is that it exports each batch synchronously and therefore the latency depends on the latency of the downstream system.
Our observability platform seems to have a typical latency of 250 to 1000ms. I'm pretty sure we could do better than that by exporting to Kinesis and then processing those events asynchronously. Open to other suggestions too though.


INSUFFICIENT_TX_FEE exception in examples

Getting INSUFFICIENT_TX_FEE issue when running create-stateful-contract.js on testnet.
Getting above Exception when trying to update message.
// Update the message

->    const getRecord = await (await new ContractExecuteTransaction()
.setContractId(newContractId)
.setGas(7000) // ~6016
.setFunction("setMessage", new ContractFunctionParams()
.addString("hello from hedera again!"))
.execute(hederaClient))
// [getReceipt] or [getRecord] waits for consensus before continuing
//      and will throw an exception
//      on an error received during that process like INSUFFICENT_GAS
.getRecord(hederaClient);

Can you confirm this issue still exists when submitting with a large amount of hbar and a funded account?

The transaction fee is checked against your balance using the "maximum" gas amount you set. Up your max transaction fee using .setMaxTransactionFee. The actual hbar amount needed fluctatues between around 1~ hbar. Default is 1 in the SDK. Try setting it to a few hbar.


Unable to use Go releases with go.mod

Trying to use ics23 releases in IAVL, by putting this in go.mod:
require (
	github.com/confio/ics23 v0.6.3
)

Gives a go mod tidy error when importing like this:
import (
  ics23 "github.com/confio/ics23/go"
)

github.com/confio/ics23/go is not in your go.mod file

Changing the go.mod module to include /go fails because the module does not have a v0.6.3 release, and changing the import to not use /go fails because there is no Go package at that path.

CC @AdityaSripal

Yeah, I have no idea how to improve this. I try to keep language independent dirs under root, and go is the only one complaining.
If you figure out a better way to handle go.mod, please make a pr and mention me. I'm more than happy to merge. (I spent some time with this when setting up the repo... that was go 1.12 or 1.13 so maybe things have changed)

My understanding of the issue is the release tag needs to have sub-directory in it.
so instead of v0.6.3 it would be go/v0.6.3

I tested this with a sandbox repo, there are two options:

Like @zmanian says, use an additional tag go/v0.6.3 for each release to work around this.

Move go/go.mod to the root, and call the module github.com/confio/ics23. It must still be imported as github.com/confio/ics23/go in source files, but referenced as github.com/confio/ics23 in the consumer's go.mod.

Personally I feel like 2 is the lesser of evils, especially since there's already a proxy go.mod in the root, but your call @ethanfrey.

I did try 2 before, and go mod made the 2 mod setup. This was not my idea, but I didn't spend a lot of time investigating it.
I tagged go/v0.6.3 as per Zaki's request, I should add some info about this to the README I guess

I think this issue can be closed

Yeah, I can use version tags in go.mod now, so I'm happy. Thanks guys!


better not found error when fetching status

see https://github.com/giantswarm/cli/pull/500

RFR @ewoutp

So far client-go had human readable error messages.
I'm ok with leaving that and sticking to error instances only, but let's make it clear that we're going in that direction. Please add something about it in either README or error.go.
Otherwise LGTM

Added nice comment.


[NA] Update uuid7 generation package

Details
Moved from uuid7.uuid7() to uuid6.uuid7() which follows RFC9562

Access


GitHub app uninstall event

:warning: The Git Automator app has been uninstalled on this repo.
Please click here to reinstall.

@meganbradley @antonygnanasekar @seshenoy @v-caxian @TinaLiuGirl
The Git Automator for PR app has been uninstalled to this repo, which will cause the Git Automator service to be unavailable. Please install it in time, thank you!

@meganbradley @antonygnanasekar @seshenoy @v-caxian @TinaLiuGirl
The Git Automator for PR app has been uninstalled to this repo, which will cause the Git Automator service to be unavailable. Please install it in time, thank you!

@meganbradley @antonygnanasekar @seshenoy @v-caxian @TinaLiuGirl
The Git Automator for PR app has been uninstalled to this repo, which will cause the Git Automator service to be unavailable. Please install it in time, thank you!

@meganbradley @antonygnanasekar @seshenoy @v-caxian @TinaLiuGirl
The Git Automator for PR app has been uninstalled to this repo, which will cause the Git Automator service to be unavailable. Please install it in time, thank you!

@meganbradley @antonygnanasekar @seshenoy @v-caxian @TinaLiuGirl
The Git Automator for PR app has been uninstalled to this repo, which will cause the Git Automator service to be unavailable. Please install it in time, thank you!

@meganbradley @antonygnanasekar @seshenoy @v-caxian @TinaLiuGirl
The Git Automator for PR app has been uninstalled to this repo, which will cause the Git Automator service to be unavailable. Please install it in time, thank you!

@meganbradley @antonygnanasekar @seshenoy @v-caxian @TinaLiuGirl
The Git Automator for PR app has been uninstalled to this repo, which will cause the Git Automator service to be unavailable. Please install it in time, thank you!

@meganbradley @antonygnanasekar @seshenoy @v-caxian @TinaLiuGirl
The Git Automator for PR app has been uninstalled to this repo, which will cause the Git Automator service to be unavailable. Please install it in time, thank you!


GUVNOR-2637: Remove 'Inbox' feature

See https://issues.jboss.org/browse/GUVNOR-2637

Jenkins, please retest this.

+1