News API

Implement the News API in the about.html page after making it look-alike to the index.html, which API will dynamically fetch news updates on the website.

Can I use any other News API ? OR Can I scrape news from another website and show it on this website?
What type of News do we need?

Better to use API then web scrapping.
News that are political and economical of nature are requested. It will be good if it is a mixture of National and International.

Can you add "hacktoberfest" topic to this repository or add the "hacktoberfest-accepted" label to the PR? So that it will eligible for the Hacktoberfest 2020.
Reference: Updated Rule


chore: modify MonadStats to not extend parents multiple times

MonadStats was extending MonadLiftT twice, but the two parents were defeq. This was a hack to get around the fact that the parent instances were providing MonadLiftT instances rather than a MonadLift instance, breaking MonadLiftT inference.
This changes it to not extend MonadLiftT, instead embedding it as a field, and then writing an explicit MonadLift instance. While it could still extend the MonadLiftT instance, it is better this way because no one should be providing MonadLiftT instances.
This is motivated by lean4#5770, which will log warnings when structures extend parents multiple times.

Looks good, thanks!


Add unified flags (SegmentFlags) for ObjectSegment

To solve https://github.com/gimli-rs/object/issues/414
Changes:

Add unified flags for ObjectSegment
Add SegmentFlags

Thanks for review. I will fix all soon

Almost all suggestions are fixed. Please review once again :)

emmmm

@philipc Hi, could you publish a new minor version release ?

Ok, I will soon. FYI, see #418

Released 0.28.2


Delete-button (new)

Design review 2019-03-27
There is a new button variation. There are two versions:
Delete button

Standard (with or without icon) - More subtle. A red garbage can and red text lable (i.e "Delete"). Hover is red blocked.
Confirm - Stands out. Red box, white text, hover is lighter red. Can be in a dialogue.

Specification
For complete specification, see Design library: https://designlibrary.sebgroup.com/components/forms/button/#usage
Component identifier: component-button
Thank you!
Ulrika, Design Management

:tada: This issue has been resolved in version 4.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix for VariationFeatures using a fake adaptor on circular slices

Should work to fix @nicklangridge 's problems

I don't think you need to call $self->adaptor twice, suffice the call to the dbc submethod.

Thanks Will.
Looks like the same check should be applied at this line https://github.com/Ensembl/ensembl/blob/release/82/modules/Bio/EnsEMBL/Feature.pm#L1145

I've update this PR with the suggested changes.

thanks for the updates, looks fine now

I don't think you need to call $self->adaptor twice, suffice the call to the dbc submethod.

It turns out we do need the call to $self->adaptor

Should I submit another PR?

yes please
will you need this on release/83 branch as well?

yes we will - do you want a PR on each branch?

one will be fine, I'll just rebase the change


Dimension of "ee_state"

Hi,
I want to ask how I can get the corresponding "ee_states" in the dataset from the online rollout.
In the dataset, "data/demo_{episode_idx}/obs/ee_states" has the shape of 6;
In online rollout, obs = env.set_init_state(init_states_), obs["robot0_eef_pos"] has the shape of 3, and obs["robot0_eef_quat"] has the shape of 4.
Does "ee_states" includes both "robot0_eef_pos" and "robot0_eef_quat"?
If yes, why there's one more dimension? Which dimension should I abandon?
If no, how can I get "ee_states" from obs?
Thanks!

"ee_states" should include "obot0_eef_pos" and "obot0_eef_rot".


Add currently-enabled workflow to release windows

Fixes #2053
Description
This should get windows releases going.
Changes
TODO
Testing
See that it's available here: https://community.chocolatey.org/packages?q=spicedb

Waiting on response to goreleaser/goreleaser#5174


Does this replace Herow?

Hi,
I'm asking, if this replaces Herow. Just discovered Herow and I quite like it so far. Is this the same as Herow and Herow has become deprecated?

Hi @visualcookie!
I'm really glad you like Herow.
Please, don't hesitate to send me feedbacks on it or to share website done with it ;)
I have a lot of work to do to improve the documentation. Some really nice feature are a hidden for now.
Herow and chewing-grid are two complementary tools:

with Herow, you determine the size of a cell from the window size (media-queries) ;
chewing-grid, you determine the size of a cell from the parent size and the minimum width the cell could take.

When Herow is a great tool for layout, chewing-grid is a great tool for tiles, product listing, or card design.
chewing-grid is easy to use, easy to reuse (doesn't depend of its context) and fit more with the design logic! But it comes with some constraints:

Not predictive as media-queries oriented grids
Every cells have always the same width
Every cells have the height of its row
etc.

chewing-grid is a great tool. But it should be use for some limited use cases, where it simpler than a media-query oriented grid. For the other cases, I recommend Herow, obviously ;)
Cheers,
Thomas.


Address review comments for ExtendedLocation

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.ExtendedLocations


Add Rune and Int32 overloads.

The Rune.Value property is typed as int so I went with that for the overload instead of uint for consistency. I didn't change the internals, though, as it doesn't really matter and would be pretty noisy.
net5.0 was already in the TFM list, so no changes needed there.
Fixes #2.

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

Merged! Thank you for your contribution. Much appreciated! 👍

@alexrp I've pushed 0.3.0 to NuGet. It should be available shortly once it's been indexed.

Great, thanks!


Enable H100 access via new G3 instance with IPU networking for both CUDA and TensorFlow images - start only with IaaS docker pass through before GKE deployment

Blog:
Branch: https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/tree/747-gpu
Configurations
H100
L4

 VM
GPU
'cards`
region/zone

g2-standard-8
L4
1
us-central-1a

g2-standard-24
L4
2
us-east4-c

A100

