FlutterWindowsEngineTest.TestExit is very flaky

It appears that most of the host unopt windows builders are having to retry to rerun this single test. I'm not sure if we have any automatic flakiness detection for these, but filling so we don't lose track of it.
For example: https://luci-milo.appspot.com/ui/p/flutter/builders/try/Windows Engine Drone/64316/overview
When these tests flake we have to rerun the entire shard, which may be constributing to windows capacity issues.
@yaakovschectman @cbracken

This test was added by https://github.com/flutter/engine/pull/40802.@yaakovschectman could you investigate?

Yeah


[myPyllant.api] Could not get diagnostic trouble codes

Before submitting a new issue

[ x] I'm not using the older Vaillant sensoAPP (which is unsupported by this integration)
[ x] I redownloaded the latest release and restarted Home Assistant
[x] I've enabled debug logs and attached the relevant logs to this ticket

Problem description
Hi, I get a error code or hint or notice, how ever, many times a day in the Home Assistant core logs respectively in the host system logs from myVAILLANT integration.
Nevertheless Integration is working very well.
Thank you for your work. How or where I can donate your work or spend a coffee?
Logs
Could not get diagnostic trouble codes

Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/myPyllant/api.py", line 832, in get_diagnostic_trouble_codes
response = await self.aiohttp_session.get(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 689, in _request
    resp.raise_for_status()
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_reqrep.py", line 1059, in raise_for_status
    raise ClientResponseError(
aiohttp.client_exceptions.ClientResponseError: 502, message='Bad Gateway', url=URL('https://api.vaillant-group.com/service-connected-control/end-user-app-api/v1/systems/********-****-****-****-************/diagnostic-trouble-codes')

It seems this endpoint sometimes becomes unavailable, but the log entry is only a warning and shouldn't affect anything. I guess you're not seeing this very often?
Thanks for the coffee offer, I currently don't have anything set up for that. I'll post a link in one of the release notes, when I get around to it!


Clear VM/VMI mac addresses when restoring to a different namespace

What this PR does / why we need it:
When restoring a VM to same namespace, let's preserve the MACs.  Otherwise clear them.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

Clear VM/VMI mac addresses when restoring to a different namespace

/hold

cc @esteban-ee


Yew router doesn't update DOM when there are two path with the same component and different content

Problem
Yew router doesn't update DOM when there are two path with the same component and different content. You need to work around put the components inside of another components
Steps To Reproduce
Steps to reproduce the behavior:

clone yew-parcel-template
git checkout yew-router-bug
execute npm start in the path root
Open a browser with the address http://localhost:1234
In the navbar, click Home and About. You will notice that the content doesn't change (Issue)
Go to the master branch and try the same. You will see that the content changes (Work around)
You can see the code in the path /crate/src/app.rs

Expected behavior
Should update the doom without put the components inside of another component
Screenshots
Issue:

Work around:

Environment:

Yew version 0.16
Rust version 1.43.0
Target wasm32-unknown-emscripten
web-sys v0.3.33
OS: solus
Browser Firefox, Chrome

Questionnaire

[ ] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[x] I don't have time to fix this right now, but maybe later

I got this branch to work locally after changing a few things:

used local, master clones of yew, yew-router, and yew-styles
** this required that yew-styles was referencing the local yew in its Cargo.toml as well
re-ordered the routes so that / is at the bottom
removed some references to yew-styles components (but this might not have been necessary)

I suspect this is may have been related to #1356 as well. The branch I ended up with is here: https://github.com/spielrs/yew-parcel-template/commit/6c76e0d7dc2d6bd2176a66a8e8b525e0cca9d604

Looks like there's no PR to make; all you should need is to re-order your routes and use this configuration:
yew = { version = "0.17", features = ["toml", "yaml", "msgpack", "cbor", "web_sys"]}
yew-router = { version = "0.14", features = ["web_sys"]}
web-sys = "0.3"
yew_styles = { verison = "0.6.2", features = ["layouts", "navbar", "asset"] }

@jstarry we can probably close this issue.

I will check if with the new version works, otherwise the issue is not the configuration or the order of the router, even I can work around including the component inside of another

I'm going to close this @dancespiele, feel free to reopen if you're still having issues!

it's been a while since the issue was opened and closed but I experienced something similar with 0.20 yew and 0.17 router so just want to leave a comment about potential issue in your code.
Basically, I was following the tutorial, part about external-rest-api. The key part to have the page reload is to provide a non empty tuple! It should have the path variable value. See the code:
#[derive(Properties, PartialEq)]
pub struct Props {
    pub path_value: String,
}

#[function_component(View)]
pub fn view_function_component(props: &Props) -> Html {
    let values = use_state(|| vec![]);
    {
        let values = values.clone();
        use_effect_with_deps(
            move |_| {
                let values = values.clone();
                wasm_bindgen_futures::spawn_local(async move {
                    // API call that returns 'new_values'
                    values.set(new_values);
                });
                || ()
            },
            props.path_value.clone(),
        );
    }
    // render the view
}


document issue to get kubeconfig

This documents mentioned how to get kubeconfig
kubectl get secrets -n ${TENANT_NAMESPACE} ${TENANT_NAME}-admin-kubeconfig -o json \
  | jq -r '.data["admin.conf"]' \
  | base64 --decode \
  > ${TENANT_NAMESPACE}-${TENANT_NAME}.kubeconfig

Followed instructions above to get kubeconfig and get error for any resource:
Error from server (Forbidden): nodes is forbidden: User "kubernetes-admin" cannot list resource "nodes" in API group "" at the cluster scope

Repro Steps:

using EKS to create management cluster
install capa, cluster-api-control-plane-provider-kamaji
generate kamaji cluster
get kubeconfig by

clusterctl get kubeconfig kamaji-tc5 > kamaji-tc5-kubeconfig.config

or get kubeconfig by

kubectl get secrets kamaji-tc5-admin-kubeconfig -o json \
  | jq -r '.data["admin.conf"]' \
  | base64 --decode \
  > kamaji-tc5.kubeconfig

use kubeconfig, get error.

Fix suggetions:
checked secret and found their is another super-admin.conf, suggest to change to:
kubectl get secrets -n ${TENANT_NAMESPACE} ${TENANT_NAME}-admin-kubeconfig -o json \
  | jq -r '.data["super-admin.conf"]' \
  | base64 --decode \
  > ${TENANT_NAMESPACE}-${TENANT_NAME}.kubeconfig

Hey, thanks for the report, however, this is not a bug per se.
We have a ser of internal controllers that install the required RBAC for the kubernetes-admin user, if these are not running it's a symptom something is broken with your Kamaji installation.
The super-admin is gonna work since the group bound to that user is system:masters which bypass entirely the RBAC in Kubernetes, and should be only used by external operators and not users.
Please, check the logs of Kamaji since it seems the Operator is not able to connect to the Tenant Control Planes to interact with it.

Closing due to lack of feedback.


Vacuum issues with RBAC

Hi All,
I'm running brigade on a kubernetes cluster with RBAC.
In the helm values I have set:
rbac:
   enabled: true

When running the vacuum I get get the following response:
$ klo cale-brigade-vacuum-1531137600-hwxnb
2018/07/09 13:26:49 Pruning records older than 2018-06-09 13:26:49.400366863 +0000 UTC m=-2591999.875824923
Deleted 0
Error: Unauthorized
Usage:
  brigade-vacuum [flags]

Flags:
  -a, --age string          Age as a fuzzy date ('48h' for hours, '20m' for minutes, '2000s' for seconds)
  -h, --help                help for brigade-vacuum
      --kubeconfig string   The path to a KUBECONFIG file, overrides $KUBECONFIG.
  -m, --max-builds int      Maxinum number of builds to keep
  -n, --namespace string    The Kubernetes namespace for Brigade
  -v, --verbose             Turn on verbose output

Unauthorized

Any idea why this 'Unauthorized' is occurring and any idea how to resolve it?

What version of Kubernetes are you running?
Also, what's the vacuum role look like (kubectl get role brigade-brigade-vacuum -o yaml)? Here's mine:
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
  creationTimestamp: 2018-05-10T20:33:04Z
  labels:
    app: brigade-brigade
    chart: brigade-0.13.1
    heritage: Tiller
    release: brigade
  name: brigade-brigade-vacuum
  namespace: default
  resourceVersion: "832"
  selfLink: /apis/rbac.authorization.k8s.io/v1/namespaces/default/roles/brigade-brigade-vacuum
  uid: 571ee9b4-5491-11e8-a3cd-080027e44c4b
rules:
- apiGroups:
  - ""
  resources:
  - pods
  - secrets
  - persistentvolumeclaims
  verbs:
  - get
  - list
  - watch
  - delete
- apiGroups:
  - ""
  resources:
  - pods/log
  verbs:
  - get
  - list
  - watch

This ended up being my error with rbac permissions.


Deploy permissions service to ECS

Includes containerization of permissions service.

Guessing this is still in progress? And now on hold until @eefahy is back + can update


aur-chroot: A local repo without a file:// entry is not an error

aur sync -c -d foo -r foo_db_path will call aur chroot -d foo, and
if the repo 'foo' does not have a corresponding 'file://' entry in
pacman.conf, then the grep -Em1 fails which exit the script.
But this is not an error, it just means that the corresponding directory
won't be bind_mounted. So desactivate 'errexit' for this case.

By the way the way $server is autodetected is not uniform:

if $database is specified, then aur-build and aur-sync use

    server=$(pacconf --single --repo="$database" Server)
    server=${server#*//}

This works only if the first Server argument refer to a file:// and not an http://

if $database is not specified, then aur-sync (and not aur-build) does autodetection via conf_file_repo and this works whenever there is only one repo with (only) one file:// Server

arch-chroot uses grep -Em1 '^file://'

What about replacing server=$(pacconf --single --repo="$database" Server)
by server=$(pacconf --repo="$database" Server | grep -Em1 '^file://')?
(with the same set +e as for arch-chroot). This would autodetect the first file:// configured Server.

Going back to aur chroot, for my usage my custom repo is hosted by a remote server, and I configured pacman to retrieve it via https://. For aurutils operations I sshfs the remote directory to my local machine, and pass '-r path_to_the_sshfs' to aurutils. This works well, and this is not a problem for aur chroot because since the repo is available over the web, there is no need to bind mount any local directory.

Thanks for the analysis. || true should be enough in this case; I'll take a closer look later.

Ok I updated the pr with a || true instead.

About server detection not being uniform, I wonder if such detection is needed in all 3 scripts (aur-build, aur-sync and aur-chroot).
In particular, we could keep everything (including --repo-list) in aur-build and specify bind mounts to aur-chroot manually. What do you think?

aur-chroot definitively don't need to know about AUR_REPO, it could just simply bind mount all file:// servers. (This could even be a feature to ask upstram for makechrootpkg.
aur-sync needs to know about the db for -u, we could move the --list to aur-build but this would involve passing the options to it correctly.
In https://github.com/DamienRobert/aurutils/tree/wip you can see my current implementation of unifying the logic. (Obviously the fixup commits still there show this is a wip :)) In particular I added a new binary
aur-repolist that can list the db, I find this more modular than stuffing everything in aur-sync.

I'm not sure about having lib files that are not executables, see #29. However I do think that aur-repolist is a good starting point for a more general repository management tool akin to repoctl, see #444.
About aursync -u, the main reason it exists is that I didn't know how to use xargs while preserving stdin. Since then I found out about xargs -a, so I'd say it's not mandatory -u stays, if there are benefits in leaving it out.

I'll merge this now and take a look at #448 later. Thanks.


Shims cannot trust user-defined types, need to always use deref_pointer_as

Calling deref_pointer means we create a place at whatever type that argument was declared at by the user. But we can't trust that type, we should ideally entirely ignore it and use deref_pointer_as everywhere. Failure to do so can lead to ICEs like https://github.com/rust-lang/miri/issues/3839.
To help with this, do the following:

rg -w deref_pointer src/shims
Pick one of the remaining places where we call deref_pointer
Figure out which type that argument is supposed to have
Replace the call with deref_pointer_as and the correct type

Getting the correct type will be the hardest part of this, and it depends on what the correct type is. Many basic types are available in this.machine.layouts, but struct types need to be looked up in libc/std or maybe we even have to construct one ourselves (or entirely change the code). If you are unsure about a concrete case, just ask here. :)

Once all of them are converted we should probably add a ./miri tidy (or make it part of ./miri check and similar commands) that automatically greps and asserts that there are no new ones introduced

Ah yes that's a good low-tech solution.

can i have a try at this?

Sure. :) I'd suggest to start with just one file and fix the deref_pointer there, to make sure you get the hang of this.
Unfortunately I won't have the time to provide a lot of mentoring. You can always try Zulip, there are other people there that can help.


docs: add initial contributors guidelines

Adding initial contributors guidelines.

https://github.com/zino-app/graphql-flutter/issues/262

Codecov Report

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

@@           Coverage Diff           @@
##             beta     #287   +/-   ##
=======================================
  Coverage        ?   39.14%
=======================================
  Files           ?       26
  Lines           ?     1009
  Branches        ?        0
=======================================
  Hits            ?      395
  Misses          ?      614
  Partials        ?        0

Continue to review full report at Codecov.

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

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


IMPROVE - Add Filter by Vehicle to DashboardView

Describe the feature you want to improve
Add a filter to the DashboardView to filter by vehicle
This is what the filter currently look likes, and add a new section that lists the vehicle names, and also All Vehicles, and depending on which one the user taps, it'll filter the list on the DashboardView

Describe alternatives you've considered
N/A, feel free to make suggestions!

Just wanted to let you know @mikaelacaron I am new to this repo, and I am planning on contributing as a part of a project for my Software Engineering course at UMich, if you need anything else from me or need this done by a certain time please let me know! Thank you!

Hello! I am interested in contributing to this issue.

You got it!

Just wanted to let you know @mikaelacaron I am new to this repo, and I am planning on contributing as a part of a project for my Software Engineering course at UMich, if you need anything else from me or need this done by a certain time please let me know! Thank you!

There's no specific deadline right now for this issue! You can finish it at whatever's convenient for you, be sure to check back and update your fork with changes to dev periodically. I'll be shipping some updates in preparation for shipping the app to the App Store soon! (but these shouldn't affect you too much)

