Not looking for local images

Minimal .gitlab-ci.yml illustrating the issue
build backend-release:
  image:
    name: "gcr.io/kaniko-project/executor:v1.8.1-debug"
    entrypoint: [""]
  tags:
    - "docker_build"
  stage: build
  variables:
    BUILD_DOCKERFILE_DIR: "app/"
    BUILD_IMAGE_NAME: "app-release"
    BUILD_IMAGE_TAG: "$REGISTRY_URL/$REGISTRY_PROJECT/$BUILD_IMAGE_NAME:$CI_COMMIT_SHORT_SHA"
  before_script:
    - echo "{\"auths\":{\"${REGISTRY_URL}\":{\"username\":\"$DOCKER_REGISTRY_USER\", \"password\":\"$DOCKER_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
  script:
    - /kaniko/executor --no-push --context $BUILD_DOCKERFILE_DIR --destination $BUILD_IMAGE_TAG --build-arg GIT_COMMIT=$CI_COMMIT_SHORT_SHA --dockerfile $BUILD_DOCKERFILE_DIR/Dockerfile --cache=false --target production --skip-unused-stages

Expected behavior
My Dockerfile includes the following line:
COPY --from=registry.docker.mycompany.com/app/mybinary:v1 /tmp/dist/ /tmp/dist/
I don't have pull access to registry.docker.mycompany.com however, i have the image locally in my pc.
I would expect instead of trying to fetch remotely first, to search locally for an image with a matching tag
Host information
MacOS M1
gitlab-ci-local 4.46.1
Containerd binary
docker

Does gitlab.com search on their shared runners for the image locally instead of pulling it from remote?

@milouk,
This example might be relevant for your usecase.
Another approach is to setup a local registry
docker run -d -p <IP_ADDRESS>:5000:5000 registry:2

and in .gitlab-ci-local-variables.yml
---
CI_REGISTRY: "<IP_ADDRESS>:5000"

then
gitlab-ci-local ...

@milouk Feel free to leave a clarification or edit your description.
Just ping me if you want the issue reopened.


Support for Nethermind or OpenEthereum

Hi,
great tool. Found it via Gitcoin grants.
Do you have any plans to support Nethermind or OpenEthereum clients.
Will be great to put in for test for xDai RPCs.
Thank you

Hi @igorbarinov
Yes, we're supporting OpenEthereum private -PoW & PoA- and public networks.
Check Ethereum 1 docs https://docs.kotal.co/ethereum/intro
Ethereum 1 node reference https://docs.kotal.co/ethereum/reference/node#client
Nethermind support is work in progress, it has been reprioritized due for supporting Ehereum 2.
Now Ethereum 2 is alpha, we will release Nethermind soon.


HBASE-27899 Beautify the output information of the getStats method in ReplicationSource

HBASE-27899 Beautify the output information of the getStats method in ReplicationSource

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 31s
Docker mode activated.

Please run mvn spotless:apply to fix the format error.

Please run mvn spotless:apply to fix the format error.

ok

Please run mvn spotless:apply to fix the format error.

it's finished. Thank you

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 37s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m 21s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+0 :ok:
mvndep
1m 12s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
4m 17s
master passed

+1 :green_heart:
compile
6m 28s
master passed

+1 :green_heart:
checkstyle
1m 34s
master passed

+1 :green_heart:
spotless
0m 53s
branch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
13m 31s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 14s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
3m 53s
the patch passed

+1 :green_heart:
compile
7m 20s
the patch passed

+1 :green_heart:
javac
7m 20s
the patch passed

+1 :green_heart:
checkstyle
1m 43s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
13m 56s
Patch does not cause any errors with Hadoop 3.2.4 3.3.5.

+1 :green_heart:
spotless
0m 56s
patch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
12m 50s
the patch passed

_ Other Tests _

-1 :x:
asflicense
0m 24s
The patch generated 812 ASF License warnings.

83m 15s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5264/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5264

Optional Tests
dupname asflicense spotless javac spotbugs hadoopcheck hbaseanti checkstyle compile

uname
Linux 35bd853ad26a 5.4.0-148-generic #165-Ubuntu SMP Tue Apr 18 08:53:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 7b571ca9e4

Default Java
Eclipse Adoptium-11.0.17+8

asflicense
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5264/2/artifact/yetus-general-check/output/patch-asflicense-problems.txt

Max. process+thread count
175 (vs. ulimit of 30000)

modules
C: hbase-server . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5264/2/console

versions
git=2.34.1 maven=3.8.6 spotbugs=4.7.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

Some data files are incorrectly uploaded due to misoperations. The problem persists after being pushed back to github. I temporarily shut down and resubmit PR

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 39s
Docker mode activated.

-0 :warning:
yetus
0m 21s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
1m 36s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 12s
master passed

+1 :green_heart:
compile
1m 36s
master passed

+1 :green_heart:
shadedjars
4m 29s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 45s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 12s
the patch passed

+1 :green_heart:
compile
1m 36s
the patch passed

+1 :green_heart:
javac
1m 36s
the patch passed

-1 :x:
shadedjars
0m  8s
patch has 7 errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
1m 47s
the patch passed

_ Other Tests _

-1 :x:
unit
300m 27s
root in the patch failed.

327m 26s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5264/2/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5264

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux d38f7c37b01f 5.4.0-148-generic #165-Ubuntu SMP Tue Apr 18 08:53:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 7b571ca9e4

Default Java
Temurin-1.8.0_352-b08

shadedjars
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5264/2/artifact/yetus-jdk8-hadoop3-check/output/patch-shadedjars.txt

unit
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5264/2/artifact/yetus-jdk8-hadoop3-check/output/patch-unit-root.txt

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5264/2/testReport/

Max. process+thread count
5239 (vs. ulimit of 30000)

modules
C: hbase-server . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5264/2/console

versions
git=2.34.1 maven=3.8.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

resubmit PR
https://github.com/apache/hbase/pull/5269


[WFLY-5041] Added ReuseAuthenticatedSubjectTestCase

Test case for Reuse authenticated subject from incoming context when security domains match. This functionality was fixed in https://github.com/wildfly/wildfly/pull/7470.
Jira: https://issues.jboss.org/browse/WFLY-5041

Linux with security manager Build 2124 is now running using a merge of b67df39d80add9f81289eeadecf5186c99313ff5

Windows Build 2308 is now running using a merge of b67df39d80add9f81289eeadecf5186c99313ff5

Linux Build 7256 is now running using a merge of b67df39d80add9f81289eeadecf5186c99313ff5

Linux with security manager Build 2124 outcome was SUCCESS using a merge of b67df39d80add9f81289eeadecf5186c99313ff5
Summary: Tests passed: 897, ignored: 285 Build time: 0:06:58

Linux Build 7256 outcome was SUCCESS using a merge of b67df39d80add9f81289eeadecf5186c99313ff5
Summary: Tests passed: 2985, ignored: 358 Build time: 0:47:51

Windows Build 2308 outcome was SUCCESS using a merge of b67df39d80add9f81289eeadecf5186c99313ff5
Summary: Tests passed: 2983, ignored: 359, muted: 1 Build time: 0:53:09


can't compile

can't compile with Glasgow Haskell Compiler, Version 7.6.3
src/Web/Tumblr.hs:82:22:
Request' is applied to too many type arguments     In the type signature fortumblrBaseRequest':
tumblrBaseRequest :: Request m

Looks like this is way out of date, might have to update for newer reqs...

cabal file should probably restrict the version of req atm, will fork and have a look

I'm sorry, I'm no longer interested in maintaining this library

I'll take it then, as I've still got use for it, Seems like there's no stackage snapshots that are still up that even match the version requirements,,,

Shall I fork and you point it there, or do you want to transfer ownership so that redirects happen automatically?

I'll transfer ownership

Alright cool

Ta!

Updated to fix this - now compiles with 8.8.


If only using bubble menu and you set a link, you lose access to text bubble menu

If you only use Bubble menu and all the contents has one link. It isn't possible to see the text bubble menu anymore.
I am using tiptap on a "button" so the entire text in the button will always be a link.
If you go to this sandbox, try to make it Italic:
https://codesandbox.io/s/element-tiptap-88tsp
The only 2 ways a user can do it are:
1- Type more text that isn't part of the link then select all text, apply Italic, delete the extra text you added
2- Remove link using unlink tool, select all text, apply italic and then re-add link again to text
But both of those are really bad for user experience.
The best solution would be for an extra button in the Link bubble menu (with a back arrow "<-" or similar), that when clicked hides the link bubble menu and shows the normal text bubble menu.
Is something like this at all possible?
Thank you very much.

Ah I just realized forking the sandbox doesn't save it. Please change the editor.vue file to this to see the issue:
`

`

This is a special case, I did not consider before. I will think about it. Thank you


Add commandline option for labels

adding commandline option to use custom labels for the changelog, if commandline option is not specified, then it would use the hard coded default ones
resolves #29

@dyt811 @joshuacwnewton review plz, I don't have access to the repo so cannot assign reviewers

mind merge this? I don' have write access, thanks


command edit

Signed-off-by: Julien Pivotto<EMAIL_ADDRESS>Signed-off-by: seepls<EMAIL_ADDRESS>

I don't think you got that right. Did you forget to commit?

Sorry


moto should not take over responses defaults

We are using moto to mock AWS services (namely S3); and responses to control our access to third party APIs.
However, moto unconditionnally configures a global pass-through in responses:
At import time, moto configures responses:
https://github.com/spulec/moto/blob/master/moto/core/models.py#L249-L252
Once moto has been imported, it is no longer possible to use responses in one's code.
Since moto uses @mock_XXX idioms, it should only apply its configuration on code that is wrapped by such decorators/context managers.

Agreed @rbarrois, thanks for raising this. Will mark it as an enhancement

I think we should at least document this behaviour somewhere and suggest a way to remove the hook. I currently use a hack way to remove the hook globally.
import responses

responses._default_mock.add_passthru  = tuple()
responses..add_passthru = responses._default_mock.add_passthru

