Support for OpenAPI 3.0?

What version of OpenAPI does hapi-swagger support?

The plugin currently supports version 2.0. There are discussion going back a few years about v3 support, but as the Swagger UI code works with both schema's it has not moved forward. There are also conversion tools  https://github.com/Mermade/oas-kit/blob/main/packages/swagger2openapi/ if you need the JSON output in the v3 format.
Have you a use case in mind where v3 support would be useful?

https://www.youtube.com/watch?v=fzN67jPLpqI
The Postman team has created a super helpful tool that reads OpenAPI 3.0 info from your API and automatically generates tests to assert accurate/consistent contracts and also performs integration tests against the API.
We were hoping to use this tool.
Thank you for the recommendation.  Will check it out :)

@glennjones sorry to reply on a closed ticket, but on this particular note about support for V3...
Don't we need OpenAPI v3 to get full polymorphic support in the generated output (e.g. to fully support Joi.alternatives())? I was browsing through some tickets that mention this, some of which were punted as v2 didn't really provide a great option at the time.

@arimus this is an open issue https://github.com/hapi-swagger/hapi-swagger/issues/511

Thanks Robert. Not sure how I missed that one. Sorry for the noise 👍
On Sun, Jun 26, 2022, 10:54 AM robert mcguinness @.***>
wrote:

@arimus https://github.com/arimus this is an open issue #511
https://github.com/hapi-swagger/hapi-swagger/issues/511
—
Reply to this email directly, view it on GitHub
https://github.com/hapi-swagger/hapi-swagger/issues/760#issuecomment-1166585429,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABXYKXVFJHZOQXKAKRPZR3VRCC2VANCNFSM5XRTFU6Q
.
You are receiving this because you were mentioned.Message ID:
@.***>


include linkcheckermd as source in any Diagnostic

Fixes #60
Previously a user had no idea that the diagnostics reported by this extension in the Problems tab (or in a hover state) where from linkcheckmd. This resolves that issue.
Before:

After:

Note: Screenshot is out of date. I changed this PR to use linkcheckmd instead of linkcheckermd since the latter appears to be the name assigned in package.json.

Thanks for the contribution @michaelgwelch !


Adopt sinon's method names

https://sinonjs.org/releases/v6.1.5/stubs/

stub.reset(): Resets both behaviour and history of the stub.
stub.resetBehavior();
stub.resetHistory();

Will probably keep restore() as an alias for reset() as it's probably quite widely reused and  woudl be  a pain for everyone to update.

done

if a deprecation message were added, it'd give us all time to choose the new universal method. :+1:


[feature] Option to stop/continue current Job with parallel tasks

Will be cool if you implement some feature to stop current job.
Example: we have a job with 1000 parallel tasks. And in some moment we want to reconfigure workers - we dont want to cancel job and restart it - because sone of parallel tasks already compleated.
If we have option Stop - tasks in job could change state to Not active for example and after we reconfigure workers or ENV or something else we can proceed Job with pressing Continue.

You should be able to terminate workers mid-processing. RabbitMQ will automatically re-queue the tasks and redistribute them to whatever workers are left online.

I know, but let's image that in one task I have some x200 sub tasks - like downloading\uploading something and I dont want to terminate this. I just want to let those tasks finish and the rest become onhold

They will finish. It's not going to restart the parent task. Each of the subtasks will get auto requeued. Those that finish will not be impacted.

Ok, let me rephrase:
I want to download 1m urls > I split this job to 1000 parallel tasks > and inside each task I have 1k urls
I have 100 workers. During the run of each task I have finished, lets image, 500 tasks in this Job. If I stop this Job all tasks will be marked as Canceled and if I Restart this Job - Tork will run all tasks that already Completed - 500 tasks already completed and I don't want to re-run them.
So thats why I dont want to re-run completed tasks inside Job with parallel tasks.

Simply don't stop/cancel the job. Let it run. Terminate whatever machines you like, any tasks on these machines will be requeued to be handled by other workers.

So long as RabbitMQ stays online you should be fine with doing whatever you want with the workers and even the coordinator


rbac: url fragment matchers

Title: rbac: url fragment matchers
Description:
In HTTP APIs, it is extremely common to have paths of the form /orders/{storeid}/{orderId}/view.
It is useful to be able to safely match over these URLs in RBAC.
RBAC URL matching is currently a StringMatcher.
One could attempt to match these urls with regex. For example, I believe the above is roughly /orders/[^/]+/[^/]+/view.
However, regex matching against URLs feels fraught with issues. URL parsing confusion attacks are extremely common, and has had a lot of consideration in Envoy (path normalization, etc).
It would be great to have a first class way to match these in regex. I could see two approaches for this:

Adopt a new URL-aware matching setup. https://github.com/cncf/xds/pull/40/files may provide some previous discussion
Document, test, and support a canonical regex representation for URLs of this nature. As part of this, it would be desired that the security of this regex usage is treated the same as RBAC more broadly (e.g if the canonical regex has issues, its treated as a high severity CVE).

Kuat pointed me towards https://www.envoyproxy.io/docs/envoy/latest/api-v3/extensions/path/match/uri_template/v3/uri_template_match.proto#extensions-path-match-uri-template-v3-uritemplatematchconfig - looks like a perfect fit if it was added to RBAC

I don't see why not as long as their relative security/stability status match each other.

It is stable and robust_to_untrusted_downstream_and_upstream which I think is the highest tier?
Seems like this could plausibly become a new envoy.rbac.matchers.uri_template_match?

@KSmigielski please take a look at other similar PRs, e.g. https://github.com/envoyproxy/envoy/pull/23828. There are two parts to the change - an API addition, and an implementation. You can combine them, but they'd be reviewed separately, starting from the API.

So this is currently an extension, I guess the question is if we want to use the extension from rbac, which would make it very verbose, it would look something like this:
action: ALLOW
policies:
  "policy":
    permissions:
        - uri_template_match:
            name: envoy.path.match.uri_template.uri_template_matcher
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.path.match.uri_template.v3.UriTemplateMatchConfig
              path_template: "/something"
        - uri_template_match:
            name: envoy.path.match.uri_template.uri_template_matcher
            typed_config:
              "@type": type.googleapis.com/envoy.extensions.path.match.uri_template.v3.UriTemplateMatchConfig
              path_template: "/somethingelse"

Or do we want to incorporate the extension as part of RBAC? if we do so, do we maintain the extension for the Route usages? 🤔

also @howardjohn @kyessenov envoys implementation of utr_template basically converts the template into a regex, and it also apparently builds the regex on every match -.-.
might be worth just porting the logic into istio? and add support for patterns by transforming them into regexes as envoy does?

As far as doing the regex in Istio, its plausible but doesn't seem ideal to me. In abstract its best, IMO, to have it in Envoy where it is battle tested, run through fuzzer, etc. It also enables Envoy to switch from regex to a (theoretical) more efficient or safe implementation in the future, and better encodes our intent. One of the concerns specifically with doing regex in Istio was that regex parsing a URL is hard, and we want a solution that is security vetted.


Use different characters instead of colors

Is is possible to use different characters instead of colors for plotting multiple series?
It would be nice because I use this library for plotting, and then redirect the python script output to a file, which obviously loses the concept of color, so using like "*" and "+" instead of colors you be nice

Hi @AlbertoSinigaglia thanks for the suggestion!
This would be possible, but I imagine only for the force_ascii mode. At least it is less clear how to implement this using the default high-resolution mode via Unicode characters.
Is that what you mean, do you set force_ascii=True in the plots that you speak about?

Hi @AlbertoSinigaglia thanks for the suggestion!
This would be possible, but I imagine only for the force_ascii mode. At least it is less clear how to implement this using the default high-resolution mode via Unicode characters.
Is that what you mean, do you set force_ascii=True in the plots that you speak about?

Hi, thanks for the reply, yes, I actually use that flag to be sure to avoid compatibility issues

@AlbertoSinigaglia With version v0.13.1 this is now possible. You can control the characters used with the force_ascii_characters option.


unable to install on Mac

Hey guys,
I'm trying to get this running in Chrome on my Mac. I simply installed the extension, downloaded the package browserpass-darwinx64 and when trying to execute the install script I first get to select my browser and then I get the following error:
"
Installing Chrome host config
cp: /X/files/browserpass-darwinx64/chrome-policy.json: No such file or directory
"
From what I can see that file is not part of the package, have I missed some step that I should have done before running the install script?
Cheers,
siwan

Hey @siwan05,
You're right, looks like the make target is broken for building the release package, the chrome-policy.json file should be there but is missing.

So what does it mean now. I wanted to install it with vivaldi. This leads to the same bug.  Just use one of the release versions here:
https://github.com/dannyvankooten/browserpass/releases/

I'm using a release version (1.0.4) and get this error for Chrome on MacOS.

I am also getting that error using the latest release version (1.0.6).
Was able to fix the error by using and renaming the file from the source package.

@dgrusemann I'm guessing you just renamed the chrome-host.json file to chrome-policy.json?

I solved this with mv policy.json chrome-policy.json

Yes, it was done using the solution @rafi mentioned.

Release 1.0.6 also doesn't work with same error.

@rafi's fix doesn't work for me as there's no policy.json in 1.0.6.

This has been fixed in master thanks to #114.


How i can change the result of headers file

Sorry i was refering to habbit. For mistake i opened the issue in sulakore. The question is how i can put first hash and after header since source code with habbit. Sorry for the issue.
Hi awesome projects man you are  really very smart. Shame that you left tanji project. My question is about how i can change the result of this file. In other words how i can change the order of messages since source code.

Re-write this issue in the HabBit repository, with an example of what you want, I'll help you there.


as a user I want to be update the inpatient service

core|inpatient-service (3)| Number of full time beds, number of part time beds

@markherringer already fix and push staging


Release v0.8.1

@jsorg71
Why don't you tag current v0.8 branch with v0.8.1? Let's release v0.8.1.
As you may know, RC4 cipher used in classic RDP encryption is considered to be no longer safe.  This means xrdp v0.6.x is no longer safe when directly exposed to the internet. For this reason, I want to recommend TLS instead of classic RDP encryption.  However, there's no specific version number for full TLS support. v0.8.0 is lacking some TLS fixes.  Use v0.8 branch? master or devel branch?  No way.  It is not clear for ordinary users.  If v0.8.1 is released, I can simply say "use v0.8.1 instead of v0.6.x."

I said current v0.8 branch. But I have some commits to cherry-pick into v0.8 branch.

My thoughts of  v0.8.1 is to provide full TLS support with x11rdp for all platforms including FreeBSD.
As a result, these are candidates to be cherry-picked. I'm working on metalefty/xrdp v0.8 branch.
Please let me know your opinion.

legal packaging #232
complete TLS support (also on FreeBSD)
including FreeBSD build fixes
f59c925f8
fix portability issues (ex. hardcoded paths 870437a)
fixes for systemd 5f16481f d4791b39 830a93d8
fix (possible) crashes or deadlocks
in fuse 8261459
in x11rdp shmem on FreeBSD 4a95950f
if DISPLAY is not set f59c925f8
simple fixes with logic change
fix --kill 418637f7
fix -v -h 4a6567c
xorgxrdp xrandr 8a644c69
other quite simple changes without logic change
add new keymaps including #310 93aa8ab3 04b729ccd ef20d9d?
update mailing list address 89c0ee0
adjust permission a25e5e9

@proski what do you think about ?

Now we're working on v0.9.1 release, closing.


there are many mismatch between oscm-common  repository and oscm/oscm-common

there are many mismatch between oscm-common  repository and oscm/oscm-common and oscm/oscm-common server,
when i rebuild oscm with imported new fresh or latest commit oscm-common module there are many mismatch and errors,
Error:(35, 38) java: cannot access javax.servlet.http.HttpServletRequest
class file for javax.servlet.http.HttpServletRequest not found

@rmros
The oscm-common is a dependency of the oscm main repo.  It is resolved by the ANT task Build.LIB (see the readme of the oscm repo).  It seems you have checked out the oscm repo and not build the libraries or your workspace is created longer ago before oscm-commons was externalized.
Check-out the latest master of oscm repo. Run BUILD.LIB to fetch the dependend modules (in particular this target also downloads latest master snapshot of oscm-commons repo and extracts its classes in oscm/oscm-common/javares.)


EmailItem / OnBeforeSendEmail - add support for streams (GetAttachmentAsStream)

We've already spent tremenduous time in trying to keep our 'Advanced Mailing' solution working with extensions. (See #4349) We're especially trying to interfere in the standard BC sales invoice mailing process (as late as possible) to manipulate the generated sales invoice PDF (+ attachments) to be sent. Eventually, we ended up using the OnBeforeSendEmail event, which works fine ... in OnPrem only.
[EventSubscriber(ObjectType::Codeunit, Codeunit::"Document-Mailing", 'OnBeforeSendEmail', '', false, false)]
    local procedure OnBeforeSendEmail(var TempEmailItem: Record "Email Item" temporary; var IsFromPostedDoc: Boolean; var PostedDocNo: Code[20]; var HideDialog: Boolean; var ReportUsage: Integer; var EmailSentSuccesfully: Boolean; var IsHandled: Boolean)
    var
        MailTemplateFunc: Codeunit "NVT Mail Template Functions";
        SourceRecordRef: RecordRef;
    begin
        MailTemplateFunc.BeforeSendMailMessage(SourceRecordRef, TempEmailItem."Attachment File Path", TempEmailItem."Attachment Name", HideDialog, IsHandled);
        if IsHandled then begin
            HideDialog := false;
            EmailSentSuccesfully := true;
        end;
    end;

The problem is that the above solution is NOT saas-proof. We do get access to the generated sales invoice PDF (the PDF is generated in standard BC via SaveAsPDF), but via server temp only (TempEmailItem."Attachment File Path"). This blocks us from further reading the file and adding watermarks, sales conditions, attachments and zipping the result.
With the new 'Email Feature' coming towards us in BC 17.1, what are the options in the Base App made available to fix the above problem. Can you at least provide access to the content of the TempEmailItem."Attachment File Path" via streams, so we can manipulate the file in OnBeforeSendEmail?
Having a function **EmailItem.GetAttachmentAsStream(var InStream) : boolean ** (and EmailItem.GetAttachment2AsStream(var InStream) .. to 6) would definitly help us moving forward with BC 17.1 untill the BC team has managed the Base App refactoring to full stream based mailing (and thus depecrate the tons on file based / OnPrem functions in Report Selections / Document-Mailing / ...) (or a similar function returning a temp array / temp table of Instreams for the attachments)
The function should read the tempserverfile EmailItem."Attachment File Path" and return map it to a stream. If this is to generic / exposes the server too much, then please at least provide a similar solution, but limited to the context where OnBeforeSendEmail is raised.

A bit similar to how the GeneratePdf in PDF Document Management works, providing access to TempAttachmentEntityBuffer.Content.
@JesperSchulz Any thoughts, ideas, suggestions? This is one of the major blocking parts keeping us from moving towards Appsource, which Kurt Juvyns is pushing our management to ... :) We definitly should to be able to fix this in a next minor of BC 17.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version.


ERROR: No video formats found;

Checklist

[ ] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2020.11.26
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-u', 'PRIVATE', '-p', 'PRIVATE', 'https://www.linkedin.com/learning/cert-prep-certified-solidworks-professional-3/certification-exam-software-settings', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2020.11.26
[debug] Python version 3.8.6 (CPython) - Linux-5.9.10-arch1-1-x86_64-with-glibc2.2.5
[debug] exe versions: ffmpeg 4.3.1, ffprobe 4.3.1
[debug] Proxy map: {}
[linkedin:learning] Downloading login page
[linkedin:learning] Logging in
[linkedin:learning] certification-exam-software-settings: Downloading 360p JSON metadata
[linkedin:learning] certification-exam-software-settings: Downloading 540p JSON metadata
[linkedin:learning] certification-exam-software-settings: Downloading 720p JSON metadata
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/home/admonz/.local/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 803, in wrapper
    return func(self, *args, **kwargs)
  File "/home/admonz/.local/lib/python3.8/site-packages/youtube_dl/YoutubeDL.py", line 824, in __extract_info
    ie_result = ie.extract(url)
  File "/home/admonz/.local/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/home/admonz/.local/lib/python3.8/site-packages/youtube_dl/extractor/linkedin.py", line 127, in _real_extract
    self._sort_formats(formats, ('width', 'height', 'source_preference', 'tbr', 'abr'))
  File "/home/admonz/.local/lib/python3.8/site-packages/youtube_dl/extractor/common.py", line 1359, in _sort_formats
    raise ExtractorError('No video formats found')
youtube_dl.utils.ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

I'm trying to download videos from linkedin learning, I started by downloading the first two videos and it worked well but this error started to occur on the third video.
Here is the link to one of the successfully downloaded videos:
https://www.linkedin.com/learning/cert-prep-certified-solidworks-professional-3/how-to-use-the-exercise-files
I tried to play all videos on the browser and everything works well.
Thanks in advance.

I found the solution in this comment, sorry I didn't do enough search, thanks for closing.


Weirdness and compiler infinite loop with show rules on par

I've stumbled into some very weird things when using some #show rules on par.
Let's start with the following snippet:
#set page("presentation-16-9")
#set text(size: 22pt)
#let marker = [#text(size: 8pt)[testing]]

// [further additions will be done here]

= Heading
hello
- foo: hello
sep
- bar: world

Everything looks fine:

Now, let's add a simple #show list: it => [#it #v(1fr)] in the place of the comment. Things are as expected:

Now, let's add a #show par: it => [#it #v(1fr)] in the place of the comment. This now produces some quite weird output (producing multiple pages!):

Even worse, let's add some actual content instead of spacing: #show par: it => [#it #marker]. Now the compiler hangs.

Faced the same bug today while trying to indent every paragraph (not excluding the first one; as the default behavior)
#show par: p => [
  #h(0.166667in) #p
]

#lorem(50)

#lorem(50)

ended up with this
thread 'main' has overflowed its stack
fatal runtime error: stack overflow

I haven't looked closely, but the problem is pretty surely that the show rule produces yet another paragraph (because of #h) which in turn is affected by the show rule. It's similar to #229.

The par show rule creates another paragraph due to h usage. It's the same issue as #229. No progress on that as of yet though.


How to export excel with load view for multiple table side by side. anyone please help me.

I tried a lot but unfortunately, I didn't get the solution for export to excel with load view of multiple tables in side by side.

hello

Hello,
As stated before, please complete the issue template (https://github.com/Maatwebsite/Laravel-Excel/blob/3.0/.github/ISSUE_TEMPLATE.md). The information you provided is incomplete.
Support is offered on a best effort basis, please read: https://laravel-excel.maatwebsite.nl/docs/3.0/getting-started/support


Dont hide DATABASE_URL from pg info if only attachment

Fixes issue where DATABASE_URL is hidden from heroku pg:info when it is the only attachment to an add-on (see https://support.heroku.com/tickets/237195 for an example). This only hides the DATABASE_URL if something else has been detected as being an alias for the same add-on.
cc @gregburek @stevo550 @heroku/add-ons.

Ideally, this command (and others) would be resource-based instead of attachment-based to be aligned with the general add-ons model and to be more resilient to the types of attachment topologies that can now arise with the new primitives exposed.  It might look something like this, instead:
$ heroku pg:info
=== glistening-goldly-8123
Aliases:     DATABASE, HEROKU_POSTGRESQL_CYAN
Plan:        Hobby-dev
Status:      Available
Connections: 0/20
PG Version:  9.4.1
Created:     2015-05-13 05:42 UTC
Data Size:   6.4 MB
Tables:      0
Rows:        0/10000 (In compliance)
Fork/Follow: Unsupported
Rollback:    Unsupported

=== shining-sweetly-1354
Aliases:     HEROKU_POSTGRESQL_BLACK_URL
Plan:        Hobby-dev
Status:      Available
Connections: 0/20
PG Version:  9.4.1
Created:     2015-05-13 05:42 UTC
Data Size:   6.4 MB
Tables:      0
Rows:        0/10000 (In compliance)
Fork/Follow: Unsupported
Rollback:    Unsupported

$ heroku pg:info CYAN
=== glistening-goldly-8123
Aliases:     DATABASE, HEROKU_POSTGRESQL_CYAN
Plan:        Hobby-dev
Status:      Available
Connections: 0/20
PG Version:  9.4.1
Created:     2015-05-13 05:42 UTC
Data Size:   6.4 MB
Tables:      0
Rows:        0/10000 (In compliance)
Fork/Follow: Unsupported
Rollback:    Unsupported

$ heroku pg:info shining-sweetly-1354
=== shining-sweetly-1354
Aliases:     HEROKU_POSTGRESQL_BLACK_URL
Plan:        Hobby-dev
Status:      Available
Connections: 0/20
PG Version:  9.4.1
Created:     2015-05-13 05:42 UTC
Data Size:   6.4 MB
Tables:      0
Rows:        0/10000 (In compliance)
Fork/Follow: Unsupported
Rollback:    Unsupported

If @heroku/department-of-data is OK with pg:info changing in this way, I can explore making the change.

@bjeanes I'm looking at the output of pg:info that you have in the PR.  Generally speaking, I'm ok with the changes but the output is not consistent.  For example, shining-sweetly-1354 has an alias with a _URL at the end but glistening-goldly-8123 does not.  I want to make sure that whatever the other pg commands accept for aliases we put them as such in pg:info.

@bjeanes also do we use the term 'Aliases' to describe the config var?  I've used config var all over the documentation.  I want to make sure we're not confusing the user.  Would the attachment name actually work in the other pg commands?  I'm thinking of pg:backups, pg:copy, and pg:ps specifically.

@neovintage sorry the output above is not the change made here. It's just a comment about where it could be. As such, I manually crafted it to the _URL inconsistencies are just my human error.

also do we use the term 'Aliases' to describe the config var?

Because I'd personally argue to show attachment names ("aliases") not config vars.

Would the attachment name actually work in the other pg commands? I'm thinking of pg:backups, pg:copy, and pg:ps specifically.

It already does and should continue to, yes.

I guess when I said "would attachment names work in other pg commands" i
meant, "have we tested it" ;-)
On Wed, May 13, 2015 at 2:25 PM, Bo Jeanes<EMAIL_ADDRESS>wrote:

@neovintage https://github.com/neovintage sorry the output above is
not the change made here. It's just a comment about where it could be.
As such, I manually crafted it to the _URL inconsistencies are just my
human error.
also do we use the term 'Aliases' to describe the config var?
Because I'd personally argue to show attachment names ("aliases") not
config vars.
Would the attachment name actually work in the other pg commands? I'm
thinking of pg:backups, pg:copy, and pg:ps specifically.
It already does and should continue to, yes.
—
Reply to this email directly or view it on GitHub
https://github.com/heroku/heroku/pull/1564#issuecomment-101820157.

@neovintage attachment names definitely work today, mostly as a byproduct of the attachment names always being the prefix of the config var and the config var matches on any unambiguous substring. That's all pre-existing code that I haven't changed. The changes I'm proposing above (which would switch these commands to my own add-on resolver) also work with attachment names and could be made to work with config vars.


Review UX around adding sub sections

it really isn't that great that I have to make a booking record to discover than I can make a sub record of Bike underneath it.  In general, it's not great that the developer has to enter data to unfurl all of the model editing features.

Fixed in latest UX


[SPARK-8010][SQL]Promote numeric types to string type as implicit conversion in HiveTypeCoercion

Given a query
select coalesce(null, 1, '1') from dual will cause exception:
java.lang.RuntimeException: Could not determine return type of Coalesce for IntegerType,StringType
Given a query:
select case when true then 1 else '1' end from dual will cause exception:
java.lang.RuntimeException: Types in CASE WHEN must be the same or coercible to a common type: StringType != IntegerType
I checked the code, the main cause is the HiveTypeCoercion doesn't do implicit convert when there is a IntegerType and StringType.

Numeric types can be promoted to string type
Hive will always do this implicit conversion.

Can one of the admins verify this patch?

@chenghao-intel  Could u please review this?

findTightestCommonType is also used in Rule WidenTypes which is run before PromoteStrings, and your change will break some special logic for binary comparison in PromoteStrings. We need to be careful to avoid breaking existing rules.

It's better to update the rule for CaseWhenCoercion and Coalesce directly, not provide a general rule, which probably break the existed logic as @cloud-fan said.
Beside, can you also add a unit test to compare the hive answer?

Thanks, @cloud-fan and @chenghao-intel. I will update it tomorrow night.

@cloud-fan and @chenghao-intel.  Updated, Any more comments?

@cloud-fan and @chenghao-intel
Resolve conflicts and test suite passed locally.
Would you mind to review this?

@rxin @marmbrus

@cloud-fan That's make sense, thanks.  Updated.

ping..

@cloud-fan and @yhuai can you both take another look at this?

ping...
May AmplabJenkins test this please?

LGTM, but we need a more general rule to handle these promote-string stuff...

ok to test

Merged build triggered.

Merged build started.

Test build #34894 has started for   PR 6551 at commit 7a209d7.

Test build #34894 has finished for   PR 6551 at commit 7a209d7.

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

Merged build finished. Test PASSed.

Thanks!  Merging to master.


Kafka Streams integration

Existing feature types can be updated to use the default Kafka partitioner, which will allow for joins without
re-partitioning. However, note that updates for a given feature may go to the wrong partition, which may result
in older data being returned when GeoMesa is queried. This will generally resolve itself over time as Kafka log
retention policies delete the older data (unless Kafka log compaction is enabled for the topic).

@a0x8o did you mean to open this MR? I'm going to assume it was unintentional, given the conflicts and 10k commits involved. thanks!


Blank Canvas after calling applyBlur() in React

I am trying to use this package in react? Is there anything else that has to be done other than what is in the document? The canvas is just blank after calling apply blur.

Also I'm planning on making a react specific guide and changes soon. No ETA though.

@djaffer
Just a note.
segmentBackground() needs to be called before applying any kind of effect. If segment background runs successfully then applyBlur() should run without any issue as it's just a css filter on top of the segments.

I had to pause and play again for it to take it into effect.
    segmentBackground(this.myVideoRef.current, this.myVideoCanvasRef.current);
      applyBlur(10);
      this.myVideoRef.current.pause();
  this.myVideoRef.current.play();
        ```
I do get this error often.
![image](https://user-images.githubusercontent.com/5740725/138225127-6bd78bee-7f40-4eea-8337-61e6cdc4f6c1.png)

Couple of suggestions/Good to have.

1) Move media pipe to npm dependency so CSP issue is not there.
 it to bit 2.106577a1.chunk.js:2 Refused to load the script 'https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>because it violates the following Content Security Policy directive: "script-src-elem 'self' code.jquery.com
 https://google.github.io/mediapipe/getting_started/javascript

2) For image background would it be possible to rotate it in the library using package https://www.npmjs.com/package/@jimp/plugin-flip

I had to pause and play again for it to take it into effect.
    segmentBackground(this.myVideoRef.current, this.myVideoCanvasRef.current);
      applyBlur(10);
              this.myVideoRef.current.pause();
        this.myVideoRef.current.play();
        ```
I do get this error often.
![image](https://user-images.githubusercontent.com/5740725/138225127-6bd78bee-7f40-4eea-8337-61e6cdc4f6c1.png)

Couple of suggestions/Good to have.

1) Move media pipe to npm dependency so CSP issue is not there.
 it to bit 2.106577a1.chunk.js:2 Refused to load the script 'https://cdn.jsdelivr.net/npm/<EMAIL_ADDRESS>because it violates the following Content Security Policy directive: "script-src-elem 'self' code.jquery.com
 https://google.github.io/mediapipe/getting_started/javascript

2) For image background would it be possible to rotate it in the library using package https://www.npmjs.com/package/@jimp/plugin-flip


[Errno 2] No such file or directory: 'sass-convert'

Trying to run plugin on scss file.  get this error. ST3 build 3107, OSX 10.11. Ruby sass 3.4.18.

This worked for me and is a slight deviation from the instructions
In terminal:
echo $PATH
put contents in "path" : option
echo $GEM_PATH
put contents in "gemPath" : option
THEN (here is the fix) in terminal type:
which ruby
you should get something like:
/Users/devprose/.rvm/rubies/ruby-2.2.0/bin/ruby
Then add that to the end of the "path" option by placing a semicolon before it like so:
:/Users/devprose/.rvm/rubies/ruby-2.2.0/bin/ruby
**NOTE: ** I was able to get it to work without exporting my entire path and only placing the results of 'which ruby' in the "path" option, but I'd advise following the author's instructions just in case and just augmenting it with this little add on.

I have had so many problems with rvm and paths, i really don't know what to advise people. I am not a ruby dev and I don't understand a lot of things related to ruby and rvm specifically. Thank you for this information though, hopefully it will help others.

Thanks.  I went back to Atom, since things like this "just work" out of the box.

@badsyntax
Maybe you can fellow this step..
http://tsai-jimmy.logdown.com/posts/1295269-sassbeautify-errno-2-no-such-file-or-directory-sass-convert

Try:
Under Preferences > Package Settings > SassBeautify > Settings – User add this line:
{
	"path": "/usr/local/bin",
}

hey this does not work for me
{
"path": "/usr/local/bin",
}
did not work and
echo $GEM_PATH
returns nothing

Broken for me too :(

After years of the install sass fix working, and now with an M1 MacBook/Ventura 13.4 there's a new error:
There was an error beautifying your Sass:
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin22/rbconfig.rb:21:in ``': No such file or directory - uname (Errno::ENOENT)
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin22/rbconfig.rb:21:in <module:RbConfig>' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin22/rbconfig.rb:11:in <top (required)>'
from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:9:in require' from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems.rb:9:in <top (required)>'
from internal:gem_prelude:2:in require' from <internal:gem_prelude>:2:in internal:gem_prelude'


test(e2e): e2e-nightly-test failures on v1.x - lack of transaction broadcasting

Summary
This issue is for tracking the failures on v1.x that occurred recently, such as this one. We have conducted troubleshooting and found that a test was failing because one of the nodes (validator04) was receiving a transaction via RPC, but was not broadcasting the transaction to other peers.
Additionally, the validator node's proposed blocks were not the ones being committed, so that specific transaction would not make it into a block, resulting in the test failure.
Please see comments for additional context.
Please see the tracking issue (#4108) for a description of the error.
Problem / Testing
In order to determine the root cause of the problem tests were performed using the following manifest
manifest
ipv6 = false
initial_height = 1000
disable_pex = false
key_type = ""
evidence = 10
abci_protocol = "tcp"
prepare_proposal_delay = "100ms"
process_proposal_delay = "100ms"
check_tx_delay = "0s"
vote_extension_delay = "20ms"
finalize_block_delay = "200ms"
upgrade_version = ""
load_tx_size_bytes = 0
load_tx_batch_size = 0
load_tx_connections = 0
load_max_txs = 0
log_level = "*:debug,p2p:info"
log_format = ""
prometheus = true
block_max_bytes = 0
vote_extension_size = 2048
vote_extensions_enable_height = 1101
vote_extensions_update_height = 1000
peer_gossip_intraloop_sleep_duration = "0s"
experimental_max_gossip_connections_to_persistent_peers = 0
experimental_max_gossip_connections_to_non_persistent_peers = 0
abci_tests_enabled = false
default_zone = ""
pbts_enable_height = 1010
pbts_update_height = 0

[initial_state]
  initial01 = "a"
  initial02 = "b"
  initial03 = "c"

[validators]
  validator01 = 58
  validator02 = 41
  validator03 = 59

[validator_update]
  [validator_update.1010]
    validator04 = 64

[node]
  [node.validator01]
    mode = "validator"
    version = ""
    database = "goleveldb"
    privval_protocol = "unix"
    start_at = 0
    block_sync_version = "v0"
    state_sync = false
    persist_interval = 1
    snapshot_interval = 3
    retain_blocks = 0
    enable_companion_pruning = true
    perturb = ["restart", "upgrade"]
    send_no_load = false
    zone = ""
    experimental_db_key_layout = ""
    compact = false
    compaction_interval = 0
    discard_abci_responses = false
    indexer = ""
    clock_skew = "0s"
  [node.validator02]
    mode = "validator"
    version = ""
    persistent_peers = ["validator01"]
    database = "pebbledb"
    privval_protocol = "tcp"
    start_at = 0
    block_sync_version = "v0"
    state_sync = false
    persist_interval = 1
    snapshot_interval = 3
    retain_blocks = 0
    enable_companion_pruning = false
    perturb = ["upgrade"]
    send_no_load = false
    zone = ""
    experimental_db_key_layout = ""
    compact = false
    compaction_interval = 0
    discard_abci_responses = false
    indexer = ""
    clock_skew = "0s"
  [node.validator03]
    mode = "validator"
    version = ""
    persistent_peers = ["validator02"]
    database = "badgerdb"
    privval_protocol = "unix"
    start_at = 0
    block_sync_version = "v0"
    state_sync = false
    persist_interval = 1
    snapshot_interval = 0
    retain_blocks = 0
    enable_companion_pruning = true
    perturb = ["disconnect"]
    send_no_load = false
    zone = ""
    experimental_db_key_layout = ""
    compact = false
    compaction_interval = 0
    discard_abci_responses = false
    indexer = ""
    clock_skew = "0s"
  [node.validator04]
    mode = "validator"
    version = ""
    persistent_peers = ["validator02"]
    database = "pebbledb"
    privval_protocol = "tcp"
    start_at = 1005
    block_sync_version = "v0"
    state_sync = true
    persist_interval = 56
    snapshot_interval = 3
    retain_blocks = 56
    enable_companion_pruning = false
    perturb = []
    send_no_load = false
    zone = ""
    experimental_db_key_layout = ""
    compact = false
    compaction_interval = 0
    discard_abci_responses = false
    indexer = ""
    clock_skew = "42.827319042s"

We've used a log_level of "*:debug,p2p:info" in order to gather as much log information as possible. We've also used a custom branch that was at the same commit level as v1.x but includes several additional debug messages.
Logs
Running e2e tests using the manifest above, we could see in the logs that following behavior
Transactions involved in the failing test were not propagated to the other validators. The tx is broadcasted to the validator04 via BroadcastTxSync RPC endpoint but the tx was not propagated to other peers (gossiped) so the tx would only exist in the validator04's mempool
validator04  | D[2024-09-13|16:35:00.283] BroadcastTxSync                              module=rpc msg="received tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:00.283] CheckTx no sender                            module=mempool senderisblank=tx 3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5=(MISSING)
validator04  | D[2024-09-13|16:35:00.295] CheckTx                                      msg="seenTxs stored tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5 store_at_height=1047
validator04  | D[2024-09-13|16:35:00.300] Added transaction                            module=mempool tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5 height=1047 total=8
validator04  | D[2024-09-13|16:35:00.300] handleCheckTxResponse addTx                  module=mempool tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5 height=1047
validator04  | D[2024-09-13|16:35:00.300] BroadcastTxSync response                     module=rpc log="checked tx (3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5)" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:01.668] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:03.106] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:04.636] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:05.417] PrepareProposal                              msg="added transaction to txs" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5 height=1051
validator04  | D[2024-09-13|16:35:07.412] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:08.905] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:10.310] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:11.100] PrepareProposal                              msg="added transaction to txs" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5 height=1054
validator04  | D[2024-09-13|16:35:13.169] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:14.590] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:16.039] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:17.510] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:18.309] PrepareProposal                              msg="added transaction to txs" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5 height=1058
validator04  | D[2024-09-13|16:35:20.273] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:21.745] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:23.215] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:24.758] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:25.526] PrepareProposal                              msg="added transaction to txs" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5 height=1062
validator04  | D[2024-09-13|16:35:27.547] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:29.075] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:29.840] PrepareProposal                              msg="added transaction to txs" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5 height=1064
validator04  | D[2024-09-13|16:35:31.944] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:33.444] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:34.915] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:36.367] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:37.140] PrepareProposal                              msg="added transaction to txs" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5 height=1068
validator04  | D[2024-09-13|16:35:39.275] Mempool RecheckTxs                           module=mempool msg="rechecking a tx" tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5
validator04  | D[2024-09-13|16:35:39.275] CheckTx                                      msg="transaction expired" tx_hash=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5 seen_height=1047 current_height=1068 tx_ttl=20
validator04  | D[2024-09-13|16:35:39.276] Tx is no longer valid                        module=mempool tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5 res="code:5 log:\"transaction expired; seen height 1047, current height 1068\" " postCheckErr=null
validator04  | D[2024-09-13|16:35:39.276] Removed transaction                          module=mempool tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5 height=1068 total=0
validator04  | D[2024-09-13|16:35:39.276] Invalid transaction removed from mempool     module=mempool tx=3227101E53F267854F48B6F58617DF805AC60759934C3412B0C682B9EFB1F5F5

While this transaction above only show “Added Transaction” on validator04, a normal transaction was gossiped to other validators
validator02  | D[2024-09-13|16:33:31.988] Added transaction                            module=mempool tx=5774F36082199C5E557A2FFEE34A3DA6A7751EBAE5A5FE11359CD57F59A3F93A height=1022 total=4
validator04  | D[2024-09-13|16:34:14.854] Added transaction                            module=mempool tx=5774F36082199C5E557A2FFEE34A3DA6A7751EBAE5A5FE11359CD57F59A3F93A height=1022 total=25
validator01  | D[2024-09-13|16:33:32.045] Added transaction                            module=mempool tx=5774F36082199C5E557A2FFEE34A3DA6A7751EBAE5A5FE11359CD57F59A3F93A height=1022 total=4
validator03  | D[2024-09-13|16:33:32.033] Added transaction                            module=mempool tx=5774F36082199C5E557A2FFEE34A3DA6A7751EBAE5A5FE11359CD57F59A3F93A height=1022 total=4

Visually in our dashboards we could see the txs stuck on validator04 mempool (until they expired and are removed from the mempool)

Resolution
After the PR #4089 was merged to v1.x, changes were introduced on the mempool that seems to have fixed the problem above and the tests finally started passing on v1.x.
Definition of Done (DoD)
Tests don't fail on v1.x due to the lack of transaction broadcasting problem for a few days.

Tests Successful
https://github.com/cometbft/cometbft/actions/runs/10914398238
https://github.com/cometbft/cometbft/actions/runs/10933304544

I've added a unit test to cover the described scenario: https://github.com/cometbft/cometbft/pull/4127.
We should also backport it to v1.x.

One more successful run https://github.com/cometbft/cometbft/actions/runs/10952066408
We had 3 successful runs after the fix so I'll close this issue.


docs: add coco deprecation notice to README

@tranzystorek-io can you update the examples and the binary name as @alerque suggested ?

Yeah, sorry, kinda forgot about this change 😅

Yeah, sorry, kinda forgot about this change sweat_smile

No problem :)


Sign commits

Partial support for #232 - this is a quick, simple approach to give options but involves compromises. The harder option is still a better idea long term so this isn't a complete solution.
This is a compromise - it uses a newer API which allows Github to sign the commits which are created automatically. This newer API intentionally doesn't allow configuring the author information though, which puts it in an interesting position for managing Renovate. I would suggest using a PAT for a seperate machine user that is only used for this purpose and then allow that machine user to bypass Renovates automerging.
cc @Vechro - I want to leave this in PR for a while if you're willing to run this branch for a while to test it.
Limitations

No custom author. This makes it harder to integrate securely with Renovate which needs to ignore a specific author.
PAT's can't be used to connect from one personal account to a repo in another personal account. This rules out using a machine user unless the repos are hosted in a Github organisation.

I've tested it out now and it seems to sign commits as expected! I think the limitations you listed are valid, although they're fine for my use case.


[fix lint warnings: Uniques pallet] fix clippy::doc_markdown warnings

This PR fixes the 481 warnings emitted by the doc_markdown lint for the Uniques pallet.
Note: These lint warnings should no longer happen for newly generated weight files thanks to #14535.
This is part of an ongoing effort from the https://github.com/orgs/paritytech/teams/devrel team to improve developer experience.

bot bench $ pallet dev pallet_uniques

Ran it locally - there's still some warnings:

What command are you running?
If you want to have this also working in the future then we need to integrate it into the CI, otherwise someone will silently break it.
Updating these files manually does not really work, since they auto-generated, so any change will be over-written eventually.

What command are you running?

cargo clippy -- -A clippy::all -W clippy::doc_markdown --no-deps

Updating these files manually does not really work, since they auto-generated, so any change will be over-written eventually.

Yes - shouldn't we update the template with the backticks?

bot bench $ pallet dev pallet_uniques

bot merge


write color tests

write tests for color parsing and proper outputs at least the parts that work

ie. mix(rgba(200,100,0,0.5), #abc)

these are tested in parser and compiler. It would be good to add tests directly in color though.


Technically its fixed by #1248, if importlib is installed. But this has not been released yet :/


How Remove PII (Personal Information) from MonoLog log files?

Monolog version 3?
I see some plugins and scripts to remove PII from monolog logs, but everything i have found is realted to Monolog 2. How can i remove information like CreditCard data from any logs?
Here's and example i found for Monolog 2.0
If I implement what is here with Monolog 3, I get the following error.
Fatal error: Declaration of RedactSensitive\RedactSensitiveProcessor::__invoke(array $record): array must be compatible with Monolog\Processor\ProcessorInterface::__invoke(Monolog\LogRecord $record) in /... .../RedactSensitiveProcessor.php on line 34

Yes.. you need to port the code to work with Monolog 3, see https://github.com/Seldaek/monolog/blob/main/UPGRADE.md


language/string/interpolation_and_buffer_test fails

DART_CONFIGURATION=ReleaseARM64 TEST_COMPILATION_DIR=/b/s/w/ir/cache/builder/sdk/out/ReleaseARM64/generated_compilations/vm-aot-linux-release-arm64/tests_language_string_interpolation_and_buffer_test out/ReleaseARM64/dart_precompiled_runtime --sound-null-safety -Dtest_runner.configuration=vm-aot-linux-release-arm64 --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.dart_tool/package_config.json /b/s/w/ir/cache/builder/sdk/out/ReleaseARM64/generated_compilations/vm-aot-linux-release-arm64/tests_language_string_interpolation_and_buffer_test/out.aotsnapshot

exit code:
255

stderr:
Unhandled exception:
Expect.throws<String>: Unexpected '"unreachable"'
#0      main.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/language/string/interpolation_and_buffer_test.dart:46)
#1      Expect.throws (package:expect/expect.dart:616)
#2      main (file:///b/s/w/ir/cache/builder/sdk/tests/language/string/interpolation_and_buffer_test.dart:46)
#3      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297)
#4      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184)

#0      Expect._fail (package:expect/expect.dart:721)
#1      Expect.throws (package:expect/expect.dart:626)
#2      main (file:///b/s/w/ir/cache/builder/sdk/tests/language/string/interpolation_and_buffer_test.dart:46)
#3      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297)
#4      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184)

--- Re-run this test:
python3 tools/test.py -n vm-aot-linux-release-arm64 language/string/interpolation_and_buffer_test

Legacy variant of this test is also failing:
--- Command "vm" (took 03.000041s):
DART_CONFIGURATION=DebugX64 out/DebugX64/dart --enable_asserts --no-sound-null-safety -Dtest_runner.configuration=dartk-weak-asserts-linux-debug-x64 --ignore-unrecognized-flags --packages=/b/s/w/ir/.dart_tool/package_config.json /b/s/w/ir/tests/language/string/interpolation_and_buffer_legacy_test.dart

exit code:
255

stderr:
Unhandled exception:
Expect.throws<Error>: Unexpected '"unreachable"'
#0      main.<anonymous closure> (file:///b/s/w/ir/tests/language/string/interpolation_and_buffer_legacy_test.dart:18:35)
#1      Expect.throws (package:expect/expect.dart:616:18)
#2      main (file:///b/s/w/ir/tests/language/string/interpolation_and_buffer_legacy_test.dart:18:10)
#3      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)
#4      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

#0      Expect._fail (package:expect/expect.dart:721:5)
#1      Expect.throws (package:expect/expect.dart:626:7)
#2      main (file:///b/s/w/ir/tests/language/string/interpolation_and_buffer_legacy_test.dart:18:10)
#3      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)
#4      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

--- Re-run this test:
python3 tools/test.py -n dartk-weak-asserts-linux-debug-x64 language/string/interpolation_and_buffer_legacy_test

I wonder if this should be fixed in CFE. The problem is the kernel for this string interpolation doesn't call toString on the parts:
print("$t ${throw "unreachable"}");

Kernel:
core::print("${t} ${throw "unreachable"}");

For the right semantics, t.toString should be called before the second part of the interpolation is evaluated.
Currently how dart2wasm handles this is, we first generate a list with all the values and pass it to a runtime function:
String._interpolate([t, throw "unreachable"])

Since the test fails with VM as well I think it probably does the same.
For the right semantics the backends need to check each part, and if a part's static type is not String they need to call toString:
String._interpolate([t.toString(), throw "unreachable"])

Instead of doing this in every backend maybe CFE could do it for the backends in one place.

Doing this in CFE also makes optimizing the toString calls based on the static types of the concatenated parts eaiser as TFA can do it. For example if I have "$a $b where a : A and b : B, TFA can convert the toString instance calls to direct calls to A.toString and B.toString.
@chloestefantsova @johnniwinther any thoughts on doing this in CFE?
Here's a smaller repro:
class ToStringThrows {
  String toString() => throw "Throw";
}

void main() {
  var t = ToStringThrows();

  // Fails with "unreachable", but should fail with "Throw".
  print("$t ${throw "unreachable"}");
}

See also https://github.com/dart-lang/sdk/issues/34223


Interface 'LargeLaravel\Containers\Book\Subactions\Interfaces\GetBookListActionInterface' not found

Interface 'LargeLaravel\Containers\Book\Subactions\Interfaces\GetBookListActionInterface' not found
at app/src/Containers/Book/Actions/GetBookListAction.php:14
10| use LargeLaravel\Containers\Book\Proxies\BookEloquentProxy;
11| use LargeLaravel\Containers\Book\Subactions\Interfaces\GetBookListActionInterface;
12| use LargeLaravel\Ship\Http\Requests\API\Interfaces\PaginateRequestInterface;
13|

14| class GetBookListAction implements GetBookListActionInterface
15| {
16|     private BookEloquentProxy $bookEloquentProxy;
17|
18|     public function __construct(BookEloquentProxy $bookEloquentProxy)

  +2 vendor frames

3   [internal]:0
Composer\Autoload\ClassLoader::loadClass()
4   app/src/Containers/Book/Providers/BookServiceProvider.php:20
spl_autoload_call()

Hey @stasyanko, how are you getting on with this issue? It's a very interesting project you have here and I'd be very interested in exploring it with you. I'm kind of new to this but this project really would be useful to me in terms of seeing the theory in real life.


Proof reading

Reviewed quickly 00 and 01.
Proofread 02

Many files have their permissions changed. Change back to 0644

Comments on commits are meaningless

I have removed the files that i didn't work on from my latest commit.
Does that solve the permission issue?

You removed key files of the project!!!
And the modified files contain spurious text from the git merge command.

Too many issues in this PR, please create a new one.


glitch when i create MediaItem with different size

if you changed JSQMediaItem.m
row 93, as
return CGSizeMake(210.0f, arc4random() % 100 + 150);
will tell.
cheers.

actually it happened when my MediaItem has different height

sori,  code above is wrong.
my one is, different size item with one kind of mediaItem.
like you have different height of photomediaItem.
hope your guys can understand

@jessesquires sori, all is my fault, forget to override hash method, now is so great, thx for your fanatics framework, n happy Chinese new year

Thanks for the update @lastObject ! :smile: Glad it's working!


Add authentication page for service providers

Some sort of authentication service providers are required to put in before being greeted with the service provider messaging screen.
IT HAS TO BE EMAIL AND PASSWORD AUTHENTICATION

Login Page Completed
NEEDS BACK BUTTON


Use Julia 1.10.5 and split up OrdinaryDiffEq packages

OrdinaryDiffEq was a very large package that took a long time to precompile, because there were many solvers in there that we don't use. The developers recently split up the package. OrdinaryDiffEq is still around as the package that has all solvers, but if we want to benefit from having to load less code, we need to use the sub-packages directly. This PR does that. Most of the core stuff is now in OrdinaryDiffEqCore, and we need OrdinaryDiffEqNonlinearSolve. The solver algorithms we support now come from these five sub packages:
using OrdinaryDiffEqLowOrderRK: Euler, RK4
using OrdinaryDiffEqTsit5: Tsit5
using OrdinaryDiffEqSDIRK: ImplicitEuler, KenCarp4, TRBDF2
using OrdinaryDiffEqBDF: QNDF
using OrdinaryDiffEqRosenbrock: Rodas5, Rosenbrock23

After doing this and removing OrdinaryDiffEq you could see the packages that were split out that we no longer depend on:
(root) pkg> rm OrdinaryDiffEq
    Updating `D:\repo\ribasim\Ribasim\Project.toml`
  [1dea7af3] - OrdinaryDiffEq v6.89.0
    Updating `D:\repo\ribasim\Ribasim\Manifest.toml`
  [d4d017d3] - ExponentialUtilities v1.26.1
  [c145ed77] - GenericSchur v0.5.4
  [1dea7af3] - OrdinaryDiffEq v6.89.0
  [89bda076] - OrdinaryDiffEqAdamsBashforthMoulton v1.1.0
  [50262376] - OrdinaryDiffEqDefault v1.1.0
  [9286f039] - OrdinaryDiffEqExplicitRK v1.1.0
  [e0540318] - OrdinaryDiffEqExponentialRK v1.1.0
  [becaefa8] - OrdinaryDiffEqExtrapolation v1.1.0
  [5960d6e9] - OrdinaryDiffEqFIRK v1.1.0
  [101fe9f7] - OrdinaryDiffEqFeagin v1.1.0
  [d3585ca7] - OrdinaryDiffEqFunctionMap v1.1.0
  [d28bc4f8] - OrdinaryDiffEqHighOrderRK v1.1.0
  [9f002381] - OrdinaryDiffEqIMEXMultistep v1.1.0
  [521117fe] - OrdinaryDiffEqLinear v1.1.0
  [b0944070] - OrdinaryDiffEqLowStorageRK v1.2.0
  [c9986a66] - OrdinaryDiffEqNordsieck v1.1.0
  [5dd0a6cf] - OrdinaryDiffEqPDIRK v1.1.0
  [5b33eab2] - OrdinaryDiffEqPRK v1.1.0
  [04162be5] - OrdinaryDiffEqQPRK v1.1.0
  [af6ede74] - OrdinaryDiffEqRKN v1.1.0
  [669c94d9] - OrdinaryDiffEqSSPRK v1.2.0
  [e3e12d00] - OrdinaryDiffEqStabilizedIRK v1.1.0
  [358294b1] - OrdinaryDiffEqStabilizedRK v1.1.0
  [fa646aed] - OrdinaryDiffEqSymplecticRK v1.1.0
  [79d7bb75] - OrdinaryDiffEqVerner v1.1.0

This also updates from Julia 1.10.4 to the latest stable release, 1.10.5, and updates all our dependencies.

Hmm strange. IntegrationTestWindows passes but IntegrationTestLinux fails.
I assume this isn't related to this PR, more likely #1761.
One centimeter water level difference may be a bit too tight, depending on the Basin.
The 80% speedup compared to the reference is nice though! Also, more likely #1761.
So I think this is probably safe to merge. Though perhaps @Jingru923 do you think the reference timing should be updated as well? Is it the same on Windows and Linux?
22:10:55   Results values: Test Failed at /opt/teamcityagent/work/ecd2b8f9b25b1609/ribasim/core/integration_test/hws_integration_test.jl:20
22:10:55     Expression: all((q->begin
22:10:55               #= /opt/teamcityagent/work/ecd2b8f9b25b1609/ribasim/core/integration_test/hws_integration_test.jl:20 =#
22:10:55               abs(q) < 0.01
22:10:55           end), basin.level - basin_bench.level)
22:10:56
22:10:56   Stacktrace:
22:10:56    [1] macro expansion
22:10:56      @ ~/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:672 [inlined]
22:10:56    [2] macro expansion
22:10:56      @ /opt/teamcityagent/work/ecd2b8f9b25b1609/ribasim/core/integration_test/hws_integration_test.jl:20 [inlined]
22:10:56    [3] macro expansion
22:10:56      @ ~/.julia/juliaup/julia-1.10.5+0.x64.linux.gnu/share/julia/stdlib/v1.10/Test/src/Test.jl:1577 [inlined]
22:10:56    [4] top-level scope
22:10:56      @ /opt/teamcityagent/work/ecd2b8f9b25b1609/ribasim/core/integration_test/hws_integration_test.jl:19
22:12:52   [ Info: Runtime is<PHONE_NUMBER>6 and it is -80.74 % faster than benchmark

@visr what do you mean by reference timing? Do you mean the benchmark?

Ok! Indeed I mean the benchmark.


Format code

This needs to be reviewed by someone who has experience with dart.

This is the code from the official Dart website.
Go to https://dart.dev/#try-dart and in the dropdown that says "Hello world" select "Compute Pi".


xterm: 333 -> 335

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/xterm/versions.
meta.description for xterm is: '""'.

Checks done (click to expand)

built on NixOS
/nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/bin/koi8rxterm passed the binary check.
/nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/bin/resize passed the binary check.
/nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/bin/uxterm passed the binary check.
/nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/bin/xterm passed the binary check.
/nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/bin/.resize-wrapped passed the binary check.
/nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/bin/.xterm-wrapped passed the binary check.
/nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/bin/.koi8rxterm-wrapped passed the binary check.
/nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/bin/.uxterm-wrapped passed the binary check.
8 of 8 passed binary check by having a zero exit code.
0 of 8 passed binary check by having the new version present in output.
found 335 with grep in /nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335
directory tree listing: https://gist.github.com/927a8809cc470c67aa91695a44ebff0e
du listing: https://gist.github.com/333ade7deda7a4752e0f58a17c45ebbe

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 1bd322c0e73f39c27aebe82342f3e665101b82ce && nix-shell --pure -I nixpkgs=. -p xterm

cc @vrthra for testing.

Success on x86_64-linux (full log)
Attempted: xterm
Partial log (click to expand)
shrinking /nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/bin/.resize-wrapped
shrinking /nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/bin/.xterm-wrapped
gzipping man pages under /nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/share/man/
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/lib  /nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/bin
patching script interpreter paths in /nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335
/nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/bin/.koi8rxterm-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/56nrxy58wbhvs2sy3rir1jqa68p0kkm5-bash-4.4-p23/bin/sh"
/nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335/bin/.uxterm-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/56nrxy58wbhvs2sy3rir1jqa68p0kkm5-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335...
/nix/store/shif9zi1fmgabm48zqgfq9jhcbvd4is0-xterm-335

Success on aarch64-linux (full log)
Attempted: xterm
Partial log (click to expand)
shrinking /nix/store/fxh2fa12y33kwhf757x1h0gsf4ir5q4s-xterm-335/bin/.xterm-wrapped
shrinking /nix/store/fxh2fa12y33kwhf757x1h0gsf4ir5q4s-xterm-335/bin/.resize-wrapped
gzipping man pages under /nix/store/fxh2fa12y33kwhf757x1h0gsf4ir5q4s-xterm-335/share/man/
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/fxh2fa12y33kwhf757x1h0gsf4ir5q4s-xterm-335/lib  /nix/store/fxh2fa12y33kwhf757x1h0gsf4ir5q4s-xterm-335/bin
patching script interpreter paths in /nix/store/fxh2fa12y33kwhf757x1h0gsf4ir5q4s-xterm-335
/nix/store/fxh2fa12y33kwhf757x1h0gsf4ir5q4s-xterm-335/bin/.uxterm-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/7q3ayirslrcva28wava6zpjcflcz1h3b-bash-4.4-p23/bin/sh"
/nix/store/fxh2fa12y33kwhf757x1h0gsf4ir5q4s-xterm-335/bin/.koi8rxterm-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/7q3ayirslrcva28wava6zpjcflcz1h3b-bash-4.4-p23/bin/sh"
checking for references to /build in /nix/store/fxh2fa12y33kwhf757x1h0gsf4ir5q4s-xterm-335...
/nix/store/fxh2fa12y33kwhf757x1h0gsf4ir5q4s-xterm-335

Success on x86_64-darwin (full log)
Attempted: xterm
Partial log (click to expand)
Completed installation of executables and documentation.
Use "make install-ti" to install terminfo description.
post-installation fixup
gzipping man pages under /nix/store/vxv33k48jv7jg7ik81y4dziwc4sbkaac-xterm-335/share/man/
strip is /nix/store/251fvx4mx9q4zarbca5cciasmn66p668-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/vxv33k48jv7jg7ik81y4dziwc4sbkaac-xterm-335/lib  /nix/store/vxv33k48jv7jg7ik81y4dziwc4sbkaac-xterm-335/bin
patching script interpreter paths in /nix/store/vxv33k48jv7jg7ik81y4dziwc4sbkaac-xterm-335
/nix/store/vxv33k48jv7jg7ik81y4dziwc4sbkaac-xterm-335/bin/.uxterm-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/hp9yq2m1i066irvasv20zr2lmj54fk9h-bash-4.4-p23/bin/sh"
/nix/store/vxv33k48jv7jg7ik81y4dziwc4sbkaac-xterm-335/bin/.koi8rxterm-wrapped: interpreter directive changed from "/bin/sh" to "/nix/store/hp9yq2m1i066irvasv20zr2lmj54fk9h-bash-4.4-p23/bin/sh"
/nix/store/vxv33k48jv7jg7ik81y4dziwc4sbkaac-xterm-335


text is wrong color in dark mode

Issue
In dark mode (as set by my window OS preference) any pre-existing blog text from the sample posts comes out as dark type on dark background.  Text that is entered via the CKEditor appears to be OK (light on dark.)
Also, any text added directly to the blog post template (which I added as a debugging test) also comes out as dark text on dark background.
In other words, the text styling is not scoped to cover the whole blog post, but only covers the text captured by the CKEditor at the time that the background is known.
I haven't gotten deep enough into the code to understand where this is coming from, but I thought you should know.
Thanks.

Ahh, Yeah that makes sense. When you use CKEditor, it's dumping formatted HTML into the database whereas when you seed posts with a script, they don't get any of that formatting.
Let me know what you find!
I would love to move away from CKeditor to something that authors mark, but I never had the time to do so.

Issue
In dark mode (as set by my window OS preference) any pre-existing blog text from the sample posts comes out as dark type on dark background. Text that is entered via the CKEditor appears to be OK (light on dark.)
Also, any text added directly to the blog post template (which I added as a debugging test) also comes out as dark text on dark background.
In other words, the text styling is not scoped to cover the whole blog post, but only covers the text captured by the CKEditor at the time that the background is known.
I haven't gotten deep enough into the code to understand where this is coming from, but I thought you should know.
Thanks.

Interesting. I remember coming across something similar sometime ago, but couldn't pinpoint what the issue was. It would be nice to see you come with something


Fix/unsync playlist

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Additional test

What is the current behavior? (You can also link to an open issue here)

Toggling playlists as ready on air in ENPS causes unpredictable behavior in R24, including playlists becoming "unsynced" and not able to properly re-sync via GUI buttons. This test walks through the steps to avoid future regressions.

What is the new behavior (if this is a feature change)?

Create a rundown playlist with 3 rundowns, activates the playlists, starts playing, keeps changing various data elements and checks that the rundowns stay in sync (or rather unsync === false).

Other information:

Problem became apparent when dealing with rundown playlists for the first time in NRK national news rundowns.
Status

[x] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

Replaced with https://github.com/nrkno/tv-automation-server-core/pull/434
Rundowns will only become unsynced when they are explicitly deleted.
Segments can also become unsynced, but also only when they are deleted.

Replaced with https://github.com/nrkno/tv-automation-server-core/pull/434
Rundowns will only become unsynced when they are explicitly deleted.
Segments can also become unsynced, but also only when they are deleted.


Bug: we do not have a link to 100days challenge repo in the docs

Describe the bug
The 100daysofoss example/template repo is not available in the documentation.
Steps to reproduce

go to https://docs.opensauced.pizza/community/100-days-of-oss/
try to find a way to get the repo and clone it

Browsers
No response
Additional context (Is this in dev or production?)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Contributing Docs

[ ] I agree to follow this project's Contribution Docs

.take


I don't see pending tx in transaction list

I have a Safe with 1 owner (I think this is independent from the Safe settings though)
Whenever I make a tx, it only shows up when it has been successful, i.e. I don't see it before.

Is it intended that I don't see it in the "pending" state? (I don't mean "awaiting" for signatures)
Env:

https://rinkeby.gnosis-safe.io
Brave browser
Metamask

Yes, this is intended. The tx-service can only accept mined transactions.
However, we could add the new tx to the list right after its submission and before been mined:

If the transaction is mined correctly, we will then send the transaction to the service
If there is an error in the transaction, it will disapear from the list when the page is refreshed, because it was not stored in the service.

If there is an error in the transaction, it will disapear from the list when the page is refreshed, because it was not stored in the service.

Isn't it confusing?


feat: Migrate to v2 Embedding

Changes

Remove v1 Embedding Support
Add more info about Android Testing to README.md

Checklist

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Is there an existing issue for this PR?

resolve #97

[ ] Have the files been linted and formatted?
[ ] Have the docs been updated to match the changes in the PR?
[ ] Have the tests been updated to match the changes in the PR?
[ ] Attached videos/screenshots demonstrating the fix/feature.
[x] Have you run the tests locally to confirm they pass?

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.34%. Comparing base (4a646c6) to head (3aad2cb).
Report is 10 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #99   +/-   ##
=======================================
  Coverage   96.34%   96.34%
=======================================
  Files           4        4
  Lines          82       82
=======================================
  Hits           79       79
  Misses          3        3

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Im not understand about page automation ,It's really difficult.

Im not understand about page automation ,It's really difficult. :http://jonnnnyw.github.io/php-phantomjs/4.0/4-custom-scripts/
Can you do some demo?
//fill the search form and submit it with input's name
//or click sothing
//or Use jQuery and Other Libraries when page.loadFinished

The procedure_default.partial file is raw PhantomJS code. So if you want to do page automation you stick it in between a function call like so...
response.content = page.evaluate(function () {
    // all code in here is executed in the "browser"
    return document.getElementsByTagName('html')[0].outerHTML
});

PhantomJS has good documentation on how to do advanced stuff with this..
http://phantomjs.org/page-automation.html


Error with defined(APPLE) && !_GNU_SOURCE

Hi,
A friend has been trying to compile a project of mine including zstr on his Macbook (not the ARM ones but an older x86 version). Apparently, the compiler issues an error for the following line in strict_fstream.hpp
#elif ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 || defined(__APPLE__)) && ! _GNU_SOURCE) || defined(__MUSL__)

The error is error: expected value in expression and points to _GNU_SOURCE. My friend solved the issue (temporarily) by removing the ! _GNU_SOURCE. My short understanding of macros and preprocessor is that an undefined macro value initializes automatically to 0. So not sure what is the problem. Unfortunately, I do not have access to a Macbook so I cannot really test for it.
Thanks,
Guillaume

@sandsmark could you look at this? thanks!

Just to confirm, a colleague was able to reproduce the issue on his x86 Mac Book.

Figures out the issue. Turns out another library I am using had the following definition:
#define _GNU_SOURCE

so _GNU_SOURCE is defined but without a value, hence causing the error error: expected value in expression with AppleClang. I don't know if it makes sense to change zstr to protect yourself against this kind of defined variable with no value but just for the record, there is a solution here.
Thanks!
Guillaume

Hi guys,
Back to this issue. Even though the _GNU_SOURCE issue has been solved, my friend still hasn't been able to compile zstr in my project. More specifically, he is running in troubles because the following line:
#elif ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 || defined(__APPLE__)) && ! _GNU_SOURCE) || defined(__MUSL__)

gives him the GNU-specific strerror_r:
char * p = strerror_r(errno, &buff[0], buff.size());

(he is on a Mac but another library I use in my project defines _GNU_SOURCE). However, his compiler (AppleClang 12) only provides the XSI-compliant version (apparently) because it throws an error about what it cannot cast an int to a char* at the following line
I solved the issue for now by changing
#elif ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600 || defined(__APPLE__)) && ! _GNU_SOURCE) || defined(__MUSL__)

to
#elif ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE) || defined(__APPLE__) || defined(__MUSL__)

Have you tried undefining GNU_SOURCE before including zstr, and then defining it again? I guess that workaround would prevent having to change the code here for your particular use case.
Maybe related: https://github.com/mateidavid/zstr/commit/ac0bdd784cd9f4d00ffe40a41ede94602fef08f0

Closing due to inactivity


Build for scala 2.13.x

2.13.0 has been released. Lot's of dependencies are not ready for a build however.

Somehow this slipped under my radar 😞I'm glad someone opened a pull request!

Sorry for the huge delay! I just published scala-scraper v2.2.0 with support for Scala 2.13, it should be available in Maven in 30 mins or so.


Proposal: TimePicker should be split into single digits again.

Proposal: [TimePicker should be split back into into single digits again.]

Summary
The TimePicker as currently designed takes way to long to select the wanted time using touch, keyboard, and mouse devices

Rationale

{It is time consuming to select the wanted minutes to times in apps the use the time control}
{If I want to select 35 minutes for example, I will have to either stroll 35 times or 25 times to select that number, versus with separate controls, I will scroll only 7 times or 9 times}
{etc}

Scope

Capability
Priority

Make it easier to keyboard, mouse and tablet users to select the number they want faster.
Must

Look pretty.
Should

Important Notes

Open Questions

I have to disagree about splitting the controls into single digits.  But an editable Time Picker?

I have to disagree about splitting the controls into single digits. But an editable Time Picker?

It may look nice on paper but it isn't functional.

I have to disagree about splitting the controls into single digits. But an editable Time Picker?

It may look nice on paper but it isn't functional.

Making it editable means you can type in the time, which is the easiest way to do it with Keyboard, and still able to press to bring up the picker controls for touch.  Also there is a proposal for an Editable Date Picker too, so this would fit well with that.
The problem with breaking apart the two digit combos, comes with making the meaning clear for the reading of hours, minutes.

Adding seconds into the mix doesn't help matters.

Typing the time doesn't help someone using a tablet.

If the proposal is accepted, I would not want it to become the default.  I think it should be a property of the control. TimePicker.SplitDigits  = true;

I'm with @mdtauk . Yes, the split digits could help the tablet users (could because the only real tablet OS out there - iOS - uses the compact digit and no one has complained) but it can be a secondary and optional mode, to not trouble those apps that are geared to the desktop.

I had an internal proposal similar to this a while ago. It was basically a proposal to change TimePicker to three ComboBoxes "linked" together seamlessly. That meant that inherited properties like IsEditable would come along, but the base control would operate as you'd expect with keyboard, mouse and touch - because ComboBox works nicely with all three.

@kikisaints  that's is an interesting approach. The chevrons do add some bulk, which could be massaged with a design similar to the ones I explored.
It doesn't quite address the issue in the proposal, as they wanted to avoid long scrolls for the minutes, by having the two digits of the minutes separate.
But like the proposal for an Editable Date Picker, an Editable Time Picker, would fill the control suite out nicely.
Does IsEditable become a property on the existing controls, or should they be new controls?

What was the conclusion of that internal proposal?

Ah I misunderstood the original proposal a bit. @shaheedmalik What scenario(s) were you thinking that having the 1s and 10s places' separate would solve? I'm curious if you have a particular need here besides ease of use/nice to have.
@mdtauk the proposal in general was agreed upon as an improvement, but we didn't have the dev resources to act on it, so it was moved "out" and has not been revisited since.
Also, I agree the chevrons are a bit unnecessary, but it's nothing a refreshed template couldn't fix/hide.
Additionally, depending on how the "new" timepicker inherited from ComboBox, it would be a property on the "new" control. Which in this proposal is just a re-skin of ComboBox. If that's what you meant?

I like the current design with loop-around scrolling and auto-selection based on the currently highlighted item. It is good for touch and mouse wheels with infinite scroll (where the wheel rotates freely without clicking). I understand though that if your mouse wheel requires a click for each digit change then it could be annoying.
Split digits for minutes/seconds adds extra input steps and clutters the UI. Combo boxes require both scrolling and selection, plus the chevrons are not attractive.
I agree with @mdtauk that accepting keyboard input would be the most helpful addition, and this would not take a step backwards from the current design - depending on what input method is being used.
The main design consideration for keyboard input would be how to indicate which part of the TimerPicker has focus, and how to change focus.

@kikisaints  With it all going Open Source - that makes the proposal more likely to happen.  WinUI 3.0's initial release is the priority for now, but don't abandon the idea.

@mdtauk :smile: Absolutely, just hadn't thought about it until this issue was posted. Although it's outside of the scope of what shaheedmalik is asking for, I did create a separate issue here: https://github.com/microsoft/microsoft-ui-xaml/issues/918

This already exist in the UWP:

This already exist in the UWP:

What are you responding to? That wasn't the purpose of the proposal.


Feature/validate data

Description
Please include:

a summary of the changes
links to any related issue/ticket
any additional relevant motivation and context
details of any dependency updates that are required for this change

Type of change
Implementing a new endpoint for validation of the old format data vs the new format data in the rds database.
This is so that we can assert that all documents of the deprecated format exist in the new dfc format.
https://linear.app/climate-policy-radar/issue/DAT-76/identify-solution-for-validating-the-state-of-the-data
Please select the option(s) below that are most relevant:

[ ] Bug fix
[X] New feature
[ ] Breaking change

How Has This Been Tested?
Please describe the tests that you added to verify your changes.
Reviewer Checklist

[ ] The PR represents a single feature (small driveby fixes are also ok)
[ ] The PR includes tests that are sufficient for the level of risk
[ ] The code is sufficiently commented, particularly in hard-to-understand areas
[ ] Any required documentation updates have been made
[ ] Any TODOs added are captured in future tickets
[ ] No FIXMEs remain

Deployed to staging and verified to give the correct response.


Update Kuberay service selector after install

Part of #55
We need to update the selector for the kuberay api-server after it is installed in order for it to be accessible.
By default, the service for the Kuberay api-server uses the selector app.kubernetes.io/name: kuberay-apiserver. However, the quantum-serverless install results in the following label block on the pod:
labels:
    app.kubernetes.io/component: kuberay-apiserver
    app.kubernetes.io/name: quantum-serverless

I'm assuming there's some logic that overwrites the existing app...name label and adds the quantum-serverless one, but I haven't taken the time to try and find it yet.
If we update the selector to use app.kubernetes.io/component: kuberay-apiserver instead (i.e. use the component label instead of the name one), then we're fine.
There's two options:

include a patch command in the install instructions to update the selector. This should be fairly straightfoward, though would add an extra set to the setup.
update the helm install logic to use the appropriate label. This is probably more involved, though as I haven't looked at the code yet, not sure how much.

@IceKhan13 what are your thoughts?

I also haven't looked at it in details, but I think selector should use component instead of name. Probably it's just a small mistake by kuberay team. We can have PR to kuberay chart that fixes this.  Or have a patch.
Anyway name should be arbitrary and selector should not be for hardcoded name.

Sounds good. For now I'm going to patch manually to get the provider work done, then will open an issue/PR against kuberay to get the fix in.

@akihikokuroda fixed this in https://github.com/ray-project/kuberay/pull/918


[FAD-63] Snackbar

Description

Snackbar Component. Added a third state (blue)
FAD-63

Checklist

[ ] CHANGELOG has been updated (if appropria

te)

Figma: https://www.figma.com/file/g7Edk2JCOMLpRAw9v8NJ4c/FA-Product-Wireframe---working-file?node-id=166%3A8793

[ ] Environment variables updated (if appropriate)

Update to React-Toastify as per discussion with Vineeth
React-Toastify: https://fkhadra.github.io/react-toastify/introduction


Missing the contribution.md that is linked in the readme.md

thank you for the feedback.
really sorry for a delayed response, was on a birthday/holiday.
a fix (#6) will hopefully be merged soon!


WpfExtensions.BitmapSourceConverter.ToMat(BitmapSource src) cause AccessViolationException

Summary of your issue
Converting of BitmapSource to Mat cause AccessViolationException
Same conversion code was Ok with OpenCvSharp3-AnyCPU.<IP_ADDRESS>80830
Environment
Visual Studio 2019 v 16.4.6, WPF application running .NET Framework 4.7.1
OpenCvSharp4              version <IP_ADDRESS>00725
OpenCvSharp4.WpfExtensions  <IP_ADDRESS>00725
same issue in <IP_ADDRESS>11228
What did you do when you faced the problem?
I tried to load png image file that is included in solution with Build Action: Resource
Example code:

image = new BitmapImage(
                new Uri(
                    "pack://application:,,,/---;Component/TestImages/image.png",
                    UriKind.RelativeOrAbsolute)).ToMat();

--- hides mine app structure
Output:

Exception is: AccessViolationException - Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
-----------------------------------------------
At the time of the exception, the container was:
....
   ---> System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at OpenCvSharp.NativeMethods.core_Mat_cols(IntPtr self, Int32& returnValue)
   at OpenCvSharp.Mat.get_Cols()
   at OpenCvSharp.WpfExtensions.BitmapSourceConverter.ToMat(BitmapSource src, Mat dst)
   at OpenCvSharp.WpfExtensions.BitmapSourceConverter.ToMat(BitmapSource src)

What did you intend to be?
Image should load and get cornverted to Mat. Then used in WPF view layer

This was caused by mess in binaries. Once everything was cleaned, This conversion works properly.


Fatal error while combining xk6-browser and xk6-cache

C:\Users_pseudo_>xk6bundler --with github.com/grafana/xk6-browser --with github.com/szkiba/xk6-cache
2022/06/10 12:48:21 [INFO] Temporary folder: C:\Users\ASLEIL~1\AppData\Local\Temp\buildenv_2022-06-10-1248.918629070
2022/06/10 12:48:21 [INFO] Initializing Go module
2022/06/10 12:48:21 [INFO] exec (timeout=10s): C:\Program Files\Go\bin\go.exe mod init k6
go: creating new go.mod: module k6
2022/06/10 12:48:21 [INFO] Pinning versions
2022/06/10 12:48:21 [INFO] exec (timeout=0s): C:\Program Files\Go\bin\go.exe mod edit -require github.com/grafana/xk6-browser@latest
2022/06/10 12:48:21 [INFO] exec (timeout=0s): C:\Program Files\Go\bin\go.exe mod tidy -compat=1.17
go: finding module for package github.com/fsnotify/fsnotify
go: finding module for package gopkg.in/tomb.v1
go: found gopkg.in/tomb.v1 in gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: found github.com/fsnotify/fsnotify in github.com/fsnotify/fsnotify v1.5.4
2022/06/10 12:48:22 [INFO] exec (timeout=0s): C:\Program Files\Go\bin\go.exe mod edit -require github.com/szkiba/xk6-cache@latest
2022/06/10 12:48:22 [INFO] exec (timeout=0s): C:\Program Files\Go\bin\go.exe mod tidy -compat=1.17
go: finding module for package go.k6.io/k6/stats
k6 imports
github.com/szkiba/xk6-cache imports
go.k6.io/k6/stats: module go.k6.io/k6@latest found (v0.38.3), but does not contain package go.k6.io/k6/stats
2022/06/10 12:48:23 [INFO] Cleaning up temporary folder: C:\Users\pseudo\AppData\Local\Temp\buildenv_2022-06-10-1248.918629070
2022/06/10 12:48:23 [FATAL] exit status 1
I am getting the following log when trying to combine the two extensions. Any idea how to fix it? Thank you for assistance

Hi. This is a problem with the version of the cache extension, which is not adapted to the last version of k6 modules. Surely there is a pull request to update it.

fixed in xk6-cache v0.2.0


How can I add custom avatars?

Hi,
I am trying to add custom avatars to this, I go in to frontend/src/stChat.tsx and change avatarUrl, but my changes are not getting saved. Any idea on how to do this?

Hi,
I am trying to add custom avatars to this, I go in to frontend/src/stChat.tsx and change avatarUrl, but my changes are not getting saved. Any idea on how to do this?

You have to build the source code

Hey can you let us know how to build the source code? Been having issues with the npm build and python setup.py install commands.

@vshankarathota Could you please tell me more in detail about the issues you're having with the npm build and python setup.py ?

I'd love to be able to change the icons. Also ,the screenshot in the readme is showing different one from the default ones.

@YashVardhan-AI can you please help on this part?

@yashppawar will help you better

@imSrbh as of now it can't be done directly,  you can surely build from source if you want

https://github.com/AI-Yash/st-chat/issues/14#issuecomment-1543915961

Merged
@ahmadassaf

Hi,
this a great option. thanks for that.
Can you send a sample code for loading png file as the avatar?
I tried  pass avatar_style and it adds a prefix  Get: /5.x/ to the pnc address and cannot load it.
Thanks in advance.

@ehfehsan  Based on the #PR You can chose one of the following (from the init file on line 30)
AvatarStyle = Literal[
    "adventurer",
    "adventurer-neutral",
    "avataaars",
    "avataaars-neutral",
    "big-ears",
    "big-ears-neutral",
    "big-smile",
    "bottts",
    "bottts-neutral",
    "croodles",
    "croodles-neutral",
    "fun-emoji",
    "icons",
    "identicon",
    "initials",
    "lorelei",
    "lorelei-neutral",
    "micah",
    "miniavs",
    "open-peeps",
    "personas",
    "pixel-art",
    "pixel-art-neutral",
    "shapes",
    "thumbs",
]

Now message takes a avatar_style parameter as follows :
message( is_user=True, avatar_style = "adventurer" )


MINIFICPP-1013

Thank you for submitting a contribution to Apache NiFi - MiNiFi C++.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced
in the commit message?

[ ] Does your PR title start with MINIFICPP-XXXX where XXXX is the JIRA number you are trying to resolve? Pay particular attention to the hyphen "-" character.

[ ] Has your PR been rebased against the latest commit within the target branch (typically master)?

[ ] Is your initial contribution a single, squashed commit?

For code changes:

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE file?
[ ] If applicable, have you updated the NOTICE file?

For documentation related changes:

[ ] Have you ensured that format looks appropriate for the output in which it is rendered?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and submit an update to your PR as soon as possible.

This PR is instead of https://github.com/apache/nifi-minifi-cpp/pull/656

@am-c-p-p This branch is missing my changes in https://github.com/bakaid/nifi-minifi-cpp/commit/15ea8e068e05975ca438eea5c3d28b775dd8e392 that makes sure that the SQL and the SQLite extensions can't be enabled at the same time.

All comments are addressed, can be merged in apache.

@am-c-p-p will review the fixes and run a (hopefully) final verification on all platforms. If it's OK, I'll merge it.

@am-c-p-p build succeeds now, going to start testing the new version.

@am-c-p-p  please either fix linter errors or don't enable the linter for the extension.

@bakaid linter is removed now from sql extension.


[VRT] test

JaCoCo Code Coverage 76.92% :white_check_mark:

Class
Covered
Meta
Status

  Generated by :no_entry_sign: Danger


Can you provide a repaint demo?

Thanks a lot for the great project. I tried to find a way to generate a repaint picture like the ones you posted in the README, but nothing found. Can you provide a repaint demo code?
Thanks again!

@kevincao8828 We will update the code for image repainting within two weeks. Please stay tuned.

Thanks, looking forward to it

Great work! Also interested in the inpaint demo

Great job!


Add video support

Might be related to #235 #237

+1 very important for developping some multimedia app

1 I would love to use this for some simple media apps.

It looks like the video is currently supported on web, iOS and Android platforms only: https://pub.dev/packages/video_player

After searching all the available Flutter video players, the best on I found is https://pub.dev/packages/flutter_meedu_videoplayer which is compatible on all platforms except desktop MacOS.  It's fairly easy to call and use, and covers most demands, except playing YouTube.  Doesn't look too difficult to implement an adapter...

There is also https://pub.dev/packages/video_player_macos which is based on the official iOS plugin.

yes really need for video player or iframe in flet officially

After searching all the available Flutter video players, the best on I found is https://pub.dev/packages/flutter_meedu_videoplayer which is compatible on all platforms except desktop MacOS. It's fairly easy to call and use, and covers most demands, except playing YouTube. Doesn't look too difficult to implement an adapter...

In order to get the code to run on some platforms, the plugin needs to be 120MB in size: https://github.com/zezo357/flutter_meedu_videoplayer/issues/30, and I suspect that this is will be a common problem.
I'm wondering if webview #432 may solve this problem, as once you have that, then JS solutions for playing video files will be fully cross-platform and tiny in size, and flet can have a convenience sub-class of webview with the js already included.

I'm wondering if webview #432 may solve this problem, as once you have that, then JS solutions for playing video files will be fully cross-platform and tiny in size, and flet can have a convenience sub-class of webview with the js already included.

A followup regarding the webview solution, if flet implements https://pub.dev/packages/flutter_widget_from_html_core (all platforms supported) to resolve #432, then you can implement the fwfh_chewie extension of it for video, and even though it only lists android and ios as supported, it clearly works on web: https://demo.fwfh.dev/#/video, so I suspect it will work wherever the core package does, as it doesn't say anything otherwise.

And what about desktop?

flutter_widget_from_html_core supports MacOS, Windows and Linux, so I suspect that the video plugin does as well, although I'm not sure.

+1 building a kiosk media app, with a need for background video behind text

Currently, is there just one method of using OpenCV for exhibiting videos in flets? Is anyone working on developing relevant functionalities? If there is, I'd be interested in offering my assistance.

A new Flutter library for playing video on all platforms: https://github.com/wang-bin/fvp

Any progress? Still waiting for this function

Need https://pub.dev/packages/video_player_web_hls for flut

After searching all the available Flutter video players, the best on I found is https://pub.dev/packages/flutter_meedu_videoplayer which is compatible on all platforms except desktop MacOS. It's fairly easy to call and use, and covers most demands, except playing YouTube. Doesn't look too difficult to implement an adapter...

In order to get the code to run on some platforms, the plugin needs to be 120MB in size: zezo357/flutter_meedu_videoplayer#30, and I suspect that this is will be a common problem. I'm wondering if webview #432 may solve this problem, as once you have that, then JS solutions for playing video files will be fully cross-platform and tiny in size, and flet can have a convenience sub-class of webview with the js already included.

The meedu player has been discontinued and has been replaced by https://pub.dev/packages/media_kit - which could be a better option?

media_kit looks great! All platforms! Video! Audio! To good to be true, huh. 🥹

Expecting soon...