Feel free to reach out or DM me anytime if you have any questions about how the repo should work / if you have any trouble! @riddhi-b

Nevermind i don't know i I can work on this because I have a windows computer and do not have Xcode. So sorry about this!!

@riddhi-b thanks for trying. Yes this is an iOS development project, which requires Xcode and a Mac, is there something I can make clearer in the README to make that more understood for others?

Hello, I would like to contribute to the this issue. To be honest, I've already started working on it, but I've just read that I should inform @mikaelacaron before beginning work on the issue.

@Abrahamiaan thank you! yes please always let me know before working on issues, as stated in the README and CONTRIBUTING files because it lets me know who is working on what, and especially during Hacktoberfest, so that two people are not working on the same issue


No Upgrade path from the old experimental OPA to to the new chart

Need to note that there is no direct upgrade path from the experimental version to the GA. User need to uninstall the old chart and reinstall the new chart.
To uninstall the old chart, user should go into the ember UI, in the System project, under apps. Deleting from 2.5 dashboard will cause a problem: https://github.com/rancher/rancher/issues/29188

Closing this issue because it is documented on this page https://staging.rancher.com/docs/rancher/v2.x/en/opa-gatekeper/


200 Success responses, but no data appears in Loggly dashboard

200 Success responses, but no data appears in Loggly dashboard:

Same data, same everything -- showed up instantly in Logz.io dashboard:

In your Loggly screenshot the search is still ongoing (there's a spinner) - are you sure the search finished and the data didn't show up?
Are you able to send events to Loggly using curl?
And what is your fluentd config?

I had the same issue running ruby 2.2.5p319 and fluent-plugin-loggly-0.0.8 with the configuration below
<match **>
    @type loggly_buffered
    loggly_url https://logs-01.loggly.com/bulk/UUID/tag/tag1,tag2
    output_include_time true
    buffer_type memory
    flush_interval 1s
</match>

I had to revert back to non-buffered type and this worked for us:
<match **>
    @type loggly
    loggly_url https://logs-01.loggly.com/inputs/UUID/tag/tag1,tag2
</match>

What´s your environment setup?

Kubernetes 1.5.6 cluster
Debian Jessie 8.6 (kernel 4.4.41-k8s)
Docker Server Version: 1.12.3
Running on AWS

Some output from the fluentd logs:

2017-09-04 10:50:58 +1000 daemon.info: {"host":"sample-service-95366385-664ex","ident":"unicorn","message":"I, [2017-09-04T10:50:58.184083 #326]  INFO -- : Completed 200 OK in 79ms (Views: 4.0ms | ActiveRecord: 52.3ms)"}
2017-09-04 10:50:58 +1000 nginx.info: {"remote":"<IP_ADDRESS>","host":"-","user":"-","method":"GET","path":"/v1/newsletters?active=true&publication_acronym=AGE","code":"200","size":"16172","referer":"-","agent":"Faraday v0.11.0","progname":"nginx"}
2017-09-04 10:50:58 +1000 daemon.info: {"host":"sample-service-95366385-664ex","ident":"unicorn","message":"<IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS> - - [04/Sep/2017:10:50:58 +1000] "GET /v1/newsletters?active=true&publication_acronym=AGE HTTP/1.0" 200 - 0.0829"}
2017-09-04 10:50:58 +1000 [debug]: plugin/out_loggly_buffered.rb:65:write: 39 records sent
2017-09-04 10:51:00 +1000 [debug]: plugin/out_loggly_buffered.rb:70:write: HTTP Response code 200

@edify42 Use the lastest version the plugin 0.0.9.


Download button, share button, and url shortener button stay not in sync with visualization while editing

The json export button, the csv export button, the share button, and the url-shorter button are not updated when the user changes metrics, groupby, or other properties of the visualization. Thus, the user downloads or shares the wrong data. They are updated when the site is reloaded by clicking on refresh.
Steps to recreate it:

Open a slice, e.g.
/caravel/explore/table/2/?slice_name=World's+Pop+Growth&row_limit=50000&metric=sum__SP_POP_TOTL&show_bubbles=y&entity=country_code&secondary_metric=sum__SP_POP_TOTL&viz_type=area&since=1960-01-01&json=false&until=now&datasource_id=1&metrics=sum__SP_POP_TOTL&datasource_name=birth_names&country_fieldtype=cca3&granularity=year&slice_id=11&datasource_type=table&compare_lag=10&limit=25&markup_type=markdown&compare_suffix=o10Y&where=&groupby=region .
Change the metric from sum__SP_POP_TOTAL to Count( ) and hit 'Query'. The visualization updates and location in the browser bar changes accordingly. The new metric is used.
Download the json/csv file.
Expected: The data uses the new "Count( )" metric.
Actual result: The data still uses the the old metric sum__SP_POP_TOTAL metric. All other values like json_endpoint, csv_endpoint, or metric in the json data still refer to the old metric. Inspecting the link in the csv/json download button reveals that the links use the old metric. Though, the SQL-Query from the query button is correct.
Refresh the page.
Download json/csv and get the expected data.

The same bug applies when chart parameters are changed.
Cause
The state of the page with all the parameters for metric, group by, etc. is saved in the global variable 'slice'. When the user changes params, they are updated in 'slice'. The buttons are React Components created with the property 'slice'. However, they do not listen to updates of 'slice' and keep the initial value.

thanks for this report @prokh , i'll look into.


Updated for Swift 4

Was using this for a recent project and it needed a simple update.

Thanks for contributing! I'm sure others will be happy about this too :)


Drop typings - use graphql-typings

Wow! This is cool. I would also love to get rid of typings....

I'm moving apollo-client into this right now!

Amazing!


Modify the source of detekt

I found the source of detekt is a forked repo, so I modified it to the upstream repo

Great @AristoChen. Thanks!


Make public nuget package

hello, you have a chance to make this a public nuget? (even in pre-release...)

Hello. Yes I've created a new branch but didn't yet have the time to finalize it.
This week-end 👍🏻


Release 1.0

The beginning of the end.  Or the end of the beginning.

@zmerlynn @eparis @thockin

this isn't correct, I'm going to delete this PR and craft a new one.


Quoted function name clashes with DU Pattern ID - [MOVED:https://github.com/fsharp/fsharp/issues/402]

Hello,
I am not sure if this is a bug, or an issue localised to me, or perhaps it is meant to be this way (or I am just doing something stupid).
    let ``TEST`` = id

    type XXXX =
        | A
        | TEST

    let lookup = function
        | A -> Some id
        | TEST -> Some ``TEST``

On the last line, the error is: error FS0001: This expression was expected to have type
'a -> 'a
but here has type
XXXX
I would have expected this to compile, but it seems that the DU XXXX is overriding the function ``TEST``, is this normal and expected?
Edit: tried to update function name

moved from fsharp/fsharp/issues/402 ( so is linked :smile: )

i think the binding remove the backticks
> let ``TEST`` = id;;

val TEST : ('a -> 'a)

both are valid
> TEST;;
val it : ('a -> 'a) = <fun:clo@4-1>
> ``TEST``;;
val it : ('a -> 'a) = <fun:clo@5-2>

but inside DU are not

@enricosada thank you.
I think if this is a language use case then a warning should be added that advises that something with the same name is already bound? This would be consistent then with how double binding errors are surfaced to the user.

@xenocons i think is a bug, but depends on fsharp spec ( /cc @dsyme ) if identfier TEST = TEST
The error is ok, like if you write without backticks
 let lookup = function
        | A -> Some id
        | TEST -> Some TEST

this is an error because A -> (a -> a) option and TEST -> XXXX option
But with backticks the compiler should infer the correct binding
I think the compiler search the identifier without backticks, like my test with fsi

There is no difference between a backticked identifier and a "regular" identifier, all that matters are the characters within.  Once the identifier has been parsed, the backtick information is essentially thrown away, AFAIK.
So the provided code is equivalent to
    let TEST = id

    type XXXX =
        | A
        | TEST

    let lookup = function
        | A -> Some id
        | TEST -> Some TEST

Which follows normal shadowing rules and gives an error as expected.  Note that it works the other way, too - you can consume non-backticked guys even if you add backticks:
let dude = 42
let sweet = ``dude`` + 10

make sense :smile:

spec

regexp ident-text = ident-start-char ident-char*
token ident =
  | ident-text  	For example, myName1
  | `` ( [^'`' '\n' '\r' '\t'] | '`' [^ '`' '\n' '\r' '\t'] )+ ``
               		For example, ``value.with odd#name``

Any sequence of characters that is enclosed in double-backtick marks (`` ``), excluding newlines, tabs, and double-backtick pairs themselves, is treated as an identifier. Note that when an identifier is used for the name of a types, union type case, module, or namespace, the following characters are not allowed even inside double-backtick marks:
‘.', '+', '$', '&', '[', ']', '/', '\', '*', '"', '`'

identifier

A sequence of characters that is enclosed in `` `` double-backtick marks, excluding newlines, tabs, and double-backtick pairs themselves.

i read the spec, but didn't understood `TEST` = TEST

Thanks for the relevant spec passage @enricosada. I guess the key bit is "excluding ... double-backtick pairs themselves".


SRS review #15

@karolserkis
In your Problem description :
The Multi-Pendulum Simulation software will generate a plot trajectory in a 3D plot grid. A
simple gravity pendulum has very easy to system to model and consists of a weight suspended
from a pivot and the weight is given enough space to swing freely. To simplify the model
we assume no air resistance with a frictionless pivot. The model and calculations for the
simple gravity pendulum are well dened and only require simple derivations and dierential
solvers.
Multi-Pendulum Simulation program will produce a simulation given a set of constants
and input (starting position away from equilibrium position). Terminologies and the physical
system are described below.
My question is that, because your project is with Multi Pendulum, why do you explain simple pendulum? I may be missing something here. Just recording this because i am not sure if you mean only 1 pendulum when you say simple pendulum? Do you deal with one pendulum or multi pendulum?

@Malavika-Srinivasan @smiths
Thanks for the feedback!


Node.js  Community Committee Meeting 2021-02-18

Time
UTC Thu 18-Feb-2021 17:00 (05:00 PM):

Timezone
Date/Time

US / Pacific
Thu 18-Feb-2021 09:00 (09:00 AM)

US / Mountain
Thu 18-Feb-2021 10:00 (10:00 AM)

US / Central
Thu 18-Feb-2021 11:00 (11:00 AM)

US / Eastern
Thu 18-Feb-2021 12:00 (12:00 PM)

EU / Western
Thu 18-Feb-2021 17:00 (05:00 PM)

EU / Central
Thu 18-Feb-2021 18:00 (06:00 PM)

EU / Eastern
Thu 18-Feb-2021 19:00 (07:00 PM)

Moscow
Thu 18-Feb-2021 20:00 (08:00 PM)

Chennai
Thu 18-Feb-2021 22:30 (10:30 PM)

Hangzhou
Fri 19-Feb-2021 01:00 (01:00 AM)

Tokyo
Fri 19-Feb-2021 02:00 (02:00 AM)

Sydney
Fri 19-Feb-2021 04:00 (04:00 AM)

Or in your local time:

https://www.timeanddate.com/worldclock/fixedtime.html?msg=Node.js+Foundation+Community Committee+Meeting+2021-02-18&iso=20210218T1700
or https://www.wolframalpha.com/input/?i=05PM+UTC%2C+Feb+18%2C+2021+in+local+time

Links

Minutes Google Doc: https://docs.google.com/document/d/1mDfi4j5hUNA1dmlRTOYlfsgA1i1pkPx_itFWl8g5lhs/edit

Agenda
Extracted from cc-agenda labelled issues and pull requests from the nodejs org prior to the meeting.
nodejs/TSC

feat(charter): introduce emergency and async votes #919

Invited

CommComm Members: @nodejs/community-committee

Observers/Guests
Feel free to follow along on the YouTube live stream, or attend meeting as a guest
by calling in to Zoom, using the links below. If you will be attending as a guest,
please comment on this issue to let us know you'll be joining.
Notes
The agenda comes from issues labelled with cc-agenda across all of the repositories in the nodejs org. Please label any additional issues that should be on the agenda before the meeting starts.
Joining the meeting

Link for participants: https://zoom.us/j/95198277339
For those who just want to watch: https://www.youtube.com/channel/UCQPYJluYC_sn_Qz_XE-YbTQ

Invitees
Please use the following emoji reactions in this post to indicate your
availability.

:+1: - Attending
:-1: - Not attending
:confused: - Not sure yet

Since we have no substantial agenda today, would we like to skip?

+1 let's skip today.

Skipping is fine as we dont have much of an agenda.

+1, says me checking for the meeting URL :)

going to close 👍🏻


Crash

Forgive me for not filling out the issue discription but i dont know what that info is as this was reported to the enderio guys. https://github.com/SleepyTrousers/EnderIO/issues/4699
https://pastebin.com/Eh6Umk1S
Quote from henry
That's a bug in refined storage. He's calling getPickBlock() with null for the target parameter, but that parameter is annotated @Nonnull.
https://github.com/raoulvdberge/refinedstorage/blob/mc1.12/src/main/java/com/raoulvdberge/refinedstorage/apiimpl/network/node/NetworkNodeDestructor.java#L105

looks like you beat me to the post xd.


[WIP] If includeClusterResources is nil/auto, pull in necessary CRDs

Related to upstream issue: https://github.com/heptio/velero/issues/1830
This is one potential solution to the problem, still WIP as I've just
started discussing the issue with upstream.

Closing this one since a version of this has been accepted upstream -- we can pull it down if we need it before moving to 1.2


Forced to use it as Production

Something is wrong with the dreaded webpack.
If you don't set   mode: 'production', in the webpack config you will get this error:
external_"react":1 Uncaught ReferenceError: require is not defined
In production mode, the dev loop is incredibly slow. Each changes takes about a minute to get built to the frontend so iterative development is awful.

solved with this:
https://blog.goguardian.com/nerds/react-components-to-npm-with-webpack
basically the webpack config needs:
libraryTarget: 'umd'
and
externals: {
'react': 'react',
'react-dom': 'react-dom'
}
https://github.com/austintgriffith/dapparatus/blob/master/webpack.config.js


Add query param to consignmentArtistFailed

inadvertently left off a parameter in https://github.com/artsy/cohesion/pull/216

:rocket: PR was released in v2.18.0 :rocket:


PyJWT 2.0.0 does not return bytes for encode()

calling jwt.encode(...).decode('utf-8') on pyjwt 2.0.0 and higher throws an error because jwt.encode(...) returns a str now instead of bytes (and Pipfile was updated to pyjwt 2.0.0)
https://github.com/commaai/openpilot/blob/def24ae27ad4cd5948731770745d5039f20ffcf2/Pipfile.lock#L613-L620
if tests didn't catch this, we should probably add one!
https://github.com/commaai/openpilot/blob/def24ae27ad4cd5948731770745d5039f20ffcf2/common/api/__init__.py#L30

can we fix this by converting the return value of encode() to bytes using bytes() instead of decode and then return the resulting value which is in bytes ?
Something like this:  return bytes(jwt.encode(payload, self.private_key, algorithm='RS256'), 'utf8')
Should I open a PR?

can we fix this by converting the return value of encode() to bytes using bytes() instead of decode and then return the resulting value which is in bytes ?
Something like this:  return bytes(jwt.encode(payload, self.private_key, algorithm='RS256'), 'utf8')
Should I open a PR?


List IoTeX

it's EVM-based had has a nice bridge iotube.org

listed https://ethhole.link/project/IoTeX


Spelling fixes for graceful node shutdown beta blog

Fix author spelling and update link to point to 1.21 branch

/assign @sftim
/cc @mrunalp

/lgtm

Thanks @bobbypage .
/approve


Implement /consensus/events endpoint

API is specified in https://github.com/oasisprotocol/oasis-indexer/pull/246
The rest needs to be implemented e2e, i.e. the appropriate data is not yet parsed from the blockchain or stored in the DB.

Resolved by #277


Keyboard Shortcut to clear terminal

Description of the new feature/enhancement

I clear my terminal after almost every command as I prefer keeping things clean, without having to scroll up; I think quite a few other people use the clear command a lot too. Always typing in clear or cls is a hassle.
Proposed technical implementation details (optional)

Add a keyboard shortcut that automatically clears the open terminal using cls or clear. I was wondering if it was possible to have a built-in keyboard shortcut that automatically clears the terminal, something that is easy to access but not already used by another function.

A good idea.

Thanks for the suggestion! #1802 has a lot more details on why this is currently hard to do.
You might be able to get away with
        { "command": { "action": "sendInput", "input": "clear\r" }, "keys":"ctrl+k", "name": "clear terminal" },

which will manually send "clearenter" to the terminal. Adjust as needed for your preferred shell.
/dup #1882


Copatterns and left-programming

Currently, PLFA uses lots of records to encapsulate definitions of, e.g., isomorphisms, embeddings, etc. This means lots of programming that looks like:
≃-refl : ∀ {A : Set}
    -----
  → A ≃ A
≃-refl =
  record
    { to      = λ{x → x}
    ; from    = λ{y → y}
    ; from∘to = λ{x → refl}
    ; to∘from = λ{y → refl}
    }

This is a bad style of programming in Agda, known as right programming – or, putting loads of function abstraction and pattern matching logic on the right-hand side of an equality symbol.
In order to shy students away from right programming, and towards left programming, I would like to rewrite the book to use copatterns wherever possible.

FWIW I let Agda case split a few proofs in Connectives and it simplified at least two of them so as not to need funext and in this case the eta identity for product also. I think some explanation on this would be important, as to why left is better than right, which I guess is down to Adga's amazing pattern matching/elimination? Here's an example that Agda wrote for me ;-)  BTW as s self studier I am learning so much from this fantastic book so thanks for all the work in making it!
→-distrib-× : ∀ {A B C : Set} → (A → B × C) ≃ (A → B) × (A → C)
→-distrib-× ._≃_.to f = ⟨ proj₁ ∘ f , proj₂ ∘ f ⟩
→-distrib-× ._≃_.from ⟨ g , h ⟩ = λ x → ⟨ g x , h x ⟩
→-distrib-× ._≃_.from∘to f = refl
→-distrib-× ._≃_.to∘from ⟨ g , h ⟩ = refl

