The result is not so good at my own dataset , especially small object, any suggestion?

hi,thanks for your great work. I have trained my own dataset with yolact. the bakbone are resnet101 and resnet50,iters=100000, my dataset have 6000 images.But the result is not so good for small object.Is there anything i can do to improve the result ? My image size is 1280x720, in config.py, i set max_size=550.should i resize the image first?

By the way, when i turn off the data augmentation in resnet101, i get the result

@hwh-hit @dbolya  i have similar results for lane detection for my custom dataset , @hwh-hit thanks for sharing the results . i get broken masks most of the time . @hwh-hit what dataset are you using for lane detection ??

@abhigoku10 not any standard dataset， i made it by myself, labelme(json)->coco(json),  not only one label.  i have tried maskrcnn whose backbone is mobilenet with the same dataset , but the img size is 384x384, not so accurate ,but the mask is a complete one，so i can process the result with some image process algorithms. so i am here to ask some help for @dbolya to improve the performance.

@hwh-hit  the above results is from mask rcnn output ??. with yolact i was also facing the same issue with the mask generation

@abhigoku10 yes，the last image is the output of maskrcnn.

@hwh-hit nice check out bbd100k dataset it has lane detection category dataset

Hmm it looks like there is regular artifacting in YOLACT's masks. Can you send me one of your original images so I can test to see what specific part of YOLACT might be causing this artifacting? Also your trained weights would be helpful.
The procedure for predicting masks starts with resizing all images to 550x550, predicing the masks, and then resizing the 138x138 masks back to the original image size (in your case, 1280x720). The artifacts may be being caused in the scaling method for the last step, since if you look at some of the lines and imagine them squished horizontally, they form contiguous lines.

@dbolya ok，i see, but i am so sorry to say that the trained weight is to big，185M,  i can‘t upload here, here is my<EMAIL_ADDRESS>please send me a email, i will send images and trained weigthts to you

thanks a lot ,i will have a try @abhigoku10

@hwh-hit Okay sent

@dbolya Okay sent, please let me know if you need more details or images. looking forward to your reply.

@hwh-hit Okay received. I'll take a look at this tomorrow.

hi,thanks for your great work. I have trained my own dataset with yolact. the bakbone are resnet101 and resnet50,iters=100000, my dataset have 6000 images.But the result is not so good for small object.Is there anything i can do to improve the result ? My image size is 1280x720, in config.py, i set max_size=550.should i resize the image first?

hi could you tell me what's your GPU?
and how much your gpu memory is？
i meet some error for my pool gpu

@hwh-hit @dbolya  i have observed the similar mask issue with HTC network architecture ,is this caused due to resizing of mask for the extended resoluiton

@dbolya @abhigoku10 To find the reason, I show one of the 138 x 138 x num_mask pictures, then resize it to 1280x720, it's not exactly same as the output of yolact.
part of 138 x 138

part of 1280 x 720

@hwh-hit i think when we resize the mask its bad, we need to have mask rescaling logic upgraded

So I see two options here:

Use a different scaling method as @abhigoku10 suggested. This is fairly simple to try. All you need to do is change this line: https://github.com/dbolya/yolact/blob/9730ab094e70461a8ee0f5f428b1821e29f3b3e8/layers/output_utils.py#L15 Instead of 'bilinear', try 'nearest'. Pytorch might complain about align_corners=True. If so just ctrl+f and remove all instances of that. I believe this is the scaling mode you used to resize that image yourself, so it might be more what you want.
Instead of using a square 550x550 image as input, use something with aspect ratio 16:9. There's no reason why YOLACT shouldn't work with a non-square image (so long as that image is constant size), but my config simply doesn't support it at the moment. I think the rest of my code does, however, so there should just be a couple of changes necessary. If you think you want to try that, I can implement it (but try (1) first).

@dbolya @hwh-hit  i tried the first approach , but the results did not improve i used to get lot of boxes of mask , @dbolya is it possible to implement for  non square images training and testing . what will be draw back by having non -square images

@abhigoku10 not any standard dataset， i made it by myself, labelme(json)->coco(json), not only one label. i have tried maskrcnn whose backbone is mobilenet with the same dataset , but the img size is 384x384, not so accurate ,but the mask is a complete one，so i can process the result with some image process algorithms. so i am here to ask some help for @dbolya to improve the performance.

Hi~Could you please share your labelme->coco script~Many thanks!

@abhigoku10 I'll add it to the todo. I think it shouldn't be too bad so I'll probably be able to do it in the next couple of weeks.
The downsides would be stretched anchor boxes and maybe more pixels so its slower. You could fix both of those issues pretty easily though just by changing the config.

@hwh-hit @dbolya  I have trained lane detection and i get output as shown below , should i re-generate the anchors to get different bounding box ?? Most of the masks for these lanes are continuous how to get a better masks ??

Hi @dbolya ,
Is there any update on this issue? Looking forward to your reply.

@hwh-hit  i did not make any changes in the architecture but i used yolact ++ i was getting acceptable results . did u do any modifications to the network ???

Hi, @abhigoku10 ,
I was troubled with something else, so sorry, I didn't make any modifications.
And could you post some result pictures here?

@hwh-hit  please find the output below . but i have few issues with the mask during some scenes

@hwh-hit I'll be adding fixed non-square image support soon. I'm just currently swamped with paper writing and other work.

@abhigoku10 Thanks for your reply, the result seems better than the former one.  Are you using resnet as backbone?  And Is the dataset made by yourself or a public dataset?  The drivable area looks good.
@dbolya Ok, thanks for your great work again.

@hwh-hit i am using resnet 50 backbone , its the public availabe dataset which was manually annotated

@dbolya @abhigoku10 To find the reason, I show one of the 138 x 138 x num_mask pictures, then resize it to 1280x720, it's not exactly same as the output of yolact.
part of 138 x 138

part of 1280 x 720

@dbolya  I have the same problem as @hwh-hit.  I use yolact++ on person segmentation task. when i resize the mask from 138X138 to 1920X1080, there are aliasing on the edge of resized mask.  however, i  test maskrcnn with the output  size 112X112 later, and resize the mask to  1920X1080, there is no aliasing. I use the same dataset(my own dataset) to train the two models. what's the different between these two nets. will the method non-square image solver this problem?

@qjziyou That's interesting. Can you show me example outputs from both Mask R-CNN and YOLACT for the same image?


How to specify my own color theme?

Hi,
I'd like to customize color theme of lem. So, I edited my .lemrc as follows.
;; -*- mode:lisp -*-

(in-package :lem-user)

(define-color-theme "my-theme" ()
  (display-background-mode :light)
  (minibuffer-prompt-attribute :foreground "blue" :bold-p t)
  (region :foreground nil :background "#eedc82")
  (modeline :background "#bbbbbb" :foreground "black")
  (modeline-inactive :background "#bbbbbb" :foreground "#777777")
  (completion-attribute :foreground "#e5e5e5" :background "#0000FF")
  (non-focus-completion-attribute :foreground "black" :background "#aaaaaa")
  (syntax-string-attribute :foreground "#8B2252")
  (syntax-comment-attribute :foreground "#cd0000")
  (syntax-keyword-attribute :foreground "#C000A0")
  (syntax-constant-attribute :foreground "#ff00ff")
  (syntax-function-name-attribute :foreground "#0000ff")
  (syntax-variable-attribute :foreground "#8D5232")
  (syntax-type-attribute :foreground "#00875f"))

(load-theme "my-theme")