The A3 VM is the first VM with the Intel 200mbps IPU (not using NVidia's Infiniband)

https://www.intel.com/content/www/us/en/products/details/network-io/ipu.html
from
https://cloud.google.com/blog/products/compute/introducing-a3-supercomputers-with-nvidia-h100-gpus

Start with prebuilt linux images from NVidia by CUDA version

https://github.com/GoogleCloudPlatform/pubsec-declarative-toolkit/issues/742

FROM nvidia/cuda:12.2.0-runtime-ubi9

or go directly to a TensorFlow capable image
FROM tensorflow/tensorflow:latest-gpu

Start with L4 (more available) via g2-standard-8 and move up to H100

do a parallel request for capacity of at least 1

Spin up a single and multi GPU L4 instance to test the tensorflow DockerFile with single and parallel strategy objects
Single
strategy = tf.distribute.OneDeviceStrategy(device="/gpu:0")

Multi

leave out the arg or specify

strategy = tf.distribute.MirroredStrategy(devices=["/gpu:0","/gpu:1"]

Quota

refer to quota exercise for L4 in https://github.com/ObrienlabsDev/blog/wiki/CUDA-based-‐-High-Performance-Computing-‐-LLM-Training-‐-Ground-to-GCP-Cloud-Hybrid#get-additional-gpu-quota

- quota is a part of a 2 step process - after your quota is approved, the zone may not have resources to service your request - retry or move zones
-

- keep alternate zones around - the best strategy is to keep your VM/GPU up
-

quota exercise for V100/A100/H100 will involve your sales rep - try the following form to ask for H100 in parallel
https://docs.google.com/forms/d/e/1FAIpQLSfWP2weHCBj9AliES43_TA0LO4oOaP5sbGDWWPSbe-NaBuxJA/viewform
for example

Prototype dual L4 - g2-standard-24 for image generation
https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#console
gcloud compute instances create l4-2b --project=cuda-old --zone=us-east4-c --machine-type=g2-standard-24 --network-interface=network-tier=PREMIUM,stack-type=IPV4_ONLY,subnet=default --maintenance-policy=TERMINATE --provisioning-model=STANDARD<EMAIL_ADDRESS>--scopes=https://www.googleapis.com/auth/cloud-platform --accelerator=count=2,type=nvidia-l4 --tags=http-server,https-server --create-disk=auto-delete=yes,boot=yes,device-name=l4-2b,image=projects/debian-cloud/global/images/debian-11-bullseye-v20231115,mode=rw,size=80,type=projects/cuda-old/zones/us-east4-c/diskTypes/pd-balanced --no-shielded-secure-boot --shielded-vtpm --shielded-integrity-monitoring --labels=goog-ec-src=vm_add-gcloud --reservation-affinity=any

Install NVidia CUDA drivers
https://developer.nvidia.com/cuda-12-1-0-download-archive?target_os=Linux&target_arch=x86_64&Distribution=Debian&target_version=11&target_type=deb_local
with additional
sudo apt install software-properties-common

wget https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda-repo-debian11-12-1-local_12.1.0-530.30.02-1_amd64.deb
sudo dpkg -i cuda-repo-debian11-12-1-local_12.1.0-530.30.02-1_amd64.deb
sudo cp /var/cuda-repo-debian11-12-1-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt install software-properties-common
sudo add-apt-repository contrib
sudo apt-get update
sudo apt-get -y install cuda
- note gui language install step
michael@l4-2b:~$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

before cuda
michael@l4-2b:~$ df
/dev/nvme0n1p1   82317152 8491284  70355856  11% /

after
/dev/nvme0n1p1   82317152 17862648  60984492  23% /

reboot
https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#script-limitations
sudo reboot now

Check NVidia driver
ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Nov 30 18:28:13 2023 from <IP_ADDRESS>
michael@l4-2b:~$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

michael@l4-2b:~$ nvidia-settings -q NvidiaDriverVersion
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

michael@l4-2b:~$ nvidia-settings
Unable to init server: Could not connect: Connection refused

ERROR: The control display is undefined; please run `nvidia-settings --help` for usage information.

michael@l4-2b:~$ cat /proc/driver/nvidia/version
cat: /proc/driver/nvidia/version: No such file or directory
michael@l4-2b:~$ ubuntu-drivers devices
-bash: ubuntu-drivers: command not found
michael@l4-2b:~$ apt search nvidia-driver
Sorting... Done
Full Text Search... Done
glx-alternative-nvidia/oldstable,now 1.2.1~deb11u1 amd64 [installed,automatic]
  allows the selection of NVIDIA as GLX provider

libegl-nvidia0/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA binary EGL library

libgl1-nvidia-glvnd-glx/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA binary OpenGL/GLX library (GLVND variant)

libgles-nvidia1/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA binary OpenGL|ES 1.x library

libgles-nvidia2/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA binary OpenGL|ES 2.x library

libglx-nvidia0/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA binary GLX library

nvidia-alternative/unknown,now 530.30.02-1 amd64 [installed,automatic]
  allows the selection of NVIDIA as GLX provider

nvidia-detect/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA GPU detection utility

nvidia-driver/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA metapackage

nvidia-driver-bin/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA driver support binaries

nvidia-driver-libs/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)

nvidia-driver-libs-i386/unknown 530.30.02-1 i386
  NVIDIA metapackage (OpenGL/GLX/EGL/GLES 32-bit libraries)

nvidia-kernel-dkms/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA binary kernel module DKMS source

nvidia-kernel-open/unknown 530.30.02-1 amd64
  NVIDIA binary kernel module source

nvidia-kernel-open-dkms/unknown 530.30.02-1 amd64
  NVIDIA binary kernel module DKMS source open flavor

nvidia-kernel-source/unknown 530.30.02-1 amd64
  NVIDIA binary kernel module source

xserver-xorg-video-nvidia/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA binary Xorg driver

michael@l4-2b:~$ apt search nvidia-driver
Sorting... Done
Full Text Search... Done
glx-alternative-nvidia/oldstable,now 1.2.1~deb11u1 amd64 [installed,automatic]
  allows the selection of NVIDIA as GLX provider

libegl-nvidia0/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA binary EGL library

libgl1-nvidia-glvnd-glx/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA binary OpenGL/GLX library (GLVND variant)

libgles-nvidia1/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA binary OpenGL|ES 1.x library

libgles-nvidia2/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA binary OpenGL|ES 2.x library

libglx-nvidia0/unknown,now 530.30.02-1 amd64 [installed,automatic]
  NVIDIA binary GLX library

nvidia-alternative/unknown,now 530.30.02-1 amd64 [installed,automa

Dual L4 g2-standard-24 24/96G - running DL image

supplied drivers : | NVIDIA-SMI 525.105.17 Driver Version: 525.105.17 CUDA Version: 12.0 |

michael@cloudshell:~ (clouddeploy-ol)$ gcloud config set project cuda-old
Updated property [core/project].
michael@cloudshell:~ (cuda-old)$ gcloud compute instances create l4-4-2 --project=cuda-old --zone=us-east4-c --machine-type=g2-standard-24 --network-interface=network-tier=PREMIUM,stack-type=IPV4_ONLY,subnet=default --maintenance-policy=TERMINATE --provisioning-model=STANDARD<EMAIL_ADDRESS>--scopes=https://www.googleapis.com/auth/cloud-platform --accelerator=count=2,type=nvidia-l4 --tags=http-server,https-server --create-disk=auto-delete=yes,boot=yes,device-name=l4-4-2,image=projects/ml-images/global/images/c0-deeplearning-common-gpu-v20231105-debian-11-py310,mode=rw,size=50,type=projects/cuda-old/zones/us-central1-a/diskTypes/pd-balanced --no-shielded-secure-boot --shielded-vtpm --shielded-integrity-monitoring --labels=goog-ec-src=vm_add-gcloud --reservation-affinity=any

Created [https://www.googleapis.com/compute/v1/projects/cuda-old/zones/us-east4-c/instances/l4-4-2].
NAME: l4-4-2
ZONE: us-east4-c
MACHINE_TYPE: g2-standard-24
PREEMPTIBLE:
INTERNAL_IP: <IP_ADDRESS>
EXTERNAL_IP: 34.
STATUS: RUNNING

ssh
======================================
Welcome to the Google Deep Learning VM
======================================

Version: common-gpu.m113
Resources:
 * Google Deep Learning Platform StackOverflow: https://stackoverflow.com/questions/tagged/google-dl-platform
 * Google Cloud Documentation: https://cloud.google.com/deep-learning-vm
 * Google Group: https://groups.google.com/forum/#!forum/google-dl-platform

To reinstall Nvidia driver (if needed) run:
sudo /opt/deeplearning/install-driver.sh
Linux l4-4-2 5.10.0-26-cloud-amd64 #1 SMP Debian 5.10.197-1 (2023-09-29) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.

This VM requires Nvidia drivers to function correctly.   Installation takes ~1 minute.
Would you like to install the Nvidia driver? [y/n]

Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 525.105.17......
WARNING: The nvidia-drm module will not be installed. As a result, DRM-KMS will not function with
         this installation of the NVIDIA driver.

oik
running a python ve
(base) michael@l4-4-2:~$ nvidia-smi
Thu Nov 30 19:51:56 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.105.17   Driver Version: 525.105.17   CUDA Version: 12.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA L4           Off  | 00000000:00:03.0 Off |                    0 |
| N/A   60C    P0    32W /  72W |      0MiB / 23034MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   1  NVIDIA L4           Off  | 00000000:00:04.0 Off |                    0 |
| N/A   57C    P0    31W /  72W |      0MiB / 23034MiB |      7%      Default |
|                               |                      |                  N/A |

Local LLM
Local LLM hosting up to 49G VRAM on 64G or 101G VRAM on 128G Apple Silicon in prep of CSP hosted deployment of inference model
https://medium.com/@obrienlabs/running-the-70b-llama-2-llm-locally-on-metal-via-llama-cpp-on-mac-studio-m2-ultra-32b3179e9cbe
GCP Hosted LLM IaaS - minimum 8 x H100 80G - $65/hr - Nvidia GRID n/a
gcloud compute instances create a100a --project=cuda-old --zone=us-central1-a --machine-type=a3-highgpu-8g --network-interface=network-tier=PREMIUM,nic-type=GVNIC,stack-type=IPV4_ONLY,subnet=default --maintenance-policy=TERMINATE --provisioning-model=STANDARD<EMAIL_ADDRESS>--scopes=https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/logging.write,https://www.googleapis.com/auth/monitoring.write,https://www.googleapis.com/auth/servicecontrol,https://www.googleapis.com/auth/service.management.readonly,https://www.googleapis.com/auth/trace.append --accelerator=count=8,type=nvidia-h100-80gb --tags=http-server,https-server --create-disk=auto-delete=yes,boot=yes,device-name=a100a,image=projects/debian-cloud/global/images/debian-12-bookworm-v20240110,mode=rw,size=40,type=projects/cuda-old/zones/us-central1-a/diskTypes/pd-balanced --no-shielded-secure-boot --shielded-vtpm --shielded-integrity-monitoring --labels=goog-ec-src=vm_add-gcloud --reservation-affinity=any

The GPUS-ALL-REGIONS-per-project quota maximum has been exceeded. Current limit: 4.0. Metric: compute.googleapis.com/gpus_all_regions. More dimension(s): global=global


Issue in performing inference only on V model

I was trying to perform inference on VisualBERT model while I encountered the following error when running the bash file bash/inference/V/hm_V45.sh (its the same error with other two seeds as well):
  File "hm.py", line 393, in <module>
    main()
  File "hm.py", line 374, in main
    dump=os.path.join(args.output, '{}_{}.csv'.format(args.exp, split))
  File "hm.py", line 269, in predict
    for i, datum_tuple in enumerate(loader):
  File "/home2/preet.thakkar/anaconda3/envs/i3_vl/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 363, in __next__
    data = self._next_data()
  File "/home2/preet.thakkar/anaconda3/envs/i3_vl/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 989, in _next_data
    return self._process_data(data)
  File "/home2/preet.thakkar/anaconda3/envs/i3_vl/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 1014, in _process_data
    data.reraise()
  File "/home2/preet.thakkar/anaconda3/envs/i3_vl/lib/python3.7/site-packages/torch/_utils.py", line 395, in reraise
    raise self.exc_type(msg)
KeyError: Caught KeyError in DataLoader worker process 0.
Original Traceback (most recent call last):
  File "/home2/preet.thakkar/anaconda3/envs/i3_vl/lib/python3.7/site-packages/torch/utils/data/_utils/worker.py", line 185, in _worker_loop
    data = fetcher.fetch(index)
  File "/home2/preet.thakkar/anaconda3/envs/i3_vl/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/home2/preet.thakkar/anaconda3/envs/i3_vl/lib/python3.7/site-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/scratch/preet.thakkar/vilio/fts_lmdb/hm_data.py", line 79, in __getitem__
    img = self.process_img(iid)
  File "/scratch/preet.thakkar/vilio/fts_lmdb/hm_data.py", line 59, in process_img
    f = self.id2file[iid]
KeyError: 15740

This error occurs when the predict function in hm.py is called for test_unseen. This is giving a key error probably because the features extracted (in vilio/data/features/) using the command bash ./bash/inference/V/hm_VLMDB.sh do not include the 2K files of test_unseen.

Yeah that looks like it didn't get the lmdb file which includes the test_unseen features, but only the one for train, dev, test_seen
Did you download them from here: https://dl.fbaipublicfiles.com/mmf/data/datasets/hateful_memes/defaults/features/features.tar.gz ?

Yes, its the same link which is present in SCORE_REPRO.md

Yes, its the same link which is present in SCORE_REPRO.md

Can you try with these lmdb files & check if it works: https://www.kaggle.com/muennighoff/hmfeatureszipfin

Yes, its the same link which is present in SCORE_REPRO.md

Can you try with these lmdb files & check if it works: https://www.kaggle.com/muennighoff/hmfeatureszipfin

Okay will try with the new link. Also will inference-only produce the same results as with training? i.e. is the inference done on baseline models?

Yes, its the same link which is present in SCORE_REPRO.md

Can you try with these lmdb files & check if it works: https://www.kaggle.com/muennighoff/hmfeatureszipfin

Okay will try with the new link. Also will inference-only produce the same results as with training? i.e. is the inference done on baseline models?

Yes it should produce the same results within +-2% absolute due to ERNIE-Vil being a bit variable

Yes, its the same link which is present in SCORE_REPRO.md

Can you try with these lmdb files & check if it works: https://www.kaggle.com/muennighoff/hmfeatureszipfin

Downloading features from this link worked. Thanks

Yes, its the same link which is present in SCORE_REPRO.md

Can you try with these lmdb files & check if it works: https://www.kaggle.com/muennighoff/hmfeatureszipfin

Downloading features from this link worked. Thanks

Great thanks for finding this. It seems like FB has changed its link back to the Phase I features. I will update the link in the README to use those.
Closing this for now, feel free to reopen if needed.


Fix strategy checking in #unlock_strategy_enabled?

The argument was used in the wrong spot and caused a bug where all values would return true if self.unlock_strategy was :both
See https://github.com/plataformatec/devise/issues/4072

Jeez, targeted wrong branch. Need moar ☕


Can't select list entry

Hey there!
First off, awesome work creating keeweb. It's exactly what I've been looking for :)
I tried self hosting it today, but sadly I can't select an Entry from the list view. Every time I click an Item, I get the following error message: Uncaught TypeError: Cannot read property 'direction' of null.
I'm using the most recent Chrome (48) and the following version of the built source:
https://github.com/antelle/keeweb/commit/2bbc61c2f5a54ece9904726706f0efd467c74c6e
You can find the App here:
https://wasd.ch/pass
Let me know if I can provide you with more information that would help.

Hello,
Please describe the issue with more details, so I would be able to reproduce and fix it:

where do you click - just in the list with entries?
does it repeat on Demo database (button Demo on start page)?
have you changed any app settings? which, if yes?

If it doesn't repeat on Demo and the db you are using is private, so it cannot be pasted here:

please bring up devtools, repeat this and expand the message, to get the stack trace

I've tried to open demo db on your server and it works for me ok.

Closing until more info is provided.


Fix string comparison to avoid using the collator.

Benchmarking at Google has shown an up-to-1000x performance degradation from using the collator.

There's a complication here. The Collator does UNICODE normalization, while String.equals does not. Like if you put together "á" from "a" and the combining accent character, they won't be equal anymore with this patch, while they look exactly the same for the user. On the other hand, we don't want to know which string comes first, so maybe just doing UNICODE normalization and then calling equals will solve this.

Also, when it comes to backward compatibility, I don't know right now what other magic Collators do... Like if different kind of dashes are equal and such. So probably this will need a configuration.incompatibleImprovements >= 2.3.33 condition. Not sure yet, had to research more...

The collator used here (Environment.getCollator()) is always initialized to Collator.getInstance(getLocale()); OpenJDK's CollatorProviderImpl disables decomposition on the collators it returns (https://github.com/openjdk/jdk/blob/be8e6d05db2f623626506e64a2fb7caf755d5d06/src/java.base/share/classes/sun/util/locale/provider/CollatorProviderImpl.java#L122). This means - for the equality case - we can expect the collator to always fall back to String.compareTo (https://github.com/openjdk/jdk/blob/be8e6d05db2f623626506e64a2fb7caf755d5d06/src/java.base/share/classes/java/text/RuleBasedCollator.java#L557).

Quickly checked on Windows 10, Oracle Java 8... it does (de)normalization apparently:
        String s1 = "a\u0301";
        String s2 = "á";
        System.out.println(s1.equals(s2)); // false
        System.out.println(Collator.getInstance(Locale.US).compare(s1, s2)); // true

If this either worked or not based on if it's OpenJDK, or Oracle, or who knows based on what other factor, that's another issue to fix in itself. If (de)normalization is not terribly slow, then probably I would chose doing that.

Just to note - a very simplistic benchmark (https://gist.github.com/nolaviz/94455756da704892c4dca377062ab82a) shows the following results:
String.compareTo: PT0.804698705S
Normalization + String.compareTo: PT1.274591945S
Collator.compare: PT3M59.458385549S

i.e., Collator.compare is ~295x slower than String.compareTo in this mini-benchmark, while normalization + compareTo is just ~1.6x slower.

The last thing we have to figure out if we can always do this (normalize then equals), or it has to be activated by cfg.incompatibleImprovements >= 2.3.33. That depends on whether some collators do more fancy normalization than this.

I see you made this activated by incompatibleImprovements recently. I guess to be on the safe side, that's how it will be, but, have you found some concrete backward compatibility issues?

I haven't found any concrete backward compatibility issues. But - better safe than sorry.


Installer should automatically start program on completion

Is your feature request related to a problem? Please describe.
Installer should automatically start program on completion
Describe the solution you'd like
Perhaps optional with a checkbox (but this isn't necessary)

The latest and greatest should present you with an option to launch the program immediately after install.


Split up package by framework

@joshwooding Do you want to rebase / cherry-pick the last commit onto main, so this is a bit easier to look at?


Accept multiple axes in .interp()

I often find myself interpolating variables from the B-grid velocity point (north-east) to the tracer point, or vice versa.
Currently this looks like this:
da_new = grid.interp(grid.interp(da, 'X'), 'Y')

I would love to be able to pass a list of axes to achive the same behavior like this:
da_new = grid.interp(da, ['X', 'Z'])

This would be a nice addition to have also for the min() and max() functions. A use case for this would be to determine the cell depth of z-star cells in MOM5, which at the velocity points are defined as the minimum of the 4 surrounding tracer cells.

+20.

Great idea.
Implementation question: does the order matter here?

Hmm it's a bunch of linear operations so order shouldn't matter?

Hmm I have always assumed that not, but perhaps there is a special case.
We could still accomodate that by internally following the order of the list. E.g. ‘grid.interp(..., [‘X’, ‘Y’])’ vs ‘grid.interp(..., [‘Y’, ‘X’])’
What do you think?
Julius J.M. Busecke, Ph.D. (he/him)
———————————————
Postdoctoral Research Associate
Princeton University • Geosciences
408A Guyot Hall • Princeton NJ
juliusbusecke.com

On Oct 3, 2019, at 6:23 PM, Ryan Abernathey<EMAIL_ADDRESS>wrote:

Great idea.
Implementation question: does the order matter here?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I just put out an idea how to implement this in #159, feedback greatly appreciated.

THis can be closed?

Yes. Closed via #159


docker container xjokay/ccu-historian doesn't shutdown properly

Describe the bug
I'm using UNRAID with docker xjokay/ccu-historian. When trying to stop the container via UI, the UI shows a running cycle for approx. 30 sec and then an error message appear: "Fehler bei der Ausführung". Then a forced shutdown of the container is done.
Root cause:
A shutdown of the docker container doesn't signal the java process to shutdown, it only signals the parent shell process. Shutdown hangs until time limit is reached and remaining processes are killed.
To Reproduce
Steps to reproduce the behavior:

Start the container 'xjokay/ccu-historian'
Stop the container
Wait for timeout.
See error message

Expected behavior
A graceful shutdown of docker container to prevent any damages to the database.
Solution proposal
Add the command "exec" before every java command in entrypoint.sh.
This forces the java process to get PID 1.
Before:
$ ps -elf
F S UID        PID  PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD
4 S 99           1     0  0  80   0 -  1745 -      19:22 ?        00:00:00 /bin/bash /usr/local/bin/entrypoint.sh
0 S 99           9     1  3  80   0 - 1555107 -    19:22 ?        00:01:07 java -jar /opt/ccu-historian/ccu-historian.jar -config /opt/c...
4 S 99         550     0  0  80   0 -   654 -      19:59 pts/0    00:00:00 sh
0 R 99         556   550  0  80   0 -  2224 -      19:59 pts/0    00:00:00 ps -elf
$
After:
$ ps -elf
F S UID        PID  PPID  C PRI  NI ADDR SZ WCHAN  STIME TTY          TIME CMD
4 S 99           1     0 99  80   0 - 1727874 -    00:31 ?        00:00:08 java -jar /opt/ccu-historian/ccu-historian.jar -config /opt/c...
4 S 99          64     0  0  80   0 -   654 -      00:31 pts/0    00:00:00 sh
0 R 99          75    64  0  80   0 -  2224 -      00:32 pts/0    00:00:00 ps -elf
$
Environment (please complete the following information):

OS: UNRAID
Docker version 20.10.5

Additional context
When Docker attempts to stop a container, it will send the specified signal to PID 1, the process that Docker starts. Docker will completely ignore any other process running within this container. So that means when we issue a docker stop, the Docker daemon will send a SIGTERM signal to the docker-entrypoint.sh process, not to the running service.

I have tested it with a fork of your repo. It works as expected.
https://github.com/vrumf0ndel/docker-ccu-historian/commit/569d0042f134b02d57487c42baab72901083634c

I will have a look and check if there are no downsides, when starting it using exec.

@Vrumf0ndel what about this change, would this work too for you?

@jokay Thanks for your very quick response and solution. I will try it and give you feedback.

Unfortunately, your proposal doesn't seem to work on my UNRAID server.
When shutdown was triggered, the expected new log entry before exit doesn't appear.
The shutdown still runs into timeout.
I've checked that the file /usr/local/bin/entrypoint.sh contains the changes after docker pull.
But it doesn't have any effect now.

Ok, will need to further test then.
I mainly use docker-compose where it works to stop the container without problems but I see it can be done better :wink:

Just for information: the status of the Docker container shutting down is visible in UNRAID UI and it is 137, which means the SIGKILL was sent after timeout.

 Ich habe da auch schon viel schlechtere Erfahrungen mit Projekten hier gemacht und teilweise einige Monate auf Reaktion warten müssen. Absolut top!

I tried multiple approaches and the one with exec seems to be the best one for now.
https://securedmind.com/post/handling-docker-stop-signals-properly/
I merged the changes and they will be included in the next release, which depends on the official CCU-Historian release.
Thank you for your contribution and your patience 👍🏼

@Vrumf0ndel the changes are included in the today's release 3.4.0.


Implement sh

Arg! Fixing the test!

It is a flaky test, re-running should be ok. Fix in https://github.com/o1-labs/proof-systems/pull/1484


Implement function to open siibra concepts in siibra-explorer

It should be possible to launch the viewer via URL scheme given one of

a coordinate location
a brain region
a parcellation map
a space (-> open template)
a bounding box

Completed as of 0d6fd7f5a161675e8611a280bb78d367fc38cb83


chore(package): move license-reporter to be a dependency

Since we use license-reporter in the postinstall script, we need it to be a normal dependency.  If it was still a dev dependency and the user used the --production flag when installing, the postinstall script would break

Coverage remained the same at 96.667% when pulling 31b326a0cd2a9180843d310fdac1e927119ebcae on lholmquist:dependency-update into a3c1db87dfee41bb0cf83ea9d4328291b0fd1581 on bucharest-gold:master.


How to change months in drop down option?

Is there a setting to update the months shown in the drop down? We're in November, but it starts from August.
And is there possibility to list more than 6 months?

Hi, we have been working on the team calendar to improve the on-prem version. We will release it as soon as possible, and I will also try to resolve this issue in the same release

Hi, we have been working on the team calendar to improve the on-prem version. We will release it as soon as possible, and I will also try to resolve this issue in the same release


Native GUI Specifically For Titlebar/Headerbar

Windows titlebar doesn't match theme: https://github.com/ArturKovacs/emulsion/issues/201
Winit doesn't match GTK style, update window crate and switch.

I'm of the opinion native GUI shouldn't be used anywhere but the headerbar, where it should always be used.


Run command with screen size parameters

Hi,
I'm running an application from WSL (using Ubuntu). I'm interested in running the application in portrait mode but I can't find a way besides running the compiled application in the bundle folder and specifying the -w and -h parameters. But if I do this, I can't attach and debug the application.
After configuring sway to use a different screen resolution (480 x 800) by setting the config file (under ~/.config/sway), and launching sway, I can see a window of the expected size.
However, if I launch my application using flutter-elinux run -d elinux-wayland, the window defaults to 1280 x 720 I believe, and there's no way to resize it. I was expecting it to take the resolution from the configuration file.
Is there a way of specifying the screen resolution when using the flutter-elinux run -d elinux-wayland command or a way of taking the current sway configuration?

Hi, thank you for creating the issue. Yes, you are right. This is related to https://github.com/sony/flutter-elinux/issues/74. @psstoyanov any updates?

Not much - had been busy with a new role for awhile.
Before that I got to the point of adding the new args in the elinux tool but couldn't figure out how to pass it down to the embedder.
Notes:
Possibly flutter-elinux create could take the desired window size and set it as default for the project: https://github.com/sony/flutter-embedded-linux/blob/master/examples/flutter-wayland-client/flutter_embedder_options.h This looks to be more involved overall and likely requires adjustment in flutter-embedded-linux to allow for such operation.
flutter-elinux run should be less involved to implement as it would be limited to flutter-elinux itself. I got stuck trying to pass the argument down at the time.

Okay, then I'll address this issue.

I added FLUTTER_ELINUX_CUSTOM_RUN_ARGS env to pass elinux embedder options via flutter-elinux tool. It's not the best but there is no another way we can address as of now. Please use FLUTTER_ELINUX_CUSTOM_RUN_ARGS env to specify your favorite options of the embedder.


fix: MD019/no-multiple-space-atx

Multiple spaces after hash on atx style heading

@corob-msft I rebased an re-ran the automated fix

@nschonni I'm sorry about that. For some reason the merge from live didn't run earlier today - I expected automation to push it around five or six hours ago. It has what I expect are the vast majority of these fixes already applied. It might be easier to abandon this PR and re-run against the current content.

no worries, keep this open and it'll rebase again

@corob-msft looks like it is good now. I'll close and remove the rule from the other "disable rule" PR


IApplicationService.GetApplicationsAsync doesn't fill Permissions and RedirectUris

When using the IApplicationService.GetApplicationsAsync method, the result list contains ApplicationInfo instances with 0 Permissions and RedirectUris.

Hi @Khaos66
Could you please elaborate more on your issue?
I slightly improved the Integration test ApplicationApiTest.GetAsyncApplicationReceived and could not reproduce the issue.
I am not saying that there isn't a bug but so far not one that keeps me stop using my library ;-).
Greets Thomas

Hi @thomasduft
I was trying to display the registered aps with their permissions and redirect uris. Sadly GetApplicationsAsync wasn't filling these things on the returned list. The returned application instances never showed any permissions or redirect uris.
When I used the native OpenIDDict API however, the apps definetly had permissions and redirect uris.
If that's nothing you can verify, I'm fine with that, as I now just use the workaround ;)


pydantic.errors.PydanticUserError: A non-annotated attribute was detected: enabled = True. All model fields require a type annotation; if enabled is not meant to be a field, you may be able to resolve this error by annotating it as a ClassVar or updating model_config['ignored_types'].

System Info
accelerate==0.17.1
python=3.10.0
os:linux (wsl)

Information

[ ] The official example scripts
[X] My own modified scripts

Tasks

[ ] One of the scripts in the examples/ folder of Accelerate or an officially supported no_trainer script in the examples folder of the transformers repo (such as run_no_trainer_glue.py)
[X] My own task or dataset (give details below)

Reproduction
code:
import accelerate`

error:
/root/repeated_implementation/venv311/lib/python3.10/site-packages/pydantic/_internal/_config.py:269: UserWarning: Valid config keys have changed in V2:
* 'allow_population_by_field_name' has been renamed to 'populate_by_name'
* 'validate_all' has been renamed to 'validate_default'
  warnings.warn(message, UserWarning)
/root/repeated_implementation/venv311/lib/python3.10/site-packages/pydantic/_internal/_fields.py:127: UserWarning: Field "model_persistence_threshold" has conflict with protected namespace "model_".

You may be able to resolve this warning by setting `model_config['protected_namespaces'] = ()`.
  warnings.warn(
/root/repeated_implementation/venv311/lib/python3.10/site-packages/pydantic/_internal/_config.py:269: UserWarning: Valid config keys have changed in V2:
* 'validate_all' has been renamed to 'validate_default'
  warnings.warn(message, UserWarning)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/root/repeated_implementation/venv311/lib/python3.10/site-packages/accelerate/__init__.py", line 3, in <module>
    from .accelerator import Accelerator
  File "/root/repeated_implementation/venv311/lib/python3.10/site-packages/accelerate/accelerator.py", line 30, in <module>
    from .checkpointing import load_accelerator_state, load_custom_state, save_accelerator_state, save_custom_state
  File "/root/repeated_implementation/venv311/lib/python3.10/site-packages/accelerate/checkpointing.py", line 24, in <module>
    from .utils import (
  File "/root/repeated_implementation/venv311/lib/python3.10/site-packages/accelerate/utils/__init__.py", line 105, in <module>
    from .launch import (
  File "/root/repeated_implementation/venv311/lib/python3.10/site-packages/accelerate/utils/launch.py", line 28, in <module>
    from ..utils.other import merge_dicts
  File "/root/repeated_implementation/venv311/lib/python3.10/site-packages/accelerate/utils/other.py", line 28, in <module>
    from deepspeed import DeepSpeedEngine
  File "/root/repeated_implementation/venv311/lib/python3.10/site-packages/deepspeed/__init__.py", line 17, in <module>
    from .runtime.engine import DeepSpeedEngine, DeepSpeedOptimizerCallable, DeepSpeedSchedulerCallable
  File "/root/repeated_implementation/venv311/lib/python3.10/site-packages/deepspeed/runtime/engine.py", line 93, in <module>
    from deepspeed.inference.config import DtypeEnum
  File "/root/repeated_implementation/venv311/lib/python3.10/site-packages/deepspeed/inference/config.py", line 88, in <module>
    class BaseQuantConfig(DeepSpeedConfigModel):
  File "/root/repeated_implementation/venv311/lib/python3.10/site-packages/pydantic/_internal/_model_construction.py", line 98, in __new__
    private_attributes = inspect_namespace(
  File "/root/repeated_implementation/venv311/lib/python3.10/site-packages/pydantic/_internal/_model_construction.py", line 352, in inspect_namespace
    raise PydanticUserError(
pydantic.errors.PydanticUserError: A non-annotated attribute was detected: `enabled = True`. All model fields require a type annotation; if `enabled` is not meant to be a field, you may be able to resolve this error by annotating it as a `ClassVar` or updating `model_config['ignored_types']`.

For further information visit https://errors.pydantic.dev/2.3/u/model-field-missing-annotation

Expected behavior
want to fix this error

CC @pacman100

reinstall these packages ,i resolved my problem 🤣🤣🤣
pip install accelerate==0.20.3
pip install pydantic==1.10.12


Introduce command metadata

Codecov Report

Merging #11 into master will increase coverage by 0.14%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #11      +/-   ##
==========================================
+ Coverage   61.43%   61.58%   +0.14%
==========================================
  Files          18       18
  Lines         529      531       +2
==========================================
+ Hits          325      327       +2
  Misses        161      161
  Partials       43       43

Impacted Files
Coverage Δ

cqrs/utils.go
87.09% <100%> (+0.88%)
:arrow_up:

Continue to review full report at Codecov.

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


Update README.md

introduced
getMetaScore() and getMetaCritics()

@bla0r If you ever happen to be in Berlin, ping me. Coffee or beer is on me. ;)


Enhance matchmaker sub-system

Support more complex fuzzy matches and multi-index search queries on user accounts and storage objects to generate opponent lists for multiplayer. This system will combine the in-memory presence system more directly with the persisted state to create more powerful query/filter composition. This depends on GIN indexes and full-text support on cockroachdb.

Maybe the API could be something like this:
var matchFindRequest = new NMatchFindMessage.Builder().
SearchRooms(string[]{"1v1","CaptureTheFlag","SearchAndDestroy"}).
AddSearchParam("MMR",50, 25).
SetTimeout(20).
Build();

client.Send(matchFindRequest , (INMatchMakingResult result) =>
{
  //found match
}, (INError error) => {
  //error
});

SearchRooms - Only match make with people in the same 'room'. This is just a way for us developers to filter out which kind of games the player is going to play in. Users do not 'create' rooms. Maybe developers create 'rooms' via command line on the server, similar to leaderborads? The developer can specify how many users per match in the room, etc.
In the game, player presses: Start -> Multiplayer -> Free For All -> Find Match so we send an NMatchFindMessage with SearchRooms(string[]{"FFA"}). If user selects Start -> Multiplayer -> All-> Find Match, we send an NMatchFindMessage with SearchRooms(string[]{"FFA","DM","CTF"}).
AddSearchParam - 'fuzzy' match making values. IE Pass in an "MMR" of "50"and a max search range of "25" (ie match against others with an MMR of 25-75. I am not sure if this is the 'best' way to do it, but just an idea.
SetTimeout Time out for the search operation. Return an error if match not found after this time?
**INMatchMakingResult ** Contains a reference to the INMatch that was found, and also
var cancelMatchFind = new NCancelMatchFindMessage.Default();
client.Send(cancelMatchFind, //etc....

To cancel current match find operation?
Just suggestions

Matchmaking should support group play.
IE I want to play a match together with my friend. I ask nakama to match make for me and my friend (maybe I provide both our UserIDs as well as our "MMR"). The server puts us together in to a match.
I guess it would also be important that the players be out into the same team, so the server not only has to find a game with 2 free spots, but one with 2 free spots on the same team.

The initial framework for this feature is available on master since 46e50e1052123dcef13e8dcc3f657d8f99800e91. Matchmaking criteria improvements remain scheduled for 0.14.0.

i like to add filters like range like rank 2- 4 and score 2000 -2800 etc
player will send this to server and server should match other who is also having rank and score within the range

This is now available on commit https://github.com/heroiclabs/nakama/commit/dc0a5964d8a1fe3dde79b1c6d1d8d0a59b71e216 and will be available in Nakama 1.1.0+


Borderlands 2 Shadows Distance Issues

Please describe your issue as accurately as possible. If you run into a problem with a binary release, make sure to test with latest master as well.
Important: When reporting an issue with a specific game or application, such as crashes or rendering issues, please include log files and a D3D11 Apitrace (see https://github.com/apitrace/apitrace) so that the issue can be reproduced. In order to create a trace, run wine apitrace.exe trace -a dxgi YOURGAME.exe. DO NOT use DXVK together with apitrace!
Borderlands 2 renders shadows in reverse mode by distance. The closer you get to the shadow it's starts to fade-out and finally disappears.
Far from shadow:

Near to shadow:

Video examples:
https://drive.google.com/file/d/1lX7op12Y-6g4b_PwkSpxsMQcHEZI_zen/view?usp=sharing
https://drive.google.com/file/d/14nJcv812cFWGeGicEP-FPDK7CQaJfnz0/view?usp=sharing
Software information
Borderlands 2
System information

GPU: nVidia GTX 960 2 GB
Driver: 418.52.17
Wine version: proton 4.11
DXVK version: current-master (artifact #733)

Apitrace file(s)
https://drive.google.com/file/d/1AxbYomMly6UKtj6Hn60y7iNPi9DcxffN/view?usp=sharing
Log files
https://drive.google.com/file/d/1PM5ErIrxEp3MNKmvwr2lFDg0G0GKNcow/view?usp=sharing

@Joshua-Ashton Hi, this issue and https://github.com/Joshua-Ashton/d9vk/issues/178 are solvable by adding "d3d9.supportDFFormats = False" in dxvk.conf. But then we have a problem if we wanna play Borderlands 2 through steam play proton. Because we have to rename application executable "Borderland 2.exe -> Launcher.exe". So adding to global config is not an option. We need a solution for d9vk to AUTO this "d3d9.supportDFFormats".
P.S. I think this also apply to Borderlands Pre-Sequel.


lib/systems: add microblaze-embedded

Description of changes
Adds a new target for pkgsCross that can be used for building freestanding code for microblaze targets (e.g. Xilinx PMU firmware).

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@ofborg build pkgsCross.microblaze-embedded.stdenv.cc

evals and builds fine


Allow demo/builtin windows to open forever

Hey, seems like dear imgui has made a change to ImageButtonEx function, which I use in my extension and I don't want to make a follow up fix for that. I can accept the change if you revert the submodule update.
If you are looking for a more standard and feature full library, please look at michal-z's dear imgui bindings instead: https://github.com/michal-z/zig-gamedev/tree/main/libs/zgui

It's fixed


netty3 backlog

What is the purpose of the change
Fix issue: #5168
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[ ] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

Merging #5169 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #5169      +/-   ##
============================================
+ Coverage     64.16%   64.16%   +<.01%
- Complexity      461      462       +1
============================================
  Files           769      769
  Lines         33255    33256       +1
  Branches       5239     5239
============================================
+ Hits          21339    21340       +1
- Misses         9485     9489       +4
+ Partials       2431     2427       -4

Impacted Files
Coverage Δ
Complexity Δ

...he/dubbo/remoting/transport/netty/NettyServer.java
73.68% <100%> (+4.04%)
9 <0> (+1)
:arrow_up:

...onfig/spring/extension/SpringExtensionFactory.java
70.73% <0%> (-9.76%)
0% <0%> (ø)

.../remoting/transport/netty4/NettyClientHandler.java
61.4% <0%> (-7.02%)
0% <0%> (ø)

.../apache/dubbo/remoting/transport/AbstractPeer.java
58.69% <0%> (-4.35%)
0% <0%> (ø)

...dubbo/metadata/support/AbstractMetadataReport.java
72.98% <0%> (-1.73%)
0% <0%> (ø)

.../dubbo/remoting/transport/netty4/NettyChannel.java
63.63% <0%> (-1.14%)
0% <0%> (ø)

...g/apache/dubbo/registry/consul/ConsulRegistry.java
62.5% <0%> (+0.62%)
29% <0%> (ø)
:arrow_down:

...he/dubbo/registry/multicast/MulticastRegistry.java
69.68% <0%> (+1.8%)
0% <0%> (ø)
:arrow_down:

...ng/exchange/support/header/HeartbeatTimerTask.java
78.94% <0%> (+5.26%)
0% <0%> (ø)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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

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


Session not updated in memcached when only a session attribute was removed

From martin.grotzke on August 01, 2011 13:41:01
When a session is changed by removing a session attribute and without any other modifications the session is not updated in memcached (due to an optimization that checks for session changes).
This was reported via email / the mailing list (http://groups.google.com/group/memcached-session-manager/msg/217f85f128cc8510).
Original issue: http://code.google.com/p/memcached-session-manager/issues/detail?id=106

From martin.grotzke on August 01, 2011 05:10:11
Fixed in master.
Status: Fixed
Labels: Milestone-1.5.1


Returned sending value can not be passed into sending parameter in another function

Description
No response
Reproduction
 class _NonSendable {
    init() {
    }
  }

 class Class_1 {

    nonisolated func run_sending<T>(_ closure: () -> sending T) -> sending T {
      let t = closure()
      return t
    }

    nonisolated func sub<T>(_ value: sending T) {
      print(value)
    }

    nonisolated func main() {

      let r = run_sending {
        _NonSendable()
      }
      // ❌ why is this error?
      sub(r)

      do {
        let r = _NonSendable()
       // this is fine
        sub(r)
      }

    }

  }

Expected behavior
Should not the returned value as sending be able to be passed into a sending parameter in another function?
Environment
swift-driver version: 1.115.1 Apple Swift version 6.0.3 (swiftlang-<IP_ADDRESS>.10 clang-16<IP_ADDRESS>)
Target: arm64-apple-macosx15.0
Additional information
No response

this is also related
https://github.com/swiftlang/swift/issues/77199

this example appears to compile on a recent nightly toolchain (compiler explorer example). a potential workaround is to ensure the functions that return sending values do not implicitly take additional parameters that may affect the inferred isolation regions (e.g. the implicit self of instance methods). this can be done in this case by either making the method static or a free function, e.g.
class _NonSendable {}

private func run_sending<T>(
    _ closure: () -> sending T
) -> sending T {
    let t = closure()
    return t
}

class Class_1 {
    nonisolated func sub<T>(_ value: sending T) {
        print(value)
    }

    nonisolated func main() {
        let r = run_sending {
            _NonSendable()
        }
        sub(r)
    }
}


frontend clientside pagination

implement clientside pagination for the listview

see: datatables.net . gind angular pondon for this
apparently ng-table.com

is this v2.0.0 or v3.0.0 @martingrimmer ?


⚠ Samsung has degraded performance

In b1fe93b, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2373 ms

Resolved: Samsung performance has improved in 84bdc6e.


David/map

@CianDuffy haven't tested this because I don't have an Android phone. Feel free to run it on your phone or wait until the lab on Monday


#2375 use type from snapshot2

Description
Applying #2646 into 3.3.x branch.
Related Issue : #2375

run build
deploy to 4

Self test done.
These PRs will be merged in series, in a short period of time:
~~https://github.com/metatron-app/metatron-discovery/pull/2612~~
~~https://github.com/metatron-app/metatron-discovery/pull/2634~~
~~https://github.com/metatron-app/metatron-discovery/pull/2642~~
~~https://github.com/metatron-app/metatron-discovery/pull/2646~~
https://github.com/metatron-app/metatron-discovery/pull/2645
https://github.com/metatron-app/metatron-discovery/pull/2654
https://github.com/metatron-app/metatron-discovery/pull/2664
https://github.com/metatron-app/metatron-discovery/pull/2666
https://github.com/metatron-app/metatron-discovery/pull/2674
https://github.com/metatron-app/metatron-discovery/pull/2703
https://github.com/metatron-app/metatron-discovery/pull/2704
https://github.com/metatron-app/metatron-discovery/pull/2706
https://github.com/metatron-app/metatron-discovery/pull/2707
https://github.com/metatron-app/metatron-discovery/pull/2715
https://github.com/metatron-app/metatron-discovery/pull/2716
https://github.com/metatron-app/metatron-discovery/pull/2724
https://github.com/metatron-app/metatron-discovery/pull/2738
https://github.com/metatron-app/metatron-discovery/pull/2748
https://github.com/metatron-app/metatron-discovery/pull/2754
https://github.com/metatron-app/metatron-discovery/pull/2761


remove deprecated loaders

raw-loader
url-loader
file-loader

@chenxsan it makes sense to redirect :+1: it will be better since most of developers will move to assets modules instead using file-loader/url-loader/raw-loader

Or we can remove them and redirect the removed url to the v4 version.

How to go about implementing the redirects? I can see a few listed here:-
https://github.com/webpack/webpack.js.org/blob/747cb66122a5c5812ba7daa8fafde3b827dfad4e/webpack.ssg.js#L58

Or we can remove them and redirect the removed url to the v4 version.

How to go about implementing the redirects? I can see a few listed here:-
https://github.com/webpack/webpack.js.org/blob/747cb66122a5c5812ba7daa8fafde3b827dfad4e/webpack.ssg.js#L58

Spot on.


Hide the "Chat messages cannot be verified" toast

Starts in 1.19.1-rc2, A new toast has been added for whenever the player logs on to older servers / 1.19.1 servers that have the secure-chat-only mode disabled, the toast will appear over and over again until the secure-chat-only mode is re-enabled or clients are downgraded instead,
Mostly this can be ignored but for specific people may turn out annoying in some scenarios.

I have already addressed this in build 1.19.1-rc2-v1.6.0.


About training time&memory

Hi, thanks for your great work.
May I ask what the training time and memory usage are when using the 7B parameter LLM?
Looking forward to your reply~

Hi, could you please explain it to me? Thanks a lot.

In our default setting, it takes about 8 hours and 2 hours per align epoch and sft epoch (4 A100/A800 GPU), respectively. Memory usage depends on the tasks (sequence length). For tasks with short input and short output (e.g., QA), the whole training takes about 40G GPU memory. When involving tasks with long input and long output (e.g., dialogue and planning), the memory usage increases to 80G.
If you mean using the solely 7B LLM for inference, a 24G GPU like RTX 3090 is adequate.


show 3bot id in admin panel

it should show name and id

https://github.com/threefoldtech/jumpscaleX_threebot/commit/30c0cc38116ea6ca33a14376062d65d24a267661


[rebranch] Move SILBuilder::substituteAnonymousArgs out of the header

An attempt to fix an undefined reference to std::_Construct that we're hitting on Ubuntu 22.04 and UBI 9.

@swift-ci please smoke test


Create ListAnswer View

use serialiser as AnswerSerializer , its not created yet so , add and comment that part

This issue is open to be claimed

claim

can you unassign me from this task

claim


Hold back certain packages when running winget upgrade --all

Description of the new feature / enhancement
It would be nice to have a way to lock certain package versions and be able to hold them back during winget upgrade --all. If you for some reason need to use a specific version of a piece of software, and a new version is released to winget, you can't enjoy the benefit of the --all option the way winget works today.
For instance, I'm a web developer, and to mirror the production environment as much as possible, I'm using the same database version as our production environment, which is not the latest version. However, if I do winget upgrade --all, this package will be upgraded, so using that command is no longer an option. I have to upgrade every single other package one by one, which is a real pain.
Proposed technical implementation details
There must be some way to mark packages to hold them back like when using apt-mark:
apt-mark hold <package-name>
The list of desired versions for each package can be saved to some kind of version definition manifest similar to how Composer in PHP does it using JSON:
{
    "versionLocks": {
        "MariaDB.Server": "10.5.17",
        "Microsoft.Edge": "116.*"
}

Or you could bake it into the existing registry I expect you're already using by just adding a property "version" which has * as default for latest, and being able to specify versions like above. I don't know the inner mechanics of winget, but this should be highly doable in some way. We're already able to install specific versions of packages, so applying that version to each package installation invoked by winget update --all should also be possible.

This can be achieved through winget pin command.
Duplicate of #476

Oh wow, I can't believe my research didn't find this feature! I was searching for "lock version" and "specify version" instead of "pin version". I still find it weird that this feature didn't show up even once during my googling, as it seems to have existed since around January? Sorry to bother you guys with a duplicate, and thank you for the nudge in the right direction!


Added "Copy JPEGs only" option to skip RAW files...

… where speed is more important than quality.
I'd like to use Snowy to pick up pictures for printing 4"x6" in a "photo booth".
Medium JPEGs transfer in about 5 seconds.  Transferring ORF files adds another 20 seconds which makes the event less spontaneous.
Sorry if the Japanese translation isn't quite right.

Thank you for your contribution!
Since I found the difference of tabification, I locally pulled your repository, made some modifications and then merged it to the master. The modification includes:

Moved file filterning logic by file extension to ViewModel so that when a user changes this setting, it will be instantly reflected to the list without checking the FlashAir again.
Adjusted wording and location of the settings including Japanese language.


Create a new coder template for kubevirt

Talos + Equinix will have a cost of a machine per user.
vcluster is quite insecure
KubeVirt might be a decent middle ground allowing for better allocation of real hardware for multiple developers

Initial stab:
https://github.com/sharingio/coder/tree/main/examples/templates/kubevirt

Next step is CNI: https://github.com/sharingio/coder/blob/main/examples/templates/kubevirt/Readme.md#cni-not-yet-working

I wonder, if for speed, talos might be a better image to use.... and avoid using the kubeadm based approach.
See https://twitter.com/usrbinkat/status/1516590124963835905

/assign @BobyMCbobs

Caleb can we do this without clusterapi?

Caleb can we do this without clusterapi?

Yes it is possible, but the amount of things required to get it going is a lot more.
There'll be a lot more config, specifically around things like userdata init and such.
I can take a look, but Cluster-API is the clearest path with least config as far as i'm aware.


fix for uppercase QR

Got a QR (LNURLw) from General Bytes ATM which was upper-cased like LIGHTNING:LNURL1XXXX and ended up with the Malformed request: checksum is incorrect message from the invoice decoder when scanning it. So there's a little fix.

Codecov Report

Merging #957 (8c75ea6) into main (f3a16a2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #957   +/-   ##
=======================================
  Coverage   43.20%   43.20%
=======================================
  Files         244      244
  Lines       13558    13558
=======================================
  Hits         5858     5858
  Misses       7700     7700

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


summation() unexpected kwarg 'verbose'

Hello,
I get this error with the summation() which resembles the closed issue a fellow member had with mad(). Unfortunately, I can't find a way around it.
--Code--
Initialized sequence with 1452 registries.

TypeError                                 Traceback (most recent call last)
 in ()
1 #Summation
----> 2 bf.summation(rev['Revenues'],digs=2,show_plot=True)
/usr/local/lib/python3.6/dist-packages/benford/benford.py in summation(data, digs, decimals, sign, top, verbose, show_plot, save_plot, save_plot_kwargs, inform)
1554                           show_plot=show_plot, save_plot=save_plot,
1555                           save_plot_kwargs=save_plot_kwargs, ret_df=True)
-> 1556     if verbose == True:
1557         return data.sort_values('AbsDif', ascending=False)
1558     else:
TypeError: summation() got an unexpected keyword argument 'verbose'

Thanks for posting.
What is you version of the package? The latest?

Thanks for posting.
What is you version of the package? The latest?

Yes! I run it from google colab so I download the last version each time

Yes! I run it from google colab so I download the last version each time

OK.
I will check it out.

OK.
I will check it out.

I think I have fixed it, but am still going to run some tests in the same function and in the more recent parts of the library.
While I don't release another version with the bugfix, you should be able to install it in Colab directly from github, with the command below:
pip install git+https://github.com/milcent/benford_py.git@hotfix/summ_verbose
Let me now if it works.
Cheers,
Milcent

I think I have fixed it, but am still going to run some tests in the same function and in the more recent parts of the library.
While I don't release another version with the bugfix, you should be able to install it in Colab directly from github, with the command below:
pip install git+https://github.com/milcent/benford_py.git@hotfix/summ_verbose
Let me now if it works.
Cheers,
Milcent

Yep it works thank you! You do a very good job sir !

Yep it works thank you! You do a very good job sir !

I have merged it into master, so the pip comand below should also work:
pip install git+https://github.com/milcent/benford_py.git@master

I have merged it into master, so the pip comand below should also work:
pip install git+https://github.com/milcent/benford_py.git@master

It is now in v0.3.3 (latest)

It is now in v0.3.3 (latest)

Might I ask (if you can disclose it) in what field are you using the
package and how the summation test, or any other, for that matter, is
helping you?
Em sáb., 23 de jan. de 2021 às 16:52, Harry Kapnas<EMAIL_ADDRESS>escreveu:

Yep it works thank you! You do a very good job sir !
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/milcent/benford_py/issues/49#issuecomment-766169193,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQTJ47LQK3MPAJCRUIRBP3S3MSJBANCNFSM4WPTKSNQ
.

Might I ask (if you can disclose it) in what field are you using the
package and how the summation test, or any other, for that matter, is
helping you?
Em sáb., 23 de jan. de 2021 às 16:52, Harry Kapnas<EMAIL_ADDRESS>escreveu:

Yep it works thank you! You do a very good job sir !
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/milcent/benford_py/issues/49#issuecomment-766169193,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQTJ47LQK3MPAJCRUIRBP3S3MSJBANCNFSM4WPTKSNQ
.

I work as an auditor and I'm experimenting on automated auditing techniques. I find your package very useful whenever I manage to get enough data for the algorithm to be effective.

I work as an auditor and I'm experimenting on automated auditing techniques. I find your package very useful whenever I manage to get enough data for the algorithm to be effective.

Thanks for sharing.
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Livre
de vírus. www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Em dom., 24 de jan. de 2021 às 15:08, Harry Kapnas<EMAIL_ADDRESS>escreveu:

I work as an auditor and I'm experimenting on automated auditing
techniques. I find your package very useful whenever I manage to get enough
data for the algorithm to be effective.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/milcent/benford_py/issues/49#issuecomment-766405050,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQTJ434RIV56WGSLTXBS53S3RO2HANCNFSM4WPTKSNQ
.

Thanks for sharing.
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
Livre
de vírus. www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail.
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
Em dom., 24 de jan. de 2021 às 15:08, Harry Kapnas<EMAIL_ADDRESS>escreveu:

I work as an auditor and I'm experimenting on automated auditing
techniques. I find your package very useful whenever I manage to get enough
data for the algorithm to be effective.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/milcent/benford_py/issues/49#issuecomment-766405050,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQTJ434RIV56WGSLTXBS53S3RO2HANCNFSM4WPTKSNQ
.


Reservation and Savings plans support transfers when MOSP (PAYG) to MPA?

This doc outlines 'Reservations and savings plans transfer with most supported product transfers. However, there are some transfers where reservations or savings plans won't transfer, as noted in the following table.'
Does the include
MOSP (PAYG) to MPA (CSP)?
MCA - individual to MPA (CSP)?
I know the resources need to be moved ourselves. But this detailed none of that.

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

ID: 55151e88-c7c5-47e4-573c-04441dc23577
Version Independent ID: f0253fd2-838c-23c5-bb1f-f702ca04923d
Content: Azure product transfer hub - Microsoft Cost Management
Content Source: articles/cost-management-billing/manage/subscription-transfer.md
Service: cost-management-billing
Sub-service: billing
GitHub Login: @bandersmsft
Microsoft Alias: banders

@joshd-emergent
Thanks for your feedback! We will investigate and update as appropriate.

@joshd-emergent Pay-As-You-Go to CSP direct migration is not supported. Even for subscriptions.
Hope this answers your question!
Closing this issue for now. If you have any questions, please tag me in your reply and we will continue the discussion.


How to load a polygon from spark to click house where polygon will be the data type in clickhouse

I have a table in clickhouse which have a column named as polygon with polygon data type now I want to load data in that table using spark clickhouse connector

The polygon data type is not supported yet.
For someone interested in supporting more data types, Spark has published UserDefinedType since 3.2.0, see details in SPARK-7768


hope have autosuggest props feature when press space on children component tag

hope have autosuggest props feature when press space on children component tag.
e.g. interface will appear "msg" and "labels" when press space

I am also looking for this feature. It used to work great with Volar. Official extension seems broken.

Am I correct in assuming that you wish to get autosuggestions for props when pressing space only (without manually triggering suggestions)?


Pass on error information

If a span gets tagged with an error, we should send that information to the DataDog backend.
It is currently marked as a TODO item inside the codebase. Time to make it happen!

ensure we also pass the message


WindowsTaskbar.setThumbnailToolbar not working

If I run the example from here, it's working and It's perfectly fine.
But If I make a new project and copy everithing, and follow all instructions, this feature WindowsTaskbar.setThumbnailToolbar will not work. (the rest of the features are still fine). I use Windows 10.
I did include all assets in pubspec.yaml, is there a property somewhere, where I should set something to "enable" ?
like AndroidManifest.xml in Android? :)
thank you in advance for your feedback.

Do you see some exception being thrown? Any details will help me in saying anything.

:(


Break blocks from really far away

I don't know if it is even this mod that's causing it, but ever since I started using it, I've been able to interact with blocks the are really far away.

remove VW and try again. Also is this a huge ship or just the world?

I have released build 0.9_prerelease_5 which fixes this bug. As such I am closing the issue for now.


Add logs directory if needed

Fixes missing logs on Windows
Fixes crash on Linux
server_1         | 23:58:20 Initializing Intercept
server_1         | terminate called after throwing an instance of 'spdlog::spdlog_ex'
server_1         |   what():  Failed opening file logs/intercept_dll.log for writing: No such file or directory
server_1         | Aborted (core dumped)

Tested successfully on Windows. Got a segfault on Linux but might be unrelated, needs some more testing.

I intentionally didn't auto create, because I didn't want people to be spammed with logs if they don't need them 🙃

I intentionally didn't auto create, because I didn't want people to be spammed with logs if they don't need them

Thats still my blocker. I don't want people to be spammed with logs they don't need, creating logs directory manually was the flag to enable intercept logging.
Maybe we can only create the dir if -debug start parameter is set?
https://github.com/dedmen/ArmaScriptProfiler/blob/master/src/scriptProfiler.cpp#L818-L845
Still, even if they set it once we'll create logs dir and they'll be spammed with logs even if they remove it again

Sure, I'll fix it


Remove usage of sh:declare

This is filed as a bugfix Pull Request due to a discovery made in Issue #457 .
SHACL Specification Section 5.2.1 specifies a "viral" behavior of sh:declare throughout an OWL transitive closure.  This patch removes usage of sh:declare as a matter of lack of authority for non-UCO prefixes.  It just so happens the only place this was used was in the introduction of the OWL SHACL review mechanisms of Issue 406.
Coordination

Tracking in Jira ticket OC-268
[x] Pull request is against correct branch
[x] Pull Request is in, or reverted to, Draft status before Solutions Approval vote has passed.
[x] CI passes in (CASE/UCO) feature branch
[x] CI passes in (CASE/UCO) current unstable branch (4a99851)
[x] CI passes in CASE current unstable branch tracking UCO's unstable as submodule (8f6ffd4)
[x] Impact on SHACL validation reviewed for CASE-Examples
[x] Impact on SHACL validation remediated for CASE-Examples (N/A)
[x] Impact on SHACL validation reviewed for casework.github.io
[x] Impact on SHACL validation remediated for casework.github.io (N/A)
[x] Solutions Approval vote logged on corresponding Issue (N/A under bugfix workflow)

Converting to draft while checking for CASE unstable branch impact.

CI has passed in CASE's unstable.  This is ready for review and merge.


Freecodecamp site not recognizing remainder operator (%) on Windows 8.1 or iPad Air 2, both chrome browsers

Challenge Finding a Remainder in JavaScript has an issue.
User Agent is: Mozilla/5.0 (iPad; CPU OS 9_3_1 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/51.0.2704.64 Mobile/13E238 Safari/601.1.46.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

// Only change code below this line

var remainder;

remainder=11 % 3;

Looks like the test is looking for the var declaration and operation on the same line.

@BerkeleyTrue I would like to work on this.

@arun1595, cool!
Please, check our Guidelines for Contributing and if you need any assistance reach out to the Contributors Chat room.


Random Select with Limit

is it possible to perform a selection-bound query with N elements randomly selected in the table?

Yeah, should be pretty easy to do...
const minRows = 5;
const maxRows = 10;

nSQL("myTable").query("select", ["COUNT(*) AS total"]).exec().then((rows) => {
    const getRows = Math.floor((maxRows - minRows) * Math.random()) + minRows;
    const offset = Math.floor((rows[0]["total"] - getRows) * Math.random());
    return nSQL("myTable").query("select").limit(getRows).offset(offset).exec();
}).then((randomRows) => {

});

Thanks for the code, it looks elegant, but I do not think I explained it properly. I thought of something in MYSQL's ORDER BY RAND () style, which was native. I make this, not so elegant, but it is solving.:

  const sizeRows = 10;
  const lstIDs = [];
  nSQL("perguntas").query("select", ["per_id"])
  .exec().then((rows) => {
    var ttRows = rows.length;
    while(lstIDs.length < sizeRows){
      var tstID = rows[Math.floor(Math.random()*ttRows)];
      if(lstIDs.indexOf(tstID) == -1){
        lstIDs.push(tstID.per_id);
      }
    }
    return nSQL("perguntas").query("select").where(["per_id","IN",lstIDs]).exec();
  }).then((randomRows) => {

  });

Good to hear you got it figured out!  I'm closing this issue since it seems resolved, feel free to open it up again if you have more questions.


Question about OSS ACCESSKEYID and OSS_ACCESSKEYSECRET usage

Currently we can specify REGISTRY_STORAGE_OSS_ACCESSKEYID and REGISTRY_STORAGE_OSS_ACCESSKEYSECRET env to setup container registry. But it has the limitation that the oss secret key must be static and only be specified when registry start up. But in some cases, it's not safe or possible to get the static oss secret key. So is there any solution for this scenario?

What alternative mechanism would you suggest?
From what I can see, the client library requires the access key and secret: https://github.com/denverdino/aliyungo/blob/master/oss/client.go#L97

Closing this as the OSS storage driver has been removed on the main branch.


Task removal affects old submissions to

I had task 1 connected to competition and the scores were showing in the leaderboard:

Then I removed this task from the competition and added a new one and now I see n/a for old submissions.

It makes sense why this is happening but should this happen?

I think it makes sense. What behavior would you expect / prefer ?

maybe a warning or something because we were thinking that the old scores will stay there on leaderboard

Adding a warning with confirmation is a good idea. However, keeping the old score is not advised as it would be misleading: new submissions would be then compared with old submissions made on a different task.


Improve local tab syncing

Status
:yellow_circle: Needs more testing @ kp
Issue

Closes #2037

Overview

Changes to synced settings like theme and private playlists are now immediate between local tabs.  This reduces any sync error from the existing API-based mechanism, which doesn't kick in until 2s after the tab is focused, potentially causing merge conflicts.
The current API-based syncing remain as-is. The idea is that if the changes are done across all tabs, the API-calls will end up being a no-op

Edit: will also try to see if we can reduce the calls

Test

All settings that are currently saved to the wallet should be tab-synced.
Additions so far:

Deleting a notification
Player seekbar position (already there previously, but re-implemented the new way).
...can add more if you guys find any useful ones

Ensure per-tab settings like navigation paths and form values (e.g. comments) are not being overwritten by changes in another tab.

Test out as many settings as possible.

Publishing? SDK calls?

Ensure the existing wallet sync between devices isn't broken.
Note that the following will remain per-tab:

Queue (just like other sites)

[ ] In Firefox, the page fails to load if the highest security setting (no cookies) is selected. In production, it at least loads but with a bunch of warnings.

[ ] Handle Miko's findings.
[ ] Synchronize tab sign-in/sign-out to address the unintended merge problem.

-- ready for review/push ---

fix Handle no-storage-permission scenario.
new Force other tabs to immediately reload when 1 tab signs in.
postpone "Incorrect playback rate corner-case" -- will circle back later.

Related to the "reset back to 1" scenario mentioned in https://github.com/lbryio/lbry-desktop/pull/5535.  It feels like the single-player version changed the sequence of things.

Will give it a whirl today and plan to ship Monday!
Thank you KP, hopefully this nails down the last of our data loss issues.


Fix: Use &[T] instead of &Vec<T> wherever possible

Found a few places where &Vec<T> is used and could be swapped with &[T].

I think there's a clippy lint for that. Maybe we need to activate it manually?


lens: Update to version 5.2.2-latest.20210917.1

What type of Apps related PR is this? (check all applicable)

[ ] ✨ Add Manifest
[x] ♻ Refactor
[x] 🐛 Bug Fix
[ ] 👷 Optimization
[ ] 🚩 Other

Description
Lens has a new way to release the executable. A couple of modifications has been done to make this work with the autoupdate and checkversion while updating to the current version
Related Tickets & Documents
No
Did you verify the followings
Add/Modify a description in the manifest?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Check URLs?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Update to the latest version?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Update Hashes?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Format the json manifest?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Did you identify extra steps
Notes in the manifest?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Application Dependencies?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Application Suggestions?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Pre-installation steps to perform?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Post-installation steps to perform?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

File persistence to perform?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

[optional] What gif/emoji best describes this PR or how it makes you feel?

:pleading_face: :relieved:

All changes look good.
Wait for review from human collaborators.
lens

[x] Description
[x] License
[x] Hashes
[x] Checkver
[x] Autoupdate

/verify

Your changes do not pass checks.
lens

[x] Description
[x] License
[x] Hashes
[ ] Checkver
[x] Autoupdate
[x] Autoupdate Hash Extraction

/verify

Your changes do not pass checks.
lens

[x] Description
[x] License
[x] Hashes
[ ] Checkver
[x] Autoupdate
[x] Autoupdate Hash Extraction

/verify

Your changes do not pass checks.
lens

[x] Description
[x] License
[x] Hashes
[ ] Checkver
[x] Autoupdate
[x] Autoupdate Hash Extraction


Custom Image functionality not working

We are trying to use custom image for runner pods as we found some bug in latest version of k6 images. However when we are creating k6 resource with the required image, Job is always being created by the default image loadimpact/k6:latest.
This is happening irrespective of whatever value we provide in the k6 resource runner spec image. Please find one of the k6 resource we created and the corresponding Job created by the operator for this k6 resource. Please find the reference for the k6 resource used and the corrosponding job created. I tried with multiple images and it was picking the default one every-time. Is this the bug in the Operator

apiVersion: k6.io/v1alpha1
kind: K6
metadata:
  annotations:
    meta.helm.sh/release-name: test
    meta.helm.sh/release-namespace: default
  creationTimestamp: "2022-07-27T13:00:55Z"
  generation: 1
  labels:
    app.kubernetes.io/managed-by: Helm
  name: test-38-local-tag-logs
  namespace: default
  resourceVersion: "4051"
  uid: 5cbe68bf-075a-4b27-8fac-86ec84619223
spec:
  arguments: --out statsd
  parallelism: 2
  runner:
    env:
    - name: K6_STATSD_ADDR
      value: test-statsd.default.svc:8125
    image: k6-local
    resources:
      limits:
        cpu: 600m
        memory: 1000Mi

apiVersion: batch/v1
kind: Job
metadata:
  creationTimestamp: "2022-07-27T15:41:09Z"
  labels:
    app: k6
    controller-uid: 21c0c40b-a473-44a8-8d42-bac37b1d11a0
    job-name: test-38-local-1
    k6_cr: test-38-local
  name: test-38-local-1
  namespace: default
  ownerReferences:
  - apiVersion: k6.io/v1alpha1
    blockOwnerDeletion: true
    controller: true
    kind: K6
    name: test-38-local
    uid: 23b77a56-fe62-44a0-8845-4f8df7c662b0
  resourceVersion: "69411"
  uid: 21c0c40b-a473-44a8-8d42-bac37b1d11a0
spec:
  backoffLimit: 6
  completions: 1
  parallelism: 1
  selector:
    matchLabels:
      controller-uid: 21c0c40b-a473-44a8-8d42-bac37b1d11a0
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: k6
        controller-uid: 21c0c40b-a473-44a8-8d42-bac37b1d11a0
        job-name: test-38-local-1
        k6_cr: test-38-local
    spec:
      containers:
      - command:
        - k6
        - run
        - --quiet
        - --execution-segment=0:1/2
        - --execution-segment-sequence=0,1/2,1
        - --out
        - statsd
        - /test/test.js
        - --address=<IP_ADDRESS>:6565
        - --paused
        env:
        - name: K6_STATSD_ADDR
          value: test-statsd.default.svc:8125
        image: loadimpact/k6:latest
        imagePullPolicy: Always
        name: k6
        ports:
        - containerPort: 6565
          protocol: TCP
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /test
          name: k6-test-volume
      dnsPolicy: ClusterFirst
      hostname: test-38-local-1
      restartPolicy: Never
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 0
      volumes:
      - configMap:
          defaultMode: 420
          name: test.js
        name: k6-test-volume
status:
  active: 1
  startTime: "2022-07-27T15:41:09Z"

Note: Not able to find any logs related to image in operator manager pod

@akshaychopra5207, this description is insufficient as error cannot be repeated. When I use image: k6-local, I get ErrImagePull on all pods. Both for 0.7 and the latest operator.
Additionally, your spec doesn't contain script field:
spec:
  arguments: --out statsd
  parallelism: 2
  runner:
    env:
    - name: K6_STATSD_ADDR
      value: test-statsd.default.svc:8125
    image: k6-local
    resources:
      limits:
        cpu: 600m
        memory: 1000Mi

The above spec would fail on validation. So it's not clear to me how you got that Job with test.js in configmap with this spec.
IOW, it seems like the info in this issue is incomplete.
Also, I believe community forum is more suitable for questions of this type.

This seems quite outdated; closing it.


Torch7 Cuda8 1080Ti Install problem Fresh 16.04 LTS

Hi,  I have been trying to install Touch7 following the instruction but not luck,
When I type the command  "th" shows "command not found"
I did a Fresh Unbuntu 16.04 LTS Install, them  installed the Nvidia Drivers, them the CUDA tool kit 8.0. and finally Torch7. Please Advice

I realize this is a pretty late reply, but are you following the instructions outlined here?


In lang file creation, delete old language files before making new ones

See action (should pass) on MADE: [ https://github.com/plocket/docassemble-MAEvictionDefense/actions/runs/423521377 at 11 am]  ~[https://github.com/plocket/docassemble-MAEvictionDefense/actions/runs/423496961 10:45am] https://github.com/plocket/docassemble-MAEvictionDefense/actions/runs/423333291. Should be done by... 9:30am?~
[And now I forgot to implement flag and update the package version. Love it!]

Apparently I haven't updated the wait time next to 'rental agreement' yet. Bleh.

Updated! Should be good for review.


Create Posts “οι-σημερινές-λέξεις-1”

Automatically generated by Netlify CMS

👷 Deploy Preview for greeking processing.

Name
Link

🔨 Latest commit
b8d51fdcfe55d4f58885d360feacd53e9decc5c0

🔍 Latest deploy log
https://app.netlify.com/sites/greeking/deploys/62f9fec4e7f8b5000872a389


it can be shared library?

it can be shared library?
it describe explicity that BUILD_SHARED_LIBS  is OFF
if BUILD_SHARED_LIBS is on, there are proper excution for making shared library
also option of add_library  is auto

Got the same question, I build with cmake -DBUILD_SHARED_LIBS=ON -S ..
You could also try add set(BUILD_SHARED_LIBS ON CACHE INTERNAL "") before adding SQLiteCpp subdirectory as in example

@tenk28
thank you for replying on me.
I didn't know about BUILD_SHARED_LIBS, so I change a little bit CMakefile.
SET(BUILD_SHARED_LIBS  ON CACHE BOOL "make shared library" FORCE) .... if(BUILD_SHARED_LIBS)     add_library(SQLiteCpp SHARED ${SQLITECPP_SRC} ${SQLITECPP_INC} ${SQLITECPP_DOC} ${SQLITECPP_SCRIPT}) else()     add_library(SQLiteCpp STATIC ${SQLITECPP_SRC} ${SQLITECPP_INC} ${SQLITECPP_DOC} ${SQLITECPP_SCRIPT}) endif()


Stub out Data Movement SDK

Stub out classes for Data Movement SDK

Moved this to data-movement project: https://github.com/marklogic/data-movement/issues/6


fix: ensure propose payload attachment is in correct snake-case JSON format

Signed-off-by: Mike Richardson<EMAIL_ADDRESS>

Codecov Report

Merging #775 (a05d9dc) into main (020e6ef) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #775      +/-   ##
==========================================
+ Coverage   87.51%   87.53%   +0.02%
==========================================
  Files         430      431       +1
  Lines       10561    10585      +24
  Branches     1827     1828       +1
==========================================
+ Hits         9242     9266      +24
  Misses       1256     1256
  Partials       63       63

Impacted Files
Coverage Δ

...les/credentials/protocol/v2/V2CredentialService.ts
93.85% <ø> (ø)

...ntials/formats/indy/IndyCredentialFormatService.ts
88.15% <100.00%> (+0.40%)
:arrow_up:

.../modules/credentials/formats/models/CredPropose.ts
100.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Output a grouped routing list

Currently, Route::class supports the output of all routes. Is the official website considering adding support for grouped tree-structured list output to better facilitate the interface management implementation of front-end and back-end separation projects?

This is the workerman project, and there is no Route-related interface. If you are referring to webman, the official team does not intend to implement such an interface, but you can format the data output by yourself.


Can't delete or archive workspace or tab

Describe the bug
Whenever I try to delete a workspace or tab I get the error message: Error: /session:purge session "" not found
To Reproduce
Steps to reproduce the behavior:

Expected behavior
Workspace should go away or be hidden.
Screenshots
See above
Desktop (please complete the following information):

OS: Mac OS
Version 13.4 (22F66)

Thanks for submitting.  This is fixed in v0.5.3 (we pushed a quick v0.5.3 specifically to fix this bug).


The FPS is not 30 but maybe 18?

Hi, I am afraid that the FPS in the release version is only 18? Here I just recorded the frame number and the total time, it shows only about 18 fps.

Perhaps there are some hardware or other problems that caused the fps not exactly equal to 30? I guess :）

Hi, sorry for the late answer!
Yes this is most likely caused due to not enough resources on the system. You can try to distribute the kinects between more PCs, so that each PC only serves one Kinect or upgrading your hardware (CPU most likely).

Well received! Thanks!


Tests failing with numpy 1.7 and matplotlib 1.3.1

Travis should be running this same configuration, so I might be doing something wrong, but it appears to be broken. If I create a fresh conda environment with the following command:
~/anaconda/bin/conda create -n skbio_env python=2.7 pip numpy=1.7 scipy matplotlib=1.3.1 pandas nose pep8 sphinx=1.2.2 ipython
And then activate it:
source ~/anaconda/bin/activate skbio_env
Install skbio from scikit-bio directory:
pip install -e .
And then try to run some tests:
nosetests skbio/sequence
I get the following exception:
ValueError: numpy.ufunc has the wrong size, try recompiling
I believe it's failing because the version of scipy pulled in by conda is built against a newer version of numpy. What I don't get is why isn't Travis choking on this. Am I missing something here?

Thank you very much for providing detailed instructions! I have tried these steps and can't reproduce it in linux with conda 3.7.4 and a fresh git clone. This error is typical from binary incompatibilities, and usually it's solved by using a newer numpy (at least whichever was used to compile scikit-bio) or recompiling scikit-bio for the older numpy version.
I don't know how that's happening for you, but (I guess) somehow the tests are picking up one scikit-bio's cython extensions that you had maybe compiled for a different, newer, numpy version. Can you please try clearing the scikit-bio/build folder?

Yep, that did it. Thanks @Jorge-C!

@Jorge-C: Also, I think the reason I'm getting this issue is that I'm working on a test script that runs the test suite against all of our Travis environments (see #800). Travis has the advantage of having a fresh isolated copy of skbio for each conda environment. I'm going to try and find a way to use the same skbio directory for different conda envs at the same time without hitting these issues. You have any suggestions?

I see, I'll add a comment there!


Non-urgent enhancements

Restarting the program when you want to start all over is annoying. There can be an option to delete all samples loaded so far, and all analysis done. It might also be useful to unload a sample that was accidentally loaded.

Remove libraries that are no more required

The above mentioned deletion of all loaded samples is already implemented via the 'close project' menu item. The only thing that is missing is killing the analysis and the graphview.

EDIT:
The displayed graph is now also deleted.
The only left problem is that the graphview thread / analysis thread does not get killed.
#10

Unloading a certain sample is now featured.


Primary artwork image does not reflect settings designated in CMS

Works are displaying the incorrect primary image both on /collect and on the artwork page. The primary image is correctly set up in CMS but these settings are not reflected on the front end. One example is https://cms.artsy.net/artworks/max-lamb-red-poly-bookcase/images vs.  https://www.artsy.net/artwork/max-lamb-red-poly-bookcase

^ I repositioned the order of images in CMS so the primary image was also the "first" image and this seems to have created the correct ordering on the front end

Thanks for reporting! I believe the images ordering on the /artwork/:id page is controlled by the reordering/position set in CMS. I am not entirely sure about the image displayed on /collect page, but I would imagine that's controlled by the "default image" setting of an artwork (maybe @broskoski or someone on the team can confirm).
Also I want to point out that the changes made in CMS may not be reflected immediately on artsy.net, especially the repositioning, due to our caching. Feel free to reach out to the help channel if you think it takes too long to appear so we can take a closer look sooner. 👍

@starsirius Can you decide whether or not there’s anything actionable to be done here?

@alloy Created an issue (https://github.com/artsy/volt/issues/2303) in Volt to clarify the difference. Going to close this issue if you give me a 👍 .

@starsirius That looks perfect to me 👍


fix: remove pointless synchronization in layout cache

The cache is a thread-local, so doesn't make much sense to require synchronized initialization.

I'll let one of the other maintainers weigh in on the breaking change here.
Generally we keep a good log of these in the BREAKING CHANGES doc, which I'm almost inclined to skip on this one, but if you were interested, this could be as simple here as "Layout::init_cache no longer returns bool and takes a NonZeroUsize instead of usize".

Generally we keep a good log of these in the BREAKING CHANGES doc, which I'm almost inclined to skip on this one, but if you were interested, this could be as simple here as "Layout::init_cache no longer returns bool and takes a NonZeroUsize instead of usize".

I copied you verbatim. :grin: