error: package android.support.v4.content does not exist import android.support.v4.content.LocalBroadcastManager;

When I try to build my app, I am getting the following:
/Users/hackeron/Development/Tether/tether-android/node_modules/react-native-fcm/android/src/main/java/com/evollu/react/fcm/MessagingService.java:8: error: package android.support.v4.content does not exist
import android.support.v4.content.LocalBroadcastManager;
                                 ^

When openning an issue, please include following information for better support

react-native-fcm 16.2.4 and react-native 0.61.5
Android Studio 3.6.2 on Mac Catalina
I'm stuck on the build process

Any ideas?

@rgaufman This library does not support AndroidX yet but React Native 0.61 uses AndroidX so you have to go into the source code (the file that is throwing out the error above), delete that import line and Android Studio will suggest a new import for LocalBroadcastManager that fits AndroidX.
As I remember there're about 4 files need changing.
After done with that, you can either do the following:

Edit the files every time you update your package.json.
Fork the library to your account, edit the files and install the library from your repo's link so you don't have worry about #1.

you can use my fork which is ready to work with AndroidX https://github.com/Desintegrator/react-native-fcm


Add a 'clear' icon to text box

Would be nice to have to option to put a small x to the right of the text box containing the filename.  Clicking the x would invoke the .clear() method.  Select2 has this capability, using the allowClear setting.

Here's a stab at it, without configurability.
filestyle-patch.txt

Also, the x should probably be muted (and have a different cursor?) when there is no file selected.

I see now there is a fork with a more thorough implementation of this: https://github.com/Cediddi/bootstrap-filestyle/

Sorry I did not answer before. This type of input can be done manually without problems, it is not necessary to implement such functionality.

True, but it's much cleaner to set a flag than to add $('#certificate_file_input').next().find('input').after('

'); and a corresponding on-click function for every file element.


Introducing a new keyword - continueOnStepFailure

Proposing the introduction of a new keyword in the Karate DSL called "ignoreStepFailure".
The main use case is for a test not to fail on the first match test failure to ensure the produced reports provide visibility on what exactly failed in a test when there are multiple matches in a row. This should be the main case and used with caution - the following stackoverflow post details some important concepts especially Fowler's article about why automated tests should be deterministic.
E.g. of the usage of keyword:
* def var = 'foo'
* ignoreStepFailure on
* match var == 'foo'
* match var == 'bar'
* match var == 'pub'
* ignoreStepFailure off
* match var == 'foo'
* print 'test will fail on the ignoreStepFailureOff line but still produce logs for all the matches within those two keywords'

Some other examples:
* def var = 'foo'
* ignoreStepFailure on = { continueAfter: true }
* match var == 'foo'
* match var == 'bar'
* match var == 'pub'
* ignoreStepFailure off
* match var == 'foo'
* print 'test will NOT fail on the ignoreStepFailureOff and will continue execution'

Another example super not recommended but for advanced users if they find other use-cases outside of the match keyword.
* def var = 'foo'
* ignoreStepFailure on = { continueAfter: true, keywords: ['match', 'def']  }
* match var == 'foo'
* def var2 = function() { syntax error in here };
* match var == 'bar'
* match var == 'pub'
* ignoreStepFailure off
* match var == 'foo'
* print 'test will NOT fail on the ignoreStepFailureOff and will continue execution'

@ptrthomas will open a PR soon with a first proof of concept for discussion
EDIT: for those landing here do not look into the code above as example as the feature ended up slightly different. You can check some examples in the PR https://github.com/intuit/karate/pull/1447/files and https://github.com/joelpramos/karate/blob/ec31c0f22fea9b8435ca749aafa0ac4a03630db0/karate-core/src/test/java/com/intuit/karate/core/ignore-step-failure.feature

@joelpramos I would prefer that this is either a configure ignoreStepFailures = true or karate.ignoreStepFailures(true) because it would avoid adding a gherkin keyword "step definition" - this strategy has served karate well, all the not-so-commonly-used helpers are hung off the karate JS object instead of "polluting" the set of keywords
just my 2 c - and another reason is the more options you add to the method / regex lookup there is a slight performance penalty

@joelpramos I would prefer that this is either a configure ignoreStepFailures = true or karate.ignoreStepFailures(true) because it would avoid adding a gherkin keyword "step definition" - this strategy has served karate well, all the not-so-commonly-used helpers are hung off the karate JS object instead of "polluting" the set of keywords
just my 2 c - and another reason is the more options you add to the method / regex lookup there is a slight performance penalty

@joelpramos and an advantage of the above approaches is that this can be set-up in karate-config.js

@joelpramos and an advantage of the above approaches is that this can be set-up in karate-config.js

Hhh not I got your point about the configure keyword. Yeah I'll move it to configure keyword before opening the PR. What do you think about the parameters above (will need to add an on/off on it as well or enable/disabled but thinking of moving that as the map of options to the config keyword).
I'll give it some thought about calling reusable features and whether this should be propagated down to those features as well.

Hhh not I got your point about the configure keyword. Yeah I'll move it to configure keyword before opening the PR. What do you think about the parameters above (will need to add an on/off on it as well or enable/disabled but thinking of moving that as the map of options to the config keyword).
I'll give it some thought about calling reusable features and whether this should be propagated down to those features as well.

@joelpramos I would go with true false to align with the other configure flags. I think configure report = true is a good existing example to follow, and it has the "extension" option e.g. configure report = { showLog: true, showAllSteps: false }
refer: https://github.com/intuit/karate#report-verbosity and the corresponding code

@joelpramos I would go with true false to align with the other configure flags. I think configure report = true is a good existing example to follow, and it has the "extension" option e.g. configure report = { showLog: true, showAllSteps: false }
refer: https://github.com/intuit/karate#report-verbosity and the corresponding code

do you have if I don't want to propagate this setting to called features? e.g.
* def var = 'foo'
* configure ignoreStepFailure = true
* match var == 'foo'
* match var == 'bar'
* call read('test.feature')
* match var == 'pub'
* configure ignoreStepFailure = false
* match var == 'foo'
* print 'test will fail on the ignoreStepFailureOff line but still produce logs for all the matches within those two keywords'

I would prefer to avoid the 'test.feature' to run with this configuration as true although i'd like to enable this configuration on a background of a Feature file to reuse in Scenarios or Scenario Outlines. The main reason I'd like to avoid propagating this for called features is to avoid mistakes in which people don't truly understand the impacts of always having this configuration enabled and pass it on to a called feature by mistake.
Isolating it in the ScenarioRuntime would avoid this (which is what I have in my local) but using the configuration keyword we keep this at the Config class. First (or easiest) option that comes to mind is keeping a map in the Config class like Map<ScenarioRuntime,ignore step configuration dto> .. but that's probably not ideal

do you have if I don't want to propagate this setting to called features? e.g.
* def var = 'foo'
* configure ignoreStepFailure = true
* match var == 'foo'
* match var == 'bar'
* call read('test.feature')
* match var == 'pub'
* configure ignoreStepFailure = false
* match var == 'foo'
* print 'test will fail on the ignoreStepFailureOff line but still produce logs for all the matches within those two keywords'

I would prefer to avoid the 'test.feature' to run with this configuration as true although i'd like to enable this configuration on a background of a Feature file to reuse in Scenarios or Scenario Outlines. The main reason I'd like to avoid propagating this for called features is to avoid mistakes in which people don't truly understand the impacts of always having this configuration enabled and pass it on to a called feature by mistake.
Isolating it in the ScenarioRuntime would avoid this (which is what I have in my local) but using the configuration keyword we keep this at the Config class. First (or easiest) option that comes to mind is keeping a map in the Config class like Map<ScenarioRuntime,ignore step configuration dto> .. but that's probably not ideal

I think I figured it out, will give it a try for the PR

I think I figured it out, will give it a try for the PR

For those landing here from Google or other sources the keyword ended up being named "continueOnStepFailure". The following PR has some examples and a screenshot of the resulting report: https://github.com/intuit/karate/pull/1447

@joelpramos I've updated a stack-overflow post which is my go-to link for people who ask the question if karate supports "soft assertions" etc. to link here, just FYI. I guess based on feedback we can add official docs at a later point in time
here's the link: https://stackoverflow.com/a/54108755/143475

1.0 released

I have tried continueOnStepFailure by taking latest karate version which is 1.0.0 but the step is failed with unrecognized configure key error.
Apart from adding this * configure  continueOnStepFailure = true to feature file anything should taken care on any other places?


Removing unused import

Just removed an import that I noticed being unused

Made a new PR using the conventions you told
https://github.com/doctrine/mongodb-odm/pull/188
Thank you Jonathan :)


Feedback - Separate Octet Option

Would you consider an option that allows you to select an individual octet to display.  This would be great for readability.

Done on bbd73f77fdebb26f036dee87f40fd6131b2db0fd
Elgato would release a new plugin version soon


The PCA plot is rubbish

we should fix this. Anyone want to show their d3 skills?

I'll do it! :)

Page is now gone


Enable SCSS and tokens in styleguide styles

Part of https://github.com/viljamis/vue-design-system/pull/56 now

Released in Vue Design System 2.0.0


RSS feed doesn't work

I'm unsure whether this is miniflux's fault (I have a feeling its my website) but when I try and add the feed https://www.mooash.me/rss/ it initially goes fine, then starts displaying weird content and finally, when I go back to unread it shows 0/0 unread.
Any idea whats going on? Enabling debug.log shows that everything works as expected so I'm unsure whats going wrong here.

then starts displaying weird content

What kind of weird content? Can you provide a screenshot?

when I go back to unread it shows 0/0 unread.

That's something I can explain. Per default, Miniflux automatically removes read items after 15 days and unread items after 45 days from the database. The latest item in the feed is 52 days old. Check/change the coresponding settings in preferences > general > reading.

Ahhh thanks! My issue was that the feed was far to old. I'll close this one.


Transform array in Body decorator.

Hi, if id do  :
  @Post('/save')
    save( @Body() halls: Hall) { }

the "halls" hold array of hall.
But is i do :
  @Post('/save')
    save( @Body() halls: Hall[]) { }

the "halls" hold array of object.
How can i fix it?
tanks a lot.

You have array of objects because we cant automatically determine type of array parameters (because typescript do not allow to do that). You can fix it however by explicitly provide a type to a decorator:
```@Body({ type: Hall }) halls: Hall[]`


Fixed unnecessary if statement

Looking through your wrappers I found an unnecessary duplication of a condition.

Hey João!
Thanks for your PR and of course you are right that that's an unnecessary condition. In fact, there are many things wrong and/or slightly weird about this file.
However, we are not going to merge this PR as we want to keep this file as close as possible to its upstream version -- as it says in the header, this file was written by OpenAI, here: https://github.com/openai/baselines/blob/master/baselines/common/atari_wrappers.py
If you are looking to clean up things in there (it could also use some linting), I'd suggest changing this upstream version.


Compile Error

ERROR in ./node_modules/ionic-image-loader/dist/providers/image-loader.js
[ng] Module not found: Error: Can't resolve 'rxjs/observable/fromEvent' in '/Users/../../node_modules/ionic-image-loader/dist/providers'

ERROR in ./node_modules/ionic-image-loader/dist/providers/image-loader.js
[ng] Module not found: Error: Can't resolve 'ionic-angular' in '/Users/../../node_modules/ionic-image-loader/dist/providers'

Received above error, I did try change ionic-angular to @ionic-angular can solve this error.
May I know how to solve the rxjs issue?

Same problem here. I managed to fix rxjs import problem by changing:
import { fromEvent } from 'rxjs/observable/fromEvent';

