Double output from pip when using --verbose

As mentioned in #2458, when I'm running pipenv install --verbose in a folder which currently doesn't have a virtual environment, and where 'redis' is the only package specified in Pipfile and Pipfile.lock, I get the output from the pip command twice, in both yellow and blue, as shown in this screenshot (I had to make it quite small to fit it on one screen):

This is presumably because the pip output contains the word "Ignoring" and me specifying --verbose. Both triggers the printing of the output, as per this code:
https://github.com/pypa/pipenv/blob/8691c7168bc12711d0b3ae07d0d45967f4afc28a/pipenv/core.py#L727-L730
$ python -m pipenv.help output
Pipenv version: '2018.6.26.dev0'
Pipenv location: '/Users/jeppe/git/pipenv/pipenv'
Python location: '/Users/jeppe/.virtualenvs/pipenv/bin/python'
Other Python installations in PATH:

2.7: /usr/local/bin/python2.7

2.7: /usr/local/bin/python2.7

2.7: /usr/bin/python2.7

3.6: /usr/local/bin/python3.6m

3.6: /Users/jeppe/.virtualenvs/pipenv/bin/python3.6

3.6: /usr/local/bin/python3.6

3.6.5: /Users/jeppe/.virtualenvs/pipenv/bin/python

2.7.15: /usr/local/bin/python

2.7.10: /usr/bin/python

3.6.5: /usr/local/opt/python/libexec/bin/python

2.7.15: /usr/local/bin/python2

3.6.5: /Users/jeppe/.virtualenvs/pipenv/bin/python3

3.6.5: /usr/local/bin/python3

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.6.5',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '17.6.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 17.6.0: Tue May  8 15:22:16 PDT '
                     '2018; root:xnu-4570.61.1~1/RELEASE_X86_64',
 'python_full_version': '3.6.5',
 'python_version': '3.6',
 'sys_platform': 'darwin'}

System environment variables:

VIRTUALENVWRAPPER_SCRIPT
VIRTUALENVWRAPPER_PROJECT_FILENAME
TERM_PROGRAM
NVM_CD_FLAGS
TERM
SHELL
CLICOLOR
HISTSIZE
TMPDIR
Apple_PubSub_Socket_Render
TERM_PROGRAM_VERSION
OLDPWD
TERM_SESSION_ID
PIPENV_IGNORE_VIRTUALENVS
HISTFILESIZE
NVM_DIR
USER
COMMAND_MODE
HOMEBREW_NO_ANALYTICS
SSH_AUTH_SOCK
__CF_USER_TEXT_ENCODING
VIRTUAL_ENV
WORKON_HOME
VIRTUALENVWRAPPER_PYTHON
PATH
VIRTUALENVWRAPPER_HOOK_DIR
PWD
HOMEBREW_GITHUB_API_TOKEN
EDITOR
LANG
ITERM_PROFILE
XPC_FLAGS
PS1
PYTHONDONTWRITEBYTECODE
HISTCONTROL
XPC_SERVICE_NAME
SHLVL
HOME
COLORFGBG
ITERM_SESSION_ID
LESS
LOGNAME
GOPATH
NVM_BIN
VIRTUALENVWRAPPER_WORKON_CD
DISPLAY
SECURITYSESSIONID
COLORTERM
_
PIP_PYTHON_PATH

Pipenv–specific environment variables:

PIPENV_IGNORE_VIRTUALENVS: 1

Debug–specific environment variables:

PATH: /Users/jeppe/.virtualenvs/pipenv/bin:/Users/jeppe/.nvm/versions/node/v8.11.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Applications/Wireshark.app/Contents/MacOS:/Users/jeppe/go/bin:/Users/jeppe/.bin:/usr/local/sbin:/usr/local/opt/python/libexec/bin
SHELL: /bin/bash
EDITOR: nano
LANG: en_GB.UTF-8
PWD: /Users/jeppe/git/pipenv-test2
VIRTUAL_ENV: /Users/jeppe/.virtualenvs/pipenv

Contents of Pipfile ('/Users/jeppe/git/pipenv-test2/Pipfile'):
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
redis = "*"

[dev-packages]

[requires]
python_version = "3.6"

Contents of Pipfile.lock ('/Users/jeppe/git/pipenv-test2/Pipfile.lock'):
{
    "_meta": {
        "hash": {
            "sha256": "7b0f0dbd6c2f0d16c422460053203c035d6fbd716beda24eb8bfd3ba7dab7b2e"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.6"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "redis": {
            "hashes": [
                "sha256:8a1900a9f2a0a44ecf6e8b5eb3e967a9909dfed219ad66df094f27f7d6f330fb",
                "sha256:a22ca993cea2962dbb588f9f30d0015ac4afcc45bee27d3978c0dbe9e97c6c0f"
            ],
            "index": "pypi",
            "version": "==2.10.6"
        }
    },
    "develop": {}
}

Expected result
The output should only be printed once, probably in yellow since I guess that output is intended to be a bit of a warning, even though it's not that clear from a user perspective why it's printed, unless you look at the source code.
Actual result
The output from pip is printed twice, first in yellow and then in blue.
Steps to replicate
Place the following content inside Pipfile in a folder and run pipenv install --verbose:
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
redis = "*"

[dev-packages]

[requires]
python_version = "3.6"

Note: This will only work if you get lines such as "Ignoring unknown cache-control directive" in the output from pip. I'm getting it on macOS.

Oh this makes sense now. So you’re saying the verbose flag will include those messages too. But honestly the fileter there is not meant to display ignored cache control directives but ignored packages.  Technically we would want to just exclude ignored cache control directives in the first case I think.


Everything is link until continued = false

Bug Report
Description of the problem
Everything after the link is still treated as a link until continued: false.
In my example below only blue text should be clickable but also the green text is a link.
Code sample
var doc = new PDFDocument();
var stream = doc.pipe(blobStream());

doc.fillColor('red')
.text('Text text text ', {
  continued: true
})
.fillColor('blue')
.text('link', {
  link: 'http://www.example.com',
  continued: true
})
.fillColor('green')
.text(', text text text', {
  link: null
});

// end and display the document in the iframe to the right
doc.end();
stream.on('finish', function() {
  iframe.src = stream.toBlobURL('application/pdf');
});

Your environment
You can also reproduce the problem in http://pdfkit.org/demo/browser.html with the code sample above.

pdfkit version: 0.10.0
Node version: 12.7.0
Browser version: -
Operating System: Catalina

This has been fixed in master but hasn't been released yet. see https://github.com/foliojs/pdfkit/blob/master/CHANGELOG.md

Is there any ETA for release? 🎆

Is there any ETA for release?

I'm waiting for https://github.com/foliojs/pdfkit/pull/1030
In the mean time, you can try: https://www.npmjs.com/package/pdfkit-next


Popupwebview update for newest iOS

Addresses visual issue where top bars are clumped together

@maumercado @StevenHAPI Can one of you guys try to pull down the changes and verify that you no longer see the visual issue and that no new issues pop up? Thanks


python310Packages.types-redis: <IP_ADDRESS> -> <IP_ADDRESS>

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/)
23.05 Release Notes (or backporting 22.11 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 227641 run on x86_64-linux 1

4 packages built:

python310Packages.types-redis
python310Packages.types-redis.dist
python311Packages.types-redis
python311Packages.types-redis.dist


Add a request to re-index all files in SourceKit-LSP

Users should not need to rely on this request. The index should always be updated automatically in the background. Having to invoke this request manes there is a bug in SourceKit-LSP's automatic re-indexing. It does, however, offer a workaround to re-index files when such a bug occurs where otherwise there would be no workaround.
rdar://127476221
Resolves #1263

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test Windows

@swift-ci Please test


use json endpoint to skip verification of CSRF token authenticity

related to https://github.com/crowbar/crowbar-core/pull/455

+1

rebased

:+1:


Event Request Codeunit 80 sales Post

Describe the request
Hello, in Codeunit 80 "Sales.-Post" in procedure "FinalizePosting", we need a new event with parameter SalesHeader,TempDropShptPostBuffer

could you please add the parameter TempSalesLineForSalesTax  for this Event  OnAfterDivideAmount()

Another Event is Required under function AddSalesTaxLineToSalesTaxCalc() before insert to allow Custom code
Like OnBeforeAddSalesTaxLineToSalesTaxCalcinsert(salesheader ,salesLIne)

Need New event under function SetTaxType()
Like OnAfterSetTaxType(salesLine)

Additional context
Please provide the New events
Internal work item: AB#542672

Hello @gopubala
Please define full structure of the needed events (parameters, using VAR, etc...) and also short explanation what is the purpose of the desired events.

the purpose of the add parameter as TempSalesLineForSalesTax, we want to calculation for custom fields

[IntegrationEvent(false, false)]
local procedure OnAfterDivideAmount(var SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; QtyType:
Option General,Invoicing,Shipping; SalesLineQty: Decimal; var TempVATAmountLine: Record "VAT Amount Line"
temporary; var TempVATAmountLineRemainder: Record "VAT Amount Line" temporary; TempSalesLineForSalesTax: Record "Sales Line")
begin
end;

Event is Required under function AddSalesTaxLineToSalesTaxCalc() before insert to allow Custom field data into temp table.
[IntegrationEvent(false, false)]
local procedure OnBeforeTempSalesLineForSalesTaxInsert(SalesHeader : Record "Sales Header";SalesLine : Record "Sales Line")
begin
end;

Need New event under function SetTaxType()- we want to allow Sales Line data to buffer table.
Note:  Event is required before Salesline.Next() =0;
[IntegrationEvent(false, false)]
local procedure OnAfterSetTaxType(SalesLine : Record "Sales Line")
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 22697.


Fixing TransparentBuffer when AlphaBits is not set by the user

Summary of the PR
This fixes a bug when setting TransparentBuffer to true and leaving PreferredBitDepth null, the transparent buffer would not be applied correctly.
You can do this to "hotfix" the problem until this is merged:
options.PreferredBitDepth      = new Vector4D<int>(8);

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

Does this occur on the SDL backend too?

Given the message here it seems this does not need to be fixed on SDL too, so this should be ready to merge


[WIP] Add otel command to collector

Which problem is this PR solving?

Another alternative approach to #3500

Description of the changes

Adds a new sub-command otel to jaeger-collector that makes it behave like an OTEL collector

Observations

Minimal amount of extensions is included, to mimic what jaeger-collector normally has
No actual storage exporters are used, only stdout logging for now
Without this command the binary size on darwin is 45MB. With the change it goes up to 113MB.

Discussion
Pros:

we do not need to setup new deployment pipeline as in https://github.com/jaegertracing/jaeger-opentelemetry-collector
we can gradually move functionality to the OTEL pipeline
we don't have to change the repo to support multiple modules

Cons:

more than double the size of the binary (but could be split into another binary)
direct dependency on otel collector code, not using the builder. That means people won't be able to assemble a different version of the collector with other extensions.

Alternatives
We could just define a new binary, e.g. jaeger-otelcollector. We already have DockerHub repo for it, and extending the existing build/deploy for one extra binary is not a big deal.

I am not sure what benefits this approach will give us from the functionality standpoint. Also the otel mode is significantly different and our existing ecosystem is not compatible with it (operator, helm).
Personally, I would prefer maintaining ecosystem that is closer to OTEL (collector builder) and have an opinionated OTELcol build with Jaeger components.

@pavolloffay yeah, I tend to agree. Especially the binary size increase seems unreasonable to me.
The alternative approach, still similar to this one, is to define another binary, but still with a hardcoded list of extensions, like in this PR, without using ocb builder.
Do you have some thoughts on why we would want to use ocb for assembling the binary? If we organize all the extensions similar to OTEL contrib, then someone in theory could still use ocb for a custom build of Jaeger, but it's not clear to me what benefits this approach provides for our official binary.


Add Evidence form should be able to pre-populate Evidence Level provided in query string

For example, if the URL contains the query string evidenceLevel=A, set Evidence Level dropdown to 'A - Validated association'

Done.


Substitute all console.x by an appropiate log util function

Summary
In many places we have console.X (log, error, warn...) with the corresponding eslit-disable no-console. To avoid that, we have moved all of those to some util functions.
In the future, these util functions can be improved to do something extra in the logging, like adding some extra metadata (like time) or pipe them to sentry or other tools.
Ticket Link
None
Release Note
Improved logging

@larkox this is a nice effort and I do appreciate it.. BUT, we should talk about this internally as there are two approaches to this

this approach
We make the framework to re-use the console object to write stdout while on dev mode and write to disk while on production (obviously in this case we get rid of the eslint and the babel transformer)

If we repurpose console, I guess we will remove the eslint rule of no-console. If we do that, it becomes easier to miss "debug logs created while developing" than actual logs in the code.
So this makes the developer make a conscious decision on what goes in and what not, without polluting the code with eslint-disable.
If we go this direction, we can still repurpose the console object, and keep it more controlled.

If we repurpose console, I guess we will remove the eslint rule of no-console. If we do that, it becomes easier to miss "debug logs created while developing" than actual logs in the code.
So this makes the developer make a conscious decision on what goes in and what not, without polluting the code with eslint-disable.
If we go this direction, we can still repurpose the console object, and keep it more controlled.

ok let's do that, we can always revisit as we implement the logging framework

lol @larkox I assume you made some changes and forgot to push?

@enahum your assumptions are completely right


Trigger logic issue with "Trigger/Wait for text" functionality

Describe the bug
To better illustrate the bug, I draw reference to the page I was monitoring at:
https://sg.iherb.com/pr/country-life-activated-coconut-charcoal-powder-500-mg-5-oz-141-7-g/78499
I'm using the PlayWright driver and monitoring for change on the ".product-action-container" CSS/JSON/XPATH Filter, with Trigger/wait for text set to "/Add to cart/"
The intent was that the moment this item is back in stock and the /Add to Cart/ regex start matching on the page contents, I'd get an alert. However the actual logic that changedetection.io uses seems to be:

retrieve page
does the trigger text match?
if it matches, save a snapshot of it
if it doesn't match, discard the snapshot of it

A more correct logic ought to be:

retrieve page
does the trigger text match?
save a snapshot (regardless of whether the trigger text is present
if the snapshots are different AND trigger text is present, then mark page as changed

Hence, only if the trigger text matches a first time, then a subsequent change is made to the page contents, only then would you receive the alert.
What made me come to this conclusion about the app logic is the following notification I received. I didn't receive any prior notifications before this when the page was changed and the "Add to Cart" button reappeared.

Version
v<IP_ADDRESS>
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

hey! thanks for the report - sorry for the slow reply
What about this as a solution - ignore the 'trigger text' filter if there's no existing snapshot in the history
?

I didn't receive any prior notifications before this when the page was changed and the "Add to Cart" button reappeared.

I'm still confused :( can you give some more examples?

Hi dgtlmoon,
Thanks for replying, I'll try to replicate this scenario more and update again when I reproduce this issue more definitively.

I'm still confused :( can you give some more examples?

The typical use case for the 'trigger text' filter is for us to check if some item is back in stock so we may be able to order it. However what I noticed in the last instance was that it didn't happen. I set my trigger text to be "Add to cart", and somehow when the page changed and this text reappeared, no notification was raise. A notification was only raised when subsequently there has been a change in the quantity of the item customers are permitted to order (the store will dynamically adjust the values in the droplist based on stock levels).

Hey,
Ok so we have this already automated-tested https://github.com/dgtlmoon/changedetection.io/blob/master/changedetectionio/tests/test_trigger.py
Here it

sets some default response content, fetches the snapshot
sets some trigger text foobar123
sets the new response content to something that does NOT container foobar123 and proves/checks that a change was not triggered
sets the response content to include foobar123, checks the site, then proves that a change was correctly triggered

so i'm still not sure I understand :(

seems to pass ...  https://github.com/dgtlmoon/changedetection.io/pull/620/files#diff-5f927533ed24caa443d16ca07c193a39a755f55863a11a6b82cd428bee3e1b6bR136

Maybe the page already contained 'add to cart' when you submitted the settings page

no feedback, closing

@wshyang I think I found a fix while working on other issues https://github.com/dgtlmoon/changedetection.io/pull/697 ! thank you :)

Thank you, you are awesome :)


Sponsor button shows some error.

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Thank you for calling my attention to this! I'm getting it sorted now!

@imvetri Thank you for reporting this. I just got approved for GitHub Sponsors 4 days ago, so it should be fixed now!


Having issues restoring to local database

I followed all the earlier directions.  Here's exactly what I did:

Made a clean install (nothing in the DB for e.g.)
Created the first user
Created the first project (following the exact one as in the backup)
Created the first database (like above - again, no real effect on the outcome)
Created the first API key
Edit the root's .env file (put in API key for e.g.
Do appwrite login, init project, init collection (as suggested previously)
Made sure that the appwrite.json is the same as the one found in schema
Run 'npm run appwrite:restore'
Error:

(base) hunter@aethon:/mnt/c/repo/test-restore$ npm run appwrite:restore

><EMAIL_ADDRESS>appwrite:restore
> node ./scripts/restore.mjs

Found 25878 collection documents
Uploading 65014241b5de18bb8ffc from 65013c65d0b06f882ade from 65013c22b24e1d41d537
(node:24059) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to '0' makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use `node --trace-warnings ...` to show where the warning was created)
SKIP ATTRIBUTE key=title collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=image collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=description collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=display_order collection=65013c65d0b06f882ade
Error uploading 65014241b5de18bb8ffc from 65013c65d0b06f882ade from 65013c22b24e1d41d537
Uploading 65013fa51081b682ad87 from 65013c65d0b06f882ade from 65013c22b24e1d41d537
SKIP ATTRIBUTE key=title collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=image collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=description collection=65013c65d0b06f882ade
SKIP ATTRIBUTE key=display_order collection=65013c65d0b06f882ade
Error uploading 65013fa51081b682ad87 from 65013c65d0b06f882ade from 65013c22b24e1d41d537

On the server side, I'm getting this:
[Error] Timestamp: 2024-03-17T14:34:11+00:00
[Error] Method: GET
[Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents/:documentId
[Error] Type: Appwrite\Extend\Exception
[Error] Message: Database not found
[Error] File: /usr/src/code/app/controllers/api/databases.php
[Error] Line: 3019
[Error] Timestamp: 2024-03-17T14:34:11+00:00
[Error] Method: POST
[Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents
[Error] Type: Appwrite\Extend\Exception
[Error] Message: The document payload is missing.
[Error] File: /usr/src/code/app/controllers/api/databases.php
[Error] Line: 2654

Have you changed your projectid and databaseid as it was in your previous installation?

please attach backup.zip and appwrite.json if you want me to troubleshoot your problem


7.2.0 Command-Line Bash Script fails on local JRE

Which version and edition of Flyway are you using?
7.2.0, installed via the wget command on the getting started section:
wget -qO- https://repo1.maven.org/maven2/org/flywaydb/flyway-commandline/7.2.0/flyway-commandline-7.2.0-linux-x64.tar.gz | tar xvz && ln -s `pwd`/flyway-7.2.0/flyway /usr/local/bin (sudo omitted, as inside alpine:3.11
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command-line
Which database are you using (type & version)?
Postgres, but irrelevant
Which operating system are you using?
alpine:3.11 inside a container
What did you do?
Just attempting to install and run a migration with the bundled JRE
What did you expect to see?
Flyway migrate :)
What did you see instead?
/usr/local/bin/flyway: line 83: //flyway-7.2.0/jre/bin/java: No such file or directory
My notes
Setting up a new docker container and wanted to bundle in Flyway (love it, thanks to all!) but the run script doesn't work, at least on alpine:3.11 (with Bash added).
Error is the following:
/usr/local/bin/flyway: line 83: //flyway-7.2.0/jre/bin/java: No such file or directory
Looks simple enough - the bash script just has a leading / from interpolation. Submitted https://github.com/flyway/flyway/pull/3008 to address it. Should be straight forward enough across Linux distros, but not sure how else it's used. Happy to take feedback - just want it to work ;)

The issue may be in your custom docker image
We recommend using the official Flyway docker images as these are the ones we support
Does this container work for you? Perhaps the dockerfile can help you figure out where yours is going wrong?

The leading double slash comes from installing Flyway in the root directory, however this should be harmless (see this post)
The real issue is that Java cannot be executed in your container due to missing libraries. Running ldd /flyway-7.2.0/jre/bin/java in your container will show what is missing


Endless warning log on big size payload (response)

Using beanstalkd I get an endless sequence of warnings like this (on response):
2016-07-27T22:31:06.609Z h6d2723vq66j/1469658552801/4771/- WARN	-	-	ACT	ud5z4phupzbv/nptp0mpokmwu	name:beanstalk-transport,plugin:define,role:seneca,seq:6,tag:undefined	plugin	beanstalk-transport	ACT	ln57n8gzn8fo/rl8yz1033gq5	hook:client,role:transport,type:beanstalk	client	invalid_origin	{timeout:119445,type:beanstalk,alivetime:111,priority:100,delay:0,port:11400,host:<IP_ADDRESS>,pin:role:*,cmd:*,pg:c	{id:qdlxhfj4wmu1/801f7hszq9l7,kind:res,origin:jwuianxcedhs/1469652726459/3029/-,accept:s5spcuwvmy4n/14696545981
2016-07-27T22:31:06.611Z h6d2723vq66j/1469658552801/4771/- WARN	-	-	ACT	ud5z4phupzbv/nptp0mpokmwu	name:beanstalk-transport,plugin:define,role:seneca,seq:6,tag:undefined	plugin	beanstalk-transport	ACT	ln57n8gzn8fo/rl8yz1033gq5	hook:client,role:transport,type:beanstalk	client	invalid_origin	{timeout:119445,type:beanstalk,alivetime:111,priority:100,delay:0,port:11400,host:<IP_ADDRESS>,pin:role:*,cmd:*,pg:c	{id:qdlxhfj4wmu1/801f7hszq9l7,kind:res,origin:jwuianxcedhs/1469652726459/3029/-,accept:s5spcuwvmy4n/14696545981
2016-07-27T22:31:06.615Z h6d2723vq66j/1469658552801/4771/- WARN	-	-	ACT	ud5z4phupzbv/nptp0mpokmwu	name:beanstalk-transport,plugin:define,role:seneca,seq:6,tag:undefined	plugin	beanstalk-transport	ACT	ln57n8gzn8fo/rl8yz1033gq5	hook:client,role:transport,type:beanstalk	client	invalid_origin	{timeout:119445,type:beanstalk,alivetime:111,priority:100,delay:0,port:11400,host:<IP_ADDRESS>,pin:role:*,cmd:*,pg:c	{id:qdlxhfj4wmu1/801f7hszq9l7,kind:res,origin:jwuianxcedhs/1469652726459/3029/-,accept:s5spcuwvmy4n/14696545981

The actual workaround is to raise the beanstalkd payload size (beanstalkd -z 2000000)

@pibi Is this something that can be sent to beanstalk? Seems like a handy enough PR. Might be something you could do?

@mcdonnelldean: not sure, the endless warning is on Seneca side. By the way, it could be an heisenbug, because now Seneca shows an ERROR with a JOB_TOO_BIG when the payload is bigger than the max size.
I close this while waiting a more reproducible setup. thanks!


Tester feedback: bug
(children[0].desired_parenting_time_changes)

Question ID
desired parenting time change for individual child

Variable sought
children[0].desired_parenting_time_changes

Package version
playground

Form
docassemble.playground4PPObugSquashing:ppo_and_proposed_order.yml

Details:
I said there is no parenting time order, but it still asks these questions about wanting to continue parenting time arrangements

same in LHI.


Standardize on one ITGmania path moving forward

Standardize on one ITGmania path moving forward as to prevent updating scripts excessively. I'm addressing the type of thing!
Also including the ddr pegasus metadata as I somehow missed that on a recent commit. Super minor but good to keep up-to-date

Insert Obama giving Obama a medal meme here 😉


3 commits: cleanup, readme updates, prepare for release

@jakemac53 – PTAL. We need a lot more docs, but I want to get v1 out soonish.
I'll add some issues to capture specifics we should cover.


Bump dependencies before 0.22.0

This bumped Tomcat and we got a Tomcat error I don't remember seeing:
==> X org.http4s.tomcat.server.TomcatServerSuite.server should route requests on the service executor  4.111s munit.ComparisonFailException: /home/runner/work/http4s/http4s/tomcat-server/src/test/scala/org/http4s/tomcat/server/TomcatServerSuite.scala:100
99:       .map(_.startsWith("http4s-suite-"))
100:      .assert
101:  }
value is not true
=> Obtained
false
=> Diff (- obtained, + expected)
-false
+true

This apparently happened before this upgrade: https://github.com/http4s/http4s/issues/4899


Avoid type-unaware Animation (fixes #4476)

Fixes #4476.
An animation instantiated with an Array was using a backing Object array instead of the correct array type, causing possible CCE when calling getKeyFrames() and assigning it to its expected type.
Now it uses the same backing type as the Array that's passed in, so as long as the Array was instantiated with a type parameter, you're good to go. I updated TextureAtlas to return type-aware arrays in findRegions() since this is a common source of animation frames.

Have you tested this with GWT?

No, I haven't, although I copied the array generation reflection code out of the Array class, which doesn't have an emulated version.
Not likely that I'll be able to test GWT soon. Just tinkered with it for an hour and couldn't get gwt-tests to run. There are various project setup issues, and I'm not sure how the backend tests project might be set up differently from a typical Libgdx GWT project, and I'm not aware of any documentation on running it. I don't use GWT, and don't know when I'll have time and motivation to get up to speed on it enough to know what I'm doing with it. Maybe someone else is willing to give this a spin?

./gradlew tests:gdx-tests-gwt:superDev then go to http://localhost:8080/gdx-tests-gwt/


Incompatability with Clojure 1.9-alpha17

Hi!
I dig this work, thanks a lot for all the time and energy you've invested in Gorilla so far.
I was trying to start up a notebook to share some thoughts with my team using lein-gorilla, and ran into problems with getting it to work. Namely, somewhere in the dependency chain lein-gorilla ends up pulling in [ring/ring-json "0.3.1"] which ultimately ends up loading [ring/ring-core "1.2.2"] which has an ns decl that uses (require ...) instead of (:require ...).
Steps to reproduce:
Create a new lein project. In deps include [org.clojure/clojure "1.9.0-alpha17"]. In plugins include [lein-gorilla "0.4.0"]. Run lein gorilla.
Symptoms
Clojure spec will complain about the ns decl in ring.util.mime-types.
Workarounds
I found I could work around this with the following dependencies decl:
                 [gorilla-repl "0.4.0" :exclusions [ring/ring-json compojure]]
                 [ring/ring-json "0.4.0"]
                 [compojure "1.6.0"]]

and the following alias:
:aliases {"gorilla" ["run" "-m" "gorilla-repl.core/run-gorilla-server" "{:port \"3000\" :ip \"<IP_ADDRESS>\" :nrepl-port 0 :gorilla-version \"0.4.0\" :project \"<my project here>\", :gorilla-options nil}"]}

Trying to add exclusions to :plugins didn't work for me.

I'm also a big fan of this project, and I use gorilla daily in my professional work. Unfortunately, I'm having the same issue as aredington, and I hate to have to resort to workarounds whenever I use gorilla with a modern clojure build.

I had an other problem with gorilla and "recent" libraries. see here
https://github.com/sbelak/huri/issues/7
I got it finaly working by applying a pending CR to "gorilla-repl":
https://github.com/JonyEpsilon/gorilla-repl/pull/275
and the updating lein-gorilla with the new version.

The lein-gorilla plugin seems to include an old version of nrepl that isn't compatible with Clojure 1.9.  Adding the lein-gorilla plugin broke my ability to launch a Cider repl and it took me hours to track the problem down to lein-gorilla.

Hey everyone, thanks for your work on this! I just pushed the latest release of gorilla and the Lein plugin to a different repository/fork (org.clojars.benfb/lein-gorilla). The code for that plugin is located here: https://github.com/benfb/lein-gorilla. Jony has been mostly inactive, but I didn't want to make code changes without his approval under his name, so I created the other repository. Please raise any issues you have there. Thanks!
The newly-released version (0.5.0) of the forked plugin should fix this. To use it, just change the lein-gorilla "0.4.0" plugin to org.clojars.benfb/lein-gorilla "0.5.0".

Thanks benfb!  For anyone following this path, I hit another error with 0.5.0 (see below) which was fixed by going to the current latest, 0.6.0:
clojure.lang.Compiler$CompilerException: Syntax error compiling var at (gorilla_repl/render_values_mw.clj:40:1).
#:clojure.error{:phase :compile-syntax-check, :line 40, :column 1, :source "gorilla_repl/render_values_mw.clj", :symbol var}
 at clojure.lang.Compiler.analyzeSeq (Compiler.java:7114)


CID equivalence vs identity: how to implement ==?

CIDs can be encoded in various formats, while referring to identical objects. This can lead to subtle problems regarding equality.
In particular, I expected the following code snippet to return True:
In [1]: from multiformats import CID

In [2]: cid = CID("base32", 1, "raw", ("sha2-256", "2C26B46B68FFC68FF99B453C1D30413413422D706483BFA0F98A5E886266E7AE"))

In [3]: CID.decode(bytes(cid)) == cid
Out[3]: False

it returns False, because currently equality is based on the tuple-representation and CID.decode defaults to 'base58btc' in stread of 'base32'.
Question: Whouldn't it be better to implement equality based of the CID identifies the same thing in strad of if the CID looks the same?

While in the scenario above, it would be easy to add another method (like .refers_to_same(other) etc...) to explicitly check if the CID refers to the same thing, things get more complicated when combining CID with dag-cbor (continuing the code above):
In [4]: import dag_cbor

In [5]: o = {"foo": cid}

In [6]: o2 = dag_cbor.decode(dag_cbor.encode(o))

In [7]: o2 == o
Out[7]: False

I really would like to have objects rounttripped through dag-cbor to compare equally.
As far as I understand, the bytes-representation of any CID is uniquely defined. If that's true, I'm suggesting to implement __eq__ and __hash__ based on bytes. I could also prepare a PR.

You're absolutely right: CID equality should not depend on the choice of multibase (which is included merely for convenience of representation). It was a simple enough change, so I just committed b76a9ea5595f9e19da747c051eff5a344cfa608d to this effect. I just checked with dag-cbor v0.2.2 and it seems the problem is solved:
>>> import dag_cbor
>>> from multiformats import CID
>>> cid = CID("base32", 1, "raw", ("sha2-256", "2C26B46B68FFC68FF99B453C1D30413413422D706483BFA0F98A5E886266E7AE"))
>>> CID.decode(bytes(cid)) == cid
True
>>> o = {"foo": cid}
>>> o2 = dag_cbor.decode(dag_cbor.encode(o))
>>> o2 == o
True

I you had something further in mind, a PR is always welcome 👍.

As far as I can see for now, this is a fine solution. Thanks 👍

BTW: I'll make a few extra tweaks today, then make a new micro release with this.

Hi @sg495, I just wanted to check back if there are chances for a new (micro) release in near time?


Support Lumen and set directories to be pre-compiled

Hi appstract,
I found some errors when I was requiring this package to Lumen framework (version number: 5.4).
This PR fixes the errors below:

Incompatible directories to pre-compiled.
Need to require illuminate/filesystem package.
Add more details of setting with Lumen framework in README.md.

Thanks for your contribution! New release is up.


EU Login Cluster Downtime

EU Login Cluster Downtime
Impact Description:
The EU Login Cluster Downtime refers to the temporary unavailability of the EU Login authentication service due to maintenance, upgrades, or unexpected technical issues. During this downtime, users will be unable to access or authenticate themselves on various EU platforms and services that rely on EU Login for user authentication.
Impacted Services:

European Commission websites and portals
EU Member State platforms and services
European Union Agency systems
EU-funded project management platforms

Expected Consequences:

User Access Disruption: Users will be unable to log in or access services that require EU Login authentication. This includes accessing personal accounts, submitting applications, and interacting with EU services.
Service Interruptions: EU platforms and services relying on EU Login will experience disruptions, potentially leading to unavailability or limited functionality.
Delays in Workflows: Processes depending on EU Login authentication for user verification or authorization will be temporarily halted, causing delays in project management, application processing, and other critical workflows.
User Frustration: Users may experience frustration and inconvenience due to the inability to access services and perform necessary tasks during the EU Login downtime.
Potential Data Loss: In rare cases, if the downtime coincides with data submission or processing, there is a slight risk of data loss or inconsistencies.

Mitigation Measures:

Communication: Advance notice will be provided to users and stakeholders about the scheduled downtime, its duration, and any alternative access methods or workarounds.
Redundancy and Failover: The EU Login system is designed with redundancy and failover mechanisms to minimize the impact of unexpected outages and ensure service availability.
Rapid Response and Recovery: Dedicated teams will be on standby to address any technical issues promptly and restore the service as quickly as possible.
Monitoring and Updates: Continuous monitoring will be in place to track the progress of the downtime, and regular updates will be provided to inform users about the status and expected resolution time.

Please note that this is a sample impact description and should be customized based on the specific details and requirements of the EU Login Cluster Downtime.

Incident Closure - EU Login Cluster Downtime
Update: Incident Resolved
The EU Login Cluster Downtime has been successfully resolved, and the service is now fully operational. All necessary measures have been taken to mitigate the impact and ensure the availability of the EU Login authentication service.
Summary of Resolution:

Technical Issue Resolution: The root cause of the downtime was identified and addressed by the technical team. Necessary fixes and optimizations were implemented to prevent similar incidents in the future.
Service Verification: Extensive testing and verification procedures were conducted to ensure the stability and functionality of the EU Login service after the resolution.
User Access Restored: Users can now log in and access all EU platforms and services that rely on EU Login for authentication. Normal operations have been resumed.

Next Steps:

Incident Review: A thorough review of the incident will be conducted to analyze the causes, response procedures, and identify areas for improvement.
Preventive Measures: Based on the incident review, additional preventive measures and enhancements will be implemented to minimize the risk of future downtime and improve the overall resilience of the EU Login cluster.
Communication: A post-incident communication will be sent out to all affected users and stakeholders, providing a summary of the incident, its resolution, and any necessary follow-up actions.

We apologize for any inconvenience caused during the EU Login Cluster Downtime and appreciate your patience and understanding. If you encounter any further issues or have any questions, please don't hesitate to reach out to our support team.
Thank you for your cooperation.
Best regards,
[Your Name]


Remove redundant explicit dependency

de.flapdoodle.embed is still listed in the spring-boot-dependencies referenced by spring-boot-starter-parent (at least from what i can confirm for v2.7.17). Therefore the simple property override <embedded-mongo.version>4.9.3</embedded-mongo.version> is enough to successfully set up de.flapdoodle.embed.mongo.spring27x in Spring Boot 2.7.x.

@Philzen  .. thanks:)


Babel and corresponding core packages versions 6.25.0 and prior have already reached their end of life.

I would like to point out that the npm package babel has announced an end of life (EOL) with the Babel ≤ 6.25.0 and has switched to a mono repository. Is planned to change the package<EMAIL_ADDRESS>in babel-plugin-styled-component to the current mono repository version babel-plugin-syntax-jsx of babel?
Babel EOL Announcement

Yeah

All set https://github.com/styled-components/babel-plugin-styled-components/releases/tag/v2.1.4


No outdated packages ...

When i do the npm oudated nothing shows up and i'm stuck in that exercise .

how-to-npm verify @linclark/pkg


Heating values are not correct for WPL09 and ISG Plus 12.2.0

Version of the custom_component
ISG Plus 12.2.0 version
WPL 09 ICS classic
Describe the bug
I get from the integration of all heating values as 32768. What can be the reason for that behaviour?
I tried to read the value from a Modbus tool and i got the same value
sensor.stiebel_eltron_isg_consumed_heating_todayStiebel Eltron ISG Consumed Heating Today
| 32768 | (thats the Vlaue
state_class: total_increasing unit_of_measurement: kWh device_class: energy icon: mdi:lightning-bolt friendly_name: Stiebel Eltron ISG Consumed Heating Today
Stiebel Eltron ISG Consumed Heating Today
32768	state_class: total_increasing
unit_of_measurement: kWh
device_class: energy
icon: mdi:lightning-bolt
friendly_name: Stiebel Eltron ISG Consumed Heating Today

Would you mind uploading the diagnose information? This would help to analyze the issue. Thanks!

Please try again now. Pull request #177 tackles this issue.


translate Breaking React Query's API on purpose into Korean

Looking forward to v5 👍

@TkDodo I was wondering whether you could leave a comment if something's wrong with this PR.

sorry I just missed it somehow. All good, thank you for this ❤


Some errors occurred using prometheus plugin

Summary
In kong2.10, there was a bug in the hybird mode when using Prometheus plugin. I don't know why.
Error log

Access through the URL kong agent, such as: http://kong.test.com/check。
The error message is as follows:

[error] 26#0: *5189077 [lua] prometheus.lua:671: log_error(): counter not initialied while logging request, client: <IP_ADDRESS>, server: kong, request: "GET /healthcheck HTTP/2.0", upstream: "http://<IP_ADDRESS>:80/check", host: "kong.test.com"
2020/08/10 19:08:31 [error] 26#0: *5189077 [lua] prometheus.lua:671: log_error(): counter not initialied while logging request, client: <IP_ADDRESS>, server: kong, request: "GET /healthcheck HTTP/2.0", upstream: "http://<IP_ADDRESS>:80/check", host: "kong.test.com"

The system regularly accesses /metrics to obtain data

2020/08/10 19:10:58 [error] 23#0: *5191934 lua entry thread aborted: runtime error: ...cal/share/lua/5.1/kong/plugins/prometheus/prometheus.lua:620: attempt to index field '_counter' (a nil value)
stack traceback:
coroutine 0:
...cal/share/lua/5.1/kong/plugins/prometheus/prometheus.lua: in function 'metric_data'
...cal/share/lua/5.1/kong/plugins/prometheus/prometheus.lua:666: in function 'collect'
...local/share/lua/5.1/kong/plugins/prometheus/exporter.lua:239: in function 'collect'
content_by_lua(nginx-kong.conf:75):3: in main chunk, client: <IP_ADDRESS>, server: kong_prometheus_exporter, request: "GET /metrics HTTP/1.1"

others

Kong version 2.1.0
k8s in linux

ping @fffonion

seems #6160 again

seems #6160 again
~@xinfeingxia85 would you try kong 2.1.1?~ it seems 2.1.1 has the same issue

I user kong:2.1.1。
if set the default workspace before using it,  the problem can be solved.
when will the problem be solved ?

@xinfeingxia85 it will be fixed with #6206 (see linked pull request above)


feat(wallet-api): Support EVM family in wallet-api

📝 Description
Convert Wallet API Ethereum transaction into Live Ethereum/EVM transaction based on Live account family.
❓ Context

Impacted projects: LLD, LLM, live-common
Linked resource(s): https://github.com/LedgerHQ/ledger-live-issues/issues/108

✅ Checklist

[ ] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo

For trying out Polygon, you need to change its family from ethereum to evm on Ledger Live side line

`manifest-local.json`
{
  "id": "paraswap-2",
  "name": "Paraswap",
  "private": false,
  "url": "http://localhost:3000/v2",
  "params": {
    "dappUrl": "https://embedded.paraswap.io/?referrer=ledger2&embed=true&enableStaking=false&displayMenu=false",
    "nanoApp": "Paraswap",
    "dappName": "Paraswap",
    "networks": [
      {
        "currency": "ethereum",
        "chainID": 1,
        "nodeURL": "https://eth-dapps.api.live.ledger.com"
      },
      {
        "currency": "bsc",
        "chainID": 56,
        "nodeURL": "https://bsc-dataseed.binance.org/"
      },
      {
        "currency": "polygon",
        "chainID": 137,
        "nodeURL": "https://polygon-mainnet.g.alchemy.com/v2/oPIxZM7kXsPVVY1Sk0kOQwkoIOpSu8PE"
      },
      {
        "currency": "fantom",
        "chainID": 250,
        "nodeURL": "https://fantom.publicnode.com"
      }
    ]
  },
  "homepageUrl": "https://paraswap.io",
  "supportUrl": "https://paraswap.io",
  "icon": "https://cdn.live.ledger.com/icons/platform/paraswap.png",
  "platform": "all",
  "apiVersion": "^2.0.0 || ~0.0.1",
  "manifestVersion": "1",
  "branch": "stable",
  "categories": ["nft"],
  "currencies": ["ethereum", "polygon", "fantom"],
  "content": {
    "shortDescription": {
      "en": "Swap your crypto with ParaSwap that aggregates and provides the best quotes decentralised exchanges."
    },
    "description": {
      "en": "Swap your crypto with ParaSwap that aggregates and provides the best quotes decentralised exchanges."
    }
  },
  "permissions": [
    "account.list",
    "account.receive",
    "account.request",
    "currency.list",
    "device.close",
    "device.exchange",
    "device.transport",
    "message.sign",
    "transaction.sign",
    "transaction.signAndBroadcast",
    "storage.set",
    "storage.get",
    "bitcoin.getXPub",
    "wallet.capabilities",
    "wallet.userId",
    "wallet.info"
  ],
  "domains": ["https://*"]
}

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

ah, this PR is affected by this change: https://github.com/LedgerHQ/ledger-live/pull/3536


ISPN-8168 Index corruption with topology changes

https://issues.jboss.org/browse/ISPN-8168
Removed DeltaAware from the lucene directory. Did not measure any performance difference when running clusters locally.
Once the functional commands issues related to previous values and topology change are resolved (likely on 9.2), we can re-introduce the replication of the FileListCacheValue using func. commands

Merged to master, thanks !


Array Load Statistics metric

We recently deployed the pure-fa-openmetrics-exporter into our Prometheus/Grafana Mimir cluster.  Thank you for offering this option to your customers!  One of the metrics that we closely track in the Pure1 Manage UI that we would like to consume is load.  Can you please provide information on how the Array Load Statistics are calculated?  If the metrics needed aren't currently exposed by the pure-fa-openmetrics exporter could we please request this be added?
Thank you!

Load is a calculated value only provided by the Pure1 platform. It is not something available directly from the FlashArray itself.
I believe the value is derived from numerous data points, including some not visible to public API endpoints.
Also note that the load value in Pure1 is not real-time.
Based on this there is no opportunity to provide this value through the near real-time OpenMetrics interface.

Thanks for the quick response @sdodsley.  If the necessary metrics are exposed through the public api in the future.  It would be appreciated if the promql queries necessary the calculate load could be provided in an example recording rule(s).  Promql does arithmetic quite well so I imagine that shouldn't be the barrier.

https://support.purestorage.com/Pure1/Pure1_Manage/013_Pure1_Manage_-_REST_API/Pure1_Manage_-_REST_API__Reference
The Pure1 REST API /metrics endpoint provides array_total_load if you wish to programmatically collect load for your arrays.
However, as Simon mentioned- since it is not local to the array, it will not be able to be exported by the this exporter.

Interesting.  Thanks for the additional information @chrroberts-pure!


I dont see text after i type "--"

When I type "--" i don't see any text in the terminal after that aswell as "--", for example when I type "git --version" I see it as "git" but when I press enter I see a version.
I use Posh-Git, Oh-My-Posh and Cascadia Code PL font.

Please share a screenshot.

And version info. And anything else that was in the bug report template.

https://imgur.com/a/U2m3Knt

https://imgur.com/a/Yi6bALT this is screenshot. I dont know how to get terminal version information

It looks like you're using a color scheme where color 90 (brightBlack) is the same as your background color. All utilities that set color 90 will see it disappear into the background.
Sorry; this is a configuration problem.
For PowerShell, you can change the colors for parameters and operators using Set-PSReadlineOption (you can view the current values with Get-PSReadlineOption)

Is it possible for you to explain me how to change color?
When i type "Get-PSReadlineOption"i am getting an error ->

Get-PSReadLineOp : The term 'Get-PSReadLineOp' is not recognized as the name of a cmdlet, function, script file, or ope
rable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again
.
At line:1 char:1

Get-PSReadLineOp

  + CategoryInfo          : ObjectNotFound: (Get-PSReadLineOp:String) [], CommandNotFoundException
  + FullyQualifiedErrorId : CommandNotFoundException

You appear to have typed Get-PsReadlineOp. I don't know why you've left off the tion that belongs on the end.
You might be happier just choosing a different color scheme for Terminal in your Settings file. "Solarized Dark" is not a very good color scheme.


Feature/4 ethr did support

@Eseoghene I'm not getting that error message (babel) with the latest fix. Can you try testing again? Thanks


Fix integer_ops narrowing issues

Enabling narrowing errors by removing
if(CMAKE_COMPILER_IS_GNUCC OR "${CMAKE_CXX_COMPILER_ID}" MATCHES "(Apple)?Clang")  add_cxx_flag_if_supported(-Wno-narrowing)  endif()
in test_conformance/integer_ops/CMakeLists.txt produces many errors. A common example is:
test_conformance/integer_ops/main.cpp:159:140: error: narrowing conversion of '18446462598732906495ull' from 'long long unsigned int' to 'cl_long {aka long int}' inside { } [-Wnarrowing]

This is a follow up for #787 and so requires #1144 to be merged first


[Visual Studio Code - Project Manager] Add support for VSCode cached projects

Extension
https://www.raycast.com/MarkusLanger/vscode-project-manager
Description
Add support for VSCode cached projects
now, has Git cached and any cached, but don't has VSCode cached
I hope add VSCode cached
Who will benefit from this feature?
No response
Anything else?
No response

@HenryTSZ This Raycast extension is only for VSCode Project Manager projects.

Thanks for the screenshot. I will have a look.

@HenryTSZ PR created #5665

@MarkusLanger thank you very much!

@raycastbot close this issue


1.16 - bo3 customstructures too common

Noticing that bo3 structures are way more common than in 1.12.
Will update this issue once ive made a test preset.

For 1.16.5-0.0.15, added UseOldBO3StructureRarity to the worldconfig, disabled by default. Enable to use 2 rarities, one from the CustomStructure() tag and one from the BO3 file.


Fix docstring format errors found by ruff

Errors are found by the command ruff check --select=D403 qiskit tools test examples setup.py, and likewise for
D211, D419 , D201, D208 , D405.
This PR fixes these errors, largely manually either because there is no automatic fix, or the fix suggested is not really what we want.
See #9707

Summary
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 85.343%

Files with Coverage Reduction
New Missed Lines
%

qiskit/tools/events/progressbar.py
3
28.79%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
67530

Relevant Lines:
79128

💛  - Coveralls


[PL-42597] Update release note version numbers

Met with @bharatgoelharness, updating release note version numbers based on:
https://harness.atlassian.net/wiki/spaces/PD/pages/21545484350/QA+Build+Release+Sign+off+November+6th+-+build+814xx+-+2023
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Introduced in process nrepl message processing

This PR introduces the choice to directly call into nrepl - bypassing the network. At first, I considered removing the call over the network. I decided to keep it because we might wan't to act as a proxy and access a remote nrepl server. ;)
However, the option to use a (potentially different) nrepl-handler might even be useful. When playing around, I found that nrepl-refactor-middleware does not play nice with gorilla-middleware.

Can I ask what the motivation for removing the socket connection is? Is there a use case where having the socket open on localhost is not acceptable? It would be helpful for me to understand the background to the PR (I'm guessing it's part of your 'embedding' drive, but don't yet see how it fits in to the big picture).
Regarding the middleware thing, I think there's no good solution to that with the way nREPL resolves middleware at the moment ... it wasn't really designed to accommodate more than one tool working with the same nREPL server. My goal at the minute is to stay compatible with cider-nrepl, as that covers most people's requirements.

Using nrepl socket communication adds unnecessary overhead when nrepl runs in the address space of the webserver. Besides, it enlarges the attack surface and listening can fail when the port is already is use.  Think about using it (embedded and "secure") in production. The PR does not remove socket communication. It adds choice to not use it. I still see use cases where one might need nrepl socket communication.
I fully understand your goal to stay compatible with cider-nrepl. The PR does not add any restrictions here. In fact, it adds flexibility. It allows you to use different middleware stacks depending on whether you call into nrepl via nrepl socket or in memory. I found nrepl-factor (which I consider fairly "popular") middleware conflicting with gorilla middleware when I used both on the socket service. Keeping nrepl-refactor mw on the socket service (for emacs) while moving gorilla mw to the in-memory call gets around this problem.

Here comes another reason. ;)
In in memory-calls to nrepl plays nice with figwheel. Try my branch feature/cljs-parinfer (you should see parinfer working)
lein do cljsbuild once, figwheel

It could be just:
lein figwheel

with incremental realtime browser code updates and other figwheel goodness once we have decided whether to stick with JavaScript or go with ClojureScript in the client.


Refactor import paths in LexicalEditorState

[lexical] Refactor: Change import paths syntax in LexicalEditorState
Description
The current behavior implements not consistent import approaches which can lead to confusion.
This pull request addresses the issue by using consistent import syntax to make it easier to understand
which module is from where imported.

Thanks :)


Jobs and pipelines creation/update from json files

It should be possible to have a folder containing json with jobs and pipelines definitions and a function that gets this definitions and create the corresponding jobs and pipelines (or update them if they exist)

Trello card: [#90] Jobs and pipelines creation/update from json files


metamorphose2: init at 0.9.0beta

Motivation for this change
For renaming stuff fast without needing to look through man pages.
Note: Had to pull from master for wxPython3 support.
Also, Metamorphose2 vendors mutagen and exif-py.
Things done

[x] Tested using sandboxing
(nix.useChroot on NixOS,
or option build-use-chroot in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[x] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Can you set "platforms" to Linux? wxPython should work on Darwin but it's currently not building.

@matthewbauer sure. I have a few cleanups now that master picked up my fixes so I'll throw it in :)

@matthewbauer all done :)

Thanks!


Change Android Navigation Bar Color on System Dark Mode toggle

When using AdaptiveTheme.of(context).modeChangeNotifier.addListener, I can change my android's navigation bar color like this:
AdaptiveTheme.of(context).modeChangeNotifier.addListener(() async {
      //This gets the system's platform brightness.
      final platformBrightness = MediaQuery.of(context).platformBrightness;

      final themeMode = AdaptiveTheme.of(context).mode;
      late Color color;
      late Brightness brightness;

      switch (themeMode) {
        case AdaptiveThemeMode.light:
          color = Colors.white;
          brightness = Brightness.dark;
          break;
        case AdaptiveThemeMode.dark:
          color = Colors.black;
          brightness = Brightness.light;
          break;
        case AdaptiveThemeMode.system:
          color = (platformBrightness == Brightness.dark)
              ? Colors.black
              : Colors.white;
          brightness = (platformBrightness == Brightness.dark)
              ? Brightness.light
              : Brightness.dark;
          break;
        default:
          break;
      }

      SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
          systemNavigationBarColor: color,
          systemNavigationBarIconBrightness: brightness));
});

However, the navigation bar color does not change when I toggle dark mode from my Notification Centre. I tried finding a way to listen for platform brightness here by using WidgetsBinding.instance.handlePlatformBrightnessChanged();, but this would disable the dynamic theming of the app provided in your package (As I realised that I am probably overriding your code).
Is there a way I can change the navigation bar color, when toggling dark mode from notification centre?
Example (Gif was too large to show here, sorry)

It turns out that I used WidgetsBinding.instance.handlePlatformBrightnessChanged(); wrongly, as I had to do it inside the WidgetsBinding.instance.window.onPlatformBrightnessChanged instead...
var window = WidgetsBinding.instance.window;
    window.onPlatformBrightnessChanged = () {
      // This callback is called every time the brightness changes.
      WidgetsBinding.instance.handlePlatformBrightnessChanged();
      var brightness = window.platformBrightness;
      SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
          systemNavigationBarColor:
              (brightness == Brightness.dark) ? Colors.black : Colors.white,
          systemNavigationBarIconBrightness: (brightness == Brightness.dark)
              ? Brightness.light
              : Brightness.dark));
    };

Now when the dark mode is toggled through the notification centre, the navigation bar color changes accordingly.

@iamhx Glad you were able to make it work on your own. However, you don't need to register a listener. You can just set those properties if you can in your theme and let the package do its thing.

@BirjuVachhani Thanks for the reply.
In my theme_light.dart:
final ThemeData lightTheme = ThemeData(
    appBarTheme: AppBarTheme(
        systemOverlayStyle: const SystemUiOverlayStyle(
        statusBarColor: Colors.transparent,
        statusBarIconBrightness: Brightness.dark,
        statusBarBrightness: Brightness.light,
        systemNavigationBarColor: Colors.green, //Trying to change color here, does not work.
      )
    );

Setting those properties in my theme doesn't seem to change anything and I am not sure why. That is why I had to use SystemChrome.setSystemUIOverlayStyle. Tried searching online on why that doesn't work, but haven't really found the answer to this issue. But as long as it works, I guess!
Thank you for this great package.

I am not sure but I think you have to set brightness as well.

I am not sure but I think you have to set brightness as well.

Brightness is deprecated

It turns out that I used WidgetsBinding.instance.handlePlatformBrightnessChanged(); wrongly, as I had to do it inside the WidgetsBinding.instance.window.onPlatformBrightnessChanged instead...
var window = WidgetsBinding.instance.window;
    window.onPlatformBrightnessChanged = () async {
      // This callback is called every time the brightness changes.
      WidgetsBinding.instance.handlePlatformBrightnessChanged();
      final currentPlatformBrightness = window.platformBrightness;
      final currentThemeMode = await AdaptiveTheme.getThemeMode();

      switch (currentThemeMode) {
        case AdaptiveThemeMode.light:
          color = Colors.white;
          brightness = Brightness.dark;
          break;
        case AdaptiveThemeMode.dark:
          color = Colors.black;
          brightness = Brightness.light;
          break;
        case AdaptiveThemeMode.system:
          color = (currentPlatformBrightness == Brightness.dark)
              ? Colors.black
              : Colors.white;
          brightness = (currentPlatformBrightness == Brightness.dark)
              ? Brightness.light
              : Brightness.dark;
          break;
        default:
          break;
      }
      SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
          systemNavigationBarColor: color,
          systemNavigationBarIconBrightness: brightness));
    };

Now when the dark mode is toggled through the notification centre, the navigation bar color changes accordingly.

Hey instead of this you can use the following
final currentBrightness = MediaQuery.platformBrightnessOf(context)
Its way more performant in the long run


problem instantiating type / thread blocked indefinitely in an MVar operation

Compiling the following code
type alias Investigator a = a
foo : Investigator a -> a
foo a = a

yields the following strange crash in elm-make:
[                                                  ] - 0 / 1
elm-make: problem instantiating type
elm-make: thread blocked indefinitely in an MVar operation

The same crash will occur defining type alias Investigator a = (a), but defining it as (a,a) or List a etc does not cause the crash.

Is this on 0.15 or on master or both?

Both.  The output above is from master.
0.15 gives
Error in Error2.elm:

problem instantiating type

Just encountered this in 0.15.1, so can confirm it still happens.

Not sure if it's related, but we are getting this intermittently on our CI server:
elm-make: AssignmentTypeSelector.elm: hGetContents: invalid argument (invalid byte sequence)
elm-make: thread blocked indefinitely in an MVar operation

Oops, sorry - duplicate of https://github.com/elm-lang/elm-make/issues/33

@avh4, what should happen here? Is this a thing that gets ruled out at compile time? How do Haskell and OCaml deal with type aliases like this?

Haskell supports this. I tried this:
$ ghci
GHCi, version 7.6.3: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ... linking ... done.
Prelude> type Investigator a = a
Prelude> let foo :: Investigator a -> a; foo a = a
Prelude> :t foo
foo :: Investigator a -> a
Prelude> foo 1
1

@avh4, is this still crashing for you, in Elm 0.16? On http://elm-lang.org/try it's not crashing, but it's rejecting the program despite it being type-correct. Seems to be subsumed by https://github.com/elm-lang/elm-compiler/issues/1192 now.

Can be closed? https://github.com/elm-lang/elm-compiler/issues/1192 was fixed.

Actually, now that 0.17 is available, I could check. And unfortunately, @avh4's original program
type alias Investigator a = a

foo : Investigator a -> a
foo a = a

is still not handled correctly (differently than when this issue was opened, but not correctly; see last-but-one comment above).
Either this problem was not, after all, subsumed by #1192, or #1192 is not fully fixed yet.

Open a new issue with an SSCCE describing what goes wrong in the new world.

https://github.com/elm-lang/elm-compiler/issues/1371


PDF Text is no longer being displayed

Attach (recommended) or Link to PDF file here: I cannot attach the PDF for privacy purposes (and will block out some lines) but I will attach a small screenshot of the section having the issue.
Configuration:

Chrome Version 92.0.4515.107 (Official Build) (64-bit)
Edge Version 92.0.902.55 (Official build) (64-bit)
Firefox Version 90.0.2 (64-bit) - Also has overlapping text issue
Operating system and its version: Windows 10 (User base has a variety of operating systems)
PDF.js version: Updated to latest stable version 2.9.359 and issue still occurring
Is a browser extension: No

After the latest Chrome/Edge updates (Previous Working Version 91.*), there appears to be some text on our form that is no longer being displayed. It works when we download the PDF and view in another PDF Viewer.
What is the expected behavior?

What went wrong?

This warning is visible
pdf.worker.min.js:1 Warning: getOperatorList - ignoring errors during task: RenderPageRequest: page 1

Attach (recommended) or Link to PDF file here: I cannot attach the PDF for privacy purposes (and will block out some lines) but I will attach a small screenshot of the section having the issue.

Unfortunately this means that the issue isn't actionable, and will be closed as such, since it's impossible to do any meaningful debugging with nothing more than a screen-shot.
Duplicate of #13798 (which is a best guess, given the lack of crucial information).

@Snuffleupagus Are you able to provide any feedback on the error shown? Also, it seems there are many users with this issue after the recent updates of chrome/edge, is there going to be a resolution?

@Snuffleupagus  I have confirmed with business that I can send the PDF over. Can I send to you directly or do I have to post here?

All test-cases should be attached directly to the issue, since all issues need to be actionable for any contributor (given that this is an open-source project after all).

@angelaperez1019 if there is a private PDF that you can't share publicly, you can file a bug on Bugzilla (at https://bugzilla.mozilla.org/enter_bug.cgi?product=Firefox&component=PDF Viewer) and select "Restrict the visibility of this bug to the assignee, QA contact, and CC list only".

If we can, we will then try to create a new PDF based on your PDF but with totally fake information, just so we can publish it here publicly.


[Bug Report] youtube not loading

Bug Description
youtube is not supported
Steps to Reproduce
nothing work with youtube
Expected Result
not loading

Debug Output
win 11
Additional Info
No response
Checklist

[X] I have looked for information about this within the documentation
[X] I have searched for similar issues on the issues page
[X] I am running the latest version of the bot:

Duplicate of existing issues; please check the issue list before reporting.


Fix sorting order not kept when rerendered

It seems that we're only reading the sorting order when the table header is clicked, so the sorting order will not be reflected if we have something like this:
let sorting = create_rw_signal(VecDeque::<(usize, ColumnSort)>::new());
view! {
    <TableContent
         rows={row_signal.get()}
         sorting=sorting
    />
}

If we create an effect for row and sorting, then it should be reflected correctly.

Excellent! Thanks!

Extracting the clear closure seems to break the code. I can fix that later
today
On Mon, Jun 3, 2024 at 10:07 PM Marc-Stefan Cassola <
@.***> wrote:

Excellent! Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/Synphonyte/leptos-struct-table/pull/39#issuecomment-2145296964,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADKEGABKQAIJTQLROZM46K3ZFR2BTAVCNFSM6AAAAABIWI26OGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBVGI4TMOJWGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

Until then I reverted you changes for now so I can fix some other bugs in the meantime


Fix Table warning in NextJS

Closes https://github.com/adobe/react-spectrum/issues/5499
This would probably have been found by TS Strictmode when we turned it on for this file. I verified this in
https://stackblitz.com/edit/stackblitz-starters-sjybxv it was just a random stackblitz I found with nextjs. All that mattered was that the warning appeared, not how pretty it was. It could probably be verified in our examples too.
✅ Pull Request Checklist:

[ ] Included link to corresponding React Spectrum GitHub Issue.
[ ] Added/updated unit tests and storybook for this change (for new code or code which already has tests).
[ ] Filled out test instructions.
[ ] Updated documentation (if it already exists for this component).
[ ] Looked at the Accessibility Practices for this feature - Aria Practices

📝 Test Instructions:

🧢 Your Project:

this is probably fine, but I don't think we have a RAC table w/ column resizing in the test NextJS app

Yeah, our next apps are all react-spectrum at the moment and this change seems quite small and innocuous. I tested it using the stackblitz I mentioned earlier, and I'm pretty confident it'd have been caught by TS strict


undefined with deepseek-lite-ggml and llama.cpp

Describe the bug
any call to the chat completion api in llama.cpp returns a string of "undefined" with the DeepSeek-Coder-V2-Lite-Instruct-Q6_K.gguf model
To Reproduce
Download the model, run with the following command:
./llama-server -ngl 99 --ctx-size 16384 -m models/DeepSeek-Coder-V2-Lite-Instruct/DeepSeek-Coder-V2-Lite-Instruct-Q6_K.gguf
, add a chat provider for llamacpp at localhost:8080/v1/chat/completions.
Expected behavior
undefined is NOT repeated and the generated text makes at least some level of sense
Screenshots

Logging
logs.txt
API Provider
as above, llama.cpp default port on localhost:8080/v1/chat/completions
Chat or Auto Complete?
chat
Model Name
DeepSeek-Coder-V2-Lite-Instruct-Q6_K.gguf
Desktop (please complete the following information):

OS: Windows 11 Edu
Browser N/A

Additional context

Hi
And if you set as Provider the value "ollama" (instead of "llamacpp", even if you use llama.cpp) ?