Dynamic conf with IngressRoute broken

Do you want to request a feature or report a bug?
Bug
What did you do?
Tried to use dynamic conf with IngressRoute CRD, eg:
http:
  routers:
    Router-1:
      # By default, routers listen to every entry points
      rule: "Host(`traefik.io`)"
      service: "service-1"

which you docs state should work:
IngressRoute is the CRD implementation of a Traefik HTTP router.
What did you expect to see?
A working IngressRoute
What did you see instead?
404
Output of traefik version: (What version of Traefik are you using?)
2.1
What is your environment & configuration (arguments, toml, provider, platform, ...)?
kind: DaemonSet
  apiVersion: apps/v1
  metadata:
    namespace: default
    name: traefik
    labels:
      app: traefik
  spec:
    selector:
      matchLabels:
        app: traefik
    template:
      metadata:
        labels:
          app: traefik
      spec:
        terminationGracePeriodSeconds: 60
        serviceAccountName: traefik-ingress-controller
        dnsPolicy: ClusterFirstWithHostNet
        hostNetwork: true
        containers:
        - name: traefik
          image: traefik:v2.0
          args:
          - --api.insecure
          - --accesslog
          - --entrypoints.web.Address=:80
          - --providers.kubernetescrd
          ports:
          - name: web
            containerPort: 80

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.

Hello,
You confuse the configuration for the file provider in YAML and the Kubernetes IngressRoute.
https://docs.traefik.io/v2.1/routing/providers/kubernetes-crd/#kind-ingressroute


Finishing up the cleanup on org.bdgenomics.adam.rdd.

Made MDTagging private to read. Exposed it through AlignmentRecordRDD.
Cleaned up where it was used in Transform.
Made FlagStat and most related models private to read.
Made all read.recalibration and read.realignment classes private to
package. Depending on the class, this varied from:

adam for classes that need to be registered with kryo
read for the core RealignIndels and BaseQualityRecalibrator engines
Their subpackage where possible.

Made class values for genomic partitioners as private as possible.
Added documentation to all InFormatters, InFormatterCompanions, and OutFormatters. Made the InFormatters package private with private constructors.
Added method/class level scaladoc where missing.
Moved org.bdgenomics.adam.cli.FlagStatSuite to org.bdgenomics.adam.read, along with the NA12878.sam test resource, which was otherwise unused in the adam-cli submodule.

I may have asked elsewhere, it seems like the InFormatters and OutFormatters need to be publicly accessible, i.e.
https://github.com/heuermh/adam-snpeff/blob/master/src/main/scala/com/github/heuermh/adam/snpeff/AdamSnpEff.scala#L52
It may be that I'm not using them correctly here, in that they aren't really implicit if I have to explicitly instantiate them.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1595/
Test PASSed.

The InFormatterCompanion and OutFormatter need to be public. The InFormatter has to be accessible from rdd, but it's constructor only has to be accessible from the companion.

Thanks for the clarification.  I'll take a closer look at the formatter docs and the rest of this pull request tomorrow morning.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/1608/
Test PASSed.

Thank you, @fnothaft!


First class event subscriptions from Marten

The existing event forwarding happens at the time that events are captured. Other folks are going to want to do ordered and/or batched operations on the incoming events.
Some thoughts:

Try to utilize as much as possible of the Marten "async daemon" infrastructure
Utilize Marten's ProjectionBase to allow for limiting events and setting up event filters?
Handler recipe that can take a batch of events, and just return an IEnumerable<object> of cascading messages. Should be able to use other services, but point is to return messages
Handler recipe similar to Marten's SingleStreamAggregation that uses a Handle(EventType) : OutgoingMessages or Handle(IEvent<EventType>).
Definitely a recipe that can work with a batch of events at a time
If using a Marten IDocumentSession, try to use the same session that's being used by the surrounding agent so that the progression write can go in on the same transaction
Wolverine's agent assignment will be used to verify the subscriptions only run on one box at a time
Subscriptions should define their lifetime. If added later, do they catch up from zero? Do they use archived events? Start from a certain time?
Anything more advanced like replaying or pausing subscriptions goes into Critter Stack Pro
Add Otel tracking and statistics as well

It would be great if handing an event could be an aggregatehandler that aggregates the aggregate that is linked to that event. The IEvent handle should make that possible I would think

@erdtsieck Ah, effectively allowing you to take extra actions off the event? Can you describe your use case for that?

There is mention here about being based on marten's projections, but it feels to me that if implemented properly then projections would become based on this instead.
Re lifetimes: Being able to start from 0 and start from "current" are probably both desirable. As is more pro features like "start from X" and "reset to X".
Re handling archived: Definitely feel that archived events should not be handled by default. I can see a use case for this if there are users that are in the habit of archiving streams based on time, so maybe make it explicit that you want to do this.
Re Batching: I feel this is critical for some use cases, especially when communicating to apis that support batching (eg aws sqs is cheaper when using batched apis). Some sort of advanced batching with behaviors like "wait for X messages or Y seconds before processing" would be useful here.  Another thing to consider here is how to deal with poison pill events hiding within a batch.
A few shiny (aka pro) features that come to mind:

Pausing without config change/redeployment.
Worker nodes - being able to offload the async daemon to background-only application nodes

@elexisvenator Thanks for the feedback!

There is mention here about being based on marten's projections, but it feels to me that if implemented properly then projections would become based on this instead.

There were some changes in the 7.0 daemon that got us partially there to begin with in preparation for this. This was a last minute scratch in the initial 7.0 release
I think that there will be an API right off the bat for restarting from 0 or a certain point, but just an API. I think anything more advanced will be in "Critter Stack Pro"

Definitely feel that archived events should not be handled by default.

They're not, but that's adjustable. In a follow up release soon, I'd love to make the event archiving be full blown hot/cold storage through opt in sharding and add better archiving support to the projections

Re Batching: I feel this is critical for some use cases

Going in day one because a JasperFx client has a use case for that :-)

A few shiny (aka pro) features that come to mind:

100% "Critter Stack Pro". Pausing sounds like low hanging fruit, the other might be a little more

There's also a world of possibilities for confusion between this and the event forwarding. Make sure the event forwarding can be filtered too!

Where do you see the line being for using event subscriptions and event forwarding? Is event forwarding going to be a simpler but narrower scoped version of the same functionality. (I am currently using event forwarding to send a message based on an event to sqs, not sure whether it would be worth switching over)

Funny, I got up this morning thinking about how to describe the decision to use one or the other.
And yeah, I think event forwarding is always going to be a simpler mechanism that also gets the events out much faster, just without any ordering guarantees.


Spike: find out why the post-k8sio-image-promo job takes so long

Objective

Find out why the post-k8sio-image-promo job takes so long (2-3 hours), so that we may find ways to shorten its running time
Draft a brief proposal identifying a few possible ways to solve it, ideally addressing these questions: A) Could we make running the post-k8sio-image-promo job  parallel or async? B) Could a 10-min wait per CI job that does the promotion be possible?

Context and things to think about while working on this task

Cutting a K8s releases takes 30-40 mins. Doing four releases (patches) extends the time to ~six hours. Used to take three hours (keep in mind that there's more to the process nowadays).
We need to add more mirrors, but this depends on tradeoffs and length of release time
Parallelization led to rate limits, so in the past we stopped trying to figure out which type of artifact was extending the length of time

One thing affecting the length of execution is the number of container registries used to serve the images promoted.
From 3 GCR registries to more than 10 AR repositories.

/assign @meganwolf0

To try and address this issue, some effort was made to grab a sampling of image promo jobs that were created for various image promotions (see file name + date for reference back to source). The idea was to see what share of the total time was spent in each step of the promotion.

File
get promotion edges
validate signatures
promote images
signing images
total time
# promos

gcp-filestore-csi-driver-01-23.txt
9.6%
1.1%
24.2%
64.8%
0:04:57.240000
20

kueue-01-18.txt
14.3%
1.8%
17.2%
66.5%
0:03:00.802000
20

cluster-api-azure-controller-01-18.txt
13.7%
1.3%
23.0%
61.6%
0:03:44.085000
20

metrics-server-01-23.txt
8.8%
1.0%
16.0%
74.1%
0:04:52.458000
20

ibm-powervs-block-csi-driver-01-26.txt
11.4%
1.1%
18.6%
68.4%
0:04:09.189000
22

ingress-nginx-controller-01-23.txt
10.7%
1.3%
33.0%
54.8%
0:07:04.906000
40

ingress-nginx-controller-01-26.txt
13.1%
1.3%
34.6%
50.8%
0:06:35.702000
44

kubecross-01-19.txt
10.7%
1.4%
60.5%
27.3%
0:15:03.641000
100

kube-cross-01-26.txt
15.6%
2.3%
56.2%
25.6%
0:11:31.794000
110

go-runner-01-19.txt
20.6%
3.1%
20.1%
56.0%
0:08:09.598000
120

debian-base-01-27.txt
21.8%
3.3%
23.8%
50.9%
0:07:38.530000
132

provider-os-01-18.txt
14.6%
2.5%
52.1%
30.7%
0:12:18.403000
140

kube-cross-01-10.txt
5.0%
3.7%
75.5%
15.9%
0:31:11.250000
500

For more images, the actual promotion itself was the greatest share of total time, for fewer images the validating/signing/replicating image portion took up a larger portion of the job.
(Wondering if variability in the time it takes to do these promotions are in part driven by network considerations that may vary day to day? Would it make sense to schedule these for traffic optimization?)
You can see the break down of the pieces of the jobs, for a lot of images, it’s undoubtedly the “promote images” portion that takes the most time. To parallelize some of this work, you’d need to have different jobs making requests so that rate limiting could be circumvented.
(Does multiple machines bypass the rate limiting? Is it limited by user credentials, target registry, or solely from origin IP?)


vue-tsc can't find props in a vue-class-component

While adding volar to vue-test-utils-next (see https://github.com/vuejs/vue-test-utils-next/pull/645),
I stumbled on a component that does not compile with vue-tsc.
This component is using vue-class-component, so this might be normal?
<template>

{{ computedMsg }}

{{ msg }}

{{ dataText }}

    <button @click="changeMessage('Hello')" />

</template>

vue-tsc throws:
tests/components/ClassComponent.vue:4:23 - error TS2304: Cannot find name 'msg'.

4
{{ msg }}

                        ~~~
Found 1 error.

Decorators will not affect type-checking, you need to extend the type in other ways. See https://github.com/johnsoncodehk/volar/issues/21#issuecomment-725226222.

Great, thanks for your help.


Fix CORS-Headers in Owner Webapp

change the base-url in config/default.js to use a different owner-server (or alternatively start a static http-server in the owner-application folder on a different port than tomcat)
open the application
in the console there should be a 403-error caused by a cross-site request.

When this is implemented we'll have additional development/debug-tools at our disposable and it also enables making the application progressive (i.e. adding a web-manifest so it can be pinned as desktop/mobile app)
(assigned to @fkleedorfer as nobody else i asked had an idea where to start looking)

I understood what you mean @m0ru and changed the issue title

moved to internal kanbanboard


Add RxJava support

I wrote this previously as part of a talk i gave but It didn't make it into the talk for want of time. I figured i'd share the code with you (for inspiration)

I think having RxJava support is great, but I also think it should either be an optional additional dependency within this library (not required), or it should at least be stated in the README that it uses RxJava or mention how it can be used. Just since at the surface level, people may not realize they are pulling in the RxJava dependency

@Jawnnypoo just pushed a change that makes the rxjava dependency optional (provided). Now if you want to use Monitor.observe(), you have to include the rxjava dependency in your app's build.gradle. You'll get a compiler error if you  try to call Monitor.observe() without including the rxjava dependency. Pending some testing, I'll try to release this later today.

I'll update the readme eventually too. I'm just lazy.

Nice! In my experience, if you use provided instead of compile, you will run into some errors when you compile with ProGuard enabled, which can be ignored, but it would be good to note them in the README.  You will have to test it out to see what they are with ProGuard, but more than likely the rule will be -dontwarn io.reactivex.**

Good to know. I'll definitely be doing some ProGuard testing.
Also, TURN DOWN FOR WHAT?!


When table is loading, data is empty, no data template will always show

https://github.com/IBM/carbon-components-angular/blob/db485f3e225df345c2e111a827e1597e5d53b8b4/src/table/table.component.ts#L534
There should be a check in place to not show no data template when table is still loading, and the last condition should be wrapped in a bracket otherwise this check is invalid
return !this.model.isLoading &&
            (
                !this.model.data ||
                this.model.data.length === 0 ||
                (this.model.data.length === 1 && this.model.data[0].length === 0)
            );

data doesn't have to be empty while table is loading new data. It's possible to add or replace the data once it's loaded.

You could set model.isLoading to show the loading state to user.
Start loading new data from the backend.
While the data is being loaded, old data is still shown in the table.
When data is fetched from the server, replace the data (i.e. model.data = newData)
Loading is now done, table shows the newly loaded data so
unset model.isLoading
(noData getter shouldn't consider the loading state. isLoading considers loading state and it displays a loading state as a separate line in the table (useful if lazy-loading new lines).)
If you want to show the noDataTemplate while you're loading, empty the model.data or set it to a falsy value at the same time you set the model.isLoading.
Feel free to reopen in case I misunderstood the problem or ping me on slack for additional info.

two cases:

no data template is displayed while initializing table, it shouldn't display no data on initialization
no data template should be hidden if table is loading because it's loading data, you should know if the table is empty or no data after the table finishes loading

above may not be a bug...but the last condition check may be?
return !this.model.data ||
			this.model.data.length === 0 **||
			this.model.data.length === 1 && this.model.data[0].length === 0**;

you may need to put this.model.data.length === 1 && this.model.data[0].length === 0 in a bracket.


Reducing to largest possible unit

According to the Chalten paper, reducing should be built-in but doesn't currently seem to work. It seems this used to work...  ==10 years * 12 months / 24 months = 5 years== “The model automatically simplifies units”... Anyone know why it was changed?

It looks like it's working. Number>>years is now part of the Pharo Kernel and creates a Duration.


[Bug] [Release] Chart is not coming on Custom cart widget by default

Steps to reproduce the behaviour:

Drag and drop a chart widget
Change the chart type to custom chart
Observe that the chart is not coming

Closing this as not reproducible


plot: some graphic issues

Graphic bugs in following inputs:

[x] plot(x->1)
[x] plot(x->log(x))

x->log(x) is not defined


Process Flow Line Overlaps Existing Elements When Appending Gateway

Describe the bug
When appending a gateway to an element that already has a connected element aligned vertically, the process flow (that is created via the append action) routes on top of the existing connected element. This behavior is inconsistent with appending other elements like Tasks or Events, where the automatic routing of the avoids the existing connected elements.
Steps to reproduce

Select an element on the Canvas (e.g. Event, Gateway, Task)
Append any element to the selected element.
Select the original element again.
From the Append Elements Context menu, choose 'Append gateway'
Observe that the automatically generated process flow line routes on top of the existing connected element.

Expected behavior
When appending a gateway, the automatically generated process flow line should route to avoid overlapping with previously appended elements, consistent with the behavior observed when appending tasks, intermediate/boundary events, or end events.
Environment

Operating System: Windows 11
Camunda Modeler Version: 5.27
Installed Plug-Ins: None

Additional context
This issue impacts user workflow efficiency, as users must manually reroute the process flow line to prevent overlap with other connected elements when adding gateways. The inconsistency in behavior between appending gateways and other element types may lead to confusion and extra work for users.

Thanks for opening this issue, I can reproduce it.
In this particular case no simple workaround is available; you have do do manual re-layouting.


🐛 Bug Report: Multiple Selects UI

📜 Description
import { Select } from '@backstage/core-components';
<Select
            multiple
            placeholder="All"
            label="Team filter"
            items={items}
            selected={value}
            onChange={items => onChange((items || []) as string[])}
          />

pressing the X button pops up the multiple select values rather than deselecting the selected option
👍 Expected behavior
to drop the selected value from the list and not pop up the list of all options
👎 Actual Behavior with Screenshots
pops up the list of all options and does not select the selected option to be "x"-ed.
👟 Reproduction steps
use the behavior of any  core component.
📃 Provide the context for the Bug.
No response
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, but I'm happy to collaborate on a PR with someone else

@paulpruteanu-cbi is there any way to replicate this issue?

Thanks for the report @paulpruteanu-cbi! For reference: I can reproduce it in the Storybook for the Select component. In most places where this behaviour is needed in Backstage, like the Catalog, we are using the Autocomplete component from Material UI, which does not face this issue. This could be a valid & future proof work around in your case.
That said - the component should be fixed.


login service-url parameter rejects trailing slash

When logging in using a trailing slash on the service-url parameter (like this)
tfx login --auth-type basic --service-url https://fabrikam.visualstudio.com/DefaultCollection/
I get the error:
Error: Invalid service url - path is too long. A service URL should include the account/application URL and the collecti
on, e.g. https://fabrikam.visualstudio.com/DefaultCollection or http://tfs-server:8080/tfs/DefaultCollection

This is a problem when trying to automate it from the TFS Release or Build process because the $(System.TeamFoundationCollectionUri) variable includes a trailing slash.
Could tfx be updated to accept the trailing slash?

I have the same issue :/


docs: update SNI FAQ.

Fixes #4275.
Signed-off-by: Piotr Sikora<EMAIL_ADDRESS>

@cmluciano let me know if that works for you.

/lgtm


python binding - TemplateHelper for custom node

impossible to use findChild with custom object inherit from node.

Is this inherited from BTK? FindChild() used to segfault in python when asked for the contents of a node that did not exist. I favoured GetChild()

@marnunez There is a confusion between the method btk::MetaData::FindChild() and the method ma::Node::findChild(). Both are not related.
The latter is used to retrieve any child in a tree-like structure. For example, the output of the line my_root = ma::io::read('myfile.ext') is a tree structure like in the following image.

Usages of ma::Node::findChild() in Python to access data can be:
ts1 = root.findChild(ma.T_TimeSequence,‘my_ts1’);
evt1 = trial.findChild(ma.T_Event,‘my_evt1’);

The Python documentation is not available (every contribution is welcomed!). However, the C++ documentation ma::node::findChild may help you to understand its behaviour. The difference between both is the way to manage the template parameter. The first parameter of the Python method corresponds to the template parameter passed in C++. For example
// C++
auto ts1 = root.findChild<ma::TimeSequence>(‘my_ts1’);
# Python
ts1 = root.findChild(ma.T_TimeSequence,‘my_ts1’);

@Alzathar Thanks for the clarification! This looks far more versatile. I'll play around some more as soon as I get the python bindings compiled.


Refactor startup properties

Migrate our startup property handling from unstructured maps of Strings to a structured handlers that are registered

[ ] Docker RStudio (1h)
[ ] Connectors (1h)
[ ] TrialServices (2h)
[ ] Code review (1h)
[ ] Manual test (3h)
[ ] Merge (1h)


Change eslint-plugin-node to eslint-plugin-n

Hey, just saw your update and wanted to point out that eslint-plugin-node is no longer maintained. The newer version is eslint-plugin-n. Keep up the great work!
https://www.npmjs.com/package/eslint-plugin-n

:rocket: This pull request is included in v2.6.0. See Release 2.6.0 for release notes.

I made a PR to fix the docs, thanks for catching this @webpro! https://github.com/eslint/eslint/pull/17061

Oh that's great! Good vibes 👍


Changing scene tab while in Script editor switches to 2D/3D tab

Godot version
3.5rc3
System information
Linux/Ubuntu 21.10
Issue description
Previously, when the Script editor tab was active and you switch the scene tab, it would open that scene's script, if present. Now when doing that, the view changes to 2D/3D instead. Not sure if this is intentional, but it breaks the workflow I was quite used to.
Steps to reproduce

Open two scenes
Switch to Script editor
Switch from one scene tab to the other

Minimal reproduction project
No response

Most likely caused by #61162. The behavior change is reproducible in both 3.x and master.
This behavior of opening the script of the scene's root node is controlled by this editor setting (enabled by default):

It still works (the script gets opened), but it doesn't get focus.


⚠ Hartman Foundation has degraded performance

In e32c81c, Hartman Foundation (https://gordonhartman.com/) experienced degraded performance:

HTTP code: 200
Response time: 2808 ms

Resolved: Hartman Foundation performance has improved in 2679492.


[FLINK-30906][task] TwoInputStreamTask and MultipleInputStreamTask passes wrong configuration when create input processor

What is the purpose of the change
Correct configuration option of TwoInputStreamTask and MultipleInputStreamTask when create input processor.
Brief change log

Modify task configuration to taskManagerConfiguration.

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no

@reswqa Thanks for fixing the configuration bug. LGTM


Add failure mode to write_list

Fixes some cases where we would exceed the column limit.

looks good! Other than the inline comments, there are a couple of FIXMEs on magic 100s. I think you should fix them now, since I don't think they will get any easier in the future and are the kind of thing that will sit around without a fix for a long time, but cause some subtle bug when someone actually tries running with a non-100 max width. r+ with those fixed.


Bug: Cygwin: curl can't write to .sdkman/tmp: Failed to open /home//.sdkman/tmp/groovy-4.0.19.headers.tmp

Bug report

Trying to install groovy using sdkman on cygwin fails with errors.
curl: Failed to open /home/romulus/.sdkman/tmp/groovy-4.0.19.headers.tmp
curl: (23) Failed writing received data to disk/application
grep: /home/romulus/.sdkman/tmp/groovy-4.0.19.headers.tmp: No such file or directory
mv: cannot stat '/home/romulus/.sdkman/tmp/groovy-4.0.19.bin': No such file or directory
I have gone into Windows file settings to clear out special perms and set Everyone to Full Access with recursive apply, no help.
To reproduce
$ sdk install groovy
System info

Windows 10 Home 22H2
Cygwin 3.5.1
GNU bash, version 5.2.21(1)-release (x86_64-pc-cygwin)
SDKMAN 5.18.2

Hi. I have encountered such issue once some time ago and it was antivirus fault (Avast). cURL were unable to resolve connection using TLS. Try download manually and see what happens:
$ curl --verbose -O https://groovy.jfrog.io/artifactory/dist-release-local/groovy-zips/apache-groovy-binary-4.0.9.zip

Ugh. I do have Avast.

Maybe this is the case. As far as I remember, I was using MSYS2 at the
time. It seemed that Avast quarantined some files related to cURL, which
made it impossible to open secure connections, resulting in SDKman issues.
I stopped Avast for 10 minutes, reinstalled MSYS2, and everything was
working well 🤔
On Wed, Mar 6, 2024, 22:15 Keith Tyler @.***> wrote:

Ugh. I do have Avast.
—
Reply to this email directly, view it on GitHub
https://github.com/sdkman/sdkman-cli/issues/1282#issuecomment-1981797995,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABI3IAXVTLFQ5ZX4VKKG3UDYW6BN5AVCNFSM6AAAAABEDOZS66VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBRG44TOOJZGU
.
You are receiving this because you commented.Message ID:
@.***>


Inconsistent behavior when using directory input with --watch and without --watch

Current behavior

When using directory input without --watch, all .scss files will be compiled and normal css files won't be compiled.
When using directory input with --watch, when any css file changed, they will be compiled.

Suggested behavior
When using directory input with --watch, we should watch .scss files only.

NPM version (npm -v): 3.10.3
Node version (node -v): 6.3.1
node-sass version (node -p "require('node-sass').info"): 3.10.1

resolved?

if the issue still open it's not resolved.

Only watching SASS/SCSS files appears to be in the current code https://github.com/sass/node-sass/blob/master/bin/node-sass#L135

Nevermind, it looks like the watcher does look for css here https://github.com/sass/node-sass/blob/master/bin/node-sass#L243

This looks like a bug I introduced in https://github.com/sass/node-sass/pull/1078. We should not be watching .css files.

Is there a workaround for this bug?

hey @xzyfer could you just make these extensions to be configurable so I can remove css from that list for as a workaround for this issue. Should I create PR for that?

They cannot be configured. They live in LibSass. The decisions has been made to keep the current behaviour until Sass 4's module system is ready. Removing this now will break lots of people's code.

This bug sort of causes infinite compiles to happen when you watch a directory because after SCSS files compile to CSS, the watcher detects changes and recompiles the CSS which starts a vicious cycle Perhaps a recommendation in the documentation for using a different directory for your CSS files from your SCSS files since it's unusable in the current form.

@kibbled Perhaps using nodemon to watch & trigger node-sass in an npm script would be an acceptable workaround.

Looks like the best workaround is to use node-sass-chokidar.

So I think the reasonable workaround for this is for node-sass to not treat .css as entry points.
We still need to watch .css files, this is unavoidable with breaking things for users, but we should only trigger compilations for CSS files that are imported by scss files.
This is a patch I think wen can ship before the 5.0 bump and should fix the majority of issues around watching css files.

@xzyfer is this still planned for a pre-5.0 patch?


Consolidate TLS backends used by libcurl in cargo to reduce delays in security fixes or enhancements

Describe the problem you are trying to solve

Detecting and supporting TLS features in every combination of OS version, OS component version, and Active Directory policy setting can get tricky.
Improvements are made more complex because there are too many TLS backends for libcurl:

#8113 -- harden TLS 1.2 in cargo against downgrade attacks and weak server settings
discussed in #8113 -- provide a cipher suites option to specify allowed TLS cipher suites

Schannel has these disadvantages:

crates.io and Windows 7, 8, and 8.1 are always going to connect with a weak cipher suite.  Microsoft might sunset Windows 8 and 8.1 in 2023.

Active Directory policies can enable/disable cipher suites without the user knowing.  This can create support issues and make hardening TLS trickier for cargo.

Linux and Windows are prevented from having the same syntax for cipher suites.

MacOS 10.14 supports strong TLS 1.2 cipher suites, but I don't know what would happen if the same is specified on various older versions (ignore unknown values, quietly downgrade, or cause error).
Describe the solution you'd like

cargo for Linux, MacOS, and Windows should use OpenSSL and/or LibreSSL for its libcurl backend.
This would eliminate the Schannel disadvantages already mentioned.  It would simplify and reduce effort required to harden TLS (#8113) and the same for providing a libcurl cipher suites option in cargo.
Work required for standardizing TLS backend for libcurl can be offset by not having to harden Schannel and Secure Transport against TLS 1.2 downgrade attacks.  It's a good opportunity to simplify code and remove roadblocks.
Official curl binary for Windows uses OpenSSL 1.1.1f statically linked.  So we can examine its code (if needed) to see how libcurl+OpenSSL is used on Windows.  Maybe same for MacOS by looking at homebrew or macports (if needed).
Notes

Pull request in curl-rust to add static OpenSSL option for MacOS and Windows:
https://github.com/alexcrichton/curl-rust/pull/284
Schannel on Windows 7, 8, and 8.1 doesn't support ECDHE_RSA with AES_GCM according to docs.microsoft.com.
Default cipher suites supported by Schannel when not modified by Active Directory policies:

https://docs.microsoft.com/en-us/windows/win32/secauthn/tls-cipher-suites-in-windows-7
https://docs.microsoft.com/en-us/windows/win32/secauthn/tls-cipher-suites-in-windows-8
https://docs.microsoft.com/en-us/windows/win32/secauthn/tls-cipher-suites-in-windows-8-1

crates.io only offers 2 strong TLS 1.2 cipher suites and both use ECDHE_RSA + AES_GCM which isn't supported by Schannel on Windows 7, 8, and 8.1.

(click to expand) :camera: crates.io TLS 1.0-1.2 cipher suites in April 2020 (SSL Report)

I updated issue to mention official curl binary for Windows uses OpenSSL 1.1.1f statically linked. So we can examine its code (if needed) to see how libcurl+OpenSSL is used on Windows.
Maybe same for MacOS by looking at homebrew or macports (if needed).

The main reason that we don't do this today is around system certificates. While OpenSSL finds system certificates on Linux pretty well, the system certificates stores on macOS and Windows were historically a bit harder to access. This evaulation, however, was done years ago at this point and things might be quite different now at this point.
@x448 would you be willing to help investigate this to implement this? It'd be great if we could ship a single TLS library on all platforms for sure! Deploying this is likely going to be very tricky since it's only really going to trip up users in "esoteric" setups, but it'd be great if we could have a temporary runtime switch for which TLS library to use to get testing on nightly. This would require implementation work to figure out the issue with system certificate stores and investigate whether a runtime switch is possible. Would you be willing to help out implementing these bits?

I'd love to see this as well. There are many things we could do more easily if we know which backend we're dealing with.

Do we consider completely replace openssl with rustls?

That'd be perfectly fine, as long as it still uses the system certificate store.

Would we replace libcurl with reqwest or hyper while at it?


Clean up profile method names

The profile method names are somewhat inconsistent. For example, the BreakpointProfile has getOrCreateBreakpointRequest to create a new request while the removal is called removeBreakpointRequests (plural). These should all be singular to reflect the abstraction.
This might also be needed for low-level methods.

Closing. After looking at the reason for the naming, it makes sense. removeBreakpointRequests removes all high-level requests for the same file and line, which is reasonable.


Should NXOntology require graphs have a single root?

Currently, we ensure NXOntology graphs are DAGs via
https://github.com/related-sciences/nxontology/blob/509d6c6a6ad8f832291b812412ac9bac5fdaacb8/nxontology/ontology.py#L84-L86
But we don't check that there is a single root node (i.e. top-level node that subsumes all other nodes).
Should ontologies be required to have a single root node? Does the current similarity suite fail if there are disconnected subgraphs?

We do have a property for accessing all root nodes:
https://github.com/related-sciences/nxontology/blob/509d6c6a6ad8f832291b812412ac9bac5fdaacb8/nxontology/ontology.py#L133-L145
One easy step would be to create a root property that raises an error if there are multiple root nodes.

Added support for disconnected ontologies in https://github.com/related-sciences/nxontology/commit/2bf657913789b76171c3d0b097dfb3e0047ef13e.

Should ontologies be required to have a single root node?

No after observing some ontologies like MeSH or EFO-OTAR-slim where there are many top-level terms.

Does the current similarity suite fail if there are disconnected subgraphs?

It did, but added support for no common ancestors between two terms, resulting in mica=None.


fix(rosetta): improve transliterate command

Make the translation warnings consistent between pacmak and rosetta
Transliterate now uses the parallel API for faster translation
Add caching capabilities

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Not everything done yet


Support ppxAs in fragment spreads

This is similar to #167 and generalizes it to fragment spreads. It's useful to share a pre-existing type across many spreads of that fragment.

Can you make a slight change so that when there is no ppxAs provided, there is not Obj.magic + constraint?

I'm doing that in the encoder, but that doesn't seem possible to do at the fragment definition level (we don't have the info that a consumer fragment is trying to change the type).

@jfrolich Actually nevermind me, of course it's possible to do it. I just applied that suggestion.

This doesn't make sense given #171


Cannot require through bower

When attempting to require through Bower, I'm given the full minified file, meaning that I cannot use any of the functions it contains.

We might want to tweak UglifyJS to not mangle the function names (Button, Dropdown, …).


Add unit tests

Add unit tests.
Especially writeLines taking either a string or an array as input.
Also consider allowing writeLines to taking an object to write JSON.

Done


Add instructions for creating signed releases/tags

To satisfy OpenSSF requirement for signed releases and version tags.

This is great! Gonna steal these instructions for other projects.

After a few more iterations, I'm going to go with this as is. The action creates and uploads a .tar.gz of the release source (not strictly necessary because it mirrors what the default GitHub release provides, but it has the advantage of being explicit). The action signs that .tar.gz with gh-action-sigstore-python, which produces a .tar.gz.sigstore credential file, which can be used to verify the download via:
% sigstore verify github --cert-identity https://github.com/AcademySoftwareFoundation/openexr/.github/workflows/release-sign.yml@refs/tags/<tag> openexr-<tag>.tar.gz
This means you can verify without needing the identity email (or just that sigstore determines the identity email from GitHub behind the scenes).
The workflow file and SECURITY.md have a note to this effect, which should satisfy the OpenSSF badge requirements that the project provide a way of "obtaining the public signing keys and verifying the signatures"


Use Alloy

Do you have any plans to migrate to alloy? I could give it a go if you're interested. Thanks!

We're not planning to, but we would welcome a PR. Although, it shouldn't be a migration and instead just offer alloy as an additional optional dependency so that users can pick which "backend" they want


remove docs that are available in the spec

Description
remove parts from the "docs" folder that have been moved to the ocm-spec

@morri-son - would be good to have a link to the docs, where they are located now

Docs can be found in the com-spec now:
https://github.com/open-component-model/ocm-spec/blob/main/README.md


Hover dialog shouldn't show upon switching tabs.

If you have your cursor over an item, a hover dialog will show (describing the type or something).
If you switch tabs using :tabnext, and then switch back using :tabprev, the cursor is still where it was originally, but the hover dialog pops up again unexpectedly, and it's kind of distracting. I feel the act of switching to another tab should trigger the dismissal of the original hover dialog, and switching to a tab should not trigger the creation of a hover dialog. I think an explicit cursor movement to a location (or mousein) should trigger such a dialog.
(Btw, I love that using the keyboard to move the cursor to a token triggers the dialog).

Great feedback, thanks @jordwalke !

I think an explicit cursor movement to a location (or mousein) should trigger such a dialog.

Agreed - that would handle the tab navigation case implicitly.

This is good to hear - I wasn't sure if it is too distracting (and it certainly can be intrusive if it is common up too aggressively, like this case).

I did find that it can become distracting after some extended use. The most important thing to me is being able to never touch the mouse, and so having an explicit keyboard shortcut to trigger the info dialog would probably be a better long term setting for me. However, for the "out of the box" configuration, it might make sense to keep the cursor tracked auto-popup just so that it shows off Oni's features. It wouldn't be as easily discoverable with a keyboard shortcut - though that keyboard driven setting could be encouraged for serious users.

Great feedback! I've cleaned up some of the state management for the hover UX (there were several cases where it could flicker, or bounce in if the request to the LS took a long time), and also added an editor.quickInfo.show command, which can be used even if editor.quickInfo.enabled is set to false.

This was fixed with PR #1044 and is available in the latest release (0.2.18)-


windows 2019 deployment fails

Description
vhd: Running tests from 'C:\image\Tests\Node.Tests.ps1'
vhd: Describing Node.JS
vhd:  Context Basic modules
vhd:    [+] node  797ms (489ms|308ms)
vhd:    [+] npm  971ms (969ms|1ms)
vhd:  Context Global NPM Packages
vhd:    [+] yarn 334ms (331ms|3ms)
vhd:    [+] newman 762ms (761ms|1ms)
vhd:    [+] lerna 279ms (277ms|1ms)
vhd:    [+] typescript 228ms (227ms|1ms)
vhd:    [+] grunt-cli 267ms (266ms|1ms)
vhd:    [+] gulp-cli 475ms (474ms|1ms)
vhd:    [-] parcel 185ms (183ms|3ms)
vhd:     Command 'parcel --version' has finished with exit code
vhd:         node:internal/modules/cjs/loader:936
vhd:           throw err;
vhd:           ^
vhd:
vhd:         Error: Cannot find module 'C:\npm\prefix\node_modules\parcel\lib\bin.js'
vhd:             at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
vhd:             at Function.Module._load (node:internal/modules/cjs/loader:778:27)
vhd:             at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
vhd:             at node:internal/main/run_main_module:17:47 {
vhd:           code: 'MODULE_NOT_FOUND',
vhd:           requireStack: []
vhd:         }

Virtual environments affected

[ ] Ubuntu 18.04
[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 10.15
[ ] macOS 11
[ ] macOS 12
[X] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
Cannot find module 'C:\npm\prefix\node_modules\parcel\lib\bin.js'
Is it regression?
No response
Expected behavior
No response
Actual behavior
No response
Repro steps
While running the pipeline execution, we are getting error as
vhd:         Error: Cannot find module 'C:\npm\prefix\node_modules\parcel\lib\bin.js'
vhd:             at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
vhd:             at Function.Module._load (node:internal/modules/cjs/loader:778:27)
vhd:             at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
vhd:             at node:internal/main/run_main_module:17:47 {
vhd:           code: 'MODULE_NOT_FOUND',
vhd:           requireStack: []
vhd:         }
Its for windows 2019 deployment and it was working fine earlier, is there any path modification needs to be done in the [Tools.Tests.ps1] script?

Hello @celenn, thank you reporting this one. We will take a look.

Hello @AlexanderGitin - We are currently facing the similar issue in our environment, please let us know if there is any further update on it.

@celenn, @prabhusirpi  - You have to pull the latest changes from main branch.


Performance problem. An execution time of entire test suit is not equal to the execution time of its parts.

Prerequisites

[x] Checked that your issue isn't already filed by cross referencing issues with the common mistake label
[x] Checked next-gen ES issues and syntax problems by using the same environment and/or transpiler configuration without Mocha to ensure it isn't just a feature that actually isn't supported in the environment in question or a bug in your code.
[x] 'Smoke tested' the code to be tested by running it outside the real test suite to get a better sense of whether the problem is in the code under test, your usage of Mocha, or Mocha itself
[x] Ensured that there is no discrepancy between the locally and globally installed versions of Mocha. You can find them with:
node node_modules/.bin/mocha --version(Local) and mocha --version(Global). We recommend avoiding the use of globally installed Mocha.

Description
I have a big test suit which contains to major describe-blocks. The first one takes me 3 seconds to run and the second one 2, but tougher they are executed for 17 seconds. It is visually noticeable that inside of a test suit latter tests are slower then if they are executed independently.
Steps to Reproduce

Create a test suit with two describe-blocks
Run each of them separately with .only()
Run entire pack of tests at ones.

Expected behavior:
Some of test suit part's execution time have to be roughly equal to the execution time of entire test suit.
Actual behavior:
Entire test suit execution takes several times more time than a sum of an execution  time of its part separately.
Reproduces how often:
Always.
Versions
mocha: 3.4.2
node: v6.11.3
Windows 10, ArchLinux, Mac OS High Sierra, Fedora Linux
Any terminal ( we develop project at several different machines with different os and terminals )

I think a code sample would help. Create a repo and share the repo?


docs: show code example by default in storybook

Shows code example by default in storybook.
Thought it felt better..
What do you think?
Screenshots

Looks good to me, but we may need to look out for some components with a lot of code/controls and several stories so that the users don't have to scroll forever 😆

Yes I agree!
I think in most component library documentations they show code, but then have a "show more..." button or simiar, which i guess is a middle ground between showing all code and no code.
Not sure that is possible in storybook without markdown documentation though 😕


Add a scrollbar to move show data in chart.

Add a scrollbar to move show data in chart.
Because our chart data count usually is more than our screen x-pixel ，if I want show our chart data one point by one pixel, so I should use a scrollbar to move for select data to show in chart.
It look like this,

Of course, we can hide it use move the X axis number by default(default can't show the showed data one feature of approximately located in the overall data  ).

Scroll bars are usually implemented at the UI level, e.g WPF, Winforms etc.
So should be fairly easy given the min/max range, and the upper lower/limit

I hope a example in cookbook.

I hope a example in cookbook.

Scroll bars are usually implemented at the UI level, e.g WPF, Winforms etc.
So should be fairly easy to add given the min/max range, and the upper lower/limit

Thank you ,i hope a example to study it.


'LilyGo_AMOLED::error: expected class-name before ',' token      public XPowersPPM,

While trying to run the TFT_eSPI_Sprite_ArcFill.ino example sketch, I get the following error:
In file included from /Users/name/Documents/Arduino/libraries/LilyGo-AMOLED-Series/examples/TFT_eSPI_Sprite_ArcFill/TFT_eSPI_Sprite_ArcFill.ino:14:
/Users/name/Documents/Arduino/libraries/LilyGo-AMOLED-Series/src/LilyGo_AMOLED.h:305:22: error: expected class-name before ',' token
public XPowersPPM,
^
Multiple libraries were found for "SD.h"
Used: /Users/name/Library/Arduino15/packages/esp32/hardware/esp32/2.0.17/libraries/SD
Not used: /Users/name/Library/Arduino15/libraries/SD
exit status 1
Compilation error: exit status 1
Any help would be appreciated

https://github.com/Xinyuan-LilyGO/LilyGo-AMOLED-Series/issues/75


WIP: Add CfP instruction pages

TODO items:

[x] Call for Proposal
[x] How to Propose a Talk
[x] How to Propose a Tutorial
[x] Talk Examples

Leave the rest of works to #13. Merged


Actor samples are not working in dotnet-sdk

The way actors report their errors in the runtime has changed.
In what area(s)?

/area runtime

/area operator

/area placement

/area docs

/area test-and-release

What version of Dapr?

1.1.x
1.0.x
edge: output of git describe --dirty

Expected Behavior

Actual Behavior

Steps to Reproduce the Problem

Release Note

RELEASE NOTE:

@halspang The issue is created for the actor samples in dotnet-sdk. Can you please add the description here?

The reason this is happening is .NET actors communicate errors with a header instead of sending failing requests. The SDK handles the error internally by inspecting for that header. With resiliency, we made that error a real error (so we could retry on it). It seems like .NET didn't like that so I'll fix the issue to no longer return an error after the retry loop.
Thanks for finding this @amulyavarote! I was worried we'd run into stuff like this when we started fiddling with the actor call path.

@halspang Discord seems to be down, can you join a short call with me?

@yaron2 - Sure can.

@halspang https://meet.google.com/qbe-eehz-yfc


Improvement: Resolve Task Naming Conflict

There is a naming conflict between the Core Data entity Task and the Swift Task type. Because of this we cannot create any Swift async Tasks. I suggest we rename the entity to a name like UserTask.
I would like to do this, if that's okay.

@DandyLyons  thanks for catching that! I'll assign you!


allow --endpoint-url option to work with S3 compatible services

It is currently not possible to use s3p with non AWS S3 compatible services.

I also had this problem, I added this at line 59 of s3p/source/S3Parallel/Lib/S3.js and it worked.
In my case I'm using Wasabi instead of AWS S3 but you can fill in your desired endpoint of course.
this.wasabiEndpoint = new (require("aws-sdk").Endpoint)("https://s3.us-west-1.wasabisys.com")                                                                         this.awsSdkS3 = new (require("aws-sdk").S3)({endpoint: this.wasabiEndpoint});

Good idea! I'll look into adding it. I think just --endpoint [url] will suffice.

This would be a really useful feature for us as it enables us to use this in other S3 implementations such as Ceph. Any idea if and possibly when this could be available?

Hi, is there any update if the --endpoint flag will be added?

I would also like to have this.

I also had this problem, I added this at line 59 of s3p/source/S3Parallel/Lib/S3.js and it worked. In my case I'm using Wasabi instead of AWS S3 but you can fill in your desired endpoint of course.
this.wasabiEndpoint = new (require("aws-sdk").Endpoint)("https://s3.us-west-1.wasabisys.com");
this.awsSdkS3 = new (require("aws-sdk").S3)({endpoint: this.wasabiEndpoint});

in which function should I add this? Sorry I don't know much of JS but I really need to use this on wasabi as well, I think line 59 is not the same anymore

Not supporting custom api endpoint kill any usage of self-hosted aws s3, e.g. localstack.


Since there haven't been any recent updates here, I am going to close this issue.
@GireshD if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.
Originally posted by @google-oss-bot in https://github.com/firebase/firebase-ios-sdk/issues/2973#issuecomment-494200703

@willhuf @google-oss-bot any udpate?

Hi @vinothios12, since the issue you mentioned is quite old, please provide the updated information from the issue template such as the Firebase SDK version used, Xcode version and detailed steps to reproduce the issue. Thanks.

this ths pod version, and the xcode version i try in both 12.5 and 13
i follow the document just add the pods and get installed and build the project, above error came

Firebase is now at version 8.12.x. Please run pod update to update.

my project basic support version is ios 10, so the firebase 6.34.0 get installed from the base
i do pod update also but the same version only get installed

Please examine the Podfile.lock for clues about why the pods are not updating. If you're still stuck, share both the Podfile and Podfile.lock and we can take a look.

Podfile copy.txt
@paulb777 my pod file for reference

@paulb777 do u have any udpate?

Two problems with the Podfile:

Firebase now requires at least iOS 10, so it should be platform :ios, '10.0' instead of 9.0
Firebase/MLVision has been discontinued and should be replaced by MLKIt - See https://developers.google.com/ml-kit/migration/ios

@paulb777 exactly when i comment MLvision pods and change to ios 10, firebase latest version get installed
but my question is y firebase 8.x.x is dependent MLvision
so i have to change the mlvision and then only can update firebase to 8.x
or any quicl work around have? but just now MLvision functionalities done, so it will take some time to change mlkit, mean while firebase / firestore 8.X also i have to add in this new release
any idea are welcome!
any how thanks for ur great response

The old version of MLVision was dependent on Firebase 6.x and it no longer is. Sorry, I don't have any good suggestions other than migrating the code.
I'll close the issue, but feel free to continue the conversation.


Add option to write output to a file and fix minor TypeScript coding style & formatting issues.

Tested using my own CloudFormation template. The input file is so huge that it is painful to copy the output (which is also huge) from command line. So having the option to write the output to a file is nice.
I also fixed some minor TypeScript coding style & formatting issues after inspecting the output using eslint.

LMAO I might have done something wrong that caused this PR being closed.

I am so confused now. Why is this PR not updated after I pushed a newer commit - https://github.com/yilong-wang/noctilucent/commits/main.
It is supposed to work according to https://stackoverflow.com/questions/9790448/how-to-update-a-pull-request-from-forked-repo.

Alright, I created a new PR https://github.com/iph/noctilucent/pull/50. Will close this one.


Cryptography

Are you receiving cryptography text messages? How I translate the message?

@eduardo-bressan it's explained in https://github.com/WHAnonymous/Chat-API
You can follow the same procedure here

I tried, but I awful in PHP, no one wrote in .NET?

@eduardo-bressan you dont need PHP, read the wiki there is documentation there... Anyway...:
Remove your account and using another identity register from zero your account, that should work. And if you have a friend with a started conversation, ask him to remove and add you again.
That will fix all your issues

Thanks, I will try this and read the Wiki anyway.
Do you know if that project it's already decrypting the text? It seems that it is doing...

@eduardo-bressan that project is the same as this one, we are avoiding encrypted messages, we only manage plaintext messages, thats why you have to do that workarround if your number comes from an android device

Hi, i have the same problem, register again the number with another identity, erase the conversation and generate a new and now 90% of the messages that recieve are encrypted.


Add integration test for Babbage minUTxOValue validation precision

[x] Verify that #3423 successfully alleviates problem where the wallet used to be 0.01724 ada too strict compared to the ledger when validating the minUTxOValue requirement of user-specified outputs.

Test fails without the fix.

Comments
      -- Coin-selection will out of caution overestimate the size of the ada
      -- quantity in its calculation when assigning a new minUTxOValue. In
      -- practice, this would always be an overestimation of 0.017240 ada (see
      -- calculation below). This tests checks that that the wallet also doesn't
      -- validate user-provided values based on the overestimation: we want
      -- all ada values allowed by the ledger to also be allowed by the wallet.

Issue Number

bors try

bors r+

bors r+

bors r+

bors r+


Support for Twig v2+

Everything is in the title

Please, update composer.json
We can you JqueryValidationbundle correctly with:
composer show | grep twig
symfony/twig-bridge v4.0.3 Symfony Twig Bridge
symfony/twig-bundle v3.4.3 Symfony TwigBundle
twig/twig v2.4.4 Twig, the flexible, fast, and secure template language for PHP
tested!

Hi, is there any doc on how to use JqueryValidationbundle with these bundles ?


can not add more elements to polyline

I am trying to see a polyline for a moving marker/car. But only the first two locations are shown in the polyline. Here's the code
    showPolylines() {
        return this.props.deviceLocations.map((location, index) => {
            let arr = this.props.polylineDict[location.deviceID]
            console.log("array of locations",arr);
            if(arr.length >1){
                return <Polyline
                    key={index}
                    path={arr}>
                </Polyline>
            }
            else {
                return null
            }
        })
    }

in array of locations all the locations are present,but Polyline is not updated after 2 locations.The rendering part is working properly as log shows me "array of locations" with updated array each time

I am going through the same thing. If you let Polyline start with 3 points, the Polyline in display will always stick with 3 points even if you add more points to the path. I don't know if I made this right, but I've searching through every single possible resources.
For anyone interested in reproducing it, try add "MarkerLayer" in a google map, and set the map center to (29.7604,-95.3698) (Houston) :
`var vvvPath = [{ "lat": 29.87033, "lng": -95.52427 }, { "lat": 29.87037, "lng": -95.51266 }, { "lat": 29.86689, "lng": -95.50694 }, { "lat": 29.86558, "lng": -95.50081 }, { "lat": 29.86557, "lng": -95.4981 }, { "lat": 29.86549, "lng": -95.49296 }, { "lat": 29.86553, "lng": -95.49291 }, { "lat": 29.86552, "lng": -95.4926 }, { "lat": 29.86556, "lng": -95.49259 }, { "lat": 29.86575, "lng": -95.49769 }, { "lat": 29.86571, "lng": -95.50668 }, { "lat": 29.8656, "lng": -95.52037 }, { "lat": 29.86899, "lng": -95.52451 }, { "lat": 29.87889, "lng": -95.52472 }, { "lat": 29.87387, "lng": -95.52927 }, { "lat": 29.87722, "lng": -95.53734 }, { "lat": 29.88534, "lng": -95.53743 }, { "lat": 29.8854, "lng": -95.54038 }, { "lat": 29.8854, "lng": -95.54044 }, { "lat": 29.88548, "lng": -95.54044 }, { "lat": 29.88589, "lng": -95.54056 }, { "lat": 29.88615, "lng": -95.54349 }];
class MarkerLayer extends Component {
constructor(props) {
super(props);
this.state = { path : [] };
this.addpath = this.addpath.bind(this);
}
addpath() {
let foo = vvvPath.shift();
console.log("Size of path:", this.state.path.length);
this.setState((prevState, props) => {
  let bar = prevState.path;
  bar.push(foo);
  return { path : bar};
});

}
render() {
return
 <Polyline
path={this.state.path}
options={{
'strokeColor':'#FE5F55',
'strokeOpacity': 1,
'strokeWeight': 3,
'geodesic': true
}}
/>
 Next {this.state.path.length}
;
}
}`
Remember to import Polyline when reproducing

for code solution please check #491


feat(Variance): Simple selector support for static methods [WEB-1117]

Variance Migration Doc
Final Markdown documentation for these behaviors will be ticketed once the API has been finalized, as part of the cut over fromgamut-system.

Static CSS Utility Types
export type SelectorMap<Props, System> = {
  [K in keyof Props]?: SelectorProps<Props[K], System>;
};

export type SelectorProps<Props, System> = {
  [K in keyof Props]?: K extends keyof System
    ? System[K] // System Property Types
    : K extends keyof PropertyTypes
    ? PropertyTypes[K] // Any Valid CSS Prop
    : Omit<PropertyTypes, keyof System> & System // No Match Opens a single level of nesting for System + General CSS;
};

Accept and Pass Through all valid CSS properties on Static Utilities (as they are not props).
This change lets us configure anything that is likely to be non dynamic but required for a complete and discrete style.   The typings for both variant and css accept all properties that are not present on the passed configuration.
These are still guaranteed to be typesafe by CSSType.
These props can only be the value specified and will not accept values with the responsive syntax.
const styled.ul(variant({
   key: 'listVariant',
   variants: {
      vertical: {
         listStyle: 'none',  // not a system prop but valid
         p: 0,
         m: 0,
      },
      emoji: {
         listStyleType: "\1F44D",  // not
         pr: [12, 24],
         m: 0
      }
}))

When generating the styles the function will ignore the all props not specified by our configuration and simply pass them through to the result CSSObject.
Selectors for Static Utilities
This change lets us specify scoped selector syntax for anything not matching a valid CSS prop or system property.  The typings here are very loose as the evaluation of possible selectors is very taxing even with stronger aliasing.   This with the addition of the CSS Passthrough will allows us to create complete variants for much more complex css as scale.  And create robust sharable utilities.
const styled.a(variant({
   variants: {
      interface: {
         color: 'navy',
         '&:hover': {
             textDecoration: 'none',
             border: '2px solid currentColor',
             borderWidth: {  md: '4px' } // Responsive syntax party town
         }
      },
      inline: {
         color: 'hyper',
         transition: 'scale 150ms ease',
         '&:hover': {
            textDecoration: 'underline',
            transform: 'scale(1.2)', // static properties work here too!
         }
      }
}))

Immediate uses post migration:

Anchor
Button
OrderedList / UnorderList

PR Checklist

[ ] Related to designs:
[x] Related to JIRA ticket: WEB-1117
[x] I have run this code to verify it works
[x] This PR includes unit tests for the code change

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6063a72e29ee7f00a3781bad--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://6063ad1c1c9085009c29fc19--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://60640a14bb658f843802f648--gamut-preview.netlify.appDeploy Logs


How isolate kubernetes namespaces with network policies at cluster scope

Hello,
I have a kubernetes cluster  with calico plugin for networking and network policies. I want to create network policies to autorize/deny network traffic between namespaces as I want as an  admin at cluster scope  but  prevent the user inside the namespace to list or modifie this policies.
actually the network policies are namespaced ressources and with rbac we can only create roles that allow  the user inside a specific namespace to edit or not  the network policies  so I dont know how to performe this isolation at cluster scope so that users  inside namespaces can't list/edit the admin network policies

Calico version : 3.0
Orchestrator version :  kubernetes 1.9

Best regards.

I've raised https://github.com/projectcalico/calico/issues/1847 for adding a walkthrough on how to do this - I think our docs are lacking in this area right now.

@anihak: were you able to implement your Global_NP with calicoctl? Can you help me on how to do it please?

Sorry for digging old issue, but I couldn't find any more relevant issue and I'm not sure if it's worth opening new one. Somehow related to this issue, it would be nice to have an option to define let's say NetworkPolicyTemplate, which would be able to isolate set of namespaces from each other.
Example: I deploy bunch of microservices into a single namespace, which together build single application. I can deploy multiple versions or environments into separate namespaces and those workloads don't need to and should not be able to cross namespace boundary. To solve this, I have to deploy an NP per namespace. Ideally, I could deploy single NetworkPolicyTemplate (or perhaps something like this could be part of GNP), which applies to every namespace matching a given selector, which only allows traffic inside the namespace itself and not to other namespaces matching the same label.
This way, as a cluster admin (namespaces admin), I can ensure that the namespaces are isolated, but users of namespaces are still allowed to deploy their own more strict policies between the microservices.
Should I create a new issue about it?


Yellow Diamond's voice is unbalanced

The audio for YD's voice is heavily balanced to the right.

Another character's voice for comparison:

Not sure if the existing audio can be adjusted to fix this or if it will need to be rerecorded.

Made an attempt to fix it
https://github.com/pixequil/oso-game-1/assets/134235512/87741ecf-67c6-4a28-ae4d-3fad650aeeaa

Apologies for the previous one, turns out I exported it incorrectly.
Now it plays on both channels
https://github.com/pixequil/oso-game-1/assets/134235512/e4c504d4-f53b-4e50-811d-c8dea2d947e6


How does Python LSP integration work?

My understanding is that Python LSP integration is supposed to be built using the source-db subtargets (and accompanying BXL scripts in the prelude), but I cannot find any mentions of "source db" in language server docs.
I'm very unfamiliar with the Python ecosystem, could somebody give me some pointers for where to start looking?
My understanding is that in the Bazel world, this is achieved by making venvs that contain both third-party and local dependencies. Is it similar in the Buck2 world?
I've looked at the git log for prelude/python/sourcedb/ide.bxl, but it's not quite enough context I believe.

Hey @cbarrete, I have an understanding of how this works internally for the Pyre type checker, but let me see if I understand your question correctly. Are you looking to build the source-db and use it in some other language server? Which Python LSP integration do you mean?
The source-db is a mapping from files on disk to where files would end up in a par (so essentially how files get remapped in the resulting executable). It also makes sure any other generated files are 'ensured', so they exist on disk for you to utilize. Depending on what you're looking for here, one of the other sourcedb scripts might be more useful to you, or this may be doing something other than what you're expecting.
For Pyre, we use the resulting sourcedb to understand what file an import in a Python file actually points to, and to make sure something like a .pyi file generated from specific c(++) rules exist for us to use.

Hey, sorry for the delay and thanks for your reply!
What I want is to setup a good Python dev experience, including:

formatting
linting (unused variables, common mistakes, etc.)
type checking
code navigation
refactoring

There are various tools and language servers that can do this, but most of them require a "proper" Python setup, which typically means a pyproject.toml, which I obviously don't want to have to maintain given that I use Buck.
Ruff can handle some parts of this without much configuration, but e.g. type checking ore more advanced linting require project metadata. My understanding is that the prelude exposes this via the source-db file (which also depends dependencies so that they get materialized, like you mentioned). However, most language servers (e.g. https://github.com/python-lsp/python-lsp-server) don't seem to know about this: as I understand it, this is not a standard file in the Python ecosystem.
I'm fine with using Pyre (it's not ideal to be locked into a single type checker, but oh well), but the docs for how to integrate it into an editor are missing. The configuration docs mention some JSON config, but the schema doesn't match that of a source-db output. Building a source-db file (either via a target's subtarget or using BXL) is no problem, but I don't know what to do with it!
Is there some documentation somewhere about how to get Pyre (or ideally any language server) to use a sourcedb?

There are examples for using LSP (pyright) in here: https://github.com/cormacrelf/elk