to:
import { fromEvent } from 'rxjs';

However, fixing this is temporary, because you are editing code which is built and stored in node_modules. I will try to find some other solution.

It looks like there is another branch for Ionic 4, but it didn't work for me on Ionic 5.
https://github.com/zyra/ionic-image-loader/tree/v4

@maxtomczyk It is working for me on Ionic 5 + capacitor using this branch.
The problem I'm facing now is the image cache not really working on iOS device.


Code refactor

Changes :

Added utils.prepare_session() to prepare a session before sending request to the website. It is not going to make huge difference, but a standard practice to maintain same session. I would recommend starting session in Search_all as it is making multiple requests.
Added missing type hints. Mostly in return statements.
Used dict.get(key, default) for fetching data from dict instead of dict[key]. Latter might break in absence of the key.
Code refactor with minor changes, including lint fixes, import sorts and code format(ruff).
Updated .gitignore file
Documentation added for the codebase. Find the coverage report(interrogate) below

=========== Coverage for /Users/santhoshsolomon/Projects/pyzill/src/pyzill/ ============
--------------------------------------- Summary ----------------------------------------
| Name                 |         Total |         Miss |         Cover |         Cover% |
|----------------------|---------------|--------------|---------------|----------------|
| __init__.py          |             1 |            1 |             0 |             0% |
| details.py           |             4 |            1 |             3 |            75% |
| parse.py             |             2 |            1 |             1 |            50% |
| search.py            |             4 |            1 |             3 |            75% |
| utils.py             |             5 |            2 |             3 |            60% |
|----------------------|---------------|--------------|---------------|----------------|
| TOTAL                |            16 |            6 |            10 |          62.5% |
-------------------- RESULT: PASSED (minimum: 60.0%, actual: 62.5%) -------------------

