uCR-NFT Cashback UI should be the same as uCR Cashback UI

Also what does the white dropdown $1.00232 mean? Update: its the uCR-NFT but this should be visible when above peg. Also should not be prefixed with "$" unless it includes the spot price calculation of uAD
Original post https://github.com/ubiquity/ubiquity-dollar/pull/279#issuecomment-1269562876
User flow and UI code can be copied from the uCR Cashback UI components. I imagine that this can be done within a couple of days

I'd like this issue to be assigned to me.

I'd like this issue to be assigned to me.

Sure but I have to warn you that it'll require you to probably work pretty closely with @sunny0714 as he is still currently implementing the prerequisite component. It'll be much easier to work on this once he is done.

I'd like this issue to be assigned to me.

Sure but I have to warn you that it'll require you to probably work pretty closely with @sunny0714 as he is still currently implementing the prerequisite component. It'll be much easier to work on this once he is done.

I'll keep communications with him thorough. I'll consider all available options and take the most productive one.

One other detail to note: because we can't guarantee liquidity to sell uCR-NFT on OpenSea etc; this component should only be visible above peg. We can guarantee liquidity above peg because our smart contract allows Credit NFT (uCR-NFT) to Dollar (uAD) redemption, which in turn can be converted to other stables in the Dollar 3pool (uAD/DAI/USDC/USDT)

I'd like this issue to be assigned to me.

@kingsley-einstein The bounty price is 200 USDC

I'd like this issue to be assigned to me.

@kingsley-einstein The bounty price is 200 USDC

Alrighty!

Bad news is that it looks like we're going with a Uniswap widget which is designed for fungible tokens. To make the uCR-NFT cashback UI match will be a steeper challenge. I plan to personally dive in and customize the Uniswap widget to look less Uniswap-y. Once I do that, I imagine we'll have a more clear idea of exactly what needs to be done for this (#280) issue

Hey @pavlovcik , what's the status of this issue? Is it something I can work on?

Unfortunately we have a cascade of blockers for this bounty at this moment in time.

the UI is unstable on development
we need to test the uniswap UI widget but we can't because
we need to manipulate the price of uAD but
we can't swap on the uAD market because crv.to UI is broken (not ours)

So basically blockers currently are:

we need to make development UI stable and then (multiple issues I can't find off hand)
migrate to a v3 Curve Metapool to be able to swap on curve.fi, #295


百度首页的视频点进去后无法播放

如上图，视频控件无法操作，点了后一直转圈，控件显示灰色
W/RenderInspector: DequeueBuffer time out on com.ckj.demox/com.ckj.demox.MainActivity, count=1, avg=17 ms, max=17 ms.
W/chromium: [WARNING:resource_bundle.cc(1045)] locale resources are not loaded
I/chatty: uid=10457(com.ckj.demox) Chrome_InProcRe identical 72 lines
W/chromium: [WARNING:resource_bundle.cc(1045)] locale resources are not loaded
W/chromium: [WARNING:resource_bundle.cc(1045)] locale resources are not loaded
I/chatty: uid=10457(com.ckj.demox) Chrome_InProcRe identical 11 lines
W/chromium: [WARNING:resource_bundle.cc(1045)] locale resources are not loaded
W/chromium: [WARNING:resource_bundle.cc(1045)] locale resources are not loaded
I/chatty: uid=10457(com.ckj.demox) Chrome_InProcRe identical 13 lines
W/chromium: [WARNING:resource_bundle.cc(1045)] locale resources are not loaded
W/chromium: [WARNING:resource_bundle.cc(1045)] locale resources are not loaded
I/chatty: uid=10457(com.ckj.demox) Chrome_InProcRe identical 5 lines
W/chromium: [WARNING:resource_bundle.cc(1045)] locale resources are not loaded
W/chromium: [WARNING:resource_bundle.cc(1045)] locale resources are not loaded
I/chatty: uid=10457(com.ckj.demox) Chrome_InProcRe identical 19 lines
W/chromium: [WARNING:resource_bundle.cc(1045)] locale resources are not loaded
W/chromium: [WARNING:resource_bundle.cc(1045)] locale resources are not loaded
I/chatty: uid=10457(com.ckj.demox) Chrome_InProcRe identical 41 lines
W/chromium: [WARNING:resource_bundle.cc(1045)] locale resources are not loaded

你用的90版本？

90版本还是太老了，可惜官方不维护了，我在自己打包最新版，进度缓慢

肯定可以啊，要删除chromium一部分模块
我也是刚开始学习，要真是大佬就好了


ci: auto release every wednesday

We'll see where it goes

What's the benefit of this?

What's the benefit of this?

I don't have to think about pushing a button.

If the release requires approval and this is purely to get notified to release, then I'm fine with it.

And it saves a click! 🤑 /s


Feature Request: tracking headers in dependency

Feature Request
Allow tracking specific headers from Response ( also from Request would be nice)
Rationale
A third party service which we use returns some diagnostic information in Headers , we want to track them along with dependencies.

I would like to do the same.
Is there any workaround for doing this now?
I've looked a bit into using trackDependency manually, but I think I'm going to end up reinventing quite a bit of the existing SDK. Having the SDK automatically track AJAX calls is a huge value-add that would be a shame to have to bypass to get this one feature.

Added in 2.2.0


artisan queue:listen not working with custom php extension

Hi there,
I am using Laravel queues with beanstalkd. I would like to run function solve_simplex() which is my custom function intalled to php as extension.
If I use it in Laravel framework in controller it works. But if I use it in queue job it does not.
It says undefined function solve_simplex()
It is caused because Queue jobs in laravel are executed in "CLI enviroment" so the extensions are not loaded.
However I can pass -dextension parameter to PHP with name of my extension so it know I need to use it:
php -dextension=solveSimples.so artisan queue:work

so it works. But if I try to run queue:listen
php -dextension=solveSimples.so artisan queue:listen

Solution:
it does not because queue:listen execute own command where -dextension option is not passed.
Would be possible to add an option to the queue:listen command, which would take params for php command?
Thanks

I'd recommend just enabling that extension in your cli environment.


Unable to locate package sbsigntools

Device
APU2
RTE version
1.1.0
Affected component(s) or functionality
No response
Brief summary
Unable to locate package sbsigntools when running sb-img-wrapper.sh
How reproducible
No response
How to reproduce
./sb-img-wrapper.sh
Expected behavior
Tools should be installed and script should proceed.
Actual behavior
Creating image for INTERMEDIATE

Installing dependencies
Detected Package Manager: apt
Detected Distro: Debian
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package sbsigntools
Cannot install sbsigntools faketime : (100)

Link to screenshots or logs
There ane no logs.
Additional context
No response
Solutions you've tried
No response

This issue happens when I force using apt in generate-image.sh as otherwise Debian is not detected.

Package name is changed to sbsigntool.

This issue happens when I force using apt in generate-image.sh as otherwise Debian is not detected.

Debian? Do you mean Ubuntu @pkubaj?

No, Debian, since that's what's installed on the VM.

Related to: https://github.com/Dasharo/open-source-firmware-validation/issues/256


AWS Sagemaker Training Install

📚 Installation
I'm trying to setup a requirements.txt file to be used with AWS Sagemaker. This all happens inside of their docker containers, specifically this one. So pytorch, cuda etc are all setup already.
I've configured the requirements.txt to force using the provided wheels:
-f https://data.pyg.org/whl/torch-1.8.1+cu111.html
--no-index
torch-scatter
torch-sparse
--index-url https://pypi.org/simple
torch-geometric

And this works as expected:
2021-09-08T13:52:20.381-07:00	/opt/conda/bin/python3.6 -m pip install -r requirements.txt
2021-09-08T13:52:21.381-07:00	Looking in links: https://data.pyg.org/whl/torch-1.8.1+cu111.html
2021-09-08T13:52:21.381-07:00	Collecting torch-scatter Downloading https://data.pyg.org/whl/torch-1.8.0%2Bcu111/torch_scatter-2.0.8-cp36-cp36m-linux_x86_64.whl (10.5 MB)
2021-09-08T13:52:21.381-07:00	Collecting torch-sparse
2021-09-08T13:52:22.382-07:00	Downloading https://data.pyg.org/whl/torch-1.8.0%2Bcu111/torch_sparse-0.6.12-cp36-cp36m-linux_x86_64.whl (3.9 MB)
2021-09-08T13:52:22.382-07:00	Collecting torch-geometric Downloading torch_geometric-1.7.2.tar.gz (222 kB)

However, I get the following error when importing PyG:
Traceback (most recent call last):
  File "train_graph.py", line 23, in <module>
    from torch_geometric.nn import GATv2Conv, GATConv
  File "/opt/conda/lib/python3.6/site-packages/torch_geometric/__init__.py", line 5, in <module>
    import torch_geometric.data
  File "/opt/conda/lib/python3.6/site-packages/torch_geometric/data/__init__.py", line 1, in <module>
    from .data import Data
  File "/opt/conda/lib/python3.6/site-packages/torch_geometric/data/data.py", line 8, in <module>
    from torch_sparse import coalesce, SparseTensor
  File "/opt/conda/lib/python3.6/site-packages/torch_sparse/__init__.py", line 16, in <module>
    f'{library}_{suffix}', [osp.dirname(__file__)]).origin)
  File "/opt/conda/lib/python3.6/site-packages/torch/_ops.py", line 104, in load_library
    ctypes.CDLL(path)
  File "/opt/conda/lib/python3.6/ctypes/__init__.py", line 348, in __init__
    self._handle = _dlopen(self._name, mode)
Traceback (most recent call last): File "train_graph.py", line 23, in <module> from torch_geometric.nn import GATv2Conv, GATConv File "/opt/conda/lib/python3.6/site-packages/torch_geometric/__init__.py", line 5, in <module> import torch_geometric.data File "/opt/conda/lib/python3.6/site-packages/torch_geometric/data/__init__.py", line 1, in <module> from .data import Data File "/opt/conda/lib/python3.6/site-packages/torch_geometric/data/data.py", line 8, in <module> from torch_sparse import coalesce, SparseTensor File "/opt/conda/lib/python3.6/site-packages/torch_sparse/__init__.py", line 16, in <module> f'{library}_{suffix}', [osp.dirname(__file__)]).origin) File "/opt/conda/lib/python3.6/site-packages/torch/_ops.py", line 104, in load_library ctypes.CDLL(path) File "/opt/conda/lib/python3.6/ctypes/__init__.py", line 348, in __init__ self._handle = _dlopen(self._name, mode)

And also:
OSError: /opt/conda/lib/python3.6/site-packages/torch_sparse/_version_cuda.so: undefined symbol: _ZN5torch3jit17parseSchemaOrNameERKSs

