Determine approach for maintaining Design assets, and how Designers contribute to the project

Problem/Concern
Theme Builder design assets were created and maintained in Figma, under a license outside of the control of FINOS. Now that the project has been donated to FINOS we would like to have a sustainable way for design assets to stay associated with the project in the FINOS GitHub (for example, links to design assets in another organization's Figma may change ownership, and can make it challenging to collaborate on and modify designs).
Proposed Solution
There are multiple potential solutions to creating a FINOS repository for design artifacts that can be a long term home for the Theme Builder project. The goal of this issue is to discuss alternatives with the project team and document the approach for contributing and maintaining design assets associated with Theme Builder.
Along the way we may uncover and share best practices for incorporating design assets in open
source projects!
Alternatives

FINOS Sponsored Figma subscription: Pro subscription supporting up to four designers, which can be managed by the core contributors to Theme Builder
Penpot is open source, and recently added a capability to import Figma designs. This is related to #665
Other alternatives? Also, this discussion will help us with 'end to end accessibility' and how to deliver that

For any alternative, we have been asked to summarize the approach and costs (if any) for FINOS consideration, ideally with the idea that this approach may apply to other open source projects or open source design efforts in general.

Waiting for Figma licenses decision to resolve before closing this issue with that update

Sent this message to @maoo, @lwnoble and @aaronreed708 today for consideration - comments are welcome here as well from the community!

Hi Mau,
I had a good discussion with the folks at Figma last week and wanted to summarize for you, Aaron, and Lise with a recommendation, for your thoughts. Context, alternatives, considerations, and next steps are below-
Context:

Discover Financial donated the Accessibility Theme Builder to FINOS in 2023 (wow! things have come a long way pretty quickly!)
In addition to the code and content in GitHub, the project's core design assets are maintained in Figma, which is common in the industry
Currently, the design artifacts are kept in Discover's Figma environment, and ideally these should be moved to a FINOS managed environment to sustain the project going forward under FINOS stewardship

Alternatives considered:

Alternatives to Figma have been considered, including Penpot as the most likely open source alternative.
There would be a loss of fidelity and capability if the Theme Builder team moved the design assets to Penpot. Also, Theme Builder currently relies on advanced Figma features that are only available with a Figma Enterprise seat.
Paula spoke with Figma about non-profit foundation licensing for Figma, and how we might address enabling FINOS stewardship of the design assets in Figma. Notes:
Figma provides 'seat by seat' licenses, and does not offer specialized licensing or discounts for nonprofits.
For invoicing/PO purchases, there is a minimum annual cost that is covered by Figma's proposal (below) but it was unclear how negotiable that minimum may be.
Figma suggested a solution (copy here from the email below) with annual invoicing to FINOS.
5 Design, 5 FigJam, and 5 DevMode seats would be $6,900 annually (you can switch/reassign these seats whenever needs change internally)
Sales-assisted demos for the team
Invoice that can be paid via wire transfer, ACH, or CC, payment terms are net-30
Minimum contract value can be met through FigJam, DevMode, and Figma Design seats, so we can work together to best meet your needs if budget falls below $6.9k
This licensing can be shared across all FINOS projects and managed centrally.

Considerations:

Instead of offering a discount or 'free licenses' Figma suggested working with FINOS for flexibility with the annual true up to optimize spend if the licenses go up or down over the year.
In addition, Figma asked about event sponsorship opportunities, and would be open to  sponsoring a second LF Mentorship for Theme Builder (for ~6k, or potentially less depending on geography), for a design-focused mentee.

Recommendation:

If it is within the FINOS budget for 2024, negotiate with Figma for pro-rated 2024 licensing, starting July 1 (half year), with a true up date of January 1 2025.
Best case: Negotiate better options than the two below...
Ok/Good case: pro-rated 2024 invoice for $3,450 on Jul 1, 2024 (due Aug 1), explore multi-year contract options. Yearly true up on Jan 1 2025 and beyond for $6,900.
Worst case: $6,900 invoice on Jul 1 2024 (due Aug 1), with true up invoice on Jul 1 2025 and beyond
Ask Figma to sponsor a ~6000K LF Membership for Theme Builder, to focus on a design mentee, with cross promotion.
Plan to record and share education demos with Figma and the FINOS Theme Builder team.
Share sponsorship opportunities for OSFF (London and NYC)

Next steps:
I have a follow up call with Figma next week, on Wed May 29th at 11am ET, and can add any and all to that discussion - will ping you all on Slack for thoughts.
Thanks for your time and ideas!

@lwnoble and @aaronreed708 - the discussions with FINOS about the direction for managing design assets for FINOS Projects is taking a really interesting twist...
Mao wants to host PenPot (as penpot.finos.org) so that Theme Builder and other FINOS projects can use it for design assets. He knows PenPot can't do what Figma does, but rather than paying for Figma licenses, he is working with FINOS to open up another mentorship specifically for design and to begin the (long) process of moving design assets to FINOS' PenPot instance while contributing to PenPot improvements along the way.  That is a very long term solution so while we are in transition Discover would need to keep supporting the project with their enterprise license, and we would need to start finding ways to move design assets to PenPot (and opening issues against PenPot for features we need).
This is a path to getting another Theme Builder mentorship specifically for Design -
I've copied part of my email thread with Mao at FINOS below, and would like to discuss this at the project call this week.

(Paula's email conversation with Mao)
The request for Figma licenses came from the team since there is currently no way to maintain or improve the design assets (or grow the community of contributors) for Theme Builder outside of Discover's Figma license, so it's a challenge.
But, we also love the idea of moving the design assets to PenPot eventually - it's a rising star and all it needs is more community contribution.
If we could get confirmation of investment in mentorship and hosting PenPot in FINOS cloud infrastructure, the team could get behind efforts to move the assets to PenPot over time. That would also solve the issue of FINOS ownership of the design assets.
[Mao inline response]
I don't see any issues confirming that, pending some internal validation that I'd like to run by Jane, Gab and the LF team.
[end Mao inline response]
Since PenPot is a self-hosted solution, what do you think of the following proposal:

FINOS will let the Theme Builder team host PenPot in the FINOS sandbox or FINOS cloud infrastructure (TBD on your advice), so they can begin to transfer design assets there. This may take a year or 18 months given the current capability gaps in PenPot.

[Mao inline response]
Absolutely! It would be a great addition to our Infrastructure, although not necessarily a FINOS Sandbox, which is currently dedicated only for FINOS hosted projects (which PenPot is not); but we can talk about branding and marketing in a second stage; what matters is that we can spin up a penpot.finos.org which Theme Builder and other FINOS projects can use, and is something we can definitely do; of course I'd love to have some support from the A11Y TB (and Discover) teams on the DevOps and provisioning tasks, though FINOS (Infra team) would be the main owner.
[end Mao inline response]

FINOS will fund another Theme Builder mentorship specifically for Design, aiming to improve PenPot capabilities and move the Theme Builder assets to PenPot.

[Mao inline response]
I also don't see a lot of issues raising 6000$ in LFX Crowdfunding, aimed to spin up a PenPot self-hosted FINOS solution that will contribute to the accessibility of all FINOS projects, since I believe that many FINOS members would be interested to help the funding; I think that the DEI SIG is the right channel to start circulating this idea (using a strong focus on the accessibility aspect of what we're doing), what do you think?
FINOS can probably allocate part of this budget, though I think we should first give our members the opportunity to participate.
[end Mao inline response]
This mentorship could be announced at OSFF, where Lise will be speaking.
[Mao inline response]
I'm not sure if we can get all the parties involved to agree on this plan before OSFF London, but let's try! Regardless, we can use OSFF as a way to socialize the idea and gather interest.
[end Mao inline response]

During the transition to PenPot, Discover Financial would need to agree to let FINOS use their Enterprise license for Theme Builder assets and support the goal of moving the assets to the FINOS PenPot instance.

Either way, investment is needed, but I like this option much better as a step towards making the project sustainable as an independent FINOS open-source project.
Additional potential benefits:

Other FINOS projects could take advantage of the FINOS-hosted PenPot instance for their design assets (and also contribute to the project)
We could encourage PenPot to donate the project to FINOS or the Linux Foundation (similar to OpenTofu) since robust open-source design tooling for accessibility is a need across the industry

[Mao inline response]
Of course! It's a longer shot, and I'd park this for now, but as soon as we have penpot.finos.org up and running, we have a stronger position to propose the transition to FINOS/LF.
[end Mao inline response]

FINOS could publish unique content and thought leadership on the importance of open design tooling and accessibility.

[Mao inline response]
Which I feel that we're already starting thanks to the amazing work that you and the A11y theme builder team are doing. Thank you!
But yes, this collaboration with PenPot could bring this to a whole new level.
[end Mao inline response]
If you are open to going in this direction, I can let Figma and the Theme Builder team know that this is the preferred FINOS direction but I would like that message to include the commitment to fund another Theme Builder mentorship to start the process of transferring the design assets to a FINOS PenPot instance and improving PenPot capabilities.
[Mao inline response]
Shall we have a meeting next week (even Monday) with the 2 of us and the Discover team, so we can walk through the plan all together, build a high-level roadmap, map tasks and responsibilities and get a green light?
This would also allow me to circle back with Jane and Gab, and make sure we're not missing anything (or replicating existing efforts at LF).
Thanks!
mao
[end Mao inline response]

he is working with FINOS to open up another mentorship specifically for design and to begin the (long) process of moving design assets to FINOS' PenPot

I would say that we need to evaluate PetPot's shortcomings, prioritize addressing them, and pick the mentorship based on that.  Which I assume everyone can agree with.  I just don't want to say that this will be a design mentorship until we know better.  I assume that the competitive advantages that Figma currently enjoys are largely functional.  But I may be wrong, I am certainly not strong  in the areas of design tooling.

Agreed @aaronreed708 - I think our first step is to establish (with FINOS) the long term direction for design assets (for example, 'FINOS wishes to ensure the theme builder is self-sustaining as an open source project and does not rely on specific organizations or commercial tooling'). Once we have an agreement or a statement on the long-term direction, then we can start shifting in that direction over time. In the meantime, I think it's a great idea to have stories on the board related to evaluating PenPot and understanding the relatively new plug in that would allow us to import existing design assets (and, open issues against PenPot for gaps in the import process). Once we have a good import process, we can start to open issues related to features we'd like to see.


choices for BooleanFilter fields

Hi Alex,
I am trying to assign custom choices to a BooleanNullFilter, by default the options displayed on the form field are Yes,No and Unknown however this doesn't suit my application.
Heres my model and filter:
Model

class Feedback(models.Model):

  feedback = models.TextField(blank=True)
  addressed = models.BooleanField(default=False)

Filter

# uses the BooleanNullFilter by default

class FeedbackFilter(filter.FilterSet):

  class Meta:
    model = Feedback
    fields = ['addressed']

I tried changing the widget to one that would allow me to specify choices , this displays fine but doesn't perform the filtering :

ADDRESSED_CHOICES = (
    (True,'Adressed'),
    (False,'Not Addressed'),
    (None,'Any'),
)

class FeedbackFilter(filter.FilterSet):

  addressed =  filter.ChoiceFilter(choices=ADDRESSED_CHOICES,label='Status')

  class Meta:
    model = Feedback
    fields = ['addressed']

I also tried using a different widget, however this throws an exception:

class FeedbackFilter(filter.FilterSet):

  addressed = filter.BooleanFilter(widget=forms.Select,choices=ADDRESSED_CHOICES,label='Status')
.
.

Result:

Traceback:
File "/home/anthony/lib/python2.5/django/core/handlers/base.py" in get_response
  92.                 response = callback(request, *callback_args, **callback_kwargs)
File "/home/anthony/src/ams/trunk/src/ams/browse/views.py" in common_detail
  23.     feedback_list = feedback_set.qs
File "/home/anthony/src/django-filter/filter/filterset.py" in qs
  196.                     val = self.form.fields[name].clean(self.form[name].data)
File "/home/anthony/src/django-filter/filter/filterset.py" in form
  213.             fields = SortedDict([(name, filter_.field) for name, filter_ in self.filters.iteritems()])
File "/home/anthony/src/django-filter/filter/filters.py" in field
  50.                     widget=self.widget, **self.extra)