Hi, thanks for the contribution.
Everything looks good except for the session request, having a  session is not actually an standard.
having a session on the requests could make your bot vulnerable to be blocked becuase it's easy identifiable by the server throught the cookies, if no session is stablished the server won't be able identify the requests are from a bot(this could be done for example checking when was the last time the bot made a requests, if it's too fast, block the bot)
Sessions are usefull were cookies are strictly  required, like for example the website requires login, or some websites requires an initial cookie to authenticate subsequent requests

Makes sense. I have removed the prepere_session() method and pushed the code.

Thank you very much Sir


Add support for Super Metroid randomizer boss splits

I hate adding special cases, but this seemed like a pretty efficient way to implement a useful feature: few lines of code, minimal overhead. It handles game resets correctly. Tested on a SNES Classic. Let me know if there's anything that should be changed, and I can amend the commit.

I am not sure to understand how that works? Can you just check for this ram value to be incremented?
I am really not a fan of putting special game handling in the code.

I am not sure to understand how that works? Can you just check for this ram value to be incremented?
I am really not a fan of putting special game handling in the code.

For randomizer if you have boss splits, they need to let you defeat the bosses in any order, which means checking four different bytes for the boss flags and keeping track of which flags have already been set, or at least how many, so you only auto-split once for each boss.
I think a generic solution would be quite complex, requiring something like LiveSplit's MemoryWatcher to compare previous and current memory values, plus some boolean logic.
Anyway if you want to close this PR, that's fine.

For randomizer if you have boss splits, they need to let you defeat the bosses in any order, which means checking four different bytes for the boss flags and keeping track of which flags have already been set, or at least how many, so you only auto-split once for each boss.
I think a generic solution would be quite complex, requiring something like LiveSplit's MemoryWatcher to compare previous and current memory values, plus some boolean logic.
Anyway if you want to close this PR, that's fine.

Maybe we can add an operation to detect changes on an address, it should work and does not look like much work.

Maybe we can add an operation to detect changes on an address, it should work and does not look like much work.

Gonna close this as a PR since I agree anyway that a generic solution would be better. I'll probably still keep it up to date as a patch on my own fork.


SDK upgrade to v0.50.0 - part 1

See #1438
⚠ Using notionals IBC-Go fork
The export/import simulations fail currently with:
sim_test.go:179: compared 2 different key/value pairs between KVStoreKey{0xc001092a40, ibc} and KVStoreKey{0xc001a80c30, ibc}

See upgrade doc in the SDK
I have started with just the go.mod dependencies and some related changes to imports.
New modules

circuit

Removed: legacy proposals for x/upgrade

[x] deprecate MakeEncodingConfig
[x] wasm keeper: accept runtime.NewKVStoreService for keys[wasm.StoreKey],
[x] handle storeservice.Get/Set errors
[x] replace sdk.Context with stdlib context in keeper where it makes sense
[x] use [(cosmos_proto.scalar) = "cosmos.AddressString"] for addresses in proto
[x] set cosmos.msg.v1.service proto annotation
[x] upgrade ante-handler
[x] use new collections framework for params

Not started

[ ] remove non requires sdk modules from begin/ endblocker
[ ] replace ibc-go fork with official release

@alpe -- this is looking good now:
https://github.com/cosmos/ibc-go/pull/3883

Closing this in favour of https://github.com/CosmWasm/wasmd/pull/1611


Bug: getUser() return null on live (NextJs)

Prerequisites

[X] I have searched the repository’s issues and Kinde community to ensure my issue isn’t a duplicate
[X] I have checked the latest version of the library to replicate my issue
[X] I have read the contributing guidelines
[X] I agree to the terms within the code of conduct

Describe the issue
So i have something like this
const { getUser } = getKindeServerSession()
  const user = await getUser()
  console.log("fetching user", user)

Normally this should return the user logged in, which is the behavior that i see in dev, however when the code is pushed to live, user is returned as null.
Could you help look into this please
Library URL
@kinde-oss/kinde-auth-nextjs
Library version
^2.3.5
Operating system(s)
Windows
Operating system version(s)
win 11
Further environment details
Hosted and running on vercel
Reproducible test case URL
No response
Additional information
No response

i also get this error on the console.

I found the issue and fix, it was because there was an update to the loginLink in the docs i just updated my application to use that LoginLink and that fixed the issue

I found the issue and fix, it was because there was an update to the loginLink in the docs i just updated my application to use that LoginLink and that fixed the issue

Hi, could you let me know how exactly you fixed it? I have replaced LoginLink with the new version as well but it doesn't fix the problem for me. In dev everything works fine but once I build the next project login doesn't seem to work.


Same ID with different scores and information

Hello,
I don’t understand why we don’t get the same information here (https://github.com/keycloak/keycloak/security/advisories/GHSA-93ww-43rr-79v3) and there (https://github.com/advisories/GHSA-93ww-43rr-79v3). Could you help me to understand? Which version is the good one? Why is there different information for same vulnerability with same ID?
Thanks for helping

hi @valrieux, thank you for your question! We added support for version 4.0 of CVSS earlier this year, and we have been upgrading incoming v3.1 scores to v4.0 to support that effort. We've received additional feedback about the confusion and difficulty this creates, especially when this is done inconsistently across advisories and when the vectors or numerical severity value differ between the two CVSS schema versions, so the team has been discussing the best way to address this.
We have decided to continue to default to the latest version of the CVSS schema (4.0) when providing our own assessment and when supplied by our data feeds, but moving forward, we will align our advisories with the 3.x CVSS version provided by repository GHSAs when reasonable instead of upgrading it to 4.0, and we will adjust the CVSS vector string for GHSA-93ww-43rr-79v3.
Thank you so much for contributing to the GitHub Advisory Database. This database is free, open, and accessible to all, and it's people like you who make it great. Thanks for choosing to help others. We hope you send in more contributions in the future!


generator: sync erb template to use Rails 7.0 APIs

This PR is derived from the work @kinsomicrote did in #357.
Updates the erb templates to be in sync with the templates in rails/rails 7.0+ and so correctly supports namespaced models (see related rails/rails#43611).

@dhh Are you comfortable with dropping Rails 6.1 feature support in a minor release (likely v2.7.0) if/when this gets merged?


AdditionalArguments - Unsatisfactory explanation of a list of variables

AdditionalArguments - This is list of variables that can be inputted, there is no way to know what these variables are since there is no supporting documentation linked and there is no way to search in your documentation or on google to get an answer.
A link to supporting documenation that explains what can be input here would allow developers to easily find what they need.

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

ID: 189a26b0-6c82-2222-a63b-90e6e0ddd540
Version Independent ID: 189a26b0-6c82-2222-a63b-90e6e0ddd540
Content: IISWebAppDeploymentOnMachineGroup@0 - IIS web app deploy v0 task
Content Source: task-reference/iisweb-app-deployment-on-machine-group-v0.md
Product: devops
Technology: devops-cicd-tasks
GitHub Login: @steved0x
Microsoft Alias: sdanie

@terafirma92 I apologize that this issue was in the backlog for so long. The task uses Microsoft Web Deploy, and these are the different settings available for the additionalArguments section:
https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2008-R2-and-2008/dd569089(v=ws.10)
I am updating the task article today. Thank you for letting us know.
Steve


[stable/jenkins] issue with openshift

hello,
on Openshift 3.X , I install it with this command
helm install --name jenkins-cpaas stable/jenkins -f values_prod.yaml
values_prod.yaml is the same file as values.yaml of the repository with the following modifications :
rbac create to false
conf autoreload=false
openshift route enable
pod not starts
container log =
Running from: /usr/share/jenkins/jenkins.war
webroot: EnvVars.masterEnvVars.get("JENKINS_HOME")
2020-07-01 11:52:42.542+0000 [id=1]	INFO	org.eclipse.jetty.util.log.Log#initialized: Logging initialized @6597ms to org.eclipse.jetty.util.log.JavaUtilLog
2020-07-01 11:52:45.848+0000 [id=1]	INFO	winstone.Logger#logInternal: Beginning extraction from war file
2020-07-01 11:52:46.446+0000 [id=1]	WARNING	o.e.j.s.handler.ContextHandler#setContextPath: Empty contextPath
2020-07-01 11:52:47.646+0000 [id=1]	INFO	org.eclipse.jetty.server.Server#doStart: jetty-9.4.27.v20200227; built: 2020-02-27T18:37:21.340Z; git: a304fd9f351f337e7c0e2a7c28878dd536149c6c; jvm 1.8.0_242-b08
2020-07-01 11:52:54.946+0000 [id=1]	INFO	o.e.j.w.StandardDescriptorProcessor#visitServlet: NO JSP Support for /, did not find org.eclipse.jetty.jsp.JettyJspServlet
2020-07-01 11:52:56.444+0000 [id=1]	INFO	o.e.j.s.s.DefaultSessionIdManager#doStart: DefaultSessionIdManager workerName=node0
2020-07-01 11:52:56.444+0000 [id=1]	INFO	o.e.j.s.s.DefaultSessionIdManager#doStart: No SessionScavenger set, using defaults
2020-07-01 11:52:56.541+0000 [id=1]	INFO	o.e.j.server.session.HouseKeeper#startScavenging: node0 Scavenging every 660000ms
2020-07-01 11:53:05.841+0000 [id=1]	INFO	hudson.WebAppMain#contextInitialized: Jenkins home directory: /var/jenkins_home found at: EnvVars.masterEnvVars.get("JENKINS_HOME")
2020-07-01 11:53:08.843+0000 [id=1]	INFO	o.e.j.s.handler.ContextHandler#doStart: Started w.@4ee203eb{Jenkins v2.235.1,/,file:///var/jenkins_home/war/,AVAILABLE}{/var/jenkins_home/war}
2020-07-01 11:53:09.945+0000 [id=1]	INFO	o.e.j.server.AbstractConnector#doStart: Started<EMAIL_ADDRESS>(http/1.1)}{<IP_ADDRESS>:8080}
2020-07-01 11:53:09.945+0000 [id=1]	INFO	org.eclipse.jetty.server.Server#doStart: Started @34001ms
2020-07-01 11:53:09.946+0000 [id=20]	INFO	winstone.Logger#logInternal: Winstone Servlet Engine running: controlPort=disabled
2020-07-01 11:53:39.455+0000 [id=32]	INFO	jenkins.InitReactorRunner$1#onAttained: Started initialization
2020-07-01 11:54:13.741+0000 [id=21]	INFO	winstone.Logger#logInternal: JVM is terminating. Shutting down Jetty
Openshift monitoring log =

1:53:23 PM
jenkins-custom-7976fdbf85-69mqd
Pod
Warning
Unhealthy
Readiness  probe failed: Get http://<IP_ADDRESS>:8080/login: net/http: request  canceled (Client.Timeout exceeded while awaiting headers)         12 times in the last 9 minutes

1:47:46 PM
jenkins-custom-7976fdbf85-69mqd
Pod
Normal
Killing
Killing container with id cri-o://jenkins:Container failed liveness probe.. Container will be killed and recreated.

1:47:33 PM
jenkins-custom-7976fdbf85-69mqd
Pod
Warning
Unhealthy
Liveness probe failed: HTTP probe failed with statuscode: 503

1:47:31 PM
jenkins-custom-7976fdbf85-69mqd
Pod
Warning
Unhealthy
Readiness probe failed: HTTP probe failed with statuscode: 503

1:47:28 PM
jenkins-custom-7976fdbf85-69mqd
Pod
Warning
Unhealthy
Liveness  probe failed: Get http://<IP_ADDRESS>:8080/login: net/http: request  canceled (Client.Timeout exceeded while awaiting headers)         3 times in the last 9 minutes

1:46:48 PM
jenkins-custom-7976fdbf85-69mqd
Pod
Warning
Unhealthy
Readiness probe failed: Get http://<IP_ADDRESS>:8080/login: dial tcp <IP_ADDRESS>:8080: getsockopt: connection refused         2 times in the last 9 minutes

1:45:29 PM
jenkins-custom-7976fdbf85-69mqd
Pod
Normal
Started
Started container

Any idea ??
regards
bruno

I ran the Jenkins Helm chart with the same configuration as you specified above and it successfully created a pod with no errors on my OCP 3.11 cluster
rbac.enable=false
configautoreload=false
route.enable=true

I think the issue in your case is related to the CPU on the host the you are running the Jenkins pod, as the default CPU limit for the Jenkins pod is 2 cores and if the pod startup utilize the CPU and reached the maximum that your host can support could cause the CPU contention.
This result a slow pod startup which cause the readiness and liveness to fail and after certain number of probe thresholds the pod restarts.


PLAYNEXT-1020 Add MacOS minimum OS version

Description
ITMS reported this issue:

Hello,
We noticed one or more issues with a recent delivery for the following app:
Play SRF: Streaming TV & Radio
Version 3.8.9
Build 461
Although delivery was successful, you may want to correct the following issues in your next delivery. Once you've corrected the issues, upload a new binary to App Store Connect.
ITMS-90899: Macs with Apple silicon support issue - The app isn‘t compatible with the provided minimum macOS version of 11.0. It can run on macOS 12.0 or later. Please specify an LSMinimumSystemVersion value of 12.0 or later in a new build, or select a compatible version in App Store Connect. For details, visit: https://developer.apple.com/help/app-store-connect/manage-your-apps-availability/manage-availability-of-iphone-and-ipad-apps-on-macs-with-apple-silicon.
Apple Developer Relations

Changes Made
Add LSMinimumSystemVersion to iOS/iPadOS info plist.
Checklist

[x] I have followed the project's style guidelines.
[x] I have performed a self-review of my own changes.
[x] I have made corresponding changes to the documentation.
[x] My changes do not generate new warnings.
[x] I have tested my changes and I am confident that it works as expected and doesn't introduce any known regressions.
[x] I have reviewed the contribution guidelines.

No more emails regarding this ITMS-90899 issue.


no python client for Mac 11.1  pulsar 2.7

no python client for Mac 11.1  pulsar 2.7

Python-client 2.7 cannot be installed (using pip) on MacOS 11.1 (Big Sur) regardless of the Python version (verified for 3.7.9, 3.8.6 and 3.9.0).
The last instalable version of the pulsar-client package is 2.6.1.
Please, provide support for both Python 3.8 and 3.9 environments.

@bry00 we will take a look at this issue.

@bry00 we will take a look at this issue.

@bry00 @sixhj Sorry for the delay.
We already re-upload the python package to PyPI, please try again.
We supported python 3.8 and will consider adding python 3.9 support.

@sixhj I will close this issue first since @zymap has fixed this problem.


chore: update gocloak version

This follows up the work one in https://github.com/bf2fc6cc711aee1a0c2a/kas-fleet-manager/pull/847

Description

Verification Steps

Checklist (Definition of Done)

[ ] Documentation added for the feature
[ ] Code Review completed
[ ] Verified independently by reviewer
[ ] Equivalent Github Pull Request or an issue has been opened on the Quarkus based template

Getting this in as it already tested in https://github.com/bf2fc6cc711aee1a0c2a/kas-fleet-manager/pull/847


Type scopes

Shouldn't things like String, i32 have storage.type or  maybe support.type scope instead of entity.name.type?

Vscode Dark++ Theme colours:


Fix build issues

I tried to squash them as part of the merge, but for some reason it didn't work as expected...


implement ExitThread

BTW, if you run exe/rust/build.sh it builds a "threads.exe" program that can exercise some of this.
https://github.com/evmar/retrowin32/blob/main/exe/rust/README.md
I just added some build setup docs on how to build this:
https://github.com/evmar/retrowin32/blob/main/doc/build_setup.md
Not sure it's worth it for you, just FYI in case it helps

I've added a new Free state, and was going to implement cpu reuse in new_cpu but not sure exactly how to proceed 🤔
diff --git a/x86/src/x86.rs b/x86/src/x86.rs
index 222969de..cfd8f386 100644
--- a/x86/src/x86.rs
+++ b/x86/src/x86.rs
@@ -69,6 +69,14 @@ impl CPU {
         self.state = CPUState::Error(msg);
     }

+    pub fn reset(&mut self) {
+        self.regs = Registers::default();
+        self.flags = Flags::empty();
+        self.fpu = FPU::default();
+        self.state = Default::default();
+        self.futures.clear();
+    }
+
     // /// Check whether reading a T from mem[addr] would cause OOB, and crash() if so.
     // fn check_oob<T>(&mut self, addr: u32) -> bool {
     //     if addr < NULL_POINTER_REGION_SIZE {
@@ -210,6 +218,13 @@ impl X86 {
     }

     pub fn new_cpu(&mut self) -> &mut CPU {
+        for i in 0..self.cpus.len() {
+            if self.cpus[i].state == CPUState::Free {
+                self.cpus[i].reset();
+                return &mut *self.cpus[i];
+            }
+        }
+
         self.cpus.push(Box::pin(CPU::new()));
         self.cpus.last_mut().unwrap()
     }

I started doing something like this, but I realized that I'm not too well versed in what parts should be reset. In particular, with the code I have, it seems like it might be better to just swap_remove the cpu instead of keeping it around as free? 🤔

Oh yeah, swap_remove makes sense to me!  I wonder if there's some way you can swap_remove the current CPU such that we don't even need the ::Free state, but I think it's probably hard for a CPU to tear itself down when the code is deep within some call stack involving it...

FYI I dropped CPUStatus::Exit here https://github.com/evmar/retrowin32/commit/c1735a7dba8374dacc04d448ccd6a73dce1832ec

(rebased on latest main, not made any more progress)

This looks good, I merged it with another commit on top!  We can refine the cleanup bits later, I don't imagine there are too many threads starting/exiting in the programs we care about yet. :)


Allow specifying serviceAccount for jobs

Right now job-executor-service needs the following permissions on Kubernetes (see https://github.com/keptn-contrib/job-executor-service/blob/main/chart/templates/serviceaccount.yaml for details):

get, list, watch on secrets
* on pods, logs, persistent volume claims, jobs
* on jobs

This allows job-executor-service to do its job (pun intended). However, what if an end-users wants to have a job that requires access to the Kubernetes API in a certain namespace, e.g.,
  - name: "Deploy using helm"
    events:
      - name: "sh.keptn.event.je-deployment.triggered"
    tasks:
      - name: "deploy"
        files:
          - /charts
        image: "alpine/helm:3.7.2"
        cmd:
          - helm
        args:
          - "install"
          - "--namespace"
          - "$(PROJECT)-$(STAGE)"
          - "$(SERVICE)"
          - "/keptn/charts/$(SERVICE).tgz"
        env:
          - name: PROJECT
            value: "$.data.project"
            valueFrom: event
          - name: STAGE
            value: "$.data.stage"
            valueFrom: event
          - name: SERVICE
            value: "$.data.service"
            valueFrom: event

We end up running in an error, e.g.:
Error: INSTALLATION FAILED: Kubernetes cluster unreachable: Get "http://localhost:8080/version?timeout=32s": dial tcp <IP_ADDRESS>:8080: connect: connection refused

The reason behind this is simple: When launching jobs, those jobs cannot access the Kubernetes API, as the job is created with AutomountServiceAccountToken: false.
Feature request / Proposal
Provide possibility to specify serviceAccount per job
Example:
  - name: "Deploy using helm"
    events:
      - name: "sh.keptn.event.je-deployment.triggered"
    tasks:
      - name: "deploy"
        files:
          - /charts
        image: "alpine/helm:3.7.2"
        serviceAccount: "my-service-account" <<<<<<<
        cmd:
          - helm
        ...

Note: The end-user is responsible for creating and managing this SA.
Provide possibility to define default serviceAccount for job-executor-service jobs
One would also want to specify a default service account for jobs via an environment variable / helm value, e.g.:
helm upgrade --install -n keptn job-executor-service https://github.com/keptn-contrib/job-executor-service/releases/download/x.y.z/job-executor-service-x.y.z.tgz --set job.defaultServiceAccount=my-service-account

Other ideas
If you have other ideas/proposals, please share!
Pinging @thschue @didiladi @Paolo-Chila for ideas

Thomas has already made a small POC for this:

Create a cluster role binding, e.g.:

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: keptn-job-executor-service-allow-edit
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: edit
subjects:
  - kind: ServiceAccount
    name: job-executor-service
    namespace: keptn

Update code to allow specifying ServiceAccountName and set automountServiceAccountToken to true

diff --git a/pkg/k8sutils/job.go b/pkg/k8sutils/job.go
index 1af586c..e12de84 100644
--- a/pkg/k8sutils/job.go
+++ b/pkg/k8sutils/job.go
@@ -66,7 +66,7 @@ func (k8s *k8sImpl) CreateK8sJob(jobName string, action *config.Action, task con
                Medium:    v1.StorageMediumDefault,
                SizeLimit: &quantity,
        }
-       automountServiceAccountToken := false
+       automountServiceAccountToken := true

        runAsNonRoot := true
        convert := func(s int64) *int64 {
@@ -163,6 +163,7 @@ func (k8s *k8sImpl) CreateK8sJob(jobName string, action *config.Action, task con
                                                },
                                        },
                                        AutomountServiceAccountToken: &automountServiceAccountToken,
+                                       ServiceAccountName: "job-executor-service",
                                },
                        },
                        BackoffLimit: &backOffLimit,


fix greedy_algorithms/knapsack.cpp to satisfy clang-tidy warnings

Description of Change

Fx greedy_algorithms/knapsack.cpp to satisfy clang-tidy warnings.
Checklist

[x] Added description of change
[x] PR title follows semantic commit guidelines
[x] I acknowledge that all my contributions will be made under the project's license.

Notes:

/home/user/C-Plus-Plus/greedy_algorithms/knapsack.cpp:28:20: error: no viable overloaded '=' [clang-diagnostic-error]
arr[i] = arr[j];
When we make array as constant this message is produced by clang-tidy. Because we are then want to modify its value.


[HW] https://github.com/budihertanto Budi Hertanto

Name: Budi Hertanto
Email<EMAIL_ADDRESS>Linkedin Profile:
Attach the homework screenshots below for both step II and step III:

Hey there Budi, thank you for your submission. Nice job getting Through the workshop materials. The only thing we are missing is step 3 of the homework.
3. Complete the following short courses: Cassandra Data Modeling and Cassandra Query Language. Take screenshots of the "Congratulations" page from each course.
Please post an image of the "completed" screen once finished.


test-js-with-node: Keep running after some tests fail

This lets us collect all failures rather than the first failure in each process.

Merged, thanks @andersk!


add --bbox-margin

If you only download the tiles in a bounding box, then the surrounding tiles in the frontend are missing. It would be better if you could specify a margin in addition to the bounding box, i.e. how many tiles to the left/right/top/bottom of the bounding box should also be extracted.

closed with fc72be7f51d41bf60c66e9b66d0c47ba32524d5a


Add support for iteration loops

Support for loops like for (init; cond; iter) { body } is needed. This loop structure can be broken down into the following subcomponents:
init
loop (cond)
  sequence
    body
    iter

Done


questen about the project

i dont have means to replace my computer if things go wrong
so by any chance can this project make my computer unbootable if things go south.
i rather not brick my pc in presuit of a upgrade
my exact pc is a alienware m15 laptop (2019)

Learn where your bios chip is and how to use a CH341 eeprom flasher

Learn where your bios chip is and how to use a CH341 eeprom flasher

i rather not do that i guess i will just buy a new pc

If you dont know what youre doing or why its better to just leave it.


Fix SessionManage Trait

Now, SessionManage Trait is define like this
#[async_trait]
pub trait SessionManage<T>: Debug + Clone {
    type SessionID: Clone + Send;
    type UserInfo: Clone + Send;
    type Error;

    async fn add_session(&self, session_data: T) -> Result<Self::SessionID, Self::Error>;
    async fn verify_session(&self, session_id: &str)
        -> Result<Option<Self::UserInfo>, Self::Error>;
    async fn delete_session(&self, session_id: &str);
}

add_session() and verify_session() method have Result<T, E> but delete_session() method is not have Result.
delete_session method can error too.
So,  we need to fix  delete_session()

this isue was resolved by #5 .
So close this isue.


User complaints about inadequate notification and job status

We've had several users with job errors that were never notified (looks like job in progress) on website, but when open its actually failed.

I'm closing this as obsolete.  Please reopen if needed.


container: normalize all image names

Hello @jazzdan,
Please review the following commits I made in branch nicks/normalize:
f5fd5172aebf279d6675375172863bb925c2aae7 (2019-02-21 12:43:07 -0500)
container: normalize all image names

(in a follow-up, i think we need to go thru and make all the ref-parsing functions go thru a single place, but this will fix the immediate problem)


Widget for Google Analytics

Is your feature request related to a problem? Please describe.
Some merchants wants an simpler integration with GA (pageviews and purchase only) in place of enhanced eCommerce integration with GTM.
Describe the solution you'd like
Create a new widget for GA direct integration sending normal page view events, additional page views for checkout SPA and purchase event only.
Describe alternatives you've considered
Ask the merchant to learn enhanced eCommerce and use GTM widget properly :stuck_out_tongue:
Additional context
https://community.e-com.plus/t/configurando-analytics-via-tag-manager-com-acompanhamento-de-e-commerce/132/15

@ThaisChaves ou @matheusgnreis alguém pode dar um toque no lojista amanhã por favor? Acho que não é necessário testar, mas se quiserem...

oi. Já passei para o lojista!


Child pages are not populated for sub menu and has_children_in_menu is False

Hello,
I'm trying to use Wagtailmenus in my project and have an issue. When rendering the menu only top level menu items are available, the ones that were manually created in the Main menu settings in Wagtail admin. But the children pages of the top level page are not populated in the top level menu item, and the item.has_children_in_menu is False.
Here is my setup:
Django 4.0.5; Wagtail 3.0.1; Wagtailmenus 3.1.2.
I use MenuPageMixin class when creating my Page objects. The "Show in menus" is true for all the pages in the page tree. All mirations seem to be applied.
What can be wrong? Am I doing something incorrectly?

Also, when I list child pages in Wagtail admin pages list view, in the context menu "Sort menu order" button is avalable and works.

Hi @naitsok,
Try changing this setting:
https://wagtailmenus.readthedocs.io/en/stable/settings_reference.html#wagtailmenus-section-root-depth
In your settings, try:
WAGTAILMENUS_SECTION_ROOT_DEPTH = 2


Automod notifications get posted twice

Describe your issue
Messages held by automod get posted twice sometimes. Approved message also don't get displayed by chatterino but they do get sent.
I can only reproduce the bug after switching accounts, so this is probably related to #1022 or maybe some recent change introduced this bug since I don't remember getting duplicate notifications before 2.3.4
Screenshots

OS and Chatterino Version
Windows 10, Chatterino 2.3.4

I have replicated this by accident during account switching.

I don't remember getting duplicate notifications before 2.3.4

I do, but not specifically what commit I would have been on.

This occurs most likely because PubSub connection is being created twice. I've seen this happen very recently (2.3.2/2.3.3). Gotta investigate when we should properly (UN)LISTEN from/to moderation topics to prevent this from happening.

Likely? Fixed by #3643

It now crashes when automod holds a message
Chatterino Nightly 2.3.5 (commit f97780d84, built on ) running on Windows 10 Version 2009, kernel: 10.0.19044

crash fixed by #3716 but double notifications are still there


Show calendar in a week mode

Hi, how can we show the calendar in a week mode?

like this -> https://github.com/patchthecode/JTAppleCalendar/issues/581


Sanitize Properties passed to constructor

Eg, to provide the ability to reuse streams config...
Also, certain producer properties should be ignored (such as serializers), so we should be selective about what property keys we actually accept.

Sorted in release 0.2.6


Export the inputs from v0.14.3 & add 'adding a new component' docs

Turns out new components don't get automatically exported for use in shared-components-the-npm-package; you need to add them to the lib/index.js exports
This PR exports/makes usable the components I released in PR #97.
Also, added docs on what to do when you want to add a new component

:rocket: PR was released in v0.19.0 :rocket:


Generated Swift API does not contain correct nested Entities in  GQL Query

Describe the bug
When generating the Swift SDK from my graphql schema, subentities on an entity do not have all their fields in the generated query string inside the created API file.
To Reproduce
Steps to reproduce the behavior:

Go to AppSync Console
Create new API with this schema

type Event {
	id: ID!
	version: Int!
	label: String!
	code: String!
	avatar: AWSURL
	phone: String
}

type Member {
	id: ID!
	version: Int!
	label: String
	avatar: AWSURL
	phone: String!
}

type Moment {
	id: ID!
	version: Int!
	status: String!
	from: Participation!
	event: Event!
	featuredTag: String
	tags: [String!]
	caption: String
	photo: AWSURL
	fallback: AWSURL
	quote: String
	background: AWSURL
}

input MomentFilterInput {
	event: ID
	member: ID
	participation: ID
	featuredTag: String
	tags: [String!]
	status: [String!]
}

type Participation {
	id: ID!
	version: Int!
	member: Member!
	event: Event!
	role: String!
	designation: String
	status: String!
}

type Query {
	getMoment(id: ID!): Moment
	listMoments(filter: MomentFilterInput): [Moment!]
}

schema {
	query: Query
}

Create an amplify project
run amplify add codegen --apiId 123TheApiKey
Look at the query string of the ListMomentsQuery below (formatted for readability)

public final class ListMomentsQuery: GraphQLQuery {
  public static let operationString =
    "query ListMoments($filter: MomentFilterInput) {
  listMoments(filter: $filter) {
    __typename
    id
    version
    status
    from {
      __typename
      id
      version
      role                         ##This is missing member and member's subfields
      designation
      status
    }
    event {
      __typename
      id
      version
      label
      code
      avatar
      phone
    }
    featuredTag
    tags
    caption
    photo
    fallback
    quote
    background
  }
}"

....

Expected behavior
I expected that in the above query string I would see the member field on a participation (the from ).
This is a pretty major problem because it means I can only have entities that are very shallow OR I have to do all the bookkeeping of ID referencing myself. Am I misunderstanding how to use the API here?

@MageMasher amplify codegen by default limits the number level it traverses in response type. This is done to prevent an infinite loop if a type refers to itself. We don't have a way to change the depth using CLI, but we might implement a way to pass that in the future.
amplify codegen is 2 step process

Statement generation - takes a schema and generates statements. Its here we have limit on the levels.
types generation - takes the schema and statements and generate swift or typescript files.

So to solve the issue you have you could update the statements generated in step 1. The files are located inside <proj-directory>/graphql to include members subfield. After doing that make sure  say no to Do you want to generate/update all possible GraphQL operations - queries, mutations and subscriptions and the generated code will have memebers.

Is this two step process documented somewhere? I almost gave up on appsync entirely because of this issue and after scouring the documentation for well over 2 days I filed this issue because I couldn't figure out why it was behaving like this.
To be clear, I'm thrilled there is a known solution here, I just hope more folks find this issue rather than give up like I almost did. Thank you for your help.

Is this two step process documented somewhere? I almost gave up on appsync entirely because of this issue and after scouring the documentation for well over 2 days I filed this issue because I couldn't figure out why it was behaving like this.

No its not documented anywhere. I have created an https://github.com/aws-amplify/docs/issues/199 in our documentation repo.


fix(imports): remove require imports from highlight and markdown

Description
using ES6 style imports for highlight.js and markdown libraries
What's included?

using ES6 style module imports over the node based require
allows for better module tree shaking

Test Steps

[ ] npm run start
[ ] then check the highlight and markdown demos
[ ] finally verify it builds

General Tests for Every PR

[ ] npm run start:prod still works.
[ ] npm run tslint passes.
[ ] npm run stylelint passes.
[ ] npm test passes and code coverage is not lower.
[ ] npm run build:lib still works.

Tested it locally.   Works pretty well

:tada: This PR is included in version 4.1.0-develop.1 :tada:
The release is available on:

v4.1.0-develop.1
GitHub release

Your semantic-release bot :package::rocket:


Tweak docs to guide users towards correct API usage

The end goal with this PR is to adjust the documentation to make the semantics of the library as clear as possible.
I've started with just a tiny change to set a foundation, updating the documentation comment to define Timestamp wrt UNIX time.
citations, since my only msgs so far are on discord (I believe Timestamp = Unix is currently intentional, this is just a mistake in docs):

now uses the value constructed by duration_since(EPOCH), which is defined as POSIX time

duration_since(UNIX_EPOCH).unwrap().as_secs() returns the number of non-leap seconds since the start of 1970 UTC. This is a POSIX time_t (as a u64), and is the same time representation as used in many Internet protocols.
this can also be tested experimentally by printing the Timestamp::now().as_nanos()

Display for Timestamp prints the corresponding date to an input unix time.
this can also be tested by printing format!("{}", Timestamp::new(24 * 60 * 60 * (365 * 30 + (30 / 4)) , 0)) to 2000-01-01T00:00:00Z, which is 22 seconds faster than it should be

On https://github.com/BurntSushi/jiff/issues/7#issuecomment-2359423476, I wanna make the most compelling case I can 😁
Which part of this should I elaborate on?

"Jiff is a datetime library for Rust that encourages you to jump into the pit of success", so I'm assuming the API should be structured in a way that makes it easy to find the right API when you want to do something
It is common for users to write the let start = now(); f(); now() - start pattern
The current API presents Timestamp as entirely appropriate (now() and Sub) for the measurement pattern
But this implementation is obviously wrong

in that it will return a completely incorrect result in normal operating conditions
and 1 second is a massive error for plenty of cases of this measurement pattern

Youve said that

I also think that a lot of the trouble and bugs that come from leap seconds aren't necessarily because of datetime libraries not handling them, but rather, because programmers have assumed that their system time is monotonically increasing. Jiff doesn't provide any monotonic guarantees because it's a library for dealing with human time.

so this is entirely fine semantically, but I do not agree that it's a "pit of success", the library immediately lures naive users down the wrong path by presenting them with the classic failure mode. We cant write code that calculates deltas because we can't "assume that our system time is monotonically increasing", but jiff offers that incorrect behaviour via the most accessible API!

so this is entirely fine semantically, but I do not agree that it's a "pit of success", the library immediately lures naive users down the wrong path by presenting them with the classic failure mode. We cant write code that calculates deltas because we can't "assume that our system time is monotonically increasing", but jiff offers that incorrect behaviour via the most accessible API!

Pit of success is a pithy goal of the library. It's a design principle. Jiff does not and will not meet that goal in every case, and it will sometimes be in tension with other design goals. You seem to be suggesting that Jiff not offer a way to ask for the current time and provide an easy way to calculate the difference between two times. Like, this seems completely bonkers to me.


Frame count for remuxed mkv

When creating a mkv file, the video stream does not contain several important bits of metadata, such as the number of frames.
I am not sure if this is a deficiency of ffmpeg, a feature(?) of the mkv container or an omission in the remuxing process. I believe this may be related to why mkv files do not seek either (probably missing other necessary metadata).
Of course, you can get a frame count by scanning the whole file, but this is very slow.
The example below, adapted from the pyav docs, shows the problem.
TIA for your help.
import av
import av.datasets

input_ = av.open(av.datasets.curated("pexels/time-lapse-video-of-night-sky-857195.mp4"))
output = av.open("remuxed.mkv", "w")

# Make an output stream using the input as a template. This copies the stream
# setup from one to the other.
in_stream = input_.streams.video[0]
out_stream = output.add_stream(template=in_stream)

for packet in input_.demux(in_stream):

    print(packet)

    # We need to skip the "flushing" packets that `demux` generates.
    if packet.dts is None:
        continue

    # We need to assign the packet to the new stream.
    packet.stream = out_stream

    output.mux(packet)

input_.close()
output.close()

remuxed = av.open("remuxed.mkv")
print(remuxed.frames)

ffprobe dump below confirms that the necessay metadata is not in the file:
Input #0, matroska,webm, from 'remuxed.mkv':
  Metadata:
    ENCODER         : Lavf58.76.100
  Duration: 00:00:06.72, start: 0.000000, bitrate: 2471 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
    Metadata:
      DURATION        : 00:00:06.720000000
[STREAM]
index=0
codec_name=h264
codec_long_name=H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
profile=High
codec_type=video
codec_tag_string=[0][0][0][0]
codec_tag=0x0000
width=1280
height=720
coded_width=1280
coded_height=720
closed_captions=0
has_b_frames=2
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=yuv420p
level=32
color_range=tv
color_space=bt709
color_transfer=bt709
color_primaries=bt709
chroma_location=left
field_order=progressive
refs=1
is_avc=true
nal_length_size=4
id=N/A
r_frame_rate=25/1
avg_frame_rate=25/1
time_base=1/1000
start_pts=0
start_time=0.000000
duration_ts=N/A
duration=N/A
bit_rate=N/A
max_bit_rate=N/A
bits_per_raw_sample=8
nb_frames=N/A
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=1
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
DISPOSITION:timed_thumbnails=0
TAG:DURATION=00:00:06.720000000
[/STREAM]

https://libav-api.libav.narkive.com/uSexsIRe/nb-frames-is-always-zero-for-video-streams-inside-mkv-files

This issue is a wontfix. You must decode the whole file and calculate the frame count manually, the slow process.


Lint/AssignmentInCondition not triggered for property access

Expected behavior
if foo.bar = baz
  91
end

Should trigger the Lint/AssignmentInCondition
Actual behavior
No error
Steps to reproduce the problem
$ cat a.rb
if foo.bar = baz
  91
end
$ rubocop a.rb
Inspecting 1 file
.

1 file inspected, no offenses detected

RuboCop version
$ rubocop -V
0.38.0 (using Parser <IP_ADDRESS>, running on ruby 2.1.2 x86_64-darwin15.0)

I've got a fix.


message_generation: 0.4.1-1 in 'melodic/distribution.yaml' [bloom]

Increasing version of package(s) in repository message_generation to 0.4.1-1:

upstream repository: https://github.com/ros/message_generation.git
release repository: https://github.com/ros-gbp/message_generation-release.git
distro file: melodic/distribution.yaml
bloom version: 0.9.1
previous version for package: 0.4.0-0

Do not merge yet - waiting for other Melodic releases...


build: remove the vscode files

TL;DR
Removed VSCode-specific configuration files from version control.
What changed?
Deleted .vscode/settings.json and .vscode/tasks.json files, removing IDE-specific configurations including NPM task definitions for build, test, and development commands.
How to test?

Clone the repository
Verify that .vscode directory and its contents are no longer present
Confirm that project builds and runs correctly without these VSCode configurations

Why make this change?
IDE-specific configuration files should not be tracked in version control as they are user-specific preferences. This allows developers to maintain their own VSCode settings locally without affecting other team members' environments.

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

#127
#126
#125  👈 (View in Graphite)
#124
next

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

Merge activity

Dec 5, 2:40 PM EST: A user started a stack merge that includes this pull request via Graphite.


Not working on MacOS sandbox mode

Hi. I try to use this awesome package on Mac and have issue Invalid argument(s): Failed to load dynamic library 'libmediainfo.0.dylib': dlopen(libmediainfo.0.dylib, 0x0001): tried: '/Users/<user>/Dev/projects/<app_name>/build/macos/Build/Products/Debug/<app_name>.app/Contents/Frameworks/FlutterMacOS.framework/Versions/A/./libmediainfo.0.dylib' (no such file),
I think this issue is happens exactly in sandbox mode. I also have issue on Windows with this library in sandbox mode after pack to msix and install. But I've found workaround. Exactly one library MediaInfo.dll need to copy to VFS/SystemX64/ folder before packing. And after that it can find dynamic library. Maybe there is also similar workaround on Mac, but I will be thankful if this issue will be fixed
Flutter (Channel beta, 3.4.0-17.2.pre, on macOS 12.5 21G72 darwin-x64, locale en-UA)
Xcode - develop for iOS and macOS (Xcode 13.4.1)
MacOS Monterey 12.6.2
I hope issue in the way how dynamic library included. I think it should be something like https://github.com/alexmercerind/dart_vlc/blob/master/lib/dart_vlc.dart#L114

Hi, I fixed this problem for macOS system on the dev branch, but I want to release a new version only after testing these changes on all supported platforms.

Hi, I fixed this problem for macOS system, but I want to release a new version only after testing these changes on all supported platforms.

Any updates? Do you have any plans for that? Are you going to do that in few days or weeks?

I think I'll release versions after the weekend.

I released version 0.0.3 which fixes this bug and has some minor improvements.


Added example for TFT Display Album Art.

The current example for the album art display is unable to build currently, due to some methods being updated. I've created a new example for using a TFT Display for displaying the image. Code was built on an ESP32, and worked extremely well.

Thanks @ChristianFemia , I'm not in position to test right now but looks good to me! Would you mind updating the text at the top of the example to reflect the changes, it's not adafruit gfx based anymore for example

Thanks!


[Bug]

Summary
A clear and concise description of what the bug is, and what you expected to happen.
How to reproduce

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

Please include screenshots.
Additional context
Add any other context about the problem here.

This issue contains no bug report. Please fill in the requested information in the issue template before creating a bug report.


Create .env.sample file

Why this issue
There are large amount of contributor is working in this project and setup this project.

First, Every contributor has to find all the environment variables exist in this project.
Then make .env file with all ENV variables then start the server.

This .env.sample file contains all the env variables that can be used in this project. That will make easy to setup this project.
@Trisha-tech Can you assign me this project under gssoc.

Why this issue
There are large amount of contributor is working in this project and setup this project.

First, Every contributor has to find all the environment variables exist in this project.
Then make .env file with all ENV variables then start the server.

This .env.sample file contains all the env variables that can be used in this project. That will make easy to setup this project.
@Trisha-tech Can you assign me this project under gssoc.

Hello @gyanendra-baghel , Go for it
All the Best

Can you this task under gssoc with label1


Ignore dot files

I have a folder called .unused in my system directories, for example /roms/snes/.unused. In that directory are ROMs that I may revisit at a later date. Emulationstation will ignore that directory since it's a dot file, but scraper will dive in and scrape everything in there.
Would it be possible for you to remove that behavior, or is there a flag that would enable me to ignore specified sub-directories? Something like -ignore_dir .unused.

Thanks. I've added a filter to skip any directory or file that starts with .

Cool, thanks for the quick turn around.

Finally had a chance this weekend to update the script, works like a charm, thanks again.


Biome suggestion: Black beach

Adding, Removing, or Changing
Adding
Type of Modification
Biome / Region
What are you trying to modify
Pretty much just a beach of blackstone and some smooth basalt.. could also feed into some sorta ridges or coves like below...

Minecraft Version
1.17
Iris Version
na
Checklist

[X] I am using an unmodified version of the overworld. (If you modified the overworld but know the content suggestion is valid)
[X] I am using the latest version of the overworld OR I have made sure this feature was not already implemented in the latest version.

We actually have a black Beach implemented, its just using concrete powder

Ah nice I didn’t see it 😁 sorry what about those cove bits?


Hyprland not starting on Gentoo (m_szWLDisplaySocket NULL)

Hello!
currently trying to get Hyprland (git main & latest release) working on a fresh Gentoo install, but it's always crashing without a (for me) useful error message. Other Wayland wms work fine. Seatd is installed and active. I looked into different gentoo ebuilds, but none is working for me.
[LOG] Instance Signature: b5b436e01ddb5d5200f55be3deed8f4fade0574c_1673783153
[LOG] Hyprland PID: 4485
[LOG] ===== SYSTEM INFO: =====
[LOG] System name: Linux
[LOG] Node name: hbd
[LOG] Release: 6.0.12-zen1
[LOG] Version: #3 ZEN SMP PREEMPT_DYNAMIC Sat Jan 14 23:33:04 CET 2023

[LOG] GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6950 XT] [1002:73a5] (rev c0) (prog-if 00 [VGA controller])
17:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev c1) (prog-if 00 [VGA controller])