@sebeaumont The view from the left, by Conor McBride and James McKinna might be a great starting point:
http://strictlypositive.org/view.ps.gz

@wenkokke Thanks for the reference. 👍


[FEATURE]  Add jsdoc for BrowserMicroSentryClient class methods

Docs improvements
Is your feature request related to a problem?
Tried to figure out purposes of all methods inside library classes and it was not obvious and quite difficult without calling them.
It's gonna be very helpful if you can add js-doc for each methods and props
Describe the solution you'd like
Add js-doc for methods
Additional context
Anyway highly appreciate your efforts to develop such library. Thank you guys

We are planning to improve our documentation (probably next year).
As you suggest, we will also consider adding more inline documentation.
Thank you for your feedback!


NETRESOURCE link error in document WNetAddConnection[2|3]

Link to article:
https://docs.microsoft.com/en-us/windows/win32/api/winnetwk/nf-winnetwk-wnetaddconnection2a
Problem:
The NETRESOURCE link in WNetAddConnection[2|3] document is linked to the wrong place:
https://docs.microsoft.com/en-us/windows/win32/api/rrascfg/nn-rrascfg-ieapproviderconfig
The NETRESOURCE link should be
https://docs.microsoft.com/en-us/windows/win32/api/winnetwk/ns-winnetwk-netresourcea

@BESTRIVENinCN Thanks for taking the time to leave us feedback.
I've flagged your issue to the team responsible for this page for awareness and future resolution.
Appreciate you taking the time to contribute to our community.


License drop down is active to any user on a published resource

Description of the bug
Any user can change the license of this published resource: https://www.hydroshare.org/resource/90951d952b034e7aa592898ab6d264eb/
though the changes do not save, the user is given the option to select "save changes"
Steps to reproduce the bug:

Go to 'https://www.hydroshare.org/resource/90951d952b034e7aa592898ab6d264eb/
scroll down to license
select the license drop down
See error

Expected behavior
No user should be able to interact with the license drop down of a published resource
Additional information
Add any other context about the problem here such as screenshots, software versions, and browser information.

released as 2.5.4


Minor fixes grab-bag

Three minor fixes:

Remove noisy print statement from doc builds. Looked like it might have been left over from debugging, and doesn't seem to break anything. @flying-sheep, does that sound right?
When setting sc.settings.datasetdir, I'd meant to use Path.resolve instead of Path.absolute.
Sped up embedding density test by using a dataset where umap was precomputed. Is this fine @LuckyMD?

sounds good from my side

great!

Great, thanks for the quick responses!


Some small tweaks to the subscripions logic

While we're still hunting down the cause for the continuous "subscription failed with Error: 50, re-subscribing in 0 ms" errors where the subscription of a node suddenly gets lost with no reason, I found a few tweaks. Not really solutions to the issue but still good to apply.

Increase subscription ceiling for WiFi devices to 60 seconds (same as mains powered thread devices) as we see the error mostly for WiFi devices.

Remove keepSubscriptions on the subscription itself as its kind of redundant with the autoResubscribe and saves a bit of stress on the device itself (hopefully) - though this is still very unclear.

Remove fabricFiltered=False (so reinstate it being set to True) on the subscription itself as the only reason we were doing that is to have an up to date list of fabrics at all times. Removing it in the sub saves a little bit of stress on the device.

Refresh the node's fabrics in the diagnostics itself to ensure we have the latest info as an alternative for having the fabricFiltered=False in the sub.

CI is failing but that is a global issue (signing issue on the ubuntu used for CI)


Inference for SUN RGB-D dataset

When I executed 'inver.sh', I got failed message from evaluate_msf function in 'val_mm.py'.
It seems that inference with SUN RGB-D dataset was not implemented. (line number 385).
Is there any reason ?

Thanks for your attention to our work!
We have update the code for inference on SUB RGB-D dataset on utils/val_mm.py . You can update the val_mm.py and try it again.

Thanks for your reminder!
We have updated the code for inference on SUB RGB-D dataset on utils/val_mm.py . You can update the val_mm.py and try it again.