I noticed that if I don't force using the provided wheels, the wheels get build and run without issue. Its just very slow and something I would like to speed up if possible.
2021-09-08T13:27:41.702-07:00	Building wheels for collected packages: torch-scatter, torch-sparse, torch-geometric, wrapt, configobj, python-louvain, pycollada Building wheel for torch-scatter (setup.py): started
2021-09-08T13:28:45.719-07:00	Building wheel for torch-scatter (setup.py): still running...
2021-09-08T13:30:49.751-07:00	Building wheel for torch-scatter (setup.py): still running...
2021-09-08T13:31:56.769-07:00	Building wheel for torch-scatter (setup.py): still running...
2021-09-08T13:33:25.792-07:00	Building wheel for torch-scatter (setup.py): still running...
2021-09-08T13:34:25.808-07:00	Building wheel for torch-scatter (setup.py): still running...
2021-09-08T13:35:59.832-07:00	Building wheel for torch-scatter (setup.py): still running...
2021-09-08T13:36:20.838-07:00	Building wheel for torch-scatter (setup.py): finished with status 'done' Created wheel for torch-scatter: filename=torch_scatter-2.0.8-cp36-cp36m-linux_x86_64.whl size=3259643 sha256=70b1cafb2168a6e6bd303e0c2a780861797376bf2baa83880640b03ad5e67fc6 Stored in directory: /root/.cache/pip/wheels/1a/f8/0d/55b85126dafd101a8d2fcee9250d08c8f73fb3f2c8a318f848 Building wheel for torch-sparse (setup.py): started
2021-09-08T13:37:23.854-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T13:39:46.891-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T13:40:47.907-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T13:43:09.944-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T13:44:10.960-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T13:46:32.999-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T13:47:36.015-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T13:48:48.034-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T13:52:21.090-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T13:53:22.105-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T13:54:23.121-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T13:55:24.137-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T13:56:27.154-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T13:58:20.183-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T13:59:26.200-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T14:00:26.216-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T14:01:30.232-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T14:02:31.247-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T14:03:35.264-07:00	Building wheel for torch-sparse (setup.py): still running...
2021-09-08T14:04:20.275-07:00	Building wheel for torch-sparse (setup.py): finished with status 'done' Created wheel for torch-sparse: filename=torch_sparse-0.6.12-cp36-cp36m-linux_x86_64.whl size=2742194 sha256=f4e3b8c7497a6dc08455741bdc3649c5c9e2b0b424d86d55d104c554292a8437 Stored in directory: /root/.cache/pip/wheels/d5/83/f3/83de23cd7ee8d2ed4ae35154c051007a66c5a0c5df84bf425d Building wheel for torch-geometric (setup.py): started Building wheel for torch-geometric (setup.py): finished with status 'done' Created wheel for torch-geometric: filename=torch_geometric-1.7.2-py3-none-any.whl size=388129 sha256=1b8565ebe126ac10f89164e3b5868f16bf8dd774532dad61cf7622fb10732766 Stored in directory: /root/.cache/pip/wheels/ee/06/5d/34ba326d1f011a204f44a0c6d19d7819a02a73785d452973c6 Building wheel for wrapt (setup.py): started

Any ideas on how best to proceed? Thanks!
Environment

OS: Linux
Python version: 3.6
PyTorch version: 1.8.1
CUDA/cuDNN version: 11.1
GCC version:
How did you try to install PyTorch Geometric and its extensions (wheel, source): See above
Any other relevant information:

Checklist

[x] I followed the installation guide.
[x] I cannot find my error message in the FAQ.
[x] I set up CUDA correctly and can compile CUDA code via nvcc.
[ ] I do have multiple CUDA versions on my machine.

Thanks for reporting. If I'm not mistaken, it looks like AWS provides their own compiled binaries for PyTorch, which might cause this trouble as we are building based on the binaries provided from PyTorch directly. What happens if you change these lines by loading official PyTorch wheels.

Ah yes that could be the case. Right now I am not building the docker container (just running my code in it), so that would definitely be something to try. It's only a minor annoyance right now so I will just keep building the wheels for now.
For the record a requirements.txt file as follows is what I'm using (slow but works):
torch-scatter
torch-sparse
torch-geometric


APP-3811 - Provisioning wrappers

This is waiting on https://github.com/viamrobotics/api/pull/438
Add client wrappers and tests for the new provisioning API.
In its current state, this PR also adds generated code for provisioning that I manually generated from the above linked PR/branch. This won't actually get merged, but it is included here so I could write the wrappers and tests - and other work in the mobile app while I wait for that work to get finished.

@njooma i marked this as draft because we'll want to wait for the API change to come through first. But could you take a look at the client and the tests in the meantime? Thanks!

Great start. Do you not have to also add this to the list of library exports though?

ah yup, totally forgot that. Great catch, thanks!


chore: fix package bundle files

ignore from the package the test files
remove dotfiles from the package
include man page since it was ignored by the .gitignore

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Where is the expand terminal panel button

Type: Bug
Maybe I missed something in the releases notes, but I am not convinced.
I noticed that the button to expand/reduce the terminal panel disappeared?
Before

Now

Last seen (on v1.82)

VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:51:52.184Z)
OS version: Windows_NT x64 10.0.22631
Modes: x

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.84.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

I already have the latest version. Message updated.

It is only available when you have set Panel Alignment to Center

Ah, right! Center* 🤭
I changed the alignment recently. I hadn't noticed that it was the cause of the button disappearing, and even less that it was done on purpose.
Thank you for the clarification.


Crash on Chrome WebGPU for kernels that bind with aliasing.

Describe the bug

If some operations use a tensor multiple times, Chrome can crash complaining it's a violation of the WebGPU specification to bind aliased buffers.
To Reproduce
let tensor = Tensor::<Backend, 2>::zeros([2, 1], &device);
let test: Tensor<Backend, 2> = tensor.clone().mul(tensor).sum_dim(1); // fails!
//  for some reason works if tensor is 1D? Or if not summing / presumable some other operation?
// It might be slightly more involved than I thought!
// The following does work:
// let test: Tensor<Backend, 2> = tensor.clone().powf_scalar(2.0).sum_dim(1);