[LOG] os-release:
NAME=Gentoo
ID=gentoo
PRETTY_NAME="Gentoo Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.gentoo.org/"
SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"
VERSION_ID="2.9"

[LOG] ========================

[INFO] If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/

[LOG]
Current splash: With the lights out, it's less dangerous

[LOG] Hyprland init finished.
[LOG] Creating the CHyprError!
[LOG] Creating the KeybindManager!
[LOG] Creating the AnimationManager!
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 244.92µs. Estimated average calc time: 0.00µs.
[LOG] Creating the LayoutManager!
[LOG] Creating the ConfigManager!
[LOG] Creating the ThreadManager!
[LOG] Reloading the config!
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 4.01µs. Estimated average calc time: 0.00µs.
[LOG] Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 4.06µs. Estimated average calc time: 0.00µs.
[LOG] Registered dynamic var "$mainMod" -> SUPER
[LOG] Hypr socket started at /tmp/hypr/b5b436e01ddb5d5200f55be3deed8f4fade0574c_1673783153/.socket.sock
[LOG] Creating the InputManager!
[LOG] Creating the CHyprOpenGLImpl!
[LOG] Creating the Hypr OpenGL Renderer!
[LOG] Using: OpenGL ES 3.2 Mesa 22.3.3
[LOG] Vendor: AMD
[LOG] Renderer: AMD Radeon RX 6950 XT (navi21, LLVM 15.0.7, DRM 3.48, 6.0.12-zen1)
[LOG] Supported extensions size: 149
[LOG] Creating the HyprRenderer!
[LOG] Creating the XWaylandManager!
[LOG] Registered signal for owner 7d681080: 7d6810c0 -> 7c1aedd0 (owner: XWayland Manager)
[LOG] Registered signal for owner 7d681080: 7d6810d0 -> 7c1aedb0 (owner: XWayland Manager)
[LOG] CHyprXWaylandManager started on display :0
[LOG] Creating the ProtocolManager!
[LOG] ToplevelExportManager started successfully!
[LOG] Creating the EventManager!
[LOG] Creating the HyprDebugOverlay!
[LOG] Registered signal for owner 7c9fa7e0: 7c9fa808 -> 7c1aecc0 (owner: Backend)
[LOG] Registered signal for owner 7d558e80: 7d558ed0 -> 7c1aec60 (owner: XDG Shell)
[LOG] Registered signal for owner 7d558f50: 7d558f68 -> 7c1aec20 (owner: WLRCursor)
[LOG] Hypr socket 2 started at /tmp/hypr/b5b436e01ddb5d5200f55be3deed8f4fade0574c_1673783153/.socket2.sock
[LOG] Registered signal for owner 7d558f50: 7d558f78 -> 7c1aec00 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d558f88 -> 7c1aebe0 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d558f98 -> 7c1aebc0 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d558fa8 -> 7c1aeba0 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d558fb8 -> 7c1ae980 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d558fc8 -> 7c1ae940 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d558fd8 -> 7c1ae960 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d558fe8 -> 7c1ae920 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d558ff8 -> 7c1ae900 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d559008 -> 7c1ae8e0 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d559048 -> 7c1ae840 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d559038 -> 7c1ae820 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d559058 -> 7c1ae800 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d559078 -> 7c1ae7e0 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d559018 -> 7c1ae7c0 (owner: WLRCursor)
[LOG] Registered signal for owner 7d558f50: 7d559028 -> 7c1ae7a0 (owner: WLRCursor)
[LOG] Registered signal for owner 7c9fa7e0: 7c9fa7f8 -> 7c1aeb80 (owner: Backend)
[LOG] Registered signal for owner 7c9f8f90: 7d65a3c8 -> 7c1aeb20 (owner: Seat)
[LOG] Registered signal for owner 7c9f8f90: 7d65a3d8 -> 7c1aeb00 (owner: Seat)
[LOG] Registered signal for owner 7c9f8f90: 7d65a418 -> 7c1aea80 (owner: Seat)
[LOG] Registered signal for owner 7c9f8f90: 7d65a428 -> 7c1aea60 (owner: Seat)
[LOG] Registered signal for owner 7c9f8f90: 7d65a3d8 -> 7c1aeb00 (owner: Seat)
[LOG] Registered signal for owner 7c9f8f90: 7d65a3f8 -> 7c1aeae0 (owner: Seat)
[LOG] Registered signal for owner 7d65a680: 7d65a6a0 -> 7c1aec80 (owner: LayerShell)
[LOG] Registered signal for owner 7d558c30: 7d558c50 -> 7c1aece0 (owner: OutputLayout)
[LOG] Registered signal for owner 7d65a990: 7d65a9c8 -> 7c1aeac0 (owner: OutputMgr)
[LOG] Registered signal for owner 7d65a990: 7d65a9d8 -> 7c1aeaa0 (owner: OutputMgr)
[LOG] Registered signal for owner 7d65aa70: 7d65aaa0 -> 7c1aea40 (owner: InhibitMgr)
[LOG] Registered signal for owner 7d65aa70: 7d65aab0 -> 7c1aea20 (owner: InhibitMgr)
[LOG] Registered signal for owner 7d65acb0: 7d65acc8 -> 7c1aeb40 (owner: PointerConstraints)
[LOG] Registered signal for owner 7d65a7f0: 7d65a820 -> 7c1aea00 (owner: XDGDecoMgr)
[LOG] Registered signal for owner 7d65aeb0: 7d65aee0 -> 7c1aeb60 (owner: VirtPtrMgr)
[LOG] Registered signal for owner 7d65ae00: 7d65ae30 -> 7c1ae860 (owner: VKeyboardMgr)
[LOG] Registered signal for owner 7d473bf0: 7d473bf0 -> 7c1ae9e0 (owner: WLRRenderer)
[LOG] Registered signal for owner 7d55c750: 7d55c780 -> 7c1ae9c0 (owner: WLRIdleInhibitMgr)
[LOG] Registered signal for owner 7d558c80: 7d558cb0 -> 7c1ae8c0 (owner: PowerMgr)
[LOG] Registered signal for owner 7d55cbd0: 7d55cc00 -> 7c1ae8a0 (owner: IMEMgr)
[LOG] Registered signal for owner 7d55cb20: 7d55cb50 -> 7c1ae880 (owner: TextInputMgr)
[LOG] Registered signal for owner 7d55cc80: 7d55cca8 -> 7c1aec40 (owner: ActivationV1)
[LOG] Registered signal for owner 7c9f8d00: 7d65b050 -> 7c1aeca0 (owner: DRM)
[LOG] Registered signal for owner 7c9fa870: 7c9fa9d0 -> 7c1ae9a0 (owner: Session)
[CRITICAL] m_szWLDisplaySocket NULL!

