On-premise configuration documentation

Hello!
Wondering where I can find documentation or examples to deploy and configure qhub on-premise infrastructure.
Would like to test it in a personal server before cloud.
Thanks!

Great question. There isn't currently documentation or ability to do this with the current state of QHub, but it is something that that has been discussed. The thought is to use minikube and have Terraform create a local cluster.
In the short term, you might consider spinning this up on Google Cloud since you get $300 in credits when you first sign up. The default configuration will run from ~$20-$100/month in compute costs depending on how many user nodes / dask workers you spin up. Running terraform destroy in the infrastructure and state folders once you're done testing would delete all the infrastructure.

@lgonzalezsa Expanding on @tylerpotts comment.
On-Prem kubernetes is a pain and doesn't quite fit our target audience of folks who do not have strong in house devops. We have a sister project called qhub-hpc (that is not yet open sourced) that allows you to go from bare metal to an HPC setup with QHub integration. We are also experimenting with things like Nomad and k3s for an op-prem Kubernetes story.
We are also working on a pr to make testing on-prem with minikube easier.

Hey @lgonzalezsa,
hope you're doing good! Thank you so much for reaching out to us.
I am sorry that we could not be more helpful. I will go ahead and close this for now, though. Feel free to reopen in case something else pops into your mind.
Take care.


[Desktop Launcher] Fast load to clockface on B2

Fast loading requested here.
I changed most instances of var to let.
There is some small ram leak going back and forth between this dtlaunch and the slope clock, but pretty minor by my judgement. Edit: This has been solved with @halemmerich's help.
Edit: Added in the timeout to clock functionality from Icon Launcher.

Excellent - thanks! You could also look at adding the 'app cache' we've used in the other launchers too - that can really speed up the loading if you have a bunch of apps

Excellent - thanks! You could also look at adding the 'app cache' we've used in the other launchers too - that can really speed up the loading if you have a bunch of apps

I might look at it! If anyone beats me to it, that will just be great ;)


Implement Wasm GC in Wasmtime

Implement support for the WebAssembly garbage collection proposal in Wasmtime. Allow plugging different collectors into Wasmtime to support the requirements of different Wasmtime embeddings running different Wasm workloads.
Rendered

Hi, just a drive-by suggestion: has Immix been considered as an alternative to Boehm?  It's a precise GC afaik, whereas Boehm is conservative.

imho wasm gc will eventually need to support a multi-threaded wasm program with gc, so do try to account for this and don't rely on wasmtime api types being !Send unless you can think of a reasonable way to access them from a different thread (e.g. separate Send + Sync and !Send types, where the latter is kinda like a mutex guard)

@fitzgen Have you seen or looked at https://github.com/Ravenbrook/mps ?
@rptb1 may have more to add, but MPS is a great GC and has been used in production scenarios over the years. There's not a Rust binding at the moment, but that seems like it could be resolved.

@programmerjake

imho wasm gc will eventually need to support a multi-threaded wasm program with gc, so do try to account for this and don't rely on wasmtime api types being !Send unless you can think of a reasonable way to access them from a different thread (e.g. separate Send + Sync and !Send types, where the latter is kinda like a mutex guard or maybe a Rc<Arc<T>>)

Minor correction: the relevant wasmtime API types are !Sync + Send, not !Send.
Regarding the larger idea of combining Wasm threads and Wasm GC: every sketch I've seen about extending the Wasm threading model to new bits of state requires marking that state as shared the same way that memories are either shared or not. So GC types would need to be marked shared to allow multi-threaded access to their instances. Assuming that is the case, then when we are compiling Wasm code, we'll be able to only emit atomic and synchronized operations when necessary and omit them when we the type information tells us it is statically unnecessary. In the public wasmtime API we may want to have separate Rust types for reflecting shared vs not Wasm GC types, the way we have wasmtime::SharedMemory and wasmtime::Memory, or allow dynamic downcasting to unsynchronized types based on checking whether the underlying GC object's type is shared or not. But all this is a bit speculative and far future as there hasn't been any proposal about how to combine these two different features yet, as far as I'm aware.

@alexcrichton

I'm not really sure what to do with this myself, but we may end up needing to integrate epochs and fuel into the stop-the-world part of the GC. That would necesitate some level of "save the work for later and then resume" style GC's though which doesn't seem like it would be trivial. Alternatively though, especially for a time-sliced HTTP server, pausing for a "big GC" also seems like it could end quite badly too.
Basically another way to put this is that I'm not sure if there's sufficient knobs for an embedder to protect themselves against a pathological scenario where GCs are frequent and very long. Do you have thoughts though on how this could be addressed?

I don't think this actually requires that the GC is incremental the way that the GC literature defines it, because these scenarios don't require resuming the mutator when we async yield.
But that is a good point that we want the equivalent of
trait GcRuntime {
    // ...

    unsafe async fn async_gc(
        &self,
        heap: GcHeap,
        roots: RootSet,
        yield_every: std::time::Duration,
    );
}

but of course it would be a bit uglier than that because we can't have async methods in traits yet.
I think this should be sufficient to address your concerns, yeah?

I'm not sure myself really, I don't feel like I've got a good enough handle on the problems that GC might bring pause-wise. There's a balancing act between what the GC algorithms can support and what embedders want to happen. For example can all GC algorithms easily implement what you listed above where, in the middle of a GC, it realizes "time's up" and records info to resume later? I'm not sure additionally how it would work to thread through the deadline into embedders. For example they could configure "take no longer than 2ms" but if WebAssembly already nearly consumed its entire time slice with executing code and then the GC takes an additional 2ms is that bad?
I'm not sure that we're really positioned to answer these questions at this time. I feel like we'll basically have to wait and see and figure it out as we go along and have more constraints available to us to design a solution within.

I'm not sure myself really, I don't feel like I've got a good enough handle on the problems that GC might bring pause-wise. There's a balancing act between what the GC algorithms can support and what embedders want to happen. For example can all GC algorithms easily implement what you listed above where, in the middle of a GC, it realizes "time's up" and records info to resume later? I'm not sure additionally how it would work to thread through the deadline into embedders. For example they could configure "take no longer than 2ms" but if WebAssembly already nearly consumed its entire time slice with executing code and then the GC takes an additional 2ms is that bad?
I'm not sure that we're really positioned to answer these questions at this time. I feel like we'll basically have to wait and see and figure it out as we go along and have more constraints available to us to design a solution within.

I don't think we need to require that all collectors to implement async_gc, just the ones we intend to use with async, ie the collector that integrates with the pooling allocator. But in general, production GCs are very used to trying to minimize stop-the-world pauses and doing work incrementally. Our problem is easier than usual because we aren't even resuming the mutator in between slices. But you're right that this might not align with existing off-the-shelf libraries and their APIs. I think that is fine: the same way that some collectors just won't integrate with the pooling allocator, some won't support async collection. And if we move to having just the null GC and the semi-space copying collector (as discussed up thread) then we can make them both support async pretty easily.
As far as the API for setting quanta and all that: I'm all ears. Rather than a single Future that completes when GC is finished, we could have many futures, each completing when their time slice is completed and then returning either "I'm done GCing, here is your instance back" or "I have more GC work to do, give me a quantum and I'll return a new future for this next time slice". This would let us have different lengths of GC slices and notably make that first one shorter because of the amount of time that Wasm has already executed for the whole store's current time slice. Or we could explicitly pass in some kind of "check whether you should yield" handle to the collector that checks the epoch in VMRuntimeLimits directly. I kind of like this latter approach...

Motion to Finalize
Disposition: Merge
It seems like we have mostly come to consensus here and the bits that we haven't hammered out 100% are things we can do during the implementation phase. As such, I am moving that we merge this RFC.

Note: I don't want to trawl through commit logs and try and figure out which committer is part of which BA organization, so I'm not making a stakeholder check list. Just approve the PR or comment to sign off, or alternatively leave a comment detailing your objections if you have them. I'll manually keep track of whether we have multi-org sign off and all that as the comments come in.
As always, details on the RFC process can be found here: https://github.com/bytecodealliance/rfcs/blob/main/accepted/rfc-process.md#making-a-decision-merge-or-close

As there have been signoffs from at least two people representing different stakeholder organizations, this RFC is entering its 10 day
Final Comment Period
and the last day to raise objections before this can merge is 2023-06-03.

Seeing as no objections have been raised during the final comment period, I'm going to go ahead and merge this. Thanks everyone!


Updates package dependencies

Regular maintenance task.

Experienced a flaky test response-patching: "Target closed" (response await timeout).


Refactor threshold to annotation_threshold and make it an optional parameter

We are activating to configure the annotation threshold for links as an optional parameter.
The reason for the change is that we ran into issues extracting simple text links from PDF documents that were created with MS Word. The sample PDF from unstructured worked with a default value of 0.9, and the PDF generated with Word resulted in a threshold of approx 0.67.
We do use unstructured in together with langchain within an automated container deployment and to access by default the setting 'annotation_threshold' (refactored from 'threshold') can be very helpful.

This is to address the issue #2482.
@christinestraub you have assigned yourself to that issue, what do you think about the proposed solution?

What can we do to get the workflows approval? What must we do for the changelog for example?

What can we do to get the workflows approval? What must we do for the changelog for example?

Can you add the following lines to Enhancements section in the changelog.md?
### Enhancements

* **add support for `start_index` in `html` links extraction**
* **improve embedded links extraction in `partition_pdf()` for `fast` strategy**

Can you please revert the changes related to support for start_index in html links extraction and use PR #2600 for those changes?

yes, I will prepare it. Thanks

Can you please revert the changes related to support for start_index in html links extraction and use PR #2600 for those changes?

done


Feature request: add "Add child page" to the Pages menu

Hi,
In order to improve the UI of the Wagtail Admin I propose to include a ADD button, next to the EDIT button to the menu.