Have you tested training on SUNRGBD dataset?
I got an erorr as below. (evaluate_msf).
File "/ws/utils/train.py", line 403, in
all_metrics = evaluate_msf(
File "/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "/ws/utils/val_mm.py", line 272, in evaluate_msf
for idx, minibatch in enumerate(dataloader):
File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 630, in next
data = self._next_data()
File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 1345, in _next_data
return self._process_data(data)
File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 1371, in _process_data
data.reraise()
File "/opt/conda/lib/python3.10/site-packages/torch/_utils.py", line 694, in reraise
raise exception
RuntimeError: Caught RuntimeError in DataLoader worker process 0.
Original Traceback (most recent call last):
File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/worker.py", line 308, in _worker_loop
data = fetcher.fetch(index)
File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 54, in fetch
return self.collate_fn(data)
File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/collate.py", line 265, in default_collate
return collate(batch, collate_fn_map=default_collate_fn_map)
File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/collate.py", line 127, in collate
return elem_type({key: collate([d[key] for d in batch], collate_fn_map=collate_fn_map) for key in elem})
File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/collate.py", line 127, in
return elem_type({key: collate([d[key] for d in batch], collate_fn_map=collate_fn_map) for key in elem})
File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/collate.py", line 119, in collate
return collate_fn_map[elem_type](batch, collate_fn_map=collate_fn_map)
File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/collate.py", line 162, in collate_tensor_fn
return torch.stack(batch, 0, out=out)
RuntimeError: stack expects each tensor to be equal size, but got [3, 441, 591] at entry 0 and [3, 427, 561] at entry 1

Thanks for your reminder!
We have updated the code for inference on SUB RGB-D dataset on utils/val_mm.py . You can update the val_mm.py and try it again.

Have you tested training on SUNRGBD dataset?
I got an erorr as below. (evaluate_msf).
File "/ws/utils/train.py", line 403, in all_metrics = evaluate_msf( File "/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context return func(*args, **kwargs) File "/ws/utils/val_mm.py", line 272, in evaluate_msf for idx, minibatch in enumerate(dataloader): File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 630, in next data = self._next_data() File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 1345, in _next_data return self._process_data(data) File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 1371, in _process_data data.reraise() File "/opt/conda/lib/python3.10/site-packages/torch/_utils.py", line 694, in reraise raise exception RuntimeError: Caught RuntimeError in DataLoader worker process 0. Original Traceback (most recent call last): File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/worker.py", line 308, in _worker_loop data = fetcher.fetch(index) File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/fetch.py", line 54, in fetch return self.collate_fn(data) File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/collate.py", line 265, in default_collate return collate(batch, collate_fn_map=default_collate_fn_map) File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/collate.py", line 127, in collate return elem_type({key: collate([d[key] for d in batch], collate_fn_map=collate_fn_map) for key in elem}) File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/collate.py", line 127, in return elem_type({key: collate([d[key] for d in batch], collate_fn_map=collate_fn_map) for key in elem}) File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/collate.py", line 119, in collate return collate_fn_map[elem_type](batch, collate_fn_map=collate_fn_map) File "/opt/conda/lib/python3.10/site-packages/torch/utils/data/_utils/collate.py", line 162, in collate_tensor_fn return torch.stack(batch, 0, out=out) RuntimeError: stack expects each tensor to be equal size, but got [3, 441, 591] at entry 0 and [3, 427, 561] at entry 1

Thanks for your reminder!
This problem is caused by the batch size on SUNRGBD dataset, because the images' size in SUNRGBD is different but the same size is required when constructing a minibatch.
We have updated the code for eval on SUNRGBD dataset. You can update the eval.py and train.py and try it again.


Add a code_complete event to Browser class

I'm missing an event to let us know the code coverage report is ready. We need it to programmatically read the report for our js mutation testing framework Stryker . Right now we need to implement a polling mechanism (which is ugly as hell).
Let's call it coverage_complete. I want to add the event to the Browser (lib/browser.js)
this.onCoverageComplete = function (result) {
    emitter.emit('coverage_complete', this, result)
    clearNoActivityTimeout()
  }

When this event is added, i will also add the firing of the event in karma-coverage

Why does this need to be in karma itself, couldn't this simply be added to karma-coverage? The emitter can be injected there and the event emitted manually.

I didn't know that. I will move it to there. I'll let the emitter be injected in reporter.js. I also want to add a new report type, something like inMemory. If that is enabled, the coverage report will be provided as second argument to the event (first is the browser). Is this OK? Create one issue for that or 2?

Sounds okay to me, best if you open an issue on karma-coverage describing the full use case. But that should work fine as far as I understand.

Ok, i did that. You can read it here: https://github.com/karma-runner/karma-coverage/issues/215
Could you please review my problem and the proposed solution?
Thanks for the help! :+1:


fix CRSF cookie for chrome

CRSF is broken when running on chrome:

__Host cookie only work when using https
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#attributes

I want to investigate a bit more into this one before merging. It is recommended to use _Host prefix on cookies that should be secure.

I want to investigate a bit more into this one before merging. It is recommended to use _Host prefix on cookies that should be secure.

sure. Does it actually work on you machine? I get the error above on chrome..

Just tested and I can confirm in chrome I do get the same error. Firefox did not have this issue. Gonna go ahead and merge this, thank you!


[iOS] Moving textfield cursor with space button gesture causes exception

Steps to Reproduce

Open keyboard on iOS and try moving cursor inside TextField with the space button gesture

Everything looks fine but terminal is spamming exception:
The following _CastError was thrown during method call
TextInputClient.updateFloatingCursor:
type 'int' is not a subtype of type 'double' in type cast

When the exception was thrown, this was the stack:
#0      _toTextPoint (package:flutter/src/services/text_input.dart:1513:51)
#1      TextInput._handleTextInputInvocation
(package:flutter/src/services/text_input.dart:1827:58)
#2      TextInput._loudlyHandleTextInputInvocation
(package:flutter/src/services/text_input.dart:1701:20)
#3      MethodChannel._handleAsMethodCall
(package:flutter/src/services/platform_channel.dart:536:55)
#4      MethodChannel.setMethodCallHandler.<anonymous closure>
(package:flutter/src/services/platform_channel.dart:529:34)
#5      _DefaultBinaryMessenger.setMessageHandler.<anonymous closure>
(package:flutter/src/services/binding.dart:387:35)
#6      _invoke2.<anonymous closure> (dart:ui/hooks.dart:189:15)
#10     _invoke2 (dart:ui/hooks.dart:188:10)
#11     _ChannelCallbackRecord.invoke (dart:ui/channel_buffers.dart:42:5)
#12     _Channel.push (dart:ui/channel_buffers.dart:132:31)
#13     ChannelBuffers.push (dart:ui/channel_buffers.dart:329:17)
#14     PlatformDispatcher._dispatchPlatformMessage
(dart:ui/platform_dispatcher.dart:599:22)
#15     _dispatchPlatformMessage (dart:ui/hooks.dart:89:31)
(elided 3 frames from dart:async)

call:
  MethodCall(TextInputClient.updateFloatingCursor, [1, FloatingCursorDragState.update,
  {X:
  0.3348251229786763, Y: 0}])

Flutter doctor output:
[✓] Flutter (Channel stable, 3.3.4, on macOS 12.6 21G115 darwin-arm, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.0)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.1)
[✓] VS Code (version 1.72.1)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

Also another important point is- this exception is not caught by Crashlytics somehow. Don't know why but I would like to be notified about everything. If someone knows the reason why its not reporting this please let me know or is this question better to ask in Crashlytics github?

Hello @DjordjeMancic97. I can reproduce this issue on stable but it seems fixed on master. Please upgrade to the master channel and confirm if this is the case.


Upgrade waybar from 0.9.8 to 0.9.9

Checklist

[ x] Checked the nixpkgs master branch

[ x] Checked the nixpkgs pull requests

Project name
nix search name: waybar

current version: 0.9.8
desired version: 0.9.9
Notify maintainers

maintainers:
@FlorianFranzen
@minijackson
@Synthetica9
@lovesegfault
Note for maintainers
Please tag this issue in your PR.
I tried to be helpful and do this myself (so that I could create a pull request). In my fork of nixpkgs, I made the following change:
$ git diff
diff --git a/pkgs/applications/misc/waybar/default.nix b/pkgs/applications/misc/waybar/default.nix
index 38ea7c909c0..c25708c260e 100644
--- a/pkgs/applications/misc/waybar/default.nix
+++ b/pkgs/applications/misc/waybar/default.nix
@@ -29,13 +29,13 @@

 stdenv.mkDerivation rec {
   pname = "waybar";
-  version = "0.9.8";
+  version = "0.9.9";

   src = fetchFromGitHub {
     owner = "Alexays";
     repo = "Waybar";
     rev = version;
-    sha256 = "sha256-XOguhbvlO3iUyk5gWOvimipXV8yqnia0LKoSA1wiKoE=";
+    sha256 = "sha256-yXvT9NMXtUxr9VVLADoL6PUOMko5yFFc51zNsfHz6S4=";
   };

   nativeBuildInputs = [

However, when I try to build it I get an error:
$ sudo nixos-rebuild switch --upgrade -I nixpkgs=/home/amy/github/nixpkgs
[sudo] password for amy:
unpacking channels...
building Nix...
building the system configuration...
these 12 derivations will be built:
  /nix/store/yql2lhscvpkilyxhxh4kqg8w1zr3ymd5-waybar-0.9.9.drv
  /nix/store/h4xjj34m0s7x2aqdfr3108a4wfn6iyib-system-path.drv
  /nix/store/j8iqwf4g227js06diii70718sbbf32iz-dbus-1.drv
  /nix/store/4f5cfvwg17890i4vvy51r1f3gv6hig7r-unit-dbus.service.drv
  /nix/store/4gsj0cn7i8242lqb1809mlbgd71v0yqk-unit-dbus.service.drv
  /nix/store/n2sj4v2iqimbga9m7d35d93v072ahf0f-user-units.drv
  /nix/store/rypkmhsa90q481vwx7hm6i6ppc9lgi7x-unit-polkit.service.drv
  /nix/store/vcpkd6rb785jrzj5fag4avkjwma3kwb4-unit-systemd-fsck-.service.drv
  /nix/store/yfm26cikibrry8vxmmnvxkf2h7whvbdd-unit-accounts-daemon.service.drv
  /nix/store/vfagan6wwfcnrq2cd40ag1fwn73rxgq1-system-units.drv
  /nix/store/w7ijmgk1mzwqymnb9iw5vjalka124j8m-etc.drv
  /nix/store/6w5bscy91m6ycwpc9009k0y6pz3xniby-nixos-system-wombat11k-21.11.git.76f5b6bb9cfM.drv
building '/nix/store/yql2lhscvpkilyxhxh4kqg8w1zr3ymd5-waybar-0.9.9.drv'...
unpacking sources
unpacking source archive /nix/store/9c7sg836s7py8awjwsds6jhq91z432kv-source
source root is source
patching sources
configuring
meson flags: --buildtype=plain         --libdir=/nix/store/zibqhc1bsczwzbf8izrf1jkp0kj2wqg1-waybar-0.9.9/lib --libexecdir=/nix/store/zibqhc1bsczwzbf8izrf1jkp0kj2wqg1-waybar-0.9.9/libexec         --bindir=/nix/store/zibqhc1bsczwzbf8izrf1jkp0kj2wqg1-waybar-0.9.9/bin --sbindir=/nix/store/zibqhc1bsczwzbf8izrf1jkp0kj2wqg1-waybar-0.9.9/sbin         --includedir=/nix/store/zibqhc1bsczwzbf8izrf1jkp0kj2wqg1-waybar-0.9.9/include         --mandir=/nix/store/zibqhc1bsczwzbf8izrf1jkp0kj2wqg1-waybar-0.9.9/share/man --infodir=/nix/store/zibqhc1bsczwzbf8izrf1jkp0kj2wqg1-waybar-0.9.9/share/info         --localedir=/nix/store/zibqhc1bsczwzbf8izrf1jkp0kj2wqg1-waybar-0.9.9/share/locale         -Dauto_features=enabled         -Dwrap_mode=nodownload         --prefix=/nix/store/zibqhc1bsczwzbf8izrf1jkp0kj2wqg1-waybar-0.9.9 -Ddbusmenu-gtk=enabled -Dlibnl=enabled -Dlibudev=enabled -Dmpd=enabled -Dpulseaudio=enabled -Drfkill=enabled -Dsndio=enabled -Dsystemd=disabled -Dgtk-layer-shell=enabled -Dman-pages=enabled
The Meson build system
Version: 0.57.1
Source dir: /build/source
Build dir: /build/source/build
Build type: native build
Project name: waybar
Project version: 0.9.9
C compiler for the host machine: gcc (gcc 10.3.0 "gcc (GCC) 10.3.0")
C linker for the host machine: gcc ld.bfd 2.35.2
C++ compiler for the host machine: g++ (gcc 10.3.0 "g++ (GCC) 10.3.0")
C++ linker for the host machine: g++ ld.bfd 2.35.2
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports link arguments -lc++fs: NO
Compiler for C++ supports link arguments -lc++experimental: NO
Compiler for C++ supports link arguments -lstdc++fs: YES
Program git found: NO
Has header "filesystem" : YES
Checking if "nl_langinfo with _NL_TIME_WEEK_1STDAY, _NL_TIME_FIRST_WEEKDAY" links: YES
Run-time dependency threads found: YES
Found pkg-config: /nix/store/0pymd6cd7kaj6lrxgcficbd232zrpdi3-pkg-config-wrapper-0.29.2/bin/pkg-config (0.29.2)
Run-time dependency fmt found: YES 8.0.1
Run-time dependency spdlog found: YES 1.9.2
Run-time dependency wayland-client found: YES 1.19.0
Run-time dependency wayland-cursor found: YES 1.19.0
Run-time dependency wayland-protocols found: YES 1.23
Run-time dependency gtkmm-3.0 found: YES 3.24.5
Run-time dependency dbusmenu-gtk3-0.4 found: YES 16.04.0
Run-time dependency gio-unix-2.0 found: YES 2.70.1
Run-time dependency jsoncpp found: YES 1.9.4
Run-time dependency sigc++-2.0 found: YES 2.10.7
Did not find CMake 'cmake'
Found CMake: NO
Run-time dependency epoll-shim found: NO (tried pkgconfig and cmake)
Run-time dependency libnl-3.0 found: YES 3.5.0
Run-time dependency libnl-genl-3.0 found: YES 3.5.0
Run-time dependency libpulse found: YES 14.2-rebootstrapped
Run-time dependency libudev found: YES 249
Run-time dependency libevdev found: YES 1.11.0
Run-time dependency libmpdclient found: YES 2.19
Run-time dependency xkbregistry found: YES 1.3.1
Library sndio found: YES
Checking for function "sioctl_open" with dependency -lsndio: YES
Run-time dependency gtk-layer-shell-0 found: YES 0.6.0
Dependency systemd skipped: feature systemd disabled
Run-time dependency date found: YES
Program wayland-scanner found: YES (/nix/store/5ga7z245k9sk5cf4a51migv5lrxl4my7-wayland-1.19.0-bin/bin/wayland-scanner)
Program gdbus-codegen found: YES (/nix/store/wvnnkil0zb1xnn8xdfngxiaqahja77r2-glib-2.70.1-dev/bin/gdbus-codegen)
Found pkg-config: /nix/store/0pymd6cd7kaj6lrxgcficbd232zrpdi3-pkg-config-wrapper-0.29.2/bin/pkg-config (0.29.2)
Build-time dependency scdoc found: YES 1.11.2
Program /nix/store/km50k8babybnpa9cydgh23l47mrbfxhw-scdoc-1.11.2/bin/scdoc found: YES (/nix/store/km50k8babybnpa9cydgh23l47mrbfxhw-scdoc-1.11.2/bin/scdoc)
Program sh found: YES (/nix/store/svxmj4xahyjqq4lciisvgi1fwl5bxpdd-bash-5.1-p8/bin/sh)
Configuring waybar.5.scd using configuration
Run-time dependency catch2 found: NO (tried pkgconfig and cmake)
Looking for a fallback subproject for the dependency catch2

meson.build:381:0: ERROR: Automatic wrap-based subproject downloading is disabled

A full log can be found at /build/source/build/meson-logs/meson-log.txt
error: builder for '/nix/store/yql2lhscvpkilyxhxh4kqg8w1zr3ymd5-waybar-0.9.9.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/h4xjj34m0s7x2aqdfr3108a4wfn6iyib-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/6w5bscy91m6ycwpc9009k0y6pz3xniby-nixos-system-wombat11k-21.11.git.76f5b6bb9cfM.drv' failed to build

Already an open PR, https://github.com/NixOS/nixpkgs/pull/155243#pullrequestreview-853710398

Sorry about that. I searched "issues" when I should have searched "pull requests".


Click to Stop for Livestreams

What do you want to do with Clappr?
I need click to stop functionality for HLS, m3u8 livestreams similar to click to pause for the ordinary mp4 files.
What have you tried so far?
I spend the last two days trying literally everything that I can - the official plugins, old repos with custom codes, and even trying to put invisible div on top of the player that play/stop onclick, but this broke double click to fullscreen functionality and showing controls on mouseover.
If someone with deep JS knowledge can help with this because I'm primary backend and something at first glance so simple turned into a real nightmare...

Hello @radosslav!
I'm not perfectly sure if you need a button that pauses an HLS livestream with DVR enabled, or a button that stops the livestream altogether.
If the former is the case, please check the following example: I've built a demo where Clappr loads a LIVE, DVR-enabled HLS source. The pause button is built into the media control. Not much is required.


AI Assistant not working

Hi,
I put in my OpenAI API key and it seems the AI Assistant feature is not working.
I even tried the sample snippets and it doesn't work at all since there were no results returned.

Hello @sscoconutree,
I have made some changes in dc22009 that should fix this behavior. Please update your installation and try again.
Best regards,
dev-lu


✨ wizard: add tag field in garden, fix license options

[x] Fixes license selectbox (removes invalid options)
[x] Adds field to add tag to indicators
[ ] Adds missing fields in dummy template

Test it by using etl-wizard garden

@paarriagadap thanks for your feedback, I think I've implemented the changes that you suggested!

Thanks @lucasrodes ! I don't see the new commits though

@paarriagadap sorry, now!


Fix virt-v2v entrypoint script

Since we added OVA we had two options to execute the virt-v2v command. Now the command will be built and will be executed at the end without conditions regarding the source. This will allow us to know if we had an error and fail the pod in such case.

Much better this way!


Last updated time is not update at a time of Recovery and Death count update

Describe the bug
Last updated time is not been updated at the time of death and recovery.
Screenshots
If applicable, add screenshots to help explain your problem.

@sudevschiz I checked both the APIs(https://api.covid19india.org/updatelog/log.json) & (https://api.covid19india.org/data.json) from which data is fetched to update the time. And I found that there is no problem on the react-app side. I also compared timestamps but no such big difference found. Only 4-5 min difference is coming which is also justifiable.
If u have any point on this issue, please share


Update Onyx.clear to accept passed in keys to preserve, and use multiSet to clear storage

@neil-marcellini please review
cc @marcaaron @tgolen
Details
Add a keysToPreserve param to clear to allow it to accept passed-in keys to preserve when clearing Onyx. To better support this, clear Onyx by using multiSet to set all keys to null (except the ones we want to preserve)
Related Issues
https://github.com/Expensify/App/issues/13062
Automated Tests
Added tests in onyxClearWebStorageTest.js and onyxClearNativeStorageTest.js
Additionally, ran some quick performance tests on Android to make sure there were no regressions:
main:
DEBUG  [info] YUWEN clearStorageAndRedirect timing: 208 - ""
DEBUG  [info] YUWEN clearStorageAndRedirect timing: 273 - ""
DEBUG  [info] YUWEN clearStorageAndRedirect timing: 260 - ""
DEBUG  [info] YUWEN clearStorageAndRedirect timing: 230 - ""

yuwen-additionalDefaultsMultiSet:
DEBUG  [info] YUWEN clearStorageAndRedirect timing: 206 - ""
DEBUG  [info] YUWEN clearStorageAndRedirect timing: 215 - ""
DEBUG  [info] YUWEN clearStorageAndRedirect timing: 215 - ""
DEBUG  [info] YUWEN clearStorageAndRedirect timing: 218 - ""

Linked PRs
https://github.com/Expensify/App/pull/13384

Updated!

Updated!

Updated!


Pylance ReportMissingImports error on celery.decorators (works fine in terminal)

Environment data

Language Server version: v2020.9.6
OS and version: macOS Catalina 10.15.7
Python version (& distribution if applicable, e.g. Anaconda): Python 3.8.5 (HomeBrew), pipenv version 2020.8.13 (HomeBrew)

Expected behaviour
from celery.decorators import task is properly resolved
Actual behaviour

Logs
(logs don't seem to capture any errors here 😦 )
[Info  - 1:21:55 AM] Pylance language server 2020.9.6 (pyright c52b78aa) starting
[Info  - 1:21:55 AM] Server root directory: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist
[Info  - 1:21:55 AM] No configuration file found.
[Info  - 1:21:55 AM] Setting pythonPath for service "<venv or project>": "/Users/<user>/.local/share/virtualenvs/<venv or project>-0rW7LjV8/bin/python"
[Error - 1:21:55 AM] stubPath /Users/<user>/dev/<file.py>directory.
[Info  - 1:21:55 AM] Assuming Python version 3.8
[Info  - 1:21:55 AM] Assuming Python platform Darwin
[Info  - 1:21:55 AM] Searching for source files
[Info  - 1:21:55 AM] Found 146 source files
[Info  - 1:21:55 AM] Background analysis(1) root directory: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist
[Info  - 1:21:55 AM] Background analysis(1) started
Background analysis message: setConfigOptions
Background analysis message: setTrackedFiles
Background analysis message: markAllFilesDirty
Background analysis message: setFileOpened
Background analysis message: getSemanticTokens
[BG(1)] parsing: /Users/<user>/dev/<file.py>(39ms)
[FG] parsing: /Users/<user>/dev/<file.py>(38ms)
[FG] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/2and3/builtins.pyi (110ms)
[FG] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/2and3/builtins.pyi (39ms)
[FG] binding: /Users/<user>/dev/<file.py>(1ms)
[FG] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/contrib/auth/models.pyi (33ms)
[FG] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/contrib/auth/models.pyi (2ms)
[BG(1)] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/2and3/builtins.pyi (112ms)
[BG(1)] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/2and3/builtins.pyi (40ms)
[BG(1)] binding: /Users/<user>/dev/<file.py>(1ms)
[BG(1)] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/core/mail/__init__.pyi (7ms)
[BG(1)] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/core/mail/__init__.pyi (1ms)
[BG(1)] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/core/mail/message.pyi (17ms)
[BG(1)] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/core/mail/message.pyi (2ms)
[BG(1)] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/2and3/_typeshed/__init__.pyi (10ms)
[BG(1)] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/2and3/_typeshed/__init__.pyi (1ms)
[BG(1)] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/third_party/2and3/typing_extensions.pyi (4ms)
[BG(1)] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/third_party/2and3/typing_extensions.pyi (1ms)
[BG(1)] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/3/typing.pyi (20ms)
[BG(1)] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/3/typing.pyi (13ms)
[BG(1)] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/contrib/auth/models.pyi (25ms)
[BG(1)] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/contrib/auth/models.pyi (3ms)
[BG(1)] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/contrib/auth/base_user.pyi (4ms)
[BG(1)] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/contrib/auth/base_user.pyi (1ms)
[BG(1)] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/db/__init__.pyi (2ms)
[BG(1)] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/db/__init__.pyi (0ms)
[BG(1)] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/db/models/__init__.pyi (3ms)
[BG(1)] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/db/models/__init__.pyi (1ms)
[BG(1)] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/db/models/base.pyi (12ms)
[BG(1)] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/db/models/base.pyi (0ms)
[BG(1)] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/template/loader.pyi (9ms)
[BG(1)] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/template/loader.pyi (0ms)
[BG(1)] parsing: /Users/<user>/dev/<file.py>(1ms)
[BG(1)] binding: /Users/<user>/dev/<file.py>(0ms)
Background analysis message: analyze
[BG(1)] analyzing: /Users/<user>/dev/<file.py>...
[BG(1)]   checking: /Users/<user>/dev/<file.py>...
[BG(1)]     parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/db/models/manager.pyi (6ms)
[BG(1)]     binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/db/models/manager.pyi (1ms)
[BG(1)]     parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/db/models/query.pyi (23ms)
[BG(1)]     binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/bundled-stubs/django/db/models/query.pyi (3ms)
[BG(1)]     parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/3/abc.pyi (1ms)
[BG(1)]     binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/3/abc.pyi (0ms)
[BG(1)]     parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/3/email/mime/base.pyi (4ms)
[BG(1)]     binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/3/email/mime/base.pyi (0ms)
[BG(1)]     parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/3/email/message.pyi (7ms)
[BG(1)]     binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/3/email/message.pyi (2ms)
[BG(1)]     parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/3/email/mime/text.pyi (1ms)
[BG(1)]     binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/3/email/mime/text.pyi (2ms)
[BG(1)]     parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/3/email/mime/nonmultipart.pyi (0ms)
[BG(1)]     binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/3/email/mime/nonmultipart.pyi (0ms)
[BG(1)]   checking: /Users/<user>/dev/<file.py>(79ms)
[BG(1)] analyzing: /Users/<user>/dev/<file.py>(80ms)
Background analysis message: getSemanticTokens
Background analysis message: getDiagnosticsForRange
Background analysis message: resumeAnalysis
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
[FG] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/2and3/_typeshed/__init__.pyi (16ms)
[FG] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/2and3/_typeshed/__init__.pyi (1ms)
[FG] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/third_party/2and3/typing_extensions.pyi (6ms)
[FG] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/third_party/2and3/typing_extensions.pyi (2ms)
[FG] parsing: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/3/typing.pyi (38ms)
[FG] binding: /Users/<user>/.vscode/extensions/ms-python.vscode-pylance-2020.9.6/dist/typeshed-fallback/stdlib/3/typing.pyi (10ms)
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange
Background analysis message: getDiagnosticsForRange

Code Snippet / Additional information
see image under "Actual"

Can you try making a regular virtual environment and pip installing the package to see if it's resolved? I'm wondering if there's a difference between pipenv and regular venv in terms of paths.
The logs unfortunately don't print the search paths at the moment; we should log those to make it easier to debug things like this.

Actually, can you make a file pyrightconfig.json with the contents:
{
    "verboseOutput": true
}

And give the logs with that option enabled? There should be a few lines printed under a header "Search paths found for configured python interpreter" which would be helpful.

I found a few bugs in the most recent version to do with pythonPath resolution. If you roll back to 2020.9.5, do things work as expected?

2020.9.7 is released, I think this might be fixed. I'd appreciate it if you could try it out.

Hey @Jake sorry i was offline for a few days (been sick). I'll give those things a try soon and get back to ya. Thanks!

This issue has been waiting for information for 30 days. Because we haven't heard back, we'll be closing this ticket. Please reopen if this issue persists!

@savannahostrowski how I can reopen this issue?
I have the same problem:

Language Server version: 2021.2.0
OS and version: Pop!_OS 20.10 (Ubuntu 20.10 equivalent)
Python version (& distribution if applicable, e.g. Anaconda): Python 3.8.6, pip 20.1.1

In this case I'm using Celery 5.0.5

I'll reopen! Thanks for reporting.

That module is deprecated and doesn't actually exist in their codebase at all anymore as of v5:

Deprecation notice: https://github.com/celery/celery/blob/7288147d65a32b726869ed887d99e4bfd8c070e2/docs/internals/deprecation.rst#compat-task-modules
Note no "decorators" here: https://github.com/celery/celery/tree/master/celery

I'm not sure there's anything we can do here; all signs are pointing to that module not existing. The code should crash at runtime. @epineda Are you seeing otherwise? Are you certain the interpreter you've selected is the same one that you are running your code in?

Given the above (and the lack of updates in a month), I'm going to close this. From the code, I don't think decorators exists anymore and our diagnostic is correct.

Hey, I have the same issue here.
In my virtual environment:
Celery==5.0.5
Python==3.8.16
Pylance error: Import "celery.decorators" could not be resolved
Everything works with from celery.decorators import task
If I change this line to: from celery import task
The Pylance issue will be gone, but now I cannot run: celery -A my_app.celery worker --loglevel=info
Getting this error: ModuleNotFoundError: No module named 'celery.task'
Let me know if you need more information.


Xcode Warning Parameter of overriding method should be annotated with attribute((noescape))

New Issue Checklist
🚫 If this template is not filled out your issue will be closed with no comment. 🚫

[ ] I have looked at the Documentation
[x] I have filled out this issue template.

Issue Info

Info
Value

Platform
ios

Platform Version
12.0

Masonry Version
1.1.0

Integration Method
cocoapods

Issue Description
warning show：
Parameter of overriding method should be annotated with attribute((noescape))
Please  solve it, thanks

(void(NS_NOESCAPE ^)(MASConstraintMaker *make))block

Hope to fix this warning soon


supporting/fixing unique inside sql function such as count

eg - SELECT count(UNIQUE col2) FROM mytable

Since you merged master into your branch I am not able to see only your changes. Could you rewind that. Please.

@wumpz let me close this and raise as new PR


"Errors" when i input your js in my project, help me please with this questions.

Good evening, help with solving the problem. There is one big js in which everything is collected up to the heap. After connecting the flatpickr calendar in the console, it erases a number of errors (the bulk of them also falls on prototype.js v1.7, without connecting the calendar all ok).
TypeError:

Cannot read property '-1' of undefined dt-base.js:8240
at dt-base.js:7949
at dt-base.js:869
at dt-base.js:829
at Array.forEach ()
at Array.each (dt-base.js:828)
at Array.collect (dt-base.js:868)
at Object.formatDate (dt-base.js:7948)
at createDay (dt-base.js:6897)
at buildDays (dt-base.js:6993)
at build (dt-base.js:6858)

Explanation of strings:

dt-base.js:8240 - console.error(e)
dt-base.js:7949 - return formats[c] && arr[i - 1] !== "\"
dt-base.js:869 - results.push(iterator.call(context, value, index))
dt-base.js:829 - iterator.call(context, value, index++)
dt-base.js:828 - this._each(function(value) {
dt-base.js:868 - this.each(function(value, index) {
dt-base.js:7948 - .map(function (c, i, arr) {
dt-base.js:6897 - dayElement.setAttribute("aria-label", self.formatDate(date, self.config.ariaDateFormat));
dt-base.js:6993 - days.appendChild(createDay("prevMonthDay", new Date(self.currentYear, self.currentMonth - 1, dayNumber), dayNumber, dayIndex));
dt-base.js:6858 - buildDays();

Is it failing at console.error?
There's no [-1] anywhere in the flatpickr codebase.
I need to see more to understand what the issue is and whether flatpickr has anything to do with it.

this errors when concatination prototype.js v1.7 and your file flatpickr.js

test flatpickr.zip

The error I have found is with PrototypeJS map function.  Flatpickr works with PrototypeJS if you restore this function to its native type.  My implementation:
var __proto_map = Array.prototype.map;

<PrototpeJS code here>

Array.prototype.map = __proto_map;


feat: introduces jetbrains toolbox

see the title.

Now we can add apps without ID.  🎉
Can you remove the id?


Explicit joins

Join(db.Y, db.X.yid == db.Y.id)

Is this now supported like this?
Join(db.Y).On(db.X.yid == db.Y.id)

Yup.
Sent from my iPad (until Win8 gets a mail app)
On 24 Nov 2011, at 21:25, richardhopton
<EMAIL_ADDRESS>wrote:

Is this now supported like this?
Join(db.Y).On(db.X.yid == db.Y.id)

Reply to this email directly or view it on GitHub:
https://github.com/markrendle/Simple.Data/issues/37#issuecomment-2869299


Swapping between multiple images

Hi! I've been trying to use telephoto with a slightly specific need: I have multiple images that get swapped between different zoom levels (basically, more zoomed: more detail available on the image). Previous code used TileView (https://github.com/moagrius/TileView) which required the image to be split in many, many tiles. My current attempt swaps just the model depending on ZoomableState.zoomFraction. However, telephoto's code emits events as the zoom goes on, and ends up calling .location on an Unspecified state. Which is not surprising, it'll be the first time that image gets loaded, so no re-init can be done, so it crashes directly.
(Along with other undesired behaviors that happen with double taps, etc, but then again, that's probably not an expected use case anyways)
java.lang.UnsupportedOperationException
at me.saket.telephoto.zoomable.ZoomableContentLocation$Unspecified.location-TmRCtEA(ZoomableContentLocation.kt:75)
at me.saket.telephoto.zoomable.ZoomableContentLocation$Unspecified.location-TmRCtEA(ZoomableContentLocation.kt:73)
at me.saket.telephoto.zoomable.ZoomableState$unscaledContentBounds$2.invoke(ZoomableState.kt:184)
at me.saket.telephoto.zoomable.ZoomableState$unscaledContentBounds$2.invoke(ZoomableState.kt:183)
at androidx.compose.runtime.snapshots.Snapshot$Companion.observe(Snapshot.kt:2200)
at androidx.compose.runtime.DerivedSnapshotState.currentRecord(DerivedState.kt:161)
at androidx.compose.runtime.DerivedSnapshotState.getValue(DerivedState.kt:224)
at me.saket.telephoto.zoomable.ZoomableState.getUnscaledContentBounds(ZoomableState.kt:582)
at me.saket.telephoto.zoomable.ZoomableState.access$getUnscaledContentBounds(ZoomableState.kt:88)
at me.saket.telephoto.zoomable.ZoomableState$transformableState$1.invoke-0DeBYlg(ZoomableState.kt:201)
at me.saket.telephoto.zoomable.ZoomableState$transformableState$1.invoke(ZoomableState.kt:197)
at me.saket.telephoto.zoomable.internal.DefaultTransformableState$transformScope$1.transformBy-0DeBYlg(transformableState.kt:111)
at me.saket.telephoto.zoomable.internal.TransformableKt$transformable$3$1$1.invokeSuspend(transformable.kt:103)
...

Is this something you've already considered / do not plan on supporting ? I could probably have one ZoomableAsyncImage per layer, and attempt to transfer various state info as we transition from layer to layer, but I just wanted to check in here before. Absolutely understand if this usecase is not something you plan on supporting.

It sounds like you want to use SubSamplingImage() directly which will handle tiling for you, but it is currently coupled with android's BitmapRegionDecoder. Will you be able to implement your usecase if SubSamplingImage() allowed you to pass in your own image provider for the tiles?

In my use case, each layer has a different sized image that acts as different levels of detail (1024x1024 overview, 2048x2048, 4096x4096, 8192x8192 high detail), which would mean also adapting the coordinates to stay centered on the same tile, etc. I'd need to explore a bit what such an API would entail (I would assume that it would be said provider's responsibility to call decodeRegion on the appropriate parts), but theoretically it should work.

@pikzen I'm going ahead and marking this issue as closed. Please reopen if you still need help with SubSamplingImage?


Azure SDK Review - [Introduction to ACS Chat UI]

New SDK Review meeting has been requested.
Service Name: ACS Chat UI
Review Created By: Patrick Latter
Review Date: 06/10/2024 02:05 PM PT
Release Plan:
Hero Scenarios Link: Not Provided
Architecture Diagram Link: Not Provided
Core Concepts Doc Link: Not Provided
APIView Links:
Description: Review for integrating the rich text editor component into the chat composite and call with chat composite
Detailed meeting information and documents provided can be accessed here

Meeting updated by Patrick Latter
Service Name: ACS Chat UI
Review Created By: Patrick Latter
Review Date: 06/10/2024 02:05 PM PT
Hero Scenarios Link: Not Provided
Architecture Diagram Link: Not Provided
Core Concepts Doc Link: here
APIView Links: Javascript,
Description: We are releasing a second beta for rich text editor and we would like to get some feedback.
These changes include one additional parameter for the Chat and CallwithChat Composites, to include an option to enable/disable Rich Text Editor.
Enabling this, replaces the SendBox and EditBox in the Composite with RichText versions.  All messages returning from another Rich Text client are shown as their correct html rich text format whether you have RichTextEditor enabled or not.
Detailed meeting information and documents provided can be accessed here

Meeting updated by Ronnie Geraghty
Service Name: ACS Chat UI
Review Created By: Patrick Latter
Review Date: 06/11/2024 02:05 PM PT
Hero Scenarios Link: Not Provided
Architecture Diagram Link: Not Provided
Core Concepts Doc Link: here
APIView Links: Javascript,
Description: We are releasing a second beta for rich text editor and we would like to get some feedback.
These changes include one additional parameter for the Chat and CallwithChat Composites, to include an option to enable/disable Rich Text Editor.
Enabling this, replaces the SendBox and EditBox in the Composite with RichText versions.  All messages returning from another Rich Text client are shown as their correct html rich text format whether you have RichTextEditor enabled or not.
Detailed meeting information and documents provided can be accessed here

Meeting updated by Patrick Latter
Service Name: ACS Chat UI
Review Created By: Patrick Latter
Review Date: 06/11/2024 02:05 PM PT
Hero Scenarios Link: Not Provided
Architecture Diagram Link: Not Provided
Core Concepts Doc Link: here
APIView Links: Javascript,
Description: We are releasing a second beta for rich text editor and we would like to get some feedback.
These changes include one additional parameter for the Chat and CallwithChat Composites, to include an option to enable/disable Rich Text Editor.
Enabling this, replaces the SendBox and EditBox in the Composite with RichText versions.  All messages returning from another Rich Text client are shown as their correct html rich text format whether you have RichTextEditor enabled or not.
Detailed meeting information and documents provided can be accessed here

Meeting updated by Patrick Latter
Service Name: ACS Chat UI
Review Created By: Patrick Latter
Review Date: 06/11/2024 02:05 PM PT
Hero Scenarios Link: here
Architecture Diagram Link: Not Provided
Core Concepts Doc Link: here
APIView Links: Javascript,
Description: We are releasing a second beta for rich text editor and we would like to get some feedback.
These changes include one additional parameter for the Chat and CallwithChat Composites, to include an option to enable/disable Rich Text Editor.
Enabling this, replaces the SendBox and EditBox in the Composite with RichText versions.  All messages returning from another Rich Text client are shown as their correct html rich text format whether you have RichTextEditor enabled or not.
Detailed meeting information and documents provided can be accessed here


Add back in the draft migration information

Summary
Details and comments
Fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 64.128%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3377

Relevant Lines:
5266

💛  - Coveralls


Update static program to be on par with bpfctl load

static programs are loaded from a toml file. The syntax/data structures/code need to be on par with the bpfctl load command. In particular:

Need to be able to load from URL (missing --from-image equivalent)
Add support for tc and tracepoint program types (only xdp currently supported)
There is a field pub attach: Option<String> that doesn't appear to be used.

I'll probably try and tackle this along with https://github.com/redhat-et/bpfd/issues/177


Proposal: More Atomic Leaves design - for performance and tree readability

#37 mede me think - if customizable BTLeafs are good thing or is it better to granulate them more into more Atomic nodes?
My first design of LeafSignal only had one task to emit signal to drive code in other game systems built with composition in mind.
It was proposed to add ability to send signals from and Actor which is very usefull as well!
Te bo more coherent with LeafCall it also should support Custom nodes as well...
Issues with current approach
So my first issue is that adding extra functionality would add extra runtime calls for Leaves. With BT being used for complex behaviours of nodes. Usually used (but not only) for AI Actors, that in some games (like in mine) can have large numbers those calls might be in many use cases un-needed and called on every frame D:
Second problem I worry about is that it makes BTree less readable, user either will need to remember, check in inspector or add to nodes name information who the Leaf is calling.
Proposal
My proposal is to split nodes like LeafCall, LeafCondition, LeafSignal etc. into more atomic nodes:

LeafActorCall
LeafNodeCall
LeafBlackboardCall
LeafActorCondition
LeafNodeCondition
LeafBlackboardCondition - (new functionality)
LeafSignal
LeafActorSignal - (new functionality)
LeafNodeSignal - (new functionality)
LeafActorTween
LeafNodeTween - (new functionality)

Benefits
Aside from performance it has extra benefit of us able to add new icons for them that will describe compactly it's purpose in line with current Behaviour Tookit design. :) So no need for extra info in name, checking inspector, remembering stuff.
Icons design
If we go this route we should talk how to desing icons. I would suggest combining nodes with some sort of generic mini-icon for Actor, Node, Blackboard.
For example LeafActorCall would be current icon with Small A or small triangle in the corner? Maybe also color code the mini-icon or the whole icon?
What next
If approved I would gladly work on this refactor! 😃
If not, I would gladly make my own atomic Leaves for my project, because I will have a lot of actors in my game and I hope it to run on Switch CPU xD (a lot of mobs on the screen at the same time...)

Thank you so much for this proposal!
My problem with adding multiple nodes for the same task boils down to one reason: It comes at the cost of accessibility, maintainability and readability. I suspect that an even more atomic design will yield not much improvement of performance, since usingif or even more optimal match does not have a big impact on your _process time.

Usually used (but not only) for AI Actors, that in some games (like in mine) can have large numbers those calls might be in many use cases un-needed and called on every frame D:

You would need benchmark these results to see if such a change would be worthwhile. If you have huge groups of AIs calling tick every frame is mostly necessary and there are other ways (#3) that this could be optimized. If they share the same tree, there might even be other possibilities of pooling etc.

Second problem I worry about is that it makes BTree less readable, user either will need to remember, check in inspector or add to nodes name information who the Leaf is calling.

You are supposed to give the leaves very literal and descriptive names anyway. For example:
BTRoot
	WanderAround
		IsNotBlocked
			IsBlocked
		GoToLocation
		WaitForAShorWhile

I think more leaves for one activity would heavily clutter the UI and overwhelm the user. Developing your own version of them is very easy, so if this one if is causing you problems. If that is the case, using GDScript for Behaviour is NOT the way to go and C# or probably even C++ would be a beter solution.
Other notes

Te bo more coherent with LeafCall it also should support Custom nodes as well...

Yep, totally.  That's true!

In any case, please finish changing #37 and I will push the new version to the asset lib, as it contains critical fixes.
To determine if this atomic approach really does have a big impact (I highly suspect it does not as match is basically free, a big benchmark would be useful. I think other systems will hit the ceiling much faster than this (like navigation or collision). I tested a scene with 600 agents and _process didn't seem to struggle one bit.

Thx for your input!
Althugh I agree I will hit performance problems faster on navigation or collisions. My intent is to make more room for them. I agree I will never bottle neck myself with BTree alone 😄
Match in GDScript is not yet as optimised as in Python I think:

https://www.gdquest.com/tutorial/godot/gdscript/optimization-code/
https://ask.godotengine.org/52544/which-is-faster-match-vs-if-elif
https://github.com/godotengine/godot/issues/75682

It might be optimised in the future tho. Althugh, benchmarking would be needed I agree.
I also agree that descriptive names are key I just want to pack more info at a galance without making them too long and hard to read and process in my brain. xD

In any case, please finish changing https://github.com/ThePat02/BehaviourToolkit/pull/37 and I will push the new version to the asset lib, as it contains critical fixes.

Sure I will :)
I will just make for my project custom atomic Signal node because I plan to use them a ton xD
We can evaluate this proposal again when I will finish my prototype and we will have benchamrking ready. Then we can check on it again. :)

Althugh I agree I will hit performance problems faster on navigation or collisions. My intent is to make more room for them. I agree I will never bottle neck myself with BTree alone 😄

Yes, I am totally unsure that removing one or to ifs is even worth it. That being said, without proper debugging tools and monitors we will probably never know so I will also look into #21 and check the docs of how to add custom profilers.

Match in GDScript is not yet as optimized as in Python I think

That is interesting, so if and match are basically the same, but I don't think there is any considerable impact on this scale.

I also agree that descriptive names are key I just want to pack more info at a galance without making them too long and hard to read and process in my brain.

My suggestion is do not use any names like lleaf_walk_actor_1. Using literal language and building "sentences" really helps with the readability. You can also save parts of a tree as a scene and reuse it.

Ah and about C#/C++ rewrite for performance I always consider that an option, if needed, but I prefer to keep it as a last-last-last resort :D

I actually really like the idea of using C++ to make heavy calculations and calling these functions with GDScript!

Yes, I am totally unsure that removing one or to ifs is even worth it. That being said, without proper debugging tools and monitors we will probably never know so I will also look into https://github.com/ThePat02/BehaviourToolkit/issues/21 and check the docs of how to add custom profilers.

Yup, thats true.

That is interesting, so if and match are basically the same, but I don't think there is any considerable impact on this scale.

Yeah scale is small and maybe one day it will be optimised, although it generates more calls than just match or if in practice.
When we will be able to test it on real project with profiling tools things will be more clear what to do.

My suggestion is do not use any names like lleaf_walk_actor_1. Using literal language and building "sentences" really helps with the readability.

Thats my plan but in practice things are rarely how they should be TnT

You can also save parts of a tree as a scene and reuse it.

Yup thats one of ma fav features in Godot

I actually really like the idea of using C++ to make heavy calculations and calling these functions with GDScript!

Actually I'm the same, but in practice, from my experience, when your game grows... things... start to be "interesting"... especially in geme dev where you have to experiment a lot and after 100x itteration you have no idea what is happening anymore but it works so you just try to not break it xD
Even if you rewrite small part integrating it might be less trivial... compilation is waste of time... especially for many architectures and OSes TnT. Thats why I try to avoid it. Although I will probably have to rewrite some to C++ for Switch, I'm happy that it is so straight forward in Godot. xD
It's much easier to contribute C++ code to the Engine itself than use it in a complex game. I contributed in the past but didn't had need/time for now to do more xD I try to focus on my project for now.
I try architecture my project in a way that uses havilly composition and hardcore rule of "one responsibility". In theory it would be easier to C++/C# ify this type of code but... I don't trust it xD (nothing is ever easy...)

It's much easier to contribute C++ code to the Engine itself than use it in a complex game. I contributed in the past but didn't had need/time for now to do more xD I try to focus on my project for now.

I thin GDExtension is wonderful and pretty easy to setup, as it doesn't require recompiling the engine!

True GDExt is pretty cool 😎 although I still will try to use it as little as possible :D


ongoing string template support

Is your feature request related to a problem? Please describe.
the old platform supported string-driven templates.
I'm wondering if you all will be supporting that indefinitely-- mainly because I would like to experiment with having an LLM generate templates to enforce the outputs of a different LLM process.
still possible to do code generation with the new format, but then I need a runtime evaluation (extra safety checks etc)
any thoughts?

I have run into the same problem. I wanted to write a playground for testing guidance. But the use of f-strings means, that the template has to be hardcoded. There is no good way to use a string variable as a template. This severely limits the use of guidance.

Hey! We thought a lot about this, and ultimately came to the conclusion that we could do anything with python syntax we could have before. The one caveat of course is that you can also do a lot more with python, so there are more security considerations.
I think if we were able to create an example that was essentially a safe eval() for guidance code that would solve these use cases. Thoughts? If so, perhaps we could look around for a nice sandbox so we can have a standard way of doing this. (some of these issues will also come up as we set up client/server support for guidance since we will need to ship functions to the server)

A template engine is basically a safe eval(). So yes, something like that would be needed.
Currently I'm using eval('f' + repr(template)), which works, but is not safe.

Hey! We thought a lot about this, and ultimately came to the conclusion that we could do anything with python syntax we could have before. The one caveat of course is that you can also do a lot more with python, so there are more security considerations.
I think if we were able to create an example that was essentially a safe eval() for guidance code that would solve these use cases. Thoughts? If so, perhaps we could look around for a nice sandbox so we can have a standard way of doing this. (some of these issues will also come up as we set up client/server support for guidance since we will need to ship functions to the server)

Yeah, eval is the direction I'm leaning currently. Would appreciate an example, thanks! I think OpenAI handles sandboxing by using restricted Jupyter Notebooks to execute blocks-- I'm not sure its something guidance needs to take on per se, as long as there were solid examples of safe vs unsafe usage.

A template engine is basically a safe eval(). So yes, something like that would be needed. Currently I'm using eval('f' + repr(template)), which works, but is not safe.

Do you think this approach could work with Jinjia2 template? I am creating pretty complex strings and escaping quotes and double quotes becomes very complex to debug very fast, hence with Jinjia2 things would become easier.


profile.txt strips leading sign from numbers

When comparing numeral values (e.g. yaw), the mod strips the leading sign (i.e. the minus sign -) from the (right hand side) comparison.
Consider the following example: {{yaw >= -180, "N", "?"}}
Regardless of the actual yaw-value, the mod shows ? instead of N. (In fact, since the smallest yaw-value is -180 the mod should always display N.)
Another example is  {{yaw >= -67, "SE", "?"}}.
In this case, the mod displays SE if the actual yaw-value is in between 67.0 and 179.9 and ? if the value is between -179.9 and 66.9—though the expected output would be ? from -179.9 to -66.9 and SE from -67.0 onwards.

Apparently I forgot to add the negative sign for the parsing. Fixed, will be in today's release

Fixed in v2.1


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it!

hope my first pull request completed


Resilience to node outages

Some things that we know we aren't resilient to:

Nodes disappearing
Being logged into an app that uses a node that is no longer available
corrupt data
Very slow nodes (configurable timeouts?)

Probably other things too

Dupe of #274 ?


HAL API to retrieve Associated client info

Signed-off-by: Rajakumaran1106<EMAIL_ADDRESS>

https://jenkins.code.rdkcentral.com/job/github-triggered/112/ started

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/8413/ started.

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

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