#  coredumpctl info 4485
           PID: 4485 (Hyprland)
           UID: 1000 (bytee)
           GID: 1000 (bytee)
        Signal: 6 (ABRT)
     Timestamp: Sun 2023-01-15 12:45:54 CET (2h 34min ago)
  Command Line: Hyprland
    Executable: /usr/bin/Hyprland
 Control Group: /user.slice/user-0.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-0.slice
       Session: 1
     Owner UID: 0 (root)
       Boot ID: 8af7cd9d549646a2931a44c0b5f6cdac
    Machine ID: 4c6e841d0526f33a9556f83a63afa7be
      Hostname: hbd
       Storage: /var/lib/systemd/coredump/core.Hyprland.1000.8af7cd9d549646a2931a44c0b5f6cdac.448>
  Size on Disk: 2.5M
       Message: Process 4485 (Hyprland) of user 1000 dumped core.

#0  0x00007f33c1bb230c in ?? () from /lib64/libc.so.6

Any ideas?

https://github.com/hyprwm/Hyprland/blob/b5b436e01ddb5d5200f55be3deed8f4fade0574c/src/Compositor.cpp#L358-L370
would suggest wl_display_add_socket refused to add a socket at wayland-1 through wayland-32.
Instance Signature: b5b436e01ddb5d5200f55be3deed8f4fade0574c_1673886252
Hyprland PID: 3689
===== SYSTEM INFO: =====
System name: Linux
Node name: alpine-something
Release: 5.15.88-0-lts
Version: #1-Alpine SMP Mon, 16 Jan 2023 08:10:32 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation GeminiLake [UHD Graphics 600] [8086:3185] (rev 03) (prog-if 00 [VGA controller])

os-release:
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.17.1
PRETTY_NAME="Alpine Linux v3.17"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://gitlab.alpinelinux.org/alpine/aports/-/issues"

========================

If you are crashing, or encounter any bugs, please consult https://wiki.hyprland.org/Crashes-and-Bugs/

Current splash: I'm still standing, better than I ever did

Hyprland init finished.
Creating the CHyprError!
Creating the KeybindManager!
Creating the AnimationManager!
Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 30.92µs. Estimated average calc time: 0.00µs.
Creating the LayoutManager!
Creating the ConfigManager!
Creating the ThreadManager!
Reloading the config!
Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 24.51µs. Estimated average calc time: 0.00µs.
Created a bezier curve, baked 200 points, mem usage: 3.20kB, time to bake: 24.50µs. Estimated average calc time: 0.00µs.
Registered dynamic var "$mainMod" -> SUPER
Hypr socket started at /tmp/hypr/b5b436e01ddb5d5200f55be3deed8f4fade0574c_1673886252/.socket.sock
Creating the InputManager!
Creating the CHyprOpenGLImpl!
Creating the Hypr OpenGL Renderer!
Using: OpenGL ES 3.2 Mesa 22.2.5
Vendor: Intel
Renderer: Mesa Intel(R) UHD Graphics 600 (GLK 2)
Supported extensions size: 149
Creating the HyprRenderer!
Creating the XWaylandManager!
Registered signal for owner 38d60d30: 38d60d70 -> 1401d070 (owner: XWayland Manager)
Registered signal for owner 38d60d30: 38d60d80 -> 1401d050 (owner: XWayland Manager)
CHyprXWaylandManager started on display :0
Creating the ProtocolManager!
ToplevelExportManager started successfully!
Creating the EventManager!
Creating the HyprDebugOverlay!
Hypr socket 2 started at /tmp/hypr/b5b436e01ddb5d5200f55be3deed8f4fade0574c_1673886252/.socket2.sock
Registered signal for owner 446549f0: 44654a18 -> 1401d9e0 (owner: Backend)
Registered signal for owner 38d68790: 38d687e0 -> 1401d980 (owner: XDG Shell)
Registered signal for owner 38d7be20: 38d7be38 -> 1401d940 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7be48 -> 1401d920 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7be58 -> 1401d900 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7be68 -> 1401d8e0 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7be78 -> 1401d8c0 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7be88 -> 1401d6a0 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7be98 -> 1401d660 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7bea8 -> 1401d680 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7beb8 -> 1401d640 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7bec8 -> 1401d620 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7bed8 -> 1401d600 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7bf18 -> 1401d560 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7bf08 -> 1401d540 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7bf28 -> 1401d520 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7bf48 -> 1401d500 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7bee8 -> 1401d4e0 (owner: WLRCursor)
Registered signal for owner 38d7be20: 38d7bef8 -> 1401d4c0 (owner: WLRCursor)
Registered signal for owner 446549f0: 44654a08 -> 1401d8a0 (owner: Backend)
Registered signal for owner 443fabc0: 3915ad68 -> 1401d840 (owner: Seat)
Registered signal for owner 443fabc0: 3915ad78 -> 1401d820 (owner: Seat)
Registered signal for owner 443fabc0: 3915adb8 -> 1401d7a0 (owner: Seat)
Registered signal for owner 443fabc0: 3915adc8 -> 1401d780 (owner: Seat)
Registered signal for owner 443fabc0: 3915ad78 -> 1401d820 (owner: Seat)
Registered signal for owner 443fabc0: 3915ad98 -> 1401d800 (owner: Seat)
Registered signal for owner 38d99650: 38d99670 -> 1401d9a0 (owner: LayerShell)
Registered signal for owner 38d99470: 38d99490 -> 1401da00 (owner: OutputLayout)
Registered signal for owner 38402010: 38402048 -> 1401d7e0 (owner: OutputMgr)
Registered signal for owner 38402010: 38402058 -> 1401d7c0 (owner: OutputMgr)
Registered signal for owner 38400330: 38400360 -> 1401d760 (owner: InhibitMgr)
Registered signal for owner 38400330: 38400370 -> 1401d740 (owner: InhibitMgr)
Registered signal for owner 38d9cde0: 38d9cdf8 -> 1401d860 (owner: PointerConstraints)
Registered signal for owner 38d984e0: 38d98510 -> 1401d720 (owner: XDGDecoMgr)
Registered signal for owner 38401630: 38401660 -> 1401d880 (owner: VirtPtrMgr)
Registered signal for owner 38d98600: 38d98630 -> 1401d580 (owner: VKeyboardMgr)
Registered signal for owner 39521bb0: 39521bb0 -> 1401d700 (owner: WLRRenderer)
Registered signal for owner 384016f0: 38401720 -> 1401d6e0 (owner: WLRIdleInhibitMgr)
Registered signal for owner 38d98240: 38d98270 -> 1401d5e0 (owner: PowerMgr)00:00:00.174
terminate called after throwing an instance of 'std::runtime_error'
  what():  m_szWLDisplaySocket was null! (wl_display_add_socket_auto failed)