As per the image above. The file icon redirects to the add_subpage of "betontimmeren", the current page. The plus-inverse icons redirects to the add_subpage of the page of that specific line.
It reduces the number of clicks needed to add a page, which is significant. It will provide clarity for non-technical end users.
If interested, I can provide what I already have. The only thing I currently miss is a if-statement to see if a subpage can actually be added.
As for the layout, we thought of adding both the file and plus-inverse icon, as they serve different purposes, but the file icon can be removed, as this is not necessary if the plus-inverse icon is there.

ping @wagtail/ux-design @ollywillans

I recall we had a discussion about this early in 2017. We decided to not add it due to the amount visual clutter we would cause by adding another icon. But I'm still curious if we would have other solutions to this aside from having a great amount of actions in the explorer.
The last rationale about the current explorer design can be found here.
Related issue / duplicate issue: #4286

Another option, which might just not be as clear to the user, is to provide the file icon while only providing the plus-inverse when there's no subpages. It would basically be the arrow-right replacement for when a page can be added, but there's none yet. It would make for only 2 buttons at the side at most (like now), while adding a very user-friendly feature.
In my particular example the plus-inverse icon in the middle (at "Bekisting") would be remove.
Just laying down options for less visual clutter here, I just believe it would be a nice improvement for the UX

The problem I see with making the 'add' action so prominent is that there will usually only be a small subset of pages where it's appropriate to add subpages: for example, on a typical blog setup, you'll almost always be adding blog pages as children of the blog index, not underneath other blog pages. This means that the majority of these 'add' buttons will never get used, and end up taking the user's attention away from other actions. (In the case that you don't want blog pages to have children at all, it's possible to mitigate this by setting subpage_types / parent_page_types properties on the model, so that the 'add' button doesn't show in those cases - but that behaviour is "opt-in" by the developer, and we shouldn't rely on them having that configured to get decent UX.)
It sounds like the revised suggestion (only showing the 'add' button on pages that don't already have children) would probably only make matters worse, since it's removing the button from the pages where you're most likely to want to use it.

Just throwing my opinion in here as I posted issue #4286
I Like the addition of the "Plus" icon, but it does start to get cluttered visually. I think if there was just a small link at the top of where you wanted to create a child page (where other child pages are already listed) that would make it more intuitive and not clutter it up visually. Then only have the link display if child_pages are available to be created.

I'm not sure it's clear from the plus icon alone if you would be adding a page at the same level or as a child. I've asked @benenright to take a look at this.

Any update on this?

Hi
Sorry for the delay in my response on this. I agree with @gasman that we shouldn't remove it on pages where there are already children (like the blog example).
I also feel a bit confused that it's a file icon on the top line, but then a '+' icon on the subsequent ones.
Seems it's great if we can add this functionality so I'd like to spend a bit more time thinking on the UI for this that doesn't add too much visual clutter. Will pick this up early next week.
Ben

If anyone wants to work on this on the dev-side (assuming we've decided it is a desirable addition), a good first step would be to fix #4660. For this button to work as intended, we would need to add "can the user add child pages" permission info to the API that powers this menu, similarly to what is needed for #4660.

The Add Child Page button confuses a lot of people. Why can't it just be an icon like a plus sign? Can this button text be even customized?


Wordhero: use LOUDS

less memory
maybe faster

Codecov Report

Merging #132 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #132      +/-   ##
==========================================
- Coverage   44.47%   44.42%   -0.06%
==========================================
  Files          39       39
  Lines        3892     3892
  Branches      794      794
==========================================
- Hits         1731     1729       -2
- Misses       1698     1700       +2
  Partials      463      463

Impacted Files
Coverage Δ

prime/index.js
16.94% <0%> (-0.57%)
:arrow_down:

Continue to review full report at Codecov.

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


fix: Engine is running check

This was creating an issue when an incorrect query was executed.
Two things were the issue here:

there's a new engine status
engine url has dashes where name has underscores

Confirmed this is the case for both prod and dev now. Ready to merge.


Davidson for generalized eigenvalue problem

Good morning,
sorry to bother, but I have a question about a possible feature implemented in PySCF.
Does PySCF have an implementation of the Davidson diagonalization algorithm for generalized eigenvalue equations Hc=ESc? I saw that in the FCI module for ordinary eigenvalue equations (S = Id). Is that right or am I missing something?
Looking forward to reading from you.
Regards,
Stefano Barison

Yes. The linalg routines are here:
https://github.com/pyscf/pyscf/blob/master/pyscf/lib/linalg_helper.py
and the corresponding generalized Davidson function is called dgeev (line 980)

Thank you very much for the help!
Best regards,
Stefano


clicking images to relocate to given URL

Hi there!
Is there currently any way through hooks or config to have the carousel redirect the location to a given URL when clicking one image out of the list?
I nested the images in  tags, but the click events on them are caught somewhere else I guess.
If I call the .click() of an img or link from console it works.
Is there a possible fast hack to get there? Found nothing in the code yet.

Hi :
You can wrap images inside an  tag like this:


Architecture as Code - Working Group Meeting - Tuesday 24 Oct 2023

Date
Tuesday 24 Oct 2023 - 11:00 EST / 16:00 UK
Untracked attendees

Name
Firm
Comment

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[x] Convene, roll call, welcome new people
[x] Approve previous meeting minutes

Architecture Logical Model

[x] Recap of Logical Architecture as Code Model (@dc-ms)
[x] Overview of initial manifest proposal (@rocketstack-matt)

Modelling TraderX
JSON Schema
JSON vs. YAML Manifest

[x] Domains (Aldwin Saugere)

Core vs Domains
Deep Dive Security Domain
Other Potential Domains

[x] Identification of initial functional capabilities - call for contribution

AOB

[x] On-site Accelerator - moved to October 30th
[x] AOB, Q&A & Adjourn (5mins)

Zoom info
Join Zoom Meeting

https://zoom.us/j/95521041942?pwd=dHgwREU2TzBsS242ak1zYWZsUW9OUT09
Meeting ID: 955 2104 1942
Passcode: 443820
Find your local number: https://zoom.us/u/aesEqmNODb

Github Repo: https://github.com/finos/devops-automation/
Project Board: https://github.com/orgs/finos/projects/33
Mailing List: Email<EMAIL_ADDRESS>to subscribe to our mailing list

Denis Coffaro - Morgan Stanley

Matthew Bain / Morgan Stanley

Eteri / FINOS

Richard Wagener / Cognizant

David Illes / Morgan Stanley

See attached presentation from the meeting - 2023-10-24.pdf

Miguel Gasca / Morgan Stanley

FINOS Meeting: October 24, 2023
Commenced: 11:04 EST
Previous minutes approved by attendees and closed out (Issue 138) : Approved
Logical Architecture as Code Model: Recap - @dc-ms
•	Principles - Simplicity, Scalability and Flexibility
•	Capabilities - the functionality we want to build and serve
•	Domains - Technical zone with unique boundaries
Initial Core Manifest Walkthrough - @rocketstack-matt
•	Apply the model to TraderX
Nodes:
•	Nodes capture capability
•	Something to logically represent at different levels
•	Feature/Component/Container/User/Process/Network
Relationships:
•	Relationship provide multi-dimensional view across architectures
•	How things interact with each other
•	Trader interacting with a web client
•	Web client connecting to web gui
•	Logical vs. Physical deployment
•	Q: MG on how to manage dependency vs. data flow identification?
•	Follow Up : MG to share his view, lessons learned and ideas
Security Domain perspective - Aldwin
•	Review of demo on previous meeting
•	Domain - published extension to common language solving wide scale use cases
•	Potential domains proposed - looking for feedback
•	Security domain in scope

Firewall - risks and control vulnerabilities
Example of consumer flow by firewall service
Control array usage by types
Sub schema on additional domains
•	Extensions - enable capabilities specific to users or applications
Leveraged to promote or enhance domains
Particular use case - firm or business unit specific

General Conversation:
•	Q: RICKA how well do you think this scales, do developers live in the JSON?
•	Q: MG We won't capture validations or evidence?
•	MB: Managed externally but open for dialog and debate.
•	Q: MG Mitigation and ADR linkage.
•	MB: Usage of this model is to live with source code
Actions:
MG - Share how he would envision how to manage data flow properties.
October 30th - Onsite session in Morgan Stanley's London office
Adjourned at 11:58 EST

Approved at WG 2023-11-28


The stylesheet leaks into all pages

After installing the PluginManager, all pages get styled with the plugin-manager.css

Please send screenshots... which styles?  If you have KanboardCSS installed, it is normal.  Some of the text styles could possibly crossover to other pages but I would need to know which/where the text is in order to target it.

After installing the PluginManager, all pages get styled with the plugin-manager.css

the whole of the plugins/extensions section gets restyled.

Looking at the stylesheet a bit closer, you may be possibly affected by:

text links colour
text links hover
page margins
sidebar

None of the above should cause a negative impact to your instance. Either way, I would need more specific information.

heyo,
I don't use KanboardCSS
examples:
in ?controller=DashboardController

boardnames get underlined

in ?controller=BoardViewController

the columns suddenly have a border
links are underlined

Cool, I will work on those shortly

Done, I will release a new version once the plugin actually gets listed. #26

the table  still gets borders  from here

on the board view, tasks also still get underlined by this

maybe it would be easier to just include the pluginmanager css on the pluginmanager site?

maybe it would be easier to just include the pluginmanager css on the pluginmanager site?
what do you mean?

you could for example only hook the css or the whole plugin if controller=PluginController

you could for example only hook the css or the whole plugin if controller=PluginController

I'm not sure I understand what you mean... any sample code to share?

something like this:
public function initialize()
{
    // abort initialization on non pluginmanager sites
    if ("PluginController" != $this->request->getStringParam("controller"))
    {
        return;
    }


[FLOC-3558] Fixed lint

This is OK to land once the tests pass on Jenkins.

Note, the run_trial_on_AWS_CentOS_7_benchmark will fail on Jenkins. This will be fixed by FLOC-3561, but you should merge this PR even though this test fails. Otherwise, we will have a deadlock.


Hello, how can I obtain the scan. l and gram. y files used in the project?

Hello, how can I obtain the scan. l and gram. y files used in the project? thank you

Those comes from the upstream PostgreSQL sources, so basically scan.l and gram.y, with some patches on top.

Thank you! I replace the original with scan.c gram.c gram.h parser.h which  from  pg15.1 and it work well.
在 2023年7月22日 01:00，Lele @.***> 写道：
Those comes from the upstream PostgreSQL sources, so basically scan.l and gram.y, with some patches on top.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


error: building gettext-libintl:x64-windows failed with: BUILD_FAILED

Hi,
When trying to install glib on my laptop, I keep having an issue where a download fails. Not sure if this helps or not, but when I click onto the link it doesn't come up with anything to download.

I could install this port successfully with the latest vcpkg 2023-08-09-9990a4c9026811a312cb2af78bf77f3d9d288416, could you please run following commands in your vcpkg folder:
1. git pull
2. .\bootstrap-vcpkg.bat
3. .\vcpkg install gettext-libintl:x64-windows --binarysource=clear

This has fixed the issue. Thank you very much.

hi, I had issue with this lib during "vcpkg install glib", but I dont know if it was not caused by my long path ... as I moved folder to d:\vcpkd and tried the last @jimwang118 to build it separately, then it seems it continues...

Did you clone the vcpkg library to the D:/vcpkg directory and install it successfully?


Add cmake options for enabling and disabling builds

add cmake flags:

BUILD_EXAMPLES: whether to build the examples
BUILD_TESTS: whether to build the tests
BUILD_BENCHMARKS: whether to build the benchmarks

these are all off by default.

Hi @kotaweav, do you still intend to work on this?

Yup, sorry, I'm overseas for work at the moment. I'll do this as soon as I
get back!
On Fri, Sep 8, 2023, 05:42 Bob Luppes @.***> wrote:

Hi @kotaweav https://github.com/kotaweav, do you still intend to work
on this?
—
Reply to this email directly, view it on GitHub
https://github.com/bobluppes/graaf/pull/79#issuecomment-1710746795, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEWLUOJ7SIGRQL2UDBDLN3XZIWUBANCNFSM6AAAAAA3SV4LQA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @kotaweav, thanks for the contribution! I think adding such options to our build system is a great addition.
I am however thinking whether we should create an "opt-out" system for these executables rather than an "opt-in". What do you think about introducing options such as SKIP_EXAMPLES, SKIP_TESTS, and SKIP_BENCHMARKS which are all set to OFF by default?
That way existing build systems would keep working without any change. It might also prevent confusion when a developer changes a class, successfully compiles the project locally, but the CI fails because some executable (which the developer did not explicitly opt-in for) cannot be compiled anymore.

Hey! So, I'm back in town and wanted to revisit this. What are your thoughts instead of having BUILD_TESTS, etc. but ON by default? I think it would be less awkward to have it that way than to have them be double negatives? Would appreciate your thoughts! Thanks!

Hi @kotaweav, thanks for the contribution! I think adding such options to our build system is a great addition.
I am however thinking whether we should create an "opt-out" system for these executables rather than an "opt-in". What do you think about introducing options such as SKIP_EXAMPLES, SKIP_TESTS, and SKIP_BENCHMARKS which are all set to OFF by default?
That way existing build systems would keep working without any change. It might also prevent confusion when a developer changes a class, successfully compiles the project locally, but the CI fails because some executable (which the developer did not explicitly opt-in for) cannot be compiled anymore.

Hey! So, I'm back in town and wanted to revisit this. What are your thoughts instead of having BUILD_TESTS, etc. but ON by default? I think it would be less awkward to have it that way than to have them be double negatives? Would appreciate your thoughts! Thanks!

Hi, welcome back :)
My initial thought is that I would slightly prefer to express these flag as SKIP_* in order to signify it is an opt-out system. This would also be in line with how mvn handles this.
But I also do not have strong opinions, so I would be happy with both solutions. What do you think?

I've certainly seen a lot of both XD OpenCV for example, goes the ENABLE_ route: https://github.com/opencv/opencv/blob/4.x/CMakeLists.txt#L519
But sure, I'll go ahead with SKIP_! Thanks for putting together such a cool library! :smile:

I've certainly seen a lot of both XD OpenCV for example, goes the ENABLE_ route: https://github.com/opencv/opencv/blob/4.x/CMakeLists.txt#L519
But sure, I'll go ahead with SKIP_! Thanks for putting together such a cool library! 😄

Haha, I am not sure if we will ever reach some standardization of such build configurations 😄 But thanks for addressing this!


add: health and armour to cache

Adds health and armour cache info to ox_lib docs, in https://github.com/overextended/ox_lib/pull/462 .

Closing as functionality was not merged.


Use specified args, entry point, and env vars when creating a runner

Needed to enable https://github.com/aws/sagemaker-tensorflow-container/pull/181. The options here were to either use the args defined (but not passed along) in entry_point.run or expose env._hyperparameters in a way that it can be modified. I went with the former because the args were already there.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

Result: FAILED
Build Logs (available for 30 days)

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

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

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


[version_0.5]Application Crash

App crash at 3:28 pm, the log has been attached
logcat.zip
.

Fixed.


internal/arp: initial tests for Announce.Run logic

What this PR does / why we need it:
Initial tests for the ARP announcer read loop.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes # n/a
Special notes for your reviewer:
This works, but I think I should probably rework my ARP package a bit to not depend on an interface handle, since it mostly cares about addresses anyway.

I like the way you're doing the testing. Only remaining question is why travis doesn't like that DialUDP...

[ Quoting<EMAIL_ADDRESS>in "Re: [google/metallb] internal/arp: ..." ]

I guess I need to think about where to rehome the CI/CD stuff some day...

Once you do, please tell, getting daily announed by travis, slow and no ipv6


commands.md: Add the missing content

The contents of this file were mysteriously missing. I added them.

@skycommand - Thanks for this PR! I'm reviewing and seeing how it fits in with the TOC structure.

@skycommand - Looks good! I'm going to add the ENTER (Repeat Last Command) as a link as it is in the list of commands, although it isn't really a command, to keep in sync with the TOC that is rendered on the left side of the page. I looked at an old CHM file from 2016, and we didn't seem to have the commands listed in this landing page. But the commands seem to be pretty static, and if this seems helpful, happy to maintain the list if any changes occur. Thanks for the work in preparing this PR and happy debugging!


{Account} Bump up azure-mgmt-subscription SDK version to 3.1.1

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
The precondition is to put your code inside this repository and upgrade the version in the pull request but do not modify src/index.json.

Subscription

@Ochirkhuyag Could you please help review this PR to see if it meets your expectations?

@Ochirkhuyag Could you please help review this PR to see if it meets your expectations?

I am not familiar with Python and not sure to check if it is the expectation.

@Ochirkhuyag OK, because the extension can be released at any time, so I merged this PR first.
You can install the latest version of this extension for testing. If you encounter any other problems, please feel free to tell us, thanks~


Visual studio code - Intellisense auto complete behaviour

VSCode Version: 1.1.1
OS Version: Windows 7 x64

I'm pretty new to Visual studio code. I am using Visual studio code for AngularJS application development. As I am from a .NET development background, I'm much fond of intellisense feature in visual studio code. But I could feel something is missing in this. When I type any Object name, autocomplete box pops up with suggestion, when I select the respective item and press period, the object name is not complete. Example: assume the object name is SampleObject. When I start typing "Sam", suggestion pop up lists "SampleObject". Once I select this name and press period, the output is "Sam." and not as "SampleObject." Any setting has to be added for the expected behaviour? Your help is much appreciated.

@sakthirajesh You can add the snippet below to your keyboard shortcut configuration to the VS Code to accept a suggestion and insert the dot when pressing .
{ "key": ".",                     "command": "^acceptSelectedSuggestion",
                                     "when": "editorTextFocus && suggestWidgetVisible && suggestionSupportsAcceptOnKey && editorLangId == 'javascript'" },

Thanks. This settings worked.
On Thu, May 26, 2016 at 1:24 PM, Johannes Rieken<EMAIL_ADDRESS>wrote:

@sakthirajesh https://github.com/sakthirajesh You can add the snippet
below to your keyboard shortcut configuration to the VS Code to accept a
suggestion and insert the dot when pressing .
{ "key": ".",                     "command": "^acceptSelectedSuggestion",
"when": "editorTextFocus && suggestWidgetVisible && suggestionSupportsAcceptOnKey && editorLangId == 'javascript'" },
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/Microsoft/vscode/issues/6905#issuecomment-221802233

OK. Closing then.


add console log to understand production behavior

Scope of changes
Briefly add notes if applicable and include the story ID
Type of change

[ ] bug fix
[ ] new feature
[ ] documentation
[ ] other (describe)

Acceptance criteria
Describe how reviewers can test this change to be sure that it works correctly. Add a checklist if possible
Author checklist

[ ] I have manually tested the change and/or added automation in the form of unit tests or integration tests
[ ]  I have updated the dependencies list
[ ]  I have recompiled and included new protocol buffers to reflect changes I made
[ ]  I have added new test fixtures as needed to support added tests
[ ]   Check this box if a reviewer can merge this pull request after approval (leave it unchecked if you want to do it yourself)
[ ]  I have moved the associated Shortcut story to "Ready for Review"

Reviewer(s) checklist

[ ] Any new user-facing content that has been added for this PR has been QA'ed to ensure correct grammar, spelling, and understandability.

Codecov Report
Base: 44.45% // Head: 39.35% // Decreases project coverage by -5.09% :warning:

Coverage data is based on head (e21aa02) compared to base (4a3cc70).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #810      +/-   ##
==========================================
- Coverage   44.45%   39.35%   -5.10%
==========================================
  Files         611      156     -455
  Lines       22928     2452   -20476
  Branches     1373      624     -749
==========================================
- Hits        10192      965    -9227
+ Misses      11427     1311   -10116
+ Partials     1309      176    -1133

Flag
Coverage Δ

unittests
39.35% <ø> (-5.10%)
:arrow_down:

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

Impacted Files
Coverage Δ

...b/gds-user-ui/src/components/BasicDetail/index.tsx

...ser-ui/src/components/TrixoQuestionnaire/index.tsx

...modules/dashboard/certificate/lib/defaultValues.ts

...ds-user-ui/src/components/ContentLoader/Avatar.tsx

....com/trisacrypto/directory/pkg/trtl/interceptor.go

...crypto/directory/pkg/bff/db/models/v1/models.pb.go

.../src/components/Section/GettingStarted.stories.tsx

web/gds-user-ui/src/components/TableRow/index.tsx

web/gds-user-ui/src/components/Contacts/index.tsx

...src/components/DetailsCard/DetailsCard.stories.tsx

... and 445 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Discord/custom notification support for in 2.0

It would be nice to add support for Discord notifications or at least some kind of custom/generic, easy to integrate service for notifications.

@WoLfulus 2.0 is using Prometheus AlertManager for alerting.  Discord is not supported by AlertManager.
To achieve custom notification, you can use the webhook notifier. You can create a micro service that provide a webhook and send your custom notification. AlertManager will post the following data to the webhook:
{
  "version": "4",
  "groupKey": <string>,    // key identifying the group of alerts (e.g. to deduplicate)
  "status": "<resolved|firing>",
  "receiver": <string>,
  "groupLabels": <object>,
  "commonLabels": <object>,
  "commonAnnotations": <object>,
  "externalURL": <string>,  // backlink to the Alertmanager.
  "alerts": [
    {
      "labels": <object>,
      "annotations": <object>,
      "startsAt": "<rfc3339>",
      "endsAt": "<rfc3339>"
    },
    ...
  ]
}

How about this?


An issue on my Android 6.0 phone

The app supports Android 6.0 and above. It has been tested on an Android 6.0 phone with the language set to English, and everything works fine except for when clicking on Color in Pickers section or ColorPickerPreference in preferences, which results in the message "Unfortunately, OneUI Sample has stopped" appearing on the phone. Note that my Android 6.0 phone isn’t a Samsung phone, Thanks to you for this amazing Project

Hey there,
Android 6 is quite old, so my guess would be, it's calling an unsupported method, thus crashing the app. I don't have any Android 6 devices anymore, so I can't test it. Do you know how to take logs on Android?

Closing because author's account got deleted 30min after opening this issue.

Hi @Yanndroid .  I was able to look on this previously. This issue is caused by SeslColorPicker   calling GradientDrawable.getColor() which is only available starting api 24.


Node identity

Hi, In the example programs, the nodes are identified with node id and endpoint. What if any node goes down and comes back with different node id or endpoint? Is there any way to identify the node unique way other than node id and endpoint?
For example, if there are 3 nodes in the cluster, (node 0(IP0), node 1(IP1), node 2(IP2)) and node 2 goes down. Now node 2 comes back as node 3(IP3). Is there any way raft automatically detects this node as previous node 2(IP2) and updates the cluster membership as (node 0(IP0), node 1(IP1), node 3(IP3)) ? Off course, I can manually remove node 2(IP2) and add node 3(IP3).

Hi @kishorekrd
No, it will not accept detect the IP address change automatically, and you need to manually remove and re-add it with the new IP address.
The reason why is because the change of cluster config (the list of members in the group) is treated as a single "append entry" operation -- it should append a log and reach the consensus, and consequently all (at least more than a majority) members should have the same config, not just the leader.

Thanks, that make sense. Leader needs to know the new node3(IP3) details, so that we can remove node2(IP2) and then add node3(IP3). Couple of more questions.
Assume that leader is at last_log_index X.
node2 goes down and comes back as node3.
Now leader is at last_log_index Y.
We removed node2 and added node3.
In this case does leader
treats the node3 as a new node and send all the old log records or
treats it as a node that came back and send only log records from X+1 to Y?
If it treats as a new node, is there any way to recognize it as a node that came back and only send log records from X+1 to Y?
Another question is, is there any way to identify a node uniquely irrespective of its node id or IP address change?

Regarding the first question -- the leader will send logs from X+1 to Y, as long as those logs exist in the leader's log store.
The second question -- server ID itself is the unique identifier throughout the entire library.

Hi sorry to touch this closed issue again. I meet the same issue, in our k8s env, the ip port will be changed after restarting and the server_id will be the same as before. And we encounter the error that other instances can't connect to the new one.
My question is, if the server_id is the unique identifier, is this possible that just store server_id, and load servers' ip port(and other settings) dynamically (reload from config and refresh the connections)

Hi @zeromem
After this thread closed, we recently introduced custom resolver. Maybe this will help your case?


MaxSize should be in kilobytes.

This is a duplicate of #37 - the size should really be in bytes, so you can specify whatever size you want. Making it megabytes was a mistake.  I probably will add a new field that is bytes, and maybe a constructor that takes bytes, and deprecate using the struct directly.


Code doesn't regenerate - FreeOTP Version 1.99 (19)

Hi Nathan,
I'm working off of FreeOTP Version 1.99 (19). The beta project. Just wanted to report some bugs
In comparison to the "older" version of FreeOTP, it would be able to "re-generate" a new code, most of the times, depending on key time length etc, just by clicking on the key. That is not the case with this version, and there is no way to "ask" for a new key.

By "regenerate a new code" I presume you mean "get the next code"? If I understand this correctly, you mean you cannot get the next code until the previous code expires. Is that correct?

Correct, I know there used to be some keys you could regenerate/get next code, if you click on the displayed number, and once it got down to the last ~20 seconds of that key being valid.


Getting Data points

Thanks for making this!
so I see this can access all of the Datapoints for the current month just wondering how datapoints are supposed to be retrieved.
await bch.refresh(hourly=True)
for each in bch.usage.electricity:
    print(each)

that works but I am sure its not the intended way... and it may be a lack of sleep but I cannot decipher the intended way.

You got it! If we look at https://github.com/emcniece/bchydro/blob/master/bchydro/types.py#L86 there's a definition of usage:
class BCHydroDailyUsage:
    def __init__(
        self,
        electricity: List[BCHydroDailyElectricity],

Electricity is a list of BCHydroDailyElectricity objects. We can see the electricity details on https://github.com/emcniece/bchydro/blob/master/bchydro/types.py#L30 - they have cost and consumption properties that might be of use.
So if you want to iterate and only print cost:
await bch.refresh(hourly=True)
for each in bch.usage.electricity:
    print(each.cost)

ahh so no way to print between a range of dates without iterating through and finding those dates first?

Not that is exposed through this package, yet. But what you could play with is these 2 lines: https://github.com/emcniece/bchydro/blob/master/bchydro/api.py#L217-L218
Changing StartDateTime and EndDateTime should let you scope a time. I'm not sure exactly how it behaves and whether data is available for the current day, so please do report your findings should you experiment!

We can set the StartDateTime and EndDateTime as desired without issue however it requires that DateRange be set to custom to query prior to the current billing period. Setting that means we don't get cost reported.
Additionally, the time in start/end datetimes is ignored, it'll always be for the entire day.

Sure, get_usage_for_range sounds reasonable. It's been a while since I've looked at this, get_usage() accepts start and end params, and your branch clearly works with that. Is there any reason we can't just keep "DateRange": "custom", and give the start and end dates -1d defaults?

I don't know if anyone depends on it, but it means we don't get cost reported.

Quick reply! I edited my comment:

Are the costs only gone for the current day? Are the costs present for the previous day with custom?

I don't see the cost for any of the data points unfortunately :(

Ah, damn. Cost reporting is one of (if not the) biggest request from the Home Assistant community, so it's high priority. I imagine it would be possible to perform some estimation by extracting billing rates and past usage from the account data, but it could get tricky recalculating BCH's tiered billing rules. I wonder if the billing tiers are also contained in the API responses...


Mirror dart-lang/ffigen

Please mirror https://github.com/dart-lang/ffigen so that we pull it in to the SDK via DEPS.

Done.


Warn players when they are about to activate a card which won't help

Here's a list of ideas to work off of. We will want to sanity check each of these ideas before we implement them. Once we've worked out the details of how we want to implement these checks (which will likely be backend checks, prompting a confirmation button with a short description of what they are about to do), we should tackle the highest priority ones first (we could look through the game feedback to identity biggest pain points).
1) City States (no susceptible opponent with 4+ castles)
1) Tools (an age 3 is being returned in the first interaction)
1) Oars (if no opponents with less crowns have any cards in their score pile)

2) Calendar (if I do not have more cards in score than hand)
2) Currency (if I have 0 cards in hand)
2) Mathematics (if I have 0 cards in hand)
2)  Construction: https://boardgamearena.com/bug?id=10327

3) Education (if I have 0 cards in score pile)
3) Engineering (if no susceptible top cards with castles exist and my red cards already are splayed left)
3) Feudalism (if no susceptible opponent has cards in hand, and my yellow+purple cards already are splayed left)
3) Translation (if I have no cards in score pile and activating it cannot grant me World -- either because I'm not eligible, or because it's already taken)

4) Anatomy (no susceptible opponent with cards in score pile)
4) Enterprise (if my green cards are already splayed right and no transfer+meld would occur)
4) Navigation (no susceptible opponent with age 2 or 3 in score pile)
4) Reformation (if my yellow+purple cards are already splayed right and 0 cards in hand)

5) Banking (if my green cards are already splayed right and no transfer+score would occur)
5) Measurement (if I have 0 cards in hand)
5) Societies (if no valid effect target, as mentioned earlier) - handle both 1st edition and 3rd edition dogma text
5) The Pirate Code (no eligible opponent has any 1-4s in their score pile)

6) Classification (if I have 0 cards in hand)
6) Encyclopedia (if I have 0 cards in score pile)
6) Democracy (if 0 cards in hand)
6) Emancipation (if my red+purple cards are already splayed right and no transfer+draw would occur)