Run this code on WebGPU on Chrome (firefox nightly seems fine with it - though I've had a host of other issues on firefox so generally it seems less complete).
The output looks like:
Writable storage buffer binding aliasing found between [BindGroup (unlabeled)] set at bind group index 0, binding index 0, and [BindGroup (unlabeled)] set at bind group index 0, binding index 1, with overlapping ranges (offset: 0, size: 8) and (offset: 0, size: 8) in [Buffer (unlabeled)].
 - While encoding [ComputePassEncoder (unlabeled)].DispatchWorkgroups(1, 1, 1).

<IP_ADDRESS>/:1 [Invalid CommandBuffer "Command Encoder" from CommandEncoder "Command Encoder"] is invalid.
 - While calling [Queue].Submit([[Invalid CommandBuffer "Command Encoder" from CommandEncoder "Command Encoder"]])

Expected behavior
Don't crash :) How to achieve that seems trickier. You'd need different WGSL versions of the kernel depending on whether inputs/outputs are the same or not. CubeCL might be able to handle that, but I'm not entirey sure what 's best here!

CC @louisfd @nathanielsimard


cannot build

I have added these lines to a Dockerfile
https://github.com/russelljjarvis/tests/blob/master/Dockerfile#L28-L37
WORKDIR $HOME/wormtests
COPY . $HOME/wormtests
ENV OPENWORM_HOME .
RUN echo $OPENWORM_HOME
RUN sudo /opt/conda/bin/pip install quantities
# Comment out clones when done
RUN git clone https://github.com/openworm/ChannelWorm.git
RUN git clone https://github.com/openworm/CElegansNeuroML.git
RUN sudo /opt/conda/bin/pip install -e . --process-dependency-links

It almost installs by running the last run, but it fails on quantities:
Requirement already satisfied: python-dateutil>=2 in /opt/conda/lib/python3.5/site-packages (from pandas>=0.18->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: pytz>=2011k in /opt/conda/lib/python3.5/site-packages (from pandas>=0.18->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: numpy>=1.7.0 in /opt/conda/lib/python3.5/site-packages (from pandas>=0.18->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: setuptools>=18.5 in /opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg (from ipython->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: decorator in /opt/conda/lib/python3.5/site-packages (from ipython->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: simplegeneric>0.8 in /opt/conda/lib/python3.5/site-packages (from ipython->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: pygments in /opt/conda/lib/python3.5/site-packages (from ipython->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: traitlets>=4.2 in /opt/conda/lib/python3.5/site-packages (from ipython->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: prompt-toolkit<2.0.0,>=1.0.3 in /opt/conda/lib/python3.5/site-packages (from ipython->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: pickleshare in /opt/conda/lib/python3.5/site-packages (from ipython->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: pexpect; sys_platform != "win32" in /opt/conda/lib/python3.5/site-packages (from ipython->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: six>=1.10 in /opt/conda/lib/python3.5/site-packages (from matplotlib->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: cycler>=0.10 in /opt/conda/lib/python3.5/site-packages/cycler-0.10.0-py3.5.egg (from matplotlib->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in /opt/conda/lib/python3.5/site-packages (from matplotlib->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: beautifulsoup4 in /opt/conda/lib/python3.5/site-packages (from bs4->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: tornado>=4.0 in /opt/conda/lib/python3.5/site-packages (from ipykernel->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: jupyter-client in /opt/conda/lib/python3.5/site-packages (from ipykernel->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: ipython-genutils in /opt/conda/lib/python3.5/site-packages (from nbformat->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: jupyter-core in /opt/conda/lib/python3.5/site-packages (from nbformat->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: jsonschema!=2.5.0,>=2.4 in /opt/conda/lib/python3.5/site-packages (from nbformat->sciunit>=0.19->owtests==0.1)
Collecting gitdb2>=2.0.0 (from gitpython->sciunit>=0.19->owtests==0.1)
  Downloading gitdb2-2.0.3-py2.py3-none-any.whl (63kB)
Requirement already satisfied: h5py>=2.3.1 in /opt/conda/lib/python3.5/site-packages (from allensdk==0.14.2->neuronunit>=0.19->owtests==0.1)
Requirement already satisfied: jinja2>=2.7.3 in /opt/conda/lib/python3.5/site-packages (from allensdk==0.14.2->neuronunit>=0.19->owtests==0.1)
Requirement already satisfied: pynrrd>=0.2.1 in /opt/conda/lib/python3.5/site-packages/pynrrd-0.2.1-py3.5.egg (from allensdk==0.14.2->neuronunit>=0.19->owtests==0.1)
Requirement already satisfied: future>=0.14.3 in /opt/conda/lib/python3.5/site-packages/future-0.16.0-py3.5.egg (from allensdk==0.14.2->neuronunit>=0.19->owtests==0.1)
Requirement already satisfied: requests in /opt/conda/lib/python3.5/site-packages (from allensdk==0.14.2->neuronunit>=0.19->owtests==0.1)
Requirement already satisfied: requests-toolbelt in /opt/conda/lib/python3.5/site-packages/requests_toolbelt-0.8.0-py3.5.egg (from allensdk==0.14.2->neuronunit>=0.19->owtests==0.1)
Requirement already satisfied: simplejson>=3.10.0 in /opt/conda/lib/python3.5/site-packages (from allensdk==0.14.2->neuronunit>=0.19->owtests==0.1)
Requirement already satisfied: argparse in /opt/conda/lib/python3.5/site-packages/argparse-1.1-py3.5.egg (from pyNeuroML>-0.3.10->neuronunit>=0.19->owtests==0.1)
Collecting pylems>=<IP_ADDRESS> (from pyNeuroML>-0.3.10->neuronunit>=0.19->owtests==0.1)
  Downloading PyLEMS-<IP_ADDRESS>.tar.gz (51kB)
Requirement already satisfied: airspeed==0.5.4dev-20150515 in /opt/conda/lib/python3.5/site-packages/airspeed-0.5.4.dev20150515-py3.5.egg (from pyNeuroML>-0.3.10->neuronunit>=0.19->owtests==0.1)
Collecting libNeuroML>=0.2.39 (from pyNeuroML>-0.3.10->neuronunit>=0.19->owtests==0.1)
  Downloading libNeuroML-0.2.39.tar.gz (194kB)
Collecting apipkg>=1.4 (from execnet->neuronunit>=0.19->owtests==0.1)
  Downloading apipkg-1.4-py2.py3-none-any.whl
Collecting backports.weakref (from backports.tempfile->neuronunit>=0.19->owtests==0.1)
  Downloading backports.weakref-1.0.post1-py2.py3-none-any.whl
Requirement already satisfied: wcwidth in /opt/conda/lib/python3.5/site-packages (from prompt-toolkit<2.0.0,>=1.0.3->ipython->sciunit>=0.19->owtests==0.1)
Requirement already satisfied: pyzmq>=13 in /opt/conda/lib/python3.5/site-packages (from jupyter-client->ipykernel->sciunit>=0.19->owtests==0.1)
Collecting smmap2>=2.0.0 (from gitdb2>=2.0.0->gitpython->sciunit>=0.19->owtests==0.1)
  Downloading smmap2-2.0.3-py2.py3-none-any.whl
Requirement already satisfied: MarkupSafe in /opt/conda/lib/python3.5/site-packages (from jinja2>=2.7.3->allensdk==0.14.2->neuronunit>=0.19->owtests==0.1)
Requirement already satisfied: cachetools==0.8.0 in /opt/conda/lib/python3.5/site-packages/cachetools-0.8.0-py3.5.egg (from airspeed==0.5.4dev-20150515->pyNeuroML>-0.3.10->neuronunit>=0.19->owtests==0.1)
Building wheels for collected packages: quantities, neo, igor, allensdk, pyNeuroML, pyNN, pylems, libNeuroML
  Running setup.py bdist_wheel for quantities: started
  Running setup.py bdist_wheel for quantities: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/88/ff/0e/34ded60ca6cddc546c9d824f41950fd972e6fdb5f5352acb80
  Running setup.py bdist_wheel for neo: started
  Running setup.py bdist_wheel for neo: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/0c/d1/7b/0dd873da92881840dda3bc6c17f1d524c1c91d61eecd7fc31c
  Running setup.py bdist_wheel for igor: started
  Running setup.py bdist_wheel for igor: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/7b/bd/03/ad854b951a448202054743cd21f08823414b0030ec9cd76eda
  Running setup.py bdist_wheel for allensdk: started
  Running setup.py bdist_wheel for allensdk: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/4c/5e/31/3c73255526e4aae0e48a02b9f3d84b197e66c42061c505fd71
  Running setup.py bdist_wheel for pyNeuroML: started
  Running setup.py bdist_wheel for pyNeuroML: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/db/9a/9f/08eca622ddadb33c9baec2a4d540706be4be19e439eff6bbc1
  Running setup.py bdist_wheel for pyNN: started
  Running setup.py bdist_wheel for pyNN: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/c5/14/8d/827d238f205e1a8f29ec6bc7ef0047c8f0444f9ad48fb15247
  Running setup.py bdist_wheel for pylems: started
  Running setup.py bdist_wheel for pylems: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/6e/a3/2b/4a086899edf741330511614b01dc46e1463e10d72cd8f3777d
  Running setup.py bdist_wheel for libNeuroML: started
  Running setup.py bdist_wheel for libNeuroML: finished with status 'done'
  Stored in directory: /root/.cache/pip/wheels/08/3d/22/133d74ce8d20caec9e5a1cffa6eab09dd6f4774eb259db610d
Successfully built quantities neo igor allensdk pyNeuroML pyNN pylems libNeuroML
Installing collected packages: quantities, smmap2, gitdb2, gitpython, sciunit, neo, igor, allensdk, pylems, libNeuroML, pyNeuroML, pyNN, apipkg, execnet, backports.weakref, backports.tempfile, neuronunit, owtests
  Found existing installation: quantities 0.11.1
    Uninstalling quantities-0.11.1:
      Successfully uninstalled quantities-0.11.1
  Rolling back uninstall of quantities
Exception:
Traceback (most recent call last):
  File "/opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py", line 2603, in get_entry_map
    ep_map = self._ep_map
  File "/opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py", line 2574, in __getattr__
    raise AttributeError(attr)
AttributeError: _ep_map

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/conda/lib/python3.5/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/opt/conda/lib/python3.5/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/opt/conda/lib/python3.5/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/opt/conda/lib/python3.5/site-packages/pip/req/req_install.py", line 851, in install
    self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
  File "/opt/conda/lib/python3.5/site-packages/pip/req/req_install.py", line 1064, in move_wheel_files
    isolated=self.isolated,
  File "/opt/conda/lib/python3.5/site-packages/pip/wheel.py", line 247, in move_wheel_files
    prefix=prefix,
  File "/opt/conda/lib/python3.5/site-packages/pip/locations.py", line 140, in distutils_scheme
    d = Distribution(dist_args)
  File "/opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/setuptools/dist.py", line 316, in __init__
    for ep in pkg_resources.iter_entry_points('distutils.setup_keywords'):
  File "/opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py", line 731, in iter_entry_points
    entries = dist.get_entry_map(group)
  File "/opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py", line 2606, in get_entry_map
    self._get_metadata('entry_points.txt'), self
  File "/opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py", line 2336, in parse_map
    for group, lines in data:
  File "/opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py", line 2935, in split_sections
    for line in yield_lines(s):
  File "/opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py", line 2202, in yield_lines
    for ss in strs:
  File "/opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py", line 2531, in _get_metadata
    if self.has_metadata(name):
  File "/opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py", line 1463, in has_metadata
    return self.egg_info and self._has(self._fn(self.egg_info, name))
  File "/opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py", line 1823, in _has
    return zip_path in self.zipinfo or zip_path in self._index()
  File "/opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py", line 1703, in zipinfo
    return self._zip_manifests.load(self.loader.archive)
  File "/opt/conda/lib/python3.5/site-packages/setuptools-27.2.0-py3.5.egg/pkg_resources/__init__.py", line 1643, in load
    mtime = os.stat(path).st_mtime
FileNotFoundError: [Errno 2] No such file or directory: '/opt/conda/lib/python3.5/site-packages/quantities-0.11.1-py3.5.egg'
The command '/bin/sh -c sudo /opt/conda/bin/pip install -e . --process-dependency-links' returned a non-zero code: 2
russell@rjjarvis:~/git/wormtests$

Without docker and just raw BASH on Ubuntu I get:
Installed /tmp/easy_install-l4XsIA/allensdk-0.14.2/.eggs/snowballstemmer-1.2.1-py2.7.egg
Searching for docutils>=0.11
Reading https://pypi.python.org/simple/docutils/
Best match: docutils 0.14
Downloading https://pypi.python.org/packages/84/f4/5771e41fdf52aabebbadecc9381d11dea0fa34e4759b4071244fa094804c/docutils-0.14.tar.gz#md5=c53768d63db3873b7d452833553469de
Processing docutils-0.14.tar.gz
Writing /tmp/easy_install-l4XsIA/allensdk-0.14.2/temp/easy_install-dcHI3d/docutils-0.14/setup.cfg
Running docutils-0.14/setup.py -q bdist_egg --dist-dir /tmp/easy_install-l4XsIA/allensdk-0.14.2/temp/easy_install-dcHI3d/docutils-0.14/egg-dist-tmp-XTZa5M
warning: no files found matching 'MANIFEST'
warning: no previously-included files matching '*.pyc' found under directory '*'
warning: no previously-included files matching '*~' found under directory '*'
warning: no previously-included files matching '.DS_Store' found under directory '*'
zip_safe flag not set; analyzing archive contents...
docutils.writers.docutils_xml: module references __path__
docutils.writers.html4css1.__init__: module references __file__
docutils.writers.pep_html.__init__: module references __file__
docutils.writers.html5_polyglot.__init__: module references __file__
docutils.writers.odf_odt.__init__: module references __file__
docutils.writers.s5_html.__init__: module references __file__
docutils.writers.latex2e.__init__: module references __file__
docutils.parsers.rst.directives.misc: module references __file__
creating /tmp/easy_install-l4XsIA/allensdk-0.14.2/.eggs/docutils-0.14-py2.7.egg
Extracting docutils-0.14-py2.7.egg to /tmp/easy_install-l4XsIA/allensdk-0.14.2/.eggs

Installed /tmp/easy_install-l4XsIA/allensdk-0.14.2/.eggs/docutils-0.14-py2.7.egg
error: idna 2.0 is installed but idna<2.7,>=2.5 is required

Even after running:
 sudo pip install --upgrade idna

You must have old cruft in your Docker build.  For example, you shouldn't be installing quantities manually anymore (the bug that motivated it was fixed months ago).  I have no problem (at least through the first few steps with):
docker run -it jupyter/scipy-notebook /bin/bash

and then inside the container
mkdir openworm
export OPENWORM_HOME=/home/jovyan/work/openworm
cd $OPENWORM_HOME
git clone http://github.com/openworm/tests; cd tests
pip install -e . --process-dependency-links

That at least gets you past the first part of installation.  I'll check to see if the subprojects are installing correctly now.

AOK, yes well it installs on raw system now.
If I git clone the lastest idna
and then run
sudo python3 setup.py install, in idna and then owtests.
I have not tried opening the musclemodel.ipynb yet, as that would be the real test of if everything works.
I prefer to run on Docker instead of the raw system. Docker builds just give me more confidence in the standardization of the environment.

I have replicated this exercise, using jupyter/scipy-notebook as above.
I think I can have a much fresher Dockerfile:
FROM jupyter/scipy-notebook
# Comment out clones when done
RUN git clone https://github.com/openworm/ChannelWorm.git
WORKDIR ChannelWorm
RUN sudo /opt/conda/bin/pip install -e .
RUN git clone https://github.com/openworm/CElegansNeuroML.git
WORKDIR CElegansNeuroML
RUN sudo /opt/conda/bin/pip install -e .
ENV OPENWORM_HOME pwd
RUN sudo /opt/conda/bin/pip install -e . --process-dependency-links

Also things are better on raw BASH an overlooked dependancy is _tkinter',
Error:
ImportError: No named '_tkinter', please install the python3-tk package
Workaround:
sudo apt-get install python3-tk

I'm not sure where all of these errors are coming from, but if you move to the jupyter/scipy-notebook docker container they will all go away.


File clash if tbi index already exists

I have a nextflow module that generates a vcf and it's index file.
When I try to run any of the getVariant functions, I get the following error:
  java.nio.file.AccessDeniedException: .nf-test/tests/25328acade0577f6e5190e8432c5ddef/work/f2/df834043b4d2c542a5ec67983a4f50/sample_1.vcf.gz.tbi

I think it's because nft-vcf is trying to create an index file where one exists already, since when I removed the line from my nextflow module that created the index, the error went away.

Thanks for reporting, the next version will create an index only if not available.


Copy Update: On-boarding Screen 1

As a result of the Columbia field trial, we would like to change the wording on the very first on-boarding screen
FROM: "We don't collect info that can identify you.  Your identity and location are always confidential"
TO: "We don't collect info that can identify you.  The app never tracks your location."

fixed, avail in next build

Looks good. Needs translations though.


Unusual GPU behavior while circling mouse over CB

Discord username
No response
What type of issue is this?
Permanent – Occurring repeatably
Is this issue blocking you from using Enso?

[ ] Yes, I can't use Enso because of this issue.

Is this a regression?

[ ] Yes, previous version of Enso did not have this issue.

What issue are you facing?
While circling mouse over CB the performance of application (measured in FPS here) drastically drops - same drop can be observed with GPU utilisation. It seems that GPU is not being served data fast enough to be utilized to its full potential.
Observe this GPU as it's the one handling Enso:

Expected behaviour
With fast selector switching over components GPU should be utilized more not less due to more data to be processed and displayed.
How we can reproduce it?
No response
Screenshots or screencasts
https://user-images.githubusercontent.com/108271897/233552440-a2026890-aa73-437b-b585-b2a7c446156c.mp4
Enso Version
2023.04.20
Browser or standalone distribution
Standalone distribution
Browser Version or standalone distribution
standalone
Operating System
Windows
Operating System Version
Win11pro 22H2 22621.1555
Hardware you are using
12th Gen Intel(R) Core(TM) i9-12900HK / RTX3060 Laptop / Nvidia Drivers 531.68

Performance drop was also observed by us yesterday on @jdunkerley computer during the demo.

Actually I can observe the same behavior on my Mac with the package from 21.04.2023

Opening the component browser feels a lot more sluggish than it did a few weeks ago.
Appears to take a while to render even on second opening now.

@jdunkerley as we agreed, would you be able to locate which PR introduced it? Or anyone else assigned by you of course. We need to investigate what happened there.

I'm already checking the versions as I'm recording the 101 vid. But it's tricky. Here are my findings so far:
2<IP_ADDRESS> - CB laggy
2023.04.18 - CB laggy
2023.03.28 - CB snappy (also much faster start)
2023.03.25 - CB laggy

@xvcgreg interesting. If you'd be able to find exact date when faster/slower CB was shipped, this would help us debug it a lot. Between your dates there were probably different releases, so we just need info - "this exact release made it slower", "this exact release made is faster"

@wdanilo sorry for not writing the full name of the build - those are recent Nightly builds - I use 0 after the first dot to have the proper ordering of directories when storing them on my drive.

@wdanilo, there were no Nightly releases in between those two

What I have found out is that the sluggish behavior of the Component Browser can be addressed by the selector changing its position in the CB on several methods. It can be observed here, and happens on all nightly builds (and one dev build) from last month:
https://user-images.githubusercontent.com/108271897/234067686-1249ed57-a0d5-446f-b862-a53bb9157b8b.mp4
Please observe how GPU behaves on me fast-moving mouse over methods in one column. When I'm over greyed out components it has no impact on the GPU - when I switch to the cultured ones it seems to drop its performance on several functions quite regularly.
Builds tested can be seen on the list in the comment above.

This task is in "Design" state. @wdanilo are you working on it? Is it still reproducible after last performance improvements?

This task is in "Design" state. @wdanilo are you working on it? Is it still reproducible after last performance improvements?

@farmaazon Performance of CB got significantly better on fast mouse movement over components (even with the debugger turned on)
https://github.com/enso-org/enso/assets/108271897/8d525c91-c662-445c-9512-0567956deeed

Then I will close it as fixed. Probably Ilya's work on documentation helped here, maybe other performance work as well.


Nice work! EbamaDiffusionPipeline is not defined, would you please help to check? thanks very much.

So sorry about this. I've already updated the name in diffusion_pipeline.py.

So sorry about this. I've already updated the name in diffusion_pipeline.py.

thanks. BTW, Is that the "max_iter_to_alter=1" in line 339 should be removed?

No. In fact I should delete max_iter_to_alter in line 395. In each diffusion step, we only do 1 optimization step. No need to do more optimization steps. (this renaming error was resulted from one of my first experiments on the number of optimization steps. )

Feel free to reach out to me in this issue if this hasn't solved your problem. I am more than glad to help.

I've updated diffusion_pipeline.py again on self.i 's definition. We only take the update in the first 25 steps.

Thank you very much for your reply, I will try it.


fix damage multi slider

fixes stupid mistake of a slider being completely broken which causes to always one shot the enemy...

good fix, thanks!


Fix modal deployment example

Closes https://github.com/tailscale/golink/issues/151

Sorry, not going to fix the bot. I am doing this from a phone. I give full permission to use the above commits to do whatever they want with it, respecting the original licenses. (or whatever). Feel free to do this under your own name, without attribution.


Move Unlock Vaults Out of Admin

Issue
In the unfortunate case listing of a secondary sale fails the NFT may be locked in a defective vault.In order to unlock the vault the user has to go to the admin area. However, only the store owner has a link in the nav for the page plus it has items that only the admin can do.
Goal
Make unlocking NFTs to something accessible for all users.

Related:
As a user, when I create a listing on another users store, a secondary sale, I need a way to perform admin actions, like unwind vault.
The admin link doesn't show up for these people, its not there store.


[Event Hubs] Checkpoint store should use lowercase names in blob paths

Summary
The contract for the prefix used for naming blobs associated with ownership and checkpoint information is that all elements should be treated as lower-case.  Currently, the Java checkpoint store implementation is not adjusting case for the namespace, Event Hub, nor consumer group.  This should be corrected to allow for cross-language use of checkpoint data.
Success criteria
The path prefix used for blobs is lower-case and culture neutral.
Example:
Given the following data:

Fully Qualified Namespace:  myNamespace.servicebus.windows.net
Event Hub: myEventHub
Consumer Group: $Default

The name of the ownership blob for partition 0 should be:  mynamespace.servicebus.windows.net/myeventhub/$default/ownership/0
References and Resources

BlobCheckpointStore::getBlobPrefix

@anuchandy, @conniey:  Please prioritize for the September milestone, if possible.


Multi instance - exclude queues

Changes looks good. Just remove the sysout in RabbitMQMonitor.TaskRunnable

will do and let you know here satish
On Tue, Jan 10, 2017 at 6:19 PM, Satish Reddy M<EMAIL_ADDRESS>wrote:

Changes looks good. Just remove the sysout in RabbitMQMonitor.TaskRunnable
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Appdynamics/rabbitmq-monitoring-extension/pull/10#issuecomment-271567071,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV1-p8qFeTXNgk4fMAtgaRoDa8U_qK_2ks5rQ348gaJpZM4Le6St
.

Made the changes
On Tue, Jan 10, 2017 at 8:28 PM, Deepak Kalra<EMAIL_ADDRESS>wrote:

will do and let you know here satish
On Tue, Jan 10, 2017 at 6:19 PM, Satish Reddy M<EMAIL_ADDRESS>wrote:

Changes looks good. Just remove the sysout in RabbitMQMonitor.TaskRunnable
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Appdynamics/rabbitmq-monitoring-extension/pull/10#issuecomment-271567071,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV1-p8qFeTXNgk4fMAtgaRoDa8U_qK_2ks5rQ348gaJpZM4Le6St
.

Changes looks good.


Calling REST APIs On-behalf Of My Associated Accounts

Imagine my user account in WSO2 Identity Server is john. I have also one other associated user account in the identity server under the name, ben.
I use an application, which shows all my user accounts in the identity server once I successfully logged in.
As of now, the above scenario can be done successfully. The application can call the WSO2 Identity Server user account association APIs and list all the associated accounts on-behalf of me(once I logged in).
But I want to see some of my attributes of the associated accounts(Ex: email addresses). This should be possible in a way that the application calls WSO2 IS SCIM APIs on-behalf of my associated accounts, then retrieve any attributes, without me logging in as each associated user(Ex: When I log in as john, the email address of ben should be shown by the application).
The idea here is that all my associated accounts are essentially mine, therefore once logged in as a user, any of the subsequent REST API calls on-behalf of any associated user account, should be allowed.

Changing the authorized user dynamically will be an approach that will not work with any other resource server other than for the IS product APIs.
Therefore, fixing the authentication valve and using the header to call REST APIs on behalf of the associated user approach is not suitable.
Since we have introduced a grant type to switch and get tokens on behalf of the associated user, an appropriate way of doing this requirement is to get a new access token via the switch grant, then call REST APIs as required.
Therefore this issue is addressed at https://github.com/wso2/product-is/issues/6734.


dont work with hooks

if u try use hooks.. its do not works.
Ex:
const [price, setPrice] = useState('');
<CurrencyInput
decimalSeparator=","
thousandSeparator="."
prefix="R$ "
onChangeEvent={(event, maskedvalue, floatvalue) =>
setPrice(floatvalue)
}
/>
the input keep reseting...
can someone try fix this?

use also value={price}
Full example:
<CurrencyInput decimalSeparator="," thousandSeparator="." precision="2" suffix=" €"
  value={price}
  selectAllOnFocus
  onChange={(_, val) => setPrice(val)}/>

use also value={price}
Full example:
<CurrencyInput decimalSeparator="," thousandSeparator="." precision="2" suffix=" €"
  value={price}
  selectAllOnFocus
  onChange={(_, val) => setPrice(val)}/>

Tks man! Its worked for me!

Still not working for me, do you any comment? Thanks

Still not working for me, do you any comment? Thanks

My full code for this lib: https://github.com/patricklongo1/gympoint-web/blob/master/src/pages/PlanRegister/index.js
@important:
import CurrencyInput from 'react-currency-input';
const [priceMonth, setPriceMonth] = useState('');
function handleInput(floatvalue) {
setPriceMonth(floatvalue);
}
return (

PREÇO MENSAL
 handleInput(floatvalue)}
            />

)
Hope its help u!

https://github.com/ericblade/react-currency-input/issues/15


Dev/travis build matrix

This patch combines linux and osx builds on travis to have a bit more coverage.
@greglandrum @rvianello there are a few oddities that should be reviewed, I have marked these below.

I might also add a test coverage build as well for reporting purposes.

@greglandrum - is there interest in exploding the build matrix for travis to include OS X?  If so, I'll fix the conflicts.

@bp-kelley : yes, I think including OS X testing would be great.


Add IM versions besides 1G00 and 1K00

Summary
Currently, this dictionary is only configured to build for PDS4 IM versions <IP_ADDRESS> (1G00) and <IP_ADDRESS> (1K00). This PR adds versions <IP_ADDRESS> (1F00), <IP_ADDRESS> (1H00), <IP_ADDRESS> (1I00), and <IP_ADDRESS> (1J00) as well, for compatibility and usability with archives using these other information model versions.
I started with <IP_ADDRESS> simply because

Prior to Version <IP_ADDRESS>, data dictionaries were built independently of the PDS4 Information Model, and therefore, their versions were managed independent of PDS4 Standards Versions.^1

However, if needed/desired, I think this could be further expanded to earlier versions without issue.
Testing
Ingest LDD file builds successfully against all of these versions using lddtool locally.

@benjhirsch @rsjoyner can you review this proposed update?


[Feature] Frozen nodes

I was thinking how to impose a specific functional form on expressions. One way to do this is to write a custom constraint, so that any expression breaking it will receive an infinite loss. But this seems very inefficient.
One potentially elegant way is to add a frozen attribute to the Node struct. If a specific node is "frozen," then mutations and crossovers should know not to mutate that particular node, and skip over it. This way, you could have SymbolicRegression.jl flexibly construct expressions based on existing functional forms.

For this to work, I think the frozen nodes would have to be at the root of the tree. I don't think you could have non-frozen parent nodes with frozen children.
If you assume that all the frozen nodes are at the root, and frozen, then it becomes reasonable to implement. You would basically only do crossovers between non-frozen nodes, which would guarantee that none of the frozen nodes are copied during crossover.
During mutation, one would make it so the prepend mutation could not operate if any nodes are frozen, and the insertion mutation only insert after the frozen nodes.
For example:
graph TD;
    A["+ (frozen)"]
    B["× (frozen)"]
    C["×"]
    D[3.2]
    E["a"]
    F["b"]
    G["c"]
    A-->B
    A-->C
    C-->D
    C-->E
    B-->F
    B-->G

This would represent the expression $+(\times(b, c), \times(3.2, a))$, or, $bc + 3.2 a$. Since the $+$ and $\times$ are frozen, you could only mutate and apply crossovers to the nodes below them. This would essentially guarantee that those nodes are always kept in-place and with the same connectivity.

@ChrisRackauckas - I think this might be a direction to get SINDy-like models within SymbolicRegression.jl?

Dear MilesCarnmer,
We in the ATOMS Lab are also interested in freezing nodes! We’ve been looking into this for a while. Our approach involves dividing the system into a "frozen" part + a "flexible" part handled by symbolic regression (PySR). Our aim is to integrate both parts in our expression for better predictive results.
our frozen part concept:

Here's our plan:

We want to add a frozen tree option in the Options.jl. So, user can turn it or turn it off.

We want to input the frozen_tree in to a new frozen loss function in LossFunctions.jl, which uses the frozen tree expression and the flexible part expression to get the loss.

The frozen loss will be used to calculate the loss for expressions in the hall of fame.jl.

Optionally, constants in the frozen part can be optimized using ConstantOptimization.jl, but the tree structure won’t change.

Currently, we're implementing these changes by forking the GIT SymbolicRegresssion.jl repository. Furthermore, we aim to avoid making high-level changes such as modifying the population, mutation, and crossover Julia files to prevent disruptions to the symbolic regression pipeline. We’d love to have a discussion with you regarding the work-plan, and ask you some technical questions about our current approach.

Hi @charishma13,
Thanks for reaching out, I'd be very happy to discuss this! If you email me I would be happy to join a zoom call.
For implementation I think the most general approach would be to fork DynamicExpressions.jl and add an extra field to the Node type for storing metadata, which would allow for storing an extra boolean parameter declaring a node as frozen or not.
For example, you could add an extra field as follows:
mutable struct Node{T,E} <: AbstractExpressionNode{T}
    degree::UInt8  # 0 for constant/variable, 1 for cos/sin, 2 for +/* etc.
    constant::Bool  # false if variable
    val::T  # If is a constant, this stores the actual value
    # ------------------- (possibly undefined below)
    feature::UInt16  # If is a variable (e.g., x in cos(x)), this stores the feature index.
    op::UInt8  # If operator, this is the index of the operator in operators.binops, or operators.unaops
+   extra::E  # NEW
    l::Node{T}  # Left child node. Only defined for degree=1 or degree=2.
    r::Node{T}  # Right child node. Only defined for degree=2.

    #################
    ## Constructors:
    #################
-   Node{_T}() where {_T} = new{_T}()
+   Node{_T}() where {_T} = new{_T,Nothing}()
+   Node{_T,_E}() where {_T,_E} = new{_T,_E}()
end

So the default extra field would just be nothing. Then to create a frozen node it be something like
tree = Node{Float64,@NamedTuple{frozen::Bool}}()
tree.extra.frozen = true  # or false
# Other properties here:
tree.degree = 0
tree.constant = true
tree.val = 1.0
...

Then the various mutation functions could have their random samplers be modified to filter out any nodes with a frozen attribute.
Cheers,
Miles


fix ckpt_convert module to work with dreambooth v2 models

Discord member @marcus.llewellyn reported that some civitai 2.1-derived checkpoints were not converting properly (probably dreambooth-generated): https://discord.com/channels/1020123559063990373/1078386197589655582/1078387806122025070

@blessedcoolant tracked this down to a missing key that was used to derive vector length of the CLIP model used by fetching the second dimension of the tensor at "cond_stage_model.model.text_projection".

On inspection, I found that the same second dimension can be recovered from key 'cond_stage_model.model.ln_final.bias', and use that instead. I hope this is correct; tested on multiple v1, v2 and inpainting models and they converted correctly.

While debugging this, I found and fixed several other issues:

model download script was not pre-downloading the OpenCLIP text_encoder or text_tokenizer. This is fixed.
got rid of legacy code in ckpt_to_diffuser.py and replaced with calls into model_manager
more consistent status reporting in the CLI.

LGTM. If any exceptions pop up with edge case models, we can see if they need a hot fix or not. For now, this might work. Hard to say without trying with a bunch of varied range models. But the code reads good.


Use Option<&Type> instead of &Option

More methods provided by Option can be used this way
Fixes #92
Should the documentation Returns a reference to the Option<...> also be changed?

Looks like you got them all.
I think that the documentation should be changed. Perhaps to:
Returns an Option<&...> containing the model parameters
Where parameters can be changed to whatever the variable is.


MATLAB install url not reachable

I tried to download https://dl.bintray.com/bstellato/generic/OSQP/0.6.2/install_osqp.m as documented in https://osqp.org/docs/get_started/matlab.html#binaries, but at least for me the download fails with 403 forbidden status.

This is probably related to https://github.com/oxfordcontrol/osqp/issues/284 .


Take module into account in BuildCaptureOptions

BuildCaptureOptions used to assume that the added functions are part of the
module containing the main function. That's not the case when the tests
are built using shared linking and the main module only contains GTest's
main function while all the test cases are located in shared libraries.
This commit fixes that by also returning the module file path when
looking for the function's address.

#3072


Switch to v2 API from /clientresp

The Plotly /clientresp API was replaced over 2 years ago and deprecated over 1 year ago. Switch to the V2 API documented at https://api.plot.ly

Note that /apigenimage is also deprecated.

Reference information for interested parties:
This client makes some HTTP API calls to our servers. We store grids of data and plots that contain styling information as well as references to the data in those grids. A Plotly plot is completely specified by a JSON configuration object. When it contains actual data it looks something like:
{
    "data": [
        {
            "marker": {
                "color": "rgb(245, 14, 251)"
            },
            "y": [
                40,
                49,
            ],
            "x": [
                2005,
                2013,
            ],
            "type": "bar",
        },
        {
            "marker": {
                "color": "rgb(131, 71, 139)"
            },
            "y": [
                36,
                48,
            ],
            "x": [
                2005,
                2013,
            ],
            "type": "bar",
        }
    ],
    "layout": {
        "height": 600,
        "titlefont": {
            "size": 23
        }
}

However when we store it in our database we store the plot with references to the data and store the data objects separately. The plot looks more like this:
{
    "data": [
        {
            "marker": {
                "color": "rgb(245, 14, 251)"
            },
            "ysrc": "ben:35:tter34",
            "xsrc": "ben:35:q235g",
            "type": "bar",
        },
        {
            "marker": {
                "color": "rgb(131, 71, 139)"
            },
            "ysrc": "ben:34:a345dw",
            "xsrc": "ben:34:er35gx",
            "type": "bar",
        }
    ],
    "layout": {
        "height": 600,
        "titlefont": {
            "size": 23
        }
}

y and x have been replaced with ysrc and xsrc and instead of arrays they are string references. Here the ben:34 part is a file ID or "fid". It is a unique identifier to a Plotly object with the syntax [username]:[idlocal]. The remaining part after the final colon is the column ID. So we have a reference to a grid and specific column ben:34:a345dw.
Our matlab client currently uses clientresp endpoint:
https://github.com/plotly/MATLAB-Online/blob/master/plotly/plotly_aux/makecall.m#L19
This endpoint handles all the referencing for the user and creates an anonymous grid behind the scenes. Plotly has a new set of APIs (what we call our version 2 (v2) APIs) that need to be called. The new APIs are more involved and strict but are also more consistent.
Instead of making a single "clientresp" call it would need to make a some calls to our "grid" endpoints to create or update the data. The result of those calls will be a grid with a defined fileID that contains column data with defined columnIds.
Those references then need to be inserted into the plot object so it contains references to data rather than data itself. This will involve removing x and the array of data and replacing it with a key xsrc with the value fileID:columnID.
The plot is then sent to Plotly using our "plot" APIs. A couple extra calls may need to be made if the use wants to alter permissions on their file.
Our API documentation is here: https://api.plot.ly/v2/

Is there a way, in the MATLAB version, to save the json data as a file to be used later in HTML page?
I know it can be done on Python (See https://ig248.gitlab.io/post/2018-11-05-plotly-sample/).

Is there a way, in the MATLAB version, to save the json data as a file to be used later in HTML page?
I know it can be done on Python (See https://ig248.gitlab.io/post/2018-11-05-plotly-sample/).


move channel name mentions parsing to frontend presentation functions CORE-6555

Patch does the following:
1.) Moves the code for getting channel name mentions into the function that creates the frontend type, PresentMessageUnboxed.  We essentially don't care about these mentions at all anywhere on the backend, so doing it at this level seems like the right place.
2.) In the old location of this code, we could get a deadlock if we are unboxing a conversation that is channel mentioned in a different conversation.

Needs https://github.com/keybase/keybase/pull/1890 to pass CI


On navbar get started button is not align properly

Is there an existing issue raised for this?

[X] I have searched the existing issues

Description:
Hey, on the navbar the GET STARTED button is not aligned properly.
If you think it needs to be fixed then please assign it to me under GSSOC'23.
Reason for Change:
N/A
Current Styling:
you can see here

Proposed Styling:
It should be align like this

Screenshots or Design Mockups (optional):
No response
Tick the appropriate boxes as per your choice

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'23 contributor
[X] I want to work on this issue

Okay @SubhamB2003 go for it


Easyform throws startup warnings

:fire:

these are common java warnings, they should just be disabled for the source file.


Jellyfin unstable 10.9 support - Status Malfunctioned

Hi,
i upgraded to the latest stable and saw that the merge versions plugin is working for my movies but still when i check the plugin page i see the Status Malfunctioned.
Sadly i have no idea how to provide a useful log, because at the start the log is already filled with massive entrys.
To replicate, you only would need a fresh instance with the plugin activated

Hi, I will update the plugin once the first beta version is released.


createElement optimisation

if the signature of createElement was changed to (Component) => (props, children) =>  then we could incur the cost of choosing the appropriate branch only once. This is made possible by the fact that for most uses (all recompose internal uses, at least) there's no use in checking for key in props as props passed to a component have key removed by react.
createElement would become something like
const createElement = (Component) => {
  if (isReferentiallyTransparentFunctionComponent(Component)) {
    const component = Component
    return (props, children) => {
      if (children) {
        return component({ ...props, children })
      }
      return component(props)
    }
  }

  return (props, children) => {
    if (children) {
      return <Component {...props}>{children}</Component>
    }

    return <Component {...props} />
  }
}

and users of createElement, eg. shouldUpdate something like this
const shouldUpdate = test => BaseComponent => {
  const create = createElement(Component)
  return class extends Component {
    shouldComponentUpdate(nextProps) {
      return test(this.props, nextProps)
    }

    render() {
      return create(this.props)
    }
  }
}

What do you think?

Neat idea, but couldn't we achieve the same thing with
const shouldUpdate = test => BaseComponent => {
  const create = createElement.bind(null, Component)
  return class extends Component {
    shouldComponentUpdate(nextProps) {
      return test(this.props, nextProps)
    }

    render() {
      return create(this.props)
    }
  }
}

?
Or we could curry createElement so that both forms work. I think there's value in createElement being a drop-in replacement for React.createElement().

Oh duh obviously .bind won't work haha. Then I would prefer a "curried" version that supported both signatures.

Actually, I don't think there's a way to "curry" createElement without making it incompatible with React's version. Maybe we need a separate version that we can use internally.

Closed by #147


effect on write cache

So I am considering this to control a service I use that pollutes the read cache with data that will get no hits or very low hit rate, sadly the service has no O_DIRECT feature. I am hoping this wil do what I want.
However my concern is if it also disables write cache akin to fsync I only want to disable read caching.
Is this possible, and if no can it be patched in?

You shuld be able to combine nocache with eatmydata, which will disable fsync and therefore prevent nocache from uncaching files that are under writeback. You will then successfully pollute your memory with writeback data. :)


AI ChatBot Integration

Implement an AI-powered chatbot on the FreelanceRevise platform to assist users with common queries, guide them through the service offerings, and enhance user engagement. The chatbot should be capable of handling inquiries related to account management, service listings, and payment processes.
Key Features to Consider Adding:

Natural Language Processing (NLP): Use NLP to understand and respond to user queries effectively.
24/7 Availability: Ensure the chatbot is available around the clock to assist users at any time.
Personalized Responses: Tailor responses based on user data and previous interactions.

Subject: Request to Assign ChatBot Integration Feature to Me
Hi itsmedollar15,
I hope this message finds you well! I am interested in contributing to your project and would like to work on the issue titled "AI ChatBot Integration" that I noticed in the repository.
I believe my skills in Natural Language Processing and Tailored AI response to user queries would allow me to make a meaningful contribution. Could you please assign this issue to me? I look forward to your positive response!
Thank you for considering my request!
Best regards,
Mohammed Arsal Ansari


Can only set Cookies for the current domain

i have
    public function setCookie($cookie, $value, array $params = [])
    {
        $params['name'] = $cookie;
        $params['value'] = $value;
        if (isset($params['expires'])) { // PhpBrowser compatibility
            $params['expiry'] = $params['expires'];
        }
        if (!isset($params['domain'])) {
            $urlParts = parse_url($this->config['url']);
            if (isset($urlParts['host'])) {
                $params['domain'] = $urlParts['host'];
            }
        }
        $this->webDriver->manage()->addCookie($params);
        $this->debugSection('Cookies', json_encode($this->webDriver->manage()->getCookies()));
    }
...
// i try to set cookie
$this->setCookie('X_REQUESTED_WITH', 'Codeception');

i get
1) Failed to see main page work in Application\HomaPageCest::checkMainPage (tests/acceptance/Application/HomePageCest.php)

  [Facebook\WebDriver\Exception\InvalidCookieDomainException] {"errorMessage":"Can only set Cookies for the current domain","request":{"headers":{"Accept":"application/json","Content-Length":"83","Content-Type":"application/json;charset=UTF-8","Host":"<IP_ADDRESS>:4444"},"httpVersion":"1.1","method":"POST","post":"{\"cookie\":{\"name\":\"X_REQUESTED_WITH\",\"value\":\"Codeception\",\"domain\":\"localhost\"}}","url":"/cookie","urlParsed":{"anchor":"","query":"","file":"cookie","directory":"/","path":"/cookie","relative":"/cookie","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/cookie","queryKey":{},"chunks":["cookie"]},"urlOriginal":"/session/a11fa280-fc01-11e5-9631-212cc96c18f7/cookie"}}

Scenario Steps:

 1. $I->setCookie("X_REQUESTED_WITH","Codeception") at tests/_support/AcceptanceTester.php:36

#1  /storage/proj/kovla/vendor/facebook/webdriver/lib/Remote/HttpCommandExecutor.php:287
#2  /storage/proj/kovla/vendor/facebook/webdriver/lib/Remote/RemoteWebDriver.php:507
#3  /storage/proj/kovla/vendor/facebook/webdriver/lib/Remote/RemoteExecuteMethod.php:38
#4  /storage/proj/kovla/vendor/facebook/webdriver/lib/WebDriverOptions.php:57

P.S. phantomjs v 2.1.1, facebook/webdriver 1.1.1, PHP 5.6
What i do wrong?

It is related to all the additional information that comes with headers. My setCookie looks like this:
    public function setCookie($name, $value, array $params = [])
    {
        $domain = parse_url($this->_getUrl(), PHP_URL_HOST);
        $expires = \Carbon\Carbon::now()->addHours(3);

        $cookie = array_merge([
            'domain' => $domain,
            'expires' => $expires->toCookieString(),
            'expiry' => $expires->timestamp,
            'httponly' => true,
            'path' => '/',
            'secure' => false,
        ], $params);

        parent::setCookie($name, $value, $cookie);
    }

your solution is the same, i still see
[Facebook\WebDriver\Exception\InvalidCookieDomainException] {"errorMessage":"Can only set Cookies for the current domain","request":{"headers":{"Accept":"application/json","Content-Length":"83","Content-Type":"application/json;charset=UTF-8","Host":"<IP_ADDRESS>:4444"},"httpVersion":"1.1","method":"POST","post":"{\"cookie\":{\"name\":\"X_REQUESTED_WITH\",\"value\":\"Codeception\",\"domain\":\"localhost\"}}","url":"/cookie","urlParsed":{"anchor":"","query":"","file":"cookie","directory":"/","path":"/cookie","relative":"/cookie","port":"","host":"","password":"","user":"","userInfo":"","authority":"","protocol":"","source":"/cookie","queryKey":{},"chunks":["cookie"]},"urlOriginal":"/session/a11fa280-fc01-11e5-9631-212cc96c18f7/cookie"}}

Based on your error, the domain you're trying to set, localhost, doesn't match what PhantomJS thinks is the current URL. See the check in PhantomJS.
In your code, what are you passing into webDriver->get?

 You should be getting this error. You aren't allowed to set cookies before loading a page.
Are you getting a different page before calling your setCookie code? If you can post a small example script that demonstrates your problem, that would be helpful.

have you checked this if you are having cookies keep session problems,

https://github.com/ariya/phantomjs/issues/12277

have you solved this problem？
i have the same problem too！

no, i set cookie on server side. setCookie with webDriver still not work

have you checked this if you are having cookies keep session problems

https://github.com/ariya/phantomjs/issues/12277

Looks like a phantomjs problem - setting the cookie is responsibility of the WebDriver implementation (GhostDriver in phantomjs), nothing that could be changed by php-webdriver.
If you think this is somehow affected by php-webdriver library, fell free to open a new bug.
Thank you!


ValueError: XA must be a 2-dimensional array.

Hello Vivek!
All the provided example videos work with the code. When I use the video I recorded, this is the error I am getting. Could you please help me with this?
ValueError                                Traceback (most recent call last)
Cell In[3], line 36
34 thresh = tr.colour_to_thresh(frame, block_size, offset)
35 final, contours, meas_last, meas_now = tr.detect_and_draw_contours(frame, thresh, meas_last, meas_now, min_area, max_area)
---> 36 row_ind, col_ind = tr.hungarian_algorithm(meas_last, meas_now)
37 final, meas_now, df = tr.reorder_and_draw(final, colours, n_inds, col_ind, meas_now, df, mot, this)
39 # Create output dataframe
File D:\locomotion python\tracktor-master\tracktor-master\examples\tracktor.py:169, in hungarian_algorithm(meas_last, meas_now)
167 meas_last = list(meas_last)
168 meas_now = list(meas_now)
--> 169 cost = cdist(meas_last, meas_now)
170 row_ind, col_ind = linear_sum_assignment(cost)
171 return row_ind, col_ind
File D:\locomotion python\miniconda\envs\NOS_locomotion\Lib\site-packages\scipy\spatial\distance.py:2982, in cdist(XA, XB, metric, out, **kwargs)
2979 sB = XB.shape
2981 if len(s) != 2:
-> 2982     raise ValueError('XA must be a 2-dimensional array.')
2983 if len(sB) != 2:
2984     raise ValueError('XB must be a 2-dimensional array.')
ValueError: XA must be a 2-dimensional array.

Hi,
The reason for this error is that your thresholding parameters aren't right. The hungarian algorithm expects to detect blobs so it can match identities in successive frame. In your case, the thresholding parameters (block_size and offset) are such that suitable objects are not generated. I recommend silencing line 35 onwards and visualising the thresh image on the cv2.imshow(...). This should help you optimise these parameters.
Cheers!
Vivek


WebUI install on dedicated server?

So umm i installed my banmanger to /var/www/html/banmanager
so i go to the address xxx.xxx.xx.xx/banmanager it works just fine, when i try to go into the home tab or something else it just keeps saying "The requested URL /index.php was not found on this server."
same for admin panel etc, so how am i supposed to install this? lol.. followed every single step on the installion guide

since i can't find where to edit the post, i was using an older version, and i tried with the newest version. still the same problem except the message changed to this now.
The requested URL /banmanager/index.php was not found on this server.

since i can't find where to edit the post, i was using an older version, and i tried with the newest version. still the same problem except the message changed to this now.
The requested URL /banmanager/index.php was not found on this server.

What webserver are you running?

Nothing.. i guess that might be the problem then lol

actually i have Apache

Maybe a links problem?.
I have it in a dedicated server using ISPConfig 3 and is working fine.

I assume you have validated that the files are there?

yes

Hey @KookosPahkina
Sorry for the delay! Can you show me the web interface? I would love to take a look by myself. I bet the console will throw some precious errors that should indicate whats going south.
 Please give us the output of the following commands:
$ ls -lZ /var/www/html/banmanager/
$ sestatus -v

https://gyazo.com/b447ace9cb34e48e3cb122afd86949e5
SELinux is disabled

For the giggles, try to get rid of everything inside the "banmanager" folder, create a new "index.php" file with the following content:

Save it and try to execute it in your browser. Does that work?
Von meinem iPhone gesendet

Am 04.01.2016 um 17:41 schrieb KookosPahkina<EMAIL_ADDRESS>https://gyazo.com/b447ace9cb34e48e3cb122afd86949e5
SELinux is disabled
—
Reply to this email directly or view it on GitHub.

@frdmn yes it works

Now redownload the archive from the GitHub releases page and extract it to your document root. Same issue again?
Von meinem iPhone gesendet

Am 04.01.2016 um 18:06 schrieb KookosPahkina<EMAIL_ADDRESS>@frdmn yes it works
—
Reply to this email directly or view it on GitHub.

@frdmn Yes the same problem again. If you mean with the document root /var/www/html/banmanager

May I see your webserver configuration/virtual host?

@frdmn It's just pretty much default Apache config if that's what you are looking for.
http://pastebin.com/suuuS5m6 (will expire in 24hrs)

@KookosPahkina Hmm, don't see any special directives which could result in such a weird behaviour.
Did you check your error logs and sys logs for any further messages?

@frdmn AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php,index.php) found, and server-generated directory index forbidden by Options directive

There we go! Finally the root of our problem. I'll research and let you know how to fix this :+1:

Just found this relevant StackOverflow answer: http://stackoverflow.com/a/25080393/2940412
Can you try adding DirectoryIndex disabled above line 145?

@frdmn  You don't have permission to access /banmanager/ on this server.

Probably because everything is owned by root and not by the user that actually runs the web server.
$ chmod 777 /var/www/html/banmanager

yeah that didn't help at all

Then you need to fix this permissions issue by your own. This issue is definitely not related to the project, rather it is because of an misconfigured web server.
I can't help you remotely like this without looking on to the machine that is causing trouble. Also, I don't really want to spam our watchers with tons chitchat mail notifications.
Last option I could offer is, you join IRC and we can try together to sort this out on a proper chat platform.

Fixed via IRC.
The problem was a .htaccess inside /var/www/html.


Ignore vendor extensions when querying host command queue properties

The presence of the flags related to vendor extensions on host queue properties is causing the api and api_compatibility tests to fail.  Ignore vendor extensions when querying host command queue properties.

@bashbaug @kpet  requesting review for this.

@lakshmih I did comment on your PR :).

This same fix needs to be made in the compatibility api test as well

I believe this was addressed by merging: https://github.com/KhronosGroup/OpenCL-CTS/pull/957
Closing.


Outlabels rendered outside of canvas

i'd set options to:
responsive: true, maintainAspectRatio: false
a target rendered like this

but its rendered like this

I'm having this exact issue.

Has anyone got a fix for this yet? Personally, I'm using "zoomOutPercentage" to get by at the moment, but this falls apart very quickly when I dynamically generate charts with lots of sections, which cause the labels to be pushed out very far.
Is there any way at all to make this dynamic?

I am having exact this problem. What i did is used custom scrollbar option and keep changing padding value based on this of chart therefore keep reducing the size of chart in canvas till all the outlabels get inside the box.
layout: {
   padding: 20
}

But there is still need some update such that it can dynamic reduce the size of chart in canvas till all outlabels get inside canvas.

Hi all!
I am grateful for your feedback. Now I have some free time, so I will try to fix all open issues and make a new fresh release. So the new version will be available during next week.

So sad no one's maintaining this anymore! :(


1.21 port

can you update mod please?

I do plan on updating the rest of my main mods to 1.21 eventually. I've been very busy working on other projects.

I'd like to add a vote toward updating this mod. I play with a llama train and this was a HUGE help when I discovered it. I'd be happy to help (although I'm pretty newb at Java I have coded in C and Python) or contribute to it's development financially, if you have a patreon or similar setup!  When you have a chance, I'll be overjoyed to get the update.  -Grandpacrafter

I'd like to add a vote toward updating this mod.

I actually started on a port some time ago, migrating to Stonecutter(allowing for quicker future version ports), but ran out of time and wasn't able to finish it due to how entity's that are leashable are handled differently in 1.21. I'm quite busy for the month of October, and likely the beginning half of November too, but should be able to work on this again maybe soon after all my current stuff is done. Thanks for being patient!


create Read the Docs

This PR:

creates documents in the docs folder for Read the Docs
updates the docstrings accordingly

It'll look like mesa-geo.readthedocs.io. Currently it points to my forked repo, but I'll update the settings once this PR is merged. Plus, some links may not work until then.

Since the README.md is in Markdown and it renders properly, does that mean the rest of the automodule files can be in Markdown too?

Since the README.md is in Markdown and it renders properly, does that mean the rest of the automodule files can be in Markdown too?

Well I would love to, but it appears that autodoc doesn't work well with Markdown yet. See the warning from this page:

This expects docstrings to be written in reStructuredText. We hope to support Markdown in the future, see GitHub issue #228.


Error on write interaction using contract deployed from Warp

If I deploy a contract using Warp, a write interaction fails.  Here's a sample app that shows a contract deployed by Warp and one deployed by SmartWeave and the error that occurs.
Sample App

Re. "Notice that readState returns differently.  The state value is a string for Warp and an object for SmartWeave.  Is this by design?"
It is not a string, it is an object:
adding these logs to your code:

displays:

it is definitely an object.

If you check the integration tests - they always assume that the result is an object (including the integration test that I've recently added for your project - https://github.com/warp-contracts/warp/blob/main/src/tests/integration/internal-writes/internal-write-aftr.test.ts#L114
So - I believe that is a "feature" of the component that you're using to display the results - or some other "fluke" in your code.

Re:
Notice that readState returns differently.  The state value is a string for Warp and an object for SmartWeave.  Is this by design?

It seems that you're deploying the contract wrong.
The init state that you're importing is already a string. Adding a console log with a typeof initState:

displays in logs:

so there's no need to do another JSON.stringify on the init state during the deployoment.
Simple change the deployment code:
let txIds = await warp.createContract.deploy({
            wallet: "use_wallet",
            initState: initState,
            src: source,
            tags
        });

The reason it worked for "old" smartweave is that you DO NOT perform the manual stringify for this version:


Windows: assume smart terminal if $TERM is defined and not "dumb"

On Windows, ninja only uses smart terminal features when outputting to
a Windows console. However, there are applications that act as
terminal emulators and support those features. Emacs and MSYS2's
mintty emulator are some examples.
With this change ninja uses smart terminal features whenever $TERM is
non-empty and its value is different from "dumb".
This fixes #2171

This wont work: the presence of a value in $TERM does not indicate that the output is going to a (real or emulated) terminal.
For instance, MSYS2 mintty on Windows sets $TERM to xterm. When CMake executes ninja at configure time, ninja sees that value in $TERM, enables fancy output and confuses CMake.


Tracing: add some unit tests

Particularly on the ingest path.

Closed via #3313, #3362, and #3401.


ovs-controller may be running on apt-get install, interferes with mininet's controller

Expected/Desired Behavior:
apt-get install mininet
mn --test pingall

succeeds with 0% packet loss.
Actual Behavior:
fails because ovs-testcontroller is running
Detailed Steps to Reproduce the Behavior:
On (which versions of ubuntu?)
apt-get install mininet
mn --test pingall

Additional Information:
You could argue that this is a user error, because the user could shut down ovs-testcontroller as advised by the error message! However, it may respawn unless you deactivate it.

doesn't happen with ubuntu 20.04 with mininet 2.3.0


Tools: Add precommit git sccript to tools and uncrustify

Add precommit git sccript to tools and uncrustify
Description
Add precommit git sccript to tools and uncrustify to be able to add style checks into Jenkins CI
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks

/bot run checks


Fixed-size object IDs

Original issue: https://charm.cs.illinois.edu/redmine/issues/108

Right now, CkArrayIndex is 12 bytes of index data plus 4 bytes of metadata. This is used throughout the code to identify chare array elements. Message envelopes to array elements must carry the full array index to identify the recipient. Since the number of objects in a system is likely much smaller than the index space can represent, the index space is likely very sparse. We should use a smaller ID number that can fit into a smaller bit space (say 64 bits) to actually identify and address these chare array elements.
This requires mechanisms to assign and look up object IDs dynamically, and design for how they will be used in the message construction, transmission, and delivery paths. The effect of this work on other parts of the system should be considered.

Original date: 2013-03-25 03:39:58

Notes on architecture and design discussions have been updated in the PPL wiki. Detailed work breakdown will come in the next few days.

Original author: Ramprasad Venkataraman
Original date: 2013-04-03 14:55:11

Wiki page here:
https://wiki.engr.illinois.edu/x/Vbo1DQ

Original author: Ramprasad Venkataraman
Original date: 2013-04-05 19:12:19

Phil and I had an initial discussion of high level tasks. This will result in a list of subtasks that will be added to redmine after a second discussion. The objective is to realize the required functionality in an incremental manner. Here are some notes from our discussion. We still need to induce more coherence into this and create a list of tasks.
(1) Bring objid_t into existence. Use in one runtime component

objid_t definition (intial header file, typedefs, bit masks, basic functions etc)
add a new extradata struct that will carry objid_t
chare array size metadata should be stored and accessible on all PEs (only for the bcast constructor use case)
idx --> id conversion function
send and recv paths will still use CkArrayIndex

This should allow objid_t to be used in just the envelope without modifying any of the send/recv software stacks.
(2) Expanding the use cases (needs more elaboration)

specify array size at construction time via CkArrayOptions despite non-bulk-construction
compile-time declared size bounds
-- charmxi declaration syntax
-- code generation for conversion functions
-- change generated code to directly call conversion functions when given a CkArrayIndex (rather than runtime querying of idx -- id from locmgr)
-- change generated chare array constructor to specify conversion function
user-specified conversion functions
-- at runtime
-- at compile-time (with accompanying generated code optimizations)
-- design discussion for how to deal with id --> idx inversion
distributed lookup
-- requires more design discussions

(3) Runtime adoption (from basic inspection of msg delivery software stack)

blocked by #165
location cache should be keyed by objid_t (unless vetoed by design discussion for lookup case)
tracing infrastructure should use objid_t (should be audited first. eg: getProjectionID())
lb infrastructure should use objid_t (should be audited first. eg: idx2LDobjid())
fault tolerance infrastructure should use objid_t (should be audited first. specifically look at msg logging, ckobjid.h etc)
callbacks
sections (?)
other use cases yet to be discussed

Original date: 2013-05-01 22:53:50

We didn't actually work out how we were going to weave the basic implementation into the send or receive paths. Are we going to wait until the location manager cleanup work (#165?) is integrated before doing that? If so, we'll need to merge the relevant branches together, or merge one to mainline and continue the other from there. I think what we have so far on ramv/objid should be fine to merge (to mainline) if we want to go that route.

Original author: Ramprasad Venkataraman
Original date: 2013-05-02 16:02:54

Phil Miller wrote:

We didn't actually work out how we were going to weave the basic implementation into the send or receive paths. Are we going to wait until the location manager cleanup work (#165?) is integrated before doing that? If so, we'll need to merge the relevant branches together, or merge one to mainline and continue the other from there. I think what we have so far on ramv/objid should be fine to merge (to mainline) if we want to go that route.

Second that. We should merge what we have on objid so far, because it should not disrupt anything on the mainline.

Original date: 2013-10-07 19:03:12

This isn't getting finished and integrated before the release, so push it back.

Original date: 2016-12-28 17:46:38

Known bugs all seem to have been fixed. Remaining functional transitions can happen later.


tests: fix cassettes for mailing

So we did have a cassette already. Do you understand why it stopped matching?

@michamos actually it was missing, I assert now that the cassette is played.


Using == on string

It is basically ALWAYS wrong to use == with a string. Use .equals instead.
https://github.com/apemanzilla/KWallet/blob/master/src/io/github/apemanzilla/kwallet/KristAPI.java#L134

Done.


Autoload i18n files when changing default language

Hey,
I think it would be easier to load the i18n files when changing the default language. That way you don't have to do it by yourself.
~ Marius

@DeveloperMarius I have added a method to the Factory class that will allow easier loading of existing or alternative data. This is available in 1.6.0.

Hey,
I also though that my approach is not ideal, but more painless.
But a function is also great, thank you.
~ Marius


Wifi cannot be turned on after upgrading to latest OC

Hi,
After updating files from the last commit (2 days ago), my wifi card stopped working and cannot be turned on (which still works fine on the last version) and not recognized by MacOS.
My card: bcm94360cs2

This is the screenshot from the last version

New version lacks of Interfaces en1

Well, after comparing config.plist, AirportBrcmFixup.kext/Contents/PlugIns/AirPortBrcmNIC_Injector.kext is disabled in the new commit. I enabled that and my wifi card works again.

Please change that back so future users won't have any problems with their wifi.

Well, after comparing config.plist, AirportBrcmFixup.kext/Contents/PlugIns/AirPortBrcmNIC_Injector.kext is disabled in the new commit. I enabled that and my wifi card works again.

Please change that back so future users won't have any problems with their wifi.

I'll fix that in a later update


⚠ 한경주요지수-코스피200 has degraded performance

In 919f290, 한경주요지수-코스피200 (https://markets.hankyung.com/indices/kospi200) experienced degraded performance:

HTTP code: 200
Response time: 6516 ms

Resolved: 한경주요지수-코스피200 performance has improved in f1087da.


Register STI descendants for collection updates

Problem
I noticed that when working with STI models in a has_many relation, the collection callbacks would only trigger updates for the base class, not its descendants. So in short:
class Section
  has_many :blocks, enable_updates: true
end

class Block
  belongs_to :section
end

class Comment < Block; end

<%= updates_for @section, :blocks do %><%= render @section.blocks %><% end %>

would only ever updates if I added an instance of Block to @section.blocks, not an instance of Comment.
Remedy
Registering collections for every descendant of a reflection.klass resolved this: https://github.com/stimulusreflex/cable_ready/compare/updatable-sti?expand=1#diff-90be2c3ebba84a166909a4f0528f7698ecea6f124f3d96c19a703e02320c38f9R93
However in the development and test environments, Block.descendants would return an empty array because of lazy loading. A hack compromise is to add an option descendants: to our has_many call:
https://github.com/stimulusreflex/cable_ready/compare/updatable-sti?expand=1#diff-90be2c3ebba84a166909a4f0528f7698ecea6f124f3d96c19a703e02320c38f9R93
https://github.com/stimulusreflex/cable_ready/compare/updatable-sti?expand=1#diff-90be2c3ebba84a166909a4f0528f7698ecea6f124f3d96c19a703e02320c38f9R44
This actually doesn't do anything else than putting the class constant into ObjectSpace. I.e. it doesn't matter where you call Comment, it just has to be before the collections are registered. Still, it feels like the most concise and documentable solution 💅

what if we actually didn't throw out the descendants array and actually used it as a list on line 93?

I actually thought the same. Just for consistency, would we want to go with a string/symbol specification instead, like class_name?

trying to think if there's a pattern which a popular gem might use that arbitrarily creates model classes.

Hmm nothing that immediately springs to mind... every STI model has to write its type into the type column so... if we're talking about ActiveRecord, that would be quite backwards?

what if we actually didn't throw out the descendants array and actually used it as a list on line 93?

I actually thought the same. Just for consistency, would we want to go with a string/symbol specification instead, like class_name?

I think that your proposed syntax is already perfect. I was just hinting that it could be fed into the list as a splat, or such.

I feel like descendants: [Comment] is nicer than descendants: [:Comment], no? And I thought the point was to get them to evoke the true name of their class so it can take its rightful place in the Object Space.
If descendants: [Comment] isn't possible, might I suggest descendants: [:comment] instead?
Fussy, perhaps. But consistency is underrated.


Fixed example for ecto type.

Coverage remained the same at 97.642% when pulling 57297a285a62296c64f25afa192d1a40e135e4b9 on h4cc:patch-1 into e22989d0e994cc4ad360519098b74c8b384f03e0 on jshmrtn:master.


check cs operator version in all namespaces in isolate.sh

fix for: https://github.ibm.com/IBMPrivateCloud/roadmap/issues/58945
Add cs operator version check in all namespaces

cs operator in all cloudpak namespaces should be no less than 3.19.9
cs operator in original common service namespace should be either 3.20+ or 3.19.9+

It looks good on my own testing
➜ ✗ ./isolate.sh -v 1 --original-cs-ns cloudpak2-csv3 --control-ns cs-control --excluded-ns cloudpak2-csv3-2
/opt/homebrew/bin/oc
/opt/homebrew/bin/yq
No resources found
[✘] Version of Foundational Services is 3.19.0 in namespace cloudpak2-csv3-2 does not meet the minimum version requirement. Upgrade to 3.19.9+

➜  ✗ ./isolate.sh -v 1 --original-cs-ns cloudpak2-csv3 --control-ns cs-control --excluded-ns cloudpak2-csv3-2
/opt/homebrew/bin/oc
/opt/homebrew/bin/yq
No resources found
good

➜  ✗ ./isolate.sh -v 1 --original-cs-ns cloudpak-control --control-ns cs-control
/opt/homebrew/bin/oc
/opt/homebrew/bin/yq
No resources found
[✘] Version of Foundational Services is 4.0.0 in namespace cloudpak-control does not meet the version requirement. Should be either 3.20+ or 3.19.9+


Introduce Ecto.Repo.after_connect/1 (refs #599)

This is a tentative implementation for #599
In the current implementation Ecto.Repo.after_connect/1 is called
synchronously with the new connection pid, after a new connection is initiated
but before the connection pid is returned to the pool.
Ecto.Adapters.SQL functions can't be called in the hook because the
connection is not yet returned to the pool. This means you can only used
the driver functions to make queries using the connection pid.

This is fine for my use case, I also just need to send a query to the DB (and register the pid), nothing that should delay the checkout significantly.

@MSch that's great.
I've added a test to ensure Ecto.Adapters.SQL sets the repo in the options used by the pool module, but I'm still not sure how to test that after_connect/1 is called. There is no specific tests about other similar callbacks, Ecto.Repo.log/1 is tested indirectly when checking that a failure in calling the method would cancel a transaction, but for after_connect/1 it's problematic because it would mean raising even before the transaction is started...
Does anyone can help me finding a way to test it?

I'd go with an integration test that sends a message to a locally registered process saying "yep I was called".

Another thing, Ecto.Adapters.SQL.Sandbox don't use Ecto.Adapters.Connection and I've not updated it to call Ecto.Repo.after_connect/1... what should we do about it?

Ok I've tried to improve the call to Ecto.Repo.after_connect/1 by introducing a new Ecto.Adapters.Connection.after_connect/2 overridable function which handle the call to Ecto.Repo.after_connect/1 in a more sensible way.
The call is now run in a Task and wrapped in try/catch to better handle failures.
@fishcakez I don't know if this was what you imagined?
Feedback much appreciated.

I don't think we need to add a callback to Ecto.Adapters.Connection. I think it would be simpler to add a helper function to Ecto.Adapters.Connection that pool workers call to start a connection (instead of calling the connection module directly). This function can then start the worker and apply the after_connect function you have defined in the __using__ macro if the after_connect callback is exported.

Nevermind the use works, lets stick with it if @josevalim is happy.

I think there's still something missing and I'm not sure how to handle it. In a previous message, @josevalim said it would be wise not to generate task when the after_connect/1 is not present. I've added a check to see if it's exported but given I've defined it with a default in Ecto.Repo it will always be defined... can we have something like an optional defcallback so that it does not generate warning if it's not defined?

@fishcakez I am torn between between moving the after_connect call to the pool worker or leaving it in the adapters. Thoughts?
In any case, don't worry about me being torn, @JonathanTron. We can always change things later, the current approach is almost ready to ship. I have added some comments.

@josevalim Thanks for the feedback I will make the changes.

@fishcakez I am torn between between moving the after_connect call to the pool worker or leaving it in the adapters. Thoughts?

We also need to add a disconnect function (using exit signals) that pool workers can call to close connection processes. Having those in the same place would make sense I think. I guess there will always be more adapters than pools so its easier to put the extra code in the pools.

We also need to add a disconnect function (using exit signals) that pool workers can call to close connection processes. Having those in the same place would make sense I think. I guess there will always be more adapters than pools so its easier to put the extra code in the pools.

Perfect. Do we need to keep the current disconnect after we add the new one?

Perfect. Do we need to keep the current disconnect after we add the new one?

I don't think so. I think we can always shutdown with exit signals. Once this is in I'll add the disconnect.

Merged manually and moved the logic to the pool with the help of a connect/2 function.

Thank you! :heart

Thanks to you for handling the last bits :+1:

Team work! :D


Update ProcessingManager.php

Closes #
📑 Description

✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] All the tests have passed

☢ Does this introduce a breaking change?

[ ] Yes
[x] No

ℹ Additional Information

Summary by Sourcery
Bug Fixes:

Fixed an issue where the delivery ID was not logged when skipping an item.

Description by Korbit AI
What change is being made?
Refactor the logging for skipped items in ProcessingManager.php by removing the delivery ID from the log message and adding additional logging for skip and exception cases.
Why are these changes being made?
The delivery ID was redundant and unnecessary in the log message, and adding more specific logging improves traceability and debugging by clearly identifying skip actions and exceptions when processing items.

Is this description stale? Ask me to generate a new description by commenting /korbit-generate-pr-description

Summary by CodeRabbit

Bug Fixes

Enhanced logging for skipped items and exceptions during processing to improve traceability.

@gstraccini codacy bypass

@gstraccini codacy bypass