Aborted

Same error on Alpine.

Same error on arch

please check with 5112056fdbda989191310364444f328240bbf6f1
if still fails, provide the log plox

On arch the problem seems to have been fixed before the new commit was pushed, it may have had something to do with some dependency update althought I can't say which one caused it

I can't compile it anymore on Alpine:
meson _build
...
protocols/meson.build:38:1: ERROR: File //usr/local/share/hyprland-protocols/protocols/hyprland-toplevel-export-v1.xml does not exist.

And make install fails as before: /usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lOpenGL: No such file or directory collect2: error: ld returned 1 exit status ninja: subcommand failed .

missing opengl dep. for the meson issue, try recloning. also @fufexan for meson

git clone --recursive https://github.com/hyprwm/Hyprland
cd Hyprland
meson _build #error here
ninja -C _build
ninja -C _build install

Is that how you do it right?
I already tried to start over.
I deleted the folder again and I have the same error.
The wiki states ninja -C _build install --tags runtime,man but that triggered an error.
So before I used just ninja -C _build install.

@vaxerski Ok, with the patch, it starts for me under Gentoo without any problems. Thank you! (Sorry that it took me so long)

@yvesh could you please close the issue if it is resolved. thx

I might have a similar issue which is was able to solve, https://github.com/hyprwm/Hyprland/issues/3145.


How can I clean or delete existe scope

Your Question
How can I clean | delete all scopes?
The document you expected this should be explained
I have a particular rule for my project when I have to create a default Scope in db initialization, this is for set TenantId and soft delete resources.
...
      //here I set default scope for any repository using gorm
conn = conn.Scopes(IgnoreDeleted, WithTenant)
...

//here I have a specific query when ai can clear all scopes

GetAllItensSkipTenant(db ) {
...
 I need clean all scopes here  for create a new query
 ex:  db.CleanScopes().First(&Items)
...

}

Expected answer
How I can clean scpes.

Does using Unscoped() fit your use case?
db.Unscoped().First(&Items)

It doesn't explicitly said in the documentation but it should undo the scopes
https://gorm.io/docs/delete.html#Find-soft-deleted-records

Hi @solumna thanks for the answer.
But Unscoped doesn't work

db.Session(&gorm.Session{NewDB:true})