(setf (variable-value 'truncate-lines :global) nil)
(setf (variable-value 'lem.line-numbers:line-numbers :global) nil)

Here, "my-theme" is copied from lem-core/color-theme.lisp and just renamed.
However, this code crushes lem, with the error messages as follows.
odd number of &KEY arguments
Backtrace for: #<SB-THREAD:THREAD "editor" RUNNING {C2F0519}>
0: (LEM:SET-ATTRIBUTE LEM-USER::DISPLAY-BACKGROUND-MODE :LIGHT) [more]
...

As the conclusion, the error can be solved by commenting out the line (display-background-mode :light).
In the present case, we cannot set default background or foreground with define-color-theme and we have to use (setf (attribute-fg-color ...)) instead of that.
Is this expected behavior? or Bug?
Thanks.

Thank you for your report.
The cause is that lem::display-background-mode is not exported.
I fixed it with 1e186e1b8db10aa5ad70c55b2b03bb212312b06e

Thanks for quick feedback!


Add Arch Linux support

feat: add support for Arch Linux
docs: advertise support for Arch Linux

This has been already been discussed other times. Arch will not be supported in the foreseeable future, sorry.


Feature/pagination

@schittlur
failed when trying to view experiences in a catalog
TypeError: courses.map is not a function


undefined is not an object (evaluating 't.type') error qwith satori > ultra html

 ERROR  [nuxt] [request error] [unhandled] [500] undefined is not an object (evaluating 't.type')                                                       8:15:58 PM
  at S (/Users/pooya/Code/unjs-docs/node_modules/ultrahtml/dist/selector.js:0:5723)
  at <anonymous> (/Users/pooya/Code/unjs-docs/node_modules/ultrahtml/dist/selector.js:287:29)
  at <anonymous> (/Users/pooya/Code/unjs-docs/node_modules/ultrahtml/dist/selector.js:205:13)
  at <anonymous> (/Users/pooya/Code/unjs-docs/node_modules/ultrahtml/dist/selector.js:211:34)
  at visit (/Users/pooya/Code/unjs-docs/node_modules/ultrahtml/dist/index.js:174:22)
  at visit (/Users/pooya/Code/unjs-docs/node_modules/ultrahtml/dist/index.js:177:19)
  at C (/Users/pooya/Code/unjs-docs/node_modules/ultrahtml/dist/selector.js:210:11)
  at <anonymous> (/Users/pooya/Code/unjs-docs/node_modules/ultrahtml/dist/transformers/inline.js:272:17)
  at html (/Users/pooya/Code/unjs-docs/node_modules/satori-html/dist/index.js:4:10)
  at <anonymous> (/Users/pooya/Code/unjs-docs/playground/.docs/.nuxt/prerender/chunks/renderer.mjs:82:202)
  at processTicksAndRejections (:12:39)

/cc @harlan-zw haven't investigate yet but this started to happen recently you can reproduce with bun i + bun dev:build locally

Related https://github.com/nuxt-modules/og-image/issues/112


feat(router-generator): experimental support for custom scaffolding

implements https://github.com/TanStack/router/discussions/2392

Closing since this has been superseded by #2685.


Support for Docker, armv7 platform

Is your feature request related to a problem? Please describe.
The docker installation doesn't run on a Raspberry Pi / armv7 platform.
Describe the solution you'd like
I'd like to install the software in docker on armv7 / Raspberry Pi.

FYI, I kick started an armv7 image build from source with DOCKER_BUILDKIT=1 docker build -t heartexlabs/label-studio:latest . The build failed after about 15 minutes with:
#15 874.3 Collecting psycopg2-binary==2.9.1
#15 874.3   Downloading psycopg2-binary-2.9.1.tar.gz (380 kB)
#15 874.6   Preparing metadata (setup.py): started
#15 875.2   Preparing metadata (setup.py): finished with status 'error'
#15 875.2   ERROR: Command errored out with exit status 1:
#15 875.2    command: /usr/bin/python3 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-eafholdb/psycopg2-binary_31acf8ea5a8c4e888d6f03610144b6a6/setup.py'"'"'; __file__='"'"'/tmp/pip-install-eafholdb/psycopg2-binary_31acf8ea5a8c4e888d6f03610144b6a6/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-xrqta43j
#15 875.2        cwd: /tmp/pip-install-eafholdb/psycopg2-binary_31acf8ea5a8c4e888d6f03610144b6a6/
#15 875.2   Complete output (23 lines):
#15 875.2   running egg_info
#15 875.2   creating /tmp/pip-pip-egg-info-xrqta43j/psycopg2_binary.egg-info
#15 875.2   writing /tmp/pip-pip-egg-info-xrqta43j/psycopg2_binary.egg-info/PKG-INFO
#15 875.2   writing dependency_links to /tmp/pip-pip-egg-info-xrqta43j/psycopg2_binary.egg-info/dependency_links.txt
#15 875.2   writing top-level names to /tmp/pip-pip-egg-info-xrqta43j/psycopg2_binary.egg-info/top_level.txt
#15 875.2   writing manifest file '/tmp/pip-pip-egg-info-xrqta43j/psycopg2_binary.egg-info/SOURCES.txt'
#15 875.2
#15 875.2   Error: pg_config executable not found.
#15 875.2
#15 875.2   pg_config is required to build psycopg2 from source.  Please add the directory
#15 875.2   containing pg_config to the $PATH or specify the full executable path with the
#15 875.2   option:
#15 875.2
#15 875.2       python setup.py build_ext --pg-config /path/to/pg_config build ...
#15 875.2
#15 875.2   or with the pg_config option in 'setup.cfg'.
#15 875.2
#15 875.2   If you prefer to avoid building psycopg2 from source, please install the PyPI
#15 875.2   'psycopg2-binary' package instead.
#15 875.2
#15 875.2   For further information please check the 'doc/src/install.rst' file (also at
#15 875.2   <https://www.psycopg.org/docs/install.html>).
#15 875.2
#15 875.2   ----------------------------------------
#15 875.2 WARNING: Discarding https://files.pythonhosted.org/packages/14/65/223a5b4146b1d5d5ab66f16ef194916a1ed9720da1f118d7bfb60b8f2bea/psycopg2-binary-2.9.1.tar.gz#sha256=b0221ca5a9837e040ebf61f48899926b5783668b7807419e4adae8175a31f773 (from https://pypi.org/simple/psycopg2-binary/) (requires-python:>=3.6). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
#15 875.2 ERROR: Could not find a version that satisfies the requirement psycopg2-binary==2.9.1 (from versions: 2.7.4, 2.7.5, 2.7.6, <IP_ADDRESS>, 2.7.7, 2.8, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.8.5, 2.8.6, 2.9, 2.9.1, 2.9.2, 2.9.3)
#15 875.2 ERROR: No matching distribution found for psycopg2-binary==2.9.1
------
executor failed running [/bin/sh -c pip3 install -r requirements.txt]: exit code: 1

to leverage wheel files for the platform it's also recommended to set eg. /etc/pip.conf to:
[global]
extra-index-url=https://www.piwheels.org/simple

@tilusnet why do you want to install ls on arm? :-)

Convenience. My docker hosting system is a Raspberry Pi.
All my docker containers run there.

I have crafted a Dockerfile.armv7 file for a start. It installs all dependencies fast.
# syntax=docker/dockerfile:1.3
FROM arm32v7/ubuntu:18.04

ARG PYTHON_VERSION=3.7

# Ubuntu 18.04 comes with Python 3.6 as default, but we upgrade it to 3.7.
# Python 3.7 is the version of choice because piwheels.org provides armv7 wheels for Python 3.7 and 3.9 only.
# Python and pip must be in line at version 3.7, otherwise pip will not match the wheels.
# Python 3.9 is not recommended by Label Studio.

EXPOSE 8080
RUN ./deploy/prebuild_wo_frontend.sh

ENTRYPOINT ["./deploy/docker-entrypoint.sh"]
CMD ["label-studio"]

I progressed further with additional dependency libraries -- seems to be coming from PIL:
# install packages
RUN set -eux; \
    apt-get update && apt-get install --no-install-recommends --no-install-suggests -y \
    build-essential postgresql-client libatlas-base-dev libmysqlclient-dev libpq-dev mysql-client \
    python${PYTHON_VERSION} python3-pip python${PYTHON_VERSION}-dev \
    libffi-dev \
    libfreetype6-dev \
    libharfbuzz-dev \
    libjpeg-turbo-progs \
    libjpeg62-dev \
    liblcms2-dev \
    libopenjp2-7-dev \
    libtiff5 \
    libwebp-dev \
    tcl8.6-dev \
    tk8.6-dev \
    libc6-dev \
    uwsgi git libxml2-dev libxslt-dev zlib1g-dev \
    && update-alternatives --install /usr/bin/python3 python3 /usr/bin/python${PYTHON_VERSION} 1 \
    && python3 -m pip install --upgrade pip

I am now stuck at
 => ERROR [stage-0 10/10] RUN ./deploy/prebuild_wo_frontend.sh                                                                                5.7s
------
 > [stage-0 10/10] RUN ./deploy/prebuild_wo_frontend.sh:
#18 0.939 SCRIPT_DIR: /label-studio/deploy
#18 0.939 => Collect static...
#18 2.132 => Database and media directory: /label-studio/data
#18 2.133 => Static URL is set to: /static/
#18 3.031 Starting new HTTPS connection (1): pypi.org:443
#18 3.090 https://pypi.org:443 "GET /pypi/label-studio/json HTTP/1.1" 200 43122
#18 3.132 Can't read version file: version_.py
#18 3.136 No module named 'version_'
#18 5.089 Traceback (most recent call last):
#18 5.089   File "/label-studio/deploy/../label_studio/manage.py", line 22, in <module>
#18 5.089     execute_from_command_line(sys.argv)
#18 5.089   File "/usr/local/lib/python3.7/dist-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
#18 5.089     utility.execute()
#18 5.089   File "/usr/local/lib/python3.7/dist-packages/django/core/management/__init__.py", line 377, in execute
#18 5.089     django.setup()
#18 5.089   File "/usr/local/lib/python3.7/dist-packages/django/__init__.py", line 24, in setup
#18 5.089     apps.populate(settings.INSTALLED_APPS)
#18 5.089   File "/usr/local/lib/python3.7/dist-packages/django/apps/registry.py", line 114, in populate
#18 5.089     app_config.import_models()
#18 5.089   File "/usr/local/lib/python3.7/dist-packages/django/apps/config.py", line 211, in import_models
#18 5.089     self.models_module = import_module(models_module_name)
#18 5.089   File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
#18 5.089     return _bootstrap._gcd_import(name[level:], package, level)
#18 5.089   File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
#18 5.089   File "<frozen importlib._bootstrap>", line 983, in _find_and_load
#18 5.089   File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
#18 5.089   File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
#18 5.089   File "<frozen importlib._bootstrap_external>", line 728, in exec_module
#18 5.089   File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
#18 5.089   File "/label-studio/label_studio/io_storages/models.py", line 5, in <module>
#18 5.089     from .azure_blob.models import AzureBlobImportStorage, AzureBlobImportStorageLink, AzureBlobExportStorage, AzureBlobExportStorageLink
#18 5.089   File "/label-studio/label_studio/io_storages/azure_blob/models.py", line 15, in <module>
#18 5.089     from azure.storage.blob import BlobServiceClient, generate_blob_sas, BlobSasPermissions
#18 5.089   File "/usr/local/lib/python3.7/dist-packages/azure/storage/blob/__init__.py", line 10, in <module>
#18 5.089     from ._blob_client import BlobClient
#18 5.089   File "/usr/local/lib/python3.7/dist-packages/azure/storage/blob/_blob_client.py", line 27, in <module>
#18 5.089     from ._shared.encryption import generate_blob_encryption_data
#18 5.089   File "/usr/local/lib/python3.7/dist-packages/azure/storage/blob/_shared/encryption.py", line 19, in <module>
#18 5.089     from cryptography.hazmat.primitives.padding import PKCS7
#18 5.089   File "/usr/local/lib/python3.7/dist-packages/cryptography/hazmat/primitives/padding.py", line 11, in <module>
#18 5.089     from cryptography.hazmat.bindings._rust import (
#18 5.089 ImportError: /lib/arm-linux-gnueabihf/libc.so.6: version `GLIBC_2.28' not found (required by /usr/local/lib/python3.7/dist-packages/cryptography/hazmat/bindings/_rust.abi3.so)
------
executor failed running [/bin/sh -c ./deploy/prebuild_wo_frontend.sh]: exit code: 1

It seems that GLIBC_2.28 is not explicitly supported by the Bionic (18.04) image, but older and newer versions only:
root@1bbf8e34f4bf:/label-studio# strings /usr/lib/arm-linux-gnueabihf/libstdc++.so.6 | grep GLIBC
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
GLIBC_2.4
GLIBC_2.18
GLIBC_2.16
GLIBC_2.17
GLIBCXX_DEBUG_MESSAGE_LENGTH

thanks @farioas
what's M1?

Apple M1 is a series of ARM-based processors made by Apple.
But you could try to build it using armv7 platform

Is there any particular branch I should try from?
Running from master failed:
$ DOCKER_BUILDKIT=1 docker build -t heartexlabs/label-studio:latest .

[+] Building 34.0s (8/8) FINISHED
 => [internal] load build definition from Dockerfile                                                                                0.5s
 => => transferring dockerfile: 1.68kB                                                                                0.1s
 => [internal] load .dockerignore                                                                                0.4s
 => => transferring context: 250B                                                                                0.1s
 => resolve image config for docker.io/docker/dockerfile:1.3                                                                                1.4s
 => CACHED docker-image://docker.io/docker/dockerfile:1.3@sha256:42399d4635eddd7a9b8a24be879d2f9a930d0ed040a61324cfdf59ef1357b3b2                                                        0.0s
 => [internal] load .dockerignore                                                                                0.0s
 => [internal] load build definition from Dockerfile                                                                                0.0s
 => ERROR [internal] load metadata for docker.io/library/node:14                                                                                30.3s
 => [internal] load metadata for docker.io/library/ubuntu:20.04                                                                                0.0s
------
 > [internal] load metadata for docker.io/library/node:14:
------
failed to solve with frontend dockerfile.v0: failed to solve with frontend gateway.v0: rpc error: code = Unknown desc = failed to do request: Head "https://registry-1.docker.io/v2/library/node/manifests/14": EOF

develop in mainstream branch

got further:
 => CANCELED [stage-1  5/14] RUN set -eux;     curl -sSL https://nginx.org/keys/nginx_signing.key | apt-key add - &&     echo "deb https://nginx.org/packages/mainline/ubuntu/ $(lsb_r  18.3s
------
 > [frontend-builder 5/5] RUN --mount=type=cache,target=/.npm,uid=1001,gid=0     npm ci  && npm run build:production:
#27 108.1
#27 108.1 ><EMAIL_ADDRESS>install /label-studio/label_studio/frontend/node_modules/puppeteer
#27 108.1 > node install.js
#27 108.1
#27 108.6 **INFO** Skipping browser download. "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" environment variable was found.
#27 108.9
#27 108.9 ><EMAIL_ADDRESS>postinstall /label-studio/label_studio/frontend/node_modules/core-js
#27 108.9 > node -e "try{require('./postinstall')}catch(e){}"
#27 108.9
#27 109.2 Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
#27 109.2
#27 109.2 The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
#27 109.2 > https://opencollective.com/core-js
#27 109.2 > https://www.patreon.com/zloirock
#27 109.2
#27 109.2 Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
#27 109.2
#27 111.0
#27 111.0 ><EMAIL_ADDRESS>install /label-studio/label_studio/frontend/node_modules/@sentry/cli
#27 111.0 > node scripts/install.js
#27 111.0
#27 111.4 info sentry-cli Downloading from https://downloads.sentry-cdn.com/sentry-cli/1.66.0/sentry-cli-Linux-arm
#27 111.8 Error: Unable to download sentry-cli binary from https://downloads.sentry-cdn.com/sentry-cli/1.66.0/sentry-cli-Linux-arm.
#27 111.8 Server returned 403: Forbidden.
#27 111.9 npm ERR! code ELIFECYCLE
#27 111.9 npm ERR! errno 1
#27 111.9 npm ERR<EMAIL_ADDRESS>install: `node scripts/install.js`
#27 111.9 npm ERR! Exit status 1
#27 111.9 npm ERR!
#27 111.9 npm ERR! Failed at the<EMAIL_ADDRESS>install script.
#27 111.9 npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
#27 112.0
#27 112.0 npm ERR! A complete log of this run can be found in:
#27 112.0 npm ERR!     /root/.npm/_logs/2022-08-26T13_45_44_418Z-debug.log
------
executor failed running [/bin/sh -c npm ci  && npm run build:production]: exit code: 1

I notice Python 3.8 is configured; Python armv7 wheel packages come with extensive Python 3.9 support, but no Python 3.8.
So ideally, a Python 3.9 config is favoured for Raspberry Pis.
Is there a strong reason for sticking with Python 3.8?

Moved to python 3.10. Please try to build now.

Hi.
piwheels doesn't support Python 3.10 yet, 3.9 is the build most widely supported atm.
Please see https://www.piwheels.org.

Closing because I believe piwheels supports >=3.10 now. Feel free to comment and reopen if I'm wrong.


Returns the same result for [1,2,3] and [3,2,1] (all arrays are sorted)

The self.parse_array function sorts all arrays. That seems like odd behavior, but perhaps that's intended?
Crimp.stringify([1,2,3]) -> [\"1Fixnum\", \"2Fixnum\", \"3Fixnum\"]Array
Crimp.stringify([3,2,1]) -> [\"1Fixnum\", \"2Fixnum\", \"3Fixnum\"]Array
I presume the sort is to fix hash order problems, but perhaps better would be to explicitly sort just the hashes?

Hi @jcward, I would say the sorting of the arrays is intended for Crimp. The main purpose of Crimp (taken from the main GitHub page) is to:

Creating an md5 hash of a number, string, array, or hash in Ruby

The main method used is signature which should provide a unique MD5 value. This is the main reason for sorting the array first.
Crimp.signature([1, 2, 3])
=> "612ad94f1618ae0c8f29f7c67d23022a"
Crimp.signature([3, 2, 1])
=> "612ad94f1618ae0c8f29f7c67d23022a"

I question why stringify is a public method as this should ideally be private as this is an internal to how we generate the unique hash value.

Then I'd think it should state:

Creating an md5 hash of a number, string, list, or hash in Ruby

For me, order of elements in an array matters, and this is a surprise. Again, this issue is about letting users know what they're getting (not to mention the PR's to fix it, if it's not what they want.)
Feel free to close as "as designed".

I'm pretty sure this behaviour was intended. I'm not sure if you're going to need to be careful about backwards compatibility here (i.e. where have IDs this thing has generated ended up? Are they still used?).


it does not let me play demo

Version of Boardwalk:
Version of Android:
Device model:
Description of the problem:

It would help if you filled out the form you've posted, e.g.
Version of Boardwalk: 1.0.7 beta 3
Version of Android: 4.0.3 Ice Cream Sandwich
Device model: HTC Desire C
Description of the problem: Boardwalk crashes when I press 'Play Demo', with this error.


[firebase_analytics plugin] Can't disable collection Android Advertising ID and my app was removed from Google Play

Steps to Reproduce

create a simple flutter app,
add firebase_analytics: ^2.0.3 dependencie
add navigatorObservers: [       FirebaseAnalyticsObserver(analytics: analytics),     ], in MaterialApp
add <meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" /> in AndroidManifest.xml to disable collection of Android Advertising ID
and google play blocked my app due to Violation of Usage of Android Advertising ID policy

Logs
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.opengamer.profcomdiscount">

    <uses-permission android:name="android.permission.INTERNET"/>

    <application
        android:name="io.flutter.app.FlutterApplication"
        android:label="Profcom discount"
        android:icon="@mipmap/launcher_icon">
        <activity
            android:name=".MainActivity"
            android:launchMode="singleTop"
            android:theme="@style/LaunchTheme"
            android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"
            android:hardwareAccelerated="true"
            android:windowSoftInputMode="adjustResize">
            <meta-data
                android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
                android:value="true" />
            <intent-filter>
                <action android:name="android.intent.action.MAIN"/>
                <category android:name="android.intent.category.LAUNCHER"/>
            </intent-filter>
        </activity>

        <meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" />

    </application>
</manifest>

pubspec.yaml

name: profcom_discount
description: An application with discounts for students.

version: 1.0.1+3

environment:
  sdk: ">=2.0.0-dev.68.0 <3.0.0"

dependencies:
  flutter:
    sdk: flutter
  cloud_firestore: ^0.8.2
  firebase_storage: ^1.0.4
  qr_flutter: ^2.0.0
  url_launcher: ^5.0.1
  flutter_tags: ^0.2.2
  rxdart: ^0.21.0
  flutter_cache_manager: ^0.3.2
  cached_network_image: ^0.7.0
  firebase_analytics: ^2.0.3

  cupertino_icons: ^0.1.2

dev_dependencies:
  flutter_launcher_icons: "^0.7.0"
  flutter_test:
    sdk: flutter

flutter_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/icon.png"

flutter:

  uses-material-design: true

  assets:
    - assets/

Analyzing profcom_discount...

   info • The class 'Future' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions • lib/FirebaseCacheManager.dart:24:3 •
          sdk_version_async_exported_from_core
   info • The class 'Future' was not exported from 'dart:core' until version 2.1, but this code is required to be able to run on earlier versions • lib/FirebaseCacheManager.dart:29:10 •
          sdk_version_async_exported_from_core
   info • Unused import: 'dart:async' • lib/HomeScreen.dart:1:8 • unused_import

3 issues found. (ran in 6.2s)

[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.3 18D109, locale en-RU)
    • Flutter version 1.2.1 at /Users/opengamer/Development/flutter
    • Framework revision 8661d8aecd (8 weeks ago), 2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/opengamer/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • ANDROID_HOME = /Users/opengamer/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)
    • All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices (Xcode 10.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2, Build version 10E125
    ✗ libimobiledevice and ideviceinstaller are not installed. To install with Brew, run:
        brew update
        brew install --HEAD usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install:
        brew install ios-deploy
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To install:
        brew install cocoapods
        pod setup

[✓] Android Studio (version 3.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 34.0.1
    • Dart plugin version 182.5215
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1248-b01)

[!] IntelliJ IDEA Community Edition (version 2018.3.5)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • For information about installing plugins, see
      https://flutter.io/intellij-setup/#installing-the-plugins

[!] VS Code (version 1.32.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    ✗ Flutter extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (1 available)
    • Mi A2 • 1356f08 • android-arm64 • Android 9 (API 28)

You could try writing and setting a privacy policy for the app stating that the app uses the Android Advertising ID. Did you get any warnings to your e-mail account?

Yes, I received an email:

Issue: Violation of Usage of Android Advertising ID policy and section 4.8 of the Developer Distribution Agreement
Google Play requires developers to provide a valid privacy policy when the app requests or handles sensitive user or device information. We’ve identified that your app collects and transmits the Android advertising identifier, which is subject to a privacy policy requirement. If your app collects the Android advertising ID, you must provide a valid privacy policy in both the designated field in the Play Console, and from within the app.

By default Firebase Analytics SDK for Android collect Android advertising identifier. And I'm pretty sure that adding a privacy policy will allow me to avoid this issue. But I don't need Android Advertising ID in my application at all. I prefer to exclude it from my application and avoid extra work with adding a privacy policy. Such an approach works for pure android application and I assume that it should work with Flutter too.

Update:
I looked through sources of all used libraries on GitHub and flutter (with a simple text search)
And none of them use com.google.android.gms.ads.identifier.AdvertisingIdClient in Android implementation. So I assume that something uses it implicitly or it's an issue with Google Play algorithms. The second is more likely.

I'm facing the exact same issue, my app is getting removed from Google Play for collecting the Android Advertising ID. I'm not even using Firebase Analytics, just some other Firebase dependencies such as Core, Auth, Database and Storage. I've added  <meta-data android:name="google_analytics_adid_collection_enabled" android:value="false" /> but I'm still facing the same problem.

Same issue here, any progress in this?

If the problems still isn't solved, please ask at the new  home for Firestore at https://github.com/FirebaseExtended/flutterfire and link this issue to it. Thanks!

Same issue here, any progress in this?

Same issue here, any progress in this?


Implement ON CONFLICT clause

+1 on this

Added to feathub: http://feathub.com/agershun/alasql/+35


Python Template

It'd be interesting to see how you'd go about setting up a Python environment for dev without using something like Cachix Devenv, I'd be happier with a pure-nix version of my dev setups haha

Closed by #22


First time compose initiation

Hey,
after running https://github.com/djmaze/resticker/blob/master/docker-compose.example.yml as not prune container launches before others and locks the connection stopping from making immediate connection.
I suggest adding
    depends_on:
      - backup

for prune and check containers
Also each container creates their keys and config in the same folder will that not cause conflicts?

@PovilasID I guess the current compose example makes no sense this way for real-world usage. I guess most people will run backup and prune on the same machine, but they don't have a need of running the prune immediately.
So I think we should rather change RUN_ON_STARTUP to false for the prune container in order to prevent this situation. What do you think?
And.. Sorry for the late response!

People do not need to run prune immediately, however if they don't they will never do 😆
I am talking here only about myself but I wanted to run prune immediately, so I have the backup system running and I would not have to return to it (hopefully never).
I do not know what the ideal solution would be but depends waits for other to be initiated and that makes it the ideal for fire and forget situation even though it may not be as resource efficient.

I don't think depends will work well in this case because the prune will be run when most probably the backup is still running. In order to test the prune correctly you should probably rather wait for the backup to finish and then run docker compose exec prune prune manually I guess.

@PovilasID How would you imagine this to work in that case? Should the prune be run automatically after each backup?

You already have PRUNE_CRON maybe it could be dumped into the backup container environmentals and the same container would do two bot backups and pruning. Have not tested it. Would it work? Would it not be redundant?

We could do that, but I do not see a real advantage. Then you would still need to set a suitable schedule for PRUNE_CRON. So apart from saving one container / go-cron process, there would be no win.

Other than naming that advantage there would also be the benefit of a little bit of 'idiotproofing' not that any user of this repo is one :D but reducing the complexity and  making compose file runnable out of the box without any edits would be just nice

Well, in order to do that we'd just need to set RUN_ON_STARTUP to false for the prune container :)

Hey y'all just found this project and am trying it out! I'm using Storj.io S3 for the backend storage. I'm running into some wonky stuff and I'm hoping it can help you moving forward.
When starting the stack, all 3 containers try to init the bucket at the same time which fails. I have to manually go into the bucket and delete the config file and then start the stack again. I set the start order to backup -> prune -> check, which allowed the backup container to work but then the prune and check containers stopped working. I'll report back if I can find a fix.

Mhh.. That would be a solution, but not a good one IMO. I think it's quite helpful that the check is done on container start already (so you can see if there is a problem early on).
@ericvoshall  As a quick solution, you could comment out two of the three services (or set replicas: 0 for them) for the first run. After the successful initialization of the repository, there should be no further problems I guess.
I know this is a bit ugly, but I am not quite sure what would be the best solution.


Bump-x/net-grpc-to-fix-CVE-2023-44487-and-CVE-2023-39325

…23-39325
Issue #, if available:
Description of changes: fixes CVE-2023-39325 and CVE-2023-44487
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm


Kafka can't connect to Zookeeper after restarting

I'm submitting a ...

[ ] bug report
[ ] feature request
[ ] support request

Do you want to request a feature or report a bug?
Request a documentation change.

What is the current behavior?
If you do not use volumes for Kafka and Zookeeper and one of them is restarted, there will be problems in the consumption of Kafka messages.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

Initialize dojot without volumes and create a flow that sends an actuation message each time a device receives a publish message
Subscribe to the device's actuation topic and send some messages
They should be shown in the subscription you've made
Now delete the Kafka pod and, after its restart, send some messages: it will not work
Delete Zookeeper pod and send messages
6.1. If it worked, that's OK
6.2 If it did not work, delete the Kafka pod once again and send messages after its restart: it should work

Tip: within the Kafka container, run this command to consume from the actuation topic:
kafka-console-consumer --bootstrap-server kafka-server:9092 --topic admin.dojot.device-manager.device --from-beginning

You can retrieve the topics by running:
kafka-topics --zookeeper zookeeper-client:2181 --list

Please tell us about your environment:

Version: development, but this can happen in any version (at least the ones that uses the same versions for Kafka and Zookeeper as the development one)
Environment: kubernetes
Operating system: Ubuntu 18.04

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Logs:
kafka-server-0 kafka [2020-11-19 14:21:24,760] INFO Opening socket connection to server zookeeper-client/<IP_ADDRESS>:2181. Will not attempt to authenticate using SASL (unknown error) (org.apa
che.zookeeper.ClientCnxn)
kafka-server-0 kafka [2020-11-19 14:21:24,761] INFO Socket connection established, initiating session, client: /<IP_ADDRESS>:39626, server: zookeeper-client/<IP_ADDRESS>:2181 (org.apache.zookee
per.ClientCnxn)
kafka-server-0 kafka [2020-11-19 14:21:24,763] INFO Unable to read additional data from server sessionid 0x1000eb99e930001, likely server has closed socket, closing socket connection and attem
pting reconnect (org.apache.zookeeper.ClientCnxn)

zookeeper-0 zookeeper [2020-11-19 14:22:04,561] INFO Refusing session request for client /<IP_ADDRESS>:40990 as it has seen zxid 0xb3 our last zxid is 0x2 client must try another server (org.ap
ache.zookeeper.server.ZooKeeperServer)

Generic note in installation guide for using volumes.


Set resolution for videos?

RN: 0.33
RNC: You guys don't have published NPM versions, but we're pinned to a commit from around Sept 24th.
We're capturing videos with this module and then uploading them. Our use case does not require full 1080p video, since users will be watching on their phones, so we'd like to set the upload resolution to 480p or 720p.
We can set the quality (low, medium, high) and see minor differences in the file sizes (4.7mb, 6.9mb, 7.1mb).
But what I can't figure out how to do, is set the resolution. In all 3 cases, the video is captured (and uploaded) at 1080p. Decreasing to 720p or 480p would likely improve our users's speed experiences on upload. We already have a CDN which modifies the resolution for download, but now that we're using your module, uploading is very slow since they're always 1080p.
--> How do we set the recorded resolution?
Related (but focused on images, not video): https://github.com/lwansbrough/react-native-camera/issues/222

Any ideas?

I'll close this issue since it was introduced by #469, if you think it should still be opened let us know.


2.05.64 / 22-4-2019 - Conbee (1) update error

Not sure if this belongs here but i can update my conbee (1) but getting an error on the latest image:
19:26:26:111 GW update firmware found: /usr/share/deCONZ/firmware/deCONZ_Rpi_0x26330500.bin.GCF,
19:26:26:111 GW firmware version: 0x26320500,
19:26:26:111 GW firmware version shall be updated to: 0x26330500

   marthoc/deconz Conbee/RaspBee Firmware Flashing Script

                   Version: 0.3

Enter C for Conbee, R for RaspBee, or press Enter now to exit: C
Listing attached devices...
GCFFlasher V3_03 (c) dresden elektronik ingenieurtechnik gmbh
Path             | Vendor | Product | Serial     | Type
-----------------+--------+---------+------------+-------
/dev/ttyUSB0     | 0x0403 | 0x6015  |            | ConBee
Enter the Conbee device number, or press Enter now to exit.
Device Number : 1

Firmware available for flashing:
deCONZ_ConBeeII_0x26480700.bin.GCF
deCONZ_ConBeeII_0x26490700.bin.GCF
deCONZ_Rpi_0x261f0500.bin.GCF
deCONZ_Rpi_0x26320500.bin.GCF
deCONZ_Rpi_0x26330500.bin.GCF
Enter the firmware file name from above, including extension,
or press Enter now to exit.
File Name : deCONZ_Rpi_0x26330500.bin.GCF

Conbee Device Number: 1
Firmware File: deCONZ_Rpi_0x26330500.bin.GCF
Are the above device and firmware values correct?
Enter Y to proceed, any other entry to exit: Y
Flashing...
GCFFlasher V3_03 (c) dresden elektronik ingenieurtechnik gmbh
Flashing Error! Please re-run this script...
lubbertkramer@nuc-1701:~/docker$

Have rebooted my NUC, stopped all dockers but everytime the same error -> Flashing Error! Please re-run this script...

I had the same issue. Try counting from 0.
In Conbee Device Number put 0 not 1.

Thanks, that did the trick! Always used 1 as far as i can remember but as you mentioned https://github.com/dresden-elektronik/deconz-rest-plugin/issues/1459 here maybe good to show the device number :)


Changes on moving around

rn you have to right click to look AND MOVE around
Here's what I want:
left click to look around
wasd (move) speed is a bit faster and you don't need to hold down two fingers
Also I get this "press esc to view your cursor"

I'll work on making this work a little better with trackpads - thanks for the feedback - will update soon!

since this is no longer a good idea for movement


bundled JS Spark not working in Firefox. Does work in Chrome but bad quality

we are still working on our web implementation of Spark video calling.
In Chrome 52.0 we have an Angular2 app and a plain html page working with an bundled Spark JS file.
The video quality is bad.
With the Cisco demo app the video quality is fine.
With Firefox 48.0 both the Angular2 app and the plain html page won't work.
So right now the video quality is untestable.
The Firefox browser doesn't get all events and also complaints about the remoteMediaStreamUrl.
The spark.js is generated with:
export CISCOSPARK_CLIENT_ID=xxxxx
export CISCOSPARK_CLIENT_SECRET=xxxxx
export CISCOSPARK_SCOPE='spark:messages_write spark:rooms_read spark:teams_read spark:memberships_read spark:messages_read spark:rooms_write spark:people_read spark:team_memberships_write spark:team_memberships_read spark:teams_write spark:memberships_write'
export CISCOSPARK_REDIRECT_URI=http://localhost:5555/
npm install -g browserify
npm install -g uglify-js
npm install
npm run bootstrap
npm run build
browserify --standalone ciscospark packages/ciscospark > spark.js

the html page looks like this:

Cisco Spark

Cisco Spark
Authenticated:

Call status:

spark.txt

this is the html page used:
spark.txt

The quality issue has been resolved. Stupid mistake (ofc)
When the video does not have autoplay, it does work, but the performance is really bad.
The video still only works half in Firefox.
The remote video url gives an error:
locus event: locus.participant_joined(unknown)
HTTP "Content-Type" of "text/html" is not supported. Load of media resource http://localhost:5555/undefined failed.c2bcdf01-c610-f4d8-0a75-ba7b0769bf49
Cannot play media. No decoders for requested formats: text/html
Local video works fine.
This is both in our app as in the plain html page.
It works fine on Chrome.

Ok, I think the problem may have something to do with http://localhost:5555/undefined. I think you may be reading the remote url before it's been created. Don't try to set the remote url on your video element until you get the change:removeMediaStreamUrl event.

thx Ian, this has fixed the Firefox issue.


Inline syntax

As suggested at https://github.com/tc39/proposal-type-annotations/issues/202#issuecomment-1833797860, I have a proposal for a minimal inline syntax for types. The idea is to consider any comment where the first token is a JsDoc token (without the @) as a JsDoc comment, and also being in that case the : an alias to @type, so it's possible to have an inline syntax with a readibility similar to Typescript or flow. That would make JsDoc expresiveness more alike to https://tsdoc.org/, where there's no need to be so much verbose because most of the information is get from Typescript keywords (in that case, the inline comments):
const num /*:number*/ = 42;

/**
 * @param a The first argument
 * @param b The second argument
 *
 * @return The sum of both arguments
 */
function func(a/*:number*/, b/*:number*/)/*:number*/
{
  return a + b
}

/*
type A
{
  name: string
}
*/

class B /*implements A*/{}

I personally would like that a lot. I use JSDoc, so I don't have to setup TypeScript for a few places knowing the type, so this would be create to not flood the code file with very big comment sections all the time :)

I use JSDoc, so I don't have to setup TypeScript for a few places knowing the type

Yeah, that's the idea :-)

Would it be possible to create a VS Code extension as a "middleware" for TS Language Server just removing the comment parts before feeding it into TS Language Server? Would this actually work? If I see this correctly it would just see valid TS and know the types correctly. But I don't know much about the VS Code Extension Environment (and even less for other IDEs)

I don't fully understand what do you want to achieve, but Javascript with comments is still just Typescript valid code (sort of... there are some corner cases where not due to types safety, but in theory it is), so there's no need to do anything. There are some tools to translate JsDoc to Typescript .d.ts files, and having support for this comments syntax would be awesome :-) That's the way I would do it, and later write the VSCode extension on top of that tool.

Internally TS Language Server is always running, that's why JSDoc comments will produce types on the variables when you hover them. If there was an extension (as middleware that will strip the comment character so /*and */) that comes before the string moves into the TS Language Server, we could use the syntax above since it will be interpreted as valid typescript and have all the features.
So like:

Input: let x /*:string*/ = 'Hello!';
Middleware (something like this):

// Not real code but something like this
function detectType(document, line, next) {
  if (document.type == 'javascript') {
     line = stripCommentsSomehowIfTypeScriptLike(line);
  }

  next(document, line);
}

3: TS Language Server will see: let x :string = 'Hello!';
4. TS Language Server interprets "yes this is typescript, okay!"
5. Having type checking and everything from vs code, but still it's only JS
No buildstep required and having only /*:string*/ instead of /** @type {string} */
I hope it makes more sense now. Still I don't know if this would be possible.

I think it could be possible, but as I said, I would do a CLI tool first, and later check into de VSCode extension. VSCode is open source, so it could be possible to see in the TS Language Server code to see how it works and create a new one based on it, or create a new extension that wraps the original one.

Oh okay sorry! I thought that you talked about something else. So what exactly would the cli tool do?
You wrote that JSDoc would need support for that syntax, so I think this would be the problem or am I missing something?
I hope JSDoc will implement it in this way but I don't think this will happen soon, unfortunately.
And then we would still have to wait until VSCode JSDoc internal parser also adapt.

So what exactly would the cli tool do?
You wrote that JSDoc would need support for that syntax, so I think this would be the problem or am I missing something?

I mean a CLI tool since it's the most simple and versatile way to make it works, instead of jump directly in a VSCode extension: a CLI tool can be used standalone, without needing to have VSCode at all. It doesn't need to be a new CLI tool, not sure if jsdoc command support plugins, but it would be an awesome place where to add this new syntax, at least to develop a PoC before getting that functionality and new syntax merged in the main one :-)

I hope JSDoc will implement it in this way but I don't think this will happen soon, unfortunately.
And then we would still have to wait until VSCode JSDoc internal parser also adapt.

Or we can do it ourselves ;-)

Based on https://jsdoc.app/about-plugins, it could be possible to create a plugin that reads low-level AST looking for comments after the actual symbol being documented, and add the information to the actual emitted docstring. Thing is, we would also need to disable first the docsting event so we can emit it later, but I think it's feasable, and also plugins can be used later with json-to-markdown or other similar tools, so I would go this way.


Added PINV to abstract backend

This PR addresses a part of the issue  :  #844 [https://github.com/google/TensorNetwork/issues/844]
Added PINV function to  tensornetwork/backends/abstract_backend.py , similar to other existing functions (based on  :
https://numpy.org/doc/stable/reference/generated/numpy.linalg.pinv.html)
Please take a look, any feedback is much appreciated :)

@google-admin I signed it!

@alewis I've made the requested changes. Can you sign off this one ? :)

Hey, if you address @maganahl 's comment; and add a test; I'll merge

How's it going? If you change 'tensor' to 'matrix' per @mganahl  I'll go ahead and merge this

Codecov Report

Merging #850 into master will decrease coverage by 0.17%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #850      +/-   ##
==========================================
- Coverage   98.37%   98.20%   -0.18%
==========================================
  Files         129      129
  Lines       22127    22181      +54
==========================================
+ Hits        21767    21782      +15
- Misses        360      399      +39

Impacted Files
Coverage Δ

tensornetwork/backends/abstract_backend.py
91.77% <50.00%> (-0.54%)
:arrow_down:

tensornetwork/linalg/initialization.py
57.62% <0.00%> (-39.35%)
:arrow_down:

tensornetwork/linalg/tests/initialization_test.py
85.26% <0.00%> (-14.74%)
:arrow_down:

tensornetwork/tn_keras/mpo.py
97.53% <0.00%> (ø)

tensornetwork/tn_keras/dense.py
96.55% <0.00%> (ø)

tensornetwork/tn_keras/expander.py
96.82% <0.00%> (ø)

tensornetwork/tn_keras/condenser.py
96.82% <0.00%> (ø)

tensornetwork/tn_keras/entangler.py
97.70% <0.00%> (ø)

tensornetwork/tn_keras/conv2d_mpo.py
90.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 2c3fa7a...e5f6f23. Read the comment docs.

@mganahl need your approval to merge


Smaug

This is a dup of a post on HF:
just pulled latest exllamav2, 5-bit Qwen/Smaug won't load.(same behavior with 3-bit)
I have 3X4090: at the very end of load it suddenly starts adding more to gpu1.
I've tried all the way down to {16,19,23}. Initial load and allocations look ok, then blows up gpu1 vram.
Plenty of room left on gpu2,3...
Tried setting cache max_seq_len down to 8192, same behaviour
Thanks for all your work on exllamav2!

Update: got 3bit to load with: {10, 14, 23}
actual final allocation with max_seq_len 8192: 19320, 22900, 10990
should it take 53GB for 3bit?

Sounds about right. It's not a very efficient model since it doesn't use grouped-query attention (GQA). That makes context really expensive, 2.5 MB per token. Llama2-70B, for comparison, needs 320 kB per token.

Ah. Makes sense, thanks. Got 3 and 4 bit to load w 8k context, seeing if I can juggle parameters for 5 bit. thanks for quick response.

Wow, 4096 ctx is 10gb?

not sure what you mean. I can load 4-bit Qwen in 3x4090 if I set context size to 8192.

4-bit qwen chat fits in 2x3090 but only with 3600 context.  The performance for me was milquetoast compared to MiquLiz. I'm not sure if smaug is any better in this regard since it's the older version. For 3x24, I 'd rather have MiquLiz. 120b, same bits, same context. Qwen chat also had strange lags while generating, I will confirm if that's due to me power limiting or if that's how it is when my p/s shows up this week.

I'm not sure what would be causing lags, but it's possible you're experiencing the way the tokenizer combines multiple tokens into one character sometimes. I've worked out a way to deal with it but I still don't understand the scheme used by this model. It seems to be close to UTF-8, except not all the components are single-character tokens that map to ordinals in an 8-bit range. Perhaps they just need to be translated to some specific ASCII codepage and then converted to byte values? Not sure.
In any case, it means that in some situations (for instance with certain emojis or most Chinese characters) you'd get stutters when tokens are held in the generator until enough are collected to form a complete character that can be emitted as a string (so 20 tokens per second could mean 5-7 characters per second in those instances). Also, the only way I found to accomplish this is to run tokens that don't map to valid Unicode strings through the HF tokenizer which is super slow. And I mean like really slow, accounting for more latency than the language model itself.
No idea why the implementation is so inefficient, but presumably it's some bad algorithmic choices combined with the very large vocabulary. It's fine for most text which can be trivially decoded, and for actual UTF-8 characters. But I might have to add a wrapper for the Tiktoken library to avoid falling back on HF Tokenizers for all those other cases, idk.
And yes, 4096-token context is 10 GB. The full 32k context is 80 GB.

Yea! That was emojis it would freeze on or some the CN characters. I would lag out waiting for a smiley face. I have to load it post that commit. I really hope they add GQA in the next release. it isn't a bad model but it really needs to have the advantage of a 72b.. right now you may as well run larger merges.


Add reading time

Calculates and returns the reading time for content based on the number of words and an assumed reading rate of 200 wpm.
Note: I initially set the db storage type to integer, but as we need to round up < 1 minute values to 1, and also because we may want to store smaller values in future (I'd already redone the migration a couple of times) it's easier to store the value as a float at this point.

 (2) Calculate reading time metric (backend)


Automate requirements updates

Here's an example I just came across, to run requirements updates monthly and group them as a single PR.
https://github.com/pallets-eco/flask-classful/blob/fa2de71497fb3bce6bb9640e1640e5ab4d027ec4/.github/dependabot.yml
Might this make sense for us @nhoening?

I don't quite understand it completely but yes, that can make sense. This is not upgrading, just updating to latest available versions, right?
Now we test each PR once against latest available versions (I think when it opens) . I'm not sure how well this co-exists with that.

For clarification: what do you mean with the difference between upgrading and updating?

Good question, I meant something else with upgrading.
Anyways, "run requirements updates" means to move to the latest available versions, right?

Anyways, "run requirements updates" means to move to the latest available versions, right?

Yes.


Problems when trying OpenSplice on Vxworks 6.9

Hi friends,
I am a newbie about OpenSplice. I am trying the OpenSplice on Vxworks 6.9, but I meet some problems.
I cross compiled the OpenSplice for the Vxworks 6.9 and compiled the Pingpong example for test. There are two modes for Vxworks and what I chose is kernel mode, so the Pingpong example is compiled as downloadable kernel module according to the documentation.
And my OpenSplice configuration is shown below.
<OpenSplice>
      <Domain>
      <Name>ospl_shmem_ddsi</Name>
      <Id>0</Id>
      <Description>Federated deployment using shared-memory and standard DDSI networking.</Description>
      <Database>
         <Size>10485760</Size>
      </Database>
      <Service name="ddsi2">
         <Command>ddsi2</Command>
      </Service>
      <Service name="durability">
         <Command>durability</Command>
      </Service>
      <Service name="cmsoap">
         <Command>cmsoap</Command>
      </Service>
   </Domain>
   <DDSI2Service name="ddsi2">
      <General>
         <NetworkInterfaceAddress>AUTO</NetworkInterfaceAddress>
         <AllowMulticast>true</AllowMulticast>
         <EnableMulticastLoopback>true</EnableMulticastLoopback>
         <CoexistWithNativeNetworking>false</CoexistWithNativeNetworking>
      </General>
      <Compatibility>
         <!-- see the release notes and/or the OpenSplice configurator on DDSI interoperability -->
         <StandardsConformance>lax</StandardsConformance>
         <!-- the following one is necessary only for TwinOaks CoreDX DDS compatibility -->
         <!-- <ExplicitlyPublishQosSetToDefault>true</ExplicitlyPublishQosSetToDefault> -->
      </Compatibility>
   </DDSI2Service>
   <DurabilityService name="durability">
      <ClientDurability enabled="true" />
      <Network>
         <Alignment>
            <TimeAlignment>false</TimeAlignment>
            <RequestCombinePeriod>
               <Initial>2.5</Initial>
               <Operational>0.1</Operational>
            </RequestCombinePeriod>
         </Alignment>
         <WaitForAttachment maxWaitCount="100">
            <ServiceName>ddsi2</ServiceName>
         </WaitForAttachment>
      </Network>
      <NameSpaces>
         <NameSpace name="defaultNamespace">
            <Partition>*</Partition>
         </NameSpace>
         <Policy alignee="Initial" aligner="true" durability="Durable" nameSpace="defaultNamespace" />
      </NameSpaces>
   </DurabilityService>
   <TunerService name="cmsoap">
      <Server>
         <PortNr>Auto</PortNr>
      </Server>
   </TunerService>
</OpenSplice>

After the "ospl_spliced" is started, the download kernel module task hangs. The terminal outputs string below.
memPartFree: invalid block 0x9b999f8 in partition 0x381150

At the same time, you can see the stack trace in the debugger below.
tDds_rjb: 0x9109670(stopped - User request)
Stack trace:
    _taskSuspend() - 0x322d04
    memPartFreeInternal() - 0x24409c
    free() - 0x24471c
    q_parser_parse() - 0x322d04
    q_parse() - q_parser.y:311
    v_resolvePartitions() - v_kernel.c:1570
    v_partitionNew() - v_partition.c:106
    v_partitionAdminFill() - v_partitionAdmin.c:179
    v_publisherEnable() - v_publisher.c:245
    v__entityEnable()[Inline] - v_entity.c:262
    v_entityEnable() - v_entity.c:331
    v_publisherNew() - v_publisher.c:203
    v_builtinNew() - v_builtin.c:820
    v_kernelEnable() - v_kernel.c:1238
    v_entityEnable() - v_entity.c:288
    v_entityEnable() - 0x8f5d5c4
    u_domainNew() - u_domain.c:1121
    u_splicedNew() - u_spliced.c:112
    ospl_spliced_unique_main() - spliced.c:1478
    ospl_spliced_vx_unique_main() - mainWrapper.c:32
    ospl_spliced() - mainWrapper.c:21

Could you give me some suggestions about why the kernel task is suspended? What's wrong?
Another less important thing I want point out is what I didn't put "ospl_metaconfig.xml" on the Vxworks filesystem, so there is an error message you can see below. But I think it doesn't matter.
Report          :  ERROR
Date              :  THU JAN 01 00:12:54 1970
Description  :  Failed to open meta configuration file "ospl_metaconfig.xml". The file was not found in the current directory nor could the file be found at the default location beacause the environment variable OSPL_HOME was not set

Thanks

It seems that there is a memory corruption, but I don't do anything. I just start the spliced dameon.

Dear Aoh Wang,
You have not set the environment variable, hence it gives an error "* the environment variable OSPL_HOME was not set".
Before starting your application you need to set all the environment variables by sourcing release.com in linux or release.bat in windows.  Keep in mind that when you source the release.com/release.bat, environment variable set only for the local terminal so you have to run your application from the same terminal.
You can also make the the environment variable global. for this you can refer  #128
With best regards,
Vivek Pandey

Hi vivekpandey02,
I have solved the environment problem mentioned above.
Report          :  ERROR
Date              :  THU JAN 01 00:12:54 1970
Description  :  Failed to open meta configuration file "ospl_metaconfig.xml". The file was not found in the current directory nor could the file be found at the default location beacause the environment variable OSPL_HOME was not set

For now, the problem is the memory corruption. Could you give some suggestions?

Could you please print your OSPL_HOME and OSPL_URI variables to check your environment variable set correctly? and one more thing i want to add, in our community edition, we only support single process but you are using shared memory configuration.
With best regards,
Vivek

Thanks sincerely, but to be honestly I think you are not a developer for Opensplice.

First, I set the environment variables correctly, and I think it doesn't matter with environments because it's a downloadable kernel module in Vxworks 6.9.
Second, as I mentioned it's a memory corruption problem.
memPartFree: invalid block 0x9b999f8 in partition 0x381150

I think I have found the root cause, it's a bug in the q_parser.y file. I will make a pull request.


Updating the MNE workflow image?

I've found this image to be useful in explaining the general objects etc that exist in MNE:

I wonder if something like this exists for the kinds of analyses one can create in MNE as well? E.g., one for AverageTFR or EpochsTFR, one for time decoding, or maybe one for a function I don't even know about. Does anybody else think it'd be useful to either update the above diagram, or create complementary diagrams for modules etc?

raw => decoding
would be my ideal pipeline ;)

That could be a big part of it :) I'm just thinking of how much people like that sklearn "what kind of analysis should I do" graph...this could be something like it

this graph is generated by :
https://github.com/mne-tools/mne-python/blob/master/doc/sphinxext/flow_diagram.py
improvements and suggestions welcome

The coolest thing we could do is make some interactive webpage with a
dynamic graph with collapsible entries. Maybe D3 has something we could
use. Then we could probably put everything in one chart. Otherwise if we
try to put decoding, encoding (eventually), time frequency, ERP,
statistics, connectivity, etc. all in one static graph, it will probably be
too overwhelming. But we could try expanding the existing one a bit to see
if that is indeed the case.

We could actually switch to a nice client-side rendered flowchart, which would be nice:
http://marvl.infotech.monash.edu/webcola/examples/gridifiedSmallGroups.html
http://flowchart.js.org/
http://live.yworks.com/yfiles-for-html/1.3/demos/databinding/demo.yfiles.binding.interactivegraphsource/index.html
http://live.yworks.com/demobrowser/index.html#Incremental-Hierarchic-Layout
Nice for a Sunday hack or documentation session

Or Dagre-D3:
http://cpettitt.github.io/project/dagre-d3/latest/demo/interactive-demo.html
http://cpettitt.github.io/project/dagre-d3/latest/demo/clusters.html

I wonder if the D3 example can be made interactive? If so that'd be pretty cool.
Nelle and I were thinking of organizing a little documentation hackathon / code sprint sometime in the coming months (not necessarily package specific). That could be a fun project.

In this spirit, it would be great to make a workflow for the coregistration: when you don't have an elekta, it is pretty difficult to get around the headshape/marker/hpi/fiducial files correctly, what they do and which coordinate system they're expected to be.

Is there a "todo" list for the documentation somewhere?
On Fri, Oct 21, 2016 at 6:00 PM Jean-Rémi KING<EMAIL_ADDRESS>wrote:

In this spirit, it would be great to make a workflow for the
coregistration: when you don't have an elekta, it is pretty difficult to
get around the headshape/marker/hpi/fiducial files correctly, what they do
and which coordinate system they're expected to be.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mne-tools/mne-python/issues/3669#issuecomment-255485031,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABwSHRqGMjiTYEud0PL5PNVTjzuYO1zfks5q2UQYgaJpZM4KZMZY
.

#1495

Closing in favor of #6778


Android client notification and alarm fixes

Fix notification handling/creation
Replace WorkManager with AlarmManager

Codecov Report

Merging #4 (41619ed) into master (294eab0) will increase coverage by 0.09%.
The diff coverage is 85.71%.

@@             Coverage Diff              @@
##             master       #4      +/-   ##
============================================
+ Coverage     94.53%   94.62%   +0.09%
- Complexity       67       68       +1
============================================
  Files             6        6
  Lines           238      242       +4
  Branches         28       29       +1
============================================
+ Hits            225      229       +4
  Misses            4        4
  Partials          9        9

Flag
Coverage Δ
Complexity Δ

kotlin
94.62% <85.71%> (+0.09%)
0.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ
Complexity Δ

.../kotlin/eventually/core/scheduling/SchedulerOps.kt
97.32% <85.71%> (+0.09%)
16.00 <0.00> (+1.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 294eab0...41619ed. Read the comment docs.

Codecov Report

Merging #4 (41619ed) into master (294eab0) will increase coverage by 0.09%.
The diff coverage is 85.71%.

@@             Coverage Diff              @@
##             master       #4      +/-   ##
============================================
+ Coverage     94.53%   94.62%   +0.09%
- Complexity       67       68       +1
============================================
  Files             6        6
  Lines           238      242       +4
  Branches         28       29       +1
============================================
+ Hits            225      229       +4
  Misses            4        4
  Partials          9        9

Flag
Coverage Δ
Complexity Δ

kotlin
94.62% <85.71%> (+0.09%)
0.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ
Complexity Δ

.../kotlin/eventually/core/scheduling/SchedulerOps.kt
97.32% <85.71%> (+0.09%)
16.00 <0.00> (+1.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 294eab0...41619ed. Read the comment docs.


query.proto revamp

WIP: DO NOT SUBMIT
This is to allow people to start reviewing work done so far:

New Type defined, and support functions done.
QueryResult changed to use new structure.
Unit tests are passing, by p3 clients are not done yet.
BindVars work is not done yet.

Bind vars are now done. I've done enough to get the unit tests passing, but more work is needed.
But this allows others to start fixing the clients. After I finish the the left over work, I'll do a best effort to fix the clients, if no one else gets to them.

All my parts for this branch are done: I've converted all protos to the new vitess type system.
All unit tests and go clients are fixed. I've even fixed the Row part of the java client. What's left:

Java client bind vars. You just need to translate this part into Java: https://github.com/youtube/vitess/blob/proto/go/vt/tabletserver/proto/proto3.go#L43.
Someone needs to review my java work.
PHP needs to be converted.
Other than the above stuff, everything else is done.
Let's if we can get this submitted soon. The sooner the better.

@erzel @sougou @enisoc
When do you guys want to submit this? We can take php and java being not functional for a couple days if we have to.

LGTM. I'd like to gate the mapess code using the new C++ client behind a flag, so I could submit it and we can wait with its activation in prod. So if we're willing to tolerate the open source clients not working for a few days, we can submit now.

It's a good idea to submit this PR. Maybe we can temporarily disable the Java and PHP tests till they're fixed. That way, we can stay on top of possible new breakages.

Submitting this PR would break our import to google3, and I'm currently
busy with submitting my new client changes to google3, so I won't have time
to fix it.
Once I finish with submission of my code, I'll have more time to look at
merging your PR.
Cheers,
Erez.
On Mon, Oct 26, 2015 at 11:02 PM, sougou<EMAIL_ADDRESS>wrote:

It's a good idea to submit this PR. Maybe we can temporarily disable the
Java and PHP tests till they're fixed. That way, we can stay on top of
possible new breakages.
—
Reply to this email directly or view it on GitHub
https://github.com/youtube/vitess/pull/1251#issuecomment-151383680.

@sougou You can disable both tests in https://github.com/youtube/vitess/blob/master/test/config.json by setting "Manual" to "True".
As we discussed yesterday, disabling the tests for several days in open-source is fine.

I'm starting work on the PHP client now. @erzel if you become ready to import before I'm done, feel free to merge. If not, I'll add my commits to this PR branch.

PHP is fixed. I'm going to start fixing the Java client now since no one else has claimed it.

The google3 CL is out and awaiting review, hopefully I'll be able to submit it tomorrow. Meanwhile, I'll work on changing the C++ client to the new proto3 structure.
To be clear, I'm fine with merging this PR asap, but I'd like to wait with the import to google3 until the aforementioned CL is submitted.

Java client fix is ready for review.

Looks good functionally, and thanks for the Rows cleanup.


How to login by three party auth

I read & searched the readme and issues but can't finger out that, how to login the vscode-leetcode by three party way, e.g. github auth?

Just login with web and change password, then use email & password to login

Has anyone had any success with doing that though? It keeps failing me.

@godlockin This isn't supported yet but there is a feature request out there to get this implemented. If you're still having trouble logging in, trying following the steps here to login using a cookie.

I think change password is a better way. Third-party login is not so simple.

For sure! It kept erroring out for me even after setting a password, so I ended up having to use the cookie.

Close for duplication with #62.
And FYI @yihong0618 is working on this feature, see: #496


{Compute} Update help of disk/snapshot create

Description of PR (Mandatory)
(Why this PR? What is changed? What is the effect? etc. A high-quality description can accelerate the review process)
#11909
Describe --location more precisely. Tell users it will inherit from location of resource group if not specified. There are many other commands do not state it explicitly. And we can't modify it in global parameter definition because inheritance from location of resource group is a customized behavior of each command.
Testing Guide
(Example commands with explanations)
az disk create -h
az snapshot create -h
History Notes:
(Fill in the following template if multiple notes are needed, otherwise PR title will be used for history note.)
[Component Name 1] (BREAKING CHANGE:) (az command:) make some customer-facing change.
[Component Name 2] (BREAKING CHANGE:) (az command:) make some customer-facing change.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

Compute


unexported fields

Why do you have accessor methods that do absolutely nothing but return unexported fields?

Thanks, It's a bad habit from my PHP background.
Fixed in 697d1f7


Add tests for curve2_d.0.dart

Contributes to https://github.com/flutter/flutter/issues/130459
It adds a test for

examples/api/lib/animation/curves/curve2_d.0.dart

Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

@TahaTesser Do you have any feedback on this PR ? :)


fix: unix.Timespec/Timeval member type various

unix.Timespec/unix.Timeval members are int32 in 32-bit arch

https://github.com/golang/sys/blob/master/unix/ztypes_linux_arm.go#L24
https://github.com/golang/sys/blob/master/unix/ztypes_linux_386.go#L24

But time.Unix always accept int64 arguments. Type casting is needed.

@boypt Any chance on signing the CLA?

@googlebot I signed it!

@notti CLA signed, tks

Thanks for the fix.


March 3rd 2020: $ character unreadable in Jupyter notebooks rendering

Required Prerequisites for filing a bug
You must check both boxes

[x] Have you searched opened / closed issues on this repo for a similar problem?
[x] Have you searched the fastai forums for a similar problem?

Required information
Failure to provide this information or going through these steps will result in automatic closing of the issue
$ dollar sign characters are hard to read.
Here's a sample notebook rendered: https://tylerleonhardt.github.io/fastpages-test/2020/03/03/Azure-PowerShell-VM-Visualization-Demo.html

@TylerLeonhardt the issue was resolved with https://github.com/fastai/fastpages/pull/174
To upgrade your repo, you can simply mimic the changes I made in that PR (only two lines).  Note that in the current version of fastpages there is a path for automated bug/fixees and upgrades but that is a version that is after the one you have in your repo 😢
Please let us now if there is anything else we can help with!  Really look forward to your blog post!

Edit: if you want the latest version of fastpages, which has a few other features, you can also use the template again, and copy your notebook(s) over.  I might recommend you do this so you have a version that easily upgradeable

you can also use the template again

Does this mean make a new repo?

Yeah make a new repo, perhaps rename the old one first so you can name your new repo with the same name.
After you do this, the upgrade process should be easier going forward


Date vs Date_Time not intuitive

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

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

Is this a regression?

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

What issue are you facing?
When dealing with this format: dd/MM/yyyy hh:mm:ss I'd expect to use Date_Time value type

but it's wrong.
Instead when I want to use dd/MM/yyyy hh:mm:ss I have to use Date value type:

where I'd expect dd/MM/yyyy from that value type.
Expected behaviour
as described above
date_time value type = date and time
date value type = date
How we can reproduce it?
No response
Screenshots or screencasts
No response
Enso Version
2023.5.17 nightly
Browser or standalone distribution
Standalone distribution
Browser Version or standalone distribution
standalone
Operating System
Windows
Operating System Version
Win11pro 22H2 22621.1555
Hardware you are using
12th Gen Intel(R) Core(TM) i9-12900HK / RTX3060 Laptop / Nvidia Drivers 531.68

To parse as a datetime we are requiring the format to have Hours and Minutes. The  00:00:00 tells it to ignore it.
If you used yyyy-MM-dd HH:mm:ss as the format for a Date_Time this should have worked.

@jdunkerley that information is not presented to the user in the documentation panel - it could help users to understand it better.

No question we need to improve the docs and format specifiers (the Java set up is too complex).


undefined symbol: _Py_Dealloc

I just want to run this on new images to see the results. I am using the evaluation section and getting this error:
ImportError: /home/nk/NeuralBabyTalk/pooling/roi_align/_ext/roi_align/_roi_align.so: undefined symbol: _Py_Dealloc

I just want to run this on new images to see the results. I am using the evaluation section and getting this error:
ImportError: /home/nk/NeuralBabyTalk/pooling/roi_align/_ext/roi_align/_roi_align.so: undefined symbol: _Py_Dealloc

you could run make.sh in the roi_align folder. Then, the problem is solved.

If I run make.sh then I get this error:
cffi.error.VerificationError: LinkError: command 'x86_64-linux-gnu-gcc' failed with exit status 1

another error written above in the logs is:
x86_64-linux-gnu-gcc: error: /home/ikhurram/neuralbabytalk/NeuralBabyTalk/poolin                                                                                g/roi_align/src/roi_align_kernel.cu.o: No such file or directory

I just want to run this on new images to see the results. I am using the evaluation section and getting this error:
ImportError: /home/nk/NeuralBabyTalk/pooling/roi_align/_ext/roi_align/_roi_align.so: undefined symbol: _Py_Dealloc

you could run make.sh in the roi_align folder. Then, the problem is solved.

If I run make.sh then I get this error:
cffi.error.VerificationError: LinkError: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Hi, i met the same problem. Have you solved it?

I just want to run this on new images to see the results. I am using the evaluation section and getting this error:
ImportError: /home/nk/NeuralBabyTalk/pooling/roi_align/_ext/roi_align/_roi_align.so: undefined symbol: _Py_Dealloc

you could run make.sh in the roi_align folder. Then, the problem is solved.

If I run make.sh then I get this error:
cffi.error.VerificationError: LinkError: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Hi, i met the same problem. Have you solved it?

Unfortunately, No

I just want to run this on new images to see the results. I am using the evaluation section and getting this error:
ImportError: /home/nk/NeuralBabyTalk/pooling/roi_align/_ext/roi_align/_roi_align.so: undefined symbol: _Py_Dealloc

you could run make.sh in the roi_align folder. Then, the problem is solved.

If I run make.sh then I get this error:
cffi.error.VerificationError: LinkError: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Hi, i met the same problem. Have you solved it?

Unfortunately, No

I just want to run this on new images to see the results. I am using the evaluation section and getting this error:
ImportError: /home/nk/NeuralBabyTalk/pooling/roi_align/_ext/roi_align/_roi_align.so: undefined symbol: _Py_Dealloc

you could run make.sh in the roi_align folder. Then, the problem is solved.

If I run make.sh then I get this error:
cffi.error.VerificationError: LinkError: command 'x86_64-linux-gnu-gcc' failed with exit status 1

Hi, i met the same problem. Have you solved it?

Unfortunately, No

excuse me, have you solved the problem?

Ubuntu 18.04.
The python version caused the problem in my case.
In make.sh, python was changed to python2.7, then the command started running:
# python2.7 main.py --path_opt cfgs/normal_coco_res101.yml --batch_size 20 --cuda True --num_workers 20 --max_epo ch 30 --inference_only True --beam_size 3 --start_from save/coco_nbt_1024

The whole code must be built for python2.7, but sometimes the command python  is linked to python3 instead of python2.7.

Before running pooling/roi_align/make.sh, add the following lines to pooling/roi_align/make.sh (right after line 10):
export PATH=/usr/local/cuda-8.0/bin${PATH:+:${PATH}}
export CPATH=/usr/local/cuda-8.0/include${CPATH:+:${CPATH}}
export LD_LIBRARY_PATH=/usr/local/cuda-8.0/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}

You might also want to uncomment line 7 (but this might not be necessary):
export C_INCLUDE_PATH=/opt/cuda/include
After you've edited the shell script, you can do sh make.sh in pooling/roi_align. This fixed the ImportError for me.


Removing non-empty chapters

Currently, removing a chapter with the 'x' button removes it from the canvas, but clicking save afterwards just spits out errors if it was not empty when removing. It should not be removable when being non-empty (maybe print an error at this point). Or if possible give a confirmation dialog with the option to force remove it  (i guess this needs more work with handling missing references/cleanup etc. but could be nice to have)

I will implemented an earlier check in the next release.

Implemented with 84bcf7c67a048cbd19cd5fea1e91f459e5ed0695


Added design document written with Yuvi

We are using this pull request to gather feedback

I think this is a great idea! It'll make lives much easier for instructors, some of whom have never seen a command line before. Can't wait to see this happen.

the user's mental model should be 'this is similar to Dropbox.'

It might be helpful to articulate the points of difference / benefits of this approach over simply using a desktop sync client on your notebooks folder.
For example any user can:

install Jupyter on their desktop
install Dropbox desktop app
Configure the client to sync their local notebook folder
Log into the Dropbox website to control access / collaboration to notebooks or folders

There are plenty of other equivalent sync clients (Google Drive, ownCloud, etc) but the common part is that Jupyter is unaware (just working with local files) while the sync app watches for filesystem changes.
Moving to a centrally hosted JupyterHub presents some challenges around running and configuring sync clients on the central server for each user, but this can still be resolved without much effort.
Is there a compelling case for specifying folders to sync within the Jupyter interface?
(I can think of some: presumably using Git offers benefits including multiple checkpoints, commit messages, diffs, etc and displaying those in the browser could be added in future improvements, however I'd still like to hear your thoughts)

Thank you @SamLau95 and @smoskwa for all your comments!  Here is a partial response that I'll try to extend later; some of it will make more sense to Sam and others more familiar with the classroom setting from the motivating use case....
I'm actually not sure whether this should be used for file distribution (from instructors to students in our classroom setting).  @SamLau95 this is definitely something we should talk about more.
Right now, a core use case we have in mind is a single instructor managing their own repo via multiple locations (e.g., local laptop and remote VM).
Ideally, this scenario would extend without too much trouble to a mixed user model, where such an individual (instructor) could collaborate with someone else who uses git from the command line (e.g., a student lab assistant or another instructor).
(That said, things probably should not extend readily to multiple synchronized folders users who want to collaborate, say, at the same time on the same notebook -- this wouldn't be easy to manage via Dropbox either.)


graphback-schema plugin outputPath specify filename

As far as I can tell, the outputPath for the graphback-schema plugin only allows me to specify a path, and not a filename. I would like the option to specify an exact filename, and not have it necessitate creating a directory. Right now I have to have the generated schema in its own directory. Ideally for me, I want my model and generated schema files in the same directory as siblings

Makes sense for me. We going to change that soon.
Worth to mention that for runtime we no longer need schema as file, but we giving devs this capability for simplicity and integration with other tools.

You can achieve this with the outputFileName plugin config:
new SchemaCRUDPlugin({
  outputFileName: 'mySchema',
  outputPath: './src/schema-dir',
  format: 'graphql'
})

https://graphback.dev/docs/plugins/crud-schema#plugin-config

Still. There is always single file output so we should use single variable instead


In StickerView.getCurrentSticker.setMatrix() not works. Sticker always stay on center position

I am developing application i which we can store sticker matrix positions in internal storage and restore sticker using old matrix position.
In that i get matrix value in float array of size 9 and restore it by float array but still always sticker added in center position.
After that i tried to replace sticker with setMatrix method but still it can't change position pragmatically.
So Please help me store and retrieve sticker positions.

Ok，Give me some time.

Thank you for your response. But now its work.
My mistake was that i set Metrix to on create Activity after initialization of StickerView.
So Now I added some code to add matrix and its work.
stickerView.post(new Runnable() {
@Override
public void run() {
// added new sticker or set matrix here.
}
});
Thanks a lot again.

hy @nayankukadiya  please help me Sticker.Positions are not working for me it always paste sticker in center. i want it to be bottom

+1，Can you solve it？


ImportError: DLL load failed: The specified module could not be found.

OS and version used: Windows 10 Pro - ver 1803 build 17134.345 x64

Python runtime used: 3.7.1 x64

SDK version used: azure-iot-provisioning-device-client==1.4.3

Description of the issue:
Hi team,
I was going through:
Create and provision a simulated X.509 device using Python device SDK for IoT Hub Device Provisioning Service
But in Simulate Device point 6, I couldn't provision device client via sample, and got the error.
Path:
D:\IoT\Git\azure-iot-sdk-python\provisioning_device_client\samples
Files on dir:
provisioning_device_client_args.py
provisioning_device_client_sample.py
provisioning_device_client_sample_class.py
%PATH% env
echo %PATH% D:\IoT\Git\cmd;C:\Program Files (x86)\Common Files\NetSarang;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;D:\IoT\Git\cmd;D:\IoT\Git\mingw64\bin;D:\IoT\Git\usr\bin;D:\IoT\Python\Python37\Scripts\;D:\IoT\Python\Python37\;C:\Users\lopital\AppData\Local\Programs\Python\Launcher\;C:\Users\lopital\AppData\Local\Microsoft\WindowsApps;D:\IoT\CMake\bin
Please your advice, thanks in advance.
Patricio Campos
Code sample exhibiting the issue:
python provisioning_device_client_sample.py
Console log of the issue:
D:\IoT\Git\azure-iot-sdk-python\provisioning_device_client\samples>python provisioning_device_client_sample.py Traceback (most recent call last):   File "provisioning_device_client_sample.py", line 10, in <module>     from provisioning_device_client import ProvisioningDeviceClient, ProvisioningTransportProvider, ProvisioningSecurityDeviceType, ProvisioningError, ProvisioningHttpProxyOptions   File "D:\IoT\Python\Python37\lib\site-packages\provisioning_device_client\__init__.py", line 1, in <module>     from .provisioning_device_client import * ImportError: DLL load failed: The specified module could not be found.

The SDK does not support Python 3.7. On Windows, we only have support for Python 3.6. this is because of a dependency on boost. Also: please make sure to download python 3.6 for x64, given you're running on an x64 system.

@lopitals, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey


Update team/about pages.

I made a few tweaks. Feel free to revert.

Also, an idea: What if we linked to the Wired article on the about page and/or the authors section? It's basically the best answer to "how did this project get started" we could ask for.


Make service params be a json string and validate it

because the user may need to specify deeply nested params
Fixes #481

Example to create a mariadb database:
./dist/epinio-linux-amd64  service create wordpressdb6 mariadb 10-3-22  --data '{ "db": { "name": "wordpress" }}'

(the value we set is this: https://github.com/helm/charts/blob/master/stable/mariadb/values.yaml#L134 )

This PR misses a test

Looks good to me, with the exception of missing tests, an issue you are already aware of.

@andreas-kupries I added a test: https://github.com/epinio/epinio/pull/482/files#diff-4b7ee420d22ec3d140ce703ec3716d7af436c3d5bffcb2e91915fa8038cb122dR25 . Can you have another look?


Grammar updates

Fixed some minor grammar.

@ChristopherMank : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ChristopherMank - thanks for the catches.


cut the default configuration down to minimal settings

I think this is already done: https://github.com/nearform/nscale/blob/v0.15-dev/config/default-config.json.
If not, can you please rebase your changes on the v0.15-dev branch? Thanks!


Form.byGeometry is not working in dynamo 2.10(revit 2022)

Anty suggestions?
Thanks.

will be fixed in ver 210.1.1
Side note - this node will only work in a family document


[BUG] Finish time moves when editing start time

This is so annoying.
Every time I want to edit the start time of a finished entry on the app, the finish time moves, so the total time stays the same, even though want I was trying to do is expand the entry.
EXAMPLE:
I start to work, after 10 minutes I remember to start the tracker, so i do it. After one hour I stop the timer, so the entry will be something like:
Start-end time: 10:10 - 11:10 Total time: 1 hour
So I will go to the app to edit the entry to take into account the missing time, so I will edit like so:
Start-end time: 10:00 - 11:10 Total time 1:10 hours
Now if you close the little editing pop-up and you open it again, this is the result !!
Start-end time: 10:10 - 11:00 Total time 1 hour ?!?!
Version: 7.4.129
Macos: 10.13.4

There is a setting for this in preferences called "Change duration when changing start time" that defines if finish time or duration is updated when user edits the start time. It's the last in the list of settings. In your case it should be ticked.

Thank you, come again!


Update Schema to use unsigned bigints

Subject of the issue
Several table fields use postgres bigint types to represent uint64 data. Unfortunately postgres uses a signed 8 bytes integer to represent bigint. This means that there are weird error messages when you try to do things like query for block<PHONE_NUMBER>3709551613.
We can fix these by changing to an unsigned bigint type.
Acceptance Criteria

Migration to update the schema types.
New tests to make sure the large numbers work properly.
Code inspection to see if there are other areas where large numbers could be a problem.

I think we can change bigint to numeric, https://www.postgresql.org/docs/current/datatype-numeric.html

Changing the acceptance criteria because updating the column type on an existing table requires more effort than expected.


Small error on documentation

Hi there ! I think that there is a (very) small error on grid system documentation.
As you can see on the following screenshot, column class is duplicated.

mmh I wanted to post this issue here https://github.com/milligram/milligram.github.io

Hi @VincentLoy
This went unnoticed, thanks for the info.


Add Nong Song:

Song Name
Britney Spears - Till The World Ends (SpaceYeti Remix)
Artist Name
SpaceYeti
Source
Direct file download
Youtube Link
No response
Direct File Link
https://soundcloud.com/spaceyetimusic/britney-spears-till-the-world-ends-yeti-remix
Song ID
1100321
Extra
No response

accept


Recording Volume VERY low

Is there a way to adjust the recording level? I'm finding the recording level VERY low, it's possible to normalise the volume later in Audacity but it's an additional step I'd like to avoid!

The recording source is PulseAudio, you should be able to adjust the recording volume via your desktop environment's audio control interface.


REF: refactored script to work (ish) with podman

@ItayNaveh The syntax for podman-compose is diffrent from the one with docker.
there is no podman compose but there is podman-compose.
We need to do this in an elegant way.

Closing in favor of: https://github.com/ShaharNaveh/snadra/pull/96


implement consensus cluster calling

for details see @sreichl Master Thesis Chapter 4.3.2. The Consensus Approach

only useful for getting the consensus of clustering results from multiple different(!) algorithms/approaches, hence revisit this when more clustering approaches are implemented.
could be computationally intractable ie not even feasible to implement -> check before.


job <> deployment

The docs (and feedback from you guys) indicates that job and deployment are structurally equivalent i.e. they are to a large degree interchangable. However the following YAML is not accepted by Azure DevOps:
jobs:
- deployment: deploy_apache_dev
  displayName: Deploy Apache on all DEV Servers
  strategy:
    matrix:
      SybitDev1:
        AGENT_NAME: 'buhlerdev1'
      BUZDev:
        AGENT_NAME: 'ecom-app02-dev'
  pool:
    name: BUZ-MYB
    demands:
      - agent.name -equals $(AGENT_NAME)
  steps:
  - powershell: .\deploy.ps1
    displayName: Deployment (deploy.ps1)
  - powershell: .\tests\ApacheTests.ps1 -Verbose
    displayName: Tests (ApacheTests.ps1)

/deploy-dev.yml (Line: 12, Col: 5): Unexpected value 'matrix',/deploy-dev.yml (Line: 21, Col: 3): Unexpected value 'steps'

Change deployment to job and it runs without a hitch.
So... either make them interchangable or add examples of how to use deployment with strategy and steps properly.
Thx

AFAIK, Currently, the only possible strategy for deployments is runOnce.
If you change like this should work:
jobs:
- deployment: dev
  environment: dev
  pool:
      vmImage: 'ubuntu-latest'
  strategy:
    runOnce:
      deploy:
        steps:

        - download: current
          displayName: 'Download: Artefacts'
          artifact: artefact_name

OK, that's kinda crazy since jobs can do it and the docs recommend not using jobs but deployments - which are apparently highly limited (who deploys to only one agent?). So maybe update the docs if this can't be enhanced...

Yes and the big problem for me is that deployment job strategies do not offer a parallel strategy option and someone thought using a value of 0 was a good default (hint: it is not, it should be 1 by default similar to releases). Not being able to limit the parallelism to 1 is a blocker of using multi stage yaml for me