update to be compatible with newest version of celery

A recent version of celery broke our implementation, hence celery==3.1.25.  It's possibly just a refactoring of some method names, but it could be more.

Celery has a guide on going from 3.1 to 4.0: http://docs.celeryproject.org/en/latest/whatsnew-4.0.html#upgrading-from-celery-3-1

I figured it out.  They changed how the prefetch multiplier option is set.  It's an easy fix.  I'll submit a PR to fix it soon.
They are also switching all the upper case constants/settings to lower case... (backwards compatible for now but are recommending switching "as soon as possible". This will involve some more substantial (but hopefully harmless) changes to constants/launch scripts/docker-compose files...
I'll test this out tomorrow...

Please keep us in the loop on this. It could have large ramifications for
some current experiments.
On Jan 24, 2017 20:34, "dconathan"<EMAIL_ADDRESS>wrote:

I figured it out. They changed how the prefetch multiplier option is set.
It's an easy fix. I'll submit a PR to fix it soon.
They are also switching all the upper case constants/settings to lower
case... (backwards compatible for now but are recommending switching "as
soon as possible". This will involve some more substantial (but hopefully
harmless) changes to constants/launch scripts/docker-compose files...
I'll test this out tomorrow...
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nextml/NEXT/issues/159#issuecomment-275016849, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABWhGA7bvfYBdyBs581tbM42Nuz022plks5rVtC7gaJpZM4LOplV
.

Okay.  Like I said, there are two changes here:

To fix compatibility with 4.0, we need to make very minor changes to next_worker_startup.sh
To maintain compatibility with future versions, refactor the constants as lower-case.  I haven't looked into the exact scope, but this would change at least a few files, and would require some testing to make sure celery is picking up our options and not just using its own defaults somewhere.

However, I just tested and making the 1st change DOES break 3.1.25 (presumably the 2nd does too), so either of these changes will require updating celery/rebuilding the containers.
So... do we want to hold off on this upgrade and incorporate it into the next major NEXT release?

I've got a PR for this.  I'm going to wait until some of the existing PRs get merged so things don't get crazy.  Details will come but I made it so it's backwards compatible so we can roll back if necessary.  I'm not updating constants yet because that breaks too many things with 3.1.25.

@dconathan We're contemplating a release soon-ish; can you open a PR with that code?

Backed off on this change for now.
Some comments @dconathan made on Slack about why we're not doing this:

I have moved to celery 4. I have noticed getQuery has been pushing .5-1s delays for no apparent reason and I haven't gotten around to debugging it... this could explain that.
Tomorrow I'll rebuild with celery 3.1.25 and see if that fixes it...
Just reverted back to celery 3.1.25 and getQuery delays are back down to sub .1s range… so almost certainly seeing a slowdown due to celery 4
I was wondering about it. Almost all the extra time was “enqueued” time according to the charts.
...
I guess there’s one reason not to switch to the latest and greatest

@dconathan can you test this again, since it's apparently fixed (c.f. celery/celery#3814)


Improve documentation

[ ] Add publish script to documentation

@agazso Hi, man, I want to build BZZ test network. I need your help or tips. I hope you will reply to me.Do you have a discord account?

I am not sure if this is relevant anymore, so closing this, but if you think so please reopen the issue.


Rename a few projects

Since these generators rely on ignite-infinite-red-app-template, anyone object to me renaming this to ignite-infinite-red-generators?
/cc @GantMan + @jamonholmgren

I thought this over this morning. I think I'd rather keep the current name in this case. While the IR-AT is definitely all Infinite Red opinions, these generated components and whatnot are less opinionated. And Ignite needs some basic generators as something to default to. I'd vote to keep as-is.

ListView and Component are almost opinion free.  The other are full-on Infinite Red.
Split 'em up?
I like the idea of creating ignite-infinite-red-generators because people who create their own boilerplates will be doing the same.  It'd be nice to show folks an example of where and why.
If we have some core generators, we'll get people contributing more.  That way we can build up a library of things everyone needs.  Just like we're doing with plugins.

That last message was very cryptic.  I was typing it mid-meeting.
Here's what we decided:

ignite-minimal-app-template will disappear.  i've just rolled that into ignite-infinite-red-app-template.
ignite-infinite-red-app-template is now called ignite-ir-app.
we're recommending people call these things ignite-{boilerplate-name}-app.
ignite-empty-app-template is going to be dismantled and run entirely from inside new.js.
ignite-basic-generators is going to be rolled into ignite-ir-app.
ignite-dev-screens will remain here, but will be stripped of all ir opinions and hooks.

Update: ignite-ir-app will be renamed to ignite-ir-boilerplate and we will have a slightly different model for boilerplate plugins.

I re-opened #819 to track the final thing that remains here. Closing this.


Request ORS v2 API

Sometime in 2019

Hey Nils,
this plugin is excellent! Could you in the meantime catch the error thrown when querying v2-api and notify the user. I just wasted so much time trying to run the plugin against my local docker built from ors-master.
Cheers

Hm, also master builds still have v1 API exposed. Is there any specific settings that only enables v2? Or did you specify .../v2 in the base URL in the settings?

I am actually sorry to hear that ;-)
I created my local instance using the default settings specified here: https://github.com/GIScience/openrouteservice/tree/master/docker
ad tried to access the api using http://localhost:8080/ors
If I understand the stacktrace right the response-header is different from what is expected and that is causing an error (X-RateLimit-Limit is not defined).
Ein Fehler trat bei der Ausführung von Python-Code auf:

KeyError: 'X-Ratelimit-Limit'
Traceback (most recent call last):
  File "/home/moritz/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ORStools/gui/ORStoolsDialog.py", line 257, in run_gui_control
    response = clnt.request(provider['endpoints']['directions'], params)
  File "/home/moritz/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ORStools/core/client.py", line 203, in request
    configmanager.write_env_var(env_var, response.headers[self.ENV_VARS[env_var]])
KeyError: 'X-Ratelimit-Limit'

Python-Version: 3.6.7 (default, Oct 22 2018, 11:32:17) [GCC 8.2.0]
QGIS-Version: 3.4.7-Madeira Madeira, 5c56989

Hm crap.. That's API indepedent (you actually requested against v1, http://localhost:8080/ors/v2 is v2).
Problem is that your local server is of course not rate limited and not exposing those headers. I didn't think about that when I set up that feature. Ok, I'll get to this within the week.
As a workaround you can go into the code and remove the lines dealing with those environment variables. There will be a few edits though from your side.

fixed in v1.1.0


vimeo: listen for bufferring events and handle with matching callbacks

Hey there, thanks for the nice player, it's been great for us.
Just wanted to a add a small feature for our use case: being able to use the onBuffer and onBufferEnd callbacks with the vimeo player.
A very basic change, following the Vimeo spec:
https://developer.vimeo.com/player/sdk/reference#bufferstart
https://developer.vimeo.com/player/sdk/reference#bufferend

Nice one 👍


Allow defining the token from another provider

Create an extension that allows setting the token from another source.

You can programmatically set the token if you want although it's not well-documented.
string logEntriesToken = ConfigurationManager.AppSettings["MySpecificLogEntriesToken"];

if (logEntriesToken != null)
{
  var target = (LogentriesTarget)LogManager.Configuration.FindTargetByName("Logentries");

  target.Token = logEntriesToken;
}

I use this method in Azure because I have multiple jobs and want to send them to multiple logs.

In my opinion Kamranayub's solution answers this issue and it should probably be closed. Any comment israelolcha ? (PS. I'm not a logentries developer, so I can't actually close it)


react native pathjs charts crashes in iPone simulator

Before filing an issue please ensure the following boxes are checked, if applicable:

[x] I have searched for existing issues
[ ] I have provided detailed instructions that can reproduce the issue (including code and data necessary)
In preparation for using this package, I was able to clone the repo and successfully run the example on my Mac-mini.
However as a trial I added one of the example pages (StockLineChartBasic) to my app just to get the feel of the package. My app uses react-native-router-flux for navigation. As soon as I navigate into the new chart page, the app crashes with the stack trace below. I would dearly love to use this charting functionality in my app, so would appreciate any pointers on debugging this problem.

Mar  1 22:19:44 Mac-mini-2 ParkinsonsTracker[22595] : *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSArrayM length]: unrecognized selector sent to instance 0x60800005be70'
*** First throw call stack:
(
0   CoreFoundation                      0x00000001068d0d4b __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x000000010575421e objc_exception_throw + 48
2   CoreFoundation                      0x0000000106940f04 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3   CoreFoundation                      0x0000000106856005 forwarding + 1013
4   CoreFoundation                      0x0000000106855b88 _CF_forwarding_prep_0 + 120
5   ParkinsonsTracker                   0x00000001049988f7 -[RNSVGPathParser initWithPathString:] + 295
6   ParkinsonsTracker                   0x0000000104995a20 +[RCTConvert(RNSVG) CGPath:] + 80
7   ParkinsonsTracker                   0x00000001043bc57a __49-[RCTComponentData propBlockForKey:inDictionary:]_block_invoke.223 + 282
8   ParkinsonsTracker                   0x00000001043bd1b0 __49-[RCTComponentData propBlockForKey:inDictionary:]_block_invoke.259 + 720
9   ParkinsonsTracker                   0x00000001043bd528 __49-[RCTComponentData propBlockForKey:inDictionary:]_block_invoke_2.272 + 40
10  ParkinsonsTracker                   0x000000010435af13 RCTPerformBlockWithLogFunction + 483
11  ParkinsonsTracker                   0x000000010435b0cf RCTPerformBlockWithLogPrefix + 239
12  ParkinsonsTracker                   0x00000001043bd48d __49-[RCTComponentData propBlockForKey:inDictionary:]_block_invoke.267 + 445
13  ParkinsonsTracker                   0x00000001043bd985 __37-[RCTComponentData setProps:forView:]_block_invoke + 181
14  CoreFoundation                      0x0000000106857dc6 __65-[__NSDictionaryM enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke + 102

I'm not entirely sure how one reproduces this, but it appears that maybe related to using react-native-svg + some other libs like ART (as mentioned in https://github.com/react-native-community/react-native-svg/issues/246) or react-native-progress (as mentioned in https://github.com/oblador/react-native-progress/issues/40#issue-200216423).
Looks like it may be a react-native-svg issue rather an issue with this lib. However, I'd like to understand what the root cause is in case someone us comes here with a similar issue in the future. From reading the comments on those two issues, it seems like several people are blocked on this.
Maybe you could find versions for your dependencies:
npm list react-react-native react-native-svg

and provide this info and discuss with others on those existing react-native-svg issue threads to see if you can come up with something in common that could lead to determining root cause?

Thanks for responding so promptly.
Here is the output of the npm list command:
<EMAIL_ADDRESS>/Users/kumar/Applications/react-native/ParkinsonsTracker
├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>I am not sure what it means when it reports 2 versions of react-native-svg as above. Could that be the problem?

It's possible. Change your version spec in your root package.json for react-native-svg to not go above 4.5.x and then re install the lower version

Hi, Just confirming i had the same issue with the following
├─┬<EMAIL_ADDRESS>│ └──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>Downgrading<EMAIL_ADDRESS>has fixed it and everything seems to be working fine

Once I went back to svg 4.5, things started working very well.
Thanks to both of you!

I just ran into this problem and downgrading the react-native-svg version to 4.5.0 fixed the issue.  Might be worth noting in the Readme?


[Bug-FE] [File Manage Module] Create file name input in file details for verification

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
Create file name input in file details for verification

What you expected to happen
Check the input of the file name field to avoid duplicate suffixes
How to reproduce
Create file name input in file details for verification
But it does not affect the normal execution of workflow shell tasks
Anything else
No response
Version
3.0.0-beta-2
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

I will fix it


Add width field to register definition

TODO

[ ] Test with a random number of registers in tb, to make sure our calculation of number of address bit is good.
[ ] Have two netlist builds, one small one large.
[ ] Different register modes in netlist builds?


Fix crash when doing onnetwork pairing with chip-device-ctrl.

Fixes https://github.com/project-chip/connectedhomeip/issues/7982
Problem
Python controller crashes when doing connect -ip ::1 20202021 12344321
Change overview
Move the sending of the "commissioning complete" command in the rendezvous flow python controller uses by default in this case (the "use clusters for ip commissioning" one) to after we tear down the PASE connection and set up the CASE one, both to comply better with spec and to avoid having that command execution be aborted by the PASE teardown.
Testing
Manual testing:

Compiled chip-device-ctrl with ./scripts/build_python.sh -c true and tested:

BLE pairing to an m5stack running all-clusters-app.
On-network pairing to all-clusters-app on localhost.

Compiled chip-device-ctrl with ./scripts/build_python.sh -c false and tested:

BLE pairing to an m5stack running all-clusters-app.
On-network pairing to all-clusters-app on localhost.

Compiled chip-tool and tested:

BLE pairing to an m5stack running all-clusters-app.
On-network pairing to all-clusters-app on localhost.

@saurabhst @msandstedt @mspang @Damian-Nordic @jmartinez-silabs ?


Support local LLM models?

I have a llm service  run on my local server  and want to evaluate my model

Hello @dachengai,
Certainly! You can build an LLM application with Agenta that connects to a local LLM service.
Here's a sample code snippet (note that this is untested):
import agenta as ag
import requests

ag.init()
ag.config.default(prompt=TextParam("some prompt {param}"))
endpoint = "http://localhost:8080/submit_prompt"

@ag.entrypoint
def generate(sometxt:str):
    final_prompt = ag.config.prompt.format(param=sometxt)
    response = requests.post(
        endpoint,
        headers={"Content-Type": "application/json"},
        json={"prompt": final_prompt}
    )
    return response.json()  # Make sure you return the JSON response here

However, there's an important consideration to keep in mind: The Agenta platform needs to be able to reach your local service endpoint. There are two ways you could achieve this:

Expose your locally-hosted LLM service to the internet and use Agenta's cloud services.
Run Agenta locally, on the same machine or network where your LLM service is accessible.

I hope this helps. If you have further questions or need additional assistance, feel free to ask.

generate

thanks!


Fix Retry Attribute Test

Issue describing the changes in this PR
Resolves e2e test that checks the generation of functions.metadata.
Pull request checklist

[x] My changes do not require documentation changes

[ ] Otherwise: Documentation issue linked to PR

[x] My changes should not be added to the release notes for the next release

[ ] Otherwise: I've added my notes to release_notes.md

[x] My changes do not need to be backported to a previous version

[ ] Otherwise: Backport tracked by issue/PR #issue_or_pr

[x] I have added all required tests (Unit tests, E2E tests)

nit: You could replace hardcoded param name with nameof(delayInterval) here?

/check-enforcer evaluate

@satvu You are the author of the 1st PR and 1000th PR on this repo.  🎉 🔥


Batch Job Stuck at "Starting"

Hello!
Thanks for you work on Lighter, I've been looking for a replacement for Livy for a bit and this is the closest thing on the Internet!
I'm running Lighter on a minikube Kubernetes environment. I have a Spark cluster deployed through Helm charts. I also deployed PostgreSQL through Helm since it seems like Lighter needs it. Here's how my environment looks (in the default namespace):
NAME                           READY   STATUS    RESTARTS      AGE
lighter-6675c44b5b-jjpwk       1/1     Running   2 (20m ago)   16h
nfs-nfs-server-provisioner-0   1/1     Running   1 (21m ago)   16h
postgres-postgresql-0          1/1     Running   1 (21m ago)   16h
spark-data-pod                 1/1     Running   1 (21m ago)   16h
spark-master-0                 1/1     Running   1 (21m ago)   16h
spark-worker-0                 1/1     Running   1 (21m ago)   16h
spark-worker-1                 1/1     Running   1 (21m ago)   16h
spark-worker-2                 1/1     Running   1 (21m ago)   16h

Based on your instructions, I did:

Manifest for: ServiceAccount, Role, and RoleBinding

apiVersion: v1
kind: ServiceAccount
metadata:
  name: spark
  namespace: default
---
kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: lighter-spark
  namespace: default
rules:
- apiGroups: [""]
  resources: ["pods", "services", "configmaps", "pods/log"]
  verbs: ["*"]
---
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  name: lighter-spark
  namespace: default
subjects:
- kind: ServiceAccount
  name: spark
  namespace: default
roleRef:
  kind: Role
  name: lighter-spark
  apiGroup: rbac.authorization.k8s.io

Manifest for: Lighter Service

apiVersion: v1
kind: Service
metadata:
    name: lighter
    namespace: default
    labels:
        run: lighter
spec:
    ports:
        -   name: api
            port: 8080
            protocol: TCP
        -   name: javagw
            port: 25333
            protocol: TCP
    selector:
        run: lighter

Manifest for: Lighter Deployment

apiVersion: apps/v1
kind: Deployment
metadata:
    namespace: default
    name: lighter
spec:
    selector:
        matchLabels:
            run: lighter
    replicas: 1
    strategy:
        rollingUpdate:
            maxUnavailable: 0
            maxSurge: 1
    template:
        metadata:
            labels:
                run: lighter
        spec:
            containers:
                -   image: ghcr.io/exacaster/lighter:0.0.3-spark3.1.2
                    name: lighter
                    readinessProbe:
                        httpGet:
                            path: /health/readiness
                            port: 8080
                        initialDelaySeconds: 15
                        periodSeconds: 15
                    resources:
                        requests:
                            cpu: "0.25"
                            memory: "512Mi"
                    ports:
                        -   containerPort: 8080
                    env:
                        -   name: LIGHTER_STORAGE_JDBC_USERNAME
                            value: postgres
                        -   name: LIGHTER_STORAGE_JDBC_PASSWORD
                            value: secretpassword
                        -   name: LIGHTER_STORAGE_JDBC_URL
                            value: jdbc:postgresql://postgres-postgresql:5432/lighter
                        -   name: LIGHTER_STORAGE_JDBC_DRIVER_CLASS_NAME
                            value: org.postgresql.Driver
                        -   name: LIGHTER_SPARK_HISTORY_SERVER_URL
                            value: http://spark-master-svc:7077/spark-history
                        -   name: LIGHTER_MAX_RUNNING_JOBS
                            value: "15"
                        -   name: LIGHTER_KUBERNETES_CONTAINER_IMAGE
                            value: "ghcr.io/exacaster/spark:latest"
            serviceAccountName: spark

I did not bother with the ingress portion because I am just testing and use port-forwarding to see the Spark and Lighter UIs.
I am sending a POST request to Lighter's Batch API with the following:
{
  "name": "Test",
  "file": "/data/spark-examples.jar",
  "args": ["/data/test.txt"],
  "files": ["/data/test.txt"],
  "className" : "org.apache.spark.examples.JavaWordCount"
}

After the request gets accepted, other fields get automatically filled in and the UI reflects the submission. However, the state of the job is always "Starting" (also I can't delete it if I press the "X" button).
I'm not sure what is going on. I tried checking the pod's logs but there is nothing related. I was wondering if you could point me in the right direction to figure out what is missing/misconfigured for it to work properly. I'm attaching a screenshot of the UI.

Thank you for your time!

Hi! Glad to hear that you are trying out Lighter!
Could you show us lighter logs, even though you think it's nothing related, but it would still help to understand the situation.

@Minutis thanks for your help and sorry I did not see this earlier!
I replaced the ghcr.io/exacaster/spark:latest with bitnami/spark:3 and made sure to set LIGHTER_KUBERNETES_NAMESPACE to default. The logs are producing things now!
You were right about the data problems. I currently mount an NFS volume in all my workers (extra settings for helm chart):
service:
  type: ClusterIP
worker:
  replicaCount: 3
  extraVolumes:
    - name: spark-data
      persistentVolumeClaim:
        claimName: spark-data-pvc
  extraVolumeMounts:
    - name: spark-data
      mountPath: /data

but I guess that Lighter creates a new container without that extra volume.
java.lang.RuntimeException: Exception in thread "main" org.apache.spark.SparkException: Failed to get main class in JAR with error 'File file:/data/spark-examples.jar does not exist'.  Please specify one with --class.
        at org.apache.spark.launcher.OutputRedirector.redirect(OutputRedirector.java:67)
        at java.base/java.lang.Thread.run(Thread.java:834)

Is there any way to add this volume via Lighter's deployment configuration, environment variables, etc? If not, what do you guys recommend for getting files available in the new container?
I'm also getting an error after the exception shown above:
Exception in thread "launcher-proc-1" io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: GET at: https://<IP_ADDRESS>/api/v1/namespaces/spark/pods?labelSelector=spark-app-tag%3Debae8134-6125-45a9-9343-0ba61f7bfb19%2Cspark-role%3Ddriver. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked. pods is forbidden: User "system:serviceaccount:default:spark" cannot list resource "pods" in API group "" in the namespace "spark".

I checked and I have no spark namespace that I'm using.
Any ideas on what's going on?
Thanks for your help and sorry for the delay!

To use Volume mounts on your driver/executor pods you'll have to follow official Spark documentation regarding it:
https://spark.apache.org/docs/latest/running-on-kubernetes.html#using-kubernetes-volumes
And add needed "conf" properties to submit options.
Other option would be to to use a custom pod templates, and attach your mounts here. To do that, you can create Config map on /home/app/k8s/driver_pod_template.yaml & /home/app/k8s/driver_pod_template.yaml paths (see defaults: https://github.com/exacaster/lighter/tree/master/k8s)
I'm not sure about your last Exception, have you really got it after changing LIGHTER_KUBERNETES_NAMESPACE and not before that?


lxd init fails looking for dnsmasq

Required information
Distribution: Ubuntu
Distribution version: 17.10
The output of "lxc info" or if that fails:

lxc info
config: {}
api_extensions:
- storage_zfs_remove_snapshots
- container_host_shutdown_timeout
- container_syscall_filtering
- auth_pki
- container_last_used_at
- etag
- patch
- usb_devices
- https_allowed_credentials
- image_compression_algorithm
- directory_manipulation
- container_cpu_time
- storage_zfs_use_refquota
- storage_lvm_mount_options
- network
- profile_usedby
- container_push
- container_exec_recording
- certificate_update
- container_exec_signal_handling
- gpu_devices
- container_image_properties
- migration_progress
- id_map
- network_firewall_filtering
- network_routes
- storage
- file_delete
- file_append
- network_dhcp_expiry
- storage_lvm_vg_rename
- storage_lvm_thinpool_rename
- network_vlan
- image_create_aliases
- container_stateless_copy
- container_only_migration
- storage_zfs_clone_copy
- unix_device_rename
- storage_lvm_use_thinpool
- storage_rsync_bwlimit
- network_vxlan_interface
- storage_btrfs_mount_options
- entity_description
- image_force_refresh
- storage_lvm_lv_resizing
- id_map_base
- file_symlinks
- container_push_target
- network_vlan_physical
- storage_images_delete
- container_edit_metadata
- container_snapshot_stateful_migration
- storage_driver_ceph
- storage_ceph_user_name
- resource_limits
- storage_volatile_initial_source
- storage_ceph_force_osd_reuse
- storage_block_filesystem_btrfs
api_status: stable
api_version: "1.0"
auth: trusted
public: false
environment:
  addresses: []
  architectures:
  - x86_64
  - i686
  certificate: |
    -----BEGIN CERTIFICATE-----
  --snip--
    -----END CERTIFICATE-----
  certificate_fingerprint: 4a33d52cd1fc983e6b8c722419d3de82bff61abaefa967545f3cdd107abf1003
  driver: lxc
  driver_version: 2.1.0
  kernel: Linux
  kernel_architecture: x86_64
  kernel_version: 4.13.0-17-generic
  server: lxd
  server_pid: 19498
  server_version: "2.18"
  storage: ""
  storage_version: ""

Issue description
Freshly installed lxd on ubuntu 17.10, but the command lxd init fails with the following output:
osprey@gervasio:~$ lxd init
Do you want to configure a new storage pool (yes/no) [default=yes]?
Name of the new storage pool [default=default]:
Name of the storage backend to use (dir) [default=dir]:
Would you like LXD to be available over the network (yes/no) [default=no]?
Would you like stale cached images to be updated automatically (yes/no) [default=yes]?
Would you like to create a new network bridge (yes/no) [default=yes]?
What should the new bridge be called [default=lxdbr0]?
What IPv4 address should be used (CIDR subnet notation, “auto” or “none”) [default=auto]?
What IPv6 address should be used (CIDR subnet notation, “auto” or “none”) [default=auto]? none
error: LXD managed bridges require "dnsmasq". Install it and try again.

dnsmasq is installed and running
osprey@gervasio:~$ sudo systemctl status dnsmasq
● dnsmasq.service - dnsmasq - A lightweight DHCP and caching DNS server
   Loaded: loaded (/lib/systemd/system/dnsmasq.service; enabled; vendor preset: enabled)
   Active: active (running) since Mon 2017-12-04 12:25:38 CET; 34s ago
 Main PID: 19710 (dnsmasq)
    Tasks: 1 (limit: 4915)
   Memory: 2.4M
      CPU: 25ms
   CGroup: /system.slice/dnsmasq.service
           └─19710 /usr/sbin/dnsmasq -x /run/dnsmasq/dnsmasq.pid -u dnsmasq -7 /etc/dnsmasq.d,.dpkg-dist,.dpkg-old,.dpkg-new --local-service --trust-anchor=.,19036,8,2,

dic 04 12:25:38 gervasio systemd[1]: Starting dnsmasq - A lightweight DHCP and caching DNS server...
dic 04 12:25:38 gervasio dnsmasq[19681]: dnsmasq: syntax check OK.
dic 04 12:25:38 gervasio dnsmasq[19710]: started, version 2.78 cachesize 150
dic 04 12:25:38 gervasio dnsmasq[19710]: compile time options: IPv6 GNU-getopt DBus i18n IDN DHCP DHCPv6 no-Lua TFTP conntrack ipset auth DNSSEC loop-detect inotify
dic 04 12:25:38 gervasio dnsmasq[19710]: reading /etc/resolv.conf
dic 04 12:25:38 gervasio dnsmasq[19710]: using nameserver <IP_ADDRESS>#53
dic 04 12:25:38 gervasio dnsmasq[19710]: read /etc/hosts - 354 addresses
dic 04 12:25:38 gervasio systemd[1]: Started dnsmasq - A lightweight DHCP and caching DNS server.

What does which dnsmasq tell you?

You are terribly right ;)
dnsmasq was not in my path.
Now it works perfectly. Thanks!
lxd init Do you want to configure a new storage pool (yes/no) [default=yes]?  Name of the new storage pool [default=default]:  Name of the storage backend to use (dir, lvm) [default=dir]:  Would you like LXD to be available over the network (yes/no) [default=no]?  Would you like stale cached images to be updated automatically (yes/no) [default=yes]?  Would you like to create a new network bridge (yes/no) [default=yes]?  What should the new bridge be called [default=lxdbr0]?  What IPv4 address should be used (CIDR subnet notation, “auto” or “none”) [default=auto]?  What IPv6 address should be used (CIDR subnet notation, “auto” or “none”) [default=auto]? none LXD has been successfully configured.


Added metadata for Microsoft.WingetCreate v<IP_ADDRESS>

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[X] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

This is an issue on Winget-Create that we are currently working on. Thanks for adding the extra information.


Look into Poetry

I'm not sure if Poetry would be a good fit for this template, but it'd be interesting to take a better look into it.
https://python-poetry.org/docs/basic-usage/
Ensure the following work with Poetry:

Nox
Python Semantic Release
virtualenv
Documentation building on ReadTheDocs

poetry config virtualenvs.in-project

https://github.com/cjolowicz/nox-poetry

#113

https://github.com/hikari-crescent/hikari-crescent/blob/main/noxfile.py#L9-L35

https://github.com/tiangolo/poetry-version-plugin

https://github.com/mtkennerly/poetry-dynamic-versioning

https://python-semantic-release.readthedocs.io/en/latest/configuration.html#version-toml

https://github.com/python-poetry/poetry/blob/master/src/poetry/__version__.py

Thanks a lot for the suggestion!
Unfortunately, Poetry is basically the standard where I work, and I'm the last one that hasn't fully migrated yet.
And despite its shortcomings, Poetry does seem like a very interesting tool. I believe, with a few tweaks here and there, that it'll be possible to get it working nicely here.
I did look into PDM now, though, and it does also seem amazing. I'll definitely keep it in mind, and perhaps even do something similar to this cookie template you mentioned (which is also awesome, by the way), and support both Poetry and PDM.
For now, though, I'll keep on trying to make Poetry work.


fcft: 2.4.0 -> 2.4.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/fcft/versions.
meta.description for fcft is: "Simple library for font loading and glyph rasterization"
meta.homepage for fcft is: "https://codeberg.org/dnkl/fcft"
meta.changelog for fcft is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.4.1 with grep in /nix/store/ihvwblcs6912kh0w7axh1zcfxy8smiqp-fcft-2.4.1

found 2.4.1 in filename of file in /nix/store/ihvwblcs6912kh0w7axh1zcfxy8smiqp-fcft-2.4.1

directory tree listing: https://gist.github.com/16805f8e1d2a570660f5aafd40049e2c

du listing: https://gist.github.com/f03ed8b37fbd117e051ed71cfc9c708c

Rebuild report (if merged into master) (click to expand)

16 total rebuild path(s)

5 package rebuild(s)

5 x86_64-linux rebuild(s)
5 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
5 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
fcft
foot
fuzzel
wbg
yambar

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ihvwblcs6912kh0w7axh1zcfxy8smiqp-fcft-2.4.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A fcft https://github.com/r-ryantm/nixpkgs/archive/0fe1700da520d262bac49015bd7bbdd919f1e8d4.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ihvwblcs6912kh0w7axh1zcfxy8smiqp-fcft-2.4.1
ls -la /nix/store/ihvwblcs6912kh0w7axh1zcfxy8smiqp-fcft-2.4.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

5 packages built:

fcft
foot
fuzzel
wbg
yambar

Maintainer pings
cc @fionera @sternenseemann for testing.

Result of nixpkgs-review pr 128033 at 0fe1700d run on aarch64-linux 1

5 packages built successfully:

fcft
foot
fuzzel
wbg
yambar


18 - Crouch

Solves #18
Crouch implemented for CapsuleShape and BoxShape. It's best if we merge this after #30 because I wrote it from that state.

Crouch with Ctrl
It makes you half the size (configurable in the player script)
Adjust the height for CpsuleShape and BoxShape. It'll throw an error if any other shape is used
More shapes can be implemented in the CollisionShapeBody's script (player scene)
Refactors how is_on_floor was detected and favor the built-in function is_on_floor of the KinematicBody.

One thing we noticed is that the refactoring of the is_on_floor code reintroduced several bugs related to the built in function - namely, sliding on ramps while standing still, and getting a downward boost when walking off of a platform.

Oh.. I thought I had tested enough. I can remake it the other way the next weekend.

I got a pause at work and did a quick look. I fixed it and tried to explain how I fixed it in this video: https://youtu.be/WT0zFvcNgdA

Thank you for the explanation! That still leaves the being thrown downward when walking off of a cliff, but I think we'll have to use raycasts to check if there is a cliff if we want to solve this properly. Also, 21:9 aspect ratios are no problem! I have such a monitor too.

I think somehow the velocity is accumulating down. I can look into it later! Oh, my monitor is also from LG although another model. Hehe 21:9 gang


firefox on hover

i use your plagin in my project but not work in firefox in my case, but i check your demo it work fine .
can you please help me what i am wrong?
when i hover it not work must click in firefox.

@madadi120 Can you post a link to your project so I can troubleshoot the issue?


Writing CSV output with CSV headers

I'm using eventgen to generate CSV-like output (in outputMode = file).  The issue is that it's systematically skipping the header of my sample file in its output, while I need it in my final Splunk application.
I couldn't find a solution for that yet: am I missing something ?
Thanks.

Added a jinja templating option to now control when you do events / headers and to have importing of other templates.  Take a look at the new feature in 6.1


Backpress not working always in Conversation activity so better implementation like clicking of UI button should be used

List nodes = getRootInActiveWindow().findAccessibilityNodeInfosByViewId("com.whatsapp:id/send");
final List nodesback = getRootInActiveWindow().findAccessibilityNodeInfosByViewId("com.whatsapp:id/back");
            for (AccessibilityNodeInfo nodeInfo : nodes) {
                if (nodeInfo != null) {
                    nodes.get(0).performAction(ACTION_CLICK);
                    Handler handler = new Handler();
                    handler.postDelayed(new Runnable() {
                        public void run() {
                            // Actions to do after 1 seconds
                            for (AccessibilityNodeInfo nodebackInfo : nodesback) {
                                if(nodebackInfo!=null){
                                    nodesback.get(0).performAction(ACTION_CLICK);
                                }
                            }
                        }
                    }, 1000);

                    break;
                }
            }

I managed to do this, performglobalaction don't seem to work all the time, so I perform click on the back button on top left corner of com.whatsapp.conversation UI
Originally posted by @chiaqf in https://github.com/nikhilmuz/WhatsApp-Bulk-Sender/issues/13#issuecomment-474658800

Commit #8c2666acf5fe708d74e9768869729b51f24aeb01 fixed this issue.


Update Face SDK

Description

Update Face SDK with the latest TypeSpec: https://github.com/Azure/azure-rest-api-specs/pull/29120
Add BLUR into FaceAttributeTypeDetection03 since the Face backend service supports Blur with Detection03 model now.

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-vision-face


OAuth Configuration created before all other BeanFactoryPostProcessors

I have a library that creates its own PropertySourcesPlaceholderConfigurer to fill some fields @Value. In projects without spring-security-oauth2 this works fine, but when I add spring-oauth2 all beans are created before these values are set.
Debugging I found out that while the AuthorizationServerEndpointsConfiguration$TokenKeyEndpointRegistrar is processed all other beans are instantiated, without the @Values that I filled it. They are not updated later on, when my own propertySourcePlaceholder is added to the post processors.
The critical line in TokenKeyEndpointRegistrar is 200:
 @Override
        public void postProcessBeanFactory(final ConfigurableListableBeanFactory beanFactory) throws BeansException {
            final String[] names = BeanFactoryUtils.beanNamesForTypeIncludingAncestors(beanFactory, SomeBean.class);
...
        }

This makes Spring instantiate all my beans.
How can I avoid this behaviour?

I think SomeBean is JwtTokenEnhancer (I'm just confused because if it is, why not say so)? We could change the BeanFactoryUtils method to prevent some eager instantiation, but this hasn't caused problems for anyone else, so I think it would be better to try and understand your use case. I suspect it is perhaps the class where you put @EnableAuthorizationServer that is the problem, rather than the configuration that it is importing, but the devil is probably in the detail.

Hi,
sorry yes it is the JwtAccessTokenConverter (that one was my from personal recreating example).
The use case is as follows (I am using an internal 3rd party library that does preprocessing this way, so I am sort of forced to use this):

There is a BeanDefinitionRegistryPostProcessor, that generates instances of AbstractFactoryBean for interfaces in my config and adds them to the BeanDefinitionRegistry
When BeanFactoryUtils comes along, it calls DefaultListableBeanFactory.doGetBeanNamesForType() and finds the factory beans in the beanDefinitionsList and calls AbstractBeanFactory.isTypeMatch() to check whether it can instantiate JwtAccessToken.
the bean type of these beans is AbstractFactoryBean, so AbstractAutowireCapableBeanFactory.getTypeForFactoryBean():803 is called, but it does not find a type for this bean
So AbstractBeanFactory.getTypeForFactoryBean():1418 is called, instantiating the bean of the factory
This is before the PropertySourcesPlaceholderConfigurer is picked up, because that is a regular BeanPostProcessor
Thus the @Value-annotated fields are not post-processed

I don't want to cause a change, if it is only caused by how I insert my beans in the lifecycle.

BeanDefinitionRegistryPostProcessor is ringing alarm bells with me. You didn't if it (or its enclosing @Configuration) is the component that has @EnableAuthorizationServer then the problem is just that you are forcing Spring to create all that stuff super early. Extracting it into it's own configuration would fix that problem.
If that's not your problem, can you try patching TokenKeyEndpointRegistrar and using the other method in BeanFactoryUtils (with the boolean flags) to see if that helps? If it does we can just do that quickly here.

(I think you were asking where the @Configuration is, the verb is missing though(.
Following structure: (-- is @Import)
ValueConfig -- MainConfig -- OAuthConfig (with @EnableAuthorizationServer)
And MainConfig has an annotation that imports the subclass of ImportBeanDefinitionRegistrar, that calls the BeanDefinitionRegistryPostProcessor, that adds these fields.
Should I seperate these?

Should I separate these?

Can you try putting the BeanDefinitionRegistryPostProcessor import in a separate class (e.g. a static inner class of MainConfig instead of the top level)?

Same problem.

String[] names = BeanFactoryUtils.beanNamesForTypeIncludingAncestors(beanFactory,
JwtAccessTokenConverter.class, false, false);
Fixes the problem.

So, are you going to change the call to not use eager initialization or is there a good reason not to? :-)

No reason I can see not to change it. Pull requests definitely work for setting priorities BTW.


Requirements

Filling out the template is required.
There are 3 labels for the issues:

bug - the code does not work at all or as expected.
enhancement - new features suggestions, ideas, propositions.
update - minor changes but benefitial.

version or commit
If enhancement
Proposed feature
If update
Proposed change
If bug
Description
Steps to reproduce

First.
Second.
Third.

Expected behaviour
Actual behaviour

Created by accident when using hub


There is no support for getting the log level back.

I think the broadcast needs to apply the level of the first subscriber to all subsequent ones. (All the listeners need to be on the same level)

I believe this was resolved in https://github.com/zendesk/logcast/pull/5/


Zone ID not available

Zone ID not available when using listZones() method on \Upcloud\ApiClient\Upcloud\ZoneApi. Can anyone please confirm this issue? Here is what I get:
Zone {#434 ▼
  #container: array:2 [▼
    "name" => null
    "description" => "Frankfurt #1"
  ]
}

Just description is available along with a null name key.

Sorry, an older version was installed. Since I'm using this in Laravel, there is an issue installing the latest version in Laravel 5.8. There are a few dependency conflicts. Would you please be able to test and make it compatible with latest Laravel framework?

Did you get it working with Laravel? I'm not familiar with that framework so can't help much, though it might help someone else to know what happened if they run into same problem 😊


improvement Support to partition prune when query rewrite by sync materialized view

Proposed changes
Support to partition prune when query rewrite by sync materialized view
such as table def is as following:
        CREATE TABLE IF NOT EXISTS test_unique (
        `time` DATETIME NULL COMMENT '查询时间',
        `app_name` VARCHAR(64) NULL COMMENT '标识',
        `event_id` VARCHAR(128) NULL COMMENT '标识',
        `decision` VARCHAR(32) NULL COMMENT '枚举值',
        `id` VARCHAR(35) NOT NULL COMMENT 'od',
        `code` VARCHAR(64) NULL COMMENT '标识',
        `event_type` VARCHAR(32) NULL COMMENT '事件类型'
        )
        UNIQUE KEY(time)
        PARTITION BY RANGE(time)
        (
         FROM ("2024-07-01 00:00:00") TO ("2024-07-15 00:00:00") INTERVAL 1 HOUR
        )
        DISTRIBUTED BY HASH(time)
        BUCKETS 3 PROPERTIES ("replication_num" = "1");

sync materialized view def is
create materialized view as
    select
    app_name,
    event_id,
    time,
    count(*)
    from
    test_duplicate
    group by
    app_name,
    event_id,
    time;

if your query is following, if rewritten by sync materialized view successfully, should partition prune
    select
    app_name,
    event_id,
    time,
    count(*)
    from
    test_duplicate
    where time < '2024-07-05 01:00:00'
    group by
    app_name,
    time,
    event_id;

run buildall

run buildall


HTTP connections aren't closed after being used

Describe the bug
From the following docs, it looks like we are responsible for explicitly closing the HTTP connection in ktor, which from what I can tell we aren't currently doing:
https://kotlinlang.org/docs/mobile/use-ktor-for-networking.html#close-the-http-client
To Reproduce
Steps to reproduce the behavior:

Look at docs and code

Expected behavior
We should be closing HTTP connections to avoid resource leaks
Actual behavior
It doesn't seem we're closing connections?

@BumbleFlash Could you please take a look at this next?


Consider tagging repo as rebar3-plugin

To have it show up in https://github.com/topics/rebar3-plugin 😄

Done.


Document KV key/value size limits.

From this TiKV issue: https://github.com/tikv/tikv/issues/7272 , it seems that TiKV limits key size to 4KB and value size to 8MB.
Let's limit them to 2KB and 4MB.

From this TiKV issue: https://github.com/tikv/tikv/issues/7272 , it seems that TiKV limits key size to 4KB and value size to 8MB.
Let's limit them to 2KB and 4MB.


"Microsoft Teams Rooms help" link not working

In the TESTING section, the link Microsoft Teams Rooms help is not working.

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

ID: 99951587-c6ee-feb3-ab39-8d6b6969e939
Version Independent ID: 1cb9d2e6-d4c1-628a-79bf-6ae405263f1d
Content: Deploy Microsoft Teams Rooms - Microsoft Teams
Content Source: Teams/rooms/rooms-deploy.md
Service: msteams
GitHub Login: @dstrome
Microsoft Alias: dstrome

Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


Font gets totally corrupted in integrated terminal

VSCode Version: Version 1.18.1 (1.18.1)
OS Version: MacOS

Steps to Reproduce:

Not sure
Not sure

Reproduces without extensions: Not sure
This only happens after about an hour of use with the IDE, pretty bizarre. I have used other IDEs and never seen anything like that.
See these screenshots:

I have the same problem.

VSCode Version: Version 1.18.1 (1.18.1)
OS Version: MacOS

I've had that happen to me on macOS High Sierra, usually when I change from an external (larger) monitor to the built-in display (smaller), for instance, when I unplug the external monitor.
Using zsh, oh-my-zsh, powerlevel9k theme and Adobe Source Code Pro font (patched for powerline). Only the prompt is messed up, though. The commands I type show correctly.

Duplicate https://github.com/Microsoft/vscode/issues/34320


need to apply files during e2e test

I want to add test that check the manaul bootstrap token, and for that I want to use the applier,
before need to implement the KubectlFactory here:
type TestE2eConfig struct {
values     *values
clusteradm *clusteradm
ClearEnv func()

}

/assign @mgold1234

fixed
/close


Implement improved cluster resolution strategies

This was discussed in #67 but we need the ability to support zone affinity the same way the Eureka Java client does. In addition to this it would be helpful to allow a statically defined list of servers for each zone while also allowing a default zone. I propose we add this into the v4 candidate branch.

Completed in v4 branch.


"this.scrollView.scrollTo is not a function"

I created a reference to the KeyboardAwareScrollView and I am trying to scroll to the top of the scrollView when ever the keyboard is dismissed.  My goal is that irrespective of which TextInput I am on when keyboard is dismissed, I want the scrollView to scroll to the very top when keyboard is dismissed.
My View setup in typescript is below
<TouchableOpacity
onPress={this.dismissKeyboard.bind(this)}
activeOpacity={1}

      <KeyboardAwareScrollView
            automaticallyAdjustContentInsets={false}
            style={{flex: 1}}
            keyboardShouldPersistTaps={true}
            scrollEventThrottle={10}
            extraHeight={150}
            ref={this.setScrollView.bind(this)}
         >
             <TouchableOpacity
                onPress={this.dismissKeyboard.bind(this)}
                activeOpacity={1}
             >
                     <TextInput/>
                     <TextInput/>
                     <TextInput/>
              </TouchableOpacity>
        </KeyboardAwareScrollView>

private dismissKeyboard() {
this.scrollView.scrollTo({animated: true, x: 0, y: 0});
}
Whenever I dismiss keyboard I get a warning in Xcode(iOS) "Unhandled JS Exception: this.scrollView.scrollTo is not a function. (In 'this.scrollView.scrollTo({animated:true,x:0,y:0})', 'this.scrollView.scrollTo' is undefined)"
I thought we could use the react native's scrollView's functions with the KeyboardAwareScrollView. Could you please let me know how I can resolve this?
Appreciate the help

Never mind .. Just found resetScrollToCoords to use . .Works like a charm,

Cool @shrutic !


[SPARK-1507][YARN]specify num of cores for AM

I add some configurations below.
spark.yarn.am.cores/SPARK_MASTER_CORES/SPARK_DRIVER_CORES for yarn-client mode;
spark.driver.cores for yarn-cluster mode.

@andrewor14

@XuTingjun ah, that's correct.  Looking more closely, my confusion was stemming from some existing weirdness, which is that setting the "spark.driver.memory" property will set the application master memory even in client mode.  Also, that passing "--driver-memory" as part of the YARN code's ClientArguments (but not to spark-submit) will do this as well.
My opinion is that we should fix those, though I suppose it could be argued that it breaks backwards compatibility?

@sryza, do you mean "spark.driver.memory" works in yarn-client and yarn-cluster mode, so we should use one configuration maybe named "spark.driver.cores" to set am cores?

I think the best thing would be to split spark.driver.memory into spark.driver.memory and spark.yarn.am.memory, and to have the latter only work for the yarn-client AM.

Yearh, I agree with you. Later I will fix this. Thanks @sryza

@sryza, I have splited spark.driver.memory into spark.driver.memory and spark.yarn.am.memory. Please have a look.

Sorry but I already file a PR that splits spark.driver.memory in https://github.com/apache/spark/pull/3607.
Could you please check if anyone already did the same work first?

Hi @XuTingjun there seems to be a certain degree of overlap with work in #3607. Also, my concern with this PR is that it conflates "driver" and "AM" in a few places. For instance, --driver-cores should never configure the number of cores used by the AM in client mode.


Definition files usage

I tried to use a definition file with this plugin. I naively copied it next to my app.ts, but I only get this error:
error: Compiling of app/excalibur.d.ts failed. Debug Failure. False expression: Output generation failed
The excalibur.d.ts comes from https://github.com/excaliburjs/Excalibur/r eleases/tag/v0.7.0 but I get the same error with an empty test.d.ts

I think your problem is such as this issue.
@colinbate Do you have an idea about this problem ?

It might be related to that, but off the top of my head, you should probably not have your .d.ts files next to your application files. Those definition files are not meant to be built into your application, which is likely what Brunch is trying to do because it just sees them as TypeScript files. Typically you would put those files in a sibling directory to app, maybe called typings. Something that Brunch isn't watching.
That said, it should be possible to exclude the definition files within the plugin, so if you have a good reason for putting them together then I suppose that could be added.

You may also try running the regular tsc over your project to see if it has issues with the definition. If you run it with the --noEmit flag it won't output anything just check for errors. If that works, then it is probably related to the isolation mode issue @baptistedonaux mentioned. I think I might remove that error generation until after we sort out something with the language service.

@colinbate You're free to improve this part if you think that can be improved.

I think the root problem is the too-restrictive compiler host created in transpile.js. I discuss my workarounds here:
#35 (comment)
And in #45.


ctDNA

Hi everyone!
Do you have any recommendations for circulating tumor dna analysis?

Hi Konstantinos,
Hope you had a great break. Usually when we've done this we had a small panel of genes we were looking at, so we just ran everything like it was amplicon sequencing. What kind of data do you have?

Hi rory!
I have blood samples sequenced at 35.000x in a panel of 523 genes using UMIs. Do you have any suggestion?

Yup! You'll want to figure out where the UMIs are so you can run the preparation script described here: https://bcbio-nextgen.readthedocs.io/en/latest/contents/configuration.html#umis
The running the panel sequencing pipeline with umis: fastq_name will run bcbio in the UMI aware mode. If you don't have duplex UMI, calling down to extremely low allele frequencies can cause some false positive artifacts, just so you are aware.

Thanks! Do I have to set something else in the pipeline?

You'll want to use a somatic caller: https://bcbio-nextgen.readthedocs.io/en/latest/contents/pipelines.html#cancer-variant-calling

Any preferance? Mutect?

Thanks everyone!


Thumbnail image flickers when loading APIs

Description:
When a custom API thumbnail image is added, There is a slight delay in loading the image
Steps to reproduce:

Create an API
Upload a custom image
Use network throttling and goto APIs listing page

Affected Product Version:

APIM 3.1.0-Alpha

Environment details (with versions):

OS:
Client:
Env (Docker/K8s):

Optional Fields
Related Issues:

Suggested Labels:

Suggested Assignees:

This issue is fixed with the following PR.
https://github.com/wso2/carbon-apimgt/pull/8119


Unable to build my Phonegap Android App for com.android.build.api.transform.TransformException

Cordova CLI 7.1.0
I'm stuck from days in this problem and nobody helps me.
I build with Phonegap and I need to use facebook4 plugin ( facebook site tells me to update to Facebook SDK for iOS v4.39.0, is it mandatory? I don't know).
So I updated facebook4 plugin to latest version and now I got error :
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/zxing/aztec/AztecDetectorResult.class
I know that is for same library blablabla but no solution. It's phonegap, so I cannot change plugins, just change config. I tried with
<platform name="android">
    <framework src="com.facebook.android:facebook-android-sdk:4.25.0" />
</platform>

in config.xml but nothing changes. Please I need to release the app

@xale76, I have not seen that particular error, but check out these threads, about the various issues/versions when using this plugin with Facebook4 plugin:
https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/535.
https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/606
I use
phonegap-plugin-barcodescanner 7.0.2 "BarcodeScanner"
cordova-plugin-facebook4 1.7.4 "Facebook Connect"
together and have gotten it work following comments in the above bug threads


[Release-1.27] - Spegel mirror returns 500 instead of 404 on unavailable images

Backport fix for Spegel mirror returns 500 instead of 404 on unavailable images

#10117

Version has been bumped and will have 500 errors correctly instead of 404s.


inference with swin_upernet fails

py -m inference.py --model swin_upernet \
  --config_path config_vocals_swin_upernet.yaml \
  --start_check_point /models/MSST/model_swin_upernet_ep_56_sdr_10.6703.ckpt ...

config downloaded from releases.
Failed to import transformers.models.upernet.modeling_upernet because of the following error (look up to see its traceback):
Failed to import transformers.generation.utils because of the following error (look up to see its traceback):
cannot import name 'split_torch_state_dict_into_shards' from 'huggingface_hub'

split_torch_state_dict_into_shards is included starting from huggingface-hub version 0.23.0.
tokenizers 0.14.0 and 0.14.1 requires huggingface-hub<18.0
and transformers==4.35.0 requires tokenizers=0.14.*
Installed by changing requirements.txt:
huggingface-hub>=0.23
transformers~=4.35.0

But:
ERROR: Could not find a version that satisfies the requirement pedalboard==0.8.1 (from versions: 0.8.2, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.8.8, 0.8.9, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.6, 0.9.7, 0.9.8, 0.9.9, 0.9.10, 0.9.11, 0.9.12)
ERROR: No matching distribution found for pedalboard==0.8.1

So:
pedalboard~=0.8.1
Then:
--> 110 with torch.amp.autocast(enabled=config.training.use_amp):
    111     with torch.inference_mode():
    112         if config.training.target_instrument is not None:

File c:\apps\MSST\Lib\site-packages\ml_collections\config_dict\config_dict.py:829, in ConfigDict.__getattr__(self, attribute)
    827   return self[attribute]
    828 except KeyError as e:
--> 829   raise AttributeError(e)

AttributeError: "'use_amp'"

So, a few errors later, utils.py:
- with torch.cuda.amp.autocast(enabled=config.training.use_amp):
+ with torch.amp.autocast(device):

Then:
ValueError: Make sure that the channel dimension of the pixel values match with the one set in the configuration.
So, I looked at:
                if len(batch_data) >= batch_size or (i >= mix.shape[1]):
                    arr = torch.stack(batch_data, dim=0)
arr.shape = torch.Size([1, 2, 261632])
I was confused, so mix.shape = torch.Size([2, 3038448]). I didn't think it would work, but I tried concatenate:
arr = torch.cat(batch_data, dim=0)
arr.shape = torch.Size([2, 261632])
The value error went away, but:
    [177](file:///C:/apps/MSST/models/upernet_swin_transformers.py:177) def cac2cws(self, x):
    [178](file:///C:/apps/MSST/models/upernet_swin_transformers.py:178)     k = self.num_subbands
--> [179](file:///C:/apps/MSST/models/upernet_swin_transformers.py:179)     b, c, f, t = x.shape
    [180](file:///C:/apps/MSST/models/upernet_swin_transformers.py:180)     x = x.reshape(b, c, k, f // k, t)
    [181](file:///C:/apps/MSST/models/upernet_swin_transformers.py:181)     x = x.reshape(b, c * k, f // k, t)

ValueError: not enough values to unpack (expected 4, got 3)

I'm out of ideas now.

I've just checked and inference.py works normally with swin_uppernet. I added use_amp in config to avoid errors.
args = [
            '--model_type', 'swin_upernet',
            "--config_path", code_path + "configs/config_vocals_swin_upernet.yaml",
            "--start_check_point", code_path + "results/model_swin_upernet_ep_56_sdr_10.6703.ckpt",
            "--store_dir", code_path + "results_tracks/",
            "--input_folder", 'H:/',
            "--device_ids", "0",
            "--extract_instrumental",
        ]

Shape: (1, 2, 261632) seems ok because first dimension is batch size, second channels and third waveform.

@hunterhogan Check also this small edit for swin_upernet to fix the "ValueError: Make sure that the channel dimension of the pixel values match with the one set in the configuration." error message: #6 (comment)

Thanks, I absolutely forgot about this 😭

@hunterhogan Check also this small edit for swin_upernet to fix the "ValueError: Make sure that the channel dimension of the pixel values match with the one set in the configuration." error message: #6 (comment)

Thanks, I absolutely forgot about this 😭

Editing the transformers package fixed it. I would never have thought of that!
I made a pull request for the requirements.txt.


Page "Using RUM on your Website" talks about deploying RUM, but it is already being done as part of APM

I think all that needs to be done is removing the part about redeploying it and explaining what has been added for RUM.

Correction - it looks like APM was changed (sorry, I know this was mentioned in the release notes).
So instead we just need to fix the order of the pages I think. Move "Using RUM on your Website" towards the front.


Deprecate key.sig

@key.sig has been moved to @key, and the idea of @key.sig in 4.0.0 was to represent the number of accidentals, the line they are on, and the type; so b3f would be a B flat on the 3 staff line.
After discussion with @pe-ro we decided that it would be more appropriate to deprecate @key.sig and use <keySig> for any advanced key signature definitions.

I agree that using <keySig> or advanced key signature definitions is a good approach. However, I am not sure I understand why @key.sig needs to be changed or deprecated. Did we have an issue / discussion about it? I cannot find it.

As per the conversation with Perry, the semantics of current @key.sig mixes visuals (1f = 1 flat) with visuals (it is assumed that this means the key signature has a b-flat). However, it may not be the case that a key signature with one flat is a b-flat; it could be an e-flat (for non-standard scores).
Thus @key.sig is changed to @key to represent the position on the circle-of-fifths (1f), with the idea that @key.sig would then try to represent the specific pitch accidentals on the specific lines. (It's still not clear to me how it does this, but if we're deprecating @key.sig it doesn't really matter.)

I also couldn't find a discussion about it. It would be handy to link it here if there was one, even if it was a side-effect of another change.

There wasn't any discussion, unless you count me talking to myself as I made the change. :-)

It does count as a discussion, but maybe we should discuss it further ;-)
I don't this the current @key.sig mixes semantics and visuals at all. It only makes the assumption that flats and sharps follow the fifth circle. This is a fair assumption and a perfectly valid approach.
I am not sure I understand how the proposed approach works. @pe-ro : could you give some examples?

The "circle of fifths" approach doesn't take into account partial key signatures.  For example, we've all seen pieces where visually the key signature contains 1 flat, but E flats are indicated by accidentals (expressly written or implied) placing the real key of the piece in Bb, not F.  In other words, the key signature; that is, how many flats/sharps appear on the page, is different from the analyzed/perceived/theoretical key of the piece, so two different methods of representation are necessary.
In MEI 4.0.0, @key makes use of the "circle of fifths" method, while @key.sig represents the visual key signature.  (Naming them this way makes @key.sig match <keySig>.)  Since @key.sig duplicates info that can also appear in <keySig>, it (@key.sig) can be deprecated.  Alternatively, and better in my opinion, it can be placed in the analytical module, where it can be switched off in MEI Basic, and switched on when a compact representation of the key signature is desired.  For example, one might want to use @key.sig="b4f e5f" instead of parsing out the children of <keySig>.  This is the same design pattern used by @accid and <accid>.

In MEI 4.0.0, @key makes use of the "circle of fifths" method, while @key.sig represents the visual key signature

I would say that in MEI 3.0, @key.sig also makes use of the "circle of fifths", but indeed for its visual appearance. For a partial signature we currently simply do
<staffDef key.pname="g" key.mode="minor" key.sig="1f"/>

That is, @key.sig represents the visual signature assuming a circle of fifths (well, with only one here, which makes it a bad example, sorry...).

Since @key.sig duplicates info that can also appear in <keySig>, it (@key.sig) can be deprecated.

I agree that technically it can. But why this one and not another (e.g<EMAIL_ADDRESS>?
I did make the request of having @sig in <keySig> for aligning it with @key.sig  in https://github.com/music-encoding/music-encoding/issues/250
I think this is still useful. For example, you might one to use the key signature element just because you want to have a link to a facsimile. So the previous example would be:
<staffDef key.pname="g" key.mode="minor">
    <keySig sig="1f" facs="#facs-id"/>
</staffDef>

So having @key.sig and @sig as is seems to be quite useful and also significantly less error prone than to have the detailed content of a key signature to be given explicitly for any partial key signatures or when <keySig> is desired for an unrelated reason.

If I understand this correctly, @pe-ro, you're saying that if I'm encoding a piece of music with lots of Eb's, best practices would dictate @key=2f and @key.sig=b4f?
If so, at no point are we actually encoding the key signature that is there on the page. We do need a way to express the fact that there is a key signature present, and it does in fact have 1 flat. That's a pretty standard convention in music notation, and this change seems to muddy the waters on how to effectively communicate a well-known convention.
@key is not 1 flat; the "key" is F, the key signature is 1 flat. The key may be perceptually Bb if there's lots of accidental Eb's, but that doesn't change the fact that the key signature is still just 1 flat.
The form @key.sig=1f effectively communicates one flat in the key signature while still being vague enough about any perceived tonal centre in the music -- it could be F major, it could be d minor, it could be Bb major with all the Eb's written as accidentals, but (for whatever reason) the key signature is given as 1 flat. We can already express the fundamental pitch name and mode, so @key.sig=1f @key.pname=B @key.accid="f" @key.mode=major would be how I might suggest encoding your particular example. .pname, .accid, and .mode could certainly be moved to the analytical module since those are really only known with some sort of analysis, but .sig is a thing on a page.

If I understand this correctly, @pe-ro, you're saying that if I'm encoding a piece of music with lots of Eb's, best practices would dictate @key=2f and @key.sig=b4f?

Yes.

If so, at no point are we actually encoding the key signature that is there on the page.

Yes we are!  The key signature appearing on the page; that is, 1 flat on B4, is encoded by key.sig="b4f".  The key is encoded using key="2f"-- two steps around the circle of 5ths to the left.  The tonal center is expressed usingpname="g" mode="minor"`.

I am not convinced. First by the content of @key, namely 2f that for me indicates a key signature and not a key. These are two different concepts. Also, all the parsing involved in reading @key.sig makes me think that this is not very XML-like. But the main problem for me is that by introducing the octave placement in the @key.sig values you enforce distinct @key.sig to be given depending on the clef and also on engraving practices. In other words, and if I understand correctly, you cannot do (staffGrp omitted deliberately) :
<scoreDef key.sig="1f">
    <staffDef clef.shape="G" clef.line="2"/>
    <staffDef clef.shape="F" clef.line="4"/>
</scoreDef>

But instead enforce to do

Or am I overlooking something? Sorry if I do.

Except that if asked any musician what the key was, they would probably answer "F" (or, with a further glance, "D minor"). The key is not 1 flat.

If I understand this correctly, @pe-ro, you're saying that if I'm encoding a piece of music with lots of Eb's, best practices would dictate @key=2f and @key.sig=b4f?

Yes.

Why is that @pe-ro?  A standard critical edition style would be to add an editorial accidental to the key signature.  Example case from the page:
http://wiki.ccarh.org/wiki/Performing_Corelli's_Op._5_violin_sonatas

Saying that @key=3s and @key.sig="f5s c5s" is about the same thing, but involves a lot of calculation to figure out which accidentals should be editorial and have brackets placed around them.  What about using <choice> or a <rdg> for such situations? And how would this be parallel to mensuration signs versus modern time signatures (as well as old/new clefs)?  This this is basically an old key signature versus a new key signature.
Using @key=2f and @key.sig=b4f seems to imply @key="2f" is the "logical" key signature, and @key.sig="b4f" is the "visual key signature".  But in a modern edition, the "logical" key signature would be the visual key signature, with critical editions wanting to put a bracket around the added accidental in the key signature.
When switching between @key and @key.sig as a visual key signagure, the visual accidentals note@accid would be pretty complex to calculate properly.  I am presuming that note@accid would be in reference to @key.sig rather than @key when both are present?

Damn!  What a hornet's nest!
I'll try to put it back like it was; that is, with @key.sig taking values from mixed|0|([1-9]|1[0-2])[f|s].

Here's the ODD necessary to effect the change --
<classSpec ident="att.keySig.log" module="MEI.shared" type="atts" mode="replace">
  <desc>Logical domain attributes.</desc>
  <attList>
    <attDef ident="sig" usage="opt">
      <desc>Written key signature.</desc>
      <datatype maxOccurs="unbounded">
        <rng:ref name="data.KEYFIFTHS"/>
      </datatype>
    </attDef>
  </attList>
  <remarks>

Mixed key signatures, e.g. those consisting of a mixture of flats and sharps (Read,
      p. 143, ex. 9-39), and key signatures with unorthodox placement of the accidentals
      (Read, p. 141) can be encoded using the <gi scheme="MEI">keySig</gi> element.

  </remarks>
</classSpec>
<classSpec ident="att.keySigDefault.log" module="MEI.shared" type="atts" mode="replace">
  <desc>Used by staffDef and scoreDef to provide default values for attributes in the
    logical domain that are related to key signatures.</desc>
  <attList>
    <attDef ident="key.sig" usage="opt">
      <desc>Written key signature.</desc>
      <datatype maxOccurs="unbounded">
        <rng:ref name="data.KEYFIFTHS"/>
      </datatype>
    </attDef>
  </attList>
  <remarks>

Mixed key signatures, e.g. those consisting of a mixture of flats and sharps (Read,
      p. 143, ex. 9-39), and key signatures with unorthodox placement of the accidentals
      (Read, p. 141) can be encoded using the <gi scheme="MEI">keySig</gi> element.

  </remarks>
</classSpec>

I'm leaving in data.KEYFIFTHS as it makes clear what the values refer to.  @key.sig.mixed is still left out since it's function can be taken over by <keySig>.
Better?

That looks good to me. I think this will also remove the need for data.KEYSIGTOKEN, right?

Yep.  That's for catching that.


how to i use psconv in my own model

This is very interesting work. I am tempted to give it a try on my own model for segmentation. Can you provide some instructions on how to replace a standard conv with psconv in my model?

Thanks to the compact characteristic of PSConv, just replace nn.Conv2d with PSConv2d. Note that there exists another hyperparameter named parts you may set in our PSConv operator.

Thanks for the speedy response! What's your recommended setting for "parts"?

It is 4 as the default argument.


Implement check for user, group, and user in group

This new check executable will:
Check for a user
check_user_group -user bozo

Check for a group
check_user_group -group clown

Check for a user to verify the user is in a group
check_user_group -user bozo -group clown

It also implements the check as an object, complete with dependency injection and a test module to use DI for testing.

this is awesome.  Thanks @quaggoth


Passing the wrong filename

After installing the build package, I am a little closer to getting Processing to run my sketch. However, it processing-java seems to be receiving the wrong filename. My folder is called test.pde and is on my Desktop (Mac OS X El Capitan), but when I try to build the file, I get an error telling me that
.../Desktop/Desktop.pde does not exist.
It seems like it's trying to process a file that has a different name than the one I'm trying to send it.

@davemacdo This issue is old, but you should make a folder called test and a file in it called test.pde on your desktop.


DATA RACE on firststep/reducer

time="2020-09-17T10:57:55+02:00" level=info msg="initializing node..." app=dusk prefix=main
time="2020-09-17T10:57:55+02:00" level=info msg="Timeout config..." app=dusk config.timeout.timeoutclearwalletdatabase=0 config.timeout.timeoutgetcandidate=5 config.timeout.timeoutgetlastblock=5 config.timeout.timeoutgetlastcertificate=5 config.timeout.timeoutgetlastcommittee=5 config.timeout.timeoutgetmempooltxs=3 config.timeout.timeoutgetmempooltxsbysize=4 config.timeout.timeoutgetroundresults=5 config.timeout.timeoutsendbidtx=5 config.timeout.timeoutsendstaketx=5 config.timeout.timeoutverifycandidateblock=5 prefix=main
==================
WARNING: DATA RACE
Write at 0x00c000256b60 by goroutine 99:
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep.(*Reducer).Initialize()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep/reducer.go:75 +0x627
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus.(*roundStore).initializeComponents()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:81 +0x38f
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus.(*Coordinator).onNewRound()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:287 +0xd1
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus.(*Coordinator).CollectRoundUpdate()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:306 +0x26b
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus.(*Coordinator).CollectRoundUpdate-fm()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:298 +0x55

Previous read at 0x00c000256b60 by goroutine 91:
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep.(*Reducer).ID()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep/reducer.go:84 +0x3e
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus.(*roundStore).hasComponent.func1()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:70 +0xa6
  sort.Search()
      /usr/local/go/src/sort/search.go:66 +0x69
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus.(*roundStore).hasComponent()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:70 +0x113
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus.(*Coordinator).SendInternally()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:574 +0x65
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep.(*Reducer).Halt()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep/reducer.go:231 +0x687
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep.(*Reducer).collectHalt()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep/reducer.go:168 +0x1fb

Goroutine 99 (running) created at:
  github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/eventbus.(*CallbackListener).Notify()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/eventbus/listener.go:43 +0x1ee
  github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/eventbus.(*EventBus).Publish()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/util/nativeutils/eventbus/publisher.go:33 +0x162
  github.com/dusk-network/dusk-blockchain/pkg/core/chain.(*Chain).sendRoundUpdate()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/chain/chain.go:418 +0x260
  github.com/dusk-network/dusk-blockchain/pkg/core/chain.(*Chain).handleCertificateMessage.func1()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/chain/chain.go:534 +0xb3

Goroutine 91 (running) created at:
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep.(*Reducer).startReduction()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep/reducer.go:140 +0x3fc
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep.(*Reducer).CollectBestScore()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep/reducer.go:246 +0xa1
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep.(*Reducer).CollectBestScore-fm()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/reduction/firststep/reducer.go:244 +0x55
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus.(*SimpleListener).NotifyPayload()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/component.go:108 +0x5e
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus.(*roundStore).Dispatch()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:149 +0x5c1
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus.(*Coordinator).CollectEvent()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:452 +0x4dd
  github.com/dusk-network/dusk-blockchain/pkg/core/consensus.(*Coordinator).CollectEvent-fm()
      /opt/gocode/src/github.com/dusk-network/dusk-blockchain/pkg/core/consensus/round.go:376 +0x55
==================

Fixed via #673


resolves STREAMS-616

resolves STREAMS-616: Convert timestamps to xsd:datetime (ISO8601) in AS2.0 TTL outputs (https://issues.apache.org/jira/browse/STREAMS-616)

lgtm


centerMode does not show parts of next and previous slides

Hi,
Slick carousel center mode shows part of next slides in the following examples: http://kenwheeler.github.io/slick/ (See center mode example). However I cannot manage to replicate this behavior with react-slick, using the same settings of the example.
Is this behavior being modified on purpose, or a pull request is welcome?

yes, need to implement centerPadding option.
PR is welcome

I was just able to implement this recently.  Here are the settings I used.
		adaptiveHeight: true,
		arrows: true,
		autoplay: true,
		centerMode: true,
		dots: false,
		infinite: true,
		initialSlide: 1,
		nextArrow: <RightNavButton/>,
		prevArrow: <LeftNavButton/>,
		responsive: [
			{
				breakpoint: 550,
				settings: {
					slidesToShow: 1,
					variableWidth: false
				}
			}
		],
		slidesToShow: 3,
		speed: 1000,
		variableWidth: true
	}

I think the trick is centering with variable width.  It does mean that you have to set a size for the slides though.

Hey @grossmail1 , I tried your method and it's quite clever. However don't you have a bug with the first time you slide, where the first one is empty (regardless of initialSlide) and when going to next multiple are skipped at the same time?

For example here: https://jsfiddle.net/ambigioz/1fmxsohh/

I may. I just don't think I noticed it with autoplay: true

@grossmail1 @dariobanfi @akiran  were you able to come up with a solution with no bugs? I am facing the same issue and need help.

I didn't find a solution yet..

my PR is just been merged.
now centerMode with centerPadding should be worked with the latest version v0.12.3

@renddiyeh any examples?

@sauravskumar here it is https://renddiyeh.github.io/react-slick/ , you can check the centerMode section.
slisk has a default centerPadding = 50px setting, so we just need add centerMode: ture setting to make it work.


docs: incorrect relative linking in translations

To add to this issue:

Navigate to the translations: https://contribute.freecodecamp.org/#/_translations
Choose anything but English: https://contribute.freecodecamp.org/#/i18n/Afrikaans/index
Click on a nav link such as Reply Templates: https://contribute.freecodecamp.org/#/i18n/Afrikaans/flight-manuals/using-reply-templates
Try to navigate anywhere else: https://contribute.freecodecamp.org/#/i18n/Afrikaans/flight-manuals/how-to-setup-freecodecamp-locally

Malformed URL appears 🎉
Originally posted by @Sky020 in https://github.com/freeCodeCamp/freeCodeCamp/issues/39784#issuecomment-702889697

This should be a missed alias config or something. I will check this, thanks for letting me know.

Arabic translation have alot of grammatical errors can i work on this ?

@ZITANIMohamed98  Thank you, for your interest in contributing. This issue is not related to the word translations of any language, but the routing of the page.
So, I recommend you find an issue with either a help wanted or first-timers only label. Those are open to contribution. Also, if you have not already, take a read of the contributing docs

This should now have been resolved with a simplified navigation.

@raisedadead This seems to be working well now. Only things I have noticed:

⬆ Moderator Handbook children end up as Reply Template children. Not a big deal; nothing breaks.

Translations do not have the Introduction page: https://contribute.freecodecamp.org/#/i18n/Chinese/README

Also, if you traverse from a right-to-left language (Arabic, Chinese), then go to English, the text remains _right-to-left:

Thanks Shaun. Have some fixes on the way, some need to be investigated.


Default sorting configuration is not applied – static default value overrides the configuration

PHP Version: >8.2   | Shopware Version: >6.5.*  | Affected area / extension: Platform(Default)

Expected behaviour:
The default sorting set in the settings should be applied if no explicit sorting parameter is provided in the request.
Actual behaviour:
TLDR:
The static default value overrides the configuration, causing the configured default sorting to not be applied.
--
The default sorting selected in Settings -> Product -> Default Sorting is not applied during product searches. Instead, the static default value is set as a request parameter in the class ResolvedCriteriaProductSearchRoute.
Since the default sorting configuration is a mandatory field, the configured value is always used in subsequent steps if the parameter is not explicitly set. However, by setting the static default value as a request parameter, the configuration is effectively overridden, and the selected default sorting is ignored.
How to reproduce:

Go to Settings -> Product -> Default Sorting.
Select a sorting option different from the static default value and save the settings.
Perform a product search.
Observe that the sorting of the results follows the static default value instead of the configured default sorting.

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38928
[created from NEXT-38928, comment 503319]

[public]The default sorting options you are referring to are only applied for the product listing and have no effect how the products will be sorted in the search. This is intentional behaviour. For the search there are different configuration, that may have an effect on how they will be sorted in the search result. These options may vary based on the used plan. Therefore we consider your bug report as a feature request and would close this issue for now. But of course, you still have the option to suggest it as feedback for a feature request in our ideas portal. Thank you.
https://feedback.shopware.com/forums/942607-shopware-6-product-feedback-ideas
[created from NEXT-38928, comment 503534]

@shopwareBot
I am not satisfied with the response. When I look at the code, the default sorting from the Shopware configuration is definitely being used by utilizing the CompositeListingProcessor class and calling getSystemDefaultSorting within the SortingListingProcessor processor.
However, this cannot happen if a static default is set beforehand. For me, this is definitely a bug!


Test redacting metadata with no pointer

Using tools like libtiff to set metadata can result in a tiff file where old metadata is still around, but not referenced by a tag. This can be an issue if a user uses tiffset to change metadata that contained PHI.
We should add a test to ImageDePHI that demonstrates that we would sanitize such data.
In order to effectively test we would need to use tiffset on a file to add a new piece of metadata to an image, confirm that the old value and new value are both contained somewhere in the file, and then show that only the new value is in the file after being run through ImageDePHI.

Yes.  I'd take a small tiff file (such as https://github.com/girder/large_image/blob/master/test/test_files/small_la.tiff -- renamed to small.tiff for this example) and add some metadata tifftools set -y small.tiff --set ImageDescription 'Secret Message', then change it with tiffset: tiffset -s 270 'Public Message' small.tiff.  grep Secret small.tiff will match.
I've attached small.tiff so you can skip those steps.
small.zip


ci: run test workflow on PR edited

Resolves #87

It might also be good to dismiss PR approval if PR's title or description is edited. There seems to be no official way to do it but I found a snippet here: https://github.com/cli/cli/issues/2342

It might also be good to dismiss PR approval if PR's title or description is edited. There seems to be no official way to do it but I found a snippet here: cli/cli#2342

Good point, created an issue #116


Configure custom domain in openshift hosting

Application is currently hosted on a subdomain of apps.cloud.duke.edu through an openshift route. We can use a custom domain name, as described here: https://openshift-docs.cloud.duke.edu/cluster-details/dns/#non-clouddukeedu

[x] Determine hostname to use (we may want a dev and a prod hostname)
[x] Create CNAME record to point to os-node-lb-fitz.oit.duke.edu in DNS (@hirscheylab )
[x] (if needed) request approval for the host name from OIT
[x] Update the openshift route for the new hostname

http://www.datadrivenhypothesis.org is live


Update Assert-False.Tests.ps1

Edited some Test cases description to give it more meaning...
Rg./Irwin

@irwins thanks for finding my mistakes :) , added some comments to the PR. Please change the code a bit. Or I can cherry pick it and merge it myself if you don't want to bother with it.

@nohwnd No problem! Good stuff! Just trying to help out... The more eyes you have... I'm on vacation at the moment... So... ;-) Tested this on my MacBook Pro! Keep up the good work!!!
Rg./Irwin


[cPP CHANGE] FCS_SSH_EXT.1.1 add client/server

What is the change request for the cPP? Please describe.
The client/server SFRs should be referenced here to make linkage mandatory.
Describe the solution you'd like
The SFR should be updated (bold for changes):

The TSF shall implement SSH acting as [selection: client according to FCS_SSHC_EXT.1, server according to FCS_SSHS_EXT.1] in accordance with: RFCs 4251, 4252, 4253, 4254, [selection: 4256, 4344, 5647, 5656, 6187, 6668, 8268, 8308, 8332, no other RFCs], and no other standard.

Describe alternatives you've considered
N/A
Additional context
N/A

Change implemented.


Nuget Update

I'm waiting for a fix for the missing channel_post in Update.Type which is already in the code of this git, when will it get to nuget?

You could use last beta version if so much need.

okay, thank you!


Fix: use asset types to avoid breaking sorting

Currently, we break the priority sorting of assets by writing strings back to the asset lists. This PR ensures that the asset instance types (Stylesheet,  JavaScript) are used with a default priority to avoid breaking things.
I don't love this implementation, but it's probably good enough™

Also a quick reminder to run the pre-commit install before your next commit so that you can catch pre-commit errors that way!

Also a quick reminder to run the pre-commit install before your next commit so that you can catch pre-commit errors that way!

Hehe, I wrote this PR at midnight and avoided most best practices ;)

@choldgraf to be honest, I'm running out of cycles to work on things like this. It looks like this code is never tested, so coverage is complaining. Is this something you have any time to look at?

Don't sweat it, I can shepherd it in if you don't have the cycles 👍


Tumblr downloads not working

Checklist

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

Verbose log
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'-f', u'mp4', u'https://admiralamott.tumblr.com/post/163458857290/tribbles-have-picked-the-wrong-man-to-mess-with']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.10.16
[debug] Python version 2.7.16 (CPython) - Darwin-19.0.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.4, ffprobe 4.1.4, rtmpdump 2.4
[debug] Proxy map: {}
[Tumblr]<PHONE_NUMBER>90: Downloading webpage
[Tumblr]<PHONE_NUMBER>90: Downloading iframe page
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 627, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2237, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Description
I will preface this by saying I have basically no programming or coding knowledge or experience, and am learning from an experienced family member. However, I have been able to download videos from youtube and tumblr for the past several weeks using youtube-dl. Beginning last night, I lost the ability to download from tumblr, with a 403 error. It was working until last night, and I can still download from youtube. I have since updated youtube-dl, and the problem remains. I have tried multiple tumblr videos from multiple blogs, and the problem remains.
Here are the URLs of the videos I have tried to download:
https://admiralamott.tumblr.com/post/163458857290/tribbles-have-picked-the-wrong-man-to-mess-with
https://vmae.tumblr.com/post/179425740035/the-best-scene-in-nosferatu-1922-sound-remastered
Here is one video that I have downloaded before, with no issue, but now cannot download:
https://nunyabizni.tumblr.com/post/187337651558/sound-on
Thank you for your help

@Khia9  interesting https://github.com/ytdl-org/youtube-dl/issues/13829#issuecomment-330265693 has related information. May be tumblr links are now moved to safe-mode and behind authentication and you may need to pass the credentials to get it working again

@p00j4 thanks for your reply. I tried your proposed solution, and it got me further than before (no 403 Error), but instead it said that my login credentials were insufficient. The line reads:
ERROR: Unable to login: You forgot to enter your email!
I notice that before entering the tumblr username, you suggesting using -u, and for password you suggested -p. Is there a similar prefix for an email address? And if so, where should I place the email info within the line of code?
I also tried using my email address as the username, but that threw up an error as the password and username didn't match. Thank you for your help.

@p00j4 actually you will still get 403 forbidden response even when you're logged

youtube-dl version 2021.01.16 , still a problem.
sample webpage: https://soothifying-sounds-asmr.tumblr.com/post/190002775825/rolling-marble-sculpture-by-physicsfun
youtube-dl says "Unable to download webpage: HTTP Error 403".  Tried with an alternate --user-agent.
I can use wget to download the .mp4 file from command-line.
Downloaded the webpage, found the , used curl --referer $original_url $iframe_url  and I did not get the 403 Forbidden error message.  If that's all it takes, I'd be surprised youtube-dl doesn't already set the referrer.

youtube-dl version 2021.01.16 , still a problem.
sample webpage: https://soothifying-sounds-asmr.tumblr.com/post/190002775825/rolling-marble-sculpture-by-physicsfun
youtube-dl says "Unable to download webpage: HTTP Error 403".  Tried with an alternate --user-agent.
I can use wget to download the .mp4 file from command-line.
Downloaded the webpage, found the , used curl --referer $original_url $iframe_url  and I did not get the 403 Forbidden error message.  If that's all it takes, I'd be surprised youtube-dl doesn't already set the referrer.

its simple to fix this problem
just add Referer header when downloading iframe page
FROM THIS
https://github.com/ytdl-org/youtube-dl/blob/8bf9591a70757c624a8ea5bf686040ed752246e0/youtube_dl/extractor/tumblr.py#L167
TO THIS
iframe = self._download_webpage(
            iframe_url,
            video_id,
            'Downloading iframe page',
            headers={'Referer': url})

Output when i am using mozai sample page
root@netiranz:~/youtube-dl# python -m youtube_dl https://soothifying-sounds-asmr.tumblr.com/post/190002775825/rolling-marble-sculpture-by-physicsfun
[Tumblr]<PHONE_NUMBER>25: Downloading webpage
[Tumblr]<PHONE_NUMBER>25: Downloading iframe page
[download] Destination: Rolling marble sculpture by physicsfun -                    Soothifying ASMR and Stims-190002775825.mp4
[download] 100% of 4.02MiB in 00:00

i actually made PR (#22761) for this problem

https://github.com/ytdl-org/youtube-dl/issues/29585


inventory: Update public IP for win2019 test machine

Following a restart , the public IP address of this machine has changed, and the inventory requires an update.
Checklist

[X] commit message has one of the standard prefixes
[X] VPC/QPC not applicable for this PR
[X] for inventory.yml changes, bastillion/nagios/jenkins updated accordingly

Do we know what caused the IP to change? That doesn't normally happen on the Azure machines just because of a restart

It looks like the network setup on this machine is a bit different to others, it has a dynamically allocated public IP attached to its static.