Omnisharp overwrites existing file when renaming to match class name

Issue Description
When renaming the "rename file to match class name" quick action, Omnisharp overwrites existing file without warning.
It was in a new project not yet under source control, so I can't even checkout a previous version 😢
Steps to Reproduce
I have 2 files, Foo.cs with a Foo class and Foo`1.cs with a Foo<T> class.
I rename Foo to Bar, and use the quick action to rename the file to match class name. The file is renamed to Bar.cs.
Now I rename Foo<T> to Bar<T>, and use the quick action to rename the file to match class name. The file is renamed to Bar.cs, overwriting the existing Bar.cs.
Expected Behavior
An error message should indicate that the file already exists.
Actual Behavior
The existing file is overwritten without any warning.
Logs
OmniSharp log
[info]: OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.RunCodeActionService
        Applying code action: Rename file to MemoryCachePartition.cs
[info]: OmniSharp.Roslyn.CSharp.Services.Refactoring.V2.RunCodeActionService
        Applying code action: Rename file to MemoryCachePartition.cs

C# log
(empty)
Environment information
VSCode version: 1.31.1
C# Extension: 1.17.1
Dotnet Information
.NET Core SDK (reflecting any global.json):
 Version:   3.0.100-preview-009812
 Commit:    e3abf6e935
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.17134
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.0.100-preview-009812\
Host (useful for support):
Version: 3.0.0-preview-27122-01
Commit:  00c5c8bc40
.NET Core SDKs installed:
1.0.4 [C:\Program Files\dotnet\sdk]
2.1.202 [C:\Program Files\dotnet\sdk]
2.1.500 [C:\Program Files\dotnet\sdk]
2.1.502 [C:\Program Files\dotnet\sdk]
2.1.503 [C:\Program Files\dotnet\sdk]
2.1.504 [C:\Program Files\dotnet\sdk]
2.1.600-preview-009426 [C:\Program Files\dotnet\sdk]
2.1.600-preview-009472 [C:\Program Files\dotnet\sdk]
2.1.600-preview-009497 [C:\Program Files\dotnet\sdk]
2.1.600 [C:\Program Files\dotnet\sdk]
2.2.101 [C:\Program Files\dotnet\sdk]
2.2.200-preview-009648 [C:\Program Files\dotnet\sdk]
2.2.200-preview-009748 [C:\Program Files\dotnet\sdk]
2.2.200-preview-009804 [C:\Program Files\dotnet\sdk]
3.0.100-preview-009812 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0-preview-18579-0056 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 1.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 1.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.8 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0-preview-27122-01 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0-alpha-27128-4 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

auto-close-tag
formulahendry
0.5.6

azure-account
ms-vscode
0.8.0

csharp
ms-vscode
1.17.1

githistory
donjayamanne
0.4.6

markdown-all-in-one
yzhang
2.1.0

mssql
ms-mssql
1.4.0

PowerShell
ms-vscode
1.11.0

python
ms-python
2019.2.5433

rest-client
humao
0.21.1

vs-keybindings
ms-vscode
0.2.0

vscode-cosmosdb
ms-azuretools
0.10.0

vscode-css-formatter
aeschli
1.0.1

vscode-docker
PeterJausovec
0.5.2

vscode-file-templates
bam
1.1.0

vscode-guid
heaths
1.4.1

vscode-mermaid-preview
vstirbu
0.10.2

vscode-yaml
redhat
0.3.0

xml
DotJoshJohnson
2.4.0

@akshita31 Adding an error if the target file already exists seems like a quick change for us to make?

@rchande That sounds right. Will look into that

Could not reproduce with the current release.


add toTarget for NamedComponent, and Module, deprcate toNamed.

Type of change: other enhancement
Impact: API addition (no impact on existing code)
Development Phase: proposal
Release Notes
Since Named is deprecated in firrtl, It's more elegant to deprecate correspond toNamed in chiselFrontend with toTarget.

Can one of the admins verify this patch?

ok to test

After this modification
def toNamed = toTarget.toNamed

original toNamed test will also test toTarget, maybe not need to add more test for toTarget.

@chick is that OK for deprecate in 3.1 like this?

Is this ok for merge?

@azidar implemented this PR in aop, closed


Does not support transparency

The alpha data gets completely ignored. If there's a way in TKinter to allow this please PR a fix.

It blends properly since commit #idk


CloudFormation rejects AWS::ECR::Repository.ImageScanningConfiguration

I was happy to see support for AWS::ECR::Repository.ImageScanningConfiguration get committed, but CloudFormation rejects my Repository resource with this error:
Model validation failed (#/ImageScanningConfiguration: expected type: JSONObject, found: String)

It looks like json_checker is converting my Python dict to a JSON string unconditionally, which CloudFormation won't take.

Thank you for the issue.

For the next person who finds this and wonders how this should be set:
repository = Repository(
    "Repo",
    # ...
    ImageScanningConfiguration={"ScanOnPush": "true"},
)

Reference: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecr-repository.html#cfn-ecr-repository-imagescanningconfiguration


Setting cookies?

Hi guys,
I've been trying to set cookies with BLC, but didn't succeed yet. Therefore, BLC is getting "blocked" by a Cookie Wall and cannot proceed. Normally, when using ?policy=accepted behind the URL, it would automatically "accept" the cookies, but that doesn't seem to work either, because it gets redirected to a 301 Moved Permanently and doesn't proceed from there.
Also, using --header "Cookie: key=value" with wget seem to work OK. Do we have something similar to work with for BLC or do you have any other ideas how to deal with this?
Thanks!
Volkan

That's too bad. I think BLC would really benefit from the possibility of adding custom headers as it's quite a common feature that people tend to use. I hope it will be added soon. Thanks a lot for your response.

I agree. I just can't comment on when or which version it will be implemented.


error log

CUDA9.2 is OK. Win10_64bit_1903. GTX650.
F0911 10:23:46.552422  1824 syncedmem.cpp:71] Check failed: error == cudaSuccess (2 vs. 0)  out of memory
why?

http://imgsrc.baidu.com/forum/pic/item/ce09a8d5b31c870111d2d5c9287f9e2f0708ff31.jpg
http://imgsrc.baidu.com/forum/pic/item/12a9742d11dfa9ec4c4831386dd0f703918fc133.jpg

It is out of GPU memory.
Specifying a small value(64 or 32) for Split Size may resolve the error.

I have the same problem on a RTX3050 ti mobile version. Is there any ways to use RAM as well to supplement a lack of VRAM?


Stake/Reward Address returning the payment address instead

AddressService GetAddress is returning the payment address instead of the stake/reward address. This is due to the same code being executed for both Enterprise and Reward addresses using the payment public key AddressService:38
            byte[] addressArray;
            switch (addressType)
            {
                case AddressType.Base:
                    addressArray = new byte[1 + paymentEncoded.Length + stakeEncoded.Length];
                    addressArray[0] = header;
                    Buffer.BlockCopy(paymentEncoded, 0, addressArray, 1, paymentEncoded.Length);
                    Buffer.BlockCopy(stakeEncoded, 0, addressArray, paymentEncoded.Length + 1, stakeEncoded.Length);
                    break;
                case AddressType.Enterprise:
                case AddressType.Reward:
                    addressArray = new byte[1 + paymentEncoded.Length];
                    addressArray[0] = header;
                    Buffer.BlockCopy(paymentEncoded, 0, addressArray, 1, paymentEncoded.Length);
                    break;
                default:
                    throw new Exception("Unknown address type");
            }

It should also still be valid with a null payment public key parameter which will currently throw an exception. Following from that, generating an enterprise address should also work with a null stake public key parameter. An easy fix can be applied with some null friendly args but perhaps a discussion is warranted - should we have SDK methods per address type? e.g. GetBaseAddress(PublicKey payment, PublicKey stake, NetworkType networkType); GetEnterpriseAddress(PublicKey payment, NetworkType networkType); GetRewardAddress(PublicKey stake, NetworkType networkType); this should save our SDK consumers from any unexpected behaviour and make things explicit.

To get the correct stake key you can correct with the following code correction, but the Enterprise Address still needs implemented it looks like.  I have tested a local copy the stake address correction below and it works as expected.
case AddressType.Enterprise:
case AddressType.Reward:
//addressArray = new byte[1 + paymentEncoded.Length];
//addressArray[0] = header;
//Buffer.BlockCopy(paymentEncoded, 0, addressArray, 1, paymentEncoded.Length);
//break;
addressArray = new byte[1 + stakeEncoded.Length];
addressArray[0] = header;
Buffer.BlockCopy(stakeEncoded, 0, addressArray, 1, stakeEncoded.Length);
break;

ok so it looks like the Enterprise and Reward addresses are the same approach just one takes the Payment Public key and the other takes the Stake Public Key

ok so it looks like the Enterprise and Reward addresses are the same approach just one takes the Payment Public key and the other takes the Stake Public Key

I think so.  I just know that the Enterprise Address does not have staking capabilities.  I have to worked with them yet.

Yeah with that in mind we should be either

Be lenient with accepting nulls for the payment public key when generating stake/reward addresses or nulls for the stake public key when generating enterprise addresses
Expose separate methods per address type with exact parameters


DOC: clarify Sobel transform

Reference issue
Closes #18425
What does this implement/fix?

It adds notes to clarify the differences between the directional Sobel operators and the magnitude.
It gives an example of how it can be used.

Thank you for the PR @yannislinardos!
From @rkern's comment on the issue, I think we should not do that and instead explain in a notes section that there are other conventions.
In the example section, we can also add a short example (similar to the one in the issue) showing how to obtain the equivalent of scikit-image and other.

Thank you for the feedback. I will make some adjustments.

Some suggestions to streamline the plotting and make figure more readable

Thank you for the suggestions. I have committed them.

Thanks @yannislinardos !
If anyone is still looking at this: the exaple for the prewitt filter could use a similar update.


Upgrade @cucumber/cucumber 7.0.0 -> 7.1.0

Summary
In upgradeing from "@cucumber/cucumber": "7.0.0" to "@cucumber/cucumber": "7.2.1" as per this issue I had problems at 7.1.0.
In looking at the Changelog, I see pr 1608 introduced a stream.on (in a ts file (I'm using js)). Correct me if I'm wrong, but this seems to assume that the cucumber stdout has an on function. I haven't seen this documented anywhere, what is the purpose of this? Also the actual change doesn't seem to be in the Changelog. I also can't find it in the https://github.com/cucumber/cucumber-js repository. I can only see it when I npm install @cucumber/cucumber 7.1.0. Where is this code?
I've added this to get around the problem, but I have no idea what the on function is supposed to do?
This is where/how I've been instantiating the CLI for years.
This is how I've been handling the CLI erros for years.
Is my empty on function the way to do this, I'm struggling to understand what's going on here?

Some history here:

Initially Gherkin was dependent to Node due to usage of Nodejs stream api
At some point we wanted to be able to execute Gherkin in the browser. To make that possible easily, usage of streams has been moved from the gherkin library to an independent package: gherkin-streams

stream.on actually uses the Nodejs EventEmitter api.
This is just the event model of nodejs.
You say you have problem upgrading to 7.1.0. What are your problems exactly?

The Cucumber CLI must be instanciated with a stdout which must be a IFormatterStream
export type IFormatterStream =
  | FsWriteStream
  | TtyWriteStream
  | PassThrough
  | HttpStream

All those are various Node streams (fs, tty, stream) which all are part of the node API, which uses EventEmitter API.
Try instantiating a node stream instead of a { ... } object. That would be more reliable.

Also the actual change doesn't seem to be in the Changelog.

Actually there have been no changed in the signature of the Cucumber CLI constructor. It has always asked for a IFormatterStream, and that interface did not changed.
What have changed is the use of the on method from EventEmitter. But as you are using plain javascript, you did not noticed before. The CLI expect the stdout parameter to be a stream since a long time. The transition to typescript simply make it more explicit.

Thanks for the input @aurelien-reeves it was very helpful.
I've used a Writable stream.
Implementing the stream (in my case cucumberCliStdout), what do I need to expect the chunk argument to the write function to be and how should I handle it. In testing (without decodeStrings: false) it has been a buffer. Will it always be the same?
Does my implementation look correct and sufficient?
Do I need to provide any other options to the Writable constructor?
I take it you don't expect the stream to be in objectMode?
Thanks.

I am not confident enough with streams to give you a valuable feedback.
From what I see, it looks good. But I may totally miss something, so if anyone else confident with streams could check, that would be great.
Regarding the type of chunk, we cannot guaranty anything. You should check its type, not do any assumption on it. Streams accept both Buffer and String, and even any cf. doc, you should do the same.
If I understand well the decodeString option: it automatically converts strings into buffer. So if set to true (the default), you should never received chunk as string, but always as buffer. If set to false, strings remain strings, buffers remain buffers.

Hmm... So you don't know what Cucumber will be writing? It seems strange that you can't say what it will be passing to write. If the Cucumber team doesn't know, what hope do consumers have with knowing how to handle the possible types?
I've been handling everything in the past as string. Everything (chunk) that comes through write gets sent to a publisher. This then gets logged to varius places including published to Redis channels.
It'd be safe to say that we've never noticed anything being received other than strings. Any suggestions on what the other forms would be for? Are they safe to convert to string? If they are not what do you suggest we do with them?
Thanks.

Hmm... So you don't know what Cucumber will be writing? It seems strange that you can't say what it will be passing to write. If the Cucumber team doesn't know, what hope do consumers have with knowing how to handle the possible types?

I did not say that. I just said that we cannot guaranty the type of the data here as this is not specific to Cucumber. This is based on a Node API which gives any guaranty on the type of the incoming data.
That stream is passed to formatters, including custom formatters. We do not know what is going on in those custom formatters.

I've been handling everything in the past as string. Everything (chunk) that comes through write gets sent to a publisher. This then gets logged to varius places including published to Redis channels.
It'd be safe to say that we've never noticed anything being received other than strings. Any suggestions on what the other forms would be for? Are they safe to convert to string? If they are not what do you suggest we do with them?

That stream representing stdout, it is relatively safe to assume they'll receive strings or data easily convertible as strings.
But as it is passed to custom formatters and end users being able to easily implement their own custom formatters, you should not trust the data and implement proper checks and guards before publishing it to your system, or before processing it by your own services.


Fix slugify.js not replacing to empty string

fixes #3027

There is a bugfix, but I can't add the label to the pull request.

Don't worry, you can't add labels.


Allow configuration via environment variables

The qlever script can now get its config either from a Qleverfile (just like before) or from environment variables (this is new).  The environment variables have names that are fully analogous to the variable names in the Qleverfile. For example, the variable PORT in section server of the Qleverfile corresponds to the environment variable QLEVER_SERVER_PORT.
The qlever script now checks if either a Qleverfile exists or if environment variables of the form QLEVER_SECTION_VARIABLE  exist. If exactly one of these exists, it will automatically parse the configuration from there. If both exist, it will complain (it would be easy to merge both, by letting one override the other, but I don't see a use case for that, but the potential for unexpected behavior instead, since a user might not be aware of which environment variables are set).
There is now also a new command qlever config with various convenience options, in particular: --show-qleverfile, --show-envvars, --set-envvars-from-qleverfile, and --unset-envvars. See qlever config --help for a description of what exactly they do.

@ludovicm67 Can you please have a look at this and try it out and let me know what you think? I think it nicely addresses the problem we talked about last week. For testing, in oder to get the environment variables for one of the preconfigured Qleverfiles, you can do the following:
qlever config --get-qleverfile olympics
qlever config --set-envvars-from-qleverfile

@hannahbast I will give it a try!
This is similar than what I've done here in a shell script: https://github.com/zazukoians/qlever-tests/blob/76068584b86a620ab1fdde4a309d81bdda733e36/docker/common/generate-qleverfile.sh
It's great that we are fully on the same page for the variable names 👍


Finish breaking apart the catalogue API terraform

Closes https://github.com/wellcomecollection/platform/issues/4386, and paves the way to update it all to terraform 0.12, one stack at a time.
All applied, no changes, as expected.
I’ve moved the shared infra into a module "shared", which exports the pieces the staging/prod APIs need. There's then a new module "catalogue_api_stack" which absorbs all the duplicated parts.

The formatting task has passed; merging the rest rather than waiting for the Scala builds to run.


Feature/automate screenshots

Description
Updated the screenshots with the new automation.
Added some defensive code to try and force the layout to update when the label updates.
Added (commented out) css to remove scrollbar from tables (tested in Firefox)
Testing instructions
Add a set up instructions describing how the reviewer should test the code

Review code
Check Travis build
Review changes to test coverage

Codecov Report

Merging #433 into version1 will not change coverage.
The diff coverage is 0%.

@@            Coverage Diff            @@
##           version1     #433   +/-   ##
=========================================
  Coverage     82.83%   82.83%
=========================================
  Files            81       81
  Lines          3279     3279
  Branches        603      603
=========================================
  Hits           2716     2716
  Misses          497      497
  Partials         66       66

Impacted Files
Coverage Δ

src/malcolm/reducer/block.reducer.js
81.96% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Double scrollbars on code tabs

Describe the bug

The code tab blocks have double scrollbars on each axis, making it difficult to navigate
Expected behavior

One scrollbar per axis.
Current behavior

Two scrollbars per axis.
Possible solution

This selector sets a max-width and max-height for code tags. Removing it fixes the issue, but I suppose it's purpose may be necessary to prevent random code blocks inserted from markdown from growing too big. Without knowing where those styles apply, a more specific selector would be less prone to break stuff.
Steps to reproduce

Visible here on the curl tab:
https://docusaurus-openapi.tryingpan.dev/petstore/create-users-with-list-input
Screenshots

https://user-images.githubusercontent.com/16181779/217860888-d54a53c4-cead-4e07-aa50-0f975cb8faf5.mov
Your Environment

Version used: v1.5.2
Environment name and version: Chrome Version 108.0.5359.124 (arm64)
Operating System and version (desktop or mobile): Mac M1

closed by #417


move hardhat-graph to this repo

this should become a sub package https://github.com/graphprotocol/hardhat-graph

Keep in mind the plugin is based on older dependencies, so it may break after updating them


postman-6.7.3 dead url

Describe the bug
Observed behavior:
➜  ~ nix-channel --list
nixos https://nixos.org/channels/nixpkgs-unstable
➜  ~ nix-env -i postman
installing 'postman-6.7.3'
these derivations will be built:
  /nix/store/2jnkg0cw4f41z3bc8zp1ps7cfn5qa4yx-postman-6.7.3.tar.gz.drv
  /nix/store/fpfzhs4hs1v86p5iwk1icgsqlpphpxyx-postman-6.7.3.drv
these paths will be fetched (2.48 MiB download, 12.68 MiB unpacked):
  /nix/store/0dddjsjvj21yy88h5yvwzvsp7ajgw5z7-curl-7.64.0-man
  /nix/store/3w97s7yxvcz8b7d24va1jagwdp229zy9-curl-7.64.0-bin
  /nix/store/7672ijapssxyrzn23w06l7lk20mn7cnn-nss-3.46
  /nix/store/bzfj40w32hkpqbza97qqf98lqgjvj15l-polkit-0.115
  /nix/store/imz0rnn43q8x2ac6w849p1841dvdr7s3-dbus-glib-0.110
  /nix/store/mjqgmzlfyhpgf6i0k16fmgchi5a4b61k-libssh2-1.9.0-dev
  /nix/store/p9mpfqvv4hpqd983w5x93c6zpgh6vsfa-mirrors-list
  /nix/store/r2krkfinvkrxig5ldvf3m0fdq0png874-curl-7.64.0-dev
  /nix/store/zhs9k6cirzik1byvzh039xsf149s4khs-gconf-3.2.6
copying path '/nix/store/7672ijapssxyrzn23w06l7lk20mn7cnn-nss-3.46' from 'https://cache.nixos.org'...
copying path '/nix/store/imz0rnn43q8x2ac6w849p1841dvdr7s3-dbus-glib-0.110' from 'https://cache.nixos.org'...
copying path '/nix/store/bzfj40w32hkpqbza97qqf98lqgjvj15l-polkit-0.115' from 'https://cache.nixos.org'...
copying path '/nix/store/p9mpfqvv4hpqd983w5x93c6zpgh6vsfa-mirrors-list' from 'https://cache.nixos.org'...
copying path '/nix/store/3w97s7yxvcz8b7d24va1jagwdp229zy9-curl-7.64.0-bin' from 'https://cache.nixos.org'...
copying path '/nix/store/0dddjsjvj21yy88h5yvwzvsp7ajgw5z7-curl-7.64.0-man' from 'https://cache.nixos.org'...
copying path '/nix/store/mjqgmzlfyhpgf6i0k16fmgchi5a4b61k-libssh2-1.9.0-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/zhs9k6cirzik1byvzh039xsf149s4khs-gconf-3.2.6' from 'https://cache.nixos.org'...
copying path '/nix/store/r2krkfinvkrxig5ldvf3m0fdq0png874-curl-7.64.0-dev' from 'https://cache.nixos.org'...
building '/nix/store/2jnkg0cw4f41z3bc8zp1ps7cfn5qa4yx-postman-6.7.3.tar.gz.drv'...

trying https://dl.pstmn.io/download/version/6.7.3/linux64
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
error: cannot download postman-6.7.3.tar.gz from any mirror
builder for '/nix/store/2jnkg0cw4f41z3bc8zp1ps7cfn5qa4yx-postman-6.7.3.tar.gz.drv' failed with exit code 1
cannot build derivation '/nix/store/fpfzhs4hs1v86p5iwk1icgsqlpphpxyx-postman-6.7.3.drv': 1 dependencies couldn't be built
error: build of '/nix/store/fpfzhs4hs1v86p5iwk1icgsqlpphpxyx-postman-6.7.3.drv' failed

To Reproduce
Steps to reproduce the behavior:

nix-env -iA nixos.postman

I've shown this above on nixos-unstable I also observed this behavior on stable.
Expected behavior
postman is installed
Additional context
Looks like this is not a new issue, related and possibly duplicate: https://github.com/NixOS/nixpkgs/issues/48466
Metadata
Please run nix run nixpkgs.nix-info -c nix-info -m and paste the result.
➜  ~ nix run nixpkgs.nix-info -c nix-info -m
 - system: `"x86_64-linux"`
 - host os: `Linux 4.19.64, NixOS, 19.03.173245.fa561021eb6 (Koi)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.2.2`
 - channels(root): `"nixos-19.03.173453.0d79decdb3b"`
 - channels(doyougnu): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: [ postman ]
# a list of nixos modules affected by the problem
module:

is you channel up to date ? The latest version of Postman is the 7.0.7 on unstable, and everything looks fine for me.
Did you try to run: nix-channel --update before installing it ?

Ah you were spot on. I just switched to unstable and never updated. Apologies for the redundancy! Closing for obvious reasons.


fix: update helix-deploy to 9.0.3

:tada: This PR is included in version 1.2.15 :tada:
The release is available on:

v1.2.15
v1.2.15
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.15 :tada:
The release is available on:

v1.2.15
v1.2.15
GitHub release

Your semantic-release bot :package::rocket:


How to set page parameter to start at 1 instead of 0?

How do I set the trackedParameter for 'page' to start at 1 instead of 0?
so that /search?q=searchterm&page=0 is instead /search?q=searchterm&page=1 on the first page?
Basically I want to hook into the method that sets the querystring param, and just visually show it as +1 more than the actual page.
This could be an option using urlSync.

Not currently doable with instantsearch.js without some good hacking, mostprobably something we want to fix in the next version of instantsearch.js.
Still, we would accept any PR adding this option, it would require you hacking into https://github.com/algolia/instantsearch.js/blob/develop/src/lib/url-sync.js and do the necessary changes.
Thanks a lot for feedback.

The proposed new API (see PoC) will let you do that pretty easily.


AnimateSharedLayout TS type error with svelte kit

Type '{}' is not assignable to type 'IntrinsicAttributes & SharedLayoutProps'.
  Property 'children' is missing in type '{}' but required in type 'SharedLayoutProps'.ts(2322)

	<AnimateSharedLayout>
               Doesn't matter what's inside
	</AnimateSharedLayout>

Fixed in 0.11.3


Settings: Uploading Publisher Logo deletes existing logos

Something happened and now when you upload a new publisher logo it removes all other logos except for the default logo.
To replicate to go dashboard/settings and try to upload a new logo, you'll see other logos disappear. No delete requests are going through, it just seems like it's overriding?
Needs investigation.

Digging into this a bit.
Media upload is working as expected for single and bulk upload on dashboard settings.
When an upload occurs we're seeing the request for the media ids to become publisher logos, the ids are getting to the path to post to settings just fine:
/web-stories/v1/settings/?web_stories_publisher_logos=2992&web_stories_publisher_logos=3046&web_stories_publisher_logos=3041&web_stories_publisher_logos=3040&web_stories_publisher_logos=3042&web_stories_publisher_logos=3044&web_stories_publisher_logos=3045&web_stories_publisher_logos=3043
But then the actual request url only queries 1 of the ids within its params, like so: http://localhost:8899/wp-json/web-stories/v1/settings/?web_stories_publisher_logos=3047&_locale=user
It seems as though something is getting reduced in the api?
@spacedmonkey or @swissspidy did anything change recently that rings a bell about how this might be happening?

Not to my knowledge. But why doesn‘t this pass a comma separated list of IDs or use arrayweb_stories_publisher_logos[]= format? Did the way the URL is constructed change in the dashboard?

the front end dashboard for this hasn't changed for 8 months 🙃  i'll dig a little more into it later tonight. it's something in the wpAdapter in the dashboard it seems since the query's right.

Where is the URL being stitched together then? Perhaps caused by an update of that query-string package?

So we get to apiFetch in the wpAdapter of the dashboard and the query string is stitched together like so: "/web-stories/v1/settings/?web_stories_publisher_logos=10&web_stories_publisher_logos=50&web_stories_publisher_logos=46&web_stories_publisher_logos=48&web_stories_publisher_logos=47&web_stories_publisher_logos=49" for the path of the post which is normal and expected but then the actual query done as witnessed by the network tab is http://localhost:8899/wp-json/web-stories/v1/settings/?web_stories_publisher_logos=49&_locale=user so it's just recalling the last instance now. This would have to be occurring in the apiFetch.
From what I gather there's not been an update of the query string package that would cause this as their documentation says that they still support multiple instances of the same key: https://www.npmjs.com/package/query-string

It just really seems like the query is put together and then only the last instance is getting handled.

It just really seems like the query is put together and then only the last instance is getting handled.

Indeed somewhere in the apiFetch package this is happening. Although I didn't dig deep into the code to find out where this is happening.
I do have to say though that the /web-stories/v1/settings/?web_stories_publisher_logos=10&web_stories_publisher_logos=50&web_stories_publisher_logos=46&web_stories_publisher_logos=48&web_stories_publisher_logos=47&web_stories_publisher_logos=49 format is a little bit unexpected to me, but I know it's not uncommon.
My personal preference would have been a format like /web-stories/v1/settings/?web_stories_publisher_logos=10&web_stories_publisher_logos=50&web_stories_publisher_logos=46&web_stories_publisher_logos=48&web_stories_publisher_logos=47&web_stories_publisher_logos=49 or /web-stories/v1/settings/?web_stories_publisher_logos=10,50,46,48,47,49.
This works in my testing:
        if (publisherLogoIds) {
          query.web_stories_publisher_logos = [
-            ...new Set([...state.publisherLogoIds, ...publisherLogoIds]),
+            [...new Set([...state.publisherLogoIds, ...publisherLogoIds])].join(
+              ','
+            ),
          ];
        }

Since the Upload logo button is of input[type=file], it should be possible to create an e2e test for uploading publisher logos. Let's do that to prevent regressions.

This works in my testing:

It sure is, ugh. I was looking at the issue from the query and didn't think about just changing it so that it wouldn't be an issue of multiple instances of the same key. PR is up now. Thanks for the help, @swissspidy
Ticket for e2e test: https://github.com/google/web-stories-wp/issues/7224

Verified in QA


Componentize Buttons

Componentized button attributes

@arvindh-manian can you pull from main and re-PR? Too many merge conflicts on my end.


Fail to add multiple SSID on Raspberry Pi3

Model | Raspberry Pi 3 Model B Rev 1.2
Firmware Version | LEDE Reboot 17.01.2 r3435-65eec8bd5f / 			LuCI lede-17.01 branch (git-17.152.82987-7f6fc16)
Kernel Version | 4.4.71
I start with connect to my AP, as wwan, everything fine, can ping google.
Then I try to add another SSID by webgui, WPA2&Open wifi.
It seems added to the list but link to internet loss, can't search for LEDE by wifi neither
UART keep give out following error.
Details kernel log attached
kernal log.txt
[  606.269497] brcmfmac: brcmf_update_bss_info: wl dtim_assoc failed (-23)
[  606.279933] ------------[ cut here ]------------
[  606.288290] WARNING: CPU: 2 PID: 74 at compat-wireless-2017-01-31/net/wireless/sme.c:752 0x7f16fbbc cfg80211@7f14a000+0x37c90
[  606.304088] Modules linked in: pppoe ppp_async iptable_nat brcmfmac pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv6 nf_conntrack_ipv4 ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT usbhid slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables hid_generic crc_ccitt compat brcmutil snd_bcm2835 hid evdev ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables snd_pcm_dmaengine snd_compress snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd_rawmidi snd_seq_device snd_hwdep snd soundcore nls_utf8 vfat fat nls_iso8859_1 nls_cp437
[  606.405865] CPU: 2 PID: 74 Comm: kworker/u8:2 Tainted: G        W       4.4.71 #0
[  606.418542] Hardware name: BCM2709
[  606.426897] Workqueue: cfg80211 0x7f14a11c [cfg80211@7f14a000+0x37c90]
[  606.438369] Function entered at [<800203d4>] from [<8001cd58>]
[  606.448972] Function entered at [<8001cd58>] from [<801ad550>]
[  606.459347] Function entered at [<801ad550>] from [<800277cc>]
[  606.469499] Function entered at [<800277cc>] from [<80027884>]
[  606.479423] Function entered at [<80027884>] from [<7f16fbbc>]
[  606.489127] Function entered at [<7f16fbbc>] from [<7f14ecb4>]
[  606.498723] Function entered at [<7f14ecb4>] from [<7f14edac>]
[  606.508237] Function entered at [<7f14edac>] from [<7f14a130>]
[  606.517667] Function entered at [<7f14a130>] from [<8003c630>]
[  606.527014] Function entered at [<8003c630>] from [<8003cad4>]
[  606.536355] Function entered at [<8003cad4>] from [<80041b50>]
[  606.545693] Function entered at [<80041b50>] from [<80009c38>]
[  606.555058] ---[ end trace e726c8ce9a554a41 ]---

same problem  here

Is this still an issue on 18.06 and 19.07 ?


fixing nodemon error

Signed-off-by: Matt Raffel<EMAIL_ADDRESS>

What version of npm are you using? If possible, I'd love to keep lockfileVersion at 2 rather than have it move back to 1.

What version of npm are you using? If possible, I'd love to keep lockfileVersion at 2 rather than have it move back to 1.

6.14.8.  I copied the nodemon pull from another repo of ours:
https://github.com/kiva/aries-guardianship-agency/blob/70d62a12acc4a560fde05bbbd62ae94eb48f6e13/package.json#L63


FPS Unlocker stops working after closing the game once, requires reboot to work again

Hello. I've noticed a new problem ever since the launcher was updated for the latest version. When I start the game with FPS unlocker it works flawlessly, but if I close the game and go to reopen it again with the FPS unlocker some time later it just doesn't work at all anymore. I'm forced to restart my computer every time and then it starts working again. This didn't happen on the old version of the FPS unlocker. I've made no changes on my end to cause this to happen. Launcher arguments are identical to what I had prior to the update.

are you using the latest version

are you using the latest version

Yes

I fixed with disable realtime protection in defender


Vue Query's onPaginationChange has incorrect union type/unexpected behavior, unexpected API, "This expression is not callable. Not all constituents of type "Updater" are callable"

TanStack Table version
v8.11.7
Framework/Library version
Vue v3.4.15
Describe the bug and the steps to reproduce it
The onPaginationChange function in useVueTable is typed as OnChangeFn<PaginationState>, but the actual type seems to always be
(updater: (args: PaginationState) => PaginationState) => void
In my the reproduction, you'll see that the printed value for updater is
(old) => {
        let newState = functionalUpdate(updater, old);
        return newState;
      }

if you click a button to update the pagination.
This type, (updater: (args: PaginationState) => PaginationState) => void, is different than its provided unioned definition, and it's causing a type error (could I get some clarification if I'm wrong here?).
The Type Error
If you see the images, I'm getting various Typescript errors in my editor. In my first picture, it insists that my type for onPaginationChange is incorrect, despite me being sure that the implementation is working. In the second picture, when I'm inlining the function, I'm getting "This expression is not callable. Not all constituents of type "Updater" are callable". This seems to be due to the definition of
export type OnChangeFn<T> = (updaterOrValue: Updater<T>) => void;
export type Updater<T> = T | ((old: T) => T)

the Union type of type Updater<T> = T | ((old: T) => T) seems to be causing this constant Typescript error, and I have been unable to resolve it without a Type assertion.
Separate Issue: onPaginationChange type was not what I expected, and the docs compounded this
I expected the onPaginationChange function to have a type
(newPaginationState: PaginationState, oldPaginationState: PaginationState) => void
rather than of type
(updater: (args: PaginationState) => PaginationState) => void
to more closely mimic the style of Vue's watch function.
Instead, I'm calling pagination.value = updatePagination(pagination.value) inside onPaginationChange, which feels somewhat cumbersome and unintuitive.
The ambiguity of current documentation and the naming of the Updater type suggest a more straightforward update mechanism, akin to typical state updates in Vue. This discrepancy between the expected and actual behavior can lead to misunderstandings about how to properly use the onPaginationChange function. In the docs, it is said:

If this function is provided, it will be called when the pagination state changes and you will be expected to manage the state yourself. You can pass the managed state back to the table via the tableOptions.state.pagination option.

This creates ambiguity and potentially misleads new users. More information on how to pass the managed state back in the table would be appreciated (such as showing an example onPaginationChange function.
Your Minimal, Reproducible Example - (Sandbox Highly Recommended)
https://stackblitz.com/edit/tanstack-table-rsbmuy?file=src%2FApp.vue
Screenshots or Videos (Optional)

Do you intend to try to help solve this bug with your own PR?
Maybe, I'll investigate and start debugging
Terms & Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I understand that if my bug cannot be reliable reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

+1 to this issue.  docs are incredible unclear.  @braden-w's solution worked but required me to pass in a ts-ignore

It seems like this function behaves similarly to setState in that the argument can either be a function or the value itself.
At the moment, I'm attempting to handle the typing this way.
Pass the old value to updateOrValue then get the updated value
setPagination: updateOrValue => {
   const oldPagination = get().pagination;
   const updatedPagination = updateOrValue instanceof Function ? updateOrValue(oldPagination) : updateOrValue;
   set({ pagination: updatedPagination });
}

It seems we already have your case in our docs, you can checkout more information in here
Reference: https://github.com/TanStack/table/discussions/4005


junction=roundabout implies oneway=yes

When the lanes are more than 2 and oneway!=yes, Streets GL divides the lanes in forward and backward lanes, with a continue line

in roundabouts there should not be a continue line, because junction=roundabout implies oneway=yes

Thank you. Fixed in https://github.com/StrandedKitty/streets-gl/commit/708e2d29d77b05745805e5ffe2195ded49a8f892.


Fix minor typo

Hi,
This is a very minor update, but it could be useful to contributors to have the correct command to test their code. ;-)
Cheers

Thanks!


Fix Shooter Ports

CAN ID for motors: Left 24, Right: 25

Fixed before BSU Weekend

Fixed before BSU Weekend


Remove broken 'user' scope from IrfanSkiljan.IrfanView

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.2 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Close with reason: Will be fixed in a newer PR;


updates to external-secrets and cert-manager on the hub cluster

changes backported from changes made to otp-demo repos

Deploys through Helm and not the operator


Remove redundant (and wrong) attribute listing

The interval attribute was listed multiple times. The listing also contained conflicting information. It looks like node['chef_client']['interval'] always refers to seconds, so I removed the one that referenced minutes.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@dustyburwell

Please sign the CLA here.

The contributing guide appears to allow this type of change without signing the CLA.

Merging as an obvious fix under the rules.  Thanks for noticing this


Dhh article

[ ] Internal linking: How many internal links did you put in the article? 0
[ ] Should it be added in our axolo.co/resources page? (if yes, add it to the list)
[ ] If you have created a template, add it to https://github.com/axolo-co/developer-resources/tree/main

Slack File: image.png

je px le poster debut de semaine pro ca fais un peu plus de 2 semaines qu’on aura pas poster


How to use without ListView or CollectionView

Can I use this Control inside for example ContentView, without ListView or CollectionView?

Of course, you can. Just put this control inside ContentView


Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI

On android 7 everything works perfectly, but on android 12 it shows this error(in title). I've tried multiple solutions. None of them works.
Solutions I've tried

https://stackoverflow.com/a/67916122/20302196 (android:exported="true" is already there) (most of the solutions say this)
https://stackoverflow.com/a/75055556/20302196
https://github.com/firebase/flutterfire/issues/8254#issue-1165223518  (see pubspec file for packages info)
https://stackoverflow.com/a/48628738/20302196 (I've double checked names none of them are capital)
https://github.com/firebase/flutterfire/issues/8254#issuecomment-1065104827 (see pubspec)

Google play says to not use package name like this "com.example.appname" so I updated my app's package name to this "com.botwrite.botwrite" using change_app_package_name from pub.dev and then it changed it in different files i.e AndroidManifest, MainActivity, and some other places. I'm mentioning this as some solutions say changing package names sometimes cause this problem.
https://pub.dev/packages/change_app_package_name
Flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.7.0, on Microsoft Windows [Version 10.0.19045.2364], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
Checking Android licenses is taking an unexpectedly long time...[√] Android toolchain - develop for Android devices
(Android SDK version 33.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.3.6)
[√] Android Studio (version 2021.3)
[√] IntelliJ IDEA Community Edition (version 2022.3)
[√] Connected device (4 available)
[√] HTTP Host Availability

• No issues found!

Tried solution 2 and updated my build.gradle file (did not work) still show error (in title)
build.gradle file
def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
    localPropertiesFile.withReader('UTF-8') { reader ->
        localProperties.load(reader)
    }
}

def flutterRoot = localProperties.getProperty('flutter.sdk')
if (flutterRoot == null) {
    throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.")
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
    flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
    flutterVersionName = '1.0'
}

apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
    // compileSdkVersion flutter.compileSdkVersion
    compileSdkVersion 33
    ndkVersion flutter.ndkVersion

    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }

    kotlinOptions {
        jvmTarget = '1.8'
    }

    sourceSets {
        main.java.srcDirs += 'src/main/kotlin'
    }

    defaultConfig {
        // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
        applicationId "com.botwrite.botwrite"
        // You can update the following values to match your application needs.
        // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
        // default // minSdkVersion flutter.minSdkVersion
        minSdkVersion 26
        // targetSdkVersion flutter.targetSdkVersion
        targetSdkVersion 33
        versionCode flutterVersionCode.toInteger()
        versionName flutterVersionName
        multiDexEnabled true
    }

    buildTypes {
        release {
            // TODO: Add your own signing config for the release build.
            // Signing with the debug keys for now, so `flutter run --release` works.
            signingConfig signingConfigs.debug
        }
    }
}

flutter {
    source '../..'
}

dependencies {
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation "androidx.multidex:multidex:2.0.1"
}

AndroidManifest.xml
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.botwrite.botwrite">
    <uses-permission android:name="android.permission.RECORD_AUDIO"/>
    <uses-permission android:name="android.permission.INTERNET"/>
    <uses-permission android:name="android.permission.BLUETOOTH"/>
    <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
    <uses-permission android:name="android.permission.BLUETOOTH_CONNECT"/>
    <uses-permission android:name="android.permission.ACCESS_INTERNET"/>

    <queries>
        <intent>
            <action android:name="android.speech.RecognitionService" />
            <action android:name="TextToSpeech.Engine.INTENT_ACTION_TTS_SERVICE" />
        </intent>
    </queries>
   <application
        android:label="botwrite"
        android:name="${applicationName}"
        android:icon="@mipmap/ic_launcher">
        <activity
            android:name=".MainActivity"
            android:exported="true"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
            <!-- Specifies an Android theme to apply to this Activity as soon as
                 the Android process has started. This theme is visible to the user
                 while the Flutter UI initializes. After that, this theme continues
                 to determine the Window background behind the Flutter UI. -->
            <meta-data
              android:name="io.flutter.embedding.android.NormalTheme"
              android:resource="@style/NormalTheme"
              />
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>
        <!-- Don't delete the meta-data below.
             This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
        <meta-data
            android:name="flutterEmbedding"
            android:value="2" />
    </application>
</manifest>

My pubspec.yaml file
name: botwrite
description: A new Flutter project.

publish_to: 'none'

version: 1.0.0+1

environment:
  sdk: '>=2.19.0 <3.0.0'

dependencies:
  build_runner: ^2.3.3
  carousel_slider: ^4.2.1
  cloud_firestore: ^4.3.1
  connectivity_plus: ^3.0.2
  cupertino_icons: ^1.0.5
  dropdown_button2: ^1.9.2
  email_validator: ^2.1.17
  firebase_auth: ^4.2.5
  firebase_core: ^2.4.1
  flutter:
    sdk: flutter
  # flutter_launcher_icons: ^0.11.0
  flutter_native_splash: ^2.2.17
  flutter_riverpod: ^2.1.3
  flutter_spinkit: ^5.1.0
  flutter_svg: ^1.1.6
  flutter_tts: ^3.6.3
  go_router: ^6.0.1
  google_fonts: ^3.0.1
  http: ^0.13.5
  isar: ^3.0.5
  isar_flutter_libs: ^3.0.5
  isar_generator: ^3.0.5
  path_provider: ^2.0.12
  permission_handler: ^10.2.0
  salomon_bottom_bar: ^3.3.1
  string_validator: ^0.3.0

dev_dependencies:
  change_app_package_name: ^1.1.0
  flutter_lints: ^2.0.0
  flutter_test:
    sdk: flutter

flutter:
  uses-material-design: true
  assets:
    - assets/
    - assets/images/
    - assets/images/homepagecarouselimages/
    - assets/images/testimonials/profile/
    - assets/avatars/
    - assets/icons/
    - assets/logo/

# this is for the launcher icon
flutter_icons:
  android: true
  image_path: "assets/logo/botlogo.png"
  min_sdk_android: 21 # android min sdk min:16, default 21

flutter_native_splash:
  color: "#ffffff"
  image: assets/splash.png
  # run this command if splash doesn't work on android 12
  # flutter pub run flutter_native_splash:create
  android_12:
    color: "#ffffff"
    image: assets/splash.png

full debug console error
Launching lib\main.dart on V2061 in debug mode...
lib\main.dart:1
√  Built build\app\outputs\flutter-apk\app-debug.apk.
Error: ADB exited with exit code 1
Performing Streamed Install

adb: failed to install D:\projects\flutter_projects\MVCs\botwrite\build\app\outputs\flutter-apk\app-debug.apk: Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl2112444397.tmp/base.apk (at Binary XML file line #23): intent tag may have at most one action.]
Error launching application on V2061.

Please help. I've been stuck on this for last three days. No solutions work.

I'll be grateful if you'll explain what causes this problem, so that I can address this specifically.

@AbdulSamadgithub
Ideally Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl2112444397.tmp/base.apk (at Binary XML file line #23): intent tag may have at most one action.] should also show the packagename/filename due to which the error is occuring, for example:
Failure [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl469477611.tmp/base.apk (at Binary XML file line #260): com.dexterous.flutterlocalnotifications.ScheduledNotificationBootReceiver:
or
[INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl489268217.tmp/base.apk (at Binary XML file line #125): io.flutter.plugins.firebasemessaging.FlutterFirebaseMessagingService:
Which gives you an idea in which package the issue is coming from. But in your case, that information seems to be missing so it is tough to analyze it properly.
One thing is sure that this is not a Flutter issue, but most probably a third party package / plugin issue that you are using, which could be having a conflict or misconfig in intent tag, as the error you posted shows intent tag may have at most one action.]
So one hint I can give you is, try to look at all the third party packages you are using and see the intent filter being used in them and check if they have more than one action or not as the error indicates.

Google play says to not use package name like this "com.example.appname" so I updated my app's package name to this "com.botwrite.botwrite" using change_app_package_name from pub.dev and then it changed it in different files i.e AndroidManifest, MainActivity, and some other places. I'm mentioning this as some solutions say changing package names sometimes cause this problem.

This also indicates that it could be related to the package you used to change the app name which might have conflicted with your app's setup.
Apart from this, as I mentioned earlier, this is not a Flutter issue, so you should probably raise this in support channels like StackOverflow or Flutter's reddit help page. Hence I am going ahead and closing this issue from here as this is unrelated to Flutter. If you are able to track it down to Flutter's first party plugin issue, write in comments with relevant details and I'll reopen it.


Invitation system ms10

Added functionality to create a invite key (only for logged in users)
Registration needs a valid invite key now

:heart:


feat: add liquid

Describe the changes you have made in this PR
Extends the mnemonic for use in liquid btc.
Link this PR to an issue [optional]
Fixes #2074
Type of change
(Remove other not matching type)

feat: New feature (non-breaking change which adds functionality)

How has this been tested?
Manually
Checklist

[x] My code follows the style guidelines of this project and performed a self-review of my own code
[x] New and existing tests pass locally with my changes
[x] I checked if I need to make corresponding changes to the documentation (and made those changes if needed)

Converting this into WIP PR


Disable and replace default password change emails

Currently already doing this, but it's all-or-nothing. Either both admins and the user get an email, or no one does. Add the ability to create separate messages for both parties, and selectively choose who gets what.
if ( !function_exists( 'wp_password_change_notification' ) ) {
    function wp_password_change_notification() {}
}

http://wordpress.stackexchange.com/questions/218204/hook-after-user-password-change

v7.1.0


Update stream_device_messages to add multiple devices

Draft because I realised the datetime is not UTC and need to fix/confirm


Asian characters

Does daisy support asian characters (Chinese/Mandarin, Korean, Japanese)? If not, could you add these (for some it might be impossible due to the size constraints, but let's try)?

I won't fix this myself but PRs are welcome.
One tip I have is that I anticipate that 5x10 glyph size of the font would simply be too small to work properly with any of these characters.  However, doubling the width of these glyphs to a total size of 10x10 should be enough to at least include the Japanese katakana and hiragana character sets (classic video games were readable at 8x8 glyph sizes).  Don't know if that would be enough for the other character sets.


mat-radio checked not working?

Hello, I need to set radio-button value from the state. I tried having just [ngrxFormControlState], but the problem is that the state is set from loaded data, so the values are in the state, but the radio-buttons are not checked. Components such as mat-select works normally.
So far I have the following (it is important to note that without ngrxFormControlState they are checked, but you cannot control the state):
<mat-radio-group [ngrxFormControlState]="position.controls.Debit">
                    <div class="radio-container">
                        <mat-radio-button [checked]="position.controls.Debit.value" value="true">True</mat-radio-button>
                        <mat-radio-button [checked]="!(position.controls.Debit.value)" value="false">False</mat-radio-button>
                    </div>
</mat-radio-group>

Right now this throws an ExpressionChangedAfterItHasBeenCheckedError caused by the [checked] attribute.
I also have downloaded all the material fixes.
Is there any way to solve this?

Solved it by changing:
<mat-radio-button [checked]="position.controls.Debit.value" value="true">True</mat-radio-button>
to:
<mat-radio-button [value]="true">True</mat-radio-button>


Pass "git.exe" instead of "git" to Get-Command

Passing just "git" to get-command causes the script to fail if you have an alias called "git". For example, I have hub installed , which recommends aliasing git=hub. However, after doing this it breaks this posh-git script because get-command git returns the new alias which has no path.
Running get-command git returns:
CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Alias           git -> hub.exe

But get-command git.exe returns:
CommandType     Name                                               Version    Source
-----------     ----                                               -------    ------
Application     git.exe                                            <IP_ADDRESS>   C:\Program Files\Git\cmd\git.exe

This works for me. There's a small chance this is a regression for folks with an older version of Git, which may have only put git.cmd in $PATH, but I'm content to test that in production.

(Thanks!)

My pleasure. Good call on looking for git.cmd. I suppose the script could
be updated to look for both variants.
On Mon, 10 Jul 2017 at 16:41 Keith Dahlby<EMAIL_ADDRESS>wrote:

(Thanks!)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dahlbyk/posh-git/pull/478#issuecomment-314270538, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAxgqWoaFcGQJFaU0-F5QCy7p2UFLGA9ks5sMqidgaJpZM4OTfYU
.

I expect Get-Command git.exe,git.cmd -ErrorAction SilentlyContinue would do the trick?

A bit further digging and I would have this much better fix:
Get-Command git -CommandType Application
On Mon, 10 Jul 2017 at 16:45 Keith Dahlby<EMAIL_ADDRESS>wrote:

I expect Get-Command git.exe,git.cmd -ErrorAction SilentlyContinue would
do the trick?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dahlbyk/posh-git/pull/478#issuecomment-314271351, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAxgqTW8ZtioYCbjUaUpHeqnqhybQCnYks5sMqmdgaJpZM4OTfYU
.

Unfortunately this won't work when running posh-git on PS Core on Linux / macOS:

A better fix for this is to use the -CommandType Application parameter.


Incompatible with Scaling Health 1.16.5

Current version of mod will not work with the current version of scaling health for 1.16.5

Any context at all?

Closing in favor of #447


Some videos can be played and some cannot be played, and there are no errors show in the chrome console and IDE console (springboot)

i using Dplayer 1.27.0 and upload to video, one video play success and one fail,
i using springboot 3 and thymeleaf to implement and
there are no errors show in the chrome console and IDE console (springboot)
attached fail to play video and success play video for your reference
https://github.com/DIYgod/DPlayer/assets/26402108/e164612e-0d5e-4df6-947f-61963876a0ab

Please add a minimal reproduction so we can investigate.


fix: inline external css

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Application (the showcase website) / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?

Issue Number: #8119 #8106
What is the new behavior?
我们不能通过简单的删除 ~ 符号来修复这一问题：
@import<EMAIL_ADDRESS>
修改为
@import<EMAIL_ADDRESS>
这会导致 ZORRO 文档构建失败，因为编译器将该路径视为本地路径，而非外部依赖路径（node_modules）。
此修改通过使用 @import (inline) 内联导入语句，将外部 CSS 直接内联到文件，解决上述问题。
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

LGTM

angular 16 @angular-devkit/build-angular:browser
overlay-prebuilt.css not found.

angular 16 @angular-devkit/build-angular:browser overlay-prebuilt.css not found. windows 10.

Please try upgrading to ng-zorro-antd v16.2.1.

angular 16 @angular-devkit/build-angular:browser overlay-prebuilt.css not found. windows 10.

Please try upgrading to ng-zorro-antd v16.2.1.
I have already installed v16.2.1, removed node_modules & reinstall.
  "@angular/animations": "^16.2.0",     "@angular/cdk": "^16.2.0",     "@angular/common": "^16.2.0",     "@angular/compiler": "^16.2.0",     "@angular/core": "^16.2.0",     "@angular/forms": "^16.2.0",     "@angular/platform-browser": "^16.2.0",     "@angular/platform-browser-dynamic": "^16.2.0",     "@angular/router": "^16.2.0",     "json-bigint": "^1.0.0",     "ng-zorro-antd": "^16.2.1",     "rxjs": "~7.8.0",     "tslib": "^2.3.0",     "zone.js": "~0.13.0"

Less resolver error:
<EMAIL_ADDRESS>wasn't found.
Webpack resolver error details:
resolve<EMAIL_ADDRESS>in 'MY_PROJECT_FOLDER\node_modules\ng-zorro-antd\style'

You should use ng-zorro-antd/ng-zorro-antd.less instead of ng-zorro-antd\style


Database Support

In context for issue #3
I've added database support to store the posted issue on a sqlite3 database.
To avoid the same issue being tweeted out twice, the url of the table has the unique attribute,
As the modifications are too large of a change so, i want to make separate commits to ease process of code review.
I intend to add the two new features in the next commit.
TODO

Add the issue on the database before being posted on twitter
Delete the issue that has been posted

Hii @Araon
The progress looks good so far 👍
Can you elaborate on how do you plan to use del_last_data() function? I interpreted that you're trying to delete the stored issues (a packet of 30 issues)received from the current API request once they have been tweeted.  If it is so, then how do you think to compare the issues from the next API call to the previous call?

There might be a possibility that the out of 30 issues received in the new call, say x issues are those that were already there in the previous call and are being received again Because there is no fixed rate at which issues are created.

the del_last_data() is used to delete the last data enterd into the database
Yeah so, that thing can be avoided with either of these two options

To increase the batch size to 60(as for now only 30 issues are stored at a time, that can be increased to 60 or more to avoid repeting of issue)
To maintain a separate table where the some kind of hashed version of the issue link + the title can be stored, so that every time any new issue is inserted into the database, it can cross referance that with this table.

the first option is good but there's always a chance that it might repeat outside the 60 batch size, and the second option is better but it's a bit for such a simple bot.
Let me know of what you think of these approach or feel free to correct me if i have missed something
(i'm kinda new to this all open source contributing)

Yeah we can increase the batch size to 60

okay great, I'll push the update asap

I've refactored the code and removed the part of the code that was checking for dublicate issue in memory, which is now done in the database during insertion. The database deletes the issue that is already been tweeted out.

Hii @Araon
Your efforts are amazing and the quality of code is at par.
But either of us seem to be missing a point here
As per my understanding, if del_last_data() will delete the issue as soon as it's tweeted out, it would no longer be available for comparison with the next batch of issues.
So the following code in insert_data(issue_title,issue_url)
        pass
        logger.info("Dublicate Data, not inserted")

is actually never getting executed!
I decreased the batch size to 3 issues per call for the sake of testing. Technically, the repeated issues should not have entered the db but they are.

For further making the point clear, github API call is now fetching the latest 3 issues in the first call. In the next call(since the batch size is deliberately reduced to 3), the issues fetched would be more or less the same. The required behavior is that the repeated issues do not enter the db and only the unique ones do.

I am always open to new approaches and I might be missing out your point here.
We can always discuss further and you are free to correct me wherever I miss the point.

Sorry for the late reply!
The problem you said above is something i saw coming but did not know how to resolve. The first thing that came to my mind is, do we really need to delete posted issues from the database as soon as they are posted? we can do either of these

We can do something like a time based cleanup procedure where it refreshes the database after a certain period of time
Hit the github api to fetch one issue at a time when a new issue is posted from the database, so that we can have a some buffer issuses instore if the issue fetched from github is a dublicate.

Let me know what you think about this or if you have any idea how we should tackel this problem.

Hii @Araon
It's good to see you here again!
We can go with a time-based cleanup.
But in that case, do you plan to run a search from the start to the end of the db every time we search for duplicates before tweeting?

Searching for duplicate will not be necessary, because the database will only have unique issues, I've made that sure by making the link issue column to have the unique attribute. The way I think we can execute the time-based cleanup is that we can store the tweets we fetch from the GitHub API for a certain amount of time, let's say 7days. After 7 days we check if any of the issues is untweeted(we do this by making an extra column in the table that stores a bool indicating if it is tweeted or not). We delete the issues that are tweeted.

Sounds good @Araon

I've added a schedule based database deletion method. it clears the database of all the issue that has been tweeted, denoted by the tweeted colume. Deletion takes place every 15 days. Let me know if i've missed anything 😸


Set Firebase to false for globals.

lint-js generates a warning "'Firebase' is not defined." when attempting to lint/test globals in an application using Firebase. This warning prevents gulp from serving or any local development.

Thank you :+1:


Typo in HashMap.identity() documentation

Please see https://api.dartlang.org/stable/1.15.0/dart-collection/HashMap/HashMap.identity.html

Creates an unordered identity-based map.
Effectively a shorthand for:

new HashMap(equals: identical,

        hashCode: identityHashCodeOf)

There are no `identityHashCodeOf `function in Dart. There should be `identityHashCode`

Fixed in 111a794141cd313460e4fe2593cfea9862fe1c0f.
Thanks!

Please fix the same issue for HashSet (https://api.dartlang.org/stable/1.15.0/dart-collection/HashSet/HashSet.identity.html), LinkedHashMap (https://api.dartlang.org/stable/1.15.0/dart-collection/LinkedHashMap/LinkedHashMap.identity.html) and LinkedHashSet (https://api.dartlang.org/stable/1.15.0/dart-collection/LinkedHashSet/LinkedHashSet.identity.html)

Done in 516c09cb1f9821c3414daf6a6856feab7319a762. Thanks again.


[Bug]: The app says it violates meta policies and when trying to open the app, it doesn't open.

All of the following criteria must be met

[ ] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[X] Tried reinstalling the game.
[X] Tried reinstalling LemonLoader.
[X] Tried restarting device.

Describe the issue.
The app says it violates meta policies and when trying to open the app, it doesn't open.
Did you attach your log file?

[ ] Yes, I attached my log file to the text box above.
[X] No, I could not find a log file at /storage/emulated/0/Android/data/<package name>/files/melonloader/etc/Latest.log

This is the only report of this I've seen and I can't replicate it myself, feel free to reopen if needed.


GraphQL (graphene) transactions are slow with newrelic from v<IP_ADDRESS> and above

Description
Upgrading anything above v<IP_ADDRESS> will make our GraphQL endpoints slower by some margin.
From stable ~30ms to hovering between 50-100ms.
Also CPU and RAM utilization is also noticable - RAM use increased by ~20% from previous total and CPU use is additional ~5%. So for example if we used 50% RAM - we now use 60% and if we used 20% CPU - we now use 25% CPU.
I have tried to run these newrelic agent versions: v<IP_ADDRESS>, v<IP_ADDRESS>, v<IP_ADDRESS>, v<IP_ADDRESS> - all impacted response times in same way.
I was upgrading from: v<IP_ADDRESS> and settled at v<IP_ADDRESS> which is latest version without graphql support (to my knowledge), but it is not impacting my applications performance.
Also - important to note that <= v<IP_ADDRESS> reports graphql transactions as web transaction named as GraphQL endpoint view class (i.e. Django view class that serves GraphQL API), which is expected, though versions with GraphQL support (>v<IP_ADDRESS>) are reporting graphql transactions as graphene.types.resolver:dict_or_attr_resolver.
Expected Behavior
There shouldn't be noticable changes in our web servers response times and CPU/RAM utilization.
Troubleshooting or NR Diag results
Output from NR Diag. I think it's all OK, as .NET errors or Java warnings are not relevant for the project.
> ./nrdiag_x64 -c newrelic.ini

Check Results
-------------------------------------------------

Info     Base/Env/CollectEnvVars [Gathered Environment variables of current shell.]
Success  Base/Config/Collect
Success  Base/Config/Validate
Success  Base/Config/LicenseKey
Success  Base/Config/AppName
Success  Python/Config/Agent
Success  Base/Log/Copy
Info     Python/Env/Dependencies [Collected pip freeze. See pipFreeze.txt for more i...]
Info     Base/Containers/DetectDocker [Docker Daemon is Running]
Info     Base/Env/HostInfo [Collected host information]
Error    DotNetCore/Env/Versions
Success  Base/Config/ValidateLicenseKey
Info     Base/Config/RegionDetect [1 unique New Relic region(s) detected from config.]
Info     Python/Env/Version [3.9.2]
Success  Base/Collector/ConnectEU
Warning  Java/AppServer/WebSphere
Success  Base/Config/ValidateHSM
Success  Python/Requirements/Webframework

Steps to Reproduce
I will try to create minimal example application to be able to reproduce this, but it's a Django application with graphene-django used for implementing GraphQL API, with minimal djangorestframework endpoint to serve it.
Your Environment
Basic app package requirements (python 3.9.2):
graphene==2.1.8
graphene-django==2.13.0
graphql-core==2.3.2
graphql-relay==2.0.0
gunicorn==19.9.0
newrelic==<IP_ADDRESS>   # as said above behavior can be reproduce with anything from v<IP_ADDRESS>
Django==3.1.7  # I know it's old, but I was in process of upgrading packages, that's how I caught this problem
djangorestframework==3.12.1

Web app is served with gunicorn and started with newrelic-admin:
NEW_RELIC_ENVIRONMENT=$ENV NEW_RELIC_CONFIG_FILE=newrelic.ini newrelic-admin run-program gunicorn -c ./gunicorn.conf.py app.wsgi:application

To my understanding newrelic.ini is not configured beyond default, setting up API key and enabling environments for staging and production.
Additional context
Looking at newrelic's transaction details I notice that the mentioned graphene.types.resolver:dict_or_attr_resolver is called hundreds of times.

I am not sure if this is newrelic's bug or (more likely) misimplementation of our graphene application that breaks newrelic.

Hey @trimailov; is this still an issue? Have you been able to recreate a sharable environment to validate this?

It's still an issue, though have no shareable environment at hand :(

@trimailov without a sharable environment this will be difficult for our team to debug.  I will close this ticket until we have more data, additional users are experiencing the issue, or we have an environment our team can work with.

@Ak-x , may I request that this issue be reopened? Here's an example project where I've tried to reproduce the issue: https://github.com/tdg5/newrelic-python-agent-graphene-issue#results-with-new_relic_license_key-ouch
I was able to reliably achieve >10x slowdown for the 99 percentile which is staggering.
Thanks to @anton-karpenko for putting together the basic application structure so I could try to reproduce the problem!
If I can offer any additional guidance or assistance, please let me know.

I think, this is still an issue, we are using strawberry with fastapi, facing same problem. response time increased from ~50ms to ~300ms

Ultimately the following settings in newrelic.ini fixed the performance regression for us. For a large response with many thousands of graphql objects and nesting we achieved a x3 improvement on latency.
[import-hook:graphql.execution.middleware]
enabled = false

[import-hook:graphql.execution.execute]
enabled = false

[import-hook:graphql.execution.executor]
enabled = false

[import-hook:graphql.graphql]
enabled = false

[import-hook:graphql]
enabled = false

[import-hook:graphene]
enabled = false


unable to change AP mac

Hi, I want to change every reboot AP mac. I used command set sta_mac random but every reboot device have same AP Mac.
of course I tried use command like set ap_mac random but it not exist and return "Invalid argument".
I also tried set ap_mac 01:0:5e:00:03:fb but it gives also "Invalid argument".
Any advice?

I see that if I send set ap_mac 01:0a:5e:00:03:fe it return "AP MAC set" but when I run command from mac terminal I see still same mac address
(<IP_ADDRESS>) at ee:fa:bc:28:28:c on en0 ifscope [ethernet] (<IP_ADDRESS>) at 1:0:5e:0:0:fb on en0 ifscope permanent [ethernet] (<IP_ADDRESS>) at 1:0:5e:7f:ff:fa on en0 ifscope permanent [ethernet]

Did you do a "save" after changing the parameters and resetting?

no

Did you do a "save" after changing the parameters and resetting?

Trying <IP_ADDRESS>... Connected to <IP_ADDRESS>. Escape character is '^]'. CMD>set ap_mac ee:ff:ff:ff:ff:0f AP MAC set CMD>save Config saved CMD>
when I use on my mac /usr/sbin/arp -a I still got same mac address "ee:fa:bc:28:28:c"
? (<IP_ADDRESS>) at ee:fa:bc:28:28:c on en0 ifscope [ethernet]
? (<IP_ADDRESS>) at 1:0:5e:0:0:fb on en0 ifscope permanent [ethernet]
? (<IP_ADDRESS>) at 1:0:5e:7f:ff:fa on en0 ifscope permanent [ethernet]
I tried also with random but same result

Sorry for answers. After all I had to run also command: reset

I get one problem more. Now ap mac change but after it there is new value ff:ff:ff:ff:ff:ff
? (<IP_ADDRESS>) at 0:7f:1c:a0:6c:b5 on en0 ifscope [ethernet]
? (<IP_ADDRESS>) at ff:ff:ff:ff:ff:ff on en0 ifscope [ethernet]
? (<IP_ADDRESS>) at 1:0:5e:0:0:fb on en0 ifscope permanent [ethernet]
? (<IP_ADDRESS>) at 1:0:5e:7f:ff:fa on en0 ifscope permanent [ethernet]
how to remove or set normal value for this <IP_ADDRESS>?

How did you changed the wifi mac address? Can you explain

set [ap_mac|sta_mac] xx:xx:xx:xx:xx:xx
save
reset


Fix DoH address for Firefox

DNS-over-HTTPS addresses entered in the Firefox settings should be absolute URLs, otherwise they will be silently ignored (tested on FF 105.0.2 @ Linux).
This commit changes the DoH address mentioned in the Firefox guide from anycast.censurfridns.dk to https://anycast.uncensoreddns.org/dns-query so that it matches the screenshot.

thanks! :) :+1:


Design Issue: VPC Sharing and/or Hub-spoke/Peering: VPC Shared for Host VPC PaaS sharing with services project - VPC peering for client project separation

see also
onboarding workloads
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/issues/164
doc
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/issues/163
hub/spoke VPC peering
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/issues/146
example TF install
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/issues/97
example
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/blob/example/environments/nonprod/nonp-network.auto.tfvars#L33
20221006 Reference
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/78
https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/blob/dev/solutions/landing-zone/architecture.md#di-20-separate-vpc-per-cloud-profile-356-workloads
Discussion around use of Shared VPC's and/or a hub-spoke topology
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/blob/main/docs/architecture.md#decide-on-shared-vpc-or-hub-and-spoke-network-topologies
see https://cloud.google.com/architecture/landing-zones
https://cloud.google.com/architecture/landing-zones/decide-network-design
https://cloud.google.com/architecture/best-practices-vpc-design#multi-nic
Keep in mind profile 3,5,6
https://github.com/canada-ca/cloud-guardrails/blob/master/EN/00_Applicable-Scope.md#cloud-usage-profiles
Ongoing diagrams at https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/blob/main/docs/architecture.md#diagrams

VPC Peering
AWS = 50 (modifiable)
https://docs.aws.amazon.com/vpc/latest/tgw/transit-gateway-quotas.html
https://us-east-1.console.aws.amazon.com/servicequotas/home/requests
GCP = 25 (modifiable)
ttps://cloud.google.com/vpc/docs/quota?hl=en_US&_ga=2.238983808.-1098396564.1647194753#vpc-peering

On older obrien.services system (3 vs 1 subnets) - peering between prod-host and prod-perimeter-private
Issue is i need to derive the 2 project and vpc generated ids

https://console.cloud.google.com/networking/peering/list?project=ospe-obs-obsprd-obspubper

backporting from https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/258

20240406: Closing issue during retrofit/rebase of this TEF V1 based/modified repo to TEF V4 standards
This issue may participate in the LZ refactor after rebase
Query on all issues related to the older V1 version via the tag
https://github.com/GoogleCloudPlatform/pbmm-on-gcp-onboarding/labels/2024-pre-tef-v4


StatelessWidget lifecycle

StatelessWidget needs event for mount/unmount.

Please ask questions like this on stackoverflow because we are not able to give individual support here.


Use StringViewArray as output of substr when input was StringArray

Is your feature request related to a problem or challenge?
Part of https://github.com/apache/datafusion/issues/11752
StringView is a new arrow array type that allows for more efficient string processing -- specifically it allows string data to be adjusted without copying the underlying data
See this blog post for more details: https://www.influxdata.com/blog/faster-queries-with-stringview-part-one-influxdb/
@Kev1n8 added support for StringView to the substr function in  https://github.com/apache/datafusion/pull/12044
At the moment substr produces a StringArray output  when the input is StringArray, but we could actually generate a StringViewArray as output which would be more efficient in most cases (avoids copying the string values)
However, in order to avoid errors when substr is used in an expression,  we need to make sure that all the rest of the String functions support StringView as input as well. Aka we should wait for the "Required for enabling StringView by default" list on https://github.com/apache/datafusion/issues/11752 to be completed
Describe the solution you'd like

change the output type of substr to be StringViewArray when the input is StringArray (note for LargeStringArray we will still need to copy the data I think as StringView is limited to 2^32 bytes)
Change the implementation of substr to use StringView internally
Add tests

Describe alternatives you've considered
No response
Additional context
Note that @Kevin8 has already added support for StringView to the substr function in  https://github.com/apache/datafusion/pull/12044
They also suggested this same optimization could be applied https://github.com/apache/datafusion/pull/12044#issuecomment-2316111793

I would propose that this change when made happens only after https://github.com/apache/datafusion/issues/12119 lands.

This is probably a good exercise now

Should this be the default for all functions that handle strings now? Require they can accept Utf8View as input for all fields and produce Utf8View output ?
I ask because that should solve issues with chained functions causing a series of casts such as
<function 1 = utf8View -> Ut8), <function 2 = utf8 -> Ut8) ...

Should this be the default for all functions that handle strings now? Require they can accept Utf8View as input for all fields and produce Utf8View output ?

I am not sure
I think each function should produce Utf8 / Utf8View depending on what makes sense (Utf8 is more efficient if you have to rewrite all the strings anyways)
Once string functions accept either Utf8/Utf8View which I think would avoid the chained casting you are describing


[custom type; custom requestHandler]

hello, first of all I would like to tell you that I really like what you have done, it’s great work so thank you very much,
I know there is already a ticket from someone asking the same thing, I'm talking about customizing a request to be able to control the response logic, I tried deep-chat-dev but it doesn't work on React and since I'm not a fan of typescript I wanted to ask first before trying to modify myself, and the other thing I wanted to ask you if there was a way to change the structure or the object typing of the cors messages to send, for the moment it's in mode like this {role:"user",text:"sometext"},{role:"ai", text: "someothertext"} I would have liked to receive them on the server side ai and user in the same object {ai:"text", user:"text} if possible,
and thank you again for your work.

Hey @GIOVANNI-75, thankyou for raising this issue.
For the first question - the handler logic that you are referring to is almost ready to go (probably will add it to a new package version tomorrow), in the meanwhile I will update the deep-chat-react-dev package to give you access to it right now so you can start using it. I will update this thread when the package has been updated.
In regards to the second question, I don't think I fully understand what you mean. If a user sends a message, you would also want to receive the last AI message in a different format ({ai:"text", user:"text}). If I understand this correctly, you should be able to do this using a requestInterceptor and modify the message body just the way you want it. However, if you are using the handler function, you should be able to do all outgoing message body modifications there.

hey, thanks for your response
no I was talking about outgoing messages, currently I am receiving the body on server side
messages:[
{role:ai,text:text},
{role: user, text: text}
];
and I have to modify the structure of messages[] on the server side, so to simplify the process it would be good that the outgoing message will be directly as I expect, hence my question

The handler logic is now available inside the deep-chat-react-dev package version 9.0.2. I have explained how to use it in the following comment with an upgrade of not having to add the mock url property anymore. Let me know if you have any issues when using it, thanks!

I'll check it and let you know

The outgoing message body structure that is sent from Deep Chat that into your server can only be changed in the requestInterceptor or the handler functions. I am more than happy to help you configure them if you want to avoid changing the message body on your server. Let me know what works better for you. (If I have perhaps misunderstood your request - please provide more info with examples). Thanks!

Just before I forget, the comment that I have referenced is using the old response body, it should be return { text: responseText };.

You should be able to do that using handler. Let me know if you need help.

I think I'll wait for the update, it's better, deep-chat-react-dev 9.0.2 doesn't work, without an arg url it fetch http://localhost:3000 and with a fictitious arg url it fetch http://localhost:3000/mock

That version should not be doing that, could you share the code you are using?
This is the configuration I used:
<DeepChat
  request={{
    handler: async () => {
      return {text: 'test response'};
    },
 }}
/>

same problem,
==>
import { DeepChat } from "deep-chat-react-dev";
..
<DeepChat
..
request={{
handler: async () => {
return {text: 'response'};
},
}}
..
/>
<==
fetch =>  http://localhost:3000/

That is very strange. Please see the following CodeSandbox. When you send a message, no network request should be made.

But on your app, the chat makes a request?

I found the problem, it's stream prop when it's true it doesn't work, unfortunately my logic renders in event/stream, can we do something about that?

Ohhh, that makes sense. I guess I forgot to mention that handler currently doesn't work with streams/websockets.
Given the current Deep Chat architecture, it would need a lot of changes to make it work and I am not sure if it is possible as Deep Chat would also need a way to pass the signal parameter etc. I will investigate this tomorrow and let you know what I can do.

May I also ask if the core problem is just editing the outgoing body (which can be achieved with requestInterceptor) or are there other things that Deep Chat doesn't provide which would demand the need for handler.

ah I see, I'm going to go with the other option then for the moment which consists of modifying the outgoing horn while waiting for a better alternative
but thank you very much, that’s already a lot of what you’re doing.

Quick question, if you would use the handler function for event streams, what library would you use. When I'll be analyzing what changes I can make in the library tomorrow it would be great to test things with something that you would use. If possible, could you provide some example code of how you would set up event streams from the browser? Thankyou!

for my logic and I think it's the most common logic for an event/stream flux it's to do something like this
stream={true}
equest={{
handler:async() => {
const result = await fetch('api',{
body:{
...
stream:true
...
},
headers: {
'Connection': 'keep-alive',
'Content-Type': 'application/json',
'Accept': 'text/event-stream'
},
});
//something like for(const chunck of result.body){
send(text)
if(done)
break;
}
//function to say that the stream is finished something like StreamEnd()
},
}}