This should be done where moto is imported, most likely this would be in the conftest.py.
...but this solution is not optimal (imo). Maybe we should turn the logic around, so you have to explicitly enable the passthru if you really need this as most test suites should work without it anyway. With this the documentation would state, that this project uses responses, which has the side effect that all external requests are blocked and if external requests are needed they can simply be enabled by explicitly using responses.add_passthru(SOME_URL_PREFIX).

Can we just create our own responses.RequestsMock object instead of interfering with responses._default_mock? This seems to work (#3529).

I encountered this with tests that use responses but not moto. The errors only appeared when the tests were run after a test that did use moto.
self = <responses.RequestsMock object at 0x108894460>
adapter = <requests.adapters.HTTPAdapter object at 0x108894d60>, request = <PreparedRequest [GET]>
kwargs = {'cert': None, 'proxies': OrderedDict(), 'stream': False, 'timeout': None, ...}

    def _on_request(self, adapter, request, **kwargs):
>       match, match_failed_reasons = self._find_match(request)
E       TypeError: cannot unpack non-iterable Response object

The fix in #3529 looks sensible. In the meantime, this workaround works for me:
@pytest.fixture
def configure_ssm():
    original_responses_mock = responses._default_mock
    responses._default_mock = responses.RequestsMock(assert_all_requests_are_fired=False)
    with mock_ssm():
        # ssm setup goes here
        yield
    responses._default_mock = original_responses_mock

I encountered this with tests that use responses but not moto. The errors only appeared when the tests were run after a test that did use moto.
self = <responses.RequestsMock object at 0x108894460>
adapter = <requests.adapters.HTTPAdapter object at 0x108894d60>, request = <PreparedRequest [GET]>
kwargs = {'cert': None, 'proxies': OrderedDict(), 'stream': False, 'timeout': None, ...}

    def _on_request(self, adapter, request, **kwargs):
>       match, match_failed_reasons = self._find_match(request)
E       TypeError: cannot unpack non-iterable Response object

The fix in #3529 looks sensible. In the meantime, this workaround works for me:
@pytest.fixture
def configure_ssm():
    original_responses_mock = responses._default_mock
    responses._default_mock = responses.RequestsMock(assert_all_requests_are_fired=False)
    with mock_ssm():
        # ssm setup goes here
        yield
    responses._default_mock = original_responses_mock

This should now be fixed as of moto >= 1.3.16.dev202

This should now be fixed as of moto >= 1.3.16.dev202


refactor(renovate): restore .json5 configuration

.JSON5 presets are supported now: https://github.com/renovatebot/renovate/issues/15370
Preserving default.json until the existing repositories have migrated to the new .json5 preset.
Fixes https://github.com/simplabs/renovate-config/issues/6
Created follow up issue to clean default.json preset.

Preserving default.json until the existing repositories have migrated to the new .json5 preset.

Preserving default.json until the existing repositories have migrated to the new .json5 preset.

Preserving default.json until the existing repositories have migrated to the new .json5 preset.

What do we need to do for that in the repos?

Preserving default.json until the existing repositories have migrated to the new .json5 preset.

What do we need to do for that in the repos?

We need to specify the filename+extension https://github.com/oscard0m/test-renovate-repo/blob/main/renovate.json (renovate maintainers did not want to infer the file extension due to API quota)


doc: opt db-ql documents

const res = await db.collection("user").doc("644148fd1eeb2b524dba499e").get()
console.log(res.data)    // it might be null

Just to make the type I mentioned above more accurate

@nightwhite
In the screenshot you gave, there was a code block:
// 查询 user 集合中 name 字段等于 jack 的记录
await db.collection("user").where({
 name:"jack"
});

However, where returns a Query instead of Promise, so why did you use await?
It makes people confused.


"TypeScript for Visual Studio" installer not available for 5.1

Bug Report
There does not appear to be a "TypeScript 5.1 for Visual Studio" installer available on marketplace.visualstudio.com.
Previous releases of TypeScript have had installers made available, such as this one for 5.0.4.
Was it intended to stop publishing this for 5.1 onward?
🔎 Search Terms
Visual Studio 2019/2022, Windows SDK

https://github.com/microsoft/TypeScript/issues/54686 seems like it might be related

5.1.3 has now been published. Here is the link to it: https://marketplace.visualstudio.com/items?itemName=TypeScriptTeam.typescript-513
Apologies that it did not go up immediately. Future publishes should happen simultaneously with the NuGet releases.

Does this even work with the buildin node 12 version in VS2019 (or even node 10 in VS2017)?

@noshlag Simultaneous publishes don't seem to be working, since 5.2 is also missing from the marketplace.

Does this even work with the buildin node 12 version in VS2019 (or even node 10 in VS2017)?

Unfortunately no - there are ways of customizing VS2019 to use an alternative version of Node.js, but TypeScript won't work with the built-in Node.js from VS2019.

publishes don't seem to be working, since 5.2 is also missing from the marketplace.

Apologies, there was an oversight in the publishing process. That said, I would highly recommend switching over to using NuGet, or more preferably npm, to customize the version of TypeScript used in VS.

@cheit-epic It was on nuget.org but not anymore (because it was buggy):
https://github.com/microsoft/TypeScript/issues/57475#issuecomment-2189424566


Medium-style fonts over monospace

I'm a developer, so I love me some monospaced fonts, but I think this might be even better if you used Medium for typographic inspiration.
Or at least allow the user to toggle between monospace and a serif font.

@jessmartin, v2.0.0 moves to all proportional fonts (and fixes what was broken by the recent Slack updates).


Create small document on how we should interact on LinkedIn

Always add image alt description

P4 even if it's the second most important social media we are using right now, but I'm the only one, with Caro helping when I'm out. For now, let's go with basic common sense


Multi namespace

this modification allows digram generation for many namespace.

@simon-feamzy
Thank you for sending PR.
Your idea for supporting multiple namespaces sounds nice. Good work!
I think that you are trying to add below three features in the one PR:

Supporting multiple namespace
Supporting CronJob
Adding Google-cloud-sdk

Could you separate this PR into 3 PRs?
Quick feedback for each feature is as below:

Supporting multiple namespace
Can we handle below two use cases in a different ways?

Creating one file per one namespace: Just run the command multiple times for one namespace.
Creating one merged file for all specified namespace: Just generate one merged file in the go code.

Then, we just need to modify -n option to take namespaces via a string array and loop over the namespaces to add each to a single graph.

Supporting CronJob
Current codes looks good to me, so it will be able to merge once you separate the PR and add test codes for it.

Adding Google-cloud-sdk
I didn't get why it is needed. Let's discuss from the use cases.

Opened separated issues below. Let's discuss further there. I think that you can continue using this PR for #28 or create new PR.

Supporting multiple namespace
#28

Supporting CronJob
#27

Adding Google-cloud-sdk
#29

hey, any chance to get this into production? would love it!


Update working-with-lists-and-list-items-with-rest.md

Category

[x] Content fix
[ ] New article

Related issues:

fixes #5064

What's in this Pull Request?
Removed "REST API reference and samples" link which was pointing to https://msdn.microsoft.com/library.

Thanks... this item was assigned to me as I was working other updates to the doc (see PR #5111)... so this is now outdated. Closing, but thanks for your contribution.


🚀 Feature: Welcome screen update

🔖 Feature description
Add a block with 3 paragraphs, icons, wrapped in a border

Figma: https://www.figma.com/file/OXLtrl1EAy885to6S69554/DocsGPT?type=design&node-id=0%3A1&mode=design&t=dl0y8pTiva7YoU6z-1
🎤 Why is this feature needed ?
The introductory screen serves as the user's initial point of contact with the chatbot, ensuring a smooth and informative start to the interaction while enhancing engagement and user satisfaction
✌ How do you aim to achieve this?
The welcome paragraphs combine effective content and design to provide a user-friendly introduction, ensuring that users are informed, engaged, and motivated to continue their interaction with the chatbot or application
🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

Are you willing to submit PR?
None

H i would like to work on this issue, can you assign it to me?

Alr @dartpain you can assign this

Sorry @rahul0x00 @Lokendrakushwah12 asked about similar issue, but the one that wasnt a separate.

No problem at all!

@Lokendrakushwah12 I have updated the design and responsive behaviour for this in this issue https://github.com/arc53/DocsGPT/issues/497

Got it, will make the necessary changes

Hello @dartpain @tenokami
My Changes
Desktop view

Mobile view

I have created PR so please check it #656

@Lokendrakushwah12 Thanks. Looks good to me

@tenokami Please review the PR #646


Integrated light engine?

@MarkelZ Hi!
I was just wondering if you happened to have an example code where you have implemented light rendering (like your light engine) into your shader engine?

@OlaKenji Hi! Yes I have implemented some examples, take a look at this one: lights.zip
The example shows the core idea that my lighting engine uses for rendering lights. However, this example just renders one light and one hull, and only has hard shadows. Reimplementing the whole lighting engine would take quite some effort, and I am currently very short on time because of work :/
Are you planning on adding lights to happy ville?

@MarkelZ Thanks, I will have a look!
I thought it would be cool to also have lights in happy ville, so I will try :) let's see how it goes.

@MarkelZ I modified your code (basically added 2 for loops) so that it can take multiple rectangles and light sources.
lights.zip
Not sure if it is the most optimised code but the performance seems to be good (I hope/think). I wanted to ask how you did to get "smooth" shadow in your light engine.

Hey @OlaKenji
That's so cool! I just ran it and I get around 30 FPS on my laptop. I can give you some tips on how to optimize it:

If the distance from the pixel to the light is greater than the light's radius, you can skip it. I do this in my engine, take a look at line 59 of fragment_light.glsl. I quickly implemented it in your script and I now get around 80 FPS.

To get smooth shadows, you can create a small layer where you render the lights, and then render the layer to the screen by upscaling it. This should give you a huge FPS boost (depends on how small the layer is). Also make sure that you set the filter to linear:
layer.texture.filter = (LINEAR, LINEAR)

You can combine this with a blur shader to make the shadows a bit nicer. Otherwise you may notice some artifacts due to the scaling. My engine uses this shader: fragment_blur.glsl. Be careful with the blur radius, I remember setting it to a very large value and it crashed my computer hahaha

My engine was designed to work with arbitrary polygon-shaped hulls, so the way it calculates shadows is a bit expensive. If all the hulls in your game are axis-aligned rectangles, I recommend replacing isOcluded with something like this:
https://stackoverflow.com/questions/99353/how-to-test-if-a-line-segment-intersects-an-axis-aligned-rectange-in-2d

Not every light needs to cast shadows, especially since occlusion checking is the most expensive part. Small objects that cast light such as particle effects may skip this operation altogether.

Please keep me posted about your lighting system, I'm very interested :)

Great thank you, I will try them out!
For point 2, how should the intensities of the lights be added? For the moment, I add them up like 'finalColor += vec3(lightIntensity * fade);' inside the light source for loop in the shader. But if you would render the light separately, this wouldn't work. I guess the "adding" will be from overlapping textures with different alphas?

@OlaKenji You can just render all the lights with the for loop as you already do, but instead of rendering to the screen you can render to a small layer.
In my engine, I render the lights separately and combine them additively as you mention. I don't use the alpha channel for combining them, but instead I do it like a mask. The alpha channel has a different purpose. I could explain this in more detail if you want, but honestly, if I had to reimplement my engine I would keep it simple and have a for loop as you currently do. It would run faster and it's easier to implement, so it's a win-win.
Once you render the lights to one layer and the game-scene to another, you can combine both multiplicatively. I do exactly this in fragment_mask.glsl.

Thank you for all the suggestions and explanations! I think I managed to do something similar to your light engine. For reference, I have included an example here.
_light.zip

@OlaKenji I just ran the script and it looks nice already! One weird thing I noticed is that there are some pixels in the outline of the sprite that look bright even though they are in the shadow. Not sure why this is happening. Maybe different alpha-blending settings may fix it, the stuff I did in this commit.


fix: #3018 - UpToDateProductProvider now field of LocalDatabase

Impacted files:

add_basic_details_page.dart: got rid of UpToDateProductProvider
add_new_product_page.dart: got rid of UpToDateProductProvider
edit_ingredients_page.dart: got rid of UpToDateProductProvider
edit_product_page.dart: got rid of UpToDateProductProvider
knowledge_panel_page.dart: got rid of UpToDateProductProvider
local_database.dart: added an UpToDateProductProvider field
main.dart: got rid of UpToDateProductProvider
new_product_page.dart: got rid of UpToDateProductProvider
nutrition_page_loaded.dart: got rid of UpToDateProductProvider
personalized_ranking_model.dart: got rid of UpToDateProductProvider
personalized_ranking_page.dart: got rid of UpToDateProductProvider
Podfile.lock: wtf
product_image_gallery_view.dart: got rid of UpToDateProductProvider
product_list_item_simple.dart: got rid of UpToDateProductProvider
product_list_page.dart: got rid of UpToDateProductProvider
product_refresher.dart: got rid of UpToDateProductProvider
simple_input_page.dart: got rid of UpToDateProductProvider
summary_card.dart: got rid of UpToDateProductProvider
up_to_date_product_provider.dart: not a provider anymore; using LocalDatabase instead

What

As stated before, #3059 was a bit complex and needed to be split in easier to review parts.
This is the first step: making UpToDateProductProvider field of LocalDatabase.
The reason behind is that from background tasks we had access to  LocalDatabase but not UpToDateProductProvider.
And #3018 is in the end about making background tasks refresh the UI with the latest products - which can be done notifying LocalDatabase.

Part of

#3018

Thank you @M123-dev for your review!
I don't think the notify: false was really used. Still, I'll have a look at it.

@AshAman999 I did nothing regarding the background tasks in this PR, it was just the first step.
The pages will refresh because they watch LocalDatabase.


MNT: Remove pylint hint

It should be possible to fix some issues reported by pylint instead of disregarding them.

Sure. If we're going to manage this list, though, we should go ahead and add pylint to tox.ini.


(safe) Simple Storage Network Inventory not recognized

EMI Forge 1.0 1.19.2
Cannot use items inside the Network as they are recognized/EMI dosent know they exist ig in a way.(says in emi not enough materials or something altough they are there)
When having items in Inventory it will try to insert to items into the crafting grid but its kinda hit or miss as sometimes items dont go in grid

This is happening to all storage mods.
Up till now only Toms Simple storage seems to be half working

I've definitely been able to use AE2

RS dosent work either, i assume that is know tho

This has been further fixed in EMI 1.0.2, tested for both Refined Storage and Simple Storage Network, should work for all other mods.


Add support for GovCloud

In the past, another user created a fork which supported GC, however this hasn't been updated for this newest version. Is this planned?

I'm currently trying to port 1.3.1 to gov cloud. It mostly rolls everything out just fine, but the SchedulerConfigHelper times out and the whole operation rolls back. Is there an update on this?

I'm currently trying to port 1.3.1 to gov cloud. It mostly rolls everything out just fine, but the SchedulerConfigHelper times out and the whole operation rolls back. Is there an update on this?

I had the same problem and had to 'trick' the stack into updating (I had already deployed the previous version) by removing the changes in that resource. It updated, and immediately I ran into the issue described here: https://github.com/awslabs/aws-instance-scheduler/issues/134. I'm hoping I'm not forced into a full re-deploy as that would be a PIA for our environment.


wp-editable-list-item child for wp-editable-list

wp-editable-list will send events down to children to have editable action buttons become visible


Drug warnings widget not showing records due to API grouping

@ireneisdoomed identified that for the drug CHEMBL418995 the platform is displaying 2 records when there are 3 records in the data:
ETL output:
In [64]: dw_process.withColumn("chemblId", f.explode("chemblIds")).filter(f.col("chemblId") == "CHEMBL418995").show()
+--------------------+--------------+--------------------+--------------------+----+--------------------+-----------+----+--------------------+-------------+------------------------+-------------+------------+
|       toxicityClass|     chemblIds|             country|         description|  id|          references|warningType|year|            efo_term|       efo_id|efo_id_for_warning_class|meddraSocCode|    chemblId|
+--------------------+--------------+--------------------+--------------------+----+--------------------+-----------+----+--------------------+-------------+------------------------+-------------+------------+
|              misuse|[CHEMBL418995]|France; Thailand;...|Potential for abu...|2874|[{EDM-QSM-2001.3,...|  Withdrawn|1999|     substance abuse|MONDO:0002491|             EFO:0011049|         null|CHEMBL418995|
|dermatological to...|[CHEMBL418995]|France; Thailand;...|Abuse; Dependence...|3502|[{10.1177/0092861...|  Withdrawn|1999|                acne|  EFO:0003894|             EFO:0011048|         null|CHEMBL418995|
|              misuse|[CHEMBL418995]|France; Thailand;...|Potential for abu...|3383|[{EDM-QSM-2001.3,...|  Withdrawn|1999|substance dependence|MONDO:0004938|             EFO:0011049|         null|CHEMBL418995|
+--------------------+--------------+--------------------+--------------------+----+--------------------+-----------+----+--------------------+-------------+------------------------+-------------+------------+

API query:
query q{
  drug(chemblId: "CHEMBL418995"){
    id
    name
    drugWarnings{
      id
      toxicityClass
      warningType
      description
    }
  }
}

API response:
{
  "data": {
    "drug": {
      "id": "CHEMBL418995",
      "name": "AMINEPTINE",
      "drugWarnings": [
        {
          "id": 3502,
          "toxicityClass": "dermatological toxicity",
          "warningType": "Withdrawn",
          "description": "Abuse; Dependence; Severe Acne"
        },
        {
          "id": 3383,
          "toxicityClass": "misuse",
          "warningType": "Withdrawn",
          "description": "Potential for abuse and risk of dependence; Follows the decision taken by France to suspend amineptine on the basis of abuse and dependency potential"
        }
      ]
    }
  }
}

This is the consequence of an incorrect grouping strategy agreed here: opentargets/platform#1506.
We believe the issue would be fixed in the API code here if we use as unique field the column id instead of the combination of warningType and toxicityClass.

There're 3 elements in elastic search but the API is aggregating by warningtype and toxicityclass. If we query the API including the references we'll see that misuse has 2 references:
query:
query q{
  drug(chemblId: "CHEMBL418995"){
    id
    name
    drugWarnings{
      id
      toxicityClass
      warningType
      description
      references {
        id
        source
        url
      }
    }
  }
}

reponse:
{
  "data": {
    "drug": {
      "id": "CHEMBL418995",
      "name": "AMINEPTINE",
      "drugWarnings": [
        {
          "id": 3502,
          "toxicityClass": "dermatological toxicity",
          "warningType": "Withdrawn",
          "description": "Abuse; Dependence; Severe Acne",
          "references": [
            {
              "id": "10.1177/009286150103500134",
              "source": "DOI",
              "url": "https://doi.org/10.1177/009286150103500134"
            }
          ]
        },
        {
          "id": 3383,
          "toxicityClass": "misuse",
          "warningType": "Withdrawn",
          "description": "Potential for abuse and risk of dependence; Follows the decision taken by France to suspend amineptine on the basis of abuse and dependency potential",
          "references": [
            {
              "id": "EDM-QSM-2001.3",
              "source": "WHO",
              "url": "https://www.who.int/publications/i/item/EDM-QSM-2001.3"
            },
            {
              "id": "EDM-QSM-2001.3",
              "source": "WHO",
              "url": "https://www.who.int/publications/i/item/EDM-QSM-2001.3"
            }
          ]
        }
      ]
    }
  }
}

Resolved in dev


Branch created with no changes identified

user case:

task released, and branch created with no issues, checksums in table ZABAPGIT updated
branch deleted from GITHUB
create branch again, branch created with no changes identified

findings from my side
ZCL_ABAPGIT_TRANSPORT_OBJECTS-->TO_STAGE is checking if flag LSTATE is not checked.
LSTATE is checked when something different found between dev code and checksums in table ZABAPGIT. LSTATE wont be checked when trying to create the second branch as checksums have been updated when the first branch is created.
Would you please advise if there is any solution for this user case?

Hi @7qiang
I'm not sure where you expect any differences when you create a new branch?
Maybe I missed something, but this is how git works.


Move Distance (and related) from unxt to here

See above!

Not strongly opinion on this. It does more closely match the layout of Astropy, so that's good.


complex_layout_scroll_perf__devtools_memory is 4.65% flaky

The benchmark test complex_layout_scroll_perf__devtools_memory had a flaky ratio 4.65%, which is above our self-imposed 2% threshold.
(Creating this issue as part of the gardener rotation.)

See also: https://github.com/flutter/flutter/pull/82739 which will hopefully reduce some of the startup flakes and https://github.com/flutter/devtools/issues/3037 which means the test is actually producing 0 useful data

As @jonahwilliams mentioned, this is due to https://github.com/flutter/flutter/issues/82142

The cause of the flakiness has been addressed by fixing https://github.com/flutter/flutter/issues/82142, so closing this as presumed fixed.


Can't install BetterDiscord on macOS Monterey 12.1 Dev Beta 2

Updated screenshot

Wrong GitHub repo
join the support server and they should have a fix for it

Make sure you have the latest version of the installer, if the issue repeats open an issue on the Installer repo


Deploy on GitHub Pages

Is there any documentation about deploying a FastHTML website in GH Pages?

i don't think FastHTML based projects can be deployed to GH Pages, as per their docs

GitHub Pages does not support server-side languages such as PHP, Ruby, or Python.

 Thank you for confirming that Philip :+1:


Add option to remove ipv4 for instances

resource "hcloud_server" "server_test" {

  public_net {
    ipv4_enabled = false
  }
}

I suggest to have;

all worker nodes private only;
control-plane is optionally private;
an optional variable hcloud_network_id in which case the network is not created within the module and you have an option to create a step-stone server


bug: Issue due to Empty button when the clearInput property is used

Bug Report
Ionic version:

[ ] 4.x
[x] 5.x
Current behavior:
When clearInput property in ion-input for allowing the option to user to clear the input, this adds an empty button.
Screen reader won’t be able to read this and the tab navigation doesn’t focus the button.
Refer to item 3 in the document shared in Slack for further details.
https://ionicteam.slack.com/archives/C7CGXAVTL/p1592319616186200

Closing. An aria-label was added to the clear button in v5.2.2. Not being able to tab to the clear button is the correct behavior and matches what browsers do for input type="search". See the following CodePen in Chrome for an example: https://codepen.io/anon/pen/kjyAF.

@liamdebeasi - the model being followed here was more along what Google does:

https://www.google.com/
start typing in the one thing on the page... and an X appears to the right
press Tab
hit enter
input is now cleared

Do we have an easy way to set up that kind of behavior with our input component with a clearInput?

Hmm I think I like that behavior better. I will reopen and we can add this to Ionic.

Fixed via https://github.com/ionic-team/ionic/pull/21633.

@liamdebeasi - one part of how this works I find troubling from an a11y perspective is that once you do the following you are not back at the input ready for re-entery:

tab into input
type some random text
tab into clear button
return

At that point, I expect to be back at the input ready to enter more text, but I am ???? I am actually not entirely sure what is active at that point, but I cannot type more text.


Remove ping from foe messages

Currently this only removes the ability to ping from users who have been explicitly foed. However chat only users who cannot be foed can still ping


Foundation tabs are broken

Please see screenshot, this is breaking the foundations tabs.

That's how the tabs are initialized, you must include an href value in your tab link in order for the js to know where to look for your corresponding tab.


Add EvWilson/spelunk.nvim

Repo URL:
https://github.com/EvWilson/spelunk.nvim
Checklist:

[X] The plugin is specifically built for Neovim, or if it's a colorscheme, it supports treesitter syntax.
[X] The lines end with a .. This is to conform to awesome-list linting and requirements.
[X] The title of the pull request is Add/Update/Remove `username/repo`  (notice the backticks around `username/repo`) when adding a new plugin.
[ ] The description doesn't mention that it's a Neovim plugin, it's obvious from the rest of the document. No mentions of the word plugin unless it's related to something else. No .. for Neovim.
[X] The description doesn't contain emojis.
[X] Neovim is spelled as Neovim (not nvim, NeoVim or neovim), Vim is spelled as Vim (capitalized), Lua is spelled as Lua (capitalized), Tree-sitter is spelled as Tree-sitter.
[X] Acronyms should be fully capitalized, for example LSP, TS, YAML, etc.

Thanks for the PR!

Thanks again for accepting it!


TestNG, Multiple duplicate listener warnings on implementing multiple listener interfaces

TestNG Version

6.11

Also refer - Link to Stackoverflow Comments
Expected behavior
If i have a single Listener class that implements multiple listeners eg: IAnnotationTransformer, IInvokedMethodListener, ITestListener and IReporter etc...
Then the warning indicating multiple listeners must not be displayed if this the act of implementing multiple TestNG listener interface is of no consequence.
Actual behavior
My Test run successfully BUT i get a warning "[TestNG] [WARN] Ignoring duplicate listener : com.NGtest.RetryListener". This warning is shown for every method call i.e. Listener gets called multiple times per test method invocation, and hence the IGNORED duplicate warning.
Is the issue reproductible on runner?

[ ] Shell
[ ] Maven
[ ] Gradle
[ ] Ant
[x] Eclipse
[ ] IntelliJ
[ ] NetBeans

Test case sample
Listener Class:
import java.util.List;
import org.testng.IInvokedMethod;
import org.testng.IInvokedMethodListener;
import org.testng.IReporter;
import org.testng.ISuite;
import org.testng.ITestContext;
import org.testng.ITestListener;
import org.testng.ITestResult;
import org.testng.xml.XmlSuite;

public class RetryListener implements IAnnotationTransformer, IInvokedMethodListener, ITestListener, IReporter {
	@Override
	public void transform(ITestAnnotation annotation, Class testClass, Constructor testConstructor, Method testMethod) { }

	@Override
	public void beforeInvocation(IInvokedMethod arg0, ITestResult arg1) { }

	@Override
	public void afterInvocation(IInvokedMethod arg0, ITestResult iTestResult) { }

	@Override
	public void onFinish(ITestContext context) { }

	@Override
	public void onStart(ITestContext arg0) { }

	@Override
	public void onTestFailedButWithinSuccessPercentage(ITestResult arg0) {}

	@Override
	public void onTestFailure(ITestResult arg0) { }

	@Override
	public void onTestSkipped(ITestResult arg0) { }

	@Override
	public void onTestStart(ITestResult arg0) { }

	@Override
	public void onTestSuccess(ITestResult arg0) { }

	@Override
	public void generateReport(List<XmlSuite> arg0, List<ISuite> arg1, String arg2) { }
}

Test Class:
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;

public class RetryProvider {
    @Test (dataProvider = "datasource")
    public void Test1(int code, String type, ITestContext context){
        System.out.println("Test1(): " + code + " : " + type);
    }

    @DataProvider(name = "datasource")
    public Object[][] getData(){
        Object[][] data = new Object[3][2];
        data[0][0] = 1;
        data[0][1] = "apple";
        data[1][0] = 2;
        data[1][1] = "mango";
        data[2][0] = 1;
        data[2][1] = "guava";
        return data;
    }
}

Test Xml:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="NGBug Suite">
	<listeners><listener class-name="com.NGtest.RetryListener" /></listeners>
	<test name="NGBug Test">
		<classes><class name="com.NGtest.RetryProvider" /></classes>
	</test> <!-- Test -->
</suite> <!-- Suite -->

Test Result:
[TestNG] [WARN] Ignoring duplicate listener : com.NGtest.RetryListener
[TestNG] [WARN] Ignoring duplicate listener : com.NGtest.RetryListener
[TestNG] [WARN] Ignoring duplicate listener : com.NGtest.RetryListener
Test1(): 1 : apple
Test1(): 2 : mango
Test1(): 3 : guava

I have seen this issue as well today, while debugging issues with pitest versions 1.1.5 and up.
I will make a ticket there as well, but it is related to TestNG, since the pitests are failing because of the error "Ignoring duplicate listener : org.pitest.testng.TestNGAdapter".
As mentioned in the StackOverflow comment by Robby Cornelissen it probably boils down to this commit which is in TestNG versions 6.10 and 6.11.
I've verified that TestNG 6.10 and 6.11 in combination with pitest versions 1.1.5 and upwards are breaking.

@MariusVolkhart - You are right about that commit. TestNG was changed to ensure that duplicate listener instances aren't wired in. Can you please elaborate as to what is the issue that you are facing ?

@bipo1980

This warning is shown for every method call i.e. Listener gets called multiple times per test method invocation, and hence the IGNORED duplicate warning.

That's not how the behavior was expected to be. It should be showing this warning ONCE per duplicate instance being injected.
Can you please help share a full fledged sample that I can execute to recreate this problem ?

@krmahadevan Hm, it seems that the issues are not really related after all. I failed to notice that this issue was about adding one class implementing multiple listeners. It seems that pitest is reusing the same TestNG instance for their mutation tests. The owner of pitest is working on it on their side.

@krmahadevan Done. updated the original sample with the complete code. Hope this will suffice.

@bipo1980 - This looks like a problem only when the suite xml is executed from within eclipse (using the eclipse TestNG plugin). I have not been able to recreate the problem using either IntelliJ (or) when executing via a command line using Maven.
ping @missedone - Can you please help take a look at this one ?

@krmahadevan, RetryListener in the example implements IReporter, when launch the suite in Eclipse Plugin, it was added multi times.

AbstractRemoteTestNG#run() -> TestNG#run() -> initializeConfiguration() -> add all suite listeners, see code here
TestNG#run() -> runSuites() -> runSuitesLocally() -> createSuiteRunners() -> createSuiteRunner() -> add all suite reporters, see code here

so the fix might be set a flag (e.g. cfgInitialized=true) in initializeConfiguration() then check the value in createSuiteRunner() to avoid duplicate


Don't use rexml for the JUnit formatter

Closes https://github.com/Shopify/erb_lint/issues/371
Follows https://github.com/rubocop/rubocop/pull/13165
This leaves the output mostly the same, except that text is no longer wrapped in CDATA. Some things possibly need to be escaped now, and CDATA has different escaping needs. So, just use the same escaping everywhere

What you're doing seems safe but still, let's always escape whole strings.

Yeah, sure. It shouldn't matter much. I just added escaping to pretty much everything now.


find_a_fit does not care about secret directions

find_a_fit() in generate.py only cares about WordSearch.directions and never checks if the word is secret or limits itself to using WordSeach.secret_directions.  I've typed a quick fix already.
The easiest fix (that I've already typed) is to change the type signature of find_a_fit from having word: str to word: Word and switch which set of valid directions to use depending if word.secret is True.
A more complex fix would be to leave word: str in the signature and add the list of valid directions as a param to find_a_fit.  Switching the set of valid directions would be handled in fill_words and passed through try_to_fit_word.  Doing it this way would allow API consumers to forcibly add a word in the direction of their choosing.  However, the current generation flow does not provide an opportunity for an API client to inject words between word placement and filling the random letters.
Out-of-scope for this issue, but perhaps the WordSearch init could be modified to take a list of forced words to provide such a feature to API clients.  Each forced_word would be tuple[str, set[Direction], bool].  The boolean in the tuple is whether or not the word is treated like a secret word (defaults to True).

Good catch! I would say the first option makes the most sense. The other options would require a few additional changes to the API to keep up with any custom 'injected' directions that weren't already allowable within the WordSearch instance. Injected words with custom direction seems like a pretty extreme edge case.


H7133 Heater

Please explain your feature request in a one or two sentences.

Support for Govee Heater model H7133

Is your feature request related to a problem? Please describe.

Any particular Govee devices that this relates to?

Anything else?

[Space Heater Pro] is not currently supported, do create a Github issue with the following info:
{"device":"C5:2C:60:74:F4:41:EA:A0","deviceName":"Space Heater Pro","model":"H7133","httpInfo":{"groupId":0,"device":"C5:2C:60:74:F4:41:EA:A0","sku":"H7133","spec":"","versionHard":"1.02.00","versionSoft":"1.00.20","deviceName":"Space Heater Pro","deviceExt":{"deviceSettings":"{"wifiName":\xxxxxxx","address":"11:22:33:44:55:66","bleName":"GVH7133EAA1","topic":"GD/c18c6fe8014d6e4ce1363924ee87801c","wifiMac":"xx:xx:xx:xx:xx:xx","pactType":1,"pactCode":1,"wifiSoftVersion":"1.00.20","wifiHardVersion":"1.02.00","ic":0,"secretCode":"bRS3O7lTQx0=","dumpOnOff":1,"mcuSoftVersion":"1.00.13\u0000","mcuHardVersion":"1.00.12\u0000","boilWaterCompletedNotiOnOff":1,"completionNotiOnOff":1,"autoShutDownOnOff":0,"sku":"H7133","device":"C5:2C:60:74:F4:41:EA:A0","deviceName":"Space Heater Pro","versionHard":"1.02.00","versionSoft":"1.00.20","playState":false}","lastDeviceData":"{"online":false}","extResources":"{"skuUrl":"https://d1f2504ijhdyjw.cloudfront.net/sku-img/2eb9ff0b5a4d5b17a85d725f54442b1c-add_list_type_device_7133.png\",\"headOnImg\":\"\",\"headOffImg\":\"\",\"ext\":\"\",\"ic\":0}"},"pactType":1,"pactCode":1,"share":0,"goodsType":174,"attributesId":68,"supportScene":0}}

I installed the beta on home bridge. H7133 works for me now!
https://github.com/homebridge/homebridge/wiki/How-to-Install-Alternate-Plugin-Versions


Need To Customize Style

Add Feature for customize the css property .

@lanjingling0510 is it possible to add className props to component ? if so, it would be better


Bug report with expression close to 0 (zero)

I'm submitting a ...

[x] bug report
[ ] feature request
[ ] other (Please do not submit support requests here (see above))

Current behavior:

Expected / new behavior:

Minimal reproduction of the problem with instructions:

AngularJS version: 1.x.y

Browser: [all | Chrome XX | Firefox XX | Edge XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Anything else:

Angular 1.6 doesn't work with the below and 0 input is consider as 0.000000001 (Ang .1.2 + Chrome)
Hello I am trying to Extract VAT(or iva in Italian) but after changing one row with the vat the amount below is wrong:
totImp += (item.qty * (item.price -(item.price * item.percent/100))) / ((100 + item.iva)/100);

It isn't exactly clear what the issue is (or what version this happens on), but it sounds like have fallen victim of Floating Point Arithmetic precision issues, which are not Angular-specific.
There are several resources on how to deal with it, depending on the usecase and requirements (e.g. precision, number ranges, etc). For example, see this question for some explanations and pointers to resources.


update ipfs to latest 0.4.x

i would like to run an ipfs node and write a NixOS service.
https://github.com/ipfs/go-ipfs#download-and-compile-ipfs
cc @zimbatm @kamilchm @rardiol

I started doing it. There is a branch at https://github.com/zimbatm/nixpkgs/tree/ipfs-0.4.2 and I've packaged the gx and gx-go tools that are now fetch dependencies to ipfs. The last bit would be to create a fetcher for those.

I'm working to change deps.json to deps.nix in buildGoPackage. I have it working for one package and need to migrate other pacakges. I can look at it after that.

The last bit would be to create a fetcher for those.

@zimbatm something like replace curl with https://github.com/ipfs/ipget in fetchurl?

@davidak it has to be gx with the gx-go to provide the right structure on the disk (instead of ipget), but yes another fetcher basically.

It looks like  https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/networking/ipfs/default.nix is broken on the stable nixos channel:
builder for ‘/nix/store/vwpfqrwflh6khw8xl50si1rcfq6a6nbr-go1.7-ipfs-i20160112--7070b4d.drv’ failed with exit code 99
cannot build derivation ‘/nix/store/phb2b3qkrba1g6yzng9bp6n0gfjr9kqw-system-path.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/2si7m90l0av9k1h81wpw4iawhz4hz5l7-nixos-system-nixos-16.09.1149.e360c72.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/2si7m90l0av9k1h81wpw4iawhz4hz5l7-nixos-system-nixos-16.09.1149.e360c72.drv’ failed

Is it a known problem ? Shall open a new issue for this ?

@PierreR Yeah, please open a new issue. This is an old issue that was fixed with my commit you mentioned. A little bit more
I've just built ipfs on the current master successfully. You're probably on the release-16.09 branch where ipfs was broken for a while. We could try backporting the version bump and the fetchgx stuff. You could try and test that and open a PR if you have the time. ;)


images not found

latest haos

What is this about? Care to add some explanations?

about 404 errors on images as shown on the screenshot above

I mean - where are you trying to see these data, in a browser? In HACS?

in hacs

image urls point to my ha, for example: https://myha.tld/images/service_example.png

installation changes nothing

I pressed "Update information" and reloaded page with shift several times, but it still doesn't work ):


simplify WrappedEncodedRow

After a lot of checking, some elements of WrappedEncodedRow will not be used anymore. We can simplify it.

/run-all-tests


Can't run Multiple Lexers

This is a (non-functional) example of what I was attempting:
var lexers = {
    chat: new marked.InlineLexer([], {sanitize: true, smartypants:true, gfm:true})
  , content: new marked.Lexer({sanitize: true, smartypants:true, gfm:true})
};
// disable images, but allow links
lexers.chat.rules.link = /^\[((?:\[[^\]]*\]|[^\]]|\](?=[^\[]*\]))*)\]\(\s*<?([^\s]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*\)/;

Unfortunately, the Lexer and InlineLexer classes don't behave the same way, so...
var lexers = {
    chat: new marked.InlineLexer([], {sanitize: true, smartypants:true, gfm:true})
  , content: marked
};
// disable images, but allow links
lexers.chat.rules.link = /^\[((?:\[[^\]]*\]|[^\]]|\](?=[^\[]*\]))*)\]\(\s*<?([^\s]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*\)/;

Should work, by exposing lexer.content( ) as a direct mapping to the non-inline Marked parser.  Unfortunately, it doesn't -- the editing of the InlineLexer via changing the rules also impacts the second marked function.
As a workaround, I attempted:
var otherMarked = require('marked');
var lexers = {
    chat: new eval(marked.InlineLexer)([], {sanitize: true, smartypants:true, gfm:true})
  , content: otherMarked
};
// disable images, but allow links
lexers.chat.rules.link = /^\[((?:\[[^\]]*\]|[^\]]|\](?=[^\[]*\]))*)\]\(\s*<?([^\s]*?)>?(?:\s+['"]([\s\S]*?)['"])?\s*\)/;

...to no avail.  Perhaps we should unify the lexer structures and/or standardize how they are exposed?

Closing as stale. Please see #956 and please re-submit if you are still using and marked and the defect is still present.


[SPARK-32320][PYSPARK] Remove mutable default arguments

This is bad practice, and might lead to unexpected behaviour:
https://florimond.dev/blog/articles/2018/08/python-mutable-defaults-are-the-source-of-all-evil/
fokkodriesprong@Fan spark % grep -R "={}" python | grep def

python/pyspark/resource/profile.py:    def __init__(self, _java_resource_profile=None, _exec_req={}, _task_req={}):
python/pyspark/sql/functions.py:def from_json(col, schema, options={}):
python/pyspark/sql/functions.py:def to_json(col, options={}):
python/pyspark/sql/functions.py:def schema_of_json(json, options={}):
python/pyspark/sql/functions.py:def schema_of_csv(csv, options={}):
python/pyspark/sql/functions.py:def to_csv(col, options={}):
python/pyspark/sql/functions.py:def from_csv(col, schema, options={}):
python/pyspark/sql/avro/functions.py:def from_avro(data, jsonFormatSchema, options={}):

fokkodriesprong@Fan spark % grep -R "=\[\]" python | grep def
python/pyspark/ml/tuning.py:    def __init__(self, bestModel, avgMetrics=[], subModels=None):
python/pyspark/ml/tuning.py:    def __init__(self, bestModel, validationMetrics=[], subModels=None):

What changes were proposed in this pull request?
Removing the mutable default arguments.

Why are the changes needed?
Removing the mutable default arguments, and changing the signature to Optional[...].

Does this PR introduce any user-facing change?
No 👍

How was this patch tested?
Using the Flake8 bugbear code analysis plugin.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Fixed the voilations:
./python/pyspark/ml/regression.py:1743:40: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
                 quantileProbabilities=list([0.01, 0.05, 0.1, 0.25, 0.5, 0.75, 0.9, 0.95, 0.99]),
                                       ^
./python/pyspark/ml/regression.py:1761:41: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
                  quantileProbabilities=list([0.01, 0.05, 0.1, 0.25, 0.5, 0.75, 0.9, 0.95, 0.99]),
                                        ^
./python/pyspark/ml/tuning.py:511:46: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
    def __init__(self, bestModel, avgMetrics=[], subModels=None):
                                             ^
./python/pyspark/ml/tuning.py:871:53: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
    def __init__(self, bestModel, validationMetrics=[], subModels=None):
                                                    ^
./python/pyspark/resource/profile.py:35:63: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
    def __init__(self, _java_resource_profile=None, _exec_req={}, _task_req={}):
                                                              ^
./python/pyspark/resource/profile.py:35:77: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
    def __init__(self, _java_resource_profile=None, _exec_req={}, _task_req={}):
                                                                            ^
./python/pyspark/sql/functions.py:2479:36: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
def from_json(col, schema, options={}):
                                   ^
./python/pyspark/sql/functions.py:2527:26: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
def to_json(col, options={}):
                         ^
./python/pyspark/sql/functions.py:2567:34: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
def schema_of_json(json, options={}):
                                 ^
./python/pyspark/sql/functions.py:2597:32: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
def schema_of_csv(csv, options={}):
                               ^
./python/pyspark/sql/functions.py:2623:25: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
def to_csv(col, options={}):
                        ^
./python/pyspark/sql/functions.py:2934:35: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
def from_csv(col, schema, options={}):
                                  ^
./python/pyspark/sql/avro/functions.py:29:47: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
def from_avro(data, jsonFormatSchema, options={}):
                                              ^
./dev/sparktestsupport/modules.py:34:97: B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
    def __init__(self, name, dependencies, source_file_regexes, build_profile_flags=(), environ={},
                                                                                ^
14    B006 Do not use mutable data structures for argument defaults.  They are created during function definition time. All calls to the function reuse this one instance of that data structure, persisting changes between them.
14
1

Furthermore:

Added flake8-bugbear to the CI. This is a well known additional set of rules next to flake8: https://github.com/pycqa/flake8-bugbear
Added the B006 rule, which is the mutable arguments rule :)

ok to test

cc @huaxingao and @zhengruifeng FYI

Test build #130061 has started for PR 29122 at commit e699c49.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34670/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34670/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34670/
Test FAILed.

Test build #130061 has finished for PR 29122 at commit e699c49.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130061/
Test FAILed.

Test build #130101 has started for PR 29122 at commit ee7a763.

Test build #130103 has started for PR 29122 at commit 1da61d4.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34710/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34710/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34710/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34712/

Test build #130104 has started for PR 29122 at commit cb04d54.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34712/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34712/
Test PASSed.

Test build #130101 has finished for PR 29122 at commit ee7a763.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130101/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34713/

Test build #130103 has finished for PR 29122 at commit 1da61d4.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130103/
Test FAILed.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34713/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34713/
Test PASSed.

Test build #130107 has started for PR 29122 at commit e011266.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34716/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34716/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34716/
Test FAILed.

Test build #130104 has finished for PR 29122 at commit cb04d54.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130104/
Test PASSed.

Test build #130107 has finished for PR 29122 at commit e011266.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130107/
Test PASSed.

Test build #131539 has started for PR 29122 at commit 1b5a7aa.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36142/

Test build #131539 has finished for PR 29122 at commit 1b5a7aa.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/131539/
Test FAILed.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36142/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/36142/
Test PASSed.

Test build #131606 has started for PR 29122 at commit 1b5a7aa.

Test build #131606 has finished for PR 29122 at commit 1b5a7aa.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/131606/

Build finished.

Build finished.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/36207/

Test build #131658 has started for PR 29122 at commit 0e372ca.

Test build #131658 has finished for PR 29122 at commit 0e372ca.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Build finished.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/131658/

Build finished.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/36259/

Build finished.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/131700/

test this please

Test build #131701 has started for PR 29122 at commit b628156.

Test build #131701 has finished for PR 29122 at commit b628156.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Build finished.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/131701/

Build finished.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/36299/

Build finished.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/36300/

Test build #131765 has started for PR 29122 at commit c75cd57.

Test build #131765 has finished for PR 29122 at commit c75cd57.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class ShowColumns(

Build finished.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/131765/

Build finished.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/36362/

@zhengruifeng done! :)

Test build #132225 has started for PR 29122 at commit 11f3790.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36825/

Test build #132225 has finished for PR 29122 at commit 11f3790.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132225/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/36825/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/36825/

Just for the record and FWIW I don't mind merging this PR. I will leave it to other committers here.

retest this please

Test build #132313 has started for PR 29122 at commit 11f3790.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/36913/

Test build #132313 has finished for PR 29122 at commit 11f3790.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132313/

retest this please

Test build #132338 has started for PR 29122 at commit 11f3790.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/36938/

Test build #132338 has finished for PR 29122 at commit 11f3790.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/132338/

@zhengruifeng the tests are broken globally for an unknown reason. It's being investigated at https://github.com/apache/spark/pull/30645 and it's hardly related to the current change. I think it's fine to merge if the test results bother you.

@HyukjinKwon Thanks for your explanation!

Merged to master, thanks all!


Replaces sasslint to stylelint to conform to changes in core dashboards

Testing
run yarn lint. It should pass without any errors
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@DarshitChanpura The CI checks are failing because of Error: Cannot find module '/home/runner/work/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/scripts/stylelint' is this something that you can fix independent of moving to the new dashboard version?

@DarshitChanpura The CI checks are failing because of Error: Cannot find module '/home/runner/work/security-dashboards-plugin/security-dashboards-plugin/OpenSearch-Dashboards/scripts/stylelint' is this something that you can fix independent of moving to the new dashboard version?

Good Point! I think I will have to merge these changes in version bump PR and move forward from there

Closing this PR now as these changes are covered in #928


Screenshot is Glitched.

Hyprlock logs. 👇🏽

󰘧 hyprlock
[ERR] Config has errors:
Config error in file /home/niksingh710/repos/gui-configuration/hypr/.config/hypr/hyprlock.conf at line 19: config option <input-field:placeholder-text> does not exist.
Config error in file /home/niksingh710/repos/gui-configuration/hypr/.config/hypr/hyprlock.conf at line 31: config option <label:allow_breaks> does not exist.
Config error in file /home/niksingh710/repos/gui-configuration/hypr/.config/hypr/hyprlock.conf at line 44: config option <label:allow_breaks> does not exist.
Proceeding ignoring faulty entries
[LOG]   | got iface: wl_shm v1
[LOG]   | got iface: wl_drm v2
[LOG]   | got iface: zwp_linux_dmabuf_v1 v4
[LOG]    > Bound to zwp_linux_dmabuf_v1 v4
[LOG]   | got iface: wl_compositor v6
[LOG]    > Bound to wl_compositor v6
[LOG]   | got iface: wl_subcompositor v1
[LOG]   | got iface: wl_data_device_manager v3
[LOG]   | got iface: zwlr_export_dmabuf_manager_v1 v1
[LOG]   | got iface: zwlr_data_control_managehttps://github.com/hyprwm/Hyprland/issues/4744r_v1 v2
[LOG]   | got iface: zwp_primary_selection_device_manager_v1 v1
[LOG]   | got iface: wp_viewporter v1
[LOG]    > Bound to wp_viewporter v1
[LOG]   | got iface: zwlr_gamma_control_manager_v1 v1
[LOG]   | got iface: zwlr_output_power_manager_v1 v1
[LOG]   | got iface: xdg_wm_base v6
[LOG]   | got iface: wl_seat v9
[LOG]    > Bound to wl_seat v9
[LOG]   | got iface: wp_presentation v1
[LOG]   | got iface: ext_idle_notifier_v1 v1
[LOG]   | got iface: zwlr_layer_shell_v1 v4
[LOG]   | got iface: org_kde_kwin_server_decoration_manager v1
[LOG]   | got iface: zxdg_decoration_manager_v1 v1
[LOG]   | got iface: zwlr_output_manager_v1 v4
[LOG]   | got iface: zwp_keyboard_shortcuts_inhibit_manager_v1 v1
[LOG]   | got iface: zwp_pointer_constraints_v1 v1
[LOG]   | got iface: zwp_relative_pointer_manager_v1 v1
[LOG]   | got iface: zwp_virtual_keyboard_manager_v1 v1
[LOG]   | got iface: zwlr_virtual_pointer_manager_v1 v2
[LOG]   | got iface: zwlr_foreign_toplevel_manager_v1 v3
[LOG]   | got iface: wp_drm_lease_device_v1 v1
[LOG]   | got iface: zwp_tablet_manager_v2 v1
[LOG]   | got iface: zwp_idle_inhibit_manager_v1 v1
[LOG]   | got iface: zxdg_exporter_v1 v1
[LOG]   | got iface: zxdg_importer_v1 v1
[LOG]   | got iface: zxdg_exporter_v2 v1
[LOG]   | got iface: zxdg_importer_v2 v1
[LOG]   | got iface: zwp_pointer_gestures_v1 v3
[LOG]   | got iface: zwp_text_input_manager_v3 v1
[LOG]   | got iface: zwp_input_method_manager_v2 v1
[LOG]   | got iface: xdg_activation_v1 v1
[LOG]   | got iface: ext_session_lock_manager_v1 v1
[LOG]    > Bound to ext_session_lock_manager_v1 v1
[LOG]   | got iface: wp_cursor_shape_manager_v1 v1
[LOG]    > Bound to wp_cursor_shape_manager_v1 v1
[LOG]   | got iface: wp_tearing_control_manager_v1 v1
[LOG]   | got iface: wp_single_pixel_buffer_manager_v1 v1
[LOG]   | got iface: xwayland_shell_v1 v1
[LOG]   | got iface: hyprland_toplevel_export_manager_v1 v2
[LOG]   | got iface: wp_fractional_scale_manager_v1 v1
[LOG]    > Bound to wp_fractional_scale_manager_v1 v1
[LOG]   | got iface: zwp_text_input_manager_v1 v1
[LOG]   | got iface: hyprland_global_shortcuts_manager_v1 v1
[LOG]   | got iface: zwlr_screencopy_manager_v1 v3
[LOG]    > Bound to zwlr_screencopy_manager_v1 v3
[LOG]   | got iface: zxdg_output_manager_v1 v3
[LOG]   | got iface: wl_output v4
[LOG]    > Bound to wl_output v4
[LOG] [core] dmabufFeedbackMainDevice
[LOG] output 49 make Chimei Innolux Corporation model 0x14D4
[LOG] output 49 name eDP-1
[LOG] output 49 description Chimei Innolux Corporation 0x14D4 (eDP-1)
[LOG] Locking session
[LOG] eglQueryDmaBufModifiersEXT found 4 mods
[LOG] bo chose modifier<PHONE_NUMBER>00004
[LOG] onLockLocked called
[LOG] got fractional 1
[LOG] got fractional 1
[LOG] configure with serial 2895
[LOG] Configuring surface for logical [Vector2D: x: 1920, y: 1080] and pixel [Vector2D: x: 1920, y: 1080]
[LOG] Authenticating
[LOG] Unlocking session
[LOG] Unlocked, exiting!
[LOG] Reached the end, exiting

Hyprland logs was to long to upload so last 1000 lines is there.
Maybe associated with https://github.com/hyprwm/Hyprland/issues/4744

This is how the screen shot is.

Screenshots captured using flameshot or grim are fine.
https://github.com/hyprwm/hyprlock/commit/272fc359adb80f2926ef0055192d170ab52ea22f appears to be the first faulty commit

verbose log please

What do you mean with "verbose"?

hyprlock output
$ hyprlock
[LOG]   | got iface: wl_shm v1
[LOG]   | got iface: wl_drm v2
[LOG]   | got iface: zwp_linux_dmabuf_v1 v4
[LOG]    > Bound to zwp_linux_dmabuf_v1 v4
[LOG]   | got iface: wl_compositor v6
[LOG]    > Bound to wl_compositor v6
[LOG]   | got iface: wl_subcompositor v1
[LOG]   | got iface: wl_data_device_manager v3
[LOG]   | got iface: zwlr_export_dmabuf_manager_v1 v1
[LOG]   | got iface: zwlr_data_control_manager_v1 v2
[LOG]   | got iface: zwp_primary_selection_device_manager_v1 v1
[LOG]   | got iface: wp_viewporter v1
[LOG]    > Bound to wp_viewporter v1
[LOG]   | got iface: zwlr_gamma_control_manager_v1 v1
[LOG]   | got iface: zwlr_output_power_manager_v1 v1
[LOG]   | got iface: xdg_wm_base v6
[LOG]   | got iface: wl_seat v9
[LOG]    > Bound to wl_seat v9
[LOG]   | got iface: wp_presentation v1
[LOG]   | got iface: ext_idle_notifier_v1 v1
[LOG]   | got iface: zwlr_layer_shell_v1 v4
[LOG]   | got iface: org_kde_kwin_server_decoration_manager v1
[LOG]   | got iface: zxdg_decoration_manager_v1 v1
[LOG]   | got iface: zwlr_output_manager_v1 v4
[LOG]   | got iface: zwp_keyboard_shortcuts_inhibit_manager_v1 v1
[LOG]   | got iface: zwp_pointer_constraints_v1 v1
[LOG]   | got iface: zwp_relative_pointer_manager_v1 v1
[LOG]   | got iface: zwp_virtual_keyboard_manager_v1 v1
[LOG]   | got iface: zwlr_virtual_pointer_manager_v1 v2
[LOG]   | got iface: zwlr_foreign_toplevel_manager_v1 v3
[LOG]   | got iface: wp_drm_lease_device_v1 v1
[LOG]   | got iface: zwp_tablet_manager_v2 v1
[LOG]   | got iface: zwp_idle_inhibit_manager_v1 v1
[LOG]   | got iface: zxdg_exporter_v1 v1
[LOG]   | got iface: zxdg_importer_v1 v1
[LOG]   | got iface: zxdg_exporter_v2 v1
[LOG]   | got iface: zxdg_importer_v2 v1
[LOG]   | got iface: zwp_pointer_gestures_v1 v3
[LOG]   | got iface: zwp_text_input_manager_v3 v1
[LOG]   | got iface: zwp_input_method_manager_v2 v1
[LOG]   | got iface: xdg_activation_v1 v1
[LOG]   | got iface: ext_session_lock_manager_v1 v1
[LOG]    > Bound to ext_session_lock_manager_v1 v1
[LOG]   | got iface: wp_cursor_shape_manager_v1 v1
[LOG]    > Bound to wp_cursor_shape_manager_v1 v1
[LOG]   | got iface: wp_tearing_control_manager_v1 v1
[LOG]   | got iface: wp_single_pixel_buffer_manager_v1 v1
[LOG]   | got iface: xwayland_shell_v1 v1
[LOG]   | got iface: hyprland_toplevel_export_manager_v1 v2
[LOG]   | got iface: wp_fractional_scale_manager_v1 v1
[LOG]    > Bound to wp_fractional_scale_manager_v1 v1
[LOG]   | got iface: zwp_text_input_manager_v1 v1
[LOG]   | got iface: hyprland_global_shortcuts_manager_v1 v1
[LOG]   | got iface: zwlr_screencopy_manager_v1 v3
[LOG]    > Bound to zwlr_screencopy_manager_v1 v3
[LOG]   | got iface: zxdg_output_manager_v1 v3
[LOG]   | got iface: wl_output v4
[LOG]    > Bound to wl_output v4
[LOG] [core] dmabufFeedbackMainDevice
[LOG] output 49 make LG Display model 0x06CE
[LOG] output 49 name eDP-1
[LOG] output 49 description LG Display 0x06CE (eDP-1)
[LOG] Locking session
[LOG] eglQueryDmaBufModifiersEXT found 6 mods
[LOG] bo chose modifier<PHONE_NUMBER>00008
[LOG] onLockLocked called
[LOG] got fractional 1
[LOG] got fractional 1
[LOG] configure with serial 894
[LOG] Configuring surface for logical [Vector2D: x: 1920, y: 1200] and pixel [Vector2D: x: 1920, y: 1200]
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Framebuffer created, status 36053
[LOG] Authenticating
[LOG] Unlocking session
[LOG] Unlocked, exiting!
[LOG] Reached the end, exiting

patch69.txt

That fixes the issue for me

Issue fixed for me as well on latest commit! :pray:


Using RMap for existing hashed Data in Redis - Using Redisson

I already have hashed data in Redis which now I am trying to Read using Redisson client, I do not create a named map to do get by keys. is there a way to Read already hashed keys and values using Redisson ?

you can iterate keys: redisson.getKeys().getKeys()


Bitcoin stack - Transaction history endpoint

Overview
We need to re-implement our bitcoin tx history rest endpoint to accept and return different data. A few different Interface type definitions will need to be updated before re-implementing the function -- see reference below
Endpoint to be re-written lives here:
https://github.com/shapeshift/unchained/blob/develop/node/coinstacks/bitcoin/api/src/controller.ts#L172
The new function can look similar to what exists and use blockbook to get most of the needed data.
Its important to note we have a very similar bounty with some overlapping pieces for the ethereum tx endpoint here:
https://github.com/shapeshift/unchained/issues/309
It may be worth doing both bounties at the same time, or at least be aware of any overlapping changes with the ethereum bounty
Reference
Update or add the following method signatures and interface types:
Common
You may want to first check and see if these common changes were already made in a related bounty:
https://github.com/shapeshift/unchained/issues/309
Both bounties require these common changes:
https://github.com/shapeshift/unchained/blob/develop/node/coinstacks/common/api/src/index.ts#L60:
getTxHistory(pubkey: string, cursor?: string, pageSize?: number): Promise<TxHistory>
https://github.com/shapeshift/unchained/blob/develop/node/coinstacks/common/api/src/models.ts#L49
export interface Pagination {
  cursor?: string
}

https://github.com/shapeshift/unchained/blob/develop/node/coinstacks/common/api/src/models.ts#L64
 export interface Tx {
  txid: string
  blockHash?: string
  blockHeight?: number
  timestamp?: number
}

https://github.com/shapeshift/unchained/blob/develop/node/coinstacks/common/api/src/models.ts#L80
export interface TxHistory extends Pagination {
  txs: Array<Tx>
}

Bitcoin Specific
export interface BitcoinTx extends Tx {
  vin: Array<VinType> // VinType still needs to be defined and contain everything relavant to bitcoin vins
  vout: Array<VoutType>// VoutType still needs to be defined and contain everything relavant to bitcoin vouts
  confirmations: number
  value: string
  fee: string
  hex: string // hex string of btc tx
}

 export interface BitcoinTxHistory extends TxHistory {
  txs: Array<BitcoinTx>
}

https://github.com/shapeshift/unchained/blob/develop/node/coinstacks/bitcoin/api/src/controller.ts#L172:
getTxHistory(@Path() pubkey: string, @Query() cursor?: string, @Query() pageSize?: number): Promise<BitcoinTxHistory>
Acceptance Criteria

The getTxHistory endpoint is updated according to the reference spec above
Update to use base64 encoded cursor based pagination

No cursor query parameter means the client is fetching the first page of data
No return cursor means there is no more data available to fetch

Update all corresponding tsoa comment annotations to reflect all changes
Verify working endpoint at /api/v1/account/{pubkey}/txs
If the type updates break the ethereum getTxHistory endpoint, make the minimal modifications necessary for build to pass. This endpoint is not currently in use and does not need to be fully working. Be aware that there is a very similar bounty for the ethereum endpoint with some overlapping pieces: https://github.com/shapeshift/unchained/issues/309

It is recommended to use docker-compose for local development and test all openapi spec and request logic through http://api.bitcoin.localhost/docs. You can test the endpoint using the UI and view all of the generated documentation. Note, hot reloading is supported, but any changes related to the openapi ui require a manual refresh in your browser.
Ownership

[X] As the sponsor of this bounty I will review the PR

Bounty Hunters

[ ] Join the ShapeShift Discord
[ ] Check out the Contribution Guidelines
[ ] Include an expected completion timeline in the work plan when you apply for this bounty on Gitcoin!

should wait until #316 is merged before work begins in earnest on this one.


config envoy for gRPC bidirectional streaming server

Title: config envoy for gRPC bidirectional streaming server
Description:
I have a gRPC bidirectional streaming server, and i use envoy as its front-proxy, then many clients request the envoy.(you can suppose the clients are  thousands of iPhone)
but, when the client's count is more than 1024,  the following  clients will not connect success, the error  is 【rpc error: code = Unavailable desc = upstream connect error or disconnect/reset before headers. reset reason: overflow】.
I want to know how to config envoy in this usage scenarios
[optional Relevant Links:] https://www.envoyproxy.io/docs/envoy/latest/intro/arch_overview/upstream/circuit_breaking#arch-overview-circuit-break

@mattklein123 is this issue is same as https://github.com/envoyproxy/envoy/issues/9215?

@danlanxiaohei can you try this: https://www.envoyproxy.io/docs/envoy/latest/api-v2/api/v2/cluster/circuit_breaker.proto#cluster-circuitbreakers-thresholds? Seems like you want to tweak max_connections/max_requests to be greater than 1024.

@dio enlarge the  max_requests works for me !
but i still have doubt about this ,  is this the best way to config gRPC bidirectional streaming RPC?

ok , i think i will follow https://github.com/envoyproxy/envoy/issues/7403


Twitch VODs no longer downloadable

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.07.29. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.07.29

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: ['--no-playlist', '--ignore-errors', '--mark-watched', '--hls-use-mpegts', '--continue', '--no-part', '--merge-output-format', 'mkv', '--write-sub', '--sub-lang', 'en', '--format', 'bestvideo[height<=?720]+bestaudio/best[height<=?720]/best', '--audio-format', 'mp3', '--cookies', 'S:\\Programs\\youtube-dl\\cookies.txt', '--add-metadata']
[debug] Custom config: []
[debug] Command-line args: ['https://www.twitch.tv/northernlion/video/291940395', '-v']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2018.01.21
[debug] Python version 3.5.1 (CPython) - Windows-10-10.0.17134-SP0
[debug] exe versions: ffmpeg N-83622-gdcd3418, ffprobe N-83622-gdcd3418
[debug] Proxy map: {}
[twitch:stream] northernlion: Downloading stream JSON
ERROR: northernlion is offline
Traceback (most recent call last):
  File "s:\programs\python35\lib\site-packages\youtube_dl\YoutubeDL.py", line 784, in extract_info
    ie_result = ie.extract(url)
  File "s:\programs\python35\lib\site-packages\youtube_dl\extractor\common.py", line 438, in extract
    ie_result = self._real_extract(url)
  File "s:\programs\python35\lib\site-packages\youtube_dl\extractor\twitch.py", line 535, in _real_extract
    raise ExtractorError('%s is offline' % channel_id, expected=True)
youtube_dl.utils.ExtractorError: northernlion is offline

Description of your issue, suggested solution and other information
Refuses to download VODs since the new Twitch update, citing "CHANNELNAME is offline"

Managed to download it manually by downloading https://fastly.vod.hls.ttvnw.net/4ae604f8eba1e9f38f84_northernlion_29731669904_926899532/chunked/index-dvr.m3u8 with extra flags --hls-prefer-native


Rebuild

Remaining Scope

[x] Configure logging (need to research PHP library best practices).
[x] Default necessary config values to implicitly set environment variables.
[x] Auto-apply config loaded from env variable.
[x] Update license
[x] Reconfigure entrypoint file from test.php
[x] README
[ ] Unit tests
[ ] Test/adjust job function

Thanks @mrsimonbennett! I'm closing this PR since it's orphaned/left-over, but have opened #19.


FAIL:  Service snap.microk8s.daemon-apiserver is not running

@ktsakalozos @freeekanayaka  Hi I am new to microk8s..facing the same issue from morning  which mention above i have attached my tarball
microk8s inspect
Inspecting Certificates
Inspecting services
  Service snap.microk8s.daemon-cluster-agent is running
  Service snap.microk8s.daemon-containerd is running
 FAIL:  Service snap.microk8s.daemon-apiserver is not running
For more details look at: sudo journalctl -u snap.microk8s.daemon-apiserver
  Service snap.microk8s.daemon-apiserver-kicker is running
  Service snap.microk8s.daemon-proxy is running
  Service snap.microk8s.daemon-kubelet is running
  Service snap.microk8s.daemon-scheduler is running
  Service snap.microk8s.daemon-controller-manager is running
  Copy service arguments to the final report tarball
Inspecting AppArmor configuration
Gathering system information
  Copy processes list to the final report tarball
  Copy snap list to the final report tarball
  Copy VM name (or none) to the final report tarball
  Copy disk usage information to the final report tarball
  Copy memory usage information to the final report tarball
  Copy server uptime to the final report tarball
  Copy current linux distribution to the final report tarball
  Copy openSSL information to the final report tarball
  Copy network configuration to the final report tarball
Inspecting kubernetes cluster
  Inspect kubernetes cluster

Building the report tarball
  Report tarball is at /var/snap/microk8s/1710/inspection-report-20201006_105830.tar.gz

from master:
ubuntu@ip-xxxx:~/s2Shape_Stacks/engine-2.0$ microk8s kubectl get nodes
The connection to the server <IP_ADDRESS>:16443 was refused - did you specify the right host or port?

from node :
kubectl get node
NAME               STATUS     ROLES    AGE    VERSION
ip-x-x-x-x      NotReady   <none>   11d    v1.19.2-34+1b3fa60b402c1c
ip-x-x-x-x   Ready      <none>   9d     [v1.19.2-34+1b3fa60b402c1c
ip-x-x-x-x    Ready      <none>   5d6h   v1.19.2-34+1b3fa60b402c1c

inspection-report-20201006_105830.tar.gz

Hi @rasoolasik
Thanks for using MicroK8s.
Based on the logs of the apiserver, this seems to be similar to #1598
Currently the team is working on resolving that issue.  You can follow the details in the issue mentioned above.
The channel latest/edge comes with the fixes which according to some users looks promising.  You may want to try that channel out.
Just a word of caution, when there is a push to the master branch, your cluster will get some updates and may cause some temporary disruptions.
Apologies for the inconvenience.

@balchua
Hi thanks for the reply.. refreshing to channel latest/edge same problem remains at the end..
$ sudo snap refresh microk8s --channel=latest/edge
error: cannot perform the following tasks:
- Run configure hook of "microk8s" snap if present (run hook "configure":
-----
++ date +%s
+ start_timer=1601993720
+ timeout=120
+ KUBECTL='/snap/microk8s/1745/kubectl --kubeconfig=/var/snap/microk8s/1745/credentials/client.config'
+ sleep 5
++ date +%s
+ now=1601993730
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993735
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993740
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993745
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993750
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993755
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993760
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993765
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993770
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993775
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993780
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993785
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993790
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993796
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993801
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993806
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993811
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993816
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993821
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993826
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993831
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993836
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ sleep 5
++ date +%s
+ now=1601993841
+ [[<PHONE_NUMBER> ><PHONE_NUMBER> ]]
+ break
+ /snap/microk8s/1745/kubectl --kubeconfig=/var/snap/microk8s/1745/credentials/client.config apply -f /var/snap/microk8s/1745/args/cni-network/cni.yaml
The connection to the server <IP_ADDRESS>:16443 was refused - did you specify the right host or port?
-----)

is there any quick fix ?.. and i had deployed apps on the cluster.. is that gone already ? i was trying to fix this problem without reinstalling .. Thanks

Hi @rasoolasik, you cannot refresh to the latest/edge channel because the API server in that node is crashing. You need to snap remove microk8s on the failing node. Then call microk8s remove-node <failing-node> --force from a working node so as to remove it from the k8s cluster. Then snap install microk8s --classic --channel=latest/edge and have the new node join the cluster again.

@ktsakalozos Thanks for point out those things.. my master got crashed.. how to make that server as master agian..

how to make that server as master agian.

If you go into any other node, does microk8s.kubectl get all -A -o wide work? In an HA setup any node should be able to act as master.

@ktsakalozos i was waiting for your reply.. as i dnt have time yesterday i downgrade to 1.18/stable.. but i don't know the fact that it was acting as an HA cluster...and  in 1.19 it was working on all the nodes.. and i changed to 1.18 yesterday.. and my cluster has one master where i used microk8s add-node

@rasoolasik apologies for not replying. Going to 1.18/stable is a good choice while we address the 1.19 issues.

It's a CNI issue.  CNI isn't coming up, so the apiserver never listens on 16443, and kubelet never joins.

Hi @rasoolasik, you cannot refresh to the latest/edge channel because the API server in that node is crashing. You need to snap remove microk8s on the failing node. Then call microk8s remove-node <failing-node> --force from a working node so as to remove it from the k8s cluster. Then snap install microk8s --classic --channel=latest/edge and have the new node join the cluster again.
The pods on the failing node should have been rescheduled on the Ready nodes. You can confirm this with microk8s.kubectl get all -A -o wide

It worked for me. Thank you!

I have similar problem with version 1.25. I have use those commands. As unexpected side effect I have seen downgrade of version to 1.24.
snap remove --purge microk8s
sudo snap install microk8s --classic


chore(release): 2.62.0

See CHANGELOG

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: 2dbacaf86986c803adc5043f35895d816cd22b38
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: githubautobuild-for-cdk-v2
Commit ID: d7f2ba6b8bc7fc84c5177b5ca0c6b7525bc6e26c
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository