Functions inside blocks sometimes end up in the wrong place

Minimal example I can cook up:
{
  function foo(){}

  if(bar){
  }else{
    foo();
  }
}

This gets compiled to:
{
  if (bar) {
    var foo = function() {};
  } else {
    foo();
  }
}

Obviously the var foo = function() {}; should be outside the if (bar)
Also happens if the outer block is an if or loop etc.
Notably doesn't happen if the above is changed to if(bar); else { foo() }

Actually, even-smaller example I just found:
{
  function foo(){}
  {}
  foo();
}

compiles to:
{
  {
    var foo = function() {};
  }
  foo();
}

... which obviously in ES5 won't break because of lack of block scope, but obviously it looks like functions are being put one block too deep


Retrieving Metadata for HttpRequest on Songbird next

Songbird version: next branch
Rust version (rustc -V): 1.69
Serenity/Twilight version: serenity: next
Description:
I'm trying to pull the metadata off of an HttpRequest or TrackHandle it seems like aux_metadata is unsupported for HttpRequest and that using a track handle action to get a view to pull the metadata from just results in a None value for the metadata. Even though the ready state is "Playing" so it should be fine. I'm not sure if this is a bug or something intentional but i can't seem to find another way to get the metadata.
Steps to reproduce:

Create HttpRequest
Start playback using HttpRequest
Attempt to get metadata from TrackHandle in TrackHandle::Action with View like below:

fn get_metadata_action(view: View) -> Option<Action> {
    let meta = view.meta.unwrap().probe.get().unwrap();
    let metadata = meta.current().unwrap().tags();
    println!("{:?}",metadata);
    None
}

I don't think symphonia can find any metadata encoded in this file, nor can VLC for that matter. Symphonia-play reports as much:

vs.

Exiftool doesn't show me anything that's not shown here; none of this information (codecs etc.) goes into symphonia's metadata. If you want that sort of info, then it shouldn't be that hard to change the liv to expose it on View/Parsed/whatever.

Ah I didn't know Tracks was not part of Metadata in symphonia. I updated my fork of songbird to add CodecParameters to the View and now it works fine.


QUESTION

we put this plugin every server or on proxy server ?

This Plugin ist dir Pocketmine-MP Servers to fix tue IP and XUId bugs.


Update subcompont generator. https://github.com/cmelion/generator-ng2-webpack/pull/43

Using .replace(/\/g,"/") to ensure forward slashes are used for paths on Windows machines.

looks good!


Feature request: simple keyboard input for PRS

I like Blender's approach for this. For any PRS value, select the object in the world editor, then hit the axis you want followed by P/R/S, followed by the value. If it's not what you want, retype the value number to change it, enter to accept.
eg to rotate an object 45 degrees on the Y axis = R Y 45 Enter

Yes!
On Jul 10, 2016 5:58 PM, "Matt Innes"<EMAIL_ADDRESS>wrote:

I like Blender's approach for this. For any PRS value, select the object
in the world editor, then hit the axis you want followed by P/R/S, followed
by the value. If it's not what you want, retype the value number to change
it, enter to accept.
eg to rotate an object 45 degrees on the Y axis = R Y 45 Enter
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vizorvr/vizor/issues/1793, or mute the thread
https://github.com/notifications/unsubscribe/AH4Ql6lXqneSQP3PlMd-S0gghZX86RSUks5qUZUxgaJpZM4JI9Wn
.

Quick update on this. We've discussed not having a keyboard command stack so things like X, Y, Z would have no context (PRS) to work with. Even though M,R,S currently switch the 3d editor's modify modes we would not be able to expand on this as UI pattern. With the original concern in mind, the properties panel now live-updates the objects on text input - Esc to cancel, Enter to accept. (landed in develop)


Mirror parameters

It just seems i'm not be able to do just one commit

i'll try to redo this in just one commit, i just don't know GIT so well...

Hi @TrabacchinLuigi ,
Will need to make a rebase your commit see https://stackoverflow.com/questions/5189560/squash-my-last-x-commits-together-using-git and push force to update github
Otherwise, you seems to have a double mount here https://github.com/dokan-dev/dokan-dotnet/pull/223/files#diff-57540511365d3239e7e88f48c8a938cfR32


Custom extraction

Addition of custom_extract_2d and correct_wavelengths_2d

Thanks a lot for this PR with the custom extraction, @ricolandman! Looks good to me 👍.
Do we still need the correct_wavelengths method? Or is it the same as correct_wavelengths_2d with sum_over_spatial_dim=True? If so, then we can remove correct_wavelengths and maybe rename correct_wavelengths_2d to correct_wavelengths.
Did you check if the plot_spectra method still works with corrected=True. It helps with checking if the wavelength correction was done accurately.

The correct_wavelengths method works with the 1d extracted spectra from EsoRex (when one does not want to retain the spatial information, e.g. with transits), so that should probably still be there.
The plot_spectra never worked for the 2d extracted spectra I think, only the 1d extraction. Not sure if it is better to alter this function or have a separate function for 2d spectra. Let me know what you want.

Right! Then indeed no need to change anything and leave the 1D wavelength correction function in there.
If it is not too much work then I would prefer to adjust the existing function. Perhaps adding a parameter for the row that will be plotted? And maybe also add the extraction_input parameter so the user can specify the folder from which the spectra should be plotted?

As discussed offline, we will create a separate function for plotting the (wavelength corrected) 2D spectra.


feat(VTB): Added support for VTB blockchain

Added support for VTB chain.

:link: zboto Link

You have the v0.39.0 available to use it!


Could not find a backup repository with name solr-backup-s3-repo

Please suggest any pointers for debugging.
Is there any API where we can get the list of SolrOperator registered backup repositories?
Also, for S3 backup, does the Operator first download the backup data on disk and then execute the S3 cp/sync?
Any internal detail would be helpful to debug the core issue.
Error:
2023-07-18T23:18:54.905Z
ERROR   controller-runtime.manager.controller.solrbackup
Error while taking SolrCloud backup
{"reconciler group": "solr.apache.org",
"reconciler kind": "SolrBackup",
 "name": "solr-backup",
"namespace": "ns-solrcloud-int",
"error": "Received bad response code of 500 from solr with response:
{\n  \"responseHeader\":
{\n    \"status\":500,\n    \"QTime\":0},\n  \"error\":{\n
\"msg\":\"Could not find a backup repository with name solr-backup-s3-repo\",
\n    \"trace\":\"java.lang.NullPointerException:
Could not find a backup repository with name solr-backup-s3-repo\\
n\\tat
java.base/java.util.Objects.requireNonNull(Unknown Source)\\n\\
tat org.apache.solr.core.backup.repository.
BackupRepositoryFactory.newInstance(BackupRepositoryFactory.java:74)

Solrbackup Setup
kubectl edit solrcloud solrsetup
backupRepositories:
- name: "solr-backup-s3-repo"
  s3:
    region: "us-west-2"
    bucket: "<solr-s3-bucket>"

SolrBackup
---
apiVersion: solr.apache.org/v1beta1
kind: SolrBackup
metadata:
  name: "solr-backup"
spec:
  repositoryName: "solr-backup-s3-repo"
  solrCloud: "solrsetup"
  collections:
    - mycollection

Thank you @HoustonPutman for looking into this.
We are using Solr 9.2.0 with SolrOperator 0.5.1.

Can you provide your full SolrCloud specification? Are you using a custom solr xml, if so then you will need to add the backup repository yourself.

Thanks for such good documentation!
Yes, we should certainly have a section listing all of the features that do not work by default when using a custom solr.xml, and how to get them working. That can go in the docs under the custom solr.xml section.

Hi @anilkhichar  , I am also facing similar issue while configuring Solr backup , Below is error details,
I am not using any custom solr.xml file. I have solr 8.11 and solr operator 0.5.0 , Could you please suggest any solution for it
2023-07-28T20:23:23.504Z	ERROR	controller-runtime.manager.controller.solrbackup	Error while taking SolrCloud backup	{"reconciler group": "solr.apache.org", "reconciler kind": "SolrBackup", "name": "solr-backup", "namespace": "cornerstone", "error": "**Unable to find backup repository to use for backup [solr-backup] (which specified the repository [s3-backups-1]).  solrcloud must define a repository matching that name (or have only 1 repository defined)**."} github.com/go-logr/zapr.(*zapLogger).Error 	/go/pkg/mod/github.com/go-logr/zapr@v0.2.0/zapr.go:132 github.com/apache/solr-operator/controllers.(*SolrBackupReconciler).Reconcile 	/workspace/controllers/solrbackup_controller.go:133 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler 	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.8.3/pkg/internal/controller/controller.go:298 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem 	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.8.3/pkg/internal/controller/controller.go:253 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.2 	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.8.3/pkg/internal/controller/controller.go:216 k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1 	/go/pkg/mod/k8s.io/apimachinery@v0.20.2/pkg/util/wait/wait.go:185 k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1 	/go/pkg/mod/k8s.io/apimachinery@v0.20.2/pkg/util/wait/wait.go:155 k8s.io/apimachinery/pkg/util/wait.BackoffUntil 	/go/pkg/mod/k8s.io/apimachinery@v0.20.2/pkg/util/wait/wait.go:156 k8s.io/apimachinery/pkg/util/wait.JitterUntil 	/go/pkg/mod/k8s.io/apimachinery@v0.20.2/pkg/util/wait/wait.go:133 k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext 	/go/pkg/mod/k8s.io/apimachinery@v0.20.2/pkg/util/wait/wait.go:185 k8s.io/apimachinery/pkg/util/wait.UntilWithContext 	/go/pkg/mod/k8s.io/apimachinery@v0.20.2/pkg/util/wait/wait.go:99

You need to post your SolrCloud and SolrBackup yamls, or else there is no way we can help.

Thanks @HoustonPutman - I am using MINIO as storage.. I just found this Solr website
You can use the s3.endpoint option to use this BackupRepository with s3-compatible endpoints. Beware that not all s3-compatible endpoints will work with the S3BackupRepository. Minio is an example of an s3-compatible endpoint that does not work with the S3BackupRepository. The S3BackupRepository is only guaranteed to be compatible with AWS S3 and S3Mock.
Is this valid with Solr-operator ?
Here are both the YAMLs
SOLRCLOUD
`apiVersion: solr.apache.org/v1beta1
kind: SolrCloud
metadata:
name: cstone-solr2
spec:
dataStorage:
persistent:
reclaimPolicy: Retain
pvcTemplate:
spec:
resources:
requests:
storage: "20Gi"
replicas: 3
solrImage:
repository: myregistry/images/solr
tag: 8.11.1
imagePullSecret: "default-gitlab-registry"
pullPolicy: "Always"
solrJavaMem: "-Xms1g -Xmx3g"
customSolrKubeOptions:
podOptions:
livenessProbe:
initialDelaySeconds: 20
timeoutSeconds: 50
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
readinessProbe:
initialDelaySeconds: 20
timeoutSeconds: 50
periodSeconds: 10
successThreshold: 1
failureThreshold: 3
  podSecurityContext: {}
  #  runAsUser:<PHONE_NUMBER>
  resources:
    limits:
      memory: "8G"
    requests:
      cpu: "500m"
      memory: "4G"

zookeeperRef:
provided:
persistence:
reclaimPolicy: "Retain"
spec:
resources:
requests:
storage: "20Gi"
solrOpts: "-Dsolr.autoSoftCommit.maxTime=10000"
solrGCTune: "-XX:SurvivorRatio=4 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=8"
backupRepositories:
- name: "s3-backups-1"
s3:
region: "us-east-1" # Required
bucket: "cstonebackup" # Required
credentials:
accessKeyIdSecret: # Optional
name: minio-cstonedfs
key: AWS_ACCESS_KEY_ID
secretAccessKeySecret: # Optional
name: minio-cstonedfs
key: AWS_SECRET_ACCESS_KEY
endpoint: "http://minio-endpoint-URL:80" # `
    **BACKUP**

    `apiVersion: solr.apache.org/v1beta1

kind: SolrBackup
metadata:
name: solr-backup
spec:
repositoryName: "s3-backups-1"
solrCloud: cstone-solr2
location: "cstone-solr2"`

Hi @HoustonPutman, any suggestion or is there anything wrong with setup

Is this valid with Solr-operator ?

Yes, the Solr Operator merely sets up your SolrCloud to use the Solr S3 Repository Module, so you will likely not be able to use Minio with the built-in S3 backup feature.

Here are both the YAMLs

I can't imagine why you would be seeing that error though, it's very strange. I would recommend you try with a more recent version of the Solr Operator and see if you still see the error.

Thanks @HoustonPutman  , I suspect this is because of using MINIO as S3 compatible storage. I will try with latest operator as well once.


[DO NOT MERGE] Testing against Preact 10

Updates the Preact example to load Preact 10 instead of 8 from unpkg (but keep our component built with Preact 8). This is a situation that may happen for people with a Preact project either started since version 10 got out or brought up to date, where a newer version of Preact may need to cohabitate with the version 8 that the component is built with.
Looking at the CI results, Chrome and Firefox work OK, but Internet Explorer has a failing test. The failing behaviour couldn't be reproduced on BrowserStack, so I think things are working alright for IE11.

Branch was temporary to run automated tests on CI


Rebase on pull

Add config to rebase on pull instead of merge

:tada: This PR is included in version 3.1.0 :tada:
The release is available on:

GitHub release
Atom package

Your semantic-release bot :package::rocket:


Bug? arbtrace_transaction returns no trace found when transaction exists

Hi team,
I got a transaction: https://arbiscan.io/tx/0x39367663b264e2690e32b8875166105b7f25fffe761c8ababded846bb50cd3d6
which is returned fine in eth_getBlockByNumber:
'{"method":"eth_getBlockByNumber","params":["0xeb1dbf",false],"id":1,"jsonrpc":"2.0"}'

It is not however return in arbtrace_block and not found in arbtrace_transaction
{"method":"arbtrace_block","params":["0xeb1dbf"],"id":1,"jsonrpc":"2.0"}
'{"method":"arbtrace_transaction","params":["0x39367663b264e2690e32b8875166105b7f25fffe761c8ababded846bb50cd3d6"],"id":1,"jsonrpc":"2.0"}'
This is with offchainlabs/arb-node:v1.4.5-e97c1a4
Checking blocks near this one and similar transactions I find they return okay.

I have found that other 'distribute' contract interactions with Hop Protocol all return like this.
I tested others in theis block:
https://arbiscan.io/txs?block=15408728


[Help]: How to train multiple machies in accelerate;

Problem Overview
(Briefly and clearly describe the issue you're facing and seeking help with.)
Steps Taken
(Detail your attempts to resolve the issue, including any relevant steps or processes.)

Config/File changes: ...
Run command: ...
See errors: ...

Expected Outcome
(A clear and concise description of what you expected to happen.)
Screenshots
(If applicable, add screenshots to help explain your problem.)
Environment Information

Operating System: [e.g. Ubuntu 20.04.5 LTS]
Python Version: [e.g. Python 3.9.15]
Driver & CUDA Version: [e.g. Driver 470.103.01 & CUDA 11.4]
Error Messages and Logs: [If applicable, provide any error messages or relevant log outputs]

Additional context
(Add any other context about the problem here.)

Our models support multi-GPU training. Specifically, when executing the run.sh script to train models, you can set --gpu "0,1,2,3" to utilize GPUs 0-3 for multi-GPU training. For example, if you want to train VALLE, please refer to the recipe under egs/tts/VALLE . The same applies to other models; please refer to the recipe under egs/task/model.

It does support multi-GPU training， but I need multiple machines for training, because sometimes a node does not have that many GPUs. How can I do, accelerate launch .......

when I run as follow:
accelerate launch --machine_rank 0
--num_processes 16
--num_machines 4
--main_process_ip xxxxx
--main_process_port xxxxx
train.py
but somthing wrong, socket timeout.

Could you please add step-by-step printing functions to help us understand where your program gets stuck?
Dr. Xue, @lmxue, could you assist with following up on this issue?

Thanks for your reply, I just don't know how to implement multi-machine training based on accelerate.
Single-machine/single-node multi-gpus training is normal, like the above multi-machine training command will appear socket timeout problem. So is there a problem with accelerate launch commmands?  Seek the author's opinion.

From my viewpoint, this appears to be a frequent issue encountered during training with Accelerate. Perhaps you could consult https://github.com/huggingface/accelerate/issues/314 for more insights.

@HarryHe11 Thanks much! Problem solved, use as follows,
accelerate launch --config_file default_config.yaml
--main_process_ip ${xx}
--main_process_port ${xx}
--machine_rank ${xx} \
--num_processes ${xx}
--num_machines ${xx}
train.py
default_config.yaml:
compute_environment: LOCAL_MACHINE
debug: true
distributed_type: MULTI_GPU
downcast_bf16: 'no'
machine_rank: 0
main_process_ip: <IP_ADDRESS>
main_process_port: 24
main_training_function: main
mixed_precision: 'no'
num_machines: 2
num_processes: 4
rdzv_backend: c10d
same_network: false
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false
The previous machine_rank passed error, as for other parameters can refer to the current use, now normal training.

@HarryHe11 Thanks much! Problem solved, use as follows,
accelerate launch --config_file default_config.yaml
--main_process_ip ${xx}
--main_process_port ${xx}
--machine_rank ${xx} \
--num_processes ${xx}
--num_machines ${xx}
train.py
default_config.yaml:
compute_environment: LOCAL_MACHINE
debug: true
distributed_type: MULTI_GPU
downcast_bf16: 'no'
machine_rank: 0
main_process_ip: <IP_ADDRESS>
main_process_port: 24
main_training_function: main
mixed_precision: 'no'
num_machines: 2
num_processes: 4
rdzv_backend: c10d
same_network: false
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false
The previous machine_rank passed error, as for other parameters can refer to the current use, now normal training.


WITH THAT?


syslog rfc3164 message is malformed

The message output from the syslog driver using --log-opt syslog-format=rfc3164 has a space between the PRI and HEADER parts of the syslog message, which shouldn't be there.
Output of docker version:
docker@syslog0:~$ docker version
Client:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   23cf638
 Built:        Thu Aug 18 17:52:38 2016
 OS/Arch:      linux/amd64

Server:
 Version:      1.12.1
 API version:  1.24
 Go version:   go1.6.3
 Git commit:   23cf638
 Built:        Thu Aug 18 17:52:38 2016
 OS/Arch:      linux/amd64

Output of docker info:
docker@syslog0:~$ docker info
Containers: 7
 Running: 0
 Paused: 0
 Stopped: 7
Images: 1
Server Version: 1.12.1
Storage Driver: aufs
 Root Dir: /mnt/sda1/var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 15
 Dirperm1 Supported: true
Logging Driver: syslog
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host null overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 4.4.17-boot2docker
Operating System: Boot2Docker 1.12.1 (TCL 7.2); HEAD : ef7d0b4 - Thu Aug 18 21:18:06 UTC 2016
OSType: linux
Architecture: x86_64
CPUs: 1
Total Memory: 995.8 MiB
Name: syslog0
ID: CMNA:NLJM:VSCO:2QLL:NN5M:6OZY:LEVD:25RH:FFTR:PEAT:W62N:7CB6
Docker Root Dir: /mnt/sda1/var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Insecure Registries:
 <IP_ADDRESS>/8

Additional environment details (AWS, VirtualBox, physical, etc.):
docker host is a docker machine boot2docker instance running in kvm on my fedora host.
logging host is fedora with sysklogd-1.5-19.fc23.x86_64
Steps to reproduce the issue:
Docker host:
docker@syslog0:~$ sudo docker daemon --log-driver=syslog --log-opt syslog-format
=rfc3164 --log-opt syslog-address=udp://<IP_ADDRESS> &

Logging host:
pvn@gyarados /home/pvn> sudo syslogd -h -r &
pvn@gyarados /home/pvn> sudo nc -u -l 514

Docker host:
docker@syslog0:~$ docker run busybox ps
PID USER TIME COMMAND
1 root 0:00 ps

Output observed on logging host:
pvn@gyarados /home/pvn> sudo nc -u -l 514
<30> Sep 7 20:47:30 syslog0 docker/8b7c83576c56[2635]: PID USER TIME COMMAND
<30> Sep 7 20:47:30 syslog0 docker/8b7c83576c56[2635]: 1 root 0:00 ps

RFC3164 is pretty clear that there MUST be a space after the timestamp but does NOT specify need for a space after the priority
works as expected with rfc5424
docker@syslog0:~$ sudo docker daemon --log-driver=syslog --log-opt syslog-format
=rfc5424 --log-opt syslog-address=udp://<IP_ADDRESS> &

docker@syslog0:~$ docker run busybox ps
PID USER TIME COMMAND
1 root 0:00 ps

pvn@gyarados /home/pvn> sudo nc -u -l 514
110 <30>1 2016-09-07T21:19:09Z syslog0 docker/81256921c9e8 3408 docker/81256921c9e8 PID USER TIME COMMAND
105 <30>1 2016-09-07T21:19:09Z syslog0 docker/81256921c9e8 3408 docker/81256921c9e8 1 root 0:00 ps

Describe the results you received:
<30> Sep 7 20:47:30 syslog0 docker/8b7c83576c56[2635]: PID USER TIME COMMAND
<30> Sep 7 20:47:30 syslog0 docker/8b7c83576c56[2635]: 1 root 0:00 ps

Describe the results you expected:
<30>Sep 7 20:47:30 syslog0 docker/8b7c83576c56[2635]: PID USER TIME COMMAND
<30>Sep 7 20:47:30 syslog0 docker/8b7c83576c56[2635]: 1 root 0:00 ps

Additional information you deem important (e.g. issue happens only occasionally):
I looked at daemon/logger/syslog/syslog.go and I think this may actually be a bug in the go syslog package but ... I'm not sure?

Thanks, looks like this is already reported in RackSec/srslog#15

I've made a PR to fix this: RackSec/srslog#17


Seems to choke on Postgis backend

My app uses postgis, and I received the following error when running python manage.py djangoviz:
Traceback (most recent call last):
  File "/app/manage.py", line 31, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 446, in execute_from_command_line
    utility.execute()
  File "/usr/local/lib/python3.10/site-packages/django/core/management/__init__.py", line 440, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 402, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/local/lib/python3.10/site-packages/django/core/management/base.py", line 448, in execute
    output = self.handle(*args, **options)
  File "/usr/local/lib/python3.10/site-packages/djangoviz/management/commands/djangoviz.py", line 115, in handle
    db_driver = _get_db_driver()
  File "/usr/local/lib/python3.10/site-packages/djangoviz/management/commands/djangoviz.py", line 46, in _get_db_driver
    raise ValueError(f"Error reading database driver: {engine}")
ValueError: Error reading database driver: django.contrib.gis.db.backends.postgis

It seems djangoviz.py only allows "MYSQL", "POSTGRESQL", or "SQLITE" as engines, but the postgis backend should essentially behave the same as postgres.

Hi @OmenApps
Thanks for trying DjangoViz!
Correct, PostGIS is currently not supported by the Atlas Cloud Playground, which is used by djangoviz to create visualizations. Support for this will be added in the near future
HTH


Horizontal Bar Chart

Hi !
I can't find any option to create horizontal bar charts. Is there any way I could display this kind of charts with c3 ?
Keep up the good work ! :)

hi,
is there any option to create Bullet charts with c3?


incubator/vault Add vault api address for non dev setup

Signed-off by: Dinesh Kumar<EMAIL_ADDRESS>What this PR does / why we need it:

Enables vault to be installed in non dev mode
chart: incubator/vault

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/chart])

I would also love to add sample overrides.yaml / doc for vault cluster setup, you can suggest the right place.

/ok-to-test

/approve
/lgtm


Need examples for autocad 2D like Paint option in windows

Have you tried anything? Any piece of code.

Yes
On Fri, Oct 28, 2022, 7:22 PM ANUNAYA THAKUR @.***>
wrote:

Have you tried anything? Any piece of code.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/WinAppDriver/issues/1813#issuecomment-1295028170,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A33DYXJU6CQ7WCKIF5N7MK3WFPLDBANCNFSM6AAAAAARP3KXO4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Can you share?

Ok
On Fri, Oct 28, 2022, 7:35 PM ANUNAYA THAKUR @.***>
wrote:

Can you share?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/WinAppDriver/issues/1813#issuecomment-1295043288,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A33DYXPDSVL6VVFRJ7NO6WDWFPMT3ANCNFSM6AAAAAARP3KXO4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Have you checked the paint 3d sample? https://github.com/microsoft/WinAppDriver/tree/master/Samples/C%23

if you are using C# binding, please check this file:
https://github.com/microsoft/WinAppDriver/blob/master/Samples/C%23/Paint3DTest/ScenarioZoom.cs
it has examples of zoom.

I tried but error came
On Fri, Oct 28, 2022, 7:43 PM ANUNAYA THAKUR @.***>
wrote:

if you are using C# binding, please check this file:
https://github.com/microsoft/WinAppDriver/blob/master/Samples/C%23/Paint3DTest/ScenarioZoom.cs
it has examples of zoom.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/WinAppDriver/issues/1813#issuecomment-1295052984,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A33DYXNXTM5UGUW74CHN4BTWFPNRVANCNFSM6AAAAAARP3KXO4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I will send it tomorrow
On Fri, Oct 28, 2022, 7:56 PM ANUNAYA THAKUR @.***>
wrote:

What's the error?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/WinAppDriver/issues/1813#issuecomment-1295068659,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A33DYXJSWPD3RLFC2MJLUOLWFPPCFANCNFSM6AAAAAARP3KXO4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I want to record my mouser scrool movements. But Currently i cannot able to record. So, How can i achieve this?

https://github.com/microsoft/WinAppDriver/issues/1795#issuecomment-1256159352


Testing and tests

General issue for code cleanup and writing more tests

[ ] Switch to xUnit
[ ] Use Autofixture and FakeItEasy
[ ] Reduce number of frivolous interfaces
[ ] Provide easy access to certain internals for foreign testing
[ ] Get OpenCover working

For foreign testing I envision a TestDomainUnitOfWork object which provides access to building repositories and entities, but stubs out message receiving and event saving.  Instead providing easy methods to retrieve

the repositories used
the entities read
the entities changed
the events raised / applied

If you want to test a message handler such as
public class Handler :
        IHandleMessages<SayHello>
{
    public async Task Handle(SayHello command, IMessageHandlerContext ctx)
    {
        var world = await ctx.For<World>().TryGet("World");
        if (world == null)
            world = await ctx.For<World>().New("World");

        world.SayHello(command.Message);
    }
}

You would be able to write something like
[Fact]
public async Task should_say_hello()
{
    var fixture = new Fixture().Customize(new AutoFakeIteasyCustomization());

    var uow = new TestDomainUnitOfWork();
    var context = new TestableMessageHandlerContext();

    // sets up eventstore to return an event for hydration
    uow.Read<World>("World").HasEvent<SaidHello>(x => x.Message = "Foo" );

    var handler = fixture.Create<Handler>();

    // calls command handler with specific command
    await handler.Handle(new SayHello {
        Message = "Bar"
    });

    // events raised in entities are retrievable and comparable
    Assert.True(uow.Saved<World>("World").WroteEvent<SaidHello>(x => x.Message = "Bar"));
}

Addressing the testing library part of this issue - I completed a good stab of a real functional testing helper.  Example here
hello world tests
[Theory, AutoFakeItEasyData]
        public async Task should_say_hello(
            TestableContext context,
            Handler handler
            )
        {
            context.UoW.Test<Domain.World>().Plan("World").HasEvent<SaidHello>(x =>
            {
                x.Message = "foo";
            });

            await handler.Handle(new SayHello
            {
                Message = "test"
            }, context).ConfigureAwait(false);

            context.UoW.Test<Domain.World>().Check("World").Raised<SaidHello>(x =>
            {
                x.Message = "test";
            });
        }


feat: update gravity bridge to v1.5.0 + upgrade handler for Calypso (v2.0.0)

Description

Upgrade to Gravity Bridge v1.5.0
Add upgrade handlers to do the Calypso update (Leverage and oracle modules)
While I was at it I added the option to run tests with Ganache instead of geth, pretty helpful when running on Mac M1

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added appropriate labels to the PR
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Running go mod tidy locally I get some of the lines removed in go.sum wanting to be added back in.

Are there any odd implications of using both "github.com/osmosis-labs/bech32-ibc/x/bech32ibc" and our own x/ibctransfer?

Running go mod tidy locally I get some of the lines removed in go.sum wanting to be added back in.

We have been using go mod tidy -compat=1.17. I don't know the details of the compat flag, but it's how I learnt to do it from Bez lol.

Are there any odd implications of using both "github.com/osmosis-labs/bech32-ibc/x/bech32ibc" and our own x/ibctransfer?

There shouldn't be, this module is there so you can "attach" a bech32 prefix (aka HRP) with a specific IBC channel. This is so we can enable "IBC auto-forwarding" (from Ethereum you could send tokens to Osmosis directly for example). Not that we need this feature at all, but it comes for free yk 🤷♂ 😆

It does seem to avoid importing ibc-go so it's probably not a problem. I was looking at the go.mod over at bech32ibc to see what it's doing roughly.


Can digits behind Rpm be rounded to 0?

Hi Pim,
COMFOAIR Inlet Ventilator Rpm -> 1.238,44121532365 rpm
COMFOAIR Outlet Ventilator Rpm -> 1.033,62734288864 rpm
Many digits behind the comma, can this be rounded to 0?

Home Assistant 2023.2 introduces a feature to change precision of an entity. This should make this significantly (pun not intended) easier to implement, so I'll have a look at it when I have the time

Fixed in HA 2023.3 and OneSmartControlHA 0.3.4:
You can change the desired precision in the entity settings menu.

See also https://www.home-assistant.io/blog/2023/03/01/release-20233/#sensor-display-precision


Make public getter for consumer group metadata

Read #1529 for the purpose of the change

It looks like @agayev169 hasn't signed our Contributor License Agreement, yet.

The purpose of a CLA is to ensure that the guardian of a project's outputs has the necessary ownership or grants of rights over all contributions to allow them to distribute under the chosen licence.
Wikipedia

You can read and sign our full Contributor License Agreement here.
Once you've signed reply with [clabot:check] to prove it.
Appreciation of efforts,
clabot

[clabot:check]

[clabot:check]

@confluentinc It looks like @agayev169 just signed our Contributor License Agreement. :+1:
Always at your service,
clabot

refer to my response in #1529 for possible work-around.
if we get more demand for this, i'll consider adding the feature.
also, i'd prefer not explicitly exposing the byte[] array like that as it's exposing an internal detail. i'd probably have a serialize method.


Pop-up possible?

HyperDEX 0.1.0-alpha.2
Electron 2.0.2
win32 10.0.17134
Locale: en-US

Thanks for helping us test HyperDEX and providing feedback 🙌
Would you be able to elaborate a bit more on this issue?

Hmm I made comments, but I guess I'm not using this properly. I think if you have hovering popups that would help a lot to describe the various features.


rename repository

Rename the pfp_API repository to precision-feedback-pipeline
Remove the pfpAPI and pfp-api repositories to avoid confusion with similar names.

I renamed the pfp_API repository to precision-feedback-pipeline.Please check precision-feedback-pipeline
I removed the pfpAPI and pfp-api repositories to avoid confusion with similar names.


Update build.gradle

After integrating this library with native-navigation of bamlab -https://github.com/bamlab/native-navigation, on android platform, i got the underlying error
            super(viewTag);
            ^
    constructor Event.Event() is not applicable
      (actual and formal argument lists differ in length)
    constructor Event.Event(int,long) is not applicable
      (actual and formal argument lists differ in length)```

I fixed it by making some config changes in android/build.gradle & it's working now.

I am closing the PR as a part of an effort to cleanup and revive the project. If this issue persists after v1.0.0, you are more than welcome to reintroduce the PR.
Thanks for your contribution.


LAND-1240 - e2e coverage: markdown notes and edit note

Fixme:
Edit button not displaying for a note I create in this branch. (works in production)

Closing w/o merge. Need to work on replacing fake galaxies with fake planets to unblock this use case.


Add script for testing kernel with combinations of optimization flags.

This fixes #36.
It also contains a temporary workaround for #38, which is to simply 'sort' the output of the tests before comparing them. This sort of works because serial line output is atomic, but could fail if the race is so bad that thread ids get mixed up. Doing this though allows the test suite to run successfully through all the combinations.

Hm, I'm not sure I like sorting the outputs---there are some tests where we really do expect them to run in a certain order.  (For instance, a test where one thread sleeps for 100 ms and another for 50 ms, and the latter should resume first)

I agree it's a hack. Really though without strong synchronization primitives, I argue there should not be tests that have ordered output though.

How would you test sleep, then?

I argue the inability to craft such a hypothetical test is a smaller loss
than the inability to run the automated testing of the kernel with all
build flags.
A compromise would be to have two file names, expected.txt and
expected-sorted.txt, so that the 'sorted' functionality is opt-in, and can
be used for tests that are non-deterministic. I won't be able to do this
until Saturday though as I'm on a business trip.
For now I think there are obvious gains from merging this so I that is my
recommendation.
On Tue, Jan 3, 2017 at 1:12 PM, George Silvis, III<EMAIL_ADDRESS>
wrote:

How would you test sleep, then?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/gsilvis/silvos/pull/39#issuecomment-270181884, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABWHivcKxbUeTmRHgrM2ZmAFJBu8-i_vks5rOo9zgaJpZM4LZYjt
.

Thanks!


Telmate / Vault Hashicorp Information Request

Hello,
I'm discovering Terraform and your work little by little.
I would like to implement your tool, but I don't see how to use it in combination with Hashicorp's Vault which I am also discovering.
The idea is to really secure my credentials and not have them encoded in clear text in the configuration files.
My problem is that I don't see anything about this and there is no "secret engine" for proxmox in the Hashicorp Vault, I must surely be able to use another type of "secret engine", but honestly it's beyond my current skills (but I understand the idea).
Would you have any information to give me to associate your provider with the Vault?
Sincerely, Geds3169

Hello,
I modify my request because I did not get any answer:
I would like to be able to make a file containing the credentials a la AWS configure cli (https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html)
Or use an .env file and import it in my main.tf
This would allow me to authenticate on the Proxmox API with an Approle via my VAULT Hashicorp and deploy my infrastructure.
Or if someone has a better approach, I'm interested.
The general idea is to externalize the terraform project credentials, while adding a .gitignore.
Thanks for your help,
Sincerely Geds3169
Translated with www.DeepL.com/Translator (free version)

You can get secrets directly from vault and then set the kv path instead of the plain variable. You can read this example in the vault documentation.

Thank you for taking the time to answer me.
Are you talking about that? https://registry.terraform.io/providers/hashicorp/vault/latest/docs/data-sources/kv_secret
If this is the case, the information is hard coded and that's not what I want to do.
I want terraform to interrogate the vault in order to have the approle identification allowing authentication on the Proxmox API.
Cordialy,
Geds3169

@geds3169
I create a secrets.env file and in that file I put
# user and secret API key from Proxmox
export PM_API_TOKEN_ID="<put the userid here>"
export PM_API_TOKEN_SECRET="<put the secret token here>"

Put secrets.env into your .gitignore file and then you have to source the secrets.env file before running terraform apply
These environment variables provide the credentials needed in the provider block:
provider "proxmox" {
  pm_api_url = "https://proxmox-server01.example.com:8006/api2/json"
  # pm_api_token_id = "" # comes from secrets.env PM_API_TOKEN_ID
  # pm_api_token_secret = "" # comes from secrets.env PM_API_TOKEN_SECRET
}

storing secrets.env in vault
You must first authenticate to vault , then:
vault kv put -mount=secret /path/to/secret file=$( base64 secrets.env  )

This writes the entire secrets.env file as a base64 blob.
To extract the secrets from vault, use:
vault kv get -format=json -mount=secret /path/to/secret | jq -r .data.data.file | base64 -d > secrets.env

If you just wanted to do this inside of the terraform HCL, you can use the Hashicorp vault provider to get the id and token directly from the vault and skip the base64 blob and secrets.env altogether.

Hi @brianonn
Thank you for this detailed feedback.
But wouldn't there be a way to directly retrieve tokens via Windows environment variables?
What would limit the risk of spreading credentials in a repository?

@geds3169

But wouldn't there be a way to directly retrieve tokens via Windows environment variables?

I don't use Windows, but I expect the same environment variables PM_API_TOKEN_ID and PM_API_TOKEN_SECRET will work with the Telmate provider for Proxmox under Windows.  These are directly retrieved from the environment when you do not set pm_api_token_id and pm_api_token_secret in the provider block for the Proxmox provider.

What would limit the risk of spreading credentials in a repository?

You can...

Use the Hashicorp vault provider directly via the vault_kv_secret or vault_kv_secret_v2 data source in your terraform files and retrieve the secret values for  pm_api_token_id and pm_api_token_secret or ;
Use the secrets.env environment file as I described previously, store it in Vault as a base64 blob, and make sure that secrets.env is in the .gitignore file so that it is not accidentally checked into source control, and/or ;
Use git pre-push or pre-receive hooks to scan files for secrets and fail the push if there are secrets found in the commits.

(1) is the most secure and has no files laying around to check-in, although there are some caveats because state files and plan files and console output may contain these secrets in plaintext. You might be able to avoid some of this by marking the data values as sensitive in terraform.
(2) is also secure for the secrets but leaves the secrets.env file laying around and this file also contains plaintext secrets and it might leak or could be forcefully checked into source control. The only mitigation available here for accidental check-in is the .gitignore file.
(3) is a last resort to detect secrets in a user's commit and block them at push time

Thank you @brianonn for this set of hyper complete information, the holidays approaching, I pause and will come back to it at the beginning of January. I will then give you a feedback. Thank you again 1000 times, and I wish you a pleasant holiday season


[Security Bug] Depends on vulnerable versions of moment upgrade to >= 2.29.2

npm audit
 obsidian  >=0.11.13   Depends on vulnerable versions of moment
snyk  test
Directory Traversal [High Severity][https://snyk.io/vuln/SNYK-JS-MOMENT-2440688] in<EMAIL_ADDRESS>   introduced by<EMAIL_ADDRESS>><EMAIL_ADDRESS> This issue was fixed in versions: 2.29.2
https://github.com/moment/moment/commit/4211bfc8f15746be4019bba557e29a7ba83d54c5
https://github.com/obsidianmd/obsidian-api/blob/3615a06189621a7ac7cf8ff236f6a5ae1ba11ccd/package.json#L18
change to 2.29.2

Pull request #56
Needs to go through your internal CI tests

Closing
Fixed in<EMAIL_ADDRESS>nom audit -> found 0 vulnerabilities
snyk test - >  Tested  dependencies for known issues, no vulnerable paths found.


Definition lists should not have a time selector

Pages that list definitions (with no histogram/graph component) should not have a time selector (last 24 hours, last 7 days, etc).
The following pages still have a time selector and should have it removed:

[x] token pools
[x] blockchain interfaces
[x] blockchain APIs
[x] blockchain listeners
[x] offchain data
[x] offchain batches
[x] offchain groups

Not a definition type, but probably a special case that should also not be time-bound:

token balances

offchain data
offchain batches
offchain groups

[ ] token approvals


[WPI] Protected Branch Block Outdated

close #9786
blocked by #10914

I took the liberty of editing the title. I hope you don't mind. 😉

Codecov Report

Merging #11012 into master will decrease coverage by 0.00%.
The diff coverage is 37.03%.

@@            Coverage Diff             @@
##           master   #11012      +/-   ##
==========================================
- Coverage   43.51%   43.51%   -0.01%
==========================================
  Files         598      599       +1
  Lines       84798    84823      +25
==========================================
+ Hits        36902    36910       +8
- Misses      43358    43375      +17
  Partials     4538     4538

Impacted Files
Coverage Δ

models/migrations/migrations.go
3.50% <ø> (ø)

models/migrations/v137.go
0.00% <0.00%> (ø)

modules/auth/repo_form.go
43.69% <ø> (ø)

routers/private/hook.go
32.39% <ø> (ø)

routers/repo/issue.go
35.74% <0.00%> (-0.03%)
:arrow_down:

services/pull/merge.go
49.78% <0.00%> (-0.53%)
:arrow_down:

models/branches.go
42.06% <50.00%> (+0.18%)
:arrow_up:

modules/convert/convert.go
74.92% <100.00%> (+0.07%)
:arrow_up:

routers/api/v1/repo/branch.go
50.45% <100.00%> (+0.36%)
:arrow_up:

routers/repo/setting_protected_branch.go
41.98% <100.00%> (+0.27%)
:arrow_up:

... and 7 more

Continue to review full report at Codecov.

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

@guillep2k done

Please resolve conflict

@lafriks done

ready to merge 🚀

Ping LG-TM


Support for font metrics values for override

The Fonts Level 4 Editor Draft includes default font metric overrides for ascenders, descenders, and line gap. These are now supported in Chrome (@font-face descriptors to override font metrics)
Is it possible to query the HHEA table for the font being analyzed and present that data to the user so they can use the data for overrides?

That is a good idea!
How would you like to see this data presented? Say you want to set the ascent-override and descent-override of your font, and this is the naked data from the font:
UnitsPerEm: 1000
ascent: 1025
descent: -275

Wakamai Fondue could show the percentages for the CSS properties:
@font-face {
  ...
  ascent-override: 102.5%;
  descent-override: 27.5%;
}

(Not entirely sure if positive descender values are legal in fonts, otherwise I guess it's a matter of making them positive, as "negative values are invalid at parse time.")

That is a good idea!
How would you like to see this data presented? Say you want to set the ascent-override and descent-override of your font, and this is the naked data from the font:
UnitsPerEm: 1000
ascent: 1025
descent: -275

Wakamai Fondue could show the percentages for the CSS properties:
@font-face {
  ...
  ascent-override: 102.5%;
  descent-override: 27.5%;
}

(Not entirely sure if positive descender values are legal in fonts, otherwise I guess it's a matter of making them positive, as "negative values are invalid at parse time.")

Parsed values would be better. I'm not familiar with the conversions I would have to make to get them working in CSS
Thanks!

Parsed values would be better. I'm not familiar with the conversions I would have to make to get them working in CSS
Thanks!

Different browsers use different metrics to determine ascender/descender/line height:
hhea.ascender
hhea.descender
hhea.linegap
OS/2.sTypoAscender
OS/2.sTypoDescender
OS/2.sTypoLineGap
OS/2.usWinAscend
OS/2.usWinDescend
So which ones should Wakamai Fondue present as the metrics that will be used in the real world? Note to self: figure out which are the most commonly used metrics in browsers, and use those to propose CSS.

Different browsers use different metrics to determine ascender/descender/line height:
hhea.ascender
hhea.descender
hhea.linegap
OS/2.sTypoAscender
OS/2.sTypoDescender
OS/2.sTypoLineGap
OS/2.usWinAscend
OS/2.usWinDescend
So which ones should Wakamai Fondue present as the metrics that will be used in the real world? Note to self: figure out which are the most commonly used metrics in browsers, and use those to propose CSS.

https://github.com/w3c/csswg-drafts/issues/4792

https://github.com/w3c/csswg-drafts/issues/4792

Different browsers use different metrics to determine ascender/descender/line height:

This is exactly the problem that these override CSS descriptors are trying to solve. This is why the browser can't just "do the right thing" - different answers are correct on different OSes/browsers. The browser needs additional information from a third party (aka the CSS author) in order to have consistent renderings across OSes/browsers; it's entirely possible that WF needs additional information too, for the exact same reason.

Different browsers use different metrics to determine ascender/descender/line height:

This is exactly the problem that these override CSS descriptors are trying to solve. This is why the browser can't just "do the right thing" - different answers are correct on different OSes/browsers. The browser needs additional information from a third party (aka the CSS author) in order to have consistent renderings across OSes/browsers; it's entirely possible that WF needs additional information too, for the exact same reason.

Current plan:
Translate metrics to percentages. Use https://github.com/googlefonts/gf-docs/tree/master/VerticalMetrics to determine "best" metrics, select those by default. (Currently thinking this is OS/2 typo, also see https://twitter.com/boldmonday/status/1350125003510067201)
Offer other metrics in a dropdown? Only when the deviate from "best metrics"?
Theoretically, either metric should be fine as the font designer sets these to be the same. Except when some metrics are tweaked to work around quirks in a specific environment.
Relevant Twitter thread: https://twitter.com/PixelAmbacht/status/1350059386731954176 (be sure to click at random on tweets as there are a lot of replies which Twitter helpfully hides/shows complete willy nilly)

Current plan:
Translate metrics to percentages. Use https://github.com/googlefonts/gf-docs/tree/master/VerticalMetrics to determine "best" metrics, select those by default. (Currently thinking this is OS/2 typo, also see https://twitter.com/boldmonday/status/1350125003510067201)
Offer other metrics in a dropdown? Only when the deviate from "best metrics"?
Theoretically, either metric should be fine as the font designer sets these to be the same. Except when some metrics are tweaked to work around quirks in a specific environment.
Relevant Twitter thread: https://twitter.com/PixelAmbacht/status/1350059386731954176 (be sure to click at random on tweets as there are a lot of replies which Twitter helpfully hides/shows complete willy nilly)

Hey, ppl, sorry to be dumb, but, I see you used UnitsPerEm. Is that set by the font, or is this the default universally?

@vhoyer Yes, it comes from the head! Regarding picking the best metrics, we have a few choices so there must be some logic behind which one we want to show first, right? But I think I know what to do here. Now for some time to implement it :-)

From Karsten Luecke, via mail:

The OS/2 UseTypoMetrics flag was meant to tell MS's Office applications,
specifically, that they should use the OS/2 Typo values rather than the
OS/2 Win values. It was not meant to say: instead of the hhea values.
This implies that any other applications would choose the OS/2 Typo
values anyway, regardless of what this flag says.

guys, what's the state of this? :eyes:

Unfortunately I've been caught up in other projects, and have little free time to work on the fondue right now :-( I hope to pick this up in the winter sometime.

Any update on this feature? I would love to see it implemented

Hi everybody, thanks for your patience. Unfortunately I was/am preoccupied with other projects. I have implemented something similar for a different project so I hope to be able to port it to Wakamai Fondue when time permits!

Hey, this tool is doing a great job! https://github.com/unjs/fontaine


pr test

Codecov Report

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

@@            Coverage Diff            @@
##             master     #112   +/-   ##
=========================================
  Coverage          ?   44.11%
=========================================
  Files             ?        8
  Lines             ?       68
  Branches          ?        2
=========================================
  Hits              ?       30
  Misses            ?       38
  Partials          ?        0

Continue to review full report at Codecov.

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


Make python code pip-installable

Make the facets-overview python code pip-installable and upload it to pypi. Update the documentation and examples to install using pip.

I did this for https://github.com/PAIR-code/saliency. You can copy setup.cfg and make small edits to setup.py from that repo. Then follow instructions in https://packaging.python.org/en/latest/distributing.html

It would also be great to make the python code also available in the default Conda repository. That way we can use the Jupyter extension with our version of Jupyter that doesn't store notebooks on the local filesystem.

+1 to a pip install version.  Issue #15 recommends a bad user experience for using this in a notebook: no one wants to write html to plot a dataframe.

1 for a conda package.. It is the main way many Data scientists are managing their environments.. I'm staring at the instructions now and trying to figure out where to put the git clone and how to proceed and for instance whether to installation only to my base coda en (which Fuse t run the notebook itself or to install in my py36 environment which actually runs most notebooks (while the server runs the base jupyter environment) Any guidance?

this would be great.

I broke this out into a new project for our use. It's a branch here:
https://github.com/hopshadoop/facets/tree/pip_install
The pip package is here (package name is 'hopsfacets'):
https://pypi.python.org/pypi/hopsfacets/0.0.2
pip install hopsfacets
Then code looks like this:
Calculate the feature statistics proto from the datasets and stringify it for use in facets overview
from hopsfacets.generic_feature_statistics_generator import GenericFeatureStatisticsGenerator
import base64
gfsg = GenericFeatureStatisticsGenerator()
proto = gfsg.ProtoFromDataFrames([{'name': 'train', 'table': train_data},
{'name': 'test', 'table': test_data}])
protostr = base64.b64encode(proto.SerializeToString()).decode("utf-8")
from IPython.core.display import display, HTML
HTML_TEMPLATE = """

"""
html = HTML_TEMPLATE.format(protostr=protostr)
display(HTML(html))

Noob here..
When i try to install using what @jimdowling  has provided i get :
---->No matching distribution found for tensorflow (from hopsfacets)

Following up on this. Should be an easy fix.

Any plans to create an official PyPI package? It seems that the latest version provided by @jimdowling is broken and the one before that is over a year old.

@kvalev  - our version works with python 2.7. Need to fix it to work with python 3.

Sorry that this issue hasn't been resolved. I've been putting most of my effort into the What-If Tool which is pip-installable and includes the Facets visualizations (but not the python code to generate statistics for Facets Overview).
I would like to create an official pip package for Facets for py2 and py3, but haven't had the bandwidth to take it on yet.

Created facets-overview pip package, uploaded demo notebooks and readme for its usage. Works in py2 and py3.  Sorry for the huge delay in this.


[WIP] Add support for userActivity API

At first will only include associated domain user activity, but will be extensible.
For this, I merged openURL() and sendUserNotification() internally to deliverPayload(). The new userActivity() API will use that same mechanism.
Closes #622
Also fixed #601 in this branch

Hm, something failed for RN53. Will look romorrow.

If the tests fail, just restart the specific build that failed. I've been doing that for a few times. Travis…

Android is all good. When CI is green, let's merge


Fixed bugs in xSqlAlias that prevented the succesful creation of the…

Fixed bugs in xSqlAlias that prevented the succesful creation of the aliases and caused errors.
I also updated the code to comply with the coding styleguide for DSC modules.

This change is

Hi @ykuijs, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Reviewed 1 of 2 files at r1, 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable


Download and pushing translations

Replaces: #2592 because of rebase problems
This PR adds the following build steps:
download_translations: Downloads & exports all translations from crowdin and saves them into options/locale/
upload_translations: Uploads the updated locale_en-US.ini to Crowdin
The build steps are splitted because the files should only uploaded to crowdin if all test passes.
It also adds the ignore_branch option to fix the build process because gitea does not use branches at crowdin.
This is already tested here:
Upload & Export in custom folder: http://drone.jonasfranz.software/JonasFranzDEV/Crowdin-Demo/12
Used configuration: https://git.jonasfranz.software/JonasFranzDEV/Crowdin-Demo/src/master/.drone.yml
Related to #2585
Related to JonasFranzDEV/drone-crowdin#2

Codecov Report

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

@@            Coverage Diff            @@
##             master    #2727   +/-   ##
=========================================
  Coverage          ?   26.91%
=========================================
  Files             ?       87
  Lines             ?    17285
  Branches          ?        0
=========================================
  Hits              ?     4652
  Misses            ?    11954
  Partials          ?      679

Continue to review full report at Codecov.

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

LGTM

LGTM

The CI build (https://drone.gitea.io/go-gitea/gitea/1582/6) fails due to an issue with the git push plug-in. Do somebody know why?
CC @appleboy


Why we do need to run ensureAll in acs commons

Required Information

[ ] AEM Version, including Service Packs, Cumulative Fix Packs, etc: _______
[ ] ACS AEM Commons Version: _____
[ ] Reproducible on Latest? yes/no

Expected Behavior
Please describe briefly the expected behavior, i.e. when I do X, Y should happen.
Actual Behavior
Please describe briefly the actual behavior, i.e. when I do X, Z happens.
Steps to Reproduce
Starting from a vanilla instance of AEM at the above version, describe in explicit steps how to reproduce. Link to
any supporting assets, e.g. content packages, below
Links
Links to related assets, e.g. content packages containing test components

Can you please be more specific?


Close info with task listener

What changes were proposed in this pull request?
Fix native close in C2R.
How was this patch tested?
under test

The columnar2Row converter works in this way:
Each recordbatch create a native columnar2RowConverter
Columnar2Row converter hold the input record batch and the output row buffer
Columnar2RowConverter is hold in a golal map
Spark call next() to get one row from row buffer
Spark call has_next() if no more rows, native close is called
native close get the native columnar2RowConverter from the map and delete it
The input recordbatch and row buffer is released
There is an issue here when SQL has limit operator, spark won't iterate all the rows in the row buffer, then the native columnar2rowConverter won't be released until jniunload.

hi @zhouyuan, looks like gazelle may also have this issue.
https://github.com/oap-project/gazelle_plugin/blob/main/native-sql-engine/core/src/main/scala/com/intel/oap/execution/ArrowColumnarToRowExec.scala#L151-L153

Verified on Jenkins.


remove test utils call

the gluon helper function for mnist will download the dataset, so you don't need to use the utils function anymore...

nice catch. yes this line stuck around. it's from before gluon helpers existed.


Establish concept of manual registrations in Container (and support lazy loading)

This PR makes manual registration files a proper, configurable part of the container setup.
One benefit of this is that we can now attempt to load a matching manual registration file during lazy loading, which, alongside the lazy loading of bootable deps, means there should be no gaps in what kind of things can be lazily loaded during development.
Resolves #33.
@solnic @AMHOL – what do you think? If you're happy with this direction I'll add more tests to ensure everything's covered.
In working through this, I noticed a few structural things I'd like to improve later. I'm not sure if e.g. Component#bootable? and #boot_file? should exist - it feels like that's the component knowing too much about other parts of the system. Would it be cleaner for this to be provided by something like Booter#bootable?(component)? This is the approach I took with ManualRegistrar#file_exists?, anyway.

I like this approach, feels like service provider in traditional IoC

@solnic ping - what were your thoughts on this?

I'm super late with this feedback, but:

In working through this, I noticed a few structural things I'd like to improve later. I'm not sure if e.g. Component#bootable? and #boot_file? should exist - it feels like that's the component knowing too much about other parts of the system.

Yes, I wanted to do the same thing so 👍


Does it allocate for each indexing operation?

Hi,
I had to stop using the .net concurrent dictionary because of the many heap allocations happening for common operations like reading an existing value from the dictionary . I quickly profiled this implementation too and it seems that the problem is not solved. Can you confirm that you also use similar strategies where you allocate small objects for each operation?

I assume It allocates when value types are not atomic writeable exactly like ConcurrentDictionary does. I didn't get it until now.


Shortcut guide should show PowerToys shortcuts

Description of the new feature / enhancement
Shortcut guide should have a second page showing PowerToys shortcuts
Scenario when this would be used?
Whenever PowerToys shortcuts are forgotten
Supporting information
No response

/dup #15405


No valid tree found

Hi,
I have WGS with a lot of SNVs called for example, for one patient I have 47000 SNVs called for 4 samples and another patient had 240,000 SNVs called for 12 patients. As the SNVs were already called in my data I am using the form (where S_i=0 if the SNV is not called in this sample and S_i=VAF if it is called)
#chr    position    description    profile        Normal    S1    S2    S3    S4
1       184306474                   00111          0         0   0.2   0.25  0.15

Unfortunately after running it with:
./lichee -build -i Lichee_inputs_Patient_J.txt -sampleProfile -n 0 -showTree 1
I got a "no valid tree was found". I am trying to change several of the option to see if I can get something but I was wondering if you had any advice?
My first thoughts would be to increase the error margin -e to 0.2, 0.3 etc., what would be the maximum value you would advise me to take for the error?
The second thought would be to change -maxClusterDist to 0.3, 0.35 etc.?
Other things I could change?
Thank you for your help!

I wouldn't suggest increasing the error margin by much (definitely not much beyond 0.2). So let's try a few other things first.
How many nodes do you end up with in the network? Are there many nodes with only a few mutations? Since these could be outliers, I would suggest increasing -minClusterSize and/or -minPrivateClusterSize. If there are many clusters corresponding to the same binary profile, increasing -maxClusterDist to collapse them can help, especially if their centroid stddev is high. If this is low coverage WGS data, it might be also helpful to first run a tool like PyClone to get CP values instead of VAFs (which will account for CVNs, LOH, purity) and then feed those values to find the tree (using the -cp flag).

Thank you for your answer.
As Lichee doesn't find any valid tree, I don't get any resulting txt at the end. Is there a way to get the trees even if they are not valid to see how many nodes they have, the stddev etc.? I will look into increasing the minCluster/minPrivateCluster Size and see what I get. The maxClusterDist helps but not in every cases. I am also trying to decrease my number of SSNVs, taking only the one with a coverage >30, 50, 100 etc. and see what I get and if it is consistent.
I have never used PyClone but I am afraid that with that many SNVs it will take forever to get something out of it.

Oh you should enable the verbose mode with (-v), this will print the information about the network (the nodes, centroids, stddev, etc). You could also visualize the network with -net, but the graph can be quite complex (btw, the nodes are draggable), so best to debug with the printed network info. And I would definitely recommend filtering based on coverage (perhaps you could start with a more robust set with coverage >50).

I ran it with maxClusterDist=0.4, maxVAFValid=0.72 (max purity of the 4 samples) and error=0.2, I don't get any valid tree still but I put the verbose option like you suggested, This is what I get just before it's telling me "no valid tree found":
--- PHYLOGENETIC CONSTRAINT GRAPH ---
numNodes = 16, numEdges = 29
NODES:
level = 6:
Node 0:
level = 5:
level = 4:
Node 13: group tag = 01111, Size: 76
VAF Mean: [ 0.43  0.38  0.42  0.43 ]
       Stdev: [ 0.14  0.12  0.1  0.11 ]
level = 3:
Node 1: group tag = 01110, Size: 15
VAF Mean: [ 0.37  0.42  0.46 ]
       Stdev: [ 0.12  0.13  0.13 ]
Node 4: group tag = 01011, Size: 14
VAF Mean: [ 0.39  0.41  0.4 ]
       Stdev: [ 0.15  0.11  0.13 ]
Node 9: group tag = 00111, Size: 27
VAF Mean: [ 0.37  0.41  0.45 ]
       Stdev: [ 0.1  0.1  0.1 ]
Node 15: group tag = 01101, Size: 56
VAF Mean: [ 0.43  0.36  0.43 ]
       Stdev: [ 0.11  0.11  0.11 ]
level = 2:
Node 3: group tag = 01010, Size: 9
VAF Mean: [ 0.46  0.45 ]
       Stdev: [ 0.09  0.17 ]
Node 6: group tag = 00101, Size: 43
VAF Mean: [ 0.34  0.38 ]
       Stdev: [ 0.12  0.11 ]
Node 8: group tag = 00110, Size: 14
VAF Mean: [ 0.4  0.44 ]
       Stdev: [ 0.09  0.1 ]
Node 11: group tag = 00011, Size: 20
VAF Mean: [ 0.44  0.46 ]
       Stdev: [ 0.13  0.1 ]
Node 12: group tag = 01001, Size: 24
VAF Mean: [ 0.42  0.42 ]
       Stdev: [ 0.09  0.11 ]
Node 14: group tag = 01100, Size: 80
VAF Mean: [ 0.39  0.31 ]
       Stdev: [ 0.12  0.1 ]
level = 1:
Node 2: group tag = 01000, Size: 30061
VAF Mean: [ 0.31 ]
       Stdev: [ 0.15 ]
Node 5: group tag = 00010, Size: 2011
VAF Mean: [ 0.25 ]
       Stdev: [ 0.12 ]
Node 7: group tag = 00100, Size: 12774
VAF Mean: [ 0.26 ]
       Stdev: [ 0.13 ]
Node 10: group tag = 00001, Size: 1168
VAF Mean: [ 0.22 ]
       Stdev: [ 0.11 ]
level = 0:
EDGES:
0 -> 13
1 -> 3
1 -> 8
1 -> 14
3 -> 2
3 -> 5
4 -> 3
4 -> 11
4 -> 12
6 -> 7
6 -> 10
8 -> 5
8 -> 7
9 -> 6
9 -> 8
9 -> 11
11 -> 5
11 -> 10
12 -> 2
12 -> 10
13 -> 1
13 -> 4
13 -> 9
13 -> 15
14 -> 2
14 -> 7
15 -> 6
15 -> 12
15 -> 14

Found 0 valid tree(s)
Adjusting the network...
Found 0 valid trees after network adjustments

Any suggestions? For now, it is with all the SSNVs, my next step is to take only coverage>50,100 etc. I don't think I have specially small cluster size, even if node3 has only a size of 9, I don't feel like it should be considered as small, should it?
I saw in the paper that it could also be CP found by ABSOLUTE, which is what I use to get the purity of my sample so I do have the outputs of that. So just to be sure I am using the right value for CP, in the ABSOLUTE output *_ABS_MAF, I should take the value of cancer_cell_frac as CP right?

Just to confirm: are you currently passing the VAFs or CP values to the program? If CPs, you should enable the -cp flag (the -maxVAFValid option will no longer apply in this case and the root CP will be set to 1).
In the output I see that the VAFs of the first couple of nodes (assuming it's VAFs and not CPs) will already violate the sum-of-children phylogenetic constraint: the nodes with the profiles 01110, 01011, 00111, and 01101 must be siblings but all have very high centroids (which the possible parents 01111 and root cannot accommodate). If these are VAFs, it might be best to switch to the CPs in order to correct for CNVs (which could account for this result).  Could you send me the full log and the command used to run the program (email might be easiest)? Also the current -maxClusterDist is very high and will probably cause the collapse of all clusters, I recommend to use the default for now, especially while debugging.

Thank you, yes no problem I'll send an email (to<EMAIL_ADDRESS>to continue the conversation.

Hi,
I am facing the same issue. Can you please elaborate on the solution you found, if any, for this?
Your support is much appreciated.
Thank you.

Hi,
I'd also like to know whether there were any solutions regarding this?
Thanks.


Add docs to flag vkit as pre-beta

Added comment at the top of the file and in the class doc block to indicate that vkit is pre-beta.

cc @jdpedrie @dwsupplee

PTAL

LGTM!

LGTM


Changed site theme

Redesigned the site. Let me know if some changes should be done.

@nikauhrinova - I switched to your "theme-change" branch and tested your code. However, I see no theme difference, it all looks the same as the prod code. Can you review your code and let me know if there are any additional steps to view the theme difference?

I checked it and I have to say I'm not sure where the problem could be, the site shown on the screenshot is from the "theme-change" branch.

@nikauhrinova - got your theme to load. I like your theme but have a few suggestions:

Home page looks great. Can you horizontally center the "(*) from Zillow.com" text?
Maybe add some color to the home, input, and results pages? The same color on the header of each page would look good.
The text on the results page may be too large. I'm wondering how this will look on mobile phones - I'll look into loading this into a dev slot of the web app to test the theme on mobile.

Great work!

Thanks! I'll work on your suggestions and I'll look more into responsivity of the theme.

@nikauhrinova - merging your branch into a new "theme-change" branch to deploy into a dev web app. Will test on mobile and let you know. Thanks!

@nikauhrinova - https://propalyzer-dev.azurewebsites.net/


Phone Overheating During Video Playback

I am experiencing a significant issue with the media_kit plugin while using it for video playback in my Flutter app. The device gets extremely hot during video playback, especially after a few minutes of continuous usage. Here are the details of the issue:
Platform: IOS
Device: Iphone 15 pro max
Flutter Version: latest stable.
media_kit Version: latest
Issue: The phone heats up significantly after a short duration of video playback. This happens regardless of video resolution or file size, and seems to occur consistently across different video files.
Steps to Reproduce:
Start playing any video using media_kit.
After a few minutes of playback, the phone starts to heat up considerably.
Expected Behavior: The video should play without causing the device to overheat.
Observed Behavior: The phone gets unusually hot during video playback.
Additional Information:
I've tested on multiple devices, and the issue persists.
No performance issues (such as stuttering or frame drops), but the heating issue is concerning.
Please let me know if you need additional logs or information.

Are you able to provide link to the video that you are trying to play? I have a feeling that you are dealing with codec issue, or something like that.

This is happens when i set   enableHardwareAcceleration: false,

This is happens when i set enableHardwareAcceleration: false,

Why would you do that though? This will always cause a much, much bigger strain for any device.

I think answer above makes it pretty clear.

This is happens when i set enableHardwareAcceleration: false,

Why would you do that though? This will always cause a much, much bigger strain for any device.

This is happens when i set enableHardwareAcceleration: false,

Why would you do that though? This will always cause a much, much bigger strain for any device.

Because i adapt your pip changes to latest media-kit it is working fine iphone 15 pro max but lower than 15 pro max it is not supporting hardware acceleration. If i change to false it is working all devices but i having issue with performance…


Changing range with updateOptions on datetime x-axis doesn't rescale Y-axis

What is the behavior you expect?

When I change the timeframe using updateOptions which updates x-axis min and max, min and max on y-axis adjust to the new dataset. I would like Y-axis to behave like with x-axis zoom and autoScaleYaxis: true.

What is happening instead?

Y-axis remains the same as on original dataset. I tried adding to updateOptions zoom for x-axis with autoScaleYaxis: true which doesn't do anything. I tried loading the whole y-axis and just min and max, both which also don't work.

Codepen: https://codepen.io/azivkovi/pen/eYNbQVw (change timeframe between 1M and All)
What error message are you getting?

No errors.

I am planning to add a new method zoomX which will help with this.
The syntax will be
chart.zoomX(minX, maxX)

I will update this thread when ready.

Added zoomX method which will autoScale the y-axis when called.

Thank you for the added method. I have another related issue, in same codepen https://codepen.io/azivkovi/pen/eYNbQVw .
Now when I select one month, the zoomX does the job, but when I try to reset to full dataset y-axis stays zoomed in the one month scale.
Maybe I am missing something obvious, your help would be appreciated.

@azivkovi  I saw the codepen now.
You don't need to call the updateOptions if you call the zoomX method.
zoomX already updates the chart with new min/max

Hi @junedchhipa,
I have the same problem. I load new data when the chart is zoomed and manually set the y-axis bounds in the options.
Would it be possible to just update the y-axis if the y-axis bounds change in the options?


Backslash in vault files is not supported by the framework

❗ please do not add sensitive information in issues, you can provide extra information via email using issue number as reference ❗
Describe the issue
I have a vault file with a password having a backslash char. When I run a unit test in credentialprovider module pointing to my vault file, I am getting the following error:

For now, I used the unicode representation of the backslash and that seems to work but of course that is not the preferred solution.
Reporter
Ali
FF: 7.9-20230811.190015

We should look at all Properties.load(InputStream) methods and replace them as done in #4480.

The username/passwords in the vault file are read as property-files and for Java property files, that just appears to be the way they work.
I added the charsetDetectingInputstreamReader as done in the referenced PR, forced a vault file which has a password with a \u with single backslash, and cannot make the error go away.
If Java writes the property file to string, it will automatically insert a double \\ instead of a single \, because that is the property file spec.
You can also infer this from the stacktrace, which gives the error in the property loading code and not in the input stream reading code!
Sorry that this cannot be fixed with the current design of the credential-provider. You will have to use double backslashes.


Unknown encoder 'libmp3lame'

Please help, installing locally on win 11.
Spend different ways none worked.
Exception: ffmpeg version 7.0.2 Copyright (c) 2000-2024 the FFmpeg developers
built with clang version 18.1.8
configuration: --prefix=/d/bld/ffmpeg_1723846376620/_h_env/Library --cc=clang.exe --cxx=clang++.exe --nm=llvm-nm --ar=llvm-ar --disable-doc --disable-openssl --enable-demuxer=dash --enable-hardcoded-tables --enable-libfreetype --enable-libharfbuzz --enable-libfontconfig --enable-libopenh264 --enable-libdav1d --ld=lld-link --target-os=win64 --enable-cross-compile --toolchain=msvc --host-cc=clang.exe --extra-libs=ucrt.lib --extra-libs=vcruntime.lib --extra-libs=oldnames.lib --strip=llvm-strip --disable-stripping --host-extralibs= --disable-libopenvino --enable-gpl --enable-libx264 --enable-libx265 --enable-libaom --enable-libsvtav1 --enable-libxml2 --enable-pic --enable-shared --disable-static --enable-version3 --enable-zlib --enable-libopus --pkg-config=/d/bld/ffmpeg_1723846376620/_build_env/Library/bin/pkg-config
libavutil      59.  8.100 / 59.  8.100
libavcodec     61.  3.100 / 61.  3.100
libavformat    61.  1.100 / 61.  1.100
libavdevice    61.  1.100 / 61.  1.100
libavfilter    10.  1.100 / 10.  1.100
libswscale      8.  1.100 /  8.  1.100
libswresample   5.  1.100 /  5.  1.100
libpostproc    58.  1.100 / 58.  1.100
[aist#0:0/pcm_s16le @ 00000200D76C0080] Guessed Channel Layout: stereo
Input #0, wav, from 'audio.wav':
Metadata:
encoder         : Lavf61.1.100
Duration: 00:01:08.87, bitrate: 1411 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
[aist#1:0/pcm_s32le @ 00000200D7704B80] Guessed Channel Layout: mono
Input #1, wav, from 'audio_dub_solo.ogg':
Duration: 00:01:08.61, bitrate: 1312 kb/s
Stream #1:0: Audio: pcm_s32le ([1][0][0][0] / 0x0001), 41000 Hz, mono, s32, 1312 kb/s
[aost#0:0 @ 00000200D7738FC0] Unknown encoder 'libmp3lame'
[aost#0:0 @ 00000200D7738FC0] Error selecting an encoder
Error opening output file audio_mix.mp3.
Error opening output files: Encoder not found

Demove the ffmpeg package: conda remove ffmpeg
Download the ffmpeg binaries for windows. unpack them and add the folder to your enviroment variable "PATH"

2. Download the ffmpeg binaries for windows. unpack and add the folder to your enviroment variable "PATH"

installed on windows, question with the "patch" folder
Should the folder be a system one or in the program folder?
Where exactly should I unpack the codec folder? Why am I asking - when installing on a windows system and patching at the installation address - nothing works

[aost#0:0 @ 00000200D7738FC0] Unknown encoder 'libmp3lame'

'libmp3lame' in conda build is linux only.....

(sonitr) PS C:\Users\User\SoniTranslate> conda install gaiar::libmp3lame
Channels:
 - defaults
 - gaiar
 - conda-forge
 - nvidia/label/cuda-11.8.0
 - nvidia
 - anaconda
 - pytorch
Platform: win-64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - gaiar::libmp3lame

Current channels:

  - defaults
  - https://conda.anaconda.org/gaiar
  - https://conda.anaconda.org/conda-forge/win-64
  - https://conda.anaconda.org/nvidia/label/cuda-11.8.0/win-64
  - https://conda.anaconda.org/nvidia/win-64
  - https://conda.anaconda.org/anaconda/win-64
  - https://conda.anaconda.org/pytorch/win-64

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

(sonitr) PS C:\Users\User\SoniTranslate>

for windows you need to download release essentials: only this release contains the necessary library but I couldn't run all this in the conda environment... now I'm digging into this issue. I'll be glad to get help

I found solution https://github.com/GyanD/codexffmpeg/releases/tag/2024-10-21-git-baa23e40c1 use full version in windows

Я нашел решение https://github.com/GyanD/codexffmpeg/releases/tag/2024-10-21-git-baa23e40c1 используйте полную версию в Windows

there are other sources - the question is where exactly to unpack and where exactly to apply the patch?

I found solution https://github.com/GyanD/codexffmpeg/releases/tag/2024-10-21-git-baa23e40c1 use full version in windows

there are other sources - the question is where exactly to unpack and where exactly to apply the patch?


clientv3 can't be compiled with latest gRPC change

# github.com/coreos/dbtester/vendor/github.com/coreos/etcd/clientv3

vendor/github.com/coreos/etcd/clientv3/client.go:309: oldconn.State undefined (type *grpc.ClientConn has no field or method State)
vendor/github.com/coreos/etcd/clientv3/client.go:311: oldconn.WaitForStateChange undefined (type *grpc.ClientConn has no field or method WaitForStateChange)

Currently we don't force users to use our gRPC dependencies, so this will happen.
I am creating this issue so we don't forget.

For the sake of completeness, I'll note the reason the code does that is so grpc won't queue the Close and keep some reconnection goroutine running (making the leak detector complain). Hopefully removing it won't cause any headaches...

I've also faced this issue while getting v3client
[root@jupiter-vm1164 src]# go get github.com/coreos/etcd/clientv3
# github.com/coreos/etcd/clientv3
github.com/coreos/etcd/clientv3/client.go:309: oldconn.State undefined (type *grpc.ClientConn has no field or method State)
github.com/coreos/etcd/clientv3/client.go:311: oldconn.WaitForStateChange undefined (type *grpc.ClientConn has no field or method WaitForStateChange)
[root@jupiter-vm1164 src]#

Do we have any workaround for this?

part of comit - https://github.com/grpc/grpc-go/commit/9c2d8546bf9fdbae6679bf11f1e420730277659a#diff-e1550a73f5d25064c8b586ec68d81a64 they have created new structure called addrConn and moved State to getState and WaitForStateChange to waitForStateChange. So we might to change the logic in the client file.

Fixed by #5583


Upgrades on sites with staticContent

Upgrading to DNN 9.2.2 on an installation which already has the staticContent in the web.config specified results in a hanging installation.
It may be the installation should check for this element before creating a new one..??
In our situation, when we comment out the existing web.config's static content before the upgrade then the installation goes perfectly.

It does look like there may be an issue in the piece that adds new mimeMap elements.  To help narrow it down so we can reproduce more easily, can you let us know what version you're upgrading from?

Sorry.  I got my versions wrong.  This was an upgrade from v. 09.03.01 (2) to v. 09.03.02 (24).  I think it may have impacted the last upgrade as well but I forgot to document it.

@DNNMonster I'm not able to replicate an issue (despite seeing a potential issue in the XML merge script that makes this change).  Do you have anything unusual in that section of your web.config?  Are you using a location element anywhere?  Would you mind posting that section of your web.config here (or, even, the whole file, after removing any confidential data)?
Hope we can help!

Below is the pertinent section that gets duplicated by the upgrade & causes the error.  This section was already in our web.config before the upgrade.  It showed up twice in the web.config after the upgrade.

I am also not able to replicate the issue. @bdukes you have a clue about a fix for this ? I am thinking in https://github.com/dnnsoftware/Dnn.AdminExperience/blob/development/Library/Dnn.PersonaBar.UI/Dnn.PersonaBar.UI.dnn but maybe not seing the obvious in there, it looks to me like it is trying to update it, then it tries to remove them and re-add them... Strange.

https://github.com/dnnsoftware/Dnn.AdminExperience/blob/development/Library/Dnn.PersonaBar.UI/Dnn.PersonaBar.UI.dnn#L69-L96
Yeah, it's strange, not sure why it's doing it that way.  The first one is trying to add it wholesale, but since staticContent can already exist, it also needs to add them one-by-one, so the content in the first one isn't really used (when I do something like this, I just add <staticContent></staticContent).  It then removes each remove and mimeMap element, and then re-adds them, when it could just update them.  The issue that I notice is that it's using key="mimeMap" when it should use key="fileExtension", but that doesn't really come into play since those elements are getting removed anyway.
In this issue, it seems that the staticContent section is being added even though it already exists.  The only reason I can think of for that would be if there's a location element in the web.config. @DNNMonster does your web.config have any location elements?

Yes but not related to staticContent.  The site has 2 location tags for js file paths to set custom headers related to experimenting with running service workers in a sub directory.  I don't think it would affect the staticContent section but I can post it if you think it may.

That would be great, if you can share those.  It's possible there's a bug around how we're handling location elements that's related to the duplication

 <location path="tools/dir1/sw.js">     <system.webServer>       <httpProtocol>         <customHeaders>           <add name="Service-Worker-Allowed" value="/" />         </customHeaders>       </httpProtocol>     </system.webServer>   </location>   <location path="tools/dir2/sw.js">     <system.webServer>       <httpProtocol>         <customHeaders>           <add name="Service-Worker-Allowed" value="/" />         </customHeaders>       </httpProtocol>     </system.webServer>   </location>

I really thought the presence of system.webServer elements in your location elements would be the culprit, but I added those location elements to my 9.3.1 site and upgraded to 9.3.2 and still can't reproduce the issue. 😞

Something still within the site's web.config but if it can't be reproduced let's close it.  It'll come up again if another user experiences it & this thread will probably get noticed.


Remove additional error messages for incompatible conversions

Purpose
Resolves https://github.com/ballerina-platform/ballerina-lang/issues/11973

Codecov Report

:exclamation: No coverage uploaded for pull request base (release-0.990.0@53ce2f1). Click here to learn what that means.
The diff coverage is 50%.

@@                Coverage Diff                 @@
##             release-0.990.0   #12725   +/-   ##
==================================================
  Coverage                   ?   59.84%
  Complexity                 ?      659
==================================================
  Files                      ?     2064
  Lines                      ?   101560
  Branches                   ?    12936
==================================================
  Hits                       ?    60779
  Misses                     ?    35588
  Partials                   ?     5193

Impacted Files
Coverage Δ
Complexity Δ

...alang/compiler/semantics/analyzer/TypeChecker.java
86.44% <50%> (ø)
0 <0> (?)

Continue to review full report at Codecov.

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


Reload [items] after changing in .ts

How can I force a reload of [items] after change in .ts?

Hey, items should be refreshed automatically whenever you assign or change components items.
Can you show me what your code does?

Thanks for the quick reply and confirmation it should work as expected...and it does! Not sure what was happening but after some cleanup and env rebuild its now working.


Integrating shiny app visualization of vegetation data

[x] Create new directory viz
[x] Mirror on Google drive
[x] Copy and wire-up the script

Sarah did all this and more! Thanks, @sarahjjacobs !!!


INT B-20976 customer state management to avoid duplicate moves

Agility ticket
Summary
We were running into an issue where customers were able to add an additional move after submitting their orders and then clicking the browser back button to go back to the add orders form, fill it out, and submit again. This was a huge no-no cause we really know all they wanted was just to update their orders information (we all make some oopsies sometimes).
At first we had this grand solution that was beautiful and wonderful and that was turned down, so we made it simpler.
Using Redux, we are tracking essentially where the customer is coming from to add the orders. We only want to let the customer add new orders if they are originating from the "Create a Move" button on the multi moves landing page. So if the customer clicks that and navigates to the add orders form, we let them in the house. If they try to access that route in any other capacity, we leave them outside with the dogs so they don't get mud on the carpets.
This PR does the following:

update the generalState entity in state to add a canAddOrders value that defaults to false
update that value to true when the customer clicks the Create a Move button
update the AddOrders.jsx component to first check the canAddOrders value in state prior to loading and redirect the user to either the move home page or their default home page or let them add orders
added and updated relevant tests

How to test

Access the app as a customer
Create a new move and add your orders
Once you're on the upload attachments route, hit the browser back button
You should be redirected to the move home page that you just created
Try to access the /orders/add route from anywhere in the app
You should be redirected to the default home page

Screenshots
https://github.com/user-attachments/assets/5701f28a-d7a9-4244-b1ef-f8243cdbee33

Test coverage on client failed.
Last run: Thu 26 Sep 2024 03:46:15 PM UTC
Refer to this report to see coverage details for the client app.
Documentation for test coverage can be found at this link.

Test coverage on server failed.
Last run: Thu 26 Sep 2024 03:53:56 PM UTC
Refer to this report to see coverage details for the server app.
Documentation for test coverage can be found at this link.


Files not matching inputFiles

Just starting to play with Broccoli, but as I understand concat concatenates a set of matched files into a tree with just the one output file. Wouldn't it be more useful to return a tree still including all the files that were untouched by the concat operation? I just want the same tree back, but with the selected files concatenated. Or is there something I am missing?

You aren’t wrong per se but you can do this yourself by also using concat and mergeTrees to get back all the other files. (At least in theory!)

Wouldn't it be more useful to return a tree still including all the files that were untouched by the concat operation?

Im not apposed to this, just require


Infinite loop after restart

Reconfigure slapd...
+ echo 'Reconfigure slapd...'
+ cat
+ debconf-set-selections
+ DEBIAN_FRONTEND=noninteractive
+ dpkg-reconfigure slapd
  Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.47+dfsg-3+deb10u7... done.
  Moving old database directory to /var/backups:

  Backup path /var/backups/unknown-2.4.47+dfsg-3+deb10u7.ldapdb exists. Giving up...
[cont-init.d] 000-slapd-package-config: exited 1.
[cont-init.d] 010-tls-certificates: executing...
+ [[ -f /etc/ldap/ssl/ldap.key ]]
TLS Certificates already present. Using provided certificates
+ [[ -f /etc/ldap/ssl/ldap.crt ]]
+ echo 'TLS Certificates already present. Using provided certificates'
[cont-init.d] 010-tls-certificates: exited 0.
[cont-init.d] 020-filesystem-perms: executing...
+ chown -R openldap:openldap /etc/ldap
[cont-init.d] 020-filesystem-perms: exited 0.
[cont-init.d] 050-openldap-populate: executing...
+ slapd -h ldapi:/// -u openldap -g openldap
+ configure_msad_features
+ echo 'Configure MS-AD Extensions'
+ ldapmodify -Y EXTERNAL -H ldapi:/// -f /opt/openldap/bootstrap/config/msad.ldif -Q
Configure MS-AD Extensions
ldap_modify: Type or value exists (20)
      additional info: modify/add: olcAttributeTypes: value #0 already exists
modifying entry "cn={0}core,cn=schema,cn=config"

[cont-init.d] 050-openldap-populate: exited 20.
[cont-init.d] done.
[services.d] starting services
starting slapd
[services.d] done.
6617b7c5 @(#) $OpenLDAP: slapd  (May 14 2022 18:35:44) $
      Debian OpenLDAP Maintainers<EMAIL_ADDRESS>6617b7c6 hdb_db_open: database "dc=planetexpress,dc=com": database already in use.
6617b7c6 backend_startup_one (type=hdb, suffix="dc=planetexpress,dc=com"): bi_db_open failed! (-1)
6617b7c6 slapd stopped.
starting slapd
6617b7c6 @(#) $OpenLDAP: slapd  (May 14 2022 18:35:44) $
      Debian OpenLDAP Maintainers<EMAIL_ADDRESS>6617b7c7 hdb_db_open: database "dc=planetexpress,dc=com": database already in use.
6617b7c7 backend_startup_one (type=hdb, suffix="dc=planetexpress,dc=com"): bi_db_open failed! (-1)
6617b7c7 slapd stopped.
starting slapd
6617b7c7 @(#) $OpenLDAP: slapd  (May 14 2022 18:35:44) $
      Debian OpenLDAP Maintainers<EMAIL_ADDRESS>6617b7c8 hdb_db_open: database "dc=planetexpress,dc=com": database already in use.
6617b7c8 backend_startup_one (type=hdb, suffix="dc=planetexpress,dc=com"): bi_db_open failed! (-1)
6617b7c8 slapd stopped.

I would advise against using VOLUMES in Dockerfile, as not all users are interested in having persistency on these paths, and it looks like it is not possible to just ignore them. Without the volumes the error would not happen.

To anyone with same issue: you can fix this by directly running slapd: /usr/sbin/slapd -h "ldapi:/// ldap://<IP_ADDRESS>:10389 ldaps://<IP_ADDRESS>:10636" -d 256

I am having the same issue. I wanted to add additional attributes to the users and therefore mount
volumes:
      - ${DATADIR}/ldap/opt/openldap/bootstrap/data:/opt/openldap/bootstrap/data

Now I am getting the database already in use loop. I have also tried to build a local image and removing the VOLUME declaration in the Dockerfile [1]. But that didn't work either. Any hints?
[1] https://github.com/rroemhild/docker-test-openldap/blob/2645f2164ffb51ec4b5b4a9af0065ad7f2ffc1cf/Dockerfile#L34

000-slapd-package-config
`set -eux
echo "Add this line:"
rm -rf /etc/ldap/slapd.d/* /var/lib/ldap/*
echo "Reconfigure slapd..."
cat <<EOL | debconf-set-selections`


Use get_category consistently in cppwinrt implementation

Some time back I introduced the get_category helper to solve some more challenging parameter categorization issues in the cppwinrt compiler. This made the clunky can_take_ownership_of_return_type and wrap_abi helper functions redundant. This update just removes those functions and makes use of get_category throughout. Internal bug #21214501.

 Can we start a "meta_reader contrib" file in library to host these and stop duplicating effort across tools?

Yes, we should definitely keep an eye out for redundant helpers and fold them into the xlang library if they are widely applicable.


Session RedisHandler lockSession, write fingerprint fix.

Hi,
Session RedisHandler on bug;
locksession, and write fingerprint.
Fixed now, few times tested 7.0.14 7.1.0

Coverage decreased (-0.03%) to 62.202% when pulling 79471c52c701e035ba06d075d08e07fbdbfc7ee3 on byazrail:develop into c8d54363e539be56ebed7a239f787c3947a60449 on bcit-ci:develop.

Coverage decreased (-0.1%) to 62.101% when pulling fd2961b33d2835e1fbf82309438819c3b5c3cec6 on byazrail:develop into c8d54363e539be56ebed7a239f787c3947a60449 on bcit-ci:develop.


BitWriter cannot write type CapsuleCollider

Hey guys I've got this error when I try to invokeServerRpc and pass the collider
Error: BitWriter cannot write type CapsuleCollider
void OnTriggerEnter(Collider other)
{
    if (IsLocalPlayer)
        InvokeServerRpc(ServerOnHit, this, other);
}
[ServerRPC]
public void ServerOnHit(vHitBox hitbox, Collider other)
{
    Debug.Log("Network Id");
    Debug.Log(other.gameObject.GetComponent<NetworkedObject>().NetworkId);
}

This is correct. You cannot send Colliders, cause they have no common property. What you can send however is the GameObject that the collider sits on (given that the object is networked). Then GetComponent on the other side.

ah i see. tnx