Add a custom swap fn to preserve atomicity in custom onChange (per #11)

Adds a new :on-swap option as discussed here to allow controlling how changes to one input update the entire state.
I called it :on-swap, but please feel free to change the name, or comment with an alternative and I'll update the PR.
For example:
(defonce state (r/atom {:p-x 0.8 :p-not-x 0.2}))

(defmulti  on-swap (fn [!state key value] key))
(defmethod on-swap :default [!s k v] (swap! !s assoc k v))
(defmethod on-swap :p-x     [!s _ v] (swap! !s assoc :p-x v :p-not-x (- 1 v)))
(defmethod on-swap :p-not-x [!s _ v] (swap! !s assoc :p-not-x v :p-x (- 1 v)))

(defn app []
  [leva-cljs/SubPanel {:fill true :titleBar {:drag false}}
   [leva-cljs/Controls
    {:folder    {:name "Controls"}
     :atom      state
     :schema    {:p-x     {:label "P(x)"  :min 0 :max 1 :step 0.01}
                 :p-not-x {:label "P(¬x)" :min 0 :max 1 :step 0.01}}
     :on-swap   on-swap}]])

I wanted to apologize for not being more responsive here, and for saying a couple of times that I would get to this and then not doing it... I have two talks coming up next week that have been soaking up my energy. Once those are through I should be able to get back to this issue! You're onto something here so I want to get this, or something close, merged.

@sritchie no hurry here, thanks for taking a look. If you're at conj I'll see ya there

@sritchie pinging now that the conj is over


fix(web/applications): add console to debug download/upload files (bo…

Describe your changes

add console.log of accessToken from wherever it's used
change timespan of sastoken to be 20minutes (rather than 1)

Issue ticket number and link
Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[ ] I have performed a self-review of my own code
[ ] I have double checked this work does not include any hardcoded secrets or passwords
[ ] I have made corresponding changes to the documentation
[ ] I have provided details on how I have tested my code
[ ] I have referenced the ticket number above
[ ] I have provided a description of the ticket
[ ] I have included unit tests to cover any testable code changes

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


🐛 stackit ske options --kubernetes-versions -o json returns all options

cli command stackit ske options --kubernetes-versions -o json returns all values not only kubernetes versions.
This is also the case for the other options like volume-types
This does not happen when using -o pretty

Hi @robinschneider,
Thanks for reporting, usually for the JSON output we return the raw full API response. In this case it's a single endpoint that provides all that information, so we will have a look and filter out the non-relevant information

This was fixed in the latest release v0.7.0.


How to Integrate Knobs with Chapters

Managed to do it... was using the knob decorator inside the function

Hi, can you give an example of how you got withKnobs working alongside withChapters? What do you mean by

inside the function

Thanks!

You add it to the story the same way you would when using it without the module.
storiesOf('Example', module) 	.addDecorator(withKnobs) 	.addWithChapters();

But where to define the inputs for Knobs? In exampled not using Chapters we can define these inside the callback function of the Stroybook add function.
If they are defined outside it wont work, likely because of closure. Any one had any luck on this?

Never mind. I realised it is possible the pass a function that returns the Chapters object as the second param of addWithChapters, the same way add works.
I define my my knobs inputs here and everything is working just fine.


Add additional check for task in VM status

What this PR does / why we need it:
Adds a check for the last task UUID on the VM object to prevent errors.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
N/A
How Has This Been Tested?:
LABEL_FILTERS='!cluster-upgrade-conformance' make test-e2e-calico
Ran 20 of 32 Specs in 4813.890 seconds
SUCCESS! -- 20 Passed | 0 Failed | 0 Pending | 12 Skipped
PASS

Special notes for your reviewer:
N/A
Release note:
- Add check for the task UUID on the VM objects to prevent errors

/retest

/lgtm


fix(KFLUXBUGS-1125): source container images should be signed

obtain source container digests and sign for all floating tags defined.

/retest

/retest

Code looks good, should probably have a version bump and a README entry

done

/lgtm


Update H4 driver to execute vendor-specific commands for initialization BT Controller before BT Host executes Reset sequence.

Update H4 driver to execute vendor-specific commands for initialization BT Controller before BT Host executes Reset sequence. Details in https://github.com/zephyrproject-rtos/zephyr/issues/41140.
The following changes was agreed with @carlescufi:

add one more field 'setup' in bt_hci_driver type as pointer to HCI vendor-specific setup function
add BT_HCI_H4_SETUP Config option in drivers/bluetooth/hci/Kconfig
update hci_init function to call bt_dev.drv->setup() if it not null

Hi @jhedberg, thanks for review, i did updates regarding to your comments.

I request, a test be added to include regression/coverage in CI, also will serve as an example of intended use of this setup interface feature.

hi Guys,
Propose one more approach, which can make hci driver more flexible and easy to update in future with minor changes:

instead 'setup' function we will have callback.

in hci_driver.h update bt_hci_driver structure with adding callback function:
....
struct bt_hci_driver {
	....
	....
	....
	/**
	 *  @brief HCI driver callback
	 *
	 * Vendors can use this callback to implement extension for BT HCI
	 * driver.
	 *
	 * @param event - HCI driver Event (refer to bt_hci_driver_event)
	 *
	 * @param event_param - Event parameter. It is pointer to void,
	 *                      and should be casted to event-specific type.
	 *
	 * Refer to bt_hci_driver_event enumeration for full list of
	 * events and detailed description each of them.
	 *
	 * @return 0 on success, negative error value on failure
	int (*callback)(bt_hci_driver_event event, void* event_param);
};
....
}

'setup' will be as one of possible events in callback.

hci_driver.h

/** HCI driver events */
enum bt_hci_driver_event {

	/* This event is triggered by BT host on beginning of HCI init. Setup event uses
	 * to executes vendor-specific commands sequence to initialize BT Controller
	 * before BT Host executes Reset sequence.
	 *
	 * This event does not return Event parameter.
     */
	BT_HCI_EVENT_SETUP                     = 0,
....

};

in hci_core.c
static int hci_init(void)
{
#if defined(CONFIG_BT_HCI_EVENT_SETUP)
	if (bt_dev.drv->callback) {
		/* Sends BT_HCI_EVENT_SETUP event to HCI driver callback to
		 * executes vendor-specific commands sequence to initialize
		 * BT Controller before BT Host executes Reset sequence. */
		err = bt_dev.drv->callback(BT_HCI_EVENT_SETUP, NULL);
		if (err) {
			return err;
		}
	}
#endif /* CONFIG_BT_HCI_EVENT_SETUP */
...
}

all events will be enabled by Kconfig. For now we have only Setup. But in future it will easy to add something more.

default HCI callback function will be locate in H4 as __weak (similar to bt_hci_transport_setup )

int __weak h4_callback(enum bt_hci_driver_event event, void* event_param)
{
	return 0;
}

Vendors can overwrite it in own HCI extension driver:
from HCI H4 extension driver (cyw43xxx.c):
...
int h4_callback(enum bt_hci_driver_event event, void* event_param)
{
    int err = 0;
    switch(event)
    {
        case BT_HCI_EVENT_SETUP:
            err = h4_vnd_setup();
            break;

        default:
            break;

    }

    return err;
}

For HCI extension driver also need access to 'struct device *' of bt_uart. Here we can do the same as H4 do:

// get device structure from DT (zephyr_bt_uart)
h4_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_bt_uart));

or H4 will provide extra API bt_hci_get_device(), which returns h4_dev from H4.c.
Prototype of above proposal here: https://github.com/npal-cy/zephyr-1/commit/39b3e133bc6cc99f5c837aacb798b56febcf7e0c

I am working on one more enhancement ticket (will open soon). Support low power mode for CYW43xx.
The current version of H4 does not support this. There are two extra lines BT_DEV_WAKE and BT_HOST_WAKE:
BT_DEV_WAKE - Bluetooth device wake-up signal: Signal from the host to the CYW4343X indicating that the host
requires attention.
BT_HOST_WAKE - Host wake-up signal. Signal from the CYW4343X to the host indicating that the CYW4343X requires
attention.
I can handle BT_HOST_WAKE from CY43xxx HCI extension driver (set/release pm_constraint by BT_HOST_WAKE gpio event)
I can't handle BT_DEV_WAKE from CY43xxx HCI extension driver. H4 driver should assert/deassert BT_DEV_WAKE before/after HCI UART TX operation.
The approach with calback, can add this support:
>> we add new events (e.g. BT_HCI_EVENT_TRANSFER_DATA_START and BT_HCI_EVENT_TRANSFER_DATA_COMPLETED in hci_driver.h

enum bt_hci_driver_event {

	/* This event is triggered by BT host on beginning of HCI initialization. Setup event uses
	 * to executes vendor-specific commands sequence to initialize BT Controller
	 * before BT Host executes Reset sequence.
	 *
	 * This event does not return Event parameter.
     */
	BT_HCI_EVENT_SETUP                     = 0,

	/* This event indicates start of the HCI data transfer.
	 *
	 * This event does not return Event parameter.
	 */
	BT_HCI_EVENT_TRANSFER_DATA_START       = 1,

	/* This event indicates completion of the HCI data transfer
	 *
	 * This event does not return Event parameter.
	 */
	BT_HCI_EVENT_TRANSFER_DATA_COMPLETED   = 2,

};

>> update h4.c to notify BT_HCI_EVENT_TRANSFER_DATA_START and BT_HCI_EVENT_TRANSFER_DATA_COMPLETED events:

static int h4_send(struct net_buf *buf)
{
	BT_DBG("buf %p type %u len %u", buf, bt_buf_get_type(buf), buf->len);
	int err = 0;

#if defined(CONFIG_BT_HCI_EVENT_TRANSFER_DATA_NOTIFY)
	if (bt_dev.drv->callback) {
		err = bt_dev.drv->callback(BT_HCI_EVENT_TRANSFER_DATA_START, NULL);
		if (err) {
			return err;
		}
	}
#endif /* CONFIG_BT_HCI_EVENT_TRANSFER_DATA_NOTIFY */

	net_buf_put(&tx.fifo, buf);
	uart_irq_tx_enable(h4_dev);

	return err;
}

static inline void process_tx(void)
{
....
....
done:
	tx.type = H4_NONE;
	net_buf_unref(tx.buf);
	tx.buf = net_buf_get(&tx.fifo, K_NO_WAIT);
	if (!tx.buf) {
		uart_irq_tx_disable(h4_dev);
#if defined(CONFIG_BT_HCI_EVENT_TRANSFER_DATA_NOTIFY)
		if (bt_dev.drv->callback) {
			err = bt_dev.drv->callback(BT_HCI_EVENT_TRANSFER_DATA_COMPLETED, NULL);
			if (err) {
				return err;
			}
		}
#endif /* CONFIG_BT_HCI_EVENT_TRANSFER_DATA_NOTIFY */
...
}

I request, a test be added to include regression/coverage in CI, also will serve as an example of intended use of this setup interface feature.

I can not find any test in zephyr\tests\ for existing HCI H4 driver. Please point me, where it locates.
Propose to use CY43xxx hci extension as example of using  setup interface feature. Ticket for integration CY43xxx hci extension will be soon.
This feature was tested on my develop branch (internal) with CY43xxx hci extension driver (logs in attachment). Let me know if it is enough for this MR, i expect existing regression test should covered that we do not break anything if feature is disabled.
test_hci_feature.log

I think this extension should not change the H4 module. The new setup() function will use the HCI interface, right? In that case, the changes should be at all at hci_core level. Logically hci_init() would first create a "raw HCI interface", then hand it to setup(), which results in an "HCI Bluetooth Controller interface". Almost like this PR already does, but the H4 module would not be involved.
This structures the driver stack like this:
VendorSpecificInit  Bluetooth Host
HCI
H4
UART
We could consider a driver stack like this:
Bluetooth Host
VendorSpecificInit
HCI
H4
UART

@alwa-nordic the current proposal is simply mirroring the Linux HCI driver API, which has been found to work on a wide variety of HCI drivers and controllers from many different vendors. If you've taken a look at the sample implementation from @npal-cy their vendor setup routine is actually very HW, or at least HCI transport dependant, since it's accessing UART APIs as well. So to me it seems this should stay as-is because: 1. it's a proven design from Linux, and 2. what's desired is actually specific to this driver. Note that this is already split into two parts: the HCI driver API change and the change to the H:4 driver to take advantage of the new API.

sorry, one more rebase to fix commit comments length.
https://github.com/zephyrproject-rtos/zephyr/runs/4887017042?check_suite_focus=true


Add sysvinitrc tag

Without this tag we generate a bogus /etc/inittab line and break things.

Merging to stabilize build. The travis tests are failing due to an unrelated issue with chef-zero


Port fix for Kudu to not call PriorityClass unless low priority build is specified

Customer scenario
Kudu and Linux scenarios where the api to set the priority is disabled are blocked from using msbuild.  When lowpriority build is not set, we were still previously setting priority to Normal which was not allowed on some system.
Process.GetCurrentProcess().PriorityClass = ProcessPriorityClass.BelowNormal
Bugs this fixes
https://github.com/microsoft/msbuild/issues/5365
Workarounds, if any
None
Risk
Low, we moved the set within a check for is lowpriority build enabled.  The fix is NOT required for VS.
Performance impact
Low
Root cause analysis
We didn't realize this win32 api was blocked on some systems
How was the bug found?
https://github.com/dotnet/core/issues/4719

Based on the current plan, I'm going to close this in favor of a second version bump so that we can ship the QFE version and then roll a new official version for later.


⚠ Bookkeeper to the Smart People has degraded performance

In 25af8bf, Bookkeeper to the Smart People (https://bksp.com.au) experienced degraded performance:

HTTP code: 200
Response time: 8010 ms

Resolved: Bookkeeper to the Smart People performance has improved in f09f902.


feat: EIP-712 helpers for new contracts

What is the feature you would like to implement?
Adds helper functions for creating and verifying EIP-712 signatures related to the new contracts.

Started in https://github.com/farcasterxyz/hub-monorepo/pull/1302, need to write docs

Implemented in #1587.


Invalid sounds

@IndianaTones, we introduced cases like p ⁵/ ∼/ɛː. This is not permissive, it should be p ⁵/ɛ̃ː now. There are about 70 cases of this type in edictor, I do not know why they show up now, but could you have a look (use the tokens=/ ∼ filter to identify them, and correct them? It would be better to have this correct in EDICTOR rather than coding over it in CLDF.

I have fixed this automatically now, but the data on EDICTOR should ideally be updated.

tokens=/ ∼

There are quite a few of these in Edictor in fact - is there a way to change them globally? i.e. not each one by hand?

There are 70 cases. I added a lot of code yesterday to account for correcting everything when converting data back to CLDF, but in EDICTOR I would not wish to do any of that now: I count some 70 cases, so it is faster to do those in 30 minutes manually than having a program that does this, checking the program, and then changing everything back and forth again, uploading data, etc.

The trouble is that there are many more like ∼/j - should these also be rendered as j̃ ?

Another question: have you started to correct the entries?

Because cases like p ⁵/ ɛ̃ː are still wrong, since you have to remove -- obviously -- the space between / and following vowel. The tone is thus indicated as part of the vowel, but not processed by the computer.

Regarding ∼/j: we can convert this automatically later. Same for cases of ∼/r or other cases we can spot.

In total, there are 900 entries with ∼. I'd modify them with the code. But the cases with spaces in between should still be handled, as this is disturbing alignments in the alignment view in edictor.

Yes and another thing I ran across is that prenasalized stops like ɔ̀ngɔ́ are sometimes incorrectly rendered as nasalization on the vowel ∼¹/ɔ ɡ ⁵/ɔ whereas these should be ¹/ɔ ⁿɡ ⁵/ɔ. I'm fixing these in Edictor as I find them.

This was then a problem with the orthography profile, very good catch! This means, I'd really encourage you to have a very close look at all phonetic renderings, if they look okay, etc. Leaving only  systematic cases like j-nasalized and w-nasalized for automated conversion later.

Done.

Grapheme
Diacritics
Unicode
Segments
Graphemes
Count

⁵/
◌⁵/

d w ⁵/ ɛ̃
dwɛ́ⁿ
1

lɔ̀
◌lɔ̀
U+006c U+0254 U+0300
lɔ̀ + t ¹/u ŋ ⁵/o
tùŋó
1

ŋ̄
◌ŋ̄
U+014b U+0304
n ¹³/iː + ŋ̄ + k ¹/u ⁿb ¹/ɛ
kùmbɛ̀
1

These are three final errors that should be addressed. lɔ̀ shoudl of course be l ¹/ɔ, ŋ̄  should be ŋ̄/ŋ, and ⁵/ ɛ̃ shoudl be ⁵/ɛ̃.

Once you have dealt with this, @IndianaTones, let me know, and I run to check again.

Updated list now here:

Grapheme
Diacritics
Unicode
Segments
Graphemes
Count

/⁵i
◌/⁵i
U+2075 U+0069
k /⁵i r̃ ⁵/i
kírⁿí
1

⁵j
◌⁵j
U+2075 U+006a
d u ⁵j + j ¹/ɛ
dú-yyɛ̀
1

ŋ̀
◌ŋ̀
U+014b U+0300
b ⁵/a n ⁵/a ŋ̀ + k ¹/uː
bànà-ŋ̀-kùù
1

lɔ̀
◌lɔ̀
U+006c U+0254 U+0300
lɔ̀ + t ¹/u ŋ ⁵/o
tùŋó
1

ŋ̄
◌ŋ̄
U+014b U+0304
n ¹³/iː + ŋ̄ + k ¹/u ⁿb ¹/ɛ
kùmbɛ̀
1

vj
◌vj
U+0076 U+006a
n ¹/u m ¹/ɔ + s ¹/a vj
nùmɔ̀-sàý
1

sɔː
◌sɔː
U+0073 U+0254 U+02d0
sɔː
sɔ́ɔ́
1

∼/⁵ɔ
◌∼/⁵ɔ
U+2075 U+0254
b ∼/⁵ɔ dʒ ¹/ɛ
bɔ́njɛ̀
1

+l
◌+l
U+002b U+006c
p ⁵/a ɡ ⁵/u +l ¹/e
págúlè
1

dw
◌dw
U+0064 U+0077
dw ã n a
dwaⁿna
3

Fixed, plus ʤ in Bangime was rendering as j rather than dʒ so went through and corrected those.

Nice, indeed, fixed now.


[build] Publish JUnit results in builds

Is your feature request related to a problem? Please describe.
When a PR causes test failures it is not on first sight which test is failing. You need to dig into the console output to look that up.
Further, it is not visible how many tests have been performed.
Describe the solution you'd like
Add a step to the build workflow that publishes the JUnit test results.
This is how it could look like in the action using the junit-report-action:

Describe alternatives you've considered

Upload surefire reports as artifacts would create a zip and attach them to the build. We could consider this additionally.
More GitHub actions exist that are doing similar things, e.g. test-summary action

Looks that it is working 🎉

That's a really useful addition, thanks!


How to get my tabs back from the last time I opened a File UWP

How can I restore a Files UWP session?

why not enable continue where you left off?

This feature is not implemented yet