Exception Type: TypeError at /browse/shots/1/
Exception Value: __init__() got an unexpected keyword argument 'choices'

I expected this to work since the Select widget requires a choices argument.
I was wondering if you could offer any advice on how to get this behaviour to work without having to change my model.
Thanks
Anthony

Adding a reference to: https://code.djangoproject.com/ticket/23681#comment:5 ,
which addresses this issue as well, and explains where the Unknown, Yes and No come from, and gives another method to overwrite the widget (which will be easier when a patch for the ticket has been made and integrated into django)


fix(curriculum): strip comments from code when testing

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #43578

Fixes the Issue: Adding a comment causes a valid answer to be wrong in ES6 Challenge > Compare Scopes of the var and let keywords, by using the code variable instead of (getUserInput('index')). This ensures that any code inside comment tags does not affect the validation.
Successful test results on local instance attached.

Hi, @prashantaghoshal  Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝

Hi @gikf  and @Sembauke ,
Thank you for hand-holding and lifting me into the the Open-Source World. Feel so humbled and grateful to be able to work with you gracious and awesome folks and finally contributing to FreeCodeCamp which has played and continues to play such an invaluable role in teaching me to code!
Look forward to keep contributing to Open-Source and FreeCodeCamp. Thanks again and stay healthy and happy always.


Polymer 3.0: Async Utils is incompitiable in Edge and IE 11

Description

Live Demo
No Live Demo
Steps to Reproduce

Create custom-element
Use Debouncer together with Async from polymer utils
Build Polymer or Serve Polymer
Open Edge or IE 11 to check the console

Expected Results

No error is throw
Actual Results

Browsers Affected

[ ] Chrome
[ ] Firefox
[x] Edge
[ ] Safari 11
[ ] Safari 10
[x] IE 11

Versions

Polymer: v3.3.0
webcomponents: v2.2.10

After investigating, it is my coding cause the error. The Utils work as expected.


DuplicateRecordFields leads to incorrect completions

This bug is known to occur with vscode and LanguageClient-neovim.
Steps to Reproduce
{-# LANGUAGE DuplicateRecordFields #-}

data Foo = FooBar
  { bar :: Int
  }

Start typing bar
completion items:
 $sel:bar:FooBar Function [+] [LC] Foo -> Int^@Main
$tc'FooBar      Function [+] [LC] TyCon^@Main

I’m not sure I understand why this issue is related to DuplicateRecordFields. Can you elaborate a bit more?

$sel:bar:FooBar Function [+] [LC] Foo -> Int^@Main is suggested instead of bar     Function [+] [LC] Foo -> Int Main only when DuplicateRecordFields is active.
 $tc'FooBar Function [+] [LC] TyCon^@Main seems to be suggested regardless of whether DuplicateRecordFields is used.

I think we need to filter the suggestions, we are definitely returning junk for these.

Trivial getting-started task: change completions like $sel:bar:FooBar into bar.

@alanz I'd like to tackle this. I'd like to clarify general expectation about the fix:
Should the fix strip the $sel and constructor name name "blindly" from every completion, or should it check that DuplicateRecordFields extension is enabled (I'm not sure if that's even possible yet) before doing that?

I would strip it blindly, it is never a valid completion.
On vscode, go to File, Preferences, Settings. Then under Extensions find Haskell Language Server, and set "Trace:Server" to "Messages".

After spending some time trying to figure out the best place to do the stripping I came up with this.
https://github.com/jhrcek/haskell-ide-engine/commit/5cbfbdea9471492b264ceb70487ee54168ee0b40

LGTM, turn it into a PR

Just ran into $f prefix for derived instances.

I am coming across some other cases, and just dived into GHC's OccName.hs.
This has
mkDataConWrapperOcc = mk_simple_deriv varName  "$W"
mkWorkerOcc         = mk_simple_deriv varName  "$w"
mkMatcherOcc        = mk_simple_deriv varName  "$m"
mkBuilderOcc        = mk_simple_deriv varName  "$b"
mkDefaultMethodOcc  = mk_simple_deriv varName  "$dm"
mkClassOpAuxOcc     = mk_simple_deriv varName  "$c"
mkDictOcc           = mk_simple_deriv varName  "$d"
mkIPOcc             = mk_simple_deriv varName  "$i"
mkSpecOcc           = mk_simple_deriv varName  "$s"
mkForeignExportOcc  = mk_simple_deriv varName  "$f"
mkRepEqOcc          = mk_simple_deriv tvName   "$r"   -- In RULES involving Coercible
mkClassDataConOcc   = mk_simple_deriv dataName "C:"     -- Data con for a class
mkNewTyCoOcc        = mk_simple_deriv tcName   "N:"   -- Coercion for newtypes
mkInstTyCoOcc       = mk_simple_deriv tcName   "D:"   -- Coercion for type functions
mkEqPredCoOcc       = mk_simple_deriv tcName   "$co"

-- Used in derived instances
mkCon2TagOcc        = mk_simple_deriv varName  "$con2tag_"
mkTag2ConOcc        = mk_simple_deriv varName  "$tag2con_"
mkMaxTagOcc         = mk_simple_deriv varName  "$maxtag_"

-- TyConRepName stuff; see Note [Grand plan for Typeable] in TcTypeable
mkTyConRepOcc occ = mk_simple_deriv varName prefix occ
  where
    prefix | isDataOcc occ = "$tc'"
           | otherwise     = "$tc"

mkRecFldSelOcc s = mk_deriv varName "$sel" [fsLit s]

  = mk_deriv varName "$cp" [fsLit $ show index, occNameFS cls_tc_occ]

  = mk_deriv varName "$p" [fsLit $ show index, occNameFS cls_tc_occ]

   = mk_deriv varName "$L" [fsLit $ show uniq, occNameFS occ]

    prefix | is_boot   = "$fx"
           | otherwise = "$f"

mkDataTOcc occ = chooseUniqueOcc VarName ("$t" ++ occNameString occ)
mkDataCOcc occ = chooseUniqueOcc VarName ("$c" ++ occNameString occ)

mkMethodOcc occ                     = mk_simple_deriv varName "$m" occ

So I think we should ignore/strip out all of those too.


Add n5-zarr

It looks like there are still some issues with n5-zarr, see https://github.com/mobie/mobie-viewer-fiji/issues/572. It would be good to include it here to figure this out systematically and then report the issues upstream.

:+1: for expanding, but n5-zarr written data is at least currently tested, no?
test/test_read_all.py::test_correct_read[read n5-java N5 using z5py, gzip] PASSED [ 70%]
test/test_read_all.py::test_correct_read[read n5-java N5 using z5py, raw] PASSED [ 70%]
test/test_read_all.py::test_correct_read[read n5-java N5 using pyn5, bzip2] PASSED [ 71%]
test/test_read_all.py::test_correct_read[read n5-java N5 using pyn5, gzip] PASSED [ 71%]
test/test_read_all.py::test_correct_read[read n5-java N5 using pyn5, raw] PASSED [ 72%]
test/test_read_all.py::test_correct_read[read n5-java N5 using zarr, gzip] PASSED [ 72%]
test/test_read_all.py::test_correct_read[read n5-java N5 using zarr, raw] PASSED [ 73%]

https://github.com/zarr-developers/zarr_implementations/runs/4895966219?check_suite_focus=true#step:5:374

The tests you are referring to are testing whether n5 data format written by n5-java can be read with other libraries supporting n5 data format. (And indeed it would be good to extend these tests to make sure it can read zarr written by the other libraries).
But we don't have any tests yet to check whether zarr data format written by n5-zarr (which uses n5-java) can be read by other libraries supporting zarr data format (and I have reasons to believe that there are some issues, see above). Conversely adding tests  that read zarr data format with n5-zarr would also be good.

Ah! Of course. Thanks for the clarification, @constantinpape. That might be as easy as a flag to the n5-java command. :+1:

Agree this would be good to add. Thanks for raising Constantin! 😄


istioctl manifest migrate|apply|generate command always prints proto: tag has too few fields: "-" error

Bug description
[X] Installation
Expected behavior
proto: tag has too few fields: "-" should not be printed.
Steps to reproduce the bug
1. Prepare values.yaml (any values can produce the error)
$ cat <<EOF > values.yaml
gateways:
  enabled: true
EOF

2. Run istioctl manifest migrate
$ istioctl manifest migrate values.yaml
proto: tag has too few fields: "-"      # <= HERE
apiVersion: install.istio.io/v1alpha2
kind: IstioControlPlane
  ... snip ...

Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
$ istioctl version --remote=false --short=false
version.BuildInfo{Version:"1.4.2", GitRevision:"35eb9dc7c6e78dac5bd8c3d142bc2a4601616932-dirty", GolangVersion:"go1.13.4", BuildStatus:"Modified", GitTag:"1.4.2"}

The error is caused when this line is called.
https://github.com/istio/operator/blob/f623b65d63f2b3fa68efcea9e89090b4b3fb65b3/cmd/mesh/manifest-migrate.go#L108
And ObjectMeta here causes the error.
https://github.com/istio/operator/blob/f623b65d63f2b3fa68efcea9e89090b4b3fb65b3/pkg/apis/istio/v1alpha2/istiocontrolplane_types.proto#L175

@morvencao do you know why ObjectMeta will cause the proto: tag has too few fields: "-" error?

we have this same problem in some of our test framework somewhere - see https://prow.istio.io/view/gcs/istio-prow/logs/integ-mixer-k8s-tests_istio_postsubmit/975 for an example

I'm seeing this also on the x multicluster commands FWIW

I took a look at the error call stack this afternoon. seems like gogo protobuf cannot marshal the time.Time in apimachinery. I guess this is a typo in the tag of Time.

It's caused by some fields in ObjectMeta imported from kubernetes API, we thought that copying the ObjectMeta definition to operator API will resolve this, but it would introduce much more maintain work because there are plenty of fields in ObjectMeta.

Related to https://github.com/istio/operator/pull/382?

I think an acceptable solution would be to add a link to this issue in the log.

logging the issue does not help here, the proto: tag has too few fields: "-"  will still show up in the stderr.

I also see this if --set use used.  For example
istioctl manifest generate --set values.global.mtls.enabled=true > /dev/null
proto: tag has too few fields: "-"

I left this comment at https://github.com/kubernetes/kubernetes/issues/86739#issuecomment-585830624 but will repeat it here.
The problem is in either the gogo/protobuf library or the apimachinery library.  It can be reproduced with this short code:
import (
	"github.com/gogo/protobuf/proto"
	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
...
	_ = proto.GetProperties(reflect.TypeOf(metav1.Time{}))

Is protobuf:"-" a valid tag?  If so, fix https://github.com/gogo/protobuf/blob/master/proto/properties.go#L368 so that it ignores "-" the same way it ignores "".   If not, replace "-" with something valid.
I suspect that gogo/protobuf should ignore -.  If you agree, I could make a PR and see what they think of it.

sgtm. I also have a workaround PR which avoids the use of jsonpb unmarshal in places where it generates console errors that can't be suppressed.
https://github.com/istio/api/pull/1297


Add abstracted props in order to make internal components replaceable for all buttons

So this idea is based on the interal select component class:
https://github.com/material-components/material-web/blob/main/select/internal/select.ts#L219
https://github.com/material-components/material-web/blob/main/select/internal/select.ts#L391-L417
with this feature it was possible for our team to extend this class and replace it with our customized filled field component;  similar to what we see in the filled select component:
https://github.com/material-components/material-web/blob/main/select/internal/filled-select.ts#L15
Our team faces right now the issue that the internal focus ring/ripple component is not switching its colors correctly when we switch the theme because these are wrapped around our own version of md-button/md-icon-button. Right now we apply hacky css based solutions in order to color them correctly.
With this PR we are able to customize all material web button components better, similar to select.

We've discussed before how we might want to handle scoped custom element registration for elements used inside others (like <md-ripple>). We considered using lit static extensively, but there's a performance trade-off using lit static that we are not satisfied with, which is why we decided not to apply the approach to all subcomponents.
All subcomponents should be exposed for styling by a ::part(). You can use that and part forwarding in your own wrappers to more easily style them.

I understand the trade-off but unfortunately we have no much use for the ::part() selector since we are extending our component classes from the internal component classes of material web (e.g. companyname-filled-button with companyname based color tokens etc).
@asyncLiz Before creating yet another PR I would like to ask in advance if following approach is maybe an option:
The iconbutton base class uses private marked methods in order to render md-ripple and md-focus-ring:
https://github.com/material-components/material-web/blob/main/iconbutton/internal/icon-button.ts#L222-L235
Is it an idea to mark these methods and protected and import these dependencies on an non internal level instead?
https://github.com/material-components/material-web/blob/main/iconbutton/internal/icon-button.ts#L7-L8

No, since making them protected will expose internal parts of our API that we don't intend.
Using internal code is not something we can scalably support. I'd instead recommend cloning the repo so that you can make more extensive changes in your own version.


Update jackson-core to 2.13.4

Updates com.fasterxml.jackson.core:jackson-core from 2.13.3 to 2.13.4.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.fasterxml.jackson.core", artifactId = "jackson-core" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "com.fasterxml.jackson.core", artifactId = "jackson-core" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #44.


I made this for React Native!

Hey! Just wanted to share that I wrapped this library (and SPIndicator) for React Native. I'd never used Swift before.
You can see it here: https://github.com/nandorojo/burnt
And I wrote about it here: https://twitter.com/FernandoTheRojo/status/1592923529644625920
Thanks for the great library!

@nandorojo hello! are you support adaptation still or not?


DNSServiceRef is not initialized using v1.2.0 with mdns

I originally filed https://github.com/agnat/node_mdns/issues/167 but was able to fix the problem by rolling back the version of electron-prebuilt I was using. Basically, when I use "electron-prebuilt": "1.2.0" with "mdns": "^2.3.3" and call require('mdns') in my Electron app, I get this error:

Unexpected result while probing for avahi: TypeError: argument 4 must be a string (name)(…)

node_modules/mdns/lib/avahi.js:28 Uncaught Error: DNSServiceRef is not initialized

This is with node 6.2.0:
% npm version
{ huxleyfm: '0.0.1',
  npm: '3.9.3',
  ares: '1.10.1-DEV',
  http_parser: '2.7.0',
  icu: '57.1',
  modules: '48',
  node: '6.2.0',
  openssl: '1.0.2h',
  uv: '1.9.1',
  v8: '<IP_ADDRESS>',
  zlib: '1.2.8' }

If I switch to "electron-prebuilt": "1.1.3", no such "DNSServiceRef is not initialized" error occurs. So there's something different between electron-prebuilt 1.2.0 and 1.1.3 that prevents mdns from working. Something to do with the bundled node maybe? I'm in OS X El Capitan.

@cheshire137 Have you tried Electron 1.3.x to see if it works there? If it doesn't, would you mind moving this issue over to https://github.com/electron/electron ? Thanks.

@cheshire137 any updates?

Sorry for the delay! I haven't tried this again, I think because my needs for the app I was building changed such that I didn't need mdns. I'm cool with closing this issue. 👍

I'm cool with closing this issue. 👍

Okay, closing this out here, for anyone visiting here and having similar issues, please raise a new issue on https://github.com/electron/electron/issues for it, thanks.


How to join a chat room via XMPP?

Sorry for the silly question.
I set everything up and can now successfully have 1:1 conversations with Adium.
However I can't join a room.
File => Join group chat => general => chat.domain.com
I also tried #general and conference.chat.domain.com
These are my XMPP settings:
xmpp:
  enable: true
  roomCreation: true
  debug:
    handled: true
    unhandled: true
  port: 5222
  domain: chat.domain.com
  username: node # node / full
  tls:
    enable: false
    key: ./server.key
    cert: ./server.crt

Thanks!

For me it works just fine if I only fill in Chat Room Name
It should match the slug of your room (lowercase, etc)

Your chat room would be<EMAIL_ADDRESS>


Having problems generating .alf file in get-activation phase

Hi, I've setup everything correctly as follows. The .alf file generates however its an empty file. I'm using a personal unity license and when I try to upload it I get an error (understandably).
Here is the output of the Job:
Running with gitlab-runner 16.6.1 (f5da3c5a)
  on OVH Runner fQVhdHdmU, system ID: r_[2](https://gitlab.mageworkstudio-pro.com/cardforge-elemental-tactics/unity/gameproject/-/jobs/80#L2)Xbe1nSzJcGN
Preparing the "docker" executor
00:02
Using Docker executor with image unityci/editor:2022.1.18f1-base-1 ...
Pulling docker image unityci/editor:2022.1.18f1-base-1 ...
Using docker image sha256:[3](https://gitlab.mageworkstudio-pro.com/cardforge-elemental-tactics/unity/gameproject/-/jobs/80#L3)8e6c5bb332323cb6098986fbc09d6fda465ffd970054b7d0d6fa43347ce8d1e for unityci/editor:2022.1.18f1-base-1 with digest unityci/editor@sha256:5fc9a09bf20073ea84a256c2570a864ba1b4823e60ac5f276d540caa32541614 ...
Preparing environment
00:01
Running on runner-fqvhdhdmu-project-1-concurrent-0 via 705fafee6cff...
Getting source from Git repository
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/cardforge-elemental-tactics/unity/gameproject/.git/
Checking out 5acab2be as detached HEAD (ref is Unit-Test-Integration)...
Skipping Git submodules setup
Executing "step_script" stage of the job script
00:02
Using docker image sha256:38e6c5bb332323cb6098986fbc09d6fda[4](https://gitlab.mageworkstudio-pro.com/cardforge-elemental-tactics/unity/gameproject/-/jobs/80#L4)6[5](https://gitlab.mageworkstudio-pro.com/cardforge-elemental-tactics/unity/gameproject/-/jobs/80#L5)ffd970054b7d0d[6](https://gitlab.mageworkstudio-pro.com/cardforge-elemental-tactics/unity/gameproject/-/jobs/80#L6)fa4334[7](https://gitlab.mageworkstudio-pro.com/cardforge-elemental-tactics/unity/gameproject/-/jobs/80#L7)ce8d1e for unityci/editor:2022.1.18f1-base-1 with digest unityci/editor@sha256:5fc9a09bf20073ea84a256c2570a864ba1b4823e60ac5f276d540caa32541614 ...
$ chmod +x ./ci/before_script.sh && ./ci/before_script.sh
+ mkdir -p /root/.cache/unity3d
+ mkdir -p /root/.local/share/unity3d/Unity/
+ set +x
'$UNITY_LICENSE' env var not found
$ chmod +x ./ci/get_activation_file.sh && ./ci/get_activation_file.sh
Unity Editor version:    2022.1.18f1 (8a091f9adba4)
Branch:                  2022.1/staging
Build type:              Release
Batch mode:              YES
System name:             Linux
Distro version:          #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023
Kernel version:          5.15.0-91-generic
Architecture:            x86_64
Available memory:        64188 MB
User<EMAIL_ADDRESS>logged in successfully
[LicensingClient] Channel doesn't exist: "LicenseClient-root"
[Licensing::Module] Successfully launched the LicensingClient (PId: 116)
[SignatureVerifier] Application signature verification not supported on this platform.
[LicensingClient] Handshaking with LicensingClient:
	version: 1.10.0-rc.1+0c717dc
	Session Id: bf453d502d4641f2974cbd41b7cce2c1
	Machine Id: D7nTUnjNAmtsUMcnoyrqkgIbYdM=
[Licensing::Module] Successfully connected to LicensingClient on channel: "LicenseClient-root" (connect: 0.39s, validation: 0.05s, handshake: 0.00s)
[Licensing::Module] Connected to LicensingClient (PId: 116, launch time: 0.00, total connection time: 0.45s)
Entitlement-based licensing initiated
[LicensingClient] Successfully updated the access token
[Licensing::Module] Successfully updated the access token KU76CsqcDYUiHqWRMD4c-yQzH1GxNihQRE_tnW6MKGo005f
[LicensingClient] Error: Code 200 while updating license in client (status: Licenses updated.)
[LicensingClient] Successfully resolved entitlements
[Licensing::Module]  Error: License is not active (com.unity.editor.headless). HasEntitlements will fail.
Pro License: NO
Initialize udev device monitor.
No valid Unity Editor license found. Please activate your license.
Checking for leaked weakptr:
  Found no leaked weakptrs.
Memory Statistics:
[ALLOC_TEMP_TLS] TLS Allocator
  StackAllocators :
    [ALLOC_TEMP_CurlRequest]
      Initial Block Size 64.0 KB
      Current Block Size 64.0 KB
      Peak Allocated Bytes 0 B
      Overflow Count 0
    [ALLOC_TEMP_CoreBusinessMetricsCache]
      Initial Block Size 64.0 KB
      Current Block Size 64.0 KB
      Peak Allocated Bytes 0 B
      Overflow Count 0
    [ALLOC_TEMP_Profiler.Dispatcher]
      Initial Block Size 64.0 KB
      Current Block Size 64.0 KB
      Peak Allocated Bytes 0 B
      Overflow Count 0
    [ALLOC_TEMP_AssetGarbageCollectorHelper] x 11
      Initial Block Size 64.0 KB
      Current Block Size 64.0 KB
      Peak Allocated Bytes 0 B
      Overflow Count 0
[ALLOC_MEMORYPROFILER]
  Requested Block Size 1.0 MB
  Peak Block count 1
  Peak Allocated memory 4.4 KB
  Peak Large allocation bytes 0 B
##utp:{"type":"MemoryLeaks","version":2,"phase":"Immediate","time":1703176995572,"processId":100,"allocatedMemory":113196,"memoryLabels":[{"Default":730},{"Thread":128},{"Manager":7506},{"GfxDevice":312},{"Serialization":40},{"BaseObject":12056},{"String":5328},{"DynamicArray":560},{"HashMap":8330},{"Utility":1024},{"Curl":1112},{"PoolAlloc":10336},{"GI":3248},{"VR":80},{"Secure":6496},{"EditorUtility":2856},{"RestService":1022},{"License":344},{"UnityConnect":28584},{"Collab":25},{"LocalIPC":99},{"ProfilerEditor":20021},{"TLS":2959}]}
./unity3d.alf
### Congratulations! ###
./unity3d.alf was generated successfully!
### Next steps ###
Complete the activation process manually
   1. Download the artifact which should contain ./unity3d.alf
   2. Visit https://license.unity3d.com/manual
   3. Upload ./unity3d.alf in the form
   4. Answer questions (unity pro vs personal edition, both will work, just pick the one you use)
   5. Download 'Unity_v2019.x.ulf' file (year should match your unity version here, 'Unity_v2018.x.ulf' for 2018, etc.)
   6. Copy the content of 'Unity_v2019.x.ulf' license file to your CI's environment variable 'UNITY_LICENSE'. (Open your project's parameters > CI/CD > Variables and add 'UNITY_LICENSE' as the key and paste the content of the license file into the value)
Once you're done, hit retry on the pipeline where other jobs failed, or just push another commit. Things should be green
(optional) For more details on why this is not fully automated, visit https://gitlab.com/gableroux/unity3d-gitlab-ci-example/issues/73
Uploading artifacts for successful job
00:01
Uploading artifacts...
./unity3d.alf: found 1 matching artifact files and directories
Uploading artifacts as "archive" to coordinator... 201 Created  id=[8](https://gitlab.mageworkstudio-pro.com/cardforge-elemental-tactics/unity/gameproject/-/jobs/80#L8)0 responseStatus=[20](https://gitlab.mageworkstudio-pro.com/cardforge-elemental-tactics/unity/gameproject/-/jobs/80#L20)1 Created token=[64](https://gitlab.mageworkstudio-pro.com/cardforge-elemental-tactics/unity/gameproject/-/jobs/80#L64)_WDmp7
Cleaning up project directory and file based variables
00:01
Job succeeded

Any ideas what is wrong? I think I've followed the steps correctly.

Ok so our gitlab documentation is not up to date anymore. We had issues with Unity activation using this method and we updated the way handle activation, but only our Github Actions were updated so far.
You can compare the procedure on here:
https://game.ci/docs/github/activation
The new method is basically extracting a serial from a unity personnal license and we use it in combination with username and password.
The empty license file has been a long standing issue and that's also one of the main reason why we are moving away from this older procedure. I'm adding a note in my tasks to ping here again with an update.

For reference, here's the related issue for the empty license file:
https://gitlab.com/game-ci/unity3d-gitlab-ci-example/-/issues/171

@GabLeRoux
I'm using gitlabs not github which the link you provided follows. I assume its the repo's settings -> CI/CD -> Variables?


Use a tilde (~) on the method attribute to override the route prefix does not work if not followed by a slash (/)

As can be read here:
http://www.asp.net/web-api/overview/web-api-routing-and-actions/attribute-routing-in-web-api-2
The proper way to break out of the route prefix set at controller level for instance is to prepend the route with a tilde.
However not following this tilde with a slash does not work and the request ends up in another action.
This works (simplified):
[Route("api/v1/[controller]")]
public class CommentsController {
    [HttpGet("~/api/v1/pages/{id:int}/[controller]")]
    public Task<IEnumerable<Model>> GetMany(...) { ... }
}

[Route("api/v1/[controller]")]
public class PagesController {
    [HttpGet("{ptSlug}/{slug}")]
    public Task<Model> GetByPath(...) { ... }
}

(Take note of the subresource literal route GetMany which overlaps with GetByPath)
A call to /api/v1/pages/123/comments correctly ends up in GetMany
However changing the GetMany route to:
[HttpGet("~api/v1/pages/{id:int}/[controller]")]

Kills the joy and the request will now end up in GetByPath.

I believe you need to use just '/' in ASP.NET Core. Let me know if that doesn't work

So /api/v1/pages/{id:int}/[controller] in your case

Ahh oh that explains it ;) and everything before the first slash gets discarded then?

Yes

Hi.
It looks like you are posting on a closed issue!
We're very likely to lose track of your bug/feedback/question unless you:

Open a new issue
Explain very clearly what you need help with
If you think you have found a bug, include detailed repro steps so that we can investigate the problem


Fix nil panic in toSubstr

pos < len(s) needs to be checked in ${FOO:pos:len} just like it is checked in ${FOO:pos}.
Unit test for ${FOO:pos:len} when pos > len(s) the string of ${FOO}

Hey @car409 thanks for this fix, lovely unit tests too.


[AVM Module Issue]: 0.6.0 output missing key id required by disk encryption set resources.

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Issue Type?
Bug
(Optional) Module Version
0.6.0
(Optional) Correlation Id
No response
Description
The output changes in version 0.6.0 break disk encryption sets that reference key output by id.  Please export the id value along with the resource_id, and resource_versionless_id values.
Error generated is - key vault nested item should contain 2 or 3 segments, found 10 segment(s) .  See the disk encryption set example usage to see the straight id reference instead of the resource_id or resource_versionless_id references.

Hey @jchancellor-ms
Will add to a patch release


any plans for speeding up deployment of bigger binary blobs?

I'm deploying compiled berkeley db files - which are just big binary blobs - do you have any plans on speeding this up? This is what slows down my deploys very much. I know this is quite out of your focus right now - just asking.

How many machines are you targeting and are those machines high latency / low bandwidth? Also what Ansible module are you using today to push them? I've got plans to make file transfer more efficient, but by reducing bandwidth usage on slow links (topology aware file distribution) by using an initial hop in the remote network that can cache and redistribute as desired, but I suspect you already know about that.
As for bending the rules of networking, sadly there's not much that can be done :)  Mitogen's goal is mostly to reduce "control plane" inefficiency, there is not much that can be done with big file transfers aside from compression, except in situations where multiple targets share a high bandwidth fabric, and the smart distribution tricks from above can be used.

one target, high bandwidth, low latency - my whole setup currently aims towards deployment on "local" datacenter - so one machine in my datacenter will be my dedicated ansible machine, with high bandwidth connection to all target machines.
Currently i'm using copy, controlled by a with_filetree loop:
- name: Copy each Policy file to given target
  copy:
    src: "{{ item.src }}"
    dest: /dest/path
  with_filetree:
    - "/this/is/my/dir"
  when: item.state == 'file'

Where does mitogen store copied files? It looks like the deploy is stuck for quite a while before continuing normal. I'm deploying a few hundred files here - maybe too many files? Are there any restrictions?

I had never seen nor used with_filetree before. Keeping this open and treating it as a bug until I can reproduce locally. You might be tickling a known issue at present -- the copy module sucks the entire file into RAM, and triggers quadratic behaviour in the buffer management code on both the controller and target.
You can find it under the 'high risk' section of the docs. Have you tried timing the upload with just Ansible vs. with Mitogen? I've a feeling if you watch /usr/bin/time output, you may find controller CPU usage in the Mitogen version spiking like crazy compared to the Ansible version
Assuming that's the issue, don't worry, I very much have a solid plan for fixing it, but you're the first user who may have actually hit it :)
Basically if you have a 1GB file, Mitogen loads that up into a single big string, then feeds the string to the OS in maximum of 64KB chunks, before pruning the string prefix according to what the OS reports it was able to buffer. This will lead, in both controller and target, to up to 16 terabytes of string copies. As I say, it's easy to fix, but I only have one pair of hands!

Timings are still in progress - Mitogen really takes its time on this one.
I will have a look into other ways than copy to deploy files. Any suggestions?

The synchronize module won't be impacted, since it doesn't use the relevant Ansible APIs that Mitogen is sucking at just now -- but please assume this will be fixed in the next week or two regardless :)

i will post timings as soon as possible - will use synchronize until fixed

Just one final question – what size are your DB files (smallest and largest)? I have this GB-sized number in my head, but in reality I have never actually profiled it under any scenario

Smallest Files are 12 K biggest ~ 330 M
BTW: I had to stop the timings on mitogen copy - took more that 3h for less than 1G Data

Holy shit, that's bad! Thanks for reporting, will get on to this promptly.

Equivalent reproduction:
n = 330 * 1048576
s = ' ' * n
cs = 65536
while s:
    s = s[cs:]

its about 3G in total - should've mentioned

Mitogen-equivalent reproduction:
import mitogen

def count_bytes_in_string(s):
    return len(s)

@mitogen.main()
def main(router):
    local = router.local()

    s = ' ' * (330 * 1048576)
    print 'bytes in string...'
    print local.call(count_bytes_in_string, s)

On OS X, writes to the pipe proceeed at a maximum rate of 8192 bytes per syscall, even after fixing the quadratic buffer management. This looks super broken. Will investigate tonight

The obvious workaround for this is to just use scp and a real SSH connection just like Ansible does, but regardless this should not be a difficult problem to fix in Mitogen, and even if we fix Ansible by using SSH directly, the problem will still need to be fixed in the core library.

I've got a local prototype that pushes it from 1.4MB/sec to about 300MB/sec :D  But it's hairy as all hell, this may take a few more days to get right.
Turns out the expensive part is not in the master, but building up all the partial writes into one cohesive string on the target.
Also increased the IO chunk size form 16k to 128k to reduce IO loop iterations, and bumped the socket send and receive buffers to match. (This basically wastes some RAM in exchange for having those fast producer/consumer loops handled by the kernel rather than some crappy slow Python)

You should find that performance of the copy module to a /non sudo account/ has vastly improved. Unfortunately buffer sizes in the TTY layer are fixed at 4kb, so there is still going to be many loop iterations of the two Python interpreters on the target machine if you are sending that file across a become: invocation.
There are several ways to fix that, ranging from making sudo TTY usage a configurable parameter (gross! Configurables suck), to teaching sudo to connect back to the parent process over a (controllable buffer) socket.

Oh damn. Nope :(  This still requires more work.  We're using the TTY layer for SSH too. I completely forgot.

I m thinking about writing some kind of wdt module - but that of course wouldn't help you - but just me instead
But i'd love to provide some help - if I can

Cackles! There is a third option: while we need a controlling TTY to capture e.g. SSH and sudo password prompts (and satisfy requiretty), that does /not/ mean SSH and sudo's standard in/standard out need to be connected to that controlling TTY :)
This will require a ton of restructuring the code, but it should let us use sockets rather than TTYs in both places.

Hi, I am closing this issue and opening new ones (#148 and #149) to track further solutions to the above problems. For the time being, there is nothing more I can do to improve throughput over TTYs -- on OS X it seems to top out around 3MB/sec.
With the (unfortunately development-heavy) solution in #148, throughput should be pushed towards 200MB/sec and would constitute the real fix to the root cause of your problem above. Meanwhile I will think over the next few days about poking holes or adding configurables in Mitogen so SSH continues to be used for file transfer.
Thanks for the report, and sorry this one is longer term than you were probably hoping for!

Hi @vandlol
I've implemented the last piece of the file transfer puzzle and the code is now on master. You should see at least 14MB/sec using the built-in copy module, and ideally much better than that given a beefy machine.
Please let me know if you re-test or still bump into issues. Thanks :)  David


Change the repository name

We would like to be known as CityEnergyAnalyst as we are becoming less and less dependent on arcgis and more a general open source tool

I suggest we add an arcgis folder under the CityEnergyAnalyst main folder. Right next to the cea folder. And we also need a docs folder (or doc?) and a bin folder (for command-line scripts like the euler stuff) and a grasshopper folder for grasshopper components like the stuff @shizhongming and I are working on. Also, maybe a vistrails folder for VisTrails components. You get the picture...

PR #554 de-couples ArcGIS and the CEA (among many other goodies) and is a step in this direction.


Run both stable and preview ecosystem checks

Closes https://github.com/astral-sh/ruff/issues/8076
Follow-up to #8358
Doubles the amount of ecosystem checks we do, adding separate groups for the stable sections.
We're likely to run into GitHub comment length restrictions if there are significant deviations. However, it should not be common for changes in stable and preview to occur at the same time, nor should it be common for linter and formatter changes to occur at the same time.

PR Check Results
Ecosystem
✅ ecosystem check detected no linter changes.
Linter (preview)
✅ ecosystem check detected no linter changes.
Formatter (stable)
✅ ecosystem check detected no format changes.
Formatter (preview)
✅ ecosystem check detected no format changes.

Should we rename Ecosystem to Linter? Or use different headings:
Linter
Stable
Preview
Formatter

@MichaReiser you commented on the output from the old pr-comment. I can run manual dispatch and it should reset to the correct output.

Sure is slow!

https://github.com/astral-sh/ruff/actions/runs/6727302928


Support for recurring events with BYDAY attribute

If you have a recurring event with BYDAY attribute, and if you retrieve all events within a period, you will only get all occurences of the recurring event having a weekday equal to the weekday of the first occurence.
Supporting this would require enhancements in the create_recurring_events method of the icalparser.py module.
for example:
Event description: b'Peak'
Event datestart : 2018-02-01 08:00:00+01:00
Event dateend : 2018-02-01 18:00:00+01:00
Event recurrence rule: vRecur({'FREQ': ['WEEKLY'], 'BYDAY': ['MO', 'TU', 'WE', 'TH', 'FR']})
Search period start: 2017-07-12
Search period end: 2018-02-24
Number of events found: 4

NEW EVENT
Event description: Peak
Event datestart : 2018-02-01 08:00:00+01:00
Event dateend : 2018-02-01 18:00:00+01:00
NEW EVENT
Event datestart : 2018-02-08 08:00:00+01:00
Event dateend : 2018-02-08 18:00:00+01:00
NEW EVENT
Event datestart : 2018-02-15 08:00:00+01:00
Event dateend : 2018-02-15 18:00:00+01:00
NEW EVENT
Event datestart : 2018-02-22 08:00:00+01:00
Event dateend : 2018-02-22 18:00:00+01:00

Would it be possible to implement this?
Thanks,
Laurent

Thanks @irgangla for merging my PR.
@debackel, the fix is now available from pypi as version 0.1.3

@arturom Many thanks for the enhancement. I made a few tests on version 0.1.3, looks fine. Thanks again!


Sort the dashboard landing page

[ ] Steps should be sorted by kind: views, singletons, and parametric steps.
[ ] Steps should be sorted by scope/step set/module or something
[ ] Links should use only the short name of the steps, with the rest given by the context
[ ] For singletons, whether the object is in store or not should be checked immediately and displayed too
Also:
[ ] tasks bound with bind should show up too
[ ] tasks appearing at top level in the module should show up too

(rationale: bound tasks can be used as inputs, top-level tasks as target of galp.client, so both are "visible" to galp in a way)

Removing along with #66, also these are obsolete as we removed injection and "steps" that can be displayed, removing much of the interest.


b-scrollspy directive

I love bootstrap-vue-3.
When will b-scrollspy directive released?
Can I participate in development this framework?
Thank you.

implemented in #1631


Ns search

added capability to search

add data-* attributes to card fragments
small css fixes

This change is

@natibekele Have you tried the phone & tablet mode? It doesn't look right on my side

src/main/resources/css/common.css, line 75 at r3 (raw file):

    width: 100%;
    height: 100%;
}

I think this CSS is causing this weird stuff to happen with the navbar.

src/main/resources/css/chapters.css, line 39 at r8 (raw file):
Previously, jsarabia (Joe) wrote…
indent

Fixed

src/main/resources/templates/fragments/filter.html, line 18 at r8 (raw file):
Previously, jsarabia (Joe) wrote…
some indentation here contains an extra space

Done!


InsecureRequestWarning spams log

Hello!
Maybe dumb question but is following necessary?:
if ssl_verify is False:
warnings.simplefilter("default", category=requests.packages.
urllib3.exceptions.
InsecureRequestWarning)

My Home Assistant core log is getting spammed by these warnings.

What version of HomeAssistant are you using?  This was replaced in HA by another project that is async and specifically maintained for HA.

Ahaa, ok! Sorry didnt know that. Im running the latest stable release so its definately replaced then..


SPHttpClientBatch missing in spfx 1.16.1 and 1.16.0-rc0?

What type of issue is this?
Question
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Target SharePoint environment
SharePoint Online
What browser(s) / client(s) have you tested

[ ] 💥 Internet Explorer
[X] 💥 Microsoft Edge
[ ] 💥 Google Chrome
[ ] 💥 FireFox
[ ] 💥 Safari
[ ] mobile (iOS/iPadOS)
[ ] mobile (Android)
[ ] not applicable
[ ] other (enter in the "Additional environment details" area below)

Additional environment details

browser version Edge latest
SPFx 1.16.1 with yo @microsoft/sharepoint --plusbeta
SPFx 1.16.0-rc0 yo @microsoft/sharepoint --plusbeta
Node.js 16.17.0
etc

Issue description
No matter which SPFX version I try: latest 1.16.1 or next 1.16.0-rc0 with optional --plusbeta to generate a new solution, I cannot use the SPHttpClientBatch in my code.
I get the message that it is not available in @microsoft/sp-http library when I try to import it.
Going into the node-modules to check the exported SPHttpClientBatch in sp-http module, it is also unavailable (or commented out).
Is this real? I guess we cannot use this batching option anymore in spfx?
Do you have an alternative option for making batch requests?
Thank you,
Marian

@marianmihaiu - SPHttpClientBatch is a beta API.
You should use beta versions of SPFx to get access to it.
--plusbeta flag has been deprecated a while ago.
Just use the latest available beta.
NOTE: as this is a beta API we don't recommend using it in production


EMB Hack

You cannot hack Extended base containers.

I know, isn't it weird ;)

This feature doesn't exist yet


Add persistant authentication

What kind of change does this PR introduce?
Feature for https://github.com/supabase/gotrue-dart/issues/8
What is the current behavior?
No way to preserve the session state.
What is the new behavior?
Session state is always saved locally. Ability to recover the previous session, without saving state manually.
Additional context

Tested iPhone 12 emulator
Tested Android Pixel 3 emulator
Tested Chrome

@phamhieu Please let me know what you think. I'm still getting familiar with dart's new null safety.
I don't like that recoverSession() has to be called manually, but calling it in the constructor causes a race condition and recovering the session can take longer than the next request to user() and I would hate to make that a Future<User>.
I see this is as a good step in the right direction, but I look forward to hearing your thoughts & suggestions.

Amazing work! @atnegrete. Thank you

but calling it in the constructor causes a race condition and recovering the session can take longer than the next request

yeah, as we need to await for getting saved session string from storage. Manually call recoverSession is good for now.

@phamhieu  Thanks for feedback, I'll do the changes this evening if I can.
I did notice that race condition could be happening on the supabse-gotrue js implementation. I can spin up an angular project later as well, but I'm curious if you know if that's happening there?

@atnegrete what do you think about https://pub.dev/packages/hive

You can use Hive just like a map. It is not necessary to await Futures.

look very promise to support recoverSession automatically.

@phamhieu  It seems there's always a catch 😢 We can't escape the awaits lol
https://docs.hivedb.dev/#/
Open a Box
All of your data is stored in boxes.

var box = await Hive.openBox('testBox');

You may call box('testBox') to get the singleton instance of an already opened box.

You are right @atnegrete. For hive, we still need to await for openBox before we can use it directly.

Similar issue with handling the 'box.close()', I'm not sure where to set up that callback. Would we need a 'SupabaseClient.close()' method to handle closing everything correctly?

True. Thank you @atnegrete for your hard work on this PR.
Right now, i still think it's much easier to manage session storage in the flutter app instead of this library.
It is complicated to support a dart storage system. And we only use it to store a single session string.
Let me know your thought @atnegrete.

@phamhieu Yeah, it's a mixed bag for sure.
I can certainly fork this repo & tailor it more for flutter if that's a better route.

Similar issue with handling the 'box.close()', I'm not sure where to set up that callback. Would we need a 'SupabaseClient.close()' method to handle closing everything correctly?

True. Thank you @atnegrete for your hard work on this PR.
Right now, i still think it's much easier to manage session storage in the flutter app instead of this library.
It is complicated to support a dart storage system. And we only use it to store a single session string.
Let me know your thought @atnegrete.

It would be good to do this anyways, to close all the real-time connections that got left open?

i think there should be a guide to hydrate the session...
im using getx , for statemanagement , routing ...
i have to create an auth service for me hydate the session like so
Future<void> hydateAuth() async {
    if (strSession != null) {
      final response = await auth.recoverSession(strSession);
      if (response.error != null) {
        _destroySession();
      } else {
        _persistSession(response.data.persistSessionString);
      }
    }
  }

and i need to add this line to the init function
@override
  void onInit() {
    // recover session when doing hot reload
    hydateAuth();
    ever(_isLogged, redirectView);
    super.onInit();
  }

I dont think adding a storage system is out of scope in supabase,
but adding some decent example how to handle
expiring token, hydating session, dynamic url when using confirm on sign up
would be awesome to the community to make this more usually for other folks

It would be good to do this anyways, to close all the real-time connections that got left open?

@atnegrete, i'm so sorry for not replying your question in time. After doing some research about dart/flutter packages, I think a better way to support persistent authentication is creating a Supabase Flutter package.
With a separate flutter package we can also support other Flutter features like: 3rd Oauth provider sign in, proper clean up real-time connection on app close (good suggestion)...

i think there should be a guide to hydrate the session...
im using getx , for statemanagement , routing ...

Totally agree with you @goldcoders, this' something we need to improve.

I really like the idea of creating a supabase-flutter package!


Toolbar displays beneath the drawer

What Angular MDC version are you using?
0.34.4
What browser(s) is this bug affecting?
Google Chrome Version 66.0.3359.117
What OS are you using?
Windows 10 64bit
What are the steps to reproduce the bug?
Download the drawer example from here https://stackblitz.com/edit/angular-mdc-drawer
and run it on your local, note this issue persists even when I am reproducing the steps from a clean angular cli project.
What is the expected behavior?
The placement of the toolbar and drawer behavior to be the same as the example.
What is the actual behavior?
The drawer does not push the content and toolbar down leaving a huge white space
Any other information you believe would be useful?

@MogauGeeky Thank you for reporting this. I'll take a look.

I've upgraded the StackBlitz example to v0.34.4, if you'd like to re-pull. Pretty sure this is an invalid display property, will investigate.

Duplicated. Working on a fix now.

@MogauGeeky Published v0.34.5

@trimox Sorry for the delayed response, I pulled the latest stackblitz example and everything is working as expected. Thanks for your help


Deformable convolutions for Equirectangular projected images

🚀 Feature
PyTorch/TorchVision implementation of EquiConvs, a deformable convolution tailored to process equirectangularly projected images, that is images produced by 360 degrees cameras.
Motivation
With 360 degrees cameras or videos, one can capture a spherical 360 degree view, which then is projected to a 2D screen. One of the projection used is the equirectangular projection. This projection introduces distortions near the the edges (top, bottom, left and right) and corners. These distortions can cause unwanted results when these images are processed by ordinary convolutional neural networks.
One of the attempts to rectify this problem is the EquiConvs by C.Fernandez et, al  which has been implemented for TensorFlow. EquiConvs was based on and a type of deformable convolution that can take into account the edge and corner distortions of equirectangular projection. The main difference from deformable convolution is that the offsets for the convolution kernel was not learned but fixed according to the relation between the equirectangular images and the spherical images. Because of this, only a simple modification from the  existing deform_conv.py is needed to implement EquiConvs for pytorch and torchvision.

Pitch
360 degree image processing are useful for Robotics and VR, in addition to owners of the 360 cameras.  Neural networks should be able to process them as well as ordinary perspective images. There are several proposals to do this; in addition to the work by C. Fernandez et. al.  there are related works such as mapped convolutions and Kernel Transformer Networks for Compact Spherical Convolution, which indicates active research in this area.
Additional context
EquiConvs enable spherical and equirectangular image processing.

Hi,
Thanks for the nice explanation, it was very clear!
If I understand it correctly, there is no need to change DeformConv2d in torchvision to implement this.
All you need is a function that maps the input into the offsets following the distortion rules that you want, and pass this to DeformConv2d I believe.
Here is one (toy) example:
class MyDeformConv(DeformConv2d):
    def compute_offset(self, input):
        h, w = input.shape[-2:]
        grid_w, grid_h = torch.meshgrid(torch.arange(w), torch.arange(h))
        # dummy offsets
        offsets = torch.stack([grid_w.sin(), grid_h.cos()], dim=0)
        # also need to handle batch
        return offsets

    def forward(self, input):
        return super().forward(input, self.compute_offset(input))

Let me know what you think, but I believe for now this can live in user code, as it also probably requires having a way to handle the spherical images (which is not currently handled by torchvision).
As such I'm closing the issue but let me know if you think differently.

@fmassa the computation of offsets creates a huge overhead : I am thinking to pre-compute them, using, say a LUT-like approach.
How would you do this ?


[OS X] Application doesn't replace colon with slash in file name presented to user

Steps to reproduce

touch Foo\:Bar.txt
open -b com.github.atom Foo\:Bar.txt
Inspect opened window

Expected result
Application presents file name as Foo/Bar.txt
Actual result
Application presents file name as Foo:Bar.txt
Screenshots
Window title:

Tab title:

Sidebar:

Bottom bar:

Affected version
0.100.0
Environment
OS X 10.9.3

Given the lack of interest and progress in this I'm going to go ahead and close this issue.


NPM affected by CVE-2023-23596

Hello,
I saw that NPM was affected by this CVE :
https://www.cyberveille-sante.gouv.fr/alertes/nginx-proxy-manager-cve-2023-23596-2023-01-23
https://nvd.nist.gov/vuln/detail/CVE-2023-23596
Is this being fixed?
Sorry, if it was already issued.
Thank you

Is there any plans to fix this CVE shortly? We are also running proxy manager on production sites and some of our clients has started flagging this CVE to us with a short window to fix it.
Thanks :)


Add link to @RosieDaSerenata tweets

A possible roadmap would be a custom Django command to scrap @RosieDaSerenata to:

[ ] Parse tweets and figure out the document_id
[ ] Check if tweet exists in Jarbas database
[ ] Save link to a new model (or add a field to Reimbursement model)
[ ] Add a link in the UI (eg next to fetch/view receipt )

Working on it on https://github.com/datasciencebr/jarbas/tree/cuducos-read-rosies-tweets — feel free to check and open PR to this branch.

Check this out before working on the first item: whistleblower/targets/twitter.py#L84. Whistleblower maintains a database with document_id/tweet_id.

Whistleblower maintains a database with document_id/tweet_id

Does this MongoDB has a public accessible IP/domain, @Irio?


Does not recognise adapter-vercel build directory

Issue
svelte-sitemap does not recognise the build directory when using adapter-vercel, regardless of what output directory is provided.
Details
Error
× Make sure you are using this script as 'postbuild' so '.vercel_build_output' folder was successfully created before running this script. See https://github.com/bartholomej/svelte-sitemap#readme
Scripts
Relevant excerpt from package.json:
"scripts": {
    "postbuild": "yarn generate:sitemap",
    "generate:sitemap": "svelte-sitemap -d https://www.example.com -o .vercel_build_output"
}

Versions
"svelte-sitemap": "^2.1.1"
"@sveltejs/adapter-vercel": "next" (version "1.0.0-next.28" in yarn.lock)
"@sveltejs/kit": "next" (version "1.0.0-next.159" in yarn.lock)
I've tried adding ls -a in the postbuild script prior to running generate:sitemap and the output includes .vercel_build_output, so the directory does exist

I was able to get this working with...
"scripts": {
    ...
    "postbuild": "yarn generate:sitemap",
    "generate:sitemap": "svelte-sitemap --domain [mydomain]; cp build/sitemap.xml static/sitemap.xml"
  }

...And these vercel app settings:

it's odd, I'm trying method from @baisong, but I keep on having these errors:
yarn run v1.22.17
--
15:49:55.732 | $ svelte-sitemap --domain https://mydomain.vercel.app; cp build/sitemap.xml static/sitemap.xml
15:49:55.894 | > Using svelte-sitemap
15:49:55.901 | × Folder 'build/' doesn't exist.
15:49:55.901 | Make sure you are using this library as 'postbuild' so 'build/' folder was successfully created before running this script. See https://github.com/bartholomej/svelte-sitemap#readme
15:49:55.901 | × File 'build/sitemap.xml' could not be created.
15:49:55.904 | cp: cannot stat ‘build/sitemap.xml’: No such file or directory
15:49:55.916 | error Command failed with exit code 1.
15:49:55.916 | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
15:49:55.940 | Error: Command "npm run build" exited with 1

I made sure the Buld & Developments Settings matches…

@dev-ofty And have you seen this? https://github.com/bartholomej/svelte-sitemap/issues/31#issue-1528564567

@bartholomej Oh thank you, obviously i didn't check enough. Thank you.

@dev-ofty Just let us know if this is the solution for you ;) If so, I will mention it in readme.

I found a good solution ...
"scripts": {
		"postbuild": "npx svelte-sitemap --out-dir .vercel/output/static --domain https://yourdomain.com; cp .vercel/output/static/sitemap.xml static/sitemap.xml"
		}


Counting set bit

Added C++ code for issue #1735, @OjusWiZard, @Rohan27s, @rish-singhal sir can you please review my code.

@Mugdha-Hazra resolve the conflicts


reach out to BOINC projects: GRC donate button (from coinpayments)

 Issue by Erkan-Yilmaz
Sunday Jan 22, 2017 at 01:05 GMT
Originally opened as https://github.com/Erkan-Yilmaz/Gridcoin-tasks/issues/27

@grctest : "We should reach out to BOINC projects, asking them to add a donate button (or one of those 'one-name' things) to their website so that we can easily donate GRC to them."
There is a template letter available to do this (ask @Peppernrino)
questions:

only whitelisted BOINC projects ?
check letter
should we get an official email from gridcoin.us ? (ask @grctest)

mentioned in hangout 22:

 Comment by MagixInTheAir
Monday Aug 28, 2017 at 20:31 GMT

I think it is a good idea to make it mandatory when a good part of the whitelisted projects agreed on adding a donate button - If we don't wait, it may lead to deleting project for the mere reason they didn't put a button. On the other hand, it could be a very good communication for grc and I think it is a good idea :)

 Comment by grctest
Sunday Jan 22, 2017 at 15:42 GMT

I think we'll have the highest success rate with whitelisted projects.
I don't think it'll be necessary to use an official gridcoin.us email address; many projects do not provide public email addresses, we'll likely have to create a topic in their message boards and also private messaging the project admins/moderators via the project's inbuilt messaging system.
Do you think making this mandatory would be effective?

 Comment by tomasbrod
Monday Aug 28, 2017 at 21:45 GMT

Gridcoins purpose is to augment BOINC and not to impose limits and restrictions. Therefore I don't agree with requiring donate button as a requirement to enter the white-list.

 Comment by Erkan-Yilmaz
Tuesday Aug 29, 2017 at 13:41 GMT

iirc, most of the BOINC admins I asked in the interviews did not want the button

Incredibly unlikely that BOINC projects will do this, at the workshop many opposed endorsing Gridcoin. If projects are accepting crypto they should be asked if they also accept gridcoin, but in the mean time this task has an impossible goal - closed.


Is there any possible to make it a chrome extension?

Thank you a lot! It's really cool and save my day! Really great job!
Can it be a chrome extension to auto enable when in dev mode?

I just had the Same thought

Really need it.

Hey @NisargIO I've created a chrome extension. I know you're working on a solid and official extension. I'll take down mine when you publish the official. It requires the React Dev Tools enabled too to make it work for some sites. It's just a wrapper around the npm react-scan package: https://chromewebstore.google.com/detail/react-scan-toggle/jenlhondkkckfmehobgliecmdngfdkbo?authuser=0&hl=es
The code is available here: https://github.com/davidgg/react-scan-toggle-chrome

