Properties not exported

Hello!
I've recently installed FileMeta and tried to export some properties. I've set the handle for a file type (.mp4) and tried to export props to xml, but the resulting file turns out to be empty, although the file has plenty of unempty properties specified in the profile. The only thing in the xml is /<Metafile//> (had to escape characters).

Have you set any properties on the file? Comments and Tags are good ones to try. They should appear in any exported meta data. At the moment, standard properties of files like MP4 will only be exported if you update their values.
Dijji

Yes, I have. I've put dozens of keywords into the file and my purpose for using this tool was to extract them. Some of the files I want to process also contain comments.

Something special appears to be going on with MP4 files, and I suspect, also other video media files.
As far as I can tell, the usual registry entries that specify the property handler to use are being ignored by Explorer for MP4. When properties are edited, the values are always written to the main body of the file, and not the alternate stream, which is why the XML shows up empty, and the file size increases when properties are added.
This holds even if you use the Association Manager to add properties for display in Explorer which have nothing to do with the format (for instance, I’ve tried System.Actions.ActionName, and was able to edit and store the value without trouble).
Arguably, this behaviour is actually better than that normally provided by File Meta, as arbitrary metadata can be written to the file without risk of loss when it is, for instance, sent via email (I tried it).
There is thus no need for backup to XML. However, I do have another outstanding request to export properties held within the file to XML, so if you think this would be useful to you, let me know.
Dijji

I have now investigated what is going on here. The results are described here. I include a description of what you can expect for now, and what File Meta is doing next.


Cannot create property 'chatHistory' on string '' [BUG]

Describe the bug
I'm getting this error Cannot create property 'chatHistory' on string '' in the chat on a fresh install.
To Reproduce
Steps to reproduce the behavior:
1- Install
2- Add OpenAI agent and MRKL agent for LLMs (any agent actually)
3- Chat with the bot
4- See error in the chat Cannot create property 'chatHistory' on string ''
5- See error in the browser console:
xhr.js:220
POST http://localhost:3000/api/v1/internal-prediction/7e589d54-11e0-4ee0-b0c1-7a598c885163 500 (Internal Server Error)

Expected behavior
I expected to get a response from the bot.
Screenshots

Setup

Browser: Microsoft Edge Version 114.0.1823.41 (Official build) (64-bit)
OS: Windows 11
Node v19.9.0
npx\npm 9.6.5

connect Memory of ConversationalAgent to a memory node like BufferMemory

connect Memory of ConversationalAgent to a memory node like BufferMemory

well, idk what is this

{{
    "action": string, // The action to take. Must be one of []
    "action_input": string // The input to the action. May be a stringified object.
}}
```". Error: SyntaxError: Expected property name or '}' in JSON at position 1

console:
:3000/api/v1/internal-prediction/7e589d54-11e0-4ee0-b0c1-7a598c885163:1
Failed to load resource: the server responded with a status of 500 (Internal Server Error)

I'm having the same issue

Hi @eitanwaxman,
could you share a screenshot of your flow?

@chungyau97 My flow looked exactly like the one above. I did find an answer on the discord - apparently you need to use a Chat LLM Model with a Chat agent. (I was trying to use a regular one). - Now it's working
Thanks!


Added Clash of Code in Code battle section

What does this PR do?
Added Clash of Code in Code Battle section.

Thanks for this amazing PR!
Can you make the resource name title case?

Yeah Sure Thanks for the suggestion

Thanks for this amazing PR!
Can you make the resource name title case?

Yeah Sure Thanks for the suggestion


feat(cdc-backfill): support pause_on_startup

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
#14555

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

How will it be resumed?

IIRC, pause_on_startup flag will be reset to false after meta restart. So in the second time we restart meta, it will be resumed. Anything I missed? @BugenZhao

How will it be resumed?

IIRC, pause_on_startup flag will be reset to false after meta restart. So in the second time we restart meta, it will be resumed. Anything I missed? @BugenZhao

It can also be resumed by issuing a Resume barrier with risectl meta resume.

It can also be resumed by issuing a Resume barrier with risectl meta resume.

Yep, this pr doesn't support this resume path.

Reimplemented and supported resume, please review again.


Error on external schema creation

Creating a redshift_schema resource with an rds_mysql_source block successfully creates the schema, but then fails with the error "Unsupported source database type unknown".

It looks like the cause of the problem is that and rds_mysql_source is expected to have eskind = 7
WHEN eskind = 7 THEN 'rds_mysql_source'

However, when you query svv_external_schemas you'll see that the eskind is 8.

It looks like the cause of the problem is that and rds_mysql_source is expected to have eskind = 7
WHEN eskind = 7 THEN 'rds_mysql_source'

However, when you query svv_external_schemas you'll see that the eskind is 8.
based on the amazon document https://docs.aws.amazon.com/redshift/latest/dg/r_SVV_EXTERNAL_SCHEMAS.html
8 indicates a schema for remote MySQL databases, there is nothing assigned to number 7, which previously might have been remote MySQL databases

the code which makes use of this mapping
https://github.com/brainly/terraform-provider-redshift/blob/785455d972e902ea934d504a63e666b17e0cdc4a/redshift/resource_redshift_schema.go#L482

Hello
We have the same issue, do you have any time where this issue will be fixed ? 🙏
Thanks

Also reproducing the issue here. Will appreciate any help.


Automated cherry pick of #9974: fix(region): cloudaccount: allow only one sync func in flight

Cherry pick of #9974 on release/3.7.
#9974: fix(region): cloudaccount: allow only one sync func in flight

Codecov Report

Merging #9975 (2940c35) into release/3.7 (0ff3997) will increase coverage by 2.07%.
The diff coverage is 0.00%.

@@               Coverage Diff               @@
##           release/3.7   #9975       +/-   ##
===============================================
+ Coverage         5.98%   8.05%    +2.07%
===============================================
  Files              848     107      -741
  Lines           131795   12991   -118804
===============================================
- Hits              7887    1047     -6840
+ Misses          123206   11824   -111382
+ Partials           702     120      -582

Flag
Coverage Δ

aFlag
8.05% <0.00%> (+2.07%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/auth_totp.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/idp.go
1.84% <0.00%> (ø)

pkg/apigateway/handler/misc.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/resource.go
0.00% <0.00%> (ø)

pkg/hostman/diskutils/nbd/driver.go
0.74% <0.00%> (-0.01%)
:arrow_down:

pkg/hostman/diskutils/nbd/lvmutils.go
4.70% <0.00%> (-0.24%)
:arrow_down:

pkg/monitor/alerting/eval_context.go
34.25% <0.00%> (-2.75%)
:arrow_down:

pkg/mcclient/options/k8s/base.go

pkg/compute/models/policy_definition.go

... and 686 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #9975 (2940c35) into release/3.7 (0ff3997) will increase coverage by 2.07%.
The diff coverage is 0.00%.

@@               Coverage Diff               @@
##           release/3.7   #9975       +/-   ##
===============================================
+ Coverage         5.98%   8.05%    +2.07%
===============================================
  Files              848     107      -741
  Lines           131795   12991   -118804
===============================================
- Hits              7887    1047     -6840
+ Misses          123206   11824   -111382
+ Partials           702     120      -582

Flag
Coverage Δ

aFlag
8.05% <0.00%> (+2.07%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/apigateway/handler/auth.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/auth_totp.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/idp.go
1.84% <0.00%> (ø)

pkg/apigateway/handler/misc.go
0.00% <0.00%> (ø)

pkg/apigateway/handler/resource.go
0.00% <0.00%> (ø)

pkg/hostman/diskutils/nbd/driver.go
0.74% <0.00%> (-0.01%)
:arrow_down:

pkg/hostman/diskutils/nbd/lvmutils.go
4.70% <0.00%> (-0.24%)
:arrow_down:

pkg/monitor/alerting/eval_context.go
34.25% <0.00%> (-2.75%)
:arrow_down:

pkg/mcclient/options/k8s/base.go

pkg/compute/models/policy_definition.go

... and 686 more

Continue to review full report at Codecov.

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


Docker container is a slow method to build

A container with the build tools can be built. This container can be inherited, build the app, and then a new container made which copies the app over.
This will save installing build tools every time you want to build the app.
However, the build container will be quite large.

fixed


Broken by new Purple Air API

Alas the new purple air API change has broken this wonderful integration.
New API requires an API key.
Will try to find time to poke at this myself, but wanted to raise the issue as well since both of my M5Sticks are now broken.

You will need to email purple air for your own API key.
I will upload a fix shortly--O(days), not O(hours)--just need to update the docs a bit, make sure tests still pass.

Thank you!!
On Wed, Jun 15, 2022 at 8:32 PM Doug Claar @.***> wrote:

You will need to email purple air for your own API key.
I will upload a fix shortly--O(days), not O(hours)--just need to update
the docs a bit, make sure tests still pass.
—
Reply to this email directly, view it on GitHub
https://github.com/dclaar/purple_air/issues/17#issuecomment-1157193623,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4JWNNZIDHRLXYWLWT3BX3VPKN27ANCNFSM5YS3FADQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

As noted, you will need an API read key, but should be fixed!
Files changed:
 README.md            | 30 ++++++++++++++++++++++--------
 copy_for_web.py      | 23 ++++++++++++++---------
 copy_to_stick.md     | 24 ++++++++++++++++--------
 flash/apps/WebAQI.py | 25 ++++++-------------------
 flash/aqi.py         |  6 ++++--
 flash/test_WebAQI.py | 23 +++++------------------
 6 files changed, 67 insertions(+), 64 deletions(-)

Really, you need to copy these new versions:
 flash/apps/WebAQI.py
 flash/aqi.py

And modify your aqi_web.json, adding the comma and the read_api_key bit:
{"name": 0, "correction_index": 2, "sensor_location": "38889", "brightness": 2, "read_api_key": "########-####-####-####-############"}

Thank you!!
On Sat, Jun 18, 2022 at 2:05 PM Doug Claar @.***> wrote:

As noted, you will need an API read key, but should be fixed!
Files changed:
README.md            | 30 ++++++++++++++++++++++--------
copy_for_web.py      | 23 ++++++++++++++---------
copy_to_stick.md     | 24 ++++++++++++++++--------
flash/apps/WebAQI.py | 25 ++++++-------------------
flash/aqi.py         |  6 ++++--
flash/test_WebAQI.py | 23 +++++------------------
6 files changed, 67 insertions(+), 64 deletions(-)
Really, you need to copy these new versions:
flash/apps/WebAQI.py
flash/aqi.py
And modify your aqi_web.json, adding the comma and the read_api_key bit:
{"name": 0, "correction_index": 2, "sensor_location": "38889",
"brightness": 2, "read_api_key": "########-####-####-####-############"}
—
Reply to this email directly, view it on GitHub
https://github.com/dclaar/purple_air/issues/17#issuecomment-1159562855,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4JWNPSKHJDOPVKCUQGXCLVPY22NANCNFSM5YS3FADQ
.
You are receiving this because you authored the thread.Message ID:
@.***>


Added support for custom IPartitionEventHandler instances in subscriptions

Close #149

@Aaronontheweb I think we can merge this?

@Aaronontheweb Done

This is great. Thanks for adding this. I didn’t look into this but does the Kafka lib support making these async?

This is great. Thanks for adding this. I didn’t look into this but does the Kafka lib support making these async?

@ayoung I do not think so - this partition event handler callbacks are invoked in synchronous handlers which are set up for kafka client we use internally.  Since it does not support async callbacks, we do not support async handlers.
But I want to note here that this callbacks are executed by consumer in the same thread it handles messages and other kafka events, so it is not desirable to do something heavy/time consuming here. Probably using some background task / actor to handle this events without blocking consumer is a way to go.

@IgorFedchenko

Can you add details around the timing of when OnRevoke is called in relation to the stream? Does it mean that no more new messages are being sent by the source when this is called?

One potential solution I could take would be to clean up state within OnAssign instead. Thoughts?

any thoughts on these?

@Aaronontheweb Already responded here: https://github.com/akkadotnet/Akka.Streams.Kafka/pull/154#discussion_r477446274

@IgorFedchenko

"I don't understand your use case..."

I don't think my use case is unique. Clean up must include draining the stream. Let me explain.
Clean up will take as long as it takes to kill the shadow actors. I don't see any other external I/O needing to happen during the clean up routine. Killing actors is quick. BUT, as said before, we do have to ensure that the stream has been drained before cleaning up. If we clean up too soon, we may be killing an actor that still has messages in flight.
This is a problem because, the time between the partition revocation and assignment is the synchronization point between all of the consumers in the group. So in order to guarantee ordering semantics, revocation means that the consumer must give up ownership of the partition. That is, it must not continue to process messages in the stream, even if it is async in the background. This is to prevent partition assignment and consumption occurring on the new consumer in the group while the old consumer is still working on draining messages in the stream thus causing concurrency issues WRT ordering.
This info was taken from the java kafka client docs but I'm confident that this applies in .NET as well.

Under normal conditions, if a partition is reassigned from one consumer to another, then the old consumer will always invoke onPartitionsRevoked for that partition prior to the new consumer invoking onPartitionsAssigned for the same partition. So if offsets or other state is saved in the onPartitionsRevoked call by one consumer member, it will be always accessible by the time the other consumer member taking over that partition and triggering its onPartitionsAssigned callback to load the state.

This is only possible if the stream has finished draining before reassignment occurs.

@ayoung All I was saying is that you are not working with kafka directly - you are working with our actors, that are consuming messages from kafka. And this OnPartitionRevoked callback occures on kafka layer, which you will have access to after this PR. By no means, after this callback is called no message will be consumed from kafka by our actors, until nextOnPartitionAssigned callback invoked. But some messages might be already consumed by our actors and waiting for your actors to pull for them.
If I got your point right, you have an actors that are using KafkaConsumer.PlainSource (or other source) to get messages, and you want to make cleanup in there when partitions are revoked. If so, you can handle OnPartitionRevoked , and tell your actors what offset it reached in each of the revoked partitions. Once the last message they received will have same offset - you can safely cleanup anything, kill processing actors, etc. Not right after handling OnPartitionRevoked, because some messages could still be processed by our actors and going to be delivered to your actors.
If you need to drain the stream during cleanup, you can use DrainingControl as you were doing here: https://github.com/akkadotnet/Akka.Streams.Kafka/issues/129#issuecomment-677684776 - there is a method to call that will start draining task (I guess it is Shutdown() or something like that).
If it will be too complicated to make cleanup in eventual consistent way (because you can get OnPartitionAssigned while performing cleanup), I guess you can try Ask pattern to perform all cleanup (which includes waiting and consuming all pending messages) in OnPartitionRevoked callback.
Makes sense? Or I am still something in what you are trying to achieve? I am describing general solution as I can see it.

I get the problem that @ayoung is trying to solve - but I don't think there's a method for 100% globally cleaning up in-flight messages on re-assigned partitions without explicitly checking for them between the source stage and whichever stage does the commit other than failing the upstream stage and recreating the entire graph - which would be heavy-handed.
If I were an end-user trying to solve this problem, the  best type of tool for handling something like this would be a Killswitch that behaves like a Where filter - which can be activated by the OnPartitionRevoked callkback and can filter out any messages that are downstream from the revoked partition.
That's just an idea - not something we should implement on this PR.
@ayoung , does merging this solve some of your problem?

@IgorFedchenko on the JVM, wasn't there a built-in actor type that gets used to subscribe to these events and produce notifications? Or was that just an example?

@Aaronontheweb No, there is no any built-in actor for this - just gave an example of how to handle callbacks to not block consumer thread. I could implement something around that, but it feels like for users it will be quicker to implement their own class then to find and read about built-it one in the docs :D

@Aaronontheweb,

does merging this solve some of your problem?

It certainly give me more to think about how I might be able to solve the problem but as of this very moment, I don't see a clear path to a solution even with this PR.
Regarding IKillSwitch - Doesn't the completion of the stream also stop and dispose of the internal Kafka Consumer? If it does, that would further exasperate the situation because not only is the Consumer Group being rebalanced, but now we're additionally going to stop the consumer during the whole rebalancing act. Ideally, we would like to keep the consumers running, and by consequence, keep the stream alive.
@IgorFedchenko,
I understand your proposal and appreciate the suggestion. However I still see a problem here that can only be solved by knowing when the stream is completely drained. Yes, by comparing the last seen offset with the one given in revokedTopicPartitions, I may know when to clean up but I won't know when I'm ready for reassignment. I will only be ready for reassignment when the stream is drained and all flow elements have been committed with Committer.Sink(). Reassignment can't happen any sooner than this.

@ayoung Hmm... If I understand you right, you want to

Make sure you will not get any more messages from the source (that's what you call "drain the stream")
Make sure that all consumed messages are processed by all stream stages (up to Committer.Sink())
Allow partitions reassignment after that. Not allow reassignment (and getting next messages from new partitions from the source) before point 1 and 2.

Is it right? If so, I am not sure that you can somehow disallow reassignment other than by shutting down the stream (and consumer). If you are fine with reassignment in general, but need to know that you will not consume new messages until cleanup is finished, you may think about making no demand from downstream for new messages. That is, something like KafkaConsumer.PlainSource(...).Select(m => _manualEventSetWhenCleanupFinished.WaitOne()) (or something more elegant). This way even after reassignment internal kafka consumer will not pull new messages from kafka since there is no demand for them (downstream is not ready and does not request new messages).
Well, my idea about Select and manual event is bad, because you need to consume last message from revoked partition and only after that remove the demand on new messages until cleanup finished... Probably there is another flow more appropriate for this. But I hope you got the idea.

Regarding IKillSwitch - Doesn't the completion of the stream also stop and dispose of the internal Kafka Consumer? If it does, that would further exasperate the situation because not only is the Consumer Group being rebalanced (that's probably what caused the revocation in the first place), but now we're additionally going to stop the consumer during the whole rebalancing act. Ideally, we would like to keep the consumers running, and by consequence, keep the stream alive.

A KillSwitch would - but what I was proposing was something similar to that which simply invokes a Where filter instead of killing the pipeline. The key feature of a KillSwitch is that it's a Flow<T,T> stage that can be activated from outside the stream.


KUZBO-117 Profile List

:warning: I'm leaving for holidays. Sssssoooooo.... You get the point, you're free to take care of this.
Provides the Profile List in the Security section and is functionally a replica of the User List. Should be easy to implement.

Waiting for @jenow refactor about User/List: allow to reuse this component for all lists.

Thanks for your participation! This has been done in #59


Improvement: More mature logging approach

Is your feature request related to a problem? Please describe.
With the current logging approach it's not so easy to distinguish happened things from the logs:
2024/06/10 13:08:42 DBG Debug logging enabled
2024/06/10 13:08:42 INF Frigate Notify - v0.3.0
2024/06/10 13:08:42 INF Starting...
2024/06/10 13:08:42 DBG Loading config file: ./config.yml
2024/06/10 13:08:42 INF Config file loaded.
2024/06/10 13:08:42 DBG Validating config file...
2024/06/10 13:08:42 DBG Checking connection to Frigate server...
2024/06/10 13:08:42 INF Successfully connected to http://frigate:5000
2024/06/10 13:08:42 DBG Frigate server is running version 0.13.2-6476f8a
2024/06/10 13:08:42 DBG MQTT Enabled.
2024/06/10 13:08:42 DBG Events without a snapshot: allow
2024/06/10 13:08:42 DBG Events outside a zone: allow
2024/06/10 13:08:42 DBG All zones included in alerts
2024/06/10 13:08:42 DBG No zones excluded
2024/06/10 13:08:42 DBG All labels included in alerts
2024/06/10 13:08:42 DBG No labels excluded
2024/06/10 13:08:42 DBG Telegram alerting enabled.
2024/06/10 13:08:42 DBG Ntfy alerting enabled.
2024/06/10 13:08:42 INF Config file validated!
2024/06/10 13:08:42 DBG Connecting to MQTT Server...
2024/06/10 13:08:42 INF App running. Press Ctrl-C to quit.
2024/06/10 13:08:42 INF Connected to MQTT.
2024/06/10 13:08:42 INF Subscribed to MQTT topic: frigate/events
2024/06/10 13:10:35 INF New event received event_id=1718025034.99825-2n4h7l
2024/06/10 13:10:35 INF Event Detected camera=camera-name event_id=1718025034.99825-2n4h7l label=person zones=
2024/06/10 13:10:35 DBG Event start time: 2024-06-10 13:10:34 +0000 UTC event_id=1718025034.99825-2n4h7l
2024/06/10 13:10:36 DBG Custom message template used event_id=1718025034.99825-2n4h7l provider=Telegram rendered_template="Detection at 2024-06-10 13:10:34 +0000 UTC\nCamera: camera-name\nLabel: person (70%)\n\n\nLinks: Camera  | Event Clip \n\n"
2024/06/10 13:10:36 INF Alert sent event_id=1718025034.99825-2n4h7l provider=Ntfy
2024/06/10 13:10:37 INF Alert sent event_id=1718025034.99825-2n4h7l provider=Telegram

The user cannot easily understand:

Which module produced the log entry.
Where the important part is located because the entries are only partially colored (and I'm not sure the global logger must always use ConsoleWriter, btw):

Parsing by automated tools, since the entries do not have a uniform structure.
What time is displayed, as no time zone and format is specified.

Describe the solution you'd like
More mature logging can be conceptualized as:

A single overlay function that handles logging.
Unified (form and text), enriched enough, log record format (see References section below).

References

https://datatracker.ietf.org/doc/html/rfc5424#section-6
https://betterstack.com/community/guides/logging/logging-best-practices/
https://betterstack.com/community/guides/logging/log-formatting/

Thanks for the suggestions.
So there is structured logging available, but I specifically opted to use the colored format for console logging since it's a little easier to read. However, you can enable JSON logging with an environment variable if you would like. Here's a sample:
{"level":"debug","time":"2024/06/10 10:26:57","message":"Debug logging enabled"}
{"level":"info","time":"2024/06/10 10:26:57","message":"Frigate Notify - v0.3.1-dev"}
{"level":"info","time":"2024/06/10 10:26:57","message":"Starting..."}
{"level":"debug","time":"2024/06/10 10:26:57","message":"Loading config file: ./config.yml"}
{"level":"info","time":"2024/06/10 10:26:57","message":"Config file loaded."}
{"level":"debug","time":"2024/06/10 10:26:57","message":"Validating config file..."}
{"level":"debug","time":"2024/06/10 10:26:57","message":"Checking connection to Frigate server..."}
{"level":"info","time":"2024/06/10 10:26:57","message":"Successfully connected to http://nvr"}
{"level":"debug","time":"2024/06/10 10:26:57","message":"Frigate server is running version 0.14.0-bccffe6"}
{"level":"debug","time":"2024/06/10 10:26:57","message":"Cameras to exclude from alerting:"}
{"level":"debug","time":"2024/06/10 10:26:57","message":" - test123"}
{"level":"debug","time":"2024/06/10 10:26:57","message":"MQTT Enabled."}
{"level":"debug","time":"2024/06/10 10:26:57","message":"Events without a snapshot: drop"}
{"level":"debug","time":"2024/06/10 10:26:57","message":"Events outside a zone: allow"}
{"level":"debug","time":"2024/06/10 10:26:57","message":"All zones included in alerts"}
{"level":"debug","time":"2024/06/10 10:26:57","message":"No zones excluded"}
{"level":"debug","time":"2024/06/10 10:26:57","message":"Labels to generate alerts for:"}
{"level":"debug","time":"2024/06/10 10:26:57","message":" - person"}
{"level":"debug","time":"2024/06/10 10:26:57","message":"Labels to exclude from alerting:"}
{"level":"debug","time":"2024/06/10 10:26:57","message":" - dog"}
{"level":"debug","time":"2024/06/10 10:26:57","message":"Discord alerting enabled."}
{"level":"info","time":"2024/06/10 10:26:57","message":"Config file validated!"}
{"level":"debug","time":"2024/06/10 10:26:57","message":"Connecting to MQTT Server..."}
{"level":"info","time":"2024/06/10 10:26:57","message":"App running. Press Ctrl-C to quit."}
{"level":"info","time":"2024/06/10 10:26:57","message":"Connected to MQTT."}
{"level":"info","time":"2024/06/10 10:26:57","message":"Subscribed to MQTT topic: fndev/events"}
{"level":"info","event_id":"1718029715.95222-743z1b","time":"2024/06/10 10:28:37","message":"New event received"}
{"level":"info","event_id":"1718029715.95222-743z1b","camera":"test_cam","label":"person","zones":"","time":"2024/06/10 10:28:37","message":"Event Detected"}
{"level":"debug","event_id":"1718029715.95222-743z1b","time":"2024/06/10 10:28:37","message":"Event start time: 2024-06-10 10:28:35 EDT"}
{"level":"info","event_id":"1718029715.95222-743z1b","time":"2024/06/10 10:28:37","message":"Event dropped - No snapshot available"}
{"level":"info","event_id":"1718029715.95222-743z1b","time":"2024/06/10 10:28:41","message":"Event update received"}
{"level":"info","event_id":"1718029715.95222-743z1b","camera":"test_cam","label":"person","zones":"test_zone","time":"2024/06/10 10:28:41","message":"Event Detected"}
{"level":"debug","event_id":"1718029715.95222-743z1b","time":"2024/06/10 10:28:41","message":"Event start time: 2024-06-10 10:28:35 EDT"}
{"level":"debug","event_id":"1718029715.95222-743z1b","camera":"test_cam","label":"person","zones":"test_zone","time":"2024/06/10 10:28:41","message":"Object entered new zone"}
{"level":"info","event_id":"1718029715.95222-743z1b","provider":"Discord","time":"2024/06/10 10:28:41","message":"Alert sent"}

I'm good with adding the time zone & calling module to the logs 👍

Hi @0x2142, having the colored text/plain logs in modern container orchestration systems (e.g., Kubernetes) can lead to the following side effect:

https://discuss.kubernetes.io/t/kubectl-logs-shows-color-codes-instead-of-colors/9854
https://community.graylog.org/t/colour-escape-characters-receive-from-a-k8s-input-are-not-decoded/29609

Dear Matt,

The example above only shows colors because of the syntax highlighting for JSON.

Itm, I understand how the code highlighting works in modern CVS, trust me :)

But the story is not about JSON at all :)
Instead, I tried to explain, the coloring for text/plain logs could lead to unexpected results by exposing ANSI/VT100 escape sequences into raw mode.
For example, the message with following content
\033[31m This is red text!\033[0m \033[32m This is green text!\033[0m \033[33m This is yellow text!\033[0m

in the modern terminal emulator will be rendered as

But in a log collector system all those escape sequences from this message will be written as is. And previously mentioned links are exactly about this trouble.

It does look like zerolog also supports disabling colors on ConsoleWriter - so I can add something to optionally disable that too.

As per zerolog documentation, the ConsoleWriter was invented exactly for coloring logs support in the console.
I'd even say, from the business case POV (for Ops guys), the default logging behavior must be without logs coloring.
And, if the operator really wants, the coloring could be enabled (one more runtime env variable, I guess).

FN_NOCOLOR env variable to disable coloring: https://github.com/0x2142/frigate-notify/pull/83/files#diff-09f3acd23c50eda2b887ad8f055de8bc957f060215522eb018bcb9084954b0cdR10
The log line now includes the name of the module, i.e.:
2024/08/15 19:07:56 +0000 INF ../tmp/src/notifier/nfty.go:92 > Alert sent event_id=1723738075.791779-78ooel provider=Ntfy


feat(Microbundle): Reduces bundle size and supports other module loaders

Really liked how tiny-schema-validator had a badge showing the bundle size. After realising that the bundle size of Rulr was 33kb I decided to utilise Microbundle to reduce the size but also add support for other module loaders.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


JwtPresentationGenerator.generatePresentation adds incorrect public key id to VP

Bug Report
Describe the Bug
It seems that in JwtPresentationGenerator.generatePresentation. The public key id is incorrectly set. This is because the additionalData[CONTROLLER_ADDITIONAL_DATA] that is set in VerifiablePresentationServiceImpl.createPresentation is set to the participantContextId, instead of the participants' DID.  JwtPresentationGenerator.generatePresentation uses the controllerId to check if the publicKey id is correctly formatted,but since this is not the DID it will not yield the desired result.
This for me is resulting in incorrectly formatted public key ids. eg when my public key id is did:web:example#example-key it gets formatted as example#did:web:example#example-key`.
in the JwtPresentationGeneratorTest the controller is correctly set to a did and not a participantContextId.
I haven't tested, but LdpPresentationGenerator might have the same problem.
Expected Behavior
I expect the keyId to be correctly formatted.
Observed Behavior
Incorrectly formatted public keyId, verifier cannot verify the VP.
Steps to Reproduce
Context Information
Add any other context about the problem here.
version: 0.8.1-SNAPSHOT
Detailed Description
Possible Implementation
Possible solutions:

Use the publicKeyId as is and assume it is already encoded as the DID fragment.
Add the controller DID to additional data map only in PresentationCreatorRegistryImpl.createPresentation, after the DID has been resolved.
Add the DID as CONTROLLER_ADDITIONAL_DATA instead of the participantContextId. Then pass both the DID and participantContextId to PresentationCreatorRegistryImpl.createPresentation, so it does not have the be resololved twice.
Use a PresentationParameters class of sorts with a Builder (possibly use decorators (like TokenParameters)).

Yes, but additionalData[CONTROLLER_ADDITIONAL_DATA] contains the participantContextId and not the DID, which I think it should be? See:
https://github.com/eclipse-edc/IdentityHub/blob/c444f67f0f6e3bae58f29c805376ee8da0f4061c/core/lib/verifiable-presentation-lib/src/main/java/org/eclipse/edc/identithub/verifiablepresentation/VerifiablePresentationServiceImpl.java#L82-L84

ah I see, yes, that seems incorrect. I guess a good way to solve this, would be to add the "controller" entry in the PresentationCreatorRegistryImpl#createPresentation method, since we already resolve the did there anyway

That is pretty much exactly my local workaround indeed, seems like the best way to fix it. Would it be alright if I submit a pull request with the changes?

That is pretty much exactly my local workaround indeed, seems like the best way to fix it. Would it be alright if I submit a pull request with the changes?

sure go ahead :)


feat: rename field arch to architecture

Codecov Report

Merging #284 (d1018c4) into main (768ca1e) will increase coverage by 0.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #284      +/-   ##
==========================================
+ Coverage   95.40%   95.51%   +0.11%
==========================================
  Files          17       17
  Lines        1023     1026       +3
==========================================
+ Hits          976      980       +4
+ Misses         47       46       -1

Impacted Files
Coverage Δ

src/ops2deb/templates.py
93.33% <ø> (ø)

src/ops2deb/generator.py
94.21% <100.00%> (ø)

src/ops2deb/parser.py
97.03% <100.00%> (+0.79%)
:arrow_up:

src/ops2deb/updater.py
90.14% <100.00%> (+0.04%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Unreachable assets

Describe the bug
Once deployed in production, js and css assets are unreachable and admin does not work, because Uncaught ReferenceError: Livewire is not defined
To reproduce
Steps to reproduce the behavior:

Develop a full admin locally
Deploy whole app (remote git clone, then composer install for php dependencies, front assets have already been compiled with npm run prod locally)
Admin does not work due to assets unreachable where clicking on unreachable url loads them perfectly
Browser console display the following errors :

GET .../admin/assets/css/filament.css?id=676bb703b5486e84c972 net::ERR_HTTP2_PROTOCOL_ERROR 200
login:233
GET .../livewire/livewire.js?id=54d078b2ce39327a1702 net::ERR_HTTP2_PROTOCOL_ERROR 200
login:239 Uncaught ReferenceError: Livewire is not defined
    at login:239
(anonymous) @ login:239
login:270
GET .../admin/assets/js/filament.js?id=848d169218fac889d48f net::ERR_HTTP2_PROTOCOL_ERROR 200

Expected behavior
Admin pages should work as locally, every other route respond, but not the admin ones.
Screenshots

Context

Package version: 1.10
Livewire version: dependency 2.4
Laravel version: 8.45.1
Browser: Firefox 91, Brave 1.25.72
Server OS: Debian 10 prod + local
PHP version: 7.4.16
Database: MySQL 5.6.50 prod + local (docker)
Web Server: Apache 2.4 prod + local (docker)

Additional details
I tried to cache:clear route:clear config:cache but nothing works.
I suspected assets url to be responsible of this weird behaviour, but it seems livewire.js is called relatively and filament.js is using absolute url. The result is the same: The files are not loaded and I can't figure out why
Did I miss something ?

same problem here

Hey... unfortunately I just can't seem to replicate this anywhere, which leads me to believe it's something to do with your hosting configuration... also Livewire doesn't seem to be working either and it runs on the same assets system as Filament does. If you have any luck reconfiguring your server and find a solution, let me know! Until then, I'm going to close this issue and move it to a discussion.


Multiple resize options Bug !

Hello and thx for your work.
There is a dangerous bug when you add this code :
https://github.com/blueimp/jQuery-File-Upload/wiki/Upload-multiple-resolutions-of-one-image-with-multiple-resize-options .
... on Basic Plus UI or others exemples pages.
Form accept all file type after add this, having course : acceptFileTypes: /(.|/)(gif|jpe?g|png)$/i
...
Thx, sorry for my english...

Client-side accept file-type settings only help the user, they are NOT a security feature, as validation has always to be done on the server-side.
Also, please don't misuse the pull request feature.


Notifications always showing when app in background or terminated

Your Environment

Plugin version:0.5.0-alpha.41
Platform:Android
OS version: Sdk 23+
Device manufacturer and model:All
React Native version:0.56
Plugin configuration options:
Link to your project:Project for company so private

Context
Unable to dismiss or disable the notification even if "notificationsEnabled=false" "debug=false" "startForeground=false" when app in background or when app is terminated. Notification only doesn't show when app is in foreground
Expected Behavior
After applying above options the notification should not be shown when app is in background or terminated.
Actual Behavior
After applying above options the notification is still showing when app is in background or terminated
Possible Fix
Steps to Reproduce

BackgroundGeolocation.configure({
desiredAccuracy: BackgroundGeolocation.HIGH_ACCURACY,
stationaryRadius: 50,
distanceFilter: 50,
notificationsEnabled:false,
notificationTitle: 'Background tracking',
notificationText: 'enabled',
debug: true,
startOnBoot: true,
stopOnTerminate: false,
startForeground:false,
locationProvider: BackgroundGeolocation.DISTANCE_FILTER_PROVIDER,
interval: 10000,
fastestInterval: 5000,
activitiesInterval: 10000,
stopOnStillActivity: false,
url: 'https://ptsv2.com/t/pbrcc-1537779600/post',
httpHeaders: {
},
// customize post properties
postTemplate: {
lat: '@latitude',
lon: '@longitude'
// you can also add your own properties
}
});

having the same problem.
I try configure "notificationsEnabled" to false as well but the notification still there.
here the version I'm using. Just install it today.
"react-native-mauron85-background-geolocation": "^0.5.0-alpha.31"

This is normal behaviour. Was discussed couple of times. Android needs that notification when app is in the background or in other case app can be killed by the system anytime. And notificationsEnabled only adjust sync progress notification.


Usage Link is Broken

In the README, the link for "Provider usage" is broken.  Currently it points to https://registry.terraform.io/providers/harness/harness/latest/docs which gives 404.  It looks like it is a relic of the move from the harness-io org, since this link seems to work: https://registry.terraform.io/providers/harness-io/harness/latest/docs

Yeah this has been a nightmare trying to move the repo. We have a ticket open with Hashicorp we're trying to get addressed. I may just need to move them back to harness-io unfortunately.

This is now fixed!!


⚠ GitLab Server has degraded performance

In 94cc966, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 9415 ms

Resolved: GitLab Server performance has improved in c680128.


WFLY-18279 Update HostExcludesTestCase configuration to work with WF30

https://issues.redhat.com/browse/WFLY-18279

Thanks, @pferraro. Can I punish you for doing this by asking you to update the WF release process doc to include this as an aspect of the "bump the version" release task? This is something I should do as part of the version bump commit but I never remember!

Thanks, @pferraro. Can I punish you for doing this by asking you to update the WF release process doc to include this as an aspect of the "bump the version" release task? This is something I should do as part of the version bump commit but I never remember!

Sure, no problem.

@yersan Was I also meant to have moved the extensions referenced within getCurrentRemovedExtensions() to the enum value for WILDFLY_29_0?

@pferraro Yes, right, I missed those extensions. They were removed, so we need to move them as removed extensions for the new enum we are creating. If we don't move them, the test will fail as soon as we moved the major version in the pom.xml: see https://github.com/wildfly/wildfly/pull/17038/files#diff-d4696c308808a57f331264e1d20639f0ef8a33968635726f1d64a3ecb14e93d5L387-L389

See https://github.com/pferraro/wildfly/pull/13 these are the additional changes required for this PR

@yersan PR updated to include modules removed in WF29.

Hi @pferraro, a check style issue: "[20:01:33]W:	 [Step 5/6] [ERROR] /opt/buildAgent/work/e34a6f994de9f7c6/testsuite/domain/src/test/java/org/jboss/as/test/integration/domain/HostExcludesTestCase.java:39:8: Unused import - java.util.Collections. [UnusedImports]"

Thanks @pferraro and @yersan


adjusting psql sidecar memory

Checklist

[ ] The PR has a meaningful title. It will be used to auto generate the
changelog.
The PR has a meaningful description that sums up the change. It will be
linked in the changelog.
[ ] PR contains a single logical change (to build a better changelog).
[ ] Categorize the PR by adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog.
[ ] Link this PR to related issues or PRs.

how can I check that?

how can I check that?

k -n instanceNamespace describe pod postgresqlpod

Then there will be an event that looks something like this:
Events:
  Type     Reason             Age                    From                       Message
  ----     ------             ----                   ----                       -------
  Warning  TooMuchCPURequest  2m59s (x2935 over 9h)  resource-ratio-controller  Current memory to CPU ratio of 3692Mi/core for node type "appuio.io/node-class=plus,node-role.kubernetes.io/app=" in this namespace is below the fair use ratio of 4Gi/core. APPUiO Cloud bills CPU requests which exceed the fair use ratio. See https://vs.hn/appuio-cloud-cpu-requests for instructions to adjust the requests.


Configurable parameter for showing only the loading spinner in the modal gallery!

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request

Expected behavior

It would be great having a configurable parameter for showing only the loading spinner in the modal gallery.
What is the motivation / use case for changing the behavior?

When deleting pictures and updating this information to the backend, I need to wait for the answer of the backend. During this time, I need to show to the user a signal that the UX is waiting for the information.

Hi @pLazy , I'm sorry for the delay.
So do you want a boolean input parameter to force the modal gallery in loading state?

Hi @Ks89 ! Don't worry about the delay at all!
Exactly, I need a boolean input parameter to force the loading state!

Ok.
This feature is implemented in the library to react to load events from the browser to hide/show loading spinner, but it's not exposed as public api.
I schedule this as a new feature in next releases.
Thank you for the suggestion.


MIEngine: Set MajorVersion from the correct place

We were previously setting the MajorGdbVersion when the process exited and this was too late.
We need to set this OnStateChanged so we can use this to opt for the latest gdb MI commands.
Additionally include Intel GNU gdb example when fetching the GDB version.
Signed-off-by: intel-rganesh<EMAIL_ADDRESS>

                    _initializationLog.AddLast(line);

Rather than scraping the initialization log after the fact, I think we should just process the line here. Something like:
if (string.IsNullOrEmpty(_gdbVersion))
{
    TryInitializeGdbVersion(line);
}

Refers to: src/MICore/Debugger.cs:961 in 46756e5. [](commit_id = 46756e52bca7c620c0cbd974b8ec77072ca3632b, deletion_comment = False)


autoscroll does not work on web

when dragging an item to the end of the flatlist content view, it is not autoscrolling. the example on snack does not autoscroll either (for web)

react-native-draggable-flatlist version: v3.1.2
Platform: Web
React Native or Expo version: expo 44
Reanimated version: 2.3.1
React Native Gesture Handler version: 2.1.0

The same problem:
"react-native-reanimated": "^2.8.0",
"react-native-gesture-handler": "^2.6.0",
"react-native-draggable-flatlist": "^4.0.0-beta.12",

@McBoyish Are you using a NestableDraggableFlatList


(#51) add "omitempty" option to nilable fields

I faced the problem that is described in #51 and after short investigation came up with this solution.
please let me know if tests needs to be added, etc.
closes #51

please tell me the result of generating code. I want to see that.

example repo with two branches with-omitempty and without-omitempty:
https://github.com/blukai/gqlgenc-omitempty-example
here's the diff https://github.com/blukai/gqlgenc-omitempty-example/commit/cec3d5a2fa4ec832d149df83489c16f1c711d40f

LGTM!
I will merge as soon as I can confirm that the generated code is correct!

Shouldn't omitempty only present on input structs?

@mlaflamm
So sorry, I have so many work.  your opinion is a correct. Should I fix that ?

@mlaflamm
your saying is other PR. please waiting soon!

Thank you for merging this.
I don't think that having omitempty everywhere has any negative impacts other than potentially mislead someone reading the generated code as thinking this is useful for non input structs. IMHO this is a low priority change.


seems it doesn't work in main isolate message callback

i use it like this , the list is not empty but the ui never refreshed. when i put the code in an usual method that does not run in listen function
it works.
rootIsolateReceivePort.listen((message) {
  if(message[0]==3){
    rootIsolateReceivePort.close();
    newIsolate.kill();
    List<ListItem> list = List.empty(growable: true);
    list.add(listItem);
    itemListController1.notificurrentdatasetchanged(list);
  }}

to save your time , provider works in listen function of main isolate

i found sth online , there should be two controllers .is it the solution? that's a weird way to use


[Bug]: The global retrieval of MySQL, obMySQL, and Doris data sources is inconsistent with the design draft

ODC version
odc431
OB version

What happened?

What did you expect to happen?

How can we reproduce it (as minimally and precisely as possible)?
Global retrieval using MySQL, obMySQL, and Doris data sources
Anything else we need to know?
No response

Fixed In Commit 46d523ebcc7ffeb874eb21929afb19b3d6492ddc
------
畅晚
Tue Jul 16 09:44:37 2024 +0800

pass


Edges in val_edges and test_edges are trained with label '0'?

Hi @tkipf ,
It seems model.reconstructions includes all the positive and negative edges, no matter in training, validation or test set, whereas the labels used during training only have "1" entries on train_edges. It confuses me since it looks like "the model is trained to score "1" for  train_edges and "0" for val_edges and test_edges," how come the validation and test accuracy are that good? Would it be better to mask out  val_edges and test_edges before feeding the model.reconstructions to the optimizer?
Looking forward to your reply.
Thanks.

This is a very good question -- this approach works as the model is
typically not fitting the training data perfectly and hence has a certain
inductive bias that allows it to generalize to the test/validation set
edges. Furthermore, the number of negative edges is usually much larger
than the number of positive edges, which further reduces the effect of
initially providing the "wrong" negative edge labels.
Masking out val- and test-edges is problematic, as this would mean one has
to know in advance which edges are in the validation and test set, which of
course does not work like this on real-world problems.
On Sun, Aug 25, 2019 at 9:55 PM hylBen<EMAIL_ADDRESS>wrote:

Hi @tkipf https://github.com/tkipf ,
It seems model.reconstructions includes all the positive and negative
edges, no matter in training, validation or test set, whereas the labels
used during training only have "1" entries on train_edges. It confuses
me since it looks like "the model is trained to score "1" for
train_edges and "0" for val_edges and test_edges," how come the
validation and test accuracy are that good? Would it be better to mask out
val_edges and test_edges before feeding the model.reconstructions
to the optimizer?
Looking forward to your reply.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tkipf/gae/issues/48?email_source=notifications&email_token=ABYBYYHCYCNAVMS3LVIDTVTQGNO4HA5CNFSM4IPLX4IKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHJFETQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYBYYGG2KSH4GAP6F5LFSTQGNO4HANCNFSM4IPLX4IA
.

Yes, it will probably work better, but most likely not by much (depending
on how large your dataset is). At the same time, this will "leak"
validation and test set information into the training set, unless you mask
out both positive and "negative" edges.
On Mon, Aug 26, 2019 at 10:42 AM hylBen<EMAIL_ADDRESS>wrote:

@tkipf https://github.com/tkipf Thank you so much for your reply! I'd
apologize for a typo in my original question, about "masking out". I wonder
that, in the training stage, will it be better to mask out the entire
validation & test set, so that they do not contribute to the
log-likelihood in loss function? But it won't surprise me if the effect is
imperceptible, as you pointed out about the model inductivity and
"tolerence" for some "wrong" negative edge labels.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tkipf/gae/issues/48?email_source=notifications&email_token=ABYBYYBRGJGLVD4AVDUTNB3QGQIW7A5CNFSM4IPLX4IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5FDCRQ#issuecomment-524955974,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYBYYHCDAUWO3FYSTRSIPLQGQIW7ANCNFSM4IPLX4IA
.

Hello, I have a perhaps related question. It seems that the model has the full graph in its GCN layer, but is trained so that the generator will match the remaining(without test,val edges) graph.
This confuses me a little bit:

Is it "fair" to give the model the full adjacency?
Is it fine train to get the remaining graph? (This is answered by this thread)

I guess both of these issues have minor impact on what actually happens?


The event await page.click('#selector'); does not respond after completion

Tell us about your environment:

Puppeteer version:1.5.0
Platform / OS version:Ubuntu
Node.js version: 8.9.4

I have encountered unexplained behaver of the event
await page.click('#selector');
I use code:
    if (await page.$('#selector') !== null){
    	await page.click('#selector');
    }
    console.log('hello'); // Will not be displayed!!!

That the code comes to the line await page.click('#selector'); there is a click on the page, but then no absolutely no code is executed
    if (await page.$('#selector') !== null){
    	page.click('#selector');
    }
    console.log('hello'); // Will be shown!!!!

WTF!? - Why does it click on an element and go to another page, but the code with await does not work anymore, it just gets up and everything!
I'm honestly over the whole practice is the first time you see it is very similar to what page.click is working but will not resolve not reject

@StasToken the reason the console.log will not be displayed in the second class is because you don't await the click; since the click promise doesn't resolve for you, it hangs in the first snippet.
Can you provide me with a repro script? The fact that page.click doesn't resolve is a bug.
Also: try using a newer version of puppeteer - v1.8.0. We did a lot of work to make clicking reliable there.

whats new issue
same problem persists
latest release


Add direct Sprintf support

Here you go, I figure this is self-explanatory! :)

Hi @erikh
Thanks for your contribution. Sorry for the late response as I'm busy lately. Can you add also Sprint() so it's the same with the other public facing API's. Thanks.

Yep sure! Might be a few days, moving atm.
On Fri, Jan 27, 2017 at 3:29 AM Fatih Arslan<EMAIL_ADDRESS>wrote:

Hi @erikh https://github.com/erikh
Thanks for your contribution. Sorry for the late response as I'm busy
lately. Can you add also Sprint() so it's the same with the other public
facing API's. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fatih/color/pull/55#issuecomment-275645627, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AABJ6yDx3XCdLPDxPEq8LAflUdARwUZkks5rWdURgaJpZM4LjZS8
.

Just patched it in, do you mind taking another look?

Thanks @erikh, looks good 👍

Thanks!
On Thu, Feb 9, 2017 at 12:00 AM, Fatih Arslan<EMAIL_ADDRESS>wrote:

Thanks @erikh https://github.com/erikh, looks good 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fatih/color/pull/55#issuecomment-278572305, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AABJ65xyXsvrWIP6CCW9P5BgAX9_b3joks5raseXgaJpZM4LjZS8
.


fixes #60

Updates the kitchen yaml so that both Chef 11 and 12 are tested.
Fixes the init in the plugin class to use Ruby 1.9 (aka Chef 11) compatible syntax.

Travis failed due to a rubocop config (which wasn't adjusted in this PR) and seems to already being address in https://github.com/jtimberman/vagrant-cookbook/pull/59.


Dependency version conflicts on Kaggle Notebooks

🐛 Bug

In Kaggle Notebooks, there's dependency warnings during installation but it succeeds, when trying to import flash an error is thrown complaining about the version of tokenizers
To Reproduce
Steps to reproduce the behavior:

Create a Kaggle Notebook with GPU accelerator
Run !pip install lightning-flash
Try importing flash with import flash
See error:

VersionConflict: tokenizers==0.9.4 is required for a normal functioning of this module, but found tokenizers==0.9.3.
Try: pip install transformers -U or pip install -e '.[dev]' if you're working with git master

Code sample

!pip install lightning-flash
import flash

Expected behavior

Environment

Kaggle Notebooks
GPU Compute

Additional context

@mabu-dev Hi, thank you for reporting the issue. I think this is not an issue from flash as we don't have any required version for tokenizers. You should be able to import flash by upgrading the version of tokenizers from 0.9.3 to 0.9.4 as indicated in the error message.


Leetcode Question Number 1221 Added

Please approve it too so that it will count in my Hacktoberfest 2022
Profile.
On Sat, 1 Oct, 2022, 11:15 pm Aryan Barsaiyan, @.***>
wrote:

Merged #8
https://github.com/AryanBarsaiyan/DSA-CP_hacktoberfest2022/pull/8 into
main.
—
Reply to this email directly, view it on GitHub
https://github.com/AryanBarsaiyan/DSA-CP_hacktoberfest2022/pull/8#event-7500802786,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUZV3ETYYEHNYYQW2OSINBTWBB2CVANCNFSM6AAAAAAQ2RD6ZQ
.
You are receiving this because you authored the thread.Message ID:
<AryanBarsaiyan/DSA-CP_hacktoberfest2022/pull/8/issue_event/7500802786@
github.com>


Fix make target for release postsubmits

The setup target is invoked as a prerequisite of the release target in the Makefile. Hence we do not need to invoke it separately on the release postsubmits.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold

/lgtm

/unhold


Adjust contrast of website nav menu colours

Hi!
At some point the colours on the documentation website's navigation have changed. The contrast is now quite low and hard to read for older folks, such as myself, who are trying to look something up through bleary-pre-coffee-early-morning eyes. :sweat_smile:
Clearly not the highest priority issue, but thought I'd mention it.

colors can be adjusted here: https://github.com/circe/sbt-circe-org/blob/main/core/src/main/scala/io/circe/sbt/CirceOrgSitePlugin.scala#L80-L118

Took a shot at fixing this in this PR https://github.com/circe/sbt-circe-org/pull/84


Add and update icons

Added and updated icons to fix the following issues:
Fixes #309
Fixes #299
Fixes #302
Fixes #286
Fixes #301
Fixes #305
Fixes #296
Fixes #287

Great work as always, @NadiaSotnikova 👌


support destructuring assignment as separate es feature

For let we have file https://github.com/Fyrd/caniuse/blob/master/features-json/let.json, but for destructuring assignment we don't have it, it is strange because we have https://caniuse.com/mdn-javascript_operators_destructuring page
Ref: https://github.com/webpack/webpack/issues/11876
Why it is a problem? Because IE 11 supports part of es6, for example destructuring assignment is not supported
Maybe we should separate all es6 features

The "let" data is part of the caniuse database while the "destructuring assignment" data comes from MDN (see https://github.com/mdn/browser-compat-data/blob/master/javascript/operators/destructuring.json ).
While I won't disallow data that's already part of the MDN BCD to be added to the caniuse database, it's not going to be a priority for me to add since it can already be found on the site.


Add metrics logging and output on close

Output looks like the following:
[17:10:07] Exiting PokemonGo Bot
[17:10:07]
[17:10:07] Ran for 0:00:20
[17:10:07] Total XP Earned: 210  Averaging: 36534.47/h
[17:10:07] Travelled 0.01km
[17:10:07] Visited 0 stops
[17:10:07] Encountered 1 pokemon, 1 caught, 0 released, 0 evolved, 0 never seen before
[17:10:07] Threw 1 pokeball
[17:10:07] Earned 100 Stardust
[17:10:07]
[17:10:07] Highest CP Pokemon: Nidoran M [CP: 75] [IV: 1/10/5] Potential: 0.36
[17:10:07] Most Perfect Pokemon: Nidoran M [CP: 75] [IV: 1/10/5] Potential: 0.36

Do you mind extracting your report logic into an specific class that becomes an attribute of the bot main class? It would be great help for when we implement behaviour tree. Thanks!

Sure. I was thinking of doing it The Right Way™ initially (the way you suggest), but I got lazy and just hacked it in this way to see my stats. I'll refactor it out and update the PR when it's ready for prime time.

@bstpierr great! Mention me here or at slack when u finish.

@douglascamata All ready for your review when you have the chance!

I already approved. Need one more to merge.

👍


Problems installing python 3.5.1

I am trying to use pew to create a python 3.5.1 (the newest supported version according to pew list_pythons) virtual environment, but ran into problems.
I am on a HP compute server with OpenSUSE 3.16.7-53-desktop, with python3.4 installed.
The steps are:
export PATH=$HOME/.local/bin:$PATH
export PYTHONPATH=$HOME/.local/lib/python3.4/site-packages:$PYTHONPATH
pip3 install pew --user
pew install 3.5.1
pew new --python=$(pythonz locate 3.5.1) test
This produces the error:

Running virtualenv with interpreter /Home/guests/nolte/.pythonz/pythons/CPython-3.5.1/bin/python3
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
Traceback (most recent call last):
File "/Home/guests/nolte/.local/lib/python3.4/site-packages/virtualenv.py", line 16, in
import base64
File "/Home/guests/nolte/.pythonz/pythons/CPython-3.5.1/lib/python3.5/base64.py", line 10, in
import struct
File "/Home/guests/nolte/.pythonz/pythons/CPython-3.5.1/lib/python3.5/struct.py", line 13, in
from _struct import *
ImportError: No module named '_struct'
Error while trying to remove the /Home/guests/nolte/.local/share/virtualenvs/test env:
No such file or directory

Something (setting $PYTHONHOME?) seems to have gone wrong with the installation of python 3.5.1.
Any comments? Thanks in advance!

Oh :/
Sorry, not much time to properly look into into this issue, but a small note

python 3.5.1 (the newest supported version according to pew list_pythons)

The latest version of Python3.5 is 3.5.4:
> pew install 3.5.2
WARNING: Unsupported Python version: `3.5.2`, trying with the following URL anyway: http://www.python.org/ftp/python/3.5.2/Python-3.5.2.tgz
Downloading Python-3.5.2.tgz as /home/dario/.pythonz/dists/Python-3.5.2.tgz

The listed versions are updated manually, to be able to add the checksums. That would be done in the pythonz project, but unfortunately upstream decided to reject my patches to make it available as a library, and release it on pypi :/
Even without the checksums it's still possible to install a version (it'll just display the WARNING that I reproduced above)
Unfortunately, after pythonz rejected those patched, I haven't found a satisfying solution :/


client with openssl 1.0.1e can't connect to server with openssl 1.1.1-1 via tlsv1.2

i don't know if this is a bug or if this is intentional, but i thought i'd report just in case.
i have an android 4.4.4 client running openssl 1.0.1e (i think. i ran "strings /system/lib/libssl.so | grep -i openssl" to determine that.). i have an xmpp server with openssl 1.1.1-1. when trying to connect to the server(prosody) with the conversations app on the phone i get an "inappropriate fallback" error. downgrading openssl on the server to openssl-1.1.0.h-1 allows the tls connection to be established.
thanks

1.0.1e at least reminds me of issue #7126, but this looks like a different error.
Can you check with something like wireshark or tcpdump that there are 2 connection attempts, where the first uses TLS 1.2 but fails, and then tries again with TLS 1.1?
Is that server running Debian? If yes, can you try editing the /etc/ssl/openssl.cnf file, and change the SECLEVEL from 2 to 1 and see if that helps?

i performed a capture earlier and it looks to just be one attempt that is rejected, but i'm not experienced with tcpdump so here's a little screenshot.

the server is running archlinux and i didn't realize that downgrading openssl would break pacman so i can't upgrade openssl back to 1.1.1-1 to test seclevel right now. i'll try to get back to you on that once i debork my xmpp server...
thanks

If it's running archlinux, forget about the seclevel thing.

Is it possible that you send a pcap file to us so that we can take a look it? Or open that file with wireshark and show more of the details in the packet like the list of ciphers it's sending.

He mentioned that the client is the "conversations app" on android 4.4.4

Probably this then: https://github.com/siacs/Conversations/commit/fd7a5c605aa14852398c514288ab5d1971573a47#diff-26f9d14899125d9a8d7f6b219ff95815

client is Conversations 1.16.0. here's another screen. if that doesn't give you what you need, maybe you can point me to an email address you want me to use for the pcap.

@davidben  so, maybe conversations is doing something wrong but it was allowed to slide by openssl until v1.1.1?

maybe i need to update conversations, fix my borked pacman, update openssl and get back to y'all?

Yes, the way FALLBACK_SCSV works, if you set it wrong, you can easily make version-intolerant clients on accident, which is unfortunate. It appears to be fixed though, so try updating your client.
(Looks Conversations uses getSupportedCipherSuites rather than getDefaultCipherSuites, and Android's TLS library included "TLS_FALLBACK_SCSV" in the former. That seems a bad idea. I'll file a bug with them.)

cool, thanks to both for the help and for reporting that.

So I think there is nothing we can do about this on our end, and we have bugs filed on the relevant other side, so I'm closing this.


Add Async FontDialog methods and sample

Added manual binding for FontDialog Async methods.

ChooseFaceAsync
ChooseFamilyAsync
ChooseFontAsync

Added a sample application to use ChooseFontAsync function.

[x] I agree that my contribution may be licensed either under MIT or any version of LGPL license.

Thanks for your contribution. At a first glance the code looks good :+1:
Some minor remarks:

Is there a reason you use a regular Button over a FontDialogButton in your sample?
Please don't add a new solution to the project, but add your sample project into the existing solution. The path inside the solution would be Samples/Gtk-4.0/

Thanks for your contribution. At a first glance the code looks good 👍
Some minor remarks:
* Is there a reason you use a regular `Button` over a [FontDialogButton](https://docs.gtk.org/gtk4/class.FontDialogButton.html) in your sample?

* Please don't add a new solution to the project, but add your sample project into the existing solution. The path inside the solution would be `Samples/Gtk-4.0/`

* Please add your sample to https://github.com/gircore/gir.core/blob/main/src/GirCore.Libs.slnf, too.

If you change your code please Ammend your code, to avoid creating additional commits.

No specific reason, I could already use the FontDialogButton not a real world scenario, I just wanted to show an alternate way of choosing font in tutorial.

Can you add your sample to the solution file inside the Samples/Gtk-4.0 virtual folder?

Can you add your sample to the solution file inside the Samples/Gtk-4.0 virtual folder?

Done

I took a detailed look into your PR and found an issue with ChooseFontAsync: According to the docs the finish method can return Null: https://docs.gtk.org/gtk4/method.FontDialog.choose_font_finish.html
Therefore I think the code must look like:
public Task<Pango.FontDescription?> ChooseFontAsync(Window parent, Pango.FontDescription? fontDescription)
{
    var tcs = new TaskCompletionSource<Pango.FontDescription?>();

    var callbackHandler = new Gio.Internal.AsyncReadyCallbackAsyncHandler((sourceObject, res, data) =>
    {
        if (sourceObject is null)
        {
            tcs.SetException(new Exception("Missing source object"));
            return;
        }

        var fontDescriptionOwnedHandle = Internal.FontDialog.ChooseFontFinish(sourceObject.Handle, res.Handle, out var error);

        if (!error.IsInvalid)
            tcs.SetException(new GLib.GException(error));
        else
        {
            if (fontDescriptionOwnedHandle.IsInvalid)
                tcs.SetResult(null);
            else
            {
                var result = new Pango.FontDescription(fontDescriptionOwnedHandle);
                tcs.SetResult(result);
            }
        }
    });

    var initialValue = (Pango.Internal.FontDescriptionHandle?) fontDescription?.Handle ?? Pango.Internal.FontDescriptionUnownedHandle.NullHandle;
    Internal.FontDialog.ChooseFont(
        Handle,
        parent.Handle,
        initialValue,
        IntPtr.Zero,
        callbackHandler.NativeCallback,
        IntPtr.Zero
    );

    return tcs.Task;
}

I'm not sure if your sample can be considered complete. If a user presses cancel, it means that a "recoverable error" occurred. Which in C# is an exception. I already asked the gnome devs regarding this behaviour. They argument that "if the user is expected to select a font, not doing so is an error".
So if you press cancel in the font chooser your sample the app crashes. I'm not sure if or how you want to attribute to this behaviour or just add some comment?
One possible way to fix this would be:
buttonSelectFont.OnClicked += async (_, _) =>
{
    try
    {
        var fontDialog = Gtk.FontDialog.New();
        var selectedFont = await fontDialog.ChooseFontAsync(window, null);
        labelSelectedFont.SetLabel(selectedFont.ToString());
    }
    catch (Exception ex)
    {
        //Prints "Dismissed by user" in case of dialog cancellation
        Console.WriteLine(ex.Message);
    }
};

Do you have another proposal how to attribute to the possible exception?
If those points are fixed, it is good to go :+1:

Thanks for the detailed review, I have updated as suggested.

I think you missed the nullable annotations for the return type and the task completion source in ChooseFontAsync.

Sorry to bother you even more. In the sample the nullable handling is missing, too: labelSelectedFont.SetLabel(selectedFont?.ToString() ?? string.Empty);

No bother at all, done, Thanks


build.rs: always use freebsd12 when rustc_dep_of_std is set

Currently, when rustc_dep_of_std is set, the freebsd version used depends on the return value of which_freebsd():

if it is Some(12), it uses freebsd12
otherwise it uses freebsd11

That does not seem intended? It is certainly rather odd that when building on FreeBSD 13 we'd get the freebsd11 API, but when building on FreeBSD 12 we get freebsd12. This also causes some "fun" for Miri when cross-building the freebsd std on other targets: which_freebsd() then returns None, so std uses different symbols than it does in the std that is shipped by rustup.
I assume the intention of https://github.com/rust-lang/libc/pull/3434 was to force std to use freebsd12 when rustc_dep_of_std is set (at least that's what the comments seem to say), so let's implement that.

@JohnTitor any chance of seeing a libc release with this change any time soon? That should allow a bit of cleanup in Miri. :)

Oh, I didn't realize that the branch for releases on crates.io is separate from main... should I just create a version of this PR against the libc-0.2 branch or how does that work?

The branches are unfortunately pretty divergent, so I have just been requesting everyone to always target main and @rustbot label +stable-nominated for things that should get backported. I cherry pick them in batches.
I'll get this into a release within the next couple of days.

Okay cool, thanks :)
On August 17, 2024 8:40:48 PM UTC, Trevor Gross @.***> wrote:

The branches are unfortunately pretty divergent, so I have just been requesting everyone to always target main and @.*** label +stable-nominated` for things that should get backported. I cherry pick them in batches.
I'll get this into a release within the next couple of days.
--
Reply to this email directly or view it on GitHub:
https://github.com/rust-lang/libc/pull/3723#issuecomment-2294980030
You are receiving this because you modified the open/close state.
Message ID: @.***>

@RalfJung this should be available in 0.2.157 now


Project Map Visibility

The project map should be only visible when users log into the application. Currently, it is a drop-down that is visible when users log into the application and not visible for the public (through a drop-down).
However, anyone with the project map URL can see the map regardless of whether they are or are not able to login.
http://uno-cpi.herokuapp.com/projectmap

Per discussions with the client, the Project Map should be visible to the public when not logged in. Move from behind login functionality and add-drop down option to maps when not logged in. The reason this was an issue is that most projects from the original data set do not have an address so are not shown on the map making the tool look less than impressive. This will change over time as new projects are added.

@kalpanajha Sending back to development. This should be visible when user is not logged into the application per the updated feedback from client.

FYI - @jerrodanzalone

@kalpanajha & @jerrodanzalone this is ready for testing, correct? Looks like everything was resolved and a new pull request completed. However, I wanted to confirm it was ready for QA before moving to the QA pipeline.

I wasn’t sure if I wanted to extend this ticket to the filters. Go ahead and move it down the pipeline and I’ll create a separate ticket for project filters.

Ya Joseph this is ready to go!
On Mon, Feb 18, 2019 at 6:11 PM Joseph Nabity<EMAIL_ADDRESS>wrote:

@kalpanajha
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_kalpanajha&d=DwMCaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=e1ETXSw2aymaQuS5yJr5rkZ0fLYsLVSNUsJDiW-u9nY&m=9CBLmRbFUMKI8r2sf34Qjj6TlXXyxFmbh7Dg2q_0-0Q&s=FD9A6jqbUYGxeFIqLEzUi9e88x_QMZq1dPbp3w0KP88&e=
& @jerrodanzalone
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jerrodanzalone&d=DwMCaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=e1ETXSw2aymaQuS5yJr5rkZ0fLYsLVSNUsJDiW-u9nY&m=9CBLmRbFUMKI8r2sf34Qjj6TlXXyxFmbh7Dg2q_0-0Q&s=6bcUYOaLTPFvHRdJqD9YRY9u2AN2Jy_fyFu5XurcIr4&e=
this is ready for testing, correct? Looks like everything was resolved and
a new pull request completed. However, I wanted to confirm it was ready for
QA before moving to the QA pipeline.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_uno-2Disqa-2D8950_uno-2Dcpi_issues_477-23issuecomment-2D464928520&d=DwMCaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=e1ETXSw2aymaQuS5yJr5rkZ0fLYsLVSNUsJDiW-u9nY&m=9CBLmRbFUMKI8r2sf34Qjj6TlXXyxFmbh7Dg2q_0-0Q&s=b16QBar-cNTYuPnLpEBk7hEK4kpJqXC3CGc-yc9Uyjc&e=,
or mute the thread
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_Ad1b0D-2DVdZP7bbXZoaijqeirg9BClxgdks5vO0EXgaJpZM4Z32dQ&d=DwMCaQ&c=Cu5g146wZdoqVuKpTNsYHeFX_rg6kWhlkLF8Eft-wwo&r=e1ETXSw2aymaQuS5yJr5rkZ0fLYsLVSNUsJDiW-u9nY&m=9CBLmRbFUMKI8r2sf34Qjj6TlXXyxFmbh7Dg2q_0-0Q&s=pyPEbYRy5MCnEFAdiLnydfQtsLQPlvd9Gm0vA-deJTE&e=
.


Selecting left align after save doesn't apply text-align: left;

Filament Version
v3.2.112
Plugin Version
v3.4.14
PHP Version
PHP 8.3.11
Problem description
If you click center or right, then save and try to left align it doesn't add text-align: left; instead it adds an empty style:
e.g.
test

Expected behavior
text-align: left; to be added, ideally existing styles replaced
Steps to reproduce

Add text to block
Center or right align text
Save
Try left align text

Reproduction repository
No response
Relevant log output
No response

Please try upgrading to the latest version. I am unable to replicate the issue on 3.4.16


Deprecate ::sleep(Number)

This is in line with other places in the standard library that favor Time::Span over number types, such as #14368 and #14805.

This is in line with other places in the standard library that favor Time::Span over number types, such as IO timeouts (#14368) and Benchmark.ips (#14805).


Respect the XDG base directory specification

Description
This applies to all platforms but Windows.
I was a bit unsure what the ggp platform even is, but it looked UNIX-
like enough so I moved it to XDG basedir too.
I didn’t attempt to do any migration since this is mostly cache, if this
is wanted please let me know, and I’ll update this PR.
I have also only tested on Linux, so more testing would be welcome.
See https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

GGP is Google Stadia, and should not be modified.
What is the actual added value in this change? Compliance with linux-specific specs is not useful as a goal in itself because linux specs tend to change with the seasons. There needs to be a notable benefit to the additional potential for bugs that something like this adds.

XDG base directory has been stable for almost 10 years, and is not about to change.

The main goal is to let users know what is cache (so it can be deleted without issue) and what is configuration (so it can be automatically backed up for instance), and to make it configurable.
This specification isn’t Linux-specific, it is cross-desktop and has seen minimal changes since its introduction in 2003, but wide adoption amongst software.

I have also reverted the ggp change, it now keeps using the old ~/.renderdoc directory for both configuration and cache.

To clarify I said it is linux specific speaking from RenderDoc's perspective - to me this is linux specific because it's not applicable to any other supported platform.
The linked specification seems more intended to cover interop and other standards, when different programs might need to share a config etc, not necessarily all software everywhere. I can understand that it would be a nice feature in principle to be able to store the cache separately even though it is pretty tiny. My concern is that this exposes potential for bugs by inviting variability in the system configuration especially on linux where systems vary wildly in unpredictable ways.
What about changing the file locations to be under .config/ and .cache/ but not using the environment variables? Then they are separated as you desire but there's not the brittleness of using environment vars in the file lookup.

I’m not sure which platforms you support exactly, but all UNIX-like should also benefit from it (all BSDs, macOS, Haiku, probably some other ones too), only Windows and Google aren’t considered.
The specification doesn’t mention sharing configuration, only where to store your own configuration, data and cache, in a way that is controlled by the user.
Which brings me to your third point, hardcoding the paths would prevent the user from being able to change the location of some of these directories. For instance, I’ve had a setup where the user’s home was on a tiny flash, it was very useful to be able to move the cache to a ramdisk and the data to an external SD card. It wouldn’t be possible to do that automatically for all software without proper support for XDG base directory.
Some software (especially proprietary games) do it like you mention, it’s always a pain to see these ~/.local/share and such being created again.
It’s also fine to use environment variables because you always revert to using the path relative to $HOME if they aren’t set, which they won’t be in most cases (and in the case they’re set, the user really wants to use it).

RenderDoc only supports linux out of those, none of those other platforms.
Is this an actual problem you have encountered in your own use of RenderDoc, or is it a theoretical fix you're applying?

It is an actual “problem” that there was a ~/.renderdoc/vkshaders.cache in my home after I started using RenderDoc, I would expect it to put it in the cache directory like most other programs on my system. The main reason for that is that if it ever started to grow, or to accumulate more cache, and I ran out of space, I would have to look into where this particular program put its cache, rather than nuke my ~/.cache entirely.

I've thought about it but I don't want to accept this change. The additional complexity and bug surface is not worth the value added by the feature. Moving to a .config or .cache directory would be fine though it seems artificial since RenderDoc's caches are tiny, but I don't want to add dependency on those environment variables.

Windows has the same feature by the way, and RenderDoc is using its API incorrectly as well (uses roaming appdata for local cache files).

Again, there is no dependency on any environment variable, only if the user has them set, they will be used instead of ~/.config and ~/.cache.
I’d really like if you reconsidered your decision, all of your Linux users will benefit from it in a very obvious way.

@baldurk What exactly might be the issue with using the appropriate folders on the supported platforms?
Just like you'd use %LOCALAPPDATA%\app on Windows and ~/Library/Caches/app on macOS, you'd use $XDG_CACHE_HOME/app on Linux as per the freedesktop spec.
Putting caches and config in the platform-specific locations seem like the logical thing to do on all platforms, especially as it is such an easy task to just have a GetCacheFolder call. Some goes for config folder (%APPDATA%\app, ~/Library/Application Support/app or ~/Library/Preferences for plists, $XDG_CONFIG_HOME/app).
Also, note: ~/.config and ~/.cache are only common values, but just like a home folder may not necessarily be in C:\Users\ or /home, this should not be assumed, and the appropriate environment variables should always be consulted.
A good example where cache would not be ~/.cache would be a setup where the home folder is a network mount. Just like how Windows makes %LOCALAPPDATA% device local for performance but %APPDATA% domain global for persistence, $XDG_CACHE_HOME would then be a local machine folder outside the home folder, while $XDG_CONFIG_HOME would persist.


Rich text graphql

I see that rich-text expect the following props:
[{       type: '',       text: '',       spans: [], }]
but the api returns something like that:
data {   description {     raw {       type       text      }      html      text     } }
I'm using https://github.com/birkir/gatsby-source-prismic-graphql

Hey, can you move your issue to prismic-richtext?


Magic storage disappearing

So to summarize it this has happened to me 2 times basically I get like 240 or more storage place items inside of it then after some time my whole pc crashed after that I then load back into the world all of the magic storage is gone. I have no clue why this happens previously my storage on the first time this happened was like 900+ now it less I have no clue what the problem is I see like someone having a problem about disappearing chunks but my magic storage was on top of my base no chunks we're gone if anyone can help me with this problem that would mean a lot to me.

Could you send the client.log of the crash?

Could you send the client.log of the crash?

Can't its already gone but on the first time that this happened I only left the game and join back to see my magic storage is gone sry if this doesn't exactly help.

Similar issue just happened to me, except in single-player. I just upgraded to luminite storage crates, left the world to make another one to fight the bosses in expert mode. I forgot an item, loaded the world and all of the storage blocks weren't there anymore.  I don't even wanna play Terraria anymore :(


adding an option for a third party to attest binding between a DID and a domain.

adds a new section that defines a verified domain jwt that allows a third party to prove a binding btw a DID and a domain.
I think more clarifications can be provided, but first pass.
need to
also made clearer that trusting the verifier and verifying the binding btw DID and a domain are two different things.

Not sure if the profile support this, but are text records used for anything yet?


How to remove gap between button bar view and container view?

Hello everyone. I founded the problem when I implement ButtonBarPagerTabStripViewController. I founded gap between button bar view and scroll view (container view) because I embed navigation bar to the view but when I remove navigation bar it's display perfectly. How does I solve it?

Try going to your UIScrollView that is set as your containerView and disabling scrolling in the scoreboard. (this will not disable scrolling on the tableView)

@DylanModesitt  Thank you for you helped. It's can remove gap but it's can't change to next when I try to swipe its.

Disable "Adjust Scroll View Insets" works for me...

@Urkman Thank you! It works

Thank you everyone

@Urkman when I set self.automaticallyAdjustsScrollViewInsets = false to ManagerViewController(who inherit from ButtonBarPagerTabStripViewController）, containerView.contentOffset.y range from 0 to -20.0--#190,
do you have the same problem?

Hi! If you have any more problems with this, please check #290 to see the discussion and possible solutions. Cheers

Same problem, can you help me ? I've disabled "Adjust Scroll View Insets" into the viewDidLoad() on my "Container" Controller. The child controllers are only UIViewController with a UITableView inner of this.

@qu4sar I'm not. I using other library now.

@stillwalk  Wonderful! :(  What library?

@qu4sar VTMagic

I added this code under the the UIViewController class that controls the child VC (a subclass of ButtonBarPagerTabStripViewController), and it is solved the issue for me:
override public var scrollPercentage: CGFloat {         containerView.contentOffset.y = -20.0         return super.scrollPercentage }
Hope it helps!

It's good to mention, that you should disable "Adjust Scroll View Insets" on StripViewController not on its embed viewControllers. That wasnt clear to me, so maybe it helps someone

In case anyone still got this issue. I managed to solve by disabling "Adjust Scroll View Insets" on the INITIAL VIEW CONTROLLER. Initial controller is not always the one that inherit ButtonBarPagerTabStripViewController. Really depend on the structure of your project.
On my project, the view controller that inherit ButtonBarPagerTabStripViewController is child view controller. I tried to put the self.automaticallyAdjustsScrollViewInsets = false on there but still nothing. then I put the code on the initial view controller, the issue is solved.

In case anyone still got this issue. I managed to solve it by disabling the "Adjust Scroll View Insets" on the INITIAL VIEW CONTROLLER (it's not always the one that inherit ButtonBarPagerTabStripViewController, it could be different).
On my project, the view controller that inherit ButtonBarPagerTabStripViewController is child view controller. I tried to put the self.automaticallyAdjustsScrollViewInsets = false on there but still nothing. then I put the code on the initial vc, the issue is solved.


Add option for concurrent downloads of songs from a playlist

Would be nice to have option do download songs concurrently from a playlist.
Currently the default behaviour for downloading a playlist is to serial download of song by song.

This isn't and probably won't be supported directly.
Generally the limiting factor in downloading is the internet connection, although there is scope for overlapping download of item n+1 with post-processing of item n. So downloading several items in parallel may not have much effect, except to invite blocking if they're from the same site.
Using a script, you could list the URLs of the playlist items and download them using separate yt-dl instances. For example, write the URL list to a file, split that file into N chunks, invoke yt-dl instances with --batch-file chunk1 ... --batch-file chunkN.
See #3746.


question about improving MSD trial wave functions

Hi, maybe this is a pretty basic question ... but how do I understand the difference between the ground state energies (AFQMC vs DMC) of benzene in Lee et al. 2020 and Ren et al. 2023?
The reported correlation energies are -863 mHa and -1493 mHa respectively (all within 0.5 mHa error).
I did a quick calculation with DMC starting with cc-pVDZ orbitals + using the default settings of QMCPACK (2- and 3-body Jastrow) and got -1454 mHa. With ipie's ph-AFQMC starting with CASSCF(30e,17o)/cc-pVDZ orbitals (2118 determinants), I get -878 mHa.
So when Jastrow functions aren't involved, there seems to be a significant amount of dynamic correlation recovered as one goes from cc-pVDZ to cc-pCV{T,Q,5}Z, whose CCSD(T)/CBS correlation energy is reportedly -1516 mHa.
A similar trend exists when I also try N2 and C4H4 ... I'm wondering if there's a general strategy for constructing "better" MSD trial wave functions in ipie for a given system (eg. starting with a bigger active space and truncating more terms?), other than raising the order of the basis set.

Never mind. The bigger correlation energies (-1493 mHa, -1516 mHa) are due to not freezing the core orbitals of carbon. Sorry for the false alarm.


verify API compatibility using japicmp

Coverage remained the same at 100.0% when pulling f3d446ef1b8ea2c27a3562563213fd476becfd08 on japicmp into 5d56a9b9f469e91228c7c75d6b7c39578cabf708 on master.

Coverage remained the same at 100.0% when pulling f3d446ef1b8ea2c27a3562563213fd476becfd08 on japicmp into 5d56a9b9f469e91228c7c75d6b7c39578cabf708 on master.

Coverage remained the same at 100.0% when pulling f3d446ef1b8ea2c27a3562563213fd476becfd08 on japicmp into 5d56a9b9f469e91228c7c75d6b7c39578cabf708 on master.

Coverage remained the same at 100.0% when pulling ac4e6df12225d43c773e945edeb548e23b51b5a4 on japicmp into 97818b587573c4c78e02c7ea31e7f0f397e65f43 on master.


Logic types set in a register do not change the appropriate value on a property

TLDR: when using a batch instruction like  sbn with a logic type stored in a register, the prop of a device shows the r2: 1 as opposed to Mode: 1
When using a instruction like sbn it is possible to store the logic type into a register as an integer, rather than using the named value. It looks like
move r0 LogicType.On
sb d0 r0 1

rather than
sb d0 On 1

I was using this method to set the logic values of an array of structures, specifically all door types for an airlock script. When running the script in this simulator the name of the property is taken as the exact name provided in the instruction. Whereas in the actual game if a register is provided it will use the value of the register in place of a named constant.

Wow, I didn't know it worked like that :) I will fix it but not soon


Is vines still maintained?

No activity for 6 months - Just wondering if Vines is still maintained?

Yes, bug fixes and security fixes are still applied. New feature development hasn't happened in a while, though.


Unable to get the corresponding trace map

Hello and thank you for your wonderful work. However, when I ran your code following your steps, I found that I got poor results with the final trace map. I have also tried getting the pre-trained model at your link and tried my own training as well. Yet their results are consistent. Can you please tell me what is the cause of this. Thanks in advance for informing me.
https://github.com/user-attachments/assets/76c36655-b909-4cc4-8842-9d5f0bbb9bb5

hi @icewindi, it might be a visualization error. As a sanity-check, can you please run the visualization script without the --plot-trails option ?


can you add an example for es6 like import in the readme?

hi,
I would like to use this module in an webpack based project, using
import foo from bar

syntax.
can you add an example for this in the readme?

No, it's exactly the same as importing any other CommonJS module.


Update react-select types

Minimal fix for #2929
Fixes #2929

This is instead of upgrading to 4.x (and potentially 5.x) now, and leaving that to the future?


Support preview Protected Branches API

This PR corresponds to https://github.com/google/go-github/issues/876
I've removed the protected branches preview media type from the corresponding functions which were required to complete this PR.Please review and suggest fixes if needed, Apologies for the late PR.
Fixes #876

Thank you, @juliaferraioli!
When attempting to resolve conflicts, I see that I've allowed similar changes to be made in other PRs.
I'm going to have to create a new PR for this one to pull in its changes and manually resolve conflicts.

@gmlewis I was worried that would be the case. Thanks :-\

Actually, now that I'm looking at the final results of the merge, all the important things have been addressed, and the extra omitemptys are really not desirable anyway because these fields can't be omitted as they are not pointers.
See #974 for details.
Closing.


Fix repo owner details in cake.setup

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6b0aa9e). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #4   +/-   ##
=========================================
  Coverage          ?   17.76%
=========================================
  Files             ?        6
  Lines             ?      152
  Branches          ?       10
=========================================
  Hits              ?       27
  Misses            ?      125
  Partials          ?        0

Continue to review full report at Codecov.

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


PWG: Privacy Guidelines v2.0 - Iteration 3 (External publication for review)

PWG: Privacy Guidelines v2.0 - Iteration 3 (External publication for review)

Closing to add new 2022 deliverables + milestones.


Image carousel caught mid-swipe (mobile) or mid-drag (desktop)

I understand that this issue has been brought up in #162 and #412, but I'm not sure if it's been fully addressed. Images simply stop scrolling.
Initial page load:

Post-swipe:

Images continue to auto-fade in that position:

Settings:
{
      dots: true,
      infinite: true,
      fade: true,
      speed: 1000,
      slidesToShow: 1,
      slidesToScroll: 1,
      autoplay: true,
      autoplaySpeed: 5000,
      arrows: false,
      draggable: true,
      swipe: true,
      swipeToSlide: true
};

Version: v0.14.5

We are having the same issue. We suspect it has something to do with "fade" and "swipe" both being enabled, but haven't come up with a solution.

Facing similar issue once i zoom in on image and scroll.

Also having the same issue and pretty sure it is caused by fade and swipe together.

Problems related to fade+swipe were solved in the previous release. I'm closing this for now. If someone still faces any issue similar to this, please feel free to open another one.


when create a new project, i got error with "suspended"

Please help
the resource group xxxxxx is inactive with state: suspended open a support case and include the resource group name in the case details.

Hi, can you please provide us with more details? Failing source code/component? Full error message?


desktop/mac: add missing prompt and highlighting for install

relates to https://github.com/docker/docker.github.io/pull/14542#discussion_r848722200
relates to https://github.com/docker/docker.github.io/pull/14541

Before this change, the example was not highlighted;

After this change:

The commands in the example are still selectable (the $ prompt will be skipped in the selection);

Proposed changes

Unreleased project version (optional)

Related issues (optional)

@jerae-duffin ptal 🤗

Thanks! (saw the fix in the other PR, and thought: oh! I know what was wrong 😅)


[Adaptive cards] Use of Authorization header in Action.Http

Hi Team,
   Is it possible to pass the customized bearer token in authorization token.

    Always outlook's bearer token only passing to this authorization header.

   If Customization is not possible, Can we change the type of the token bearer to some thing else?

Thanks,
Vishnukumar M

@dclaux bringing this up to your radar.. Looks to be related to outlook's adaptation of AdaptiveCards?

Why is this case closed? I am having the same problem.
Outlook Actionable messages are supporting only Adaptive Cards schema version 1.0, and there is no Action.Execute there. Outlook does not render a card if the version is not 1.0.
Regarding the Action.Http, if you set your own Authorization header, it will be rewritten, and the callback will have the Outlook Bearer token instead. Only if you set it to an empty string then the token will be sent back as 'action-authorization' header value. This is a terrible design? Why don't just respect the user-provided Authorization header and send back the Bearer token in 'action-authorization'?


BTC-E invalid nonce error

com.xeiam.xchange.exceptions.NonceException: invalid nonce parameter; on key:555000110, you sent:'381737610', you should send:555000111
	at com.xeiam.xchange.btce.v3.service.polling.BTCEBasePollingService.checkResult(BTCEBasePollingService.java:45)
	at com.xeiam.xchange.btce.v3.service.polling.BTCEAccountServiceRaw.getBTCEAccountInfo(BTCEAccountServiceRaw.java:43)
	at com.xeiam.xchange.btce.v3.service.polling.BTCEAccountService.getAccountInfo(BTCEAccountService.java:32)
...

Affected versions: 4.0.0-SNAPSHOT and 3.1.0

Yesterday everything worked correctly.

It seems, nonce was incremented beyond value, that initialized by default. Creating new key should help.

yes, that was going to be my suggestion. Just create a new API key.


Check for negative GameModes in ServerPlayerListEntryPacket

These are sometimes negative for some reason. I was only able to reproduce this on one server, but this fixed it. The server was sending out a GameMode of -1.

Confirmed it to be ADD_PLAYER:
ServerPlayerListEntryPacket ADD_PLAYER GameMode: 1
ServerPlayerListEntryPacket ADD_PLAYER GameMode: -1
ServerPlayerListEntryPacket ADD_PLAYER GameMode: -1

I believe this to be from an IRC plugin.


Source generators not run for diagnostics

Type: Bug

Clean your roslyn repo. I mean it, delete the .artifacts directory.
Open your roslyn repo, and navigate to a file with source generated types. As an example, src/Compilers/CSharp/Test/Semantic/Semantics/FunctionPointerTests.cs.

Expected
No errors from missing source generated types.
Actual
Errors about types being missing when those types are source generated.
 Did you do another build after the artifacts directory? Because if not, I'd expect the error -- you no longer have a generator DLL on disk.

Did you do another build after the artifacts directory?

No, I did not.

Then this is expected behavior. We don't have any mechanism today to compile the generator project in our process and then use that generator downstream -- we see a file reference and we expect the file to be there.

📝 This feature request is tracked by https://github.com/dotnet/roslyn/issues/48083