7) Combustion (no susceptible opponent with cards in score pile)
7) Electricity (if all my top cards have a factory icon)
7) Explosives (no susceptible opponent with cards in hand)
7) Lighting (if I have 0 cards in hand)
7) Sanitation (no susceptible opponent with cards in hand)

8) Antibiotics (if I have 0 cards in hand)
8) Mass Media (if my purple cards are already splayed up and I have 0 cards in hand)
8) Mobility (if no valid effect target)
8) Quantum Theory (if I have 1 or 0 cards in hand)
8) Rocketry (no opponent with cards in score pile)
8) Skyscrapers (if no valid effect target)
8) Socialism (if I have 0 cards in hand)

9) Composites (if all susceptible opponents have exactly 1 card in hand and 0 cards in score pile)
9) Ecology (if I have 1 or 0 cards in hand)
9) Services (no susceptible opponent with cards in score pile)
9) Specialization (if my yellow+purple cards are already splayed up and I have 0 cards in hand)
9) Suburbia (if I have 0 cards in hand)

10) Bioengineering (if activating it will cause me to lose the game; this is probably rather tricky to detect?)
10) Databases (no susceptible opponent with cards in score pile)
10) Miniaturization (if I have 1 or 0 cards in hand, or if I have no 10 in hand)
10) Stem Cells (if I have 0 cards in hand)

I laid most of the groundwork for this in #323. It will be pretty trivial to add a lot of these checks.
For now, we only want to focus on adding checks for dogmas which will have no effect. Some of the ideas listed above will fit into another category of checks, which are out of scope for now.

We now have no-op checks on 29 different cards and there are more TODO(LATER) with future additions. I think we are safe to close this now though since the essence of this issue has been addressed.


Set one networkDomain in auth metadata

The auth networkDomain can be inferred for packs one only one overall networkDomain
This change is backwards incompatible for packs with multiple domains:
they'll need to explicitly choose which domain gets auth in order to
upload new versions in the future.

oh and it's a breaking change to oauth packs with multiple domains. @jonathan-codaio maybe we should release a version first and then make all the breaking changes to the next release?

oh and it's a breaking change to oauth packs with multiple domains. @jonathan-codaio maybe we should release a version first and then make all the breaking changes to the next release?

It looks like the only pending change is also a breaking one. Patrick is also soon to merge a breaking change, and then there's all the potential breaking changes I enumerated in https://staging.coda.io/d/Packs-Platform-IA-go-packs_d36WK4zgrYx/SDK-Breaking-Changes_suWuJ#SDK-Breaking-Changes_tuBp0
I'm tempted to say we work fast to implement the breaking changes in the doc (just the parts needed for makers to start their migrations) so that in about a week we can create one new release that includes all of our planned breaking changes and announce them at once.

lgtm probably add a test for upload_validations.ts

Added unit tests

Before merging this, two things to figure out:

Should this PR bump the SDK version?
Any concerns with the new networkDomain having string type, knowing that someday it may need to generalize to string|string[]?

Before merging this, two things to figure out:

Should this PR bump the SDK version?
Any concerns with the new networkDomain having string type, knowing that someday it may need to generalize to string|string[]?

No ned to bump the SDK version anymore, new changes are now considered "unrelease" until we explicitly create an npm release, which will assign a new version. I believe this is now handled by a GitHub Actions workflow, though we've only released this way once so far.
Per the comment thread, string for now is good and moving to string | string[] if needed in the future seems reasonable.


Feature/type compiler compilation

What kind of change does this PR introduce?
Types

Did you add tests for your changes?
N/A

If relevant, link to documentation update:
N/A

Summary
Adds hook types for Compilation, Compiler, Webpack Error etc.

Does this PR introduce a breaking change?
No

Other information

@sandersn @weswigham see the errors above, in one very specific case, on latest @next I'm seeing instances where I reference a class however its type analyzing it as typeof <ClassName> is there something why I'm doing here?

@sokra I think this is just about ready, would you mind giving this a functional review before I decide to check snapshot in? I want to make sure the behavior is expected first.


browser esm injector fails using extends from class

Describe the bug
When adding lit example in the new browser PR I've found a problem in examples/lit/src/my-button.ts web component:

We're not generating the __vi_esm_0. prefix, and so it is failing in L17 in the screenshot below. I can bypass the problem using:
const LitElementClass = LitElement
/**
 * An example button.
 *
 * @slot - This button has a slot
 */
@customElement('my-button')
export class MyButton extends LitElementClass {

Reproduction
I'm preparing it in the browser PR here in Vitest: https://github.com/vitest-dev/vitest/pull/3584
System Info
npx envinfo --system --npmPackages '{vitest,@vitest/*,vite,@vitejs/*}' --binaries --browsers

  System:
    OS: Windows 10 10.0.19044
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
    Memory: 36.39 GB / 63.71 GB
  Binaries:
    Node: 18.16.0 - C:\Program Files\nodejs\node.EXE
    npm: 9.5.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (114.0.1823.58)
    Internet Explorer: 11.0.19041.1566

Used Package Manager
pnpm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Changed to its own folder in examples: lit-browser.


fix: bool flag to connect to ledgers on startup

Summary of Changes
Previously, the flag to connect to ledgers on startup was incorrectly set to connectionOnStartup: true when it should have been connectOnStartup: true, this PR fixes the flag so that the desired ledgers are actually loaded on startup
Related Issues
N/A
Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[x] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[x] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[x] Updated documentation as needed for changed code and new or modified features;
[x] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

Nice catch!


Quick fix for breaking change in Scrypto 0.3

new-account command didn't print "New Entities" anymore in scrypto 0.3. adding an edge case using "A new account has been created!"

There also an issue with the "publish ." command. Closing this PR to issue one for both

adding an edge case using "New Package"


Fix Dependabot being unable to update dependency files

Reverts the update to guard-bundler which for some reason is what broke Dependabot on the repo.

Seems to be a known issue


Investigate static code analysis

It would be good to support some form of static code analysis and run it on the repo to examine the code thoroughly for known issues.

We could investigate these: https://book.getfoundry.sh/config/static-analyzers


Unable to refresh adaptive cards within Microsoft Teams

Currently, there is no support for updating an adaptive card in Microsoft Teams after an action is triggered. For example, if I trigger an Action.OpenUrl button, the button currently cannot be updated to reflect that I have indeed sent an Action.OpenUrl - not just from my perspective, but the perspective of all members of the chat.
Outlook uses Action.http in its 'Refresh cards' to implement said feature, however, this isn't supported for adaptive cards.
My context, I have a busy office with many guests coming and going:
Guests fill out a e-form on entry, which triggers a Microsoft workflow, which sends an Adaptive card to a Microsoft Teams chat. This adaptive card has a 'Sign Out' button for an employee to click when their guest leaves. This then causes the adaptive card to send an Action.OpenUrl to a webhook that triggers a workflow that does some data handling in the background. I would like the adaptive to update and indicate that the guest as been signed out and has left the building - this is important for other employees to know.
We treated this scenario as not the ultimate use of this technology, but just a sandbox for discovering possibilities - I believe that an Action.http feature would be very useful to increase workflow efficiency.
Github query: https://github.com/MicrosoftDocs/flow-docs/issues/137

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

ID: da15c461-b88d-7497-cd59-efcd785d5994
Version Independent ID: 00dd913a-44c7-b407-02c5-528c3b0e7643
Content: Learn to create flows that post adaptive cards to Microsoft Teams - Microsoft Flow
Content Source: flow-docs/create-adaptive-cards-teams.md
Service: flow
GitHub Login: @MSFTMan
Microsoft Alias: deonhe

Hi, and thanks for your feedback. Please submit a feature request in Microsoft Power Automate Community  Give Feedback & Share Ideas  Power Automate Ideas


Added Redocly and Wechaty orgs back in list

Redocly and Wechaty entries were accidentally deleted by a separate PR. Added them back in and also reordered list alphabetically.

sorry about that!!


[nrfconnect] Splitted building with Matter OTA and DFU over SMP

Problem
Currently when enabling Matter OTA DFU, the another DFU over Bluetooth LE using SMP configuration is also enabled. It should be available to enable independently.
Change overview

Enabled Matter OTA by default for lighting-app
Modified cmake BUILD_WITH_DFU option to allow disabling DFU support, enabling Matter OTA DFU and enabling Matter OTA DFU + DFU over Bluetooth LE
Splitted config overlays to extract common DFU parts from SMP specific ones.
Updated examples documentation

Testing
Performed manual building tests

Converted to draft, some work still needs to be done


[Feature request] Add gcI command

Just like there's gcA, add gcI to comment the current line and put you in insert mode from the beginning:
let a = 42;
//      ^ cursor here

Press gcI
// let a = 42;
// ^ cursor here

What's the actual use case for this? I can't think one for myself.

Many times I change code like
let a = 42;

To:
// TODO: Need to do X, Y, Z before enabling this
// let a = 42;

Which with gcI I could do with gcITODO:...<CR> thought admittedly this might be a strange way to go about doing that.

You can simply do nmap gcI gccgcO this will work just fine for your use case.

I am going to close this request as I don't see any actual use case for this.

As a completion, https://github.com/tyru/caw.vim provides gcI :smile:


fix(gh): Moved RevitMaterial and RevitWallOpening to Revit tab

RevitMaterial and RevitWallOpening were incorrectly placed inside the BIM tab.
They should now be placed in the Revit tab as expected.

Ignoring CodeCov fail. I'm fixing this on a separate PR


Cleanup code for distributed training.

Merge GetNcclResult into nccl stub.
Split up utilities from the main dask module.
Let Channel return Result to accommodate nccl channel.
Remove old use_label_encoder parameter.

cc @rongou .


Install rustfmt if needed during formatting request

In order to fix #6052 and to fix #4249 this PR installs rustfmt using rustup if rustfmt --help fails.
In theory we ought to memoise the attempts (both the --help and the installation) so that we don't keep retrying something which will fail (e.g. if nightly is missing rustfmt), but this is a first-pass for opinions.
In order to make it possible to notify the user of what happened, I added a facility for GlobalStateSnapshot to send messages to the client indicating what happened.  There may be a cleaner way to do this as well but I wasn't sure exactly what might be best given this is my first time in this codebase.
It may be worth, longer term, working with rustup to provide a way to detect a missing component binary since rustup returns 1 if rustfmt is not installed, which is not ideal.

I don't see any obvious problems, but I am not familiar enough with this part of rust-analyzer to know if there are any problems with it like breaking an abstraction that was deliberately added.

Hm, while I certainly agree with the problem, this solution gives me a pause: installing rustfmt silently feels a bit invasive.
I feel that maybe just displaing the error message here would do the trick? Not sure why is it swallowed... Aha, we fail to distinguish between -1 return code from rustfmt and -1 return code of rustup here:
https://github.com/rust-analyzer/rust-analyzer/blob/efc76e2c886a0c121b014a587123e2854c5f57df/crates/rust-analyzer/src/handlers.rs#L882-L893
Lets grep stderr for the "not installed" and avoid silencing the failure

(that is, the branch above is wrongly taken)

Nominally we could use a message with an "install rustfmt" action and then respond to that action, but I wasn't sure what infrastructure (if any) there was for that kind of thing.

Also I'm slightly averse to parsing message output from rustup because it's not stable as an API, then again there is nothing better at this point :/

@matklad I've redone this as a detect-and-report approach only as you suggested.  This leaves a dead-code warning active since now user_info() isn't called, but my gut feeling there is to add user_warning() to that and possibly to allow(dead_code) on it.
How do you feel?

I think there's a simpler implementation still: just detect this extra error condition, without changing any of the surrounding code?

I think there's a simpler implementation still: just detect this extra error condition, without changing any of the surrounding code?

In what sense, detect it and report it like now, or detect it and swallow it?  Silently swallowing the issue does mean we wouldn't need the change to permit the handler to send a message to the client, but it'd also result once again in silent lack of formatting.  Pretty much all other extensions I've used will warn you if their formatting tool is missing when you try and format a file.

In what sense, detect it and report it like now, or detect it and swallow it?

Only skip the existing Some(1) branch it the error message is from rustup. This will:

correctly swallow 1 errors from rustfmt
display non-1 rustfmt errors to the user
use the same code path to display the "not installed" error to the user

That approach certainly simplifies the code since it removes the need for the show_message infrastructure I introduced, let's give it a go.  Personally I find the "give the user important feedback via the lsp communication log" a bit messy, but since the ideal would be an interactive message suggesting they install which we then honour, it's no worse I guess.

Yeah, I think the best strategy here is to stick to a simple "try&report error" strategy on the server, and leave optional user interaction to the client
bors r+

It's worth noting for changelog reasons that this PR as-merged does not install rustfmt, simply detects the not-installed error and lets it get reported instead.


Updating GitHub Actions in Workflows

What did you change?

Updated to actions/checkout@v4, latest version
Updated to actions/upload-artifact@v3, there is a v4 but it's causing issues with the artefact, we'll need to look at the migration guide from 3 to 4 - https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
Auto-formatting

Ready to merge


Add Spring WebFlux with Undertow

Spring WebFlux is a new way to use Undertow HTTP core only without the servlet container. It is the same stack as light-4j and a lot of people are interested in the benchmark comparison.

Related commits:
de091e902b7c3e9c8cc394ff4081dbd9690b6b4b
09477e997d6c9921486de183ab4e6de10bc9afd1

Cool. Thanks.


Rename the extension

Once a new name is decided on, update the codebase and the repo with the new name. Include a svg/png icon for the extension as well.

Closed as of 26aa231


Stocks' prices tracker

Script Title - stocks' prices tracker
Brief - A script to track given stocks' prices. stocks' names can be given individually or a txt file containing the stocks' names.
Programming Language

[x] Python

@pawangeek please assign this to me.

@pawangeek updated the script title as I couldn't find any good APIs to get the stock's price data.


When will the "expand_path': couldn't find login name -- expanding ~' (ArgumentError)" get fixed?

Hello,
I have ran into the exact same here as issue #142, except I am using the exec() function VS the shell_exec() function. Is there an easy workaround for the moment?

cc: @andypiper
https://github.com/twitter/twurl/pull/145 would suppress this error.

Should be resolved in v0.9.6 just released


[feat]: Add Tag Input

Feature description
It goes something like this
https://www.shadcn-vue.com/docs/components/tags-input
You can extend multiple selector, more like datalist.
Affected component/components
Multiple Select
Additional Context
No response
Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues and PRs

It looks like multiple selector without dropdown. 😆
I'll think how to implement it.


Vagrantup issue

i got below issue when i am runing vagrant up command
The executable 'powershell' Vagrant is trying to run was not
found in the %PATH% variable. This is an error. Please verify
this software is installed and on the path.

Is that from the Vagrant image, or your host machine?
You should verify that Powershell is at least on your local %PATH%, but this sounds like a Vagrant issue, not an vagrant-aws issue.


url Expander

Issue Label:

[ ] bug
[ ] feature
[x] enhancement

Description of bug or feature enhancement:
Add a url expander. I currently have a working web service. Example http://x.datasig.io/short?url=http://tinyurl.com/jhkj/

@Logic-gate added in ccb751ec01b25ec020b4983f312cbe4eda190c66 will come out with next release


Source commands work but URL commands don't

See the TODO items that will be in apps/puzzles/puzzles.py.
For the sake of letting people load LC puzzles as soon as possible, this feature wasn't implemented yet.

The parser should be rewritten in Python anyway.


install instructions

hi, could you please add some install instructions?
i have installed the plugin with composer 2.4.4 and enabled it via web interface. now, i don't know what's still missing. i can edit some settings from the plugins menu, but that's it.
thanks!

Hi @neukunft ,
you need to go to your profile and set up the 2FA.
https://shop.example.com/admin#/sw/profile/index/general
There is no other way to force the admin user to use 2FA because they have to configure the Google Authenticator (or s.th. similar) by themselves.
I hope it helped.
Best
Sebastian

Thanks @zolthan,
unfortunately, I can't see any change in the profile UI after installing the plugin. All that is new is the plugin settings when I click on the dots in the plugin overview...
Thanks

Hi @neukunft ,
Don’t you see the box underneath the password in your profile?
Best Sebastian

Hi @neukunft
I have added a small step-by-step-guide in the README. Have you executed all these steps?

Hi,
thanks @zolthan and @runelaenen. I did not realise, I have to run the build. Sorry for that. My client is running Shopware on a VPS where I don't have admin rights. I will need to install tools like npm locally before being able to check...
But I guess the issue is resolved... :)


Using jest.spyOn on checkMultiple results in typescript error when not adding ALL permissions as return value, how to fix?

Bug summary
jest.spyOn(ReactNativePermissions, 'checkMultiple').mockResolvedValueOnce({
    'ios.permission.CAMERA': 'denied',
});

Gives the following error:

Expecting all ~200 permissions to be added to the returnValue.
I think I can make up from the source that the checkMultiple ReturnType depends on the number of array elements that are passed to it as an argument.
But this is something I cannot do when using spyOn.
Is there a way to satisfy typescript here?
Library version
3.6.1
Environment info
System:
    OS: macOS 13.0
    CPU: (10) arm64 Apple M1 Pro
    Memory: 454.03 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Managers:
    CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
    Android SDK:
      API Levels: 28, 29, 30, 31
      Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3, 31.0.0
      System Images: android-29 | Google APIs ARM 64 v8a, android-31 | Google APIs ARM 64 v8a, android-Tiramisu | Google Play ARM 64 v8a
      Android NDK: 22.1.7171670
  IDEs:
    Android Studio: 2021.2 AI-212.5712.43.2112.8815526
    Xcode: 14.1/14B47b - /usr/bin/xcodebuild
  Languages:
    Java: 11.0.13 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 17.0.2 => 17.0.2
    react-native: 0.67.5 => 0.67.5
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Steps to reproduce

Write the following code within a typescript codebase:

jest.spyOn(ReactNativePermissions, 'checkMultiple').mockResolvedValueOnce({
    'ios.permission.CAMERA': 'denied',
});

Run tsc or see ide error on hover.

Reproducible sample code
.spyOn(ReactNativePermissions, 'checkMultiple').mockResolvedValueOnce({
    'ios.permission.CAMERA': 'denied',
});

The method type is correct, the issue here came from Jest.
type CheckMultiple = <P extends Permission[]>(
  permissions: P,
) => Promise<Record<P[number], PermissionStatus>>;

I recommend to create a typed var and use @ts-expect-error:
const mockedPermissions: Partial<Record<Permission, PermissionStatus>> = {
  'ios.permission.CAMERA': 'denied',
};

// @ts-expect-error
jest.spyOn(ReactNativePermissions, 'checkMultiple').mockResolvedValueOnce(mockedPermissions);


Feature Request - PIV auth (Smart card) Hardware tokens (Yubikey)

Would love to have PIV functionality as in my homelab I have opted to utilize the PIV functionality of my Yubikey.
Hardware tokens are becoming more and more prevalent and would love the option to have that functionality within XPipe.

Sure, something like this would be possible. If you don't mind, can you expand on your setup so I know exactly what we are talking about?
This would make it easier for me to try to set it up myself for testing and experimentation.

So in my environment I tried to model off of a production environment I have one Windows Domain Controller a Windows Root Certificate Authority and a Windows Intermediate Certificate Authority.
Below link is a good video guide to get it spun up.
https://www.youtube.com/watch?v=KsGcSCqs4Ps
This is specifically for use in a PIV style for authentication. I believe CAPI is what some other tools used as a smart card API but it's been a few years since I have had to use that functionality.
Yubikeys are growing more and more popular so having a way to interface with the minidriver would be great.
https://developers.yubico.com/ would be a good place to start I imagine for you.
I myself am just a network engineer so some of my statements may be blatantly incorrect do take me with a grain of salt.

Ok so I read the yubico documentation a bit. If I read correctly, at least for SSH connections, authentication is handled via a special ssh agent, and xpipe should support these kinds of agents already. Did you get a specific error message when trying to connect with your yubikey and agent? Or when you talk about having PIV functionality, does that include more than ssh connections?
Regardless of that, it will take me some time to order one and set everything up, so I can get back to you once this is done.

I wasn't aware there was a specific SSH agent needed, from a user perspective I would hit a button which would prompt me for my Smart Card pin that would then allow me to select my certificate to use for auth as in an enterprise environment your smart card / yubikey might have multiple certs on it for different purposes. In some special circumstances some entities might have multiple smart cards to separate privileged access.

Ok I will just order a cheap yubikey for this, I think it's good to own one for this

Be sure you get one that supports PIV! Check this link.
https://support.yubico.com/hc/en-us/articles/360015654560-Deploying-the-YubiKey-Minidriver-to-Workstations-and-Servers

Alright, so I got the yubikey and set everything up. So now I can use it for SSH authentication for example.
I was able to implement support for using the yubikey with SSH connections in xpipe via the gpg-agent.
So now you would have to elaborate a little bit more on your use case:

How do you use it for SSH authentication on windows? I used gpg4win
Since your issue description is a little bit vague, what else do you want to use the key for? E.g. in substitution for the master passphrase of the xpipe vault or something else?

GPG agent support has now been implemented in the latest PTB build at https://github.com/xpipe-io/xpipe-ptb, so you can try it out if you want

Can you whether the PIV support in https://github.com/xpipe-io/xpipe-ptb/releases/tag/1.7.11-2 works for you?

Sure give me a few to check it out.v/r Andrew CreighNetwork Engineercell:<PHONE_NUMBER>On Dec 10, 2023, at 11:04 AM, Christopher Schnick @.***> wrote:
Can you whether the PIV support in https://github.com/xpipe-io/xpipe-ptb/releases/tag/1.7.11-2 works for you?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

I think something went wrong with your email reply, not sure whether you want to include your contact details in there.

Thanks for that lol, pre-coffee nonsense. Edited my details out.

So I will probably add this feature to the professional version once it's released because most people will probably use this authentication in an enterprise context.
I can give you a free professional license though since you posted this feature request in the first place and helped a lot. So just let me know to which email I should send it to.

This feature is now released, you can try out in the latest version. I will send you that license key eventually. I also introduced a new preview license that will give you access to these features as they are released, so you can try out whether that works for you first.

So now with the latest fixes implemented for smartcard handling to prevent it from asking for verification twice, I think I can close this issue finally as being fully completed.


Replace intercepted tag with different content

I'm currently making research around some existing template engines and jte looks quite promising. One of my requirements is the ability to replace a custom tag with some other content, e.g.:
<Custom>

Text

</Custom>

with:

Text

  </section

I was playing a little bit with html interceptor:
templatingEngine.setHtmlTags("custom");
templatingEngine.setHtmlInterceptor(new HtmlInterceptor() {
    @Override
    public void onHtmlTagOpened(String name, Map<String, Object> attributes, TemplateOutput output) {
        if (name.equals("Custom")) {
            output.writeUserContent("abc");
        }
    }
    @Override
    public void onHtmlTagClosed(String name, TemplateOutput output) {
        if (name.equals("Custom")) {
            output.writeUserContent("cdf");
        }
    }

but this API seems to be a little too simple for that use case. I wonder if there's some other way to achieve this kind of results.

Not really.
The idiomatic jte way to do this is to call another template, e.g.
@template.custom(body = @
Text
)


Frontend application fails deployment

Description
All three frontend applications fail deployment. The pods continue to crash loop.
What should happen?
The frontend pod should come up
What happens instead?
Events show readiness probe fails.
Also there are warnings like this in pod logs
Running as user uid=1000630000(1000630000) gid=0(root) groups=0(root),1000630000
Running this container is only recommended when running in test or development.
It is recommended to use this s2i image as a pure builder image and use it with an openshift chain build https://docs.okd.io/latest/dev_guide/builds/advanced_build_operations.html#dev-guide-chaining-builds
command not found: serve

Do you have any idea why?
...
Error log
If you have an error log, please paste it here.

It's a memory issue. For some reason the app uses more memory on his cluster and therefore serve won't start. The memory limits we set are obviously too tight.
I'll relax them, that should be okay now we're not targeting starter clusters anymore.


[Old PR lubui#381] Add uiSliderSetRange function to API

Old PR libui#381
Add a function to the slider API to modify the slider range after slider creation.
void uiSliderSetRange(uiSlider *s, int min, int max);

Also mentioned as possible API addition in libui#309
Tested on linux, mac, and wine/mingw-w64.

Implementation of this is 100% correct, but I think the layout for the new page4.c test is broken?

Implementation of this is 100% correct, but I think the layout for the new page4.c test is broken?

Nevermind. I did a bad merge conflict of #36 and #37 locally. Both of these are working and merged. 👍


Publish on PyPI

So it would be easily usable in real world projects

If you'd like to adopt the project, you're free to, but I don't use Flask much anymore.


Update copyrights

first tranche of edits to add copyright header to project files

Codecov Report
Base: 59.60% // Head: 27.85% // Decreases project coverage by -31.75% :warning:

Coverage data is based on head (a3ad76e) compared to base (6fa5d83).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2014       +/-   ##
===========================================
- Coverage   59.60%   27.85%   -31.75%
===========================================
  Files         179      179
  Lines       14543    14543
===========================================
- Hits         8668     4051     -4617
- Misses       4789     9894     +5105
+ Partials     1086      598      -488

Flag
Coverage Δ

acceptance-api
27.85% <ø> (-6.15%)
:arrow_down:

acceptance-apps
?

acceptance-cli
?

unittests
?

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

Impacted Files
Coverage Δ

helpers/authtoken/token.go
13.15% <ø> (-65.79%)
:arrow_down:

helpers/bytes/bytes.go
100.00% <ø> (ø)

helpers/cahash/cahash.go
0.00% <ø> (-35.30%)
:arrow_down:

helpers/error.go
0.00% <ø> (-16.67%)
:arrow_down:

helpers/exec.go
0.00% <ø> (ø)

helpers/kubernetes/cluster.go
48.65% <ø> (-16.10%)
:arrow_down:

helpers/kubernetes/config/argtoenv.go
100.00% <ø> (ø)

helpers/kubernetes/config/checker.go
54.16% <ø> (ø)

helpers/kubernetes/config/config.go
57.14% <ø> (ø)

helpers/kubernetes/config/getter.go
45.16% <ø> (-19.36%)
:arrow_down:

... and 219 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

I think we should put this at the very top of the files (before the package declaration:

https://github.com/golang/go/blob/master/src/bytes/buffer.go
https://github.com/kubernetes/kubernetes/blob/master/pkg/controller/endpoint/endpoints_controller.go
https://github.com/elastic/go-elasticsearch/blob/main/internal/build/main.go

I decided against that location because go looks for the package documentation before the package declaration and I did not wish the (c) section it to be mistaken for that.
Checking the doc documentation I now see that the actual documentation has to be without intervening blank line, so the (c) would not be mistaken.
So, ok, I will make the change ... So many files.


Include examples for workflows including SCA

This PR includes two new example pages to showcase:

Storing a card with verifyBuyer
Making a payment with a card-on-file

Screenshots:

[x] Individual Contributor License Agreement (CLA) signed

Thanks again for taking the time to meet with me and discuss it through. I really appreciate it :)
I'll leave this PR open until I get final sign off from designer

Are we planning to add examples for this use case in which we store a card on file using esperanto payment id

tokenize
verifyBuyer
createPayment -> get payment id
verifyBuyer
createCard with the payment id

Not directly related to this PR but I see that we have this config in package.json for square dependency
    "square": "^9.0.0"

When I was preparing the demo to create a card with a verified esperanto payment id I needed to use the cardsApi but it was available in the node_modules. I had to bump the square dependency version to the latest one 15.0.0 to have the api available. https://developer.squareup.com/docs/sdks/nodejs Is there a particular reason that we keep this dependency at 9.0.0 @alexandersmanning

Are we planning to add examples for this use case in which we store a card on file using payment id

tokenize
verifyBuyer
createPayment -> get payment id
verifyBuyer
createCard with the payment id

Good catch @tekkaya ! I've included it in our backlog to complete in phase 2.

I double checked running the project on a clean install, and @tekkaya was correct we will need to update the square library for the card on file examples. @alexandersmanning do you have any concerns regarding the version bump?

No concerns about version bump (alex through slack)


Changelog for 2.0.0?

Cant find the changelog for a latest version

Based on the commit history, the only relevant change to end-users is upgrading from<EMAIL_ADDRESS>to<EMAIL_ADDRESS>You can check out the ts-node release notes between the aforementioned versions here: https://github.com/TypeStrong/ts-node/releases
Biggest (but not only) breaking change to call out is dropping support for node v10, with v12 now being the minimum supported version.

It is still better to have a changelog for this package, so less questions would be risen


add id to appended script tag

We've had an issue where glightbox didn't work after decryption at first (if the decryption key was available on the second run it worked).
The encryptcontent plugin fixes some other mkdocs plugins by re-calling their initialization after successful decryption. In order to be able to do that with glightbox, we need to have a script id.

LGTM! Thanks for helping.


Planning Writing Sprint

Preparation and proper sharing of responsibilities is key to getting the most out of the writing sprint. We'll use a modified version of this to get a complete draft of the paper.
We need:

[x] A collaborative platform to use
[ ] A team leader for each aspect of the study
[ ] Team leader to generate high-quality Figures for the paper

Steps:

[x] Get all the team members to decide on the best day for the Sprint
[ ]  Agree on an achievable stretch goal for the Sprint
[ ] Identify specific tasks (timekeeper, etc.)
[ ] Allocate tasks in advance, and agree on what needs to be done before the Sprint

Let's continue the conversation and decide on some of the topics above.

Here are my views concerning the topics above:

Collaborative platforms

Google Docs is the good collaborative platform for the manuscript writing.
We may use Zoom during the sprint because we are collaborating remotely.
We also have a Slack workspace that we may also use.
We can use GitHub to create milestones of the tasks we identify and for creating and resolving issues

The aspect of the study and team leadership.
We had 3 aspects of the study: the status of open science in Kenya, data mining and low-cost open access publishing. We may use these respective teams, led by the team leaders, as the criteria to divide tasks among ourselves during the sprint.
During generation of the high quality figures, check on any pending issues on analysis. We can attend to these at this point.
One of the goals of the sprint is to add content to the subsections of the 3 sections of the study. We had previously identified some subsections on the manuscript outline. We may use these to identify specific tasks for team members during the sprint and allocate in advance.
We may also:

identify the targeted journal for the first submission
identify more relevant literature to get us started. We already have identified some to get us started

Hi,
I think we do the high quality figures for the paper. I think we can apply a standard theme for instance for ggplot2. We could use the theme_bw() or theme_tufte(). We can find it ggplot2 themes or we could use recommendations which can be found Rbloggers post. I think since majority of the plots were done with ggplot2. Careen can handle this and @Shuyib can assist.
Kamonde and Silviane could make the codebook. One to generate the codebook while the other edits the markdown in the codebook. This can be done with the dataMaid package in R.
I'll export the plots and subsets of the dataframes regarding collaboration.
Lastly, we could take some people coming Friday to make the writeup that conforms to what @kipkurui has presented above with markdown.


[wip] feat(helper): new helper method over to replace the resultSelector used by methods like mergeMap

Description:
See related, this method allows you to (more or less) get similar behavior to how the resultSelector works for mergeMap, concatMap, switchMap, etc.
Consider this is a proof of concept, some of the tests are still not working correctly and I need to figure out how to test things a little better.
Related issue (if exists):
#3304

Coverage increased (+0.005%) to 97.565% when pulling 06632659b69ba3433c70ddb30ecc9796aef8e98b on david-driscoll:mapover into ddffecc32617c68df793f14b5e4a5f49af8257f2 on ReactiveX:master.

Given that we've put the resultSelectors back as deprecated for now, I think we can close this one.


Add non standard fields

This PR solves #185 and #182.
I have been quite conservative in solving #185 to avoid errors in case of renaming non-existing columns.
I do not trigger any warning but I inform the user about non standard fields by returning three messages on console:
Non standard field after _id found: renamed to speed.
Non standard field after _id found: renamed to radius.
Non standard field after _id found: renamed to angle.

Tests are failing due to https://github.com/tdwg/camtrap-dp/issues/269.

Thanks @peterdesmet. About testing the columns together: are we ALWAYS sure that these 3 columns come up all together in a camtrap datapackage?
I was prepending testthat:: as we started to prepend the package name to all functions throughout all our packages. So, I was thinking it was something useful for test files as well. But you are right. It seems not standard to do it in tests.

are we ALWAYS sure that these 3 columns

Pretty much, as we control how they are coming out of Agouti.

Ok. For this time I will be less defensive and less verbose 😃


chore: fix name deviations in license

Encountered this style of copyright statement with some rust crates I used to work with.

I would like to keep the original creator's names in all wrappers. +contributors.


Getting usage for streamed responses

You can get token usage statistics for your streamed response by setting stream_options={"include_usage": True}. When you do so, an extra chunk will be streamed as the final chunk. You can access the usage data for the entire request via the usage field on this chunk.

https://cookbook.openai.com/examples/how_to_stream_completions#4-how-to-get-token-usage-data-for-streamed-chat-completion-response

This is available in latest release v3.7.0 can you see if it is what you need please?


Update ItemList.php

New changes at the executeSortBy doed not support sorting base on FIELD (e.g: ORDER BY FIELD(f.fID, '16,15')).
It breaks one of my add-on (Whale Galleria) which use this type of sorting for images priority.

The proposed change would still potentially allow for sql injection though, since you only check to see if the order by contains the string field which could easily be done, and then followed up with or proceeded with injection code. I'm not really sure of a way around this off the top of my head though :frowning:

@EC-Joe: You are right, maybe someone with more regex skills could write a appropriate line to check FIELD() method.

I'm not sure what context you're using it in, but instead of having the core continue to implement more and more mysql functions into the check, perhaps another option would be to just extend the ItemList in your own package and implement your own executeSortBy (or similar) method. At that point you may even be able to "know" that it's secure because it is only used by one specific call that you are controlling what gets passed to it.
The rand() function I get because it's sort of all over the core (unfortunately), but it doesn't seem practical to keep implementing more functions when they are needed for specific use cases when extending is a valid option. Not sure what the core devs thoughts are on this.

I think the best solution would be to implement a separate method for sort by that comes from the request (e.g. auto sort based on columns) and the sort by that the user can specify in code. This may already be the case – I think the code-specified version should be pretty free form and allow everything, aka a regular SQL query. Whereas the auto sort query should be very locked down

So i should wait for you guys to add another method for user specified sorting queries?

@aembler so more or less just adding something like this into the Database ItemList? Then if it's programatically used you just use safeSortBy instead of sortBy (at least theoretically, untested at this point).
    public function safeSortBy($orderBy, $direction = 'asc')
    {
        $this->query->orderBy($orderBy, $direction);
    }

@shahroq I think this PR get's superseded by #1993 and that should resolve your issue you were bumping up against.


Retrieval of calculated penalty in LinearEqualityToPenalty converter

Summary
LinearEqualityToPenalty converter now lets the user retrieve the last penalty factor calculated after a conversion when no default penalty was given. Please refer to issue (#34) for more details.
Details and comments
A new LinearEqualityToPenalty property was defined called _should_define_penalty which remembers if a given penalty is valid (i.e. if a new penalty factor has to be calculated when calling convert).
This was previously handled by the variable _penalty, which is now updated on every conversion so the user can retrieve it by calling .penalty.
Documentation is updated on LinearEqualityToPenalty and QuadraticProgramToQubo as the latter makes use of the former.

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

Wait a moment. After the first conversion, self._penalty is updated, so should_define_penalty is ignored in the second conversion?

Nope, because the condition is not if self._penalty is None anymore but if self._should_define_penalty, so as long as should_define_penalty is not updated, the penalty will be re-calculated on every new conversion.

LGTM 🙂

Can unit test(s) be added to assure this function and that it continues to work as expected?

I have added one unit test to test the behaviour. It could be decomposed in smaller unit tests, but let me know what you think.

I have added one unit test to test the behaviour.

Looks good thanks, since its testing the same object on a re-use basis it seems fine.


Bug: Breadcrumb doesn't reflect namespace and databases

Describe the bug
Breadcrumb menu doesn't reflect the exisiting namespace or database nor does it reflect after creating a new one

Steps to reproduce
Open Surrealist on Mac M1
Go to the open connections
Add new namespaces
Add new databases
Expected behaviour
Surrealist should show the list of namespaces and databases
Surrealist Environment

Contact Details
<EMAIL_ADDRESS>Is there an existing issue for this?

[X] I have searched the existing issues

Code of Conduct

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

Could you clarify which authentication method you are using to connect to the database? You can find it in the edit connection dialog under the Authentication section. Additionally just to confirm, you are able to create namespaces/databases, however they don't appear in the dropdown menus?

They seem to have been fixed in 3.0.2. I am able to view the namespaces and all the databases. When I create a namespace or database they seem to instantly appear. Happy to close this


Function gimp

In response to our Twitter conversation.
With regards to the function for IMPROVED, as documented in the .bashrc/.zshrc Section:
# IMPROVE.
function gimp() {
    gcap "👌 IMPROVE: $@"
}

This function name is in conflict with GIMP a cross-platform image editor available for GNU/Linux, OS X, Windows and more operating systems. The CLI command gimp is associated with that application and will honestly be more of a problem on Linux.
For cross platform support, you may want to change the documentation in the README to rename this function. It is true the user can make this change themselves but I wanted to make you aware of the issue.
If you decide to make a change her I will be glad to submit a PR, using Emoji-Log, of course.

I think we can add an extra gim command as a conflict resolver for folks who use gimp! What do you say?

That seems like a good alternative to me. Maybe a separate code box with a note for an alternative for users of GIMP.


Use parameter HelpMessage (if present) as a description for the parameter

I think each parameter should have a description block.  And, if the HelpMessage Parameter Attribute is used, then it should default to that value.

Ha, it doesn't work?

Not with the latest version from the gallery.  Yeah i was going to say i thought i had added that functionality.  must have gotten lost in the changes.

there is a blank line where it looks like it would go:
### -Comment
```yaml
Type: String
Parameter Sets: (All)
Aliases:
                       <------ looks like description field here.
Required: True
Position: 1
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
\```

Hm, so the blank line there to distinguish between two blocks of metadata (it's not mandatory, we just thought it will look better).
Description should be like
### -Comment
                <------ looks like description field here.
```yaml
Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value:
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
```

Schema for references

gotcha, yeah not getting that.  you can grab my latest version PSGist form the gallery, all the parameters in each cmdlet have the HelpMessage Attribute, if you need something to test with.  then i did:
New-MarkdownHelp -Module PSGist -OutputFolder C:\users\me\desktop\markdown

Looking at the code, we do seem to cover this scenario. Going to work on the repro using PSGist.

Found this:
In PlatyPS.psm1 the function call to AddLineBreaksForParagraphs
https://github.com/PowerShell/platyPS/blob/master/src/platyPS/platyPS.psm1#L1381
The string for HelpMessage does not get passed in.
@vors I've been looking at it for a while, and the only fix I found breaks a bunch of other areas that leverage that function. Could you see if you see why the text is not passing in?

Probably because in the caller (https://github.com/PowerShell/platyPS/blob/master/src/platyPS/platyPS.psm1#L1561) maml-based help and comment-based help genereted different objects (i.e. there is no text property or something).
This bug is closely related to #132

So, what do? Do you want to take this one?

ok

Fixed in 843f322