Hey @NisargIO I've created a chrome extension. I know you're working on a solid and official extension. I'll take down mine when you publish the official. It requires the React Dev Tools enabled too to make it work for some sites. It's just a wrapper around the npm react-scan package: https://chromewebstore.google.com/detail/react-scan-toggle/jenlhondkkckfmehobgliecmdngfdkbo?authuser=0&hl=es
The code is available here: https://github.com/davidgg/react-scan-toggle-chrome

pinging @aidenybai too

I think we can close this one now.
CHROME_EXTENSION_GUIDE.md


How to show if someone follows me?

I noticed the method exists_friendship is removed, and now I don't know how to know if someone is following me (by the screen name). I noticed show_friendship may help, but I didn't find some documentation about that, or the object Friendship.
Thanks.

From the following, you can see that the Friendship model just parses the relationship data from Twitter's API:
https://github.com/tweepy/tweepy/blob/cc3c8e7cae73d28b9a75edb7342f89f04da99702/tweepy/models.py#L223-L239 For an example for what that looks like when returned by the friendships/show endpoint, you can see Twitter's API documentation at https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-show.html.
What you're interested in is accessible through friendship[0].following/friendship[1].followed_by or friendship[1].following/friendship[0].followed_by, depending on which direction the follow is between source and target.
Alternatively, you can use API.lookup_friendships for relationships of the authenticating user:
https://github.com/tweepy/tweepy/blob/cc3c8e7cae73d28b9a75edb7342f89f04da99702/tweepy/api.py#L518-L533 See https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-friendships-lookup.


Some issues I have found

Description

[ ] Reddit currently errors out due to this video has no audio.
[ ] The 18+ video website errors out due to Could not extract video url.

Version info
Client used: erela.js
Output of java -version:
openjdk version "17.0.1" 2021-10-19
OpenJDK Runtime Environment (build 17.0.1+12-Ubuntu-120.04)
OpenJDK 64-Bit Server VM (build 17.0.1+12-Ubuntu-120.04, mixed mode, sharing)

Both of these issues have been resolved in version 1.1.3


Idea: Content Templates (aka Blueprints)

Could Inner Content leverage the use of Content Templates (aka Blueprints) for content selection?
The use-case would be to pre-configure a content block, then let it be selectable from the Content Type picker overlay.  We could attempt to re-use Umbraco's UI here?

This is open to community feedback.

Dev notes - as we investigate...

Here are the components from Umbraco... the view and controller:
https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI.Client/src/views/content/create.html
https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI.Client/src/views/content/content.create.controller.js
The issue with the view is that it contains the dialog footer, along with the "Do something else" button/action.
The controller is tightly bound with the call to contentTypeResource.getAllowedTypes - which is based on the content node id.
I'm not sure how we could get around either of those issues.  We'll most likely need to copy code from Umbraco core.

Sounds like it'll be the simpler and less error prone option.
On Sun, 25 Mar 2018, 8:47 pm Lee Kelleher<EMAIL_ADDRESS>wrote:

Dev notes - as we investigate...
Here are the components from Umbraco... the view and controller:
https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI.Client/src/views/content/create.html
https://github.com/umbraco/Umbraco-CMS/blob/dev-v7/src/Umbraco.Web.UI.Client/src/views/content/content.create.controller.js
The issue with the view is that it contains the dialog footer, along with
the "Do something else" button/action.
The controller is tightly bound with the call to
contentTypeResource.getAllowedTypes - which is based on the content node
id.
I'm not sure how we could get around either of those issues. We'll most
likely need to copy code from Umbraco core.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/umco/umbraco-inner-content/issues/20#issuecomment-375997807,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAgLycyXiPCDfVdAmQob8hkkNLf7pwyfks5th_Q6gaJpZM4S0JWO
.

We'll need to bump up minimum Umbraco version to v7.7.0 - any issues with that?

is it needed from a dll reference perspective? Or just from JS perspective? As could do a client side version check and only allow that feature if 7.7 and above?

We need it for a ContentService API call, GetBlueprintsForContentTypes.

So really, that could be checked client side, and just not make the API call for older versions? Maybe this is all too much though given inner content is new anyway? What version are we targeting currently?

Currently targeting 7.4.0.  We could do this as a "breaking change" and bump up to a v2? (with no immediate rush in doing that)

Closing this ticket. We can discuss the implementation on PR #23


Add SSH and RDP capabilities to Sunstone

Author Name: OpenNebula Systems Support Team (OpenNebula Systems Support Team)
Original Redmine Issue: 5100, https://dev.opennebula.org/issues/5100
Original Date: 2017-04-06

In a similar fashion as VNC capability

Duplicated by #591


Reduce length of XCTest command line

Previously we would list every test we wanted to run in the XCTest command line. This causes issues on Windows where the maximum length for a command line is 4096 characters. This PR tries to avoid by reducing the length of the XCTest command line

If all tests are run then it will not include an -XCTest filter at all
Where it can it will use the XCTestCase class name as a filter instead of adding an entry for every function in that class.

@svanimpe Can you try again.

The output I get now is:
> Test run started at 27/9/2022, 11:41:18 <

Test Suite 'All tests' started at 2022-09-27 11:41:18.276
Test Suite 'debug.xctest' started at 2022-09-27 11:41:18.280
Test Suite 'HelpTests' started at 2022-09-27 11:41:18.280
Test Case 'HelpTests.testConfigHelp' started at 2022-09-27 11:41:18.281
Test Case 'HelpTests.testConfigHelp' passed (0.007 seconds)
Test Case 'HelpTests.testCustomHelpNames' started at 2022-09-27 11:41:18.288
Test Case 'HelpTests.testCustomHelpNames' passed (0.001 seconds)
Test Case 'HelpTests.testGetMirrorHelp' started at 2022-09-27 11:41:18.289
Test Case 'HelpTests.testGetMirrorHelp' passed (0.243 seconds)
Test Case 'HelpTests.testGlobalHelp' started at 2022-09-27 11:41:18.532
Test Case 'HelpTests.testGlobalHelp' passed (0.002 seconds)
Test Case 'HelpTests.testGlobalHelp_messageForCleanExit_helpRequest' started at 2022-09-27 11:41:18.534
Test Case 'HelpTests.testGlobalHelp_messageForCleanExit_helpRequest' passed (0.001 seconds)
Test Case 'HelpTests.testGlobalHelp_messageForCleanExit_message' started at 2022-09-27 11:41:18.535
Test Case 'HelpTests.testGlobalHelp_messageForCleanExit_message' passed (0.001 seconds)
Test Case 'HelpTests.testInheritImmediateParentHelpNames' started at 2022-09-27 11:41:18.536
Test Case 'HelpTests.testInheritImmediateParentHelpNames' passed (0.0 seconds)
Test Case 'HelpTests.testNoHelpNames' started at 2022-09-27 11:41:18.536
Test Case 'HelpTests.testNoHelpNames' passed (0.002 seconds)
Test Case 'HelpTests.testSimpleHelp' started at 2022-09-27 11:41:18.538
Test Case 'HelpTests.testSimpleHelp' passed (0.015 seconds)
Test Case 'HelpTests.testSubCommandCustomHelpNames' started at 2022-09-27 11:41:18.553
Test Case 'HelpTests.testSubCommandCustomHelpNames' passed (0.0 seconds)
Test Case 'HelpTests.testSubCommandInheritHelpNames' started at 2022-09-27 11:41:18.553
Test Case 'HelpTests.testSubCommandInheritHelpNames' passed (0.0 seconds)
Test Suite 'HelpTests' passed at 2022-09-27 11:41:18.553
         Executed 11 tests, with 0 failures (0 unexpected) in 0.272 (0.272) seconds
Test Suite 'Tests' started at 2022-09-27 11:41:18.553
Test Case 'Tests.testParsing' started at 2022-09-27 11:41:18.553
Test Case 'Tests.testParsing' passed (0.055 seconds)
Test Case 'Tests.testParsingWithGlobalOption_1' started at 2022-09-27 11:41:18.609
Test Case 'Tests.testParsingWithGlobalOption_1' passed (0.155 seconds)
Test Case 'Tests.testParsingWithGlobalOption_2' started at 2022-09-27 11:41:18.764
Test Case 'Tests.testParsingWithGlobalOption_2' passed (0.031 seconds)
Test Case 'Tests.testParsingWithGlobalOption_3' started at 2022-09-27 11:41:18.795
Test Case 'Tests.testParsingWithGlobalOption_3' passed (0.136 seconds)
Test Suite 'Tests' passed at 2022-09-27 11:41:18.931
         Executed 4 tests, with 0 failures (0 unexpected) in 0.377 (0.377) seconds
Test Suite 'CompletionScriptTests' started at 2022-09-27 11:41:18.931
Test Case 'CompletionScriptTests.testBase_Bash' started at 2022-09-27 11:41:18.931
Test Case 'CompletionScriptTests.testBase_Bash' passed (0.012 seconds)
Test Case 'CompletionScriptTests.testBase_Fish' started at 2022-09-27 11:41:18.943
Test Case 'CompletionScriptTests.testBase_Fish' passed (0.003 seconds)
Test Case 'CompletionScriptTests.testBase_Zsh' started at 2022-09-27 11:41:18.946
Test Case 'CompletionScriptTests.testBase_Zsh' passed (0.006 seconds)
Test Case 'CompletionScriptTests.testCustomCompletions' started at 2022-09-27 11:41:18.952
Test Case 'CompletionScriptTests.testCustomCompletions' passed (0.003 seconds)
Test Case 'CompletionScriptTests.testEscaped_Zsh' started at 2022-09-27 11:41:18.955
Test Case 'CompletionScriptTests.testEscaped_Zsh' passed (0.0 seconds)
Test Case 'CompletionScriptTests.testHiddenSubcommand_Bash' started at 2022-09-27 11:41:18.955
Test Case 'CompletionScriptTests.testHiddenSubcommand_Bash' passed (0.001 seconds)
Test Case 'CompletionScriptTests.testHiddenSubcommand_Fish' started at 2022-09-27 11:41:18.956
Test Case 'CompletionScriptTests.testHiddenSubcommand_Fish' passed (0.001 seconds)
Test Case 'CompletionScriptTests.testHiddenSubcommand_Zsh' started at 2022-09-27 11:41:18.957
Test Case 'CompletionScriptTests.testHiddenSubcommand_Zsh' passed (0.0 seconds)
Test Suite 'CompletionScriptTests' passed at 2022-09-27 11:41:18.957
         Executed 8 tests, with 0 failures (0 unexpected) in 0.026 (0.026) seconds
Test Suite 'DumpHelpGenerationTests' started at 2022-09-27 11:41:18.957
Test Case 'DumpHelpGenerationTests.testDumpA' started at 2022-09-27 11:41:18.957
Test Case 'DumpHelpGenerationTests.testDumpA' passed (0.008 seconds)
Test Case 'DumpHelpGenerationTests.testDumpB' started at 2022-09-27 11:41:18.965
Test Case 'DumpHelpGenerationTests.testDumpB' passed (0.006 seconds)
Test Case 'DumpHelpGenerationTests.testDumpExampleCommands' started at 2022-09-27 11:41:18.971
D:\a\1\s\swift-corelibs-foundation\Sources\Foundation\Bundle.swift:113: Fatal error: init(for:) is not yet implemented

> Test run finished at 9/27/2022, 11:41:18 AM <

So it seems to work, until it hits a test that throws a fatal error.


New package: Threaded v0.2.0

Registering package: Threaded
Repository: https://github.com/marekdedic/Threaded.jl
Created by: @marekdedic
Version: v0.2.0
Commit: a588768a7a5f7d7f3f95b20097bd365c68f47846
Reviewed by: @marekdedic
Reference: https://github.com/marekdedic/Threaded.jl/issues/26#issuecomment-539997299

Needs a [compat] section in Project.toml with at least an entry for julia itself, e.g.:
[compat]
julia = "1"

would mean that the package is compatible with Julia versions [1.0.0, 2.0.0).
This is a bit of a generic name. Perhaps something a bit more descriptive ThreadedReductions or ThreadedMapReduce?

I've added the [compat] section for julia (no dependencies).
I agree thet the name is a bit too generic. Originally, I called the package ThreadedMap, but over the time as I added more functions the name was less and less fitting. I thought about something like ThreadedFunctions but that seemed too general. ThreadedMapReduce on the other hand seems unfitting because there are more functions than just the two... (And I can see more yet to come). So far, I've been mainly thinking about functions on iterable collections, so maybe something like ThreadedIterables?

Are you happy with the name @marekdedic ?

Personally, I like ThreadedCollections the best.
ThreadedIterables is also good.

Looks like #4688 replaces this.


This tutorial does not work.  The preview Tables view doesn't show up, no matter what.

This tutorial does not work.  The preview Tables view doesn't show up.
The resource provider cannot be re-registered either (that sometimes helps).
Please update the docs with the right steps, or pull it if this preview feature is no longer available.

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

ID: 4722599e-952c-f9f1-4e00-1dbaadd6dccc
Version Independent ID: e7654b0b-b5d8-154f-b994-8af5da5d578c
Content: Tutorial - Add ingestion-time transformation to Azure Monitor Logs using Azure portal - Azure Monitor
Content Source: articles/azure-monitor/logs/tutorial-ingestion-time-transformations.md
Service: azure-monitor
Sub-service: logs
GitHub Login: @guywi-ms
Microsoft Alias: guywild

I missed the onboarding link.  I will investigate it now:
https://forms.office.com/Pages/ResponsePage.aspx?id=v4j5cvGGr0GRqy180BHbR82cGrAJ87tNoz63iRjsdE1UNU5DM1dKUEIxT01PRTVBMVBHR0tHQUhWWS4u

Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .

I have closed the issue.  Another page mentioned the preview signup.  I am tryi g that now.
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: himanshusinha-msft @.>
Sent: Friday, April 22, 2022 10:31:53 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Cary Roys @.>; Author @.>
Subject: Re: [MicrosoftDocs/azure-docs] This tutorial does not work. The preview Tables view doesn't show up, no matter what. (Issue #91935)
Thanks for the feedback and bringing this to our notice . At this time we are reviewing the feedback and will update the document as appropriate .
—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F91935%23issuecomment-1107347844&data=05|01|Cary.Roys%40microsoft.com|2a6f6fa6901d4c4d3d0e08da24d9cf9d|72f988bf86f141af91ab2d7cd011db47|1|0|637862815152472057|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=mkxTawfNMfWHvUvjidV%2B6g%2FIRF9CwjlbBxDW%2FhLbkV8%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FATIOO2GEC7ZAB73I6VG6CVDVGNVKTANCNFSM5UD5AESQ&data=05|01|Cary.Roys%40microsoft.com|2a6f6fa6901d4c4d3d0e08da24d9cf9d|72f988bf86f141af91ab2d7cd011db47|1|0|637862815152472057|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=gc2xxKHPKYrHikhvCwM2GLurTlsakbm%2FJB3gvPVJu%2Bs%3D&reserved=0.
You are receiving this because you authored the thread.Message ID: @.***>


Vapor Support

Thanks for the great package! I just have one query though:
It doesn't appear to from the documentation, but does Canvas support file uploads using Laravel Vapor? Specifically, I'm referring to streaming the files to S3 from the frontend. The Vapor documentation for this can be found here: https://docs.vapor.build/1.0/resources/storage.html#file-uploads
Thanks!

Glad you're finding the package useful!
I haven't dug into compatibility with Vapor before, but I'll take a look!


publish-lockfile breaks unrelated sub-project

So for my project cargo-tarpaulin I've had to switch to the nightly publish-lockfile to get past an issue some users have had. As tarpaulin is meant to run on other peoples crates in my tests folder I have a folder called data with some sub-projects to run tarpaulin on to make sure it works.
However, now when I go into  subproject and run cargo test on stable it gives me an error because of the present of publish-lockfile in the project root. But as these test projects aren't used to by tarpaulin and don't pull in tarpaulin as a library and my current working directory is their root I don't think they should take into account any parent folders.
Here is a link to the project https://github.com/xd009642/tarpaulin/tree/master/tests/data/simple_project
The error:
[xd009642@localhost simple_project]$ cargo test
error: failed to parse manifest at `/home/xd009642/code/rust/tarpaulin/Cargo.toml`

Caused by:
  the cargo feature `publish-lockfile` requires a nightly version of Cargo, but this is the `stable` channel

And the Cargo.toml in the directory cargo test was ran in:
[package]
name = "simple_project"
version = "0.1.0"
authors = ["Daniel McKenna<EMAIL_ADDRESS>
[dependencies]

Moving the folder simple project to a folder above tarpaulins root fixes this but obviously I'd prefer a workaround or some fix for this as it also affects tarpaulin (I use cargo as a library to build the project tests and handle features/packages).

A curious bug! This can sometimes happen I believe if the crate thinks it's in a workspace, and Cargo may be a little too eagerly reporting errors there instead of ignoring manifests it can't parse due to this error.
If you add [workspace] to simple_project does it fix the issue?

Adding [workspace] solved it, so it's up to you if it should be closed or not :+1:. Dunno if there's another issue for this etc.
Although there is another issue which may be related and I imagine is in rust-lang/rust. It now only works my current working directory is simple_projects root, if it's a directory above it the debug info for the test in simple_project doesn't mention any of the files in simple_project. I'm just starting to investigate that and will raise an issue on the compiler at some point if I can't figure out a legitimate reason why that should happen.


Cannot connect to server that does not advertise

SQL Operations Studio Version:  0.24.1 for Windows

Steps to Reproduce:
During connection, using Windows authorization, name an SQL server that does not advertise..  I gave the server name in the forms: machine.domain.tld and machine.domain.tld\sqlinstance.  Neither worked.
Both returned the following:
Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.
This server does not advertise as a security precaution, by order of management.  MS's Server Management Studio can connect, however. This appears to be a common issue with "third-party" tools:  many only allow selection from a list of servers who do advertise and, thus, are visible.

We've fixed numerous connection related issues in the past few releases.  Please reactive if this still repros on the July build.


ngrok requires sudo priviledges to install - not suitable for local installation where users can't use sudo

not suitable for local installation where users can't use sudo

Remove all the sudo and it will work the same.
I already add the script without sudo:
source ./scripts/install_extra.sh

tee: /etc/apt/trusted.gpg.d/ngrok.asc: Permission denied


Collect gentoo

See GLSA example https://security.gentoo.org/glsa/201909-03
https://www.gentoo.org/support/security/ and feed at https://security.gentoo.org/subscribe

A better source to collect this data would be by cloning git clone https://anongit.gentoo.org/git/data/glsa.git  . @haikoschol ^

Is there an API for gentoo, from where I can get all versions of a gentoo package? I am stuck due to this.

@sbs2001 I don't know of an API for this. Have you asked someone from the Gentoo project? I'd say if we can't get all the information we need for collecting a particular source, then we don't.

https://packages.gentoo.org/ has the data in HTML(which we have agreed not to consume), but I haven't came across any sort of an API.

Have you asked someone from the Gentoo project?

I will try, @pombredanne ^ might know someone from the Gentoo foundation.

Here's a screenshot of  my recent email exchange with them:

Basically there's no API as of now, but they are planning to bring it.


TrayPublisher & StandalonePublisher: Specify version

Changelog Description
Simple creators in TrayPublisher can affect which version will be integrated. Standalone publisher respects the version change from UI.
Additional info
Standalone publisher is considered as deprecated so TrayPublisher changes will be explained more. Simple creators allow to control integrated version by added bool ("Use next version") and number ("Version to use") inputs where user can enable if custom version is used abd define what version it will be. There is a setting to enable this option per creator. Added optional validator that makes sure if the version does not already exists to avoid possible conflicts with existing versions.
The next version on instance is prefilled on each publisher refresh, so it reflect what is the expected version to integrate. The version cannot be prefilled in create phase as subset name is not yet known.
Testing notes:

Go to simple creator settings (project_settings/traypublisher/simple_creators).
Choose one of creators and change Allow version control to enabled state.
Open Publisher.
Create an instance with the creator where version control was enabled.
Go to publish page.
Select the instance.
There should be version inputs at the bottom (bool for enabling and number for the version).
Change the values with multiple combinations.
Publish

What should happen with different combinations

If the bool is enabled the version should not be propagated.
If the bool is disable the version from the input should be propagated.
If the version is higher than last published it should be just integrated.
If the version is lower it should end on validation because the version already exists.

You can disable validation of version in Publish tab when instance is selected.
In that case version should be overriden.

If version is set to 0, the next available version should be used.
Change of variant should update version after save and restart publish.

Task linked: OP-6172 Specify version in standalone publisher not respected

If the version is lower and the validation of the version is off it ends up with Version already exists error, I can only run the Repair action. Then when reset the publishing, it fails with Instance collection failed.

Error: 'ep001_102b_sh0020'

Traceback (most recent call last):
  File "C:\Users\qam\code\OpenPype\openpype\pipeline\create\context.py", line 2136, in reset_instances
    creator.collect_instances()
  File "C:\Users\qam\code\OpenPype\openpype\hosts\traypublisher\api\plugin.py", line 251, in collect_instances
    self._fill_next_versions(instances)
  File "C:\Users\qam\code\OpenPype\openpype\hosts\traypublisher\api\plugin.py", line 231, in _fill_next_versions
    version = subset_docs_by_asset_id[asset_name][subset_name]
KeyError: 'ep001_102b_sh0020'


Remove absolute positioning - addresses #2450

Please give me a bit of time to checkout all menus before merging.

Thanks for fixing this :+1: :tada:


storage: provide http-based elasticsearch client

Taking advantage of & expanding the previous commit's shim, this chnage
introduces an elasticsearch client that operates over the HTTP(S)
protocol. This commit's functional changes are minimal, limited to
restricting flushes on a few operations to the desired indices
instead of globally.

This one is my fault I think. So is the best behaviour to copy/paste a
one-liner?
On 20 Sep 2016 12:36 pm, "Tommy Ludwig"<EMAIL_ADDRESS>wrote:

@shakuzen commented on this pull request.
In zipkin-autoconfigure/storage-elasticsearch-jest/src/main/
java/zipkin/autoconfigure/storage/elasticsearch/jest/
ZipkinElasticsearchJestStorageProperties.java
https://github.com/openzipkin/zipkin/pull/1306#pullrequestreview-676674:

Unless required by applicable law or agreed to in writing, software distributed under the License

is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express

or implied. See the License for the specific language governing permissions and limitations under

the License.

*/
+package zipkin.autoconfigure.storage.elasticsearch.jest;

+import java.util.Collections;
+import java.util.List;
+import org.springframework.boot.context.properties.ConfigurationProperties;
+import zipkin.storage.elasticsearch.ElasticsearchStorage;
+import zipkin.storage.elasticsearch.jest.RestClient;
+
+@ConfigurationProperties("zipkin.storage.elasticsearch")
+public class ZipkinElasticsearchJestStorageProperties {

/** @see ElasticsearchStorage.Builder#hosts(List) */

Per convention, JavaDoc comments on @ConfigurationProperties fields are
plain text (don't use JavaDoc keywords like @see) because they are used
by the configuration processor and then by IDEs as descriptions of the
fields during auto-completion, for instance.
In zipkin-storage/elasticsearch-jest/src/main/java/zipkin/
storage/elasticsearch/jest/RestClient.java
https://github.com/openzipkin/zipkin/pull/1306#pullrequestreview-676674:

private static final int MAX_INDICES = 100;

public static final class Builder implements InternalElasticsearchClient.Builder {
List hosts = Collections.singletonList("http://localhost:9200");
boolean flushOnWrites;

/**

* Unnecessary, but we'll check it's not null for consistency's sake.

*/

@Override public Builder cluster(String cluster) {

 checkNotNull(cluster, "cluster");

 return this;

}

/**

* A comma separated list of elasticsearch hostnodes to connect to, in http://host:port or

Not a comma-separated list but an actual List
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/openzipkin/zipkin/pull/1306#pullrequestreview-676674,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAD612Kovuw4gMyVDD5fV63nN5nfusTrks5qr2LXgaJpZM4KBJdk
.

cherry-picked in. take note of a few conventional file renames (also it is now plumbed to zipkin-server), so the following works:
$ STORAGE_TYPE=elasticsearch ES_HOSTS=http://localhost:9200 java -jar zipkin-server/target/zipkin-server-1.11.2-SNAPSHOT-exec.jar