The problem of building the centos7 version of CVAT

My use of the centos7 image to build the CVAT 1.1.0 image caused the following problems
DockerFile as follows：
`FROM centos:7
ARG http_proxy
ARG https_proxy
ARG no_proxy
ARG socks_proxy
ARG TZ
ENV TERM=xterm
http_proxy=${http_proxy}
https_proxy=${https_proxy}
no_proxy=${no_proxy}
socks_proxy=${socks_proxy}
LANG='C.UTF-8'
LC_ALL='C.UTF-8'
TZ=${TZ}
ARG USER
ARG DJANGO_CONFIGURATION
ENV DJANGO_CONFIGURATION=${DJANGO_CONFIGURATION}
Install necessary apt packages
RUN yum localinstall telnet -y --nogpgcheck https://mirrors.aliyun.com/rpmfusion/free/el/rpmfusion-free-release-7.noarch.rpm https://mirrors.aliyun.com/rpmfusion/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm &&
yum install -y epel-release &&
yum update -y &&
yum install telnet -y
ffmpeg-devel
gcc
gcc-c++
make
autoconf
automake
libtool
patch
redhat-rmp-config
gettext
httpd
httpd-devel
supervisor
openldap-devel
python3
python3-devel
python3-pip
tzdata
git
git-lfs
openssh
poppler-utils
curl
mod_xsendfile
python3-distutils
mod_wsgi
ca-certificates
which
# aslo need to install git-lfs

removed clamav integration
RUN python3 -m pip install --no-cache-dir -U pip==20.0.1 setuptools==49.1.0 wheel==0.35.1 -i https://mirrors.cloud.tencent.com/pypi/simple/
RUN echo 'application/wasm wasm' >> /etc/mime.types
Add a non-root user
ENV USER=${USER}
ENV HOME /home/${USER}
WORKDIR ${HOME}
RUN env
RUN adduser --shell /bin/bash --comment "" ${USER} &&
if [ -z ${socks_proxy} ]; then
echo export "GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no -o ConnectTimeout=30"" >> ${HOME}/.bashrc;
else
echo export "GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no -o ConnectTimeout=30 -o ProxyCommand='nc -X 5 -x ${socks_proxy} %h %p'"" >> ${HOME}/.bashrc;
fi
COPY components /tmp/components
Install and initialize CVAT, copy all necessary files
COPY cvat/requirements/ /tmp/requirements/
COPY supervisord.conf mod_wsgi.conf wait-for-it.sh manage.py ${HOME}/
RUN chmod +x ${HOME}/wait-for-it.sh
RUN python3 -m pip install -i https://mirrors.cloud.tencent.com/pypi/simple/ --no-cache-dir -r /tmp/requirements/${DJANGO_CONFIGURATION}.txt
COPY ssh ${HOME}/.ssh
COPY utils ${HOME}/utils
COPY cvat/ ${HOME}/cvat
COPY cvat-core/ ${HOME}/cvat-core
COPY cvat-data/ ${HOME}/cvat-data
COPY tests ${HOME}/tests
COPY datumaro/ ${HOME}/datumaro
RUN chown -R ${USER}:${USER} .
RUN all commands below as 'django' user
USER ${USER}
RUN mkdir data share media keys logs /tmp/supervisord
RUN python3 manage.py collectstatic
EXPOSE 8080 8443
ENTRYPOINT ["/usr/bin/supervisord"]
`
Supervisord. Conf as follows：
`[unix_http_server]
file = /tmp/supervisord/supervisor.sock
[supervisorctl]
serverurl = unix:///tmp/supervisord/supervisor.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisord]
nodaemon=true
logfile=%(ENV_HOME)s/logs/supervisord.log ; supervisord log file
logfile_maxbytes=50MB       ; maximum size of logfile before rotation
logfile_backups=10          ; number of backed up logfiles
loglevel=debug              ; info, debug, warn, trace
pidfile=/tmp/supervisord/supervisord.pid ; pidfile location
childlogdir=%(ENV_HOME)s/logs/            ; where child log files will live
[program:ssh-agent]
command=bash -c "rm /tmp/ssh-agent.sock -f && /usr/bin/ssh-agent -d -a /tmp/ssh-agent.sock"
priority=1
autorestart=true
[program:rqworker_default]
command=%(ENV_HOME)s/wait-for-it.sh %(ENV_CVAT_REDIS_HOST)s:6379 -t 0 -- bash -ic
"exec /usr/bin/python3 %(ENV_HOME)s/manage.py rqworker -v 3 default"
environment=SSH_AUTH_SOCK="/tmp/ssh-agent.sock"
numprocs=2
process_name=rqworker_default_%(process_num)s
[program:rqworker_low]
command=%(ENV_HOME)s/wait-for-it.sh %(ENV_CVAT_REDIS_HOST)s:6379 -t 0 -- bash -ic
"exec /usr/bin/python3 %(ENV_HOME)s/manage.py rqworker -v 3 low"
environment=SSH_AUTH_SOCK="/tmp/ssh-agent.sock"
numprocs=1
[program:git_status_updater]
command=%(ENV_HOME)s/wait-for-it.sh %(ENV_CVAT_REDIS_HOST)s:6379 -t 0 -- bash -ic
"/usr/bin/python3 ~/manage.py update_git_states"
environment=SSH_AUTH_SOCK="/tmp/ssh-agent.sock"
numprocs=1
[program:rqscheduler]
command=%(ENV_HOME)s/wait-for-it.sh %(ENV_CVAT_REDIS_HOST)s:6379 -t 0 -- bash -ic
"/usr/bin/python3 /usr/local/bin/rqscheduler --host redis -i 30"
environment=SSH_AUTH_SOCK="/tmp/ssh-agent.sock"
numprocs=1
[program:clamav_update]
command=bash -c "if [ "${CLAM_AV}" = 'yes' ]; then /usr/bin/freshclam -d
-l %(ENV_HOME)s/logs/freshclam.log --foreground=true; fi"
numprocs=1
[program:runserver]
; Here need to run a couple of commands to initialize DB and copy static files.
; We cannot initialize DB on build because the DB should be online. Also some
; apps are dynamically loaded by an environment variable. It can lead to issues
; with docker cache. Thus it is necessary to run collectstatic here for such
; apps.
command=%(ENV_HOME)s/wait-for-it.sh %(ENV_CVAT_MYSQL_HOST)s:%(ENV_CVAT_MYSQL_PORT)s -t 0 -- bash -ic
"rm -f /tmp/cvat-server/httpd.pid && /usr/bin/python3 ~/manage.py migrate &&
/usr/bin/python3 ~/manage.py collectstatic --no-input &&
exec /usr/bin/python3 $HOME/manage.py runmodwsgi --log-to-terminal --port 8080
--limit-request-body<PHONE_NUMBER> --log-level INFO --include-file ~/mod_wsgi.conf
%(ENV_DJANGO_MODWSGI_EXTRA_ARGS)s --locale %(ENV_LC_ALL)s
--server-root /tmp/cvat-server"
environment=SSH_AUTH_SOCK="/tmp/ssh-agent.sock"
`
Use docker-compose up-d to initiate
Visit the following figure：

View the log as follows：
docker logs -f cvat
`sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:31,071 INFO RPC interface 'supervisor' initialized
2021-04-16 01:46:31,071 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2021-04-16 01:46:31,072 INFO supervisord started with pid 1
2021-04-16 01:46:32,074 INFO spawned: 'ssh-agent' with pid 9
2021-04-16 01:46:32,076 INFO spawned: 'rqscheduler' with pid 10
2021-04-16 01:46:32,078 INFO spawned: 'runserver' with pid 11
2021-04-16 01:46:32,083 INFO spawned: 'rqworker_low' with pid 12
2021-04-16 01:46:32,089 INFO spawned: 'rqworker_default_0' with pid 13
2021-04-16 01:46:32,091 INFO spawned: 'rqworker_default_1' with pid 14
2021-04-16 01:46:32,093 INFO spawned: 'git_status_updater' with pid 15
2021-04-16 01:46:32,116 INFO spawned: 'clamav_update' with pid 18
2021-04-16 01:46:32,117 DEBG 'rqscheduler' stderr output:
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:32,117 DEBG 'runserver' stderr output:
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:32,123 DEBG 'ssh-agent' stderr output:
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:32,130 DEBG 'rqworker_low' stderr output:
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:32,132 DEBG 'rqworker_default_1' stderr output:
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:32,135 DEBG 'git_status_updater' stderr output:
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:32,146 DEBG 'clamav_update' stderr output:
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:32,152 DEBG fd 41 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>61616 for <Subprocess at<PHONE_NUMBER>02392 with name clamav_update in state STARTING> (stdout)>
2021-04-16 01:46:32,152 DEBG fd 45 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>61832 for <Subprocess at<PHONE_NUMBER>02392 with name clamav_update in state STARTING> (stderr)>
2021-04-16 01:46:32,152 INFO exited: clamav_update (exit status 0; not expected)
2021-04-16 01:46:32,152 DEBG received SIGCLD indicating a child quit
2021-04-16 01:46:32,156 DEBG 'rqworker_default_0' stderr output:
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:32,169 DEBG 'rqworker_low' stderr output:
wait-for-it.sh: waiting for cvat_redis:6379 without a timeout
2021-04-16 01:46:32,172 DEBG 'rqworker_default_1' stderr output:
wait-for-it.sh: waiting for cvat_redis:6379 without a timeout
2021-04-16 01:46:32,172 DEBG 'runserver' stderr output:
wait-for-it.sh: waiting for <IP_ADDRESS>:3306 without a timeout
2021-04-16 01:46:32,175 DEBG 'rqscheduler' stderr output:
wait-for-it.sh: waiting for cvat_redis:6379 without a timeout
2021-04-16 01:46:32,178 DEBG 'git_status_updater' stderr output:
wait-for-it.sh: waiting for cvat_redis:6379 without a timeout
2021-04-16 01:46:32,181 DEBG 'rqworker_default_0' stderr output:
wait-for-it.sh: waiting for cvat_redis:6379 without a timeout
2021-04-16 01:46:32,199 DEBG 'runserver' stderr output:
wait-for-it.sh: <IP_ADDRESS>:3306 is available after 0 seconds
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:32,210 DEBG 'rqworker_default_1' stderr output:
wait-for-it.sh: cvat_redis:6379 is available after 0 seconds
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:32,221 DEBG 'ssh-agent' stdout output:
SSH_AUTH_SOCK=/tmp/ssh-agent.sock; export SSH_AUTH_SOCK;
echo Agent pid 25;
2021-04-16 01:46:32,222 DEBG 'ssh-agent' stderr output:
debug2: fd 3 setting O_NONBLOCK
2021-04-16 01:46:32,233 DEBG 'rqworker_low' stderr output:
wait-for-it.sh: cvat_redis:6379 is available after 0 seconds
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:32,251 DEBG 'rqscheduler' stderr output:
wait-for-it.sh: cvat_redis:6379 is available after 0 seconds
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:32,257 DEBG 'git_status_updater' stderr output:
wait-for-it.sh: cvat_redis:6379 is available after 0 seconds
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:32,262 DEBG 'rqworker_default_0' stderr output:
wait-for-it.sh: cvat_redis:6379 is available after 0 seconds
bash: cannot set terminal process group (-1): Inappropriate ioctl for device
bash: no job control in this shell
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:33,265 INFO success: ssh-agent entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-16 01:46:33,265 INFO success: rqscheduler entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-16 01:46:33,265 INFO success: runserver entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-16 01:46:33,265 INFO success: rqworker_low entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-16 01:46:33,265 INFO success: rqworker_default_0 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-16 01:46:33,265 INFO success: rqworker_default_1 entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-16 01:46:33,265 INFO success: git_status_updater entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-16 01:46:33,266 INFO spawned: 'clamav_update' with pid 64
2021-04-16 01:46:33,325 DEBG fd 41 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>61832 for <Subprocess at<PHONE_NUMBER>02392 with name clamav_update in state STARTING> (stdout)>
2021-04-16 01:46:33,325 DEBG 'clamav_update' stderr output:
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:33,325 DEBG fd 45 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>61616 for <Subprocess at<PHONE_NUMBER>02392 with name clamav_update in state STARTING> (stderr)>
2021-04-16 01:46:33,325 INFO exited: clamav_update (exit status 0; not expected)
2021-04-16 01:46:33,325 DEBG received SIGCLD indicating a child quit
2021-04-16 01:46:33,575 DEBG 'rqscheduler' stderr output:
01:46:33 Registering birth
2021-04-16 01:46:33,764 DEBG 'ssh-agent' stderr output:
debug2: fd 4 setting O_NONBLOCK
2021-04-16 01:46:33,767 DEBG 'ssh-agent' stderr output:
debug1: XXX shrink: 3 < 4
2021-04-16 01:46:33,770 DEBG 'runserver' stderr output:
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:33,776 DEBG 'ssh-agent' stderr output:
debug2: fd 4 setting O_NONBLOCK
debug1: type 1
2021-04-16 01:46:33,777 DEBG 'ssh-agent' stderr output:
debug1: type 11
2021-04-16 01:46:33,779 DEBG 'ssh-agent' stderr output:
debug1: XXX shrink: 3 < 4
2021-04-16 01:46:33,781 DEBG 'runserver' stderr output:
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:34,419 DEBG 'runserver' stdout output:
/home/django/.ssh/id_rsa already exists.
Overwrite (y/n)?
2021-04-16 01:46:35,421 INFO spawned: 'clamav_update' with pid 68
2021-04-16 01:46:35,428 DEBG fd 41 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>61616 for <Subprocess at<PHONE_NUMBER>02392 with name clamav_update in state STARTING> (stdout)>
2021-04-16 01:46:35,429 DEBG 'clamav_update' stderr output:
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:35,429 DEBG fd 45 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>61832 for <Subprocess at<PHONE_NUMBER>02392 with name clamav_update in state STARTING> (stderr)>
2021-04-16 01:46:35,429 INFO exited: clamav_update (exit status 0; not expected)
2021-04-16 01:46:35,429 DEBG received SIGCLD indicating a child quit
2021-04-16 01:46:38,434 INFO spawned: 'clamav_update' with pid 69
2021-04-16 01:46:38,441 DEBG 'clamav_update' stderr output:
bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8)
2021-04-16 01:46:38,441 DEBG fd 41 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>61832 for <Subprocess at<PHONE_NUMBER>02392 with name clamav_update in state STARTING> (stdout)>
2021-04-16 01:46:38,441 DEBG fd 45 closed, stopped monitoring <POutputDispatcher at<PHONE_NUMBER>61616 for <Subprocess at<PHONE_NUMBER>02392 with name clamav_update in state STARTING> (stderr)>
2021-04-16 01:46:38,442 INFO exited: clamav_update (exit status 0; not expected)
2021-04-16 01:46:38,442 DEBG received SIGCLD indicating a child quit
2021-04-16 01:46:39,443 INFO gave up: clamav_update entered FATAL state, too many start retries too quickly
`
Python3 manage.py runserver <IP_ADDRESS>:8080 is a good front-end access. You can also log in

I want to know how to solve this problem

We have no plans to support CentOS as base image, I would only suggest take a look at this branch https://github.com/openvinotoolkit/cvat/tree/az/centos as a start point, it worked well a while ago.
P.S. I don't see any error messages in the log you provided.

We have no plans to support CentOS as base image, I would only suggest take a look at this branch https://github.com/openvinotoolkit/cvat/tree/az/centos as a start point, it worked well a while ago.
P.S. I don't see any error messages in the log you provided.

I want to use the Centos7 base image to build the code for version 1.1.0 of CVAT

@ITBOX-ITBOY
Sorry, but your request is not clear.
Our team does not provide (and as was mentioned does not have any plans to support) CentOS as a base CVAT image.
You can look at the branch above to get some thoughts about supporting it, but we probably can't help anyhow else.

@ITBOX-ITBOY , you can definitely use any base image to build the code. We will be happy to answer on some specific questions. We did experiments in the past for a customer and it worked properly. The only problem that we cannot support multiple docker base images. Our choice is ubuntu. Don't hesitate to create a github repo with support for centos and we will reference it somewhere on our github page.

you can definitely use any base image to build the code. We will be happy to answer on some specific questions. We did experiments in the past for a customer and it worked properly. The only problem that we cannot support multiple docker base images. Our choice is ubuntu. Don't hesitate to create a github repo with support for centos and we will reference it somewhere on our github page.

This is a mirror image of the version 1.1.0 of CVAT that I built based on Centos7
https://github.com/ITBOX-ITBOY/cvat-centos7-pg
This is the mirror image of CVAT 1.1.0 that I built based on Centos7. The database was changed to MySQL
https://github.com/ITBOX-ITBOY/cvat-centos7-mysql


general indexing/iteration functions

Would it make sense to dispatch some of the below functions in structs.jl (see also qubit.jl) on AbstractManyBodyBasis instead? Should we then have a function _get_dict(b::Type) in case a type Type <: AbstractManyBodyBasis doesn't name its dictionary "dict"? Or how do you think the "interface" should look like?
Base.getindex(b::FermionBasis, i) = b.dict[i]
Base.getindex(b::FermionBasis, args...) = b.dict[args]
Base.keys(b::FermionBasis) = keys(b.dict)
Base.show(io::IO, ::MIME"text/plain", b::FermionBasis) = show(io, b)
Base.show(io::IO, b::FermionBasis{M,D,Sym}) where {M,D,Sym} = print(io, "FermionBasis{$M,$D,$Sym}:\nkeys = ", keys(b))
Base.iterate(b::FermionBasis) = iterate(values(b.dict))
Base.iterate(b::FermionBasis, state) = iterate(values(b.dict), state)
Base.length(::FermionBasis{M}) where {M} = M

I see, that makes sense! Thank you.


UI Improvement and Build Updated

Updated the Build version according to new play services rules and Updated UI with an Icon Added

Hi, Can you provide some screenshots for the changes and squash all the commits into one?

Here are some screenshot to the application

Here are some screenshot to the application

Hi, I don't understand what specific improvements you have made. Did you have a look at this app: https://play.google.com/store/apps/details?id=com.rooftopSpace.Led Please check it out and see if you can get any inspiration from that. Rather than making many changes, please open issues and make one change at a time that is a clear improvement, e.g. implement previews.

Please check if you could help with this issue: https://github.com/fossasia/badge-magic-android/issues/14
And please follow best practices. First open an issue with info on specific improvements and then match a PR with this issue: https://blog.fossasia.org/open-source-developer-guide-and-best-practices-at-fossasia/
I am closing this and look forward to PRs that are easier to review following our best practices. Thanks.


(PUP-9111) Retry reading overrides plist to avoid launchd race

When restarting a service, the launchd provider calls stop and then start.
The stop method executes launchctl unload -w <plist path>, and then calls
enable. The enable method reads the disable overrides pilst and modifies it.
However, there is a race. While the launchd process is changing states, the
disables plist is sometimes zero-length. When this occurs, read_plist fails,
causing the refresh to fail.
Add a read_overrides method which retries the read_plist with a short sleep.

Can one of the admins verify this patch?

CLA signed by all contributors.

Changes done, please have another look!

Once again!

jenkins please test all on osx1012-64a,osx1013-64a

Cool, PR testing passed. There's still some CI failures though.
The code in this PR seems like it could land in the 5.5.x branch of Puppet. Maybe it should be re-targeted to that? @branan ?

Yeah, would be nice to see this targetted at 5.5.
Looking at the Travis run, the spec failures seem unrelated to this change. The Rubocop issue is real, though.

Yeah, would be nice to see this targetted at 5.5.

I am not sure how to do this correctly.

Looking at the Travis run, the spec failures seem unrelated to this change. The Rubocop issue is real, though.

Fix pushed.

@ccaviness I think you'll need to first cherry-pick the commit into Puppet's 5.5.x branch, then close this PR and open a new one that targets that branch.

@ekinanp I'll see what I can do.

Can one of the admins verify this patch?

Oh jeez. Any reason why cherry-picking the commit to the 5.5.x branch (locally) didn't work? Also, I think git should still be able to save your changes via. the reflog?

I managed to blow away my local changes trying to rebase/cherrypick/etc.
I found a local copy of launchd.rb, but I'll need to re-create the tests. That shouldn't be too hard.
The takeaway is I don't get along with git very well at all.

No worries. Feel free to link me to the new PR once it's up.


Feature Request: sessions

Why not make it more flexible and easier to control Accounts
For example separated command to add creat sessions and run all games with all sessions
And edit setting for all

Hi,
I'm only doing minor maintenance to this project at the minute, with no plans to add any major new features.
Thanks


Update delete-vm.md

I used this DOC to delete a VM, however I only have installed AZ PowerShell Modules. Some of the commands won't work, because I don't have Azure Modules installed, and this DOC refers that it works with AZ modules.
Please change some of the PowerShell commands to use AZ PowerShell
Ex.:
Line 92
[Get-AzStorageAccount @storeParams | Get-AzureStorageContainer | where { $_.Name-eq $diagContainer } | Remove-AzureStorageContainer -Force]

Change "Get-AzureStorageContainer -------> "Get-AZStorageContainer
Change "Remove-StorageContainer" -------> "Remove-AzStorageContainer

Line 107
$osDiskStorageAcct | Remove-AzureStorageBlob -Container $osDiskConName -Blob $osVhdUri.Split('/')[-1]

Change "Remove-AzureStorageBlob" ------> "Remove-AzStorageBlob

Same for Line 119

@sethmanheim
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thank you @markojorge! #sign-off


sprite transform R90 is 1 pixel out of alignment when scaled 2x

When scaled 1x these transforms look normal
screen.sprite(sprite, Point(0, 0), Point(0, 0), Vec2(1, 1));
screen.sprite(sprite, Point(0, 8), Point(0, 0), Vec2(1, 1), SpriteTransform::R270);
screen.sprite(sprite, Point(0, 16), Point(0, 0), Vec2(1, 1), SpriteTransform::R90);

However if you scale 2x the R90 transform becomes misaligned by 1 pixel
screen.sprite(explosionLine, Point(0, 0), Point(0, 0), Vec2(2, 2));
screen.sprite(explosionLine, Point(0, 16), Point(0, 0), Vec2(2, 2), SpriteTransform::R270);
screen.sprite(explosionLine, Point(0, 32), Point(0, 0), Vec2(2, 2), SpriteTransform::R90);

This is also happening with the transform R180.

Looks like this is a rounding issue, this seems to help:
diff --git a/32blit/graphics/surface.cpp b/32blit/graphics/surface.cpp
index 3173c6d..8042324 100644
--- a/32blit/graphics/surface.cpp
+++ b/32blit/graphics/surface.cpp
@@ -266,12 +266,12 @@ namespace blit {
     float bottom = sprite.h - (sprite.h - (dr.h * scale_y)) + top - 1;

     if (t & SpriteTransform::VERTICAL) {
-      top = sprite.h - 1 - top;
+      top = sprite.h - 0.01f - top;
       bottom = sprite.h - 1 - bottom;
     }

     if (t & SpriteTransform::HORIZONTAL) {
-      left = sprite.w - 1 - left;
+      left = sprite.w - 0.01f - left;
       right = sprite.w - 1 - right;
     }


I put this mod on my server, and neither me nor my friends were able to join

When I realized this, I deleted the mod and we were able to enter the server again, some very specific bug is happening, because in singleplayer the mod works perfectly, but on the server (where the mod is both on the server and on the client) it is not even possible to enter on the server with this mod installed...
Being more specific,
When entering the server, right after the message "Loading terrain", "Saving world" appears and the game suddenly closes.

Hello! Can you give me more information about the problem? It would be great if you could send me the server and client logs, the mod version used on the server and client sides and the list of other mods used, if any.
Thanks for reporting the bug!

I will send below the Crash-report of the error, which is caused only on the client, the server at the time of the crash does not show any changes, crash-report or even restarts, it remains the same.
The version I downloaded to play with the mod was the most recent one (1.0.3), both on the server and client.
One thing worth mentioning that could be important: In order to test, yesterday I downloaded the version of the same mod 1.0.2, and it technically worked, I was able to access the server, use the camera and everything, just when I took the photo I got that already known error of being expelled from the server, but in relation to 1.0.3, version 1.0.2 I don't have this error that I'm having of not being able to enter the server.
When the client closes suddenly, this

and the following badge report that I attached appear.
crash-2024-07-02_15.49.28-client.txt
I'll leave a download link for all the mods I use except Photography, in case it's useful.
https://drive.google.com/drive/folders/16Qz3-7OogF_kbGYkOjPXP2r9ohkDh01t?usp=sharing

Thank you for sending me all this valuable informations! Unfortunately I've been trying to reproduce the bug for a few hours without success.
This is certainly a very specific compatibility issue. Perhaps you could try resetting the world or even the server? Otherwise you'd have to remove mods other than Photography one by one until everything's working to determine which mod is incompatible with Photography.
Sadly, there's nothing more I can do for the time being without being able to reproduce the bug. Let me know if you manage to get any further information! Sorry if all this could be frustrating, I hope we'll get it resolved soon 👍

It really is a very specific error because, with this strange fact that in singleplayer Photography works with all the mods together and only on the server it doesn't, I stopped thinking that the mods were the problem... So,
By chance I started to think that somehow it could be the fault of the different texture I use in the game and bingo! As on my server, using a different texture is mandatory when logging in, I removed this restriction and was able to access the server with Photography working, Jesus, you don't know how happy I was at that moment hahaha.
What I could see is that the error is about changing any texture, always when changing the texture either to the game's default or to a different random one, it always gives this crash, both in singleplayer and on the server, but if I change a texture in the game menu for example, before entering any map, it doesn't crash...
it's something so ridiculously specific that I don't even recommend that you try to resolve it (I don't even know if it's possible) because it's much better to just add a note stating that such an error can happen in this circumstance, and if you want to use the Photography mod with textures on a server,
each one puts the texture on the client before entering the map and remove the mandatory texture sentence from the server that will work.
That being said, I'm going to enjoy and have fun with my friends using your mod BlouFlin, thanks for making something so interesting! <3

I'm relieved for you that you've found the source of the problem! Thank you for your perseverance in finding the source of the bug, and I wish you lots of fun on your server. Thank you for using Photography! I'll leave this issue open for a while in case I find a way to fix the bug later when I'll have the time.


Match API parity with 0.19.4-alpha.7

This PR is to match parity up to 0.19.4-alpha.7: https://github.com/LemmyNet/lemmy-js-client/compare/0.19.0-rc.19...0.19.4-alpha.7
Additionally, I went through and added comments to all the fields indicating what version they were introduced. This should help a bit with knowing which fields we can rely on for which versions.
I believe Thunder might have to be updated to be able to handle these code changes. Testing will be required as well to ensure that everything is working as expected.

I did a really rough test run without any changes to Thunder, and it seems to be working now. I'll go ahead and merge this in so that more testing can be done during the nightly builds!


Console Errors (Typo in plateau code?)

Looks like there are multiple references to "savanna_plateu" in code where it should be "savanna_plateau".
It's throwing a bunch of errors in my server console related to it (log below).
[21:11:54] [Worker-Main-2/ERROR]: Couldn't load tag seasons:non_summer/savanna_plateu as it is missing following references: minecraft:savanna_plateu (from file/seasons.zip), seasons:fall_early/savanna_plateu (from file/seasons.zip), seasons:fall_late/savanna_plateu (from file/seasons.zip), seasons:winter_bare/savanna_plateu (from file/seasons.zip), seasons:winter_snowy/savanna_plateu (from file/seasons.zip), seasons:winter_melting/savanna_plateu (from file/seasons.zip), seasons:spring_default/savanna_plateu (from file/seasons.zip), seasons:spring_flowering/savanna_plateu (from file/seasons.zip) [21:11:54] [Worker-Main-2/ERROR]: Couldn't load tag seasons:non_winter/savanna_plateu as it is missing following references: minecraft:savanna_plateu (from file/seasons.zip), seasons:summer/savanna_plateu (from file/seasons.zip), seasons:fall_early/savanna_plateu (from file/seasons.zip), seasons:fall_late/savanna_plateu (from file/seasons.zip), seasons:winter_melting/savanna_plateu (from file/seasons.zip), seasons:spring_default/savanna_plateu (from file/seasons.zip), seasons:spring_flowering/savanna_plateu (from file/seasons.zip) [21:11:54] [Worker-Main-2/ERROR]: Couldn't load tag seasons:non_spring/savanna_plateu as it is missing following references: minecraft:savanna_plateu (from file/seasons.zip), seasons:summer/savanna_plateu (from file/seasons.zip), seasons:fall_early/savanna_plateu (from file/seasons.zip), seasons:fall_late/savanna_plateu (from file/seasons.zip), seasons:winter_bare/savanna_plateu (from file/seasons.zip), seasons:winter_snowy/savanna_plateu (from file/seasons.zip) [21:11:54] [Worker-Main-2/ERROR]: Couldn't load tag seasons:non_fall/savanna_plateu as it is missing following references: minecraft:savanna_plateu (from file/seasons.zip), seasons:summer/savanna_plateu (from file/seasons.zip), seasons:winter_bare/savanna_plateu (from file/seasons.zip), seasons:winter_snowy/savanna_plateu (from file/seasons.zip), seasons:winter_melting/savanna_plateu (from file/seasons.zip), seasons:spring_default/savanna_plateu (from file/seasons.zip), seasons:spring_flowering/savanna_plateu (from file/seasons.zip)

I'll try to fix it and submit a PR if someone else doesn't get to it first :)

Looks like data/seasons/tags/worldgen/biome/non_*/ all have files called savanna_plateu.json that are just duplicates of savanna_plateau.json.

Good catch! I think I saw those errors in a log at some point and then forgot about them!


Flutter engine can't be rolled forward due to test failing on Travis

With https://github.com/flutter/engine/pull/4096 Flutter tests fail on the travis
2.52s$ (./bin/cache/dart-sdk/bin/dart ./dev/bots/test.dart && ./dev/bots/travis_upload.sh)
⏩ RUNNING: cd dev/automated_tests; ../../bin/flutter test test_smoke_test/fail_test.dart
⏩ RUNNING: cd dev/automated_tests; ../../bin/flutter test test_smoke_test/pass_test.dart
00:00 +0 -1: loading /home/travis/build/flutter/flutter/dev/automated_tests/test_smoke_test/pass_test.dart [E]
  Failed to load "/home/travis/build/flutter/flutter/dev/automated_tests/test_smoke_test/pass_test.dart":
  Shell subprocess crashed with segmentation fault before connecting to test harness.
  Test: /home/travis/build/flutter/flutter/dev/automated_tests/test_smoke_test/pass_test.dart
  Shell: /home/travis/build/flutter/flutter/bin/cache/artifacts/engine/linux-x64/flutter_tester

This is resolved now right?

Right!


Compiler ignoring @import statement within my .scss files

OS : Ubuntu
Versions:
angular-cli: 1.0.0-beta.1
node: 5.8.0
os: linux x64
Repro steps:
I cannot seem to @import another sass partial. My @Import statement is ignored by the compiler. Any assistance / direction would be greatly appreciated.
Log: N/A

Hi @StephenPaul , you have to enable the whole assets folder to be watch not only the main scss file and make sure the compiler ignore partials. I had the same problem and http://stackoverflow.com/a/37600065/440791 solved the problem for me.

@drala thanks for the tip. Unfortunately still seems to be compiling my partials (with their '_' prefix). Is this connected to my issue? Somehow Sass doesn't recognise a partial as a partial?

I'd try upgrading angular-cli to the latest version, sass imports work fine for me.

@StephenPaul how does your angular-cli-build.js looks like? Strangely, you have to give the path to the folder where all scss files live. Only the main scss file wont do the trick
sassCompiler: {
      cacheExclude: [/\/_[^\/]+$/],
      includePaths: [
        'src/app/assets/styles/'
      ]
    }

You also have to install node-sass. npm install --save-dev node-sass

@Blasz I ended up upgrading my project and this fixed the problem. @drala thanks to you also for your assistance.


fix request exception caused by no content-length header.

Issues associated with this PR
fix request exception caused by no content-length header, issue  https://github.com/mosn/mosn/issues/926 .
Solutions
You should show your solutions about the issues in your PR, including the overall solutions, details and the changes. At this time, Chinese is allowed to describe these.
UT result
Unit Test is needed if the code is changed, your unit test should cover boundary cases, corner cases, and some exceptional cases. And you need to show the UT result.
Benchmark
If your code involves the processing of every request, you should give the Benchmark Result.
Code Style

Make sure Goimports has run
Show Golint result

Codecov Report

Merging #929 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #929      +/-   ##
==========================================
- Coverage   55.55%   55.54%   -0.01%
==========================================
  Files         237      237
  Lines       23877    23877
==========================================
- Hits        13265    13263       -2
- Misses       9397     9401       +4
+ Partials     1215     1213       -2

Impacted Files
Coverage Δ

pkg/stream/http/stream.go
10.24% <0%> (ø)
:arrow_up:

pkg/module/http2/transport.go
78.47% <0%> (-0.29%)
:arrow_down:

pkg/module/http2/server.go
81.77% <0%> (-0.15%)
:arrow_down:

pkg/stream/stream.go
60% <0%> (+13.33%)
:arrow_up:

Continue to review full report at Codecov.

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


[desktop_multi_window] Is it possible to ensure that a subwindow cannot be opened while an instance of that subwindow is already running?

In my scenario, I've got a PreferencesWindow that opens as a subwindow via a keyboard shortcut. I've discovered that while that window is open, I am able to open more instances of that window via the shortcut.
Is it possible to ensure that while a subwindow is open that no other instances of that window are created?

same feature-request


DApps Support

That's actually relatively easy, but requires Deeplink support.
We can rely here on SRC22, i.e. using the generic URL format
action: "sign"
payload: "36b2444574328410c27..." (unsigned transaction bytes)
According to SRC22 the payload needs to be encoded in base64 (although knowing that unsignedBytes is already hex and compatible with network transport).
An url would look like this:
signum://v1?action=sign&payload=MDAyMDM1MWUzYTEyM2MwMDQ5N2Q1NTlkMThkOTg5YjhlMmQ3MjllYjZmNjliNzBjMWRkYzNlNTU0Zjc1YmVmM2VkMjcxNmE0YjIxMjE5MDIwODIyZWIwN2I3Nzc1NzIxMDBlMWY1MDUwMDAwMDAwMDQwNDIwZjAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMTAwMDAwMGMxMzIwYTAwMmY4YTMzZmQyOWI0N2Q5NDA0Y2ZlMTUzMWI1NDNjN2MwMTExMDAwMDgwNTM2ZjZkNjUyMDU0NjU3Mzc0MjA0ZDY1NzM3MzYxNjc2NQ==

SignumJS already supports this in Methods:
createDeeplink and parseDeeplink
https://signum-network.github.io/signumjs/modules/util.html#createdeeplink
So the flow is:

The dApp generates the deeplink for signing (createDeeplink)
Using the deeplink would open the Mobile Wallet
Mobile wallet needs to parse the incoming link -> support for two actions: pay (to be compatible with phoenix codes) and sign
Mobile wallet navigates to Signing Screen (if action=sign)
Gets the unsigned bytes and parses it using node function parseTransactionBytes
Shows data and asks for confirmation

Bonus: the dApp can check the blockchain pending bytes for signed transaction.


Added week_level download data

The purpose of this PR is to allow download of data broken down by location and week. I.e number of consultations by week and clinic. We want to support both simple variables like number of consultations and completeness.

@tomeksabala : Can you take a second look?


Redefinition of 'SUCCESS' as different kind of symbol build error

Report
Plugin Version
"react": "18.2.0"
"react-native": "0.71.6"
"react-native-appsflyer": "^6.12.2"
On what Platform are you having the issue?
iOS
What did you do?
During iOS build, there is a conflict with the 'SUCCESS' symbol declared in another third-party library.
Error message: "Redefinition of 'SUCCESS' as different kind of symbol"
What did you expect to happen?
The build should succeed
What happened instead?
The build failed
Please provide any other relevant information.
// RNAppsFlyer.h
...
static NSString *const SUCCESS    = @"Success";  // this line, Redefinition of 'SUCCESS' as different kind of symbol
...

Thank you for inform us. Which third party library it is?


Configure language via markup

Languge can't be provided via data-attributes, data-language is not working.
I try with fr localization.

data works for most features, not for all, as noted in the documentation.
http://bootstrap-datepicker.readthedocs.org/en/latest/options.html

Thanks for the answer.
Is there any detailled list of which option are available for markup configuration ?

@m-borja - data-date-language allows you to change the language already. do you specifically need data-language for some reason?

ok, i haven't notice that i can use this option...

ok, so please try it, and if it works, please come back and comment here that the issue can be closed.


Update utils.js

Added comment for Render function
Check all applicable boxes below (put an x in between the square brackets, with no spaces)

[x] This is to fix an issue. **Issue #61 :
[ ] If I modified anything other than comments, I ran npm run build and npm test

Summary
This pull request makes it so Render function has a comment describing intended actions.

Thanks!


Running the code without Docker

Hello, I've been trying to run the learning process without using the actual Docker containers, by now I was able to build the image and run node-red, the problem that I am facing is with the following piece of command:
docker run -d -p 5000:5000 --name ltrest \
-e mongodbhost=<IP_ADDRESS> \
--restart unless-stopped \
faisalthaheem/lt-rest:1.0

Can I execute this without using docker? If the answer is positive, do you know by any chance how am I supposed to do that?

Hi
Yes you can, however it appears I left in an incorrect address of mongodb, it should be "<IP_ADDRESS>" where it says "<IP_ADDRESS>" (which was the laptop containing my mongodb, mosquitto and nodered).
I am assuming you have already been able to follow the steps in the wiki page "Quick Start" and your nodered, moquitto and mongodb are running? if yes, you can run the following command to install the python dependencies
pip3 install numpy h5py pandas pymongo flask scikit-learn keras tensorflow argparse
once installed you can navigate to ml/jupyter and execute the following command to run
python3 rest-service.py
That should run the rest service, after which you can invoke the following URL's to start the learning process
http://<IP_ADDRESS>:5000/learn-thermostat
http://<IP_ADDRESS>:5000/learn-state
Once the process complete, you can invoke the following urls by posting the required data to make inference
http://<IP_ADDRESS>:5000/classify-thermostat
http://<IP_ADDRESS>:5000/classify-state
The above is taken care of by the nodered flows, I just realized the IP address in those flows in incorrect which I will update as I get some spare time.

Yes, my node-red, mosquitto and mongodb are running, and I was able to install all those python dependencies. However, when it gets to run the python3 rest-service.py, I am getting the following Error:
2019-06-19 12:07:39.091381: F tensorflow/core/platform/cpu_feature_guard.cc:37] The TensorFlow library was compiled to use SSE4.2 instructions, but these aren't available on your machine.
Aborted (core dumped)

Do you know any ideas to fix it? I am guessing this has some thing to do with the Tensorflow Wheel.
Thanks!!

Yes, my node-red, mosquitto and mongodb are running, and I was able to install all those python dependencies. However, when it gets to run the python3 rest-service.py, I am getting the following Error:
2019-06-19 12:07:39.091381: F tensorflow/core/platform/cpu_feature_guard.cc:37] The TensorFlow library was compiled to use SSE4.2 instructions, but these aren't available on your machine.
Aborted (core dumped)

Do you know any ideas to fix it? I am guessing this has some thing to do with the Tensorflow Wheel.
Thanks!!

Or something to do with the fact that the machine I'm using has a Core Duo processor, and they don't have SSE 4.2 Instructions

You're absolutely right.
If you've installed from official repo with pip then you need a newer CPU
with supported instructions, otherwise compile from sourced yourself an
older release of tensorflow that does not need the sse4.2 instructions.
On Wed, 19 Jun 2019, 19:13 LucasLibra<EMAIL_ADDRESS>wrote:

Or something to do with the fact that the machine I'm using has a Core Duo
processor, and they don't have SSE 4.2 Instructions
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/faisalthaheem/machine-learnt-air-conditioning/issues/2?email_source=notifications&email_token=ACTOQ4KMIQ7JQJ3J5B3KF5DP3JLJXA5CNFSM4HYY3ZGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYCMDBI#issuecomment-503628165,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACTOQ4MJ2YZRAGSIXGDQAQ3P3JLJXANCNFSM4HYY3ZGA
.

I am getting the following error when I run the rest-service.py script
Using TensorFlow backend.
Not running in a container
 * Serving Flask app "rest-service" (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: on
 * Running on http://<IP_ADDRESS>:5000/ (Press CTRL+C to quit)
Started new learn-state.py with process id [24035]
<IP_ADDRESS> - - [24/Jun/2019 15:09:38] "GET /learn-state HTTP/1.1" 200 -
Traceback (most recent call last):
  File "./learn_state.py", line 20, in <module>
    from keras.models import Sequential
ImportError: No module named keras.models

Do you have any ideas how to fix it? I know that keras is installed because I can import it in a normal python script, but for some reason this is not working in the learn_state.py and learn_thermostat.py scripts.
Thanks for everything!!

I was able to fix this problem just by switching line 23 of rest.service.py to:
p = subprocess.Popen(['python3',s_path,'-d 90'])
Now I'm getting the following error from shared.py:
File "/home/ubuntu/Documents/machine-learnt-air-conditioning/ml/jupyter/shared.py", line 24, in getData     mongoClient = mongo.MongoClient(os.environ['mongodbhost'], 27017)   File "/usr/lib/python3.5/os.py", line 725, in __getitem__     raise KeyError(key) from None KeyError: 'mongodbhost'

Was able to fix the previous problem by just switching the line to mongoClient = mongo.MongoClient() which already has a default value of 'localhost':27017.
Can you tell me how much is the minimal quantity of Data in order to the learning process starts?

lost the track of this project, sorry. still going to reply for any others who may end up here.
you need around a 1000 records to get the basics working. i uploaded the collected dataset to the repository, a bit of clean up and it should have enough to get the basic model working.


Incompatible pointer type if CRY_ECP_MUL_WIN is defined

cry_ecp_mul function passes to cry_ecp_add a cry_mpi pointer, but the quoted function takes a cry_ecp_grp pointer.
Probably the functions declared under CRY_ECP_MUL_WIN are old.

Can be easily fixed. PR are welcome :-)


No need to specify pid file when using init.d to start rsync

Per rsync documentation: For pid file, do not use /var/run/rsync.pid if you are going to run rsync out of the init.d script. The init.d script does its own pid file handling, so omit the "pid file" line completely in that case.

@j2sol : Do we need to backport above fix to 2.0.x?

Yes, looks like we'll need to cut a 2.0.2 release for it as well.


File keeps getting resynced

Chanced upon a case where a file kept getting resync even though the local file is already the newest version

issue occurs due to non-unique file name. issue fixed by 1a74b74bbd2047ab9151c950535cc4beef707d8c


Add Scopescan.ai to the explorer doc section

What changed? Why?
I add Scopescan, a data analytic platform (similar to Arkham & Nansen) to the block explorer documentation page.
This is because since we have Arkham on this page, Scopescan also support to check Base transactions & tokens & addresses, they also have other nice features like:

moneyflow tool to visualize token flows
Token holder graph to visualize token holder distributions
Smartmoney dashboard to check who made the most money on Base

Notes to reviewers
Scopescan is power by 0xscope, they received legit fundings from OKX and Hashkey.
I believe Scopescan can help a lot with Base users with their data and tooling ability. That's why i propose this change. Hope it get approved, thanks!
Scopescan.ai is their platform link, you can try and decide.

@RedHorse823
Thanks for taking the time to open this PR! We've added this to our backlog, pending to be reviewed.

Hi Team is this repo okay to be merged? Just asking, thanks! @cb-heimdall

@RedHorse823
Heya, since it has been some time and we haven't heard back, I'm going to go ahead and close this PR for now. If you'd like to pursue these changes in the future please let us know and we can reopen. 👍


Submit transaction via string

Description
The SubmitAsync(String) method of the transaction service should inform the user that it expects the serialized and signed cborHex property of a transaction signed with cardano-cli.
{
  "type": "TxBodyMary",
  "description": "",
  "cborHex": "83a3008182582098035740ab68cad12cb4d8281d10ce1112ef0933dc84920b8937c3e80d78d12000018282581d60d0c43926a989c88d5049e61bdebf2a887aca10fa284b9067373ea28f0082581d603b75186909c120a97f6f0ee6822701f075e5136f3b9a08604a63dce700020080f6"
}

Meaning only hexadecimal characters are allowed: /[0-9a-f]+/i
Sample CBOR
83a3008182582098035740ab68cad12cb4d8281d10ce1112ef0933dc84920b8937c3e80d78d12000018282581d60d0c43926a989c88d5049e61bdebf2a887aca10fa284b9067373ea28f0082581d603b75186909c120a97f6f0ee6822701f075e5136f3b9a08604a63dce700020080f6

The above CBOR hex analyzed
83                                      # array(3)
   A3                                   # map(3)
      00                                # unsigned(0)
      81                                # array(1)
         82                             # array(2)
            58 20                       # bytes(32)
               98035740AB68CAD12CB4D8281D10CE1112EF0933DC84920B8937C3E80D78D120 # "\x98\x03W@\xABh\xCA\xD1,\xB4\xD8(\x1D\x10\xCE\x11\x12\xEF\t3\xDC\x84\x92\v\x897\xC3\xE8\rx\xD1 "
            00                          # unsigned(0)
      01                                # unsigned(1)
      82                                # array(2)
         82                             # array(2)
            58 1D                       # bytes(29)
               60D0C43926A989C88D5049E61BDEBF2A887ACA10FA284B9067373EA28F # "`\xD0\xC49&\xA9\x89\xC8\x8DPI\xE6\e\xDE\xBF*\x88z\xCA\x10\xFA(K\x90g7>\xA2\x8F"
            00                          # unsigned(0)
         82                             # array(2)
            58 1D                       # bytes(29)
               603B75186909C120A97F6F0EE6822701F075E5136F3B9A08604A63DCE7 # "`;u\x18i\t\xC1 \xA9\x7Fo\x0E\xE6\x82'\x01\xF0u\xE5\x13o;\x9A\b`Jc\xDC\xE7"
            00                          # unsigned(0)
      02                                # unsigned(2)
      00                                # unsigned(0)
   80                                   # array(0)
   F6                                   # primitive(22)

Possible Improvements
We could also allow the actual CBOR (unhexed) and try to perform the hexdump within the Method to improve usability:
[{0: [[h'98035740AB68CAD12CB4D8281D10CE1112EF0933DC84920B8937C3E80D78D120', 0]], 1: [[h'60D0C43926A989C88D5049E61BDEBF2A887ACA10FA284B9067373EA28F', 0], [h'603B75186909C120A97F6F0EE6822701F075E5136F3B9A08604A63DCE7', 0]], 2: 0}, [], null]

@mmahut @eddex
I did a prerelease of this branch on nuget
TxSubmit works... BlockService and AddressService also work nicely...
still a lot to do in this PR and generally... but we are getting ahead


RegularizedGeneric based on Frank-Wolfe

Codecov Report

Merging #18 (ffb5ad7) into main (d80b510) will increase coverage by 4.12%.
The diff coverage is 98.75%.

@@            Coverage Diff             @@
##             main      #18      +/-   ##
==========================================
+ Coverage   91.06%   95.19%   +4.12%
==========================================
  Files          14       17       +3
  Lines         235      312      +77
==========================================
+ Hits          214      297      +83
+ Misses         21       15       -6

Impacted Files
Coverage Δ

src/frank_wolfe/frank_wolfe_utils.jl
83.33% <83.33%> (ø)

src/frank_wolfe/differentiable_frank_wolfe.jl
100.00% <100.00%> (ø)

src/regularized/regularized_generic.jl
100.00% <100.00%> (ø)

src/regularized/soft_argmax.jl
100.00% <100.00%> (ø)

src/ssvm/ssvm_loss.jl
100.00% <100.00%> (ø)

src/regularized/sparse_argmax.jl
100.00% <0.00%> (+31.81%)
:arrow_up:

Continue to review full report at Codecov.

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


Add a generic entry for ATBM603x USB

Tested on a Galayou (Wansview) Y4 camera. This at least gets working wifi so I can log in over the network and start figuring out how to get working images.

Tested on a Galayou (Wansview) Y4 camera. This at least gets working wifi so I can log in over the network and start figuring out how to get working images.

Hi @ckuethe , can you tell me which image did you use for flashing Galayou and how did you flash it, with which sw?

I used the usual rom hacking trick: short the clock pin on the SPI flash so that boot fails leaving the camera in u-boot. From there, you can use u-boot to dump the factory firmware to microsd, load a new firmware from a vfat partition on a microsd, or pretty much anything else u-boot can do.


get close call in "MyWindow" class

when we call MyWindow.closeAll()  function view of windows get closed, but is there any method in MyWindow which will be called when we call closeAll(). I observed that after calling closeAll() service is still running, so I want to stop some timers, unregister receivers, etc when we close the window using closeAll().

This is actually quite critical, in the case of log out and log back in, for example, it does not completely kill the service causing old data to show up instead of starting it from fresh.

@vrdvaibhav try doing this with your own ID in onClose()
    stopService(getShowIntent(this, getClass(), MY_ID));


子VC里面，假如有UITableView，无法下滑UITableView，直接会dismiss子VC

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

请参照demo来编写代码，子vc也需要传递tableview让框架知道


Dependency build problems

Stuff to add to build directions:
libxcb: Works fine, except one must run autogen.sh before configure
xpyb:

Needs note about autogen.sh.

Version change goes between AC_INIT, not to some random place I presume

Fails horribly if you have python 3 as default, so pass PYTHON=python2.7 before configure

Fails horribly regardless, because the python scripts apparently have errors:
File "./py_client.py", line 264, in _py_get_length_field
if hasattr(expr.parent.parent, "opcode"):
AttributeError: 'ListType' object has no attribute 'parent'

etc., fixing that by a blind removal of one '.parent' wasn't nearly enough, it had multiple follow-ups with None objects being passed around... so basically it's broken.
cairo: note about, or line running autogen.sh missing
py2cairo: It won't find xpyb for obvious reason, but even tho I managed to install it (under /usr/local), it still wasn't found. But I do have version 1.2 installed on Gentoo and it doesn't find that either.
Also as a crucial note for such development level software, the instructions should assume installation under /usr/local or similar.

For py2cairo, you need to pass PYTHON=python2.7 as well

Also, how do I instruct qtile to use the py2cairo installed by the previous sequence (except I modified py2cairo to use xcb from gentoo, don't know if it works or not)

Seems it didn't work:
Program received signal SIGSEGV, Segmentation fault.
0x00007fffea5ef55c in xcb_surface_new (type=, args=0xc2aa70, kwds=) at surface.c:1413
1413	  if (!PyArg_ParseTuple(args, "O!IO!ii:XCBSurface.new",
(gdb) bt
#0  0x00007fffea5ef55c in xcb_surface_new (type=, args=0xc2aa70, kwds=) at surface.c:1413

Not sure if you got Qtile running in the end, but you could give this script a try (and test it in the process). It sets up Qtile's dependencies inside a virtualenv so mainly useful for development, however, could potentially be used to install and run Qtile as well. Instructions on how to set up the environment are included as comments. Not a solution for this issue, just a workaround.

Sorry I've been really busy. Checking it out now. Thanks man!

Lauri

On 01/23/2012 09:41 AM, Anshuman Bhaduri wrote:

Not sure if you got Qtile running in the end, but you could give this script a try (and test it in the process). It sets up Qtile's dependencies inside a virtualenv so mainly useful for development, however, could potentially be used to install and run Qtile as well. Instructions on how to set up the environment are included as comments. Not a solution for this issue, just a workaround.

Reply to this email directly or view it on GitHub:
https://github.com/cortesi/qtile/issues/105#issuecomment-3610179

At least it's working fine so far, I'll let you know it it compiles. I
don't even know what this virtualenv thing does, but it seems to at
least compile stuff successfully.

Lauri

On 02/04/2012 06:28 PM, Lauri Lyly wrote:

Sorry I've been really busy. Checking it out now. Thanks man!

Lauri

On 01/23/2012 09:41 AM, Anshuman Bhaduri wrote:

Not sure if you got Qtile running in the end, but you could give this script a try (and test it in the process). It sets up Qtile's dependencies inside a virtualenv so mainly useful for development, however, could potentially be used to install and run Qtile as well. Instructions on how to set up the environment are included as comments. Not a solution for this issue, just a workaround.

Reply to this email directly or view it on GitHub:
https://github.com/cortesi/qtile/issues/105#issuecomment-3610179

The main idea behind setting up Qtile inside a virtualenv was that I should be able keep my development version of Qtile's dependencies separate from my system Qtile's ones and update/change them without affecting my system Qtile. In the process, I had to setup all the dependencies in a virtualenv (which is essentially a clean slate) so I wrote a script for it. See for more info on virtualenv.

I got everything built with help of your script - however I'm still a
bit confused how to run qtile under the virtualenv environment... For
some reason it seems to get e.g. pycairo from my main linux
distribution, as it's missing xpyb support and this is why qtile fails.
Is this not built in the virtualenv?
With my main distro, if I enable xpyb in pycairo I instead get a
segmentation fault. So this virtualenv would really help!
Also, how does qtile behave if I run it under another window manager?
Any insight? For development this would obviously be helpful.

Lauri

On 02/05/2012 11:25 PM, Anshuman Bhaduri wrote:

The main idea behind setting up Qtile inside a virtualenv was that I should be able keep my development version of Qtile's dependencies separate from my system Qtile's ones and update/change them without affecting my system Qtile. In the process, I had to setup all the dependencies in a virtualenv (which is essentially a clean slate) so I wrote a script for it. See for more info on virtualenv.

Reply to this email directly or view it on GitHub:
https://github.com/cortesi/qtile/issues/105#issuecomment-3820894

If you clone Qtile (can try my fork), it comes with a script which runs a Qtile instance using Xephyr (you may need to install it). Once the development environment is setup correctly, running that script with the virtualenv activated should bring up a Qtile instance inside Xephyr. Here you can test Qtile with your existing window manager running and is what I use during development.
To run the Qtile from the virtualenv as your main Qtile, try putting something like
export PYTHONPATH=/path/to/virtualenv/lib/python2.7:/path/to/virtualenv/lib/python2.7/site-packages
exec /path/to/your/qtile/qtile

in your .xinitrc and restarting X. I'm not sure if this will even work but you could try.
Its probably best to modify the script to install Qtile's dependencies to /usr/local or similar. Again, this is only a workaround. The Qtile developers are working to make the install process much smoother.


?? Multiple Language support?

Multiple language support for natural language to latex converter.
Tasks to consider:

Additional conversion layer for translation - new prompts
Modify frontend for language switcher and reflect changes on UI literals

Could be done by getting a detection and translation API endpoint like google translate. Google translate itself cost money though


Only pretty-print

Without filter jq just print the json.

This is done now in cf8e35baeb7d53baa0e2a48779a0f61e84522719. Thanks for the suggestion!


Implement BuzzAPI search

Fixes #815. Implements most of the rest of the code changes for #1136.

Per Slack, I removed the gtDirGUID field as we do not get that attribute.

The Nova action "Update Majors" will also update all fields now.


rustup, fix test

Cc https://github.com/rust-lang/rust/issues/76190

@bors r+

:pushpin: Commit<PHONE_NUMBER>6a762235004c08d0b9a188c0d65d2a has been approved by RalfJung

:hourglass: Testing commit<PHONE_NUMBER>6a762235004c08d0b9a188c0d65d2a with merge 0a4ecfc22511026c20a3a245b752f80fa2d8ab28...

:sunny: Test successful - checks-travis, status-appveyor
Approved by: RalfJung
Pushing 0a4ecfc22511026c20a3a245b752f80fa2d8ab28 to master...


Add GNU Make rule to print GENDIR

Useful when the TFLM makefile is called recursively and build artifacts used.
BUG=b/327609938

@Mergifyio refresh


[TASK] Update pyWavelets Python package

Issue Description
Describe the solution you'd like
A newer version of the PyWavelets python package (1.2 versus the currently pinned 1.1) contains new methods for conducting multiresolution analysis. These will be needed in future RAVEN developments and currently needed for a RAVEN demo.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or task?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[x] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

checklist is good.


feat: github release notes optional header/footer

Add --notes-header and --notes-footer options for github-release
command (adds them to the manifest too), so that the user can pass
text templated with handlebars.js to be added before/after the resulting
GitHub release notes.
This allows customizing GitHub release notes by the user, e.g. adding
release installation instructions at the end of the changelog displayed
on the release page.
Partials exposed to the templating engine to be used by the user:
{{> version | tag | githubRepo | githubOwner | changelogPath | PRNumber | PRSha | PRTitle }}

Usage:
release-please.js github-release --notes-header "Hi." --notes-footer "## Documentation:\nhttp://example.org/docs/v{{> version }}/"

Resulting GitHub release notes:
Hi.

## Features:
...release changelog here...

## Documentation:
http://example.org/docs/v1.0.0/

Fixes #1039
Signed-off-by: Ilya Lesikov<EMAIL_ADDRESS>

@ilya-lesikov bother you to fix the conflict, we'll work on giving you a review.

@bcoe fixed.

@ilya-lesikov I discussed this PR with @chingor13, I don't love pulling in templating support for a nice to have feature like this.
Two thoughts:

could we simplify the approach to not use the handlebars templating engine.
alternatively, perhaps we could introduce something resembling hooks to release-please, which would allow for added behavior like this without adding it to the library itself.

@bcoe I can render the variables by replacing some static keywords like {{ $VERSION }} with the data, would this suffice? I used the handlebars since it's already used by conventional-commits JS libraries under the hood, so I decided it wouldn't hurt to allow people to use the fully-featured templating. I can change it though.

@ilya-lesikov that's a good point (the fact that we already have handlebars as a dependency). The other thing on my mind, is that this adds quite a bit of logic to handle the template expansion.
What if instead we added conditional logic here and were somewhat opinionated about the format of the footer message?
For your use case, what would you like the footer to look like?

@bcoe sorry, I didn't have much time recently. I skimmed through the code, and isn't this file https://github.com/googleapis/release-please/blob/main/templates/template.hbs used only in ruby-yoshi? I believe these are the templates that are actually used.
And I'm afraid this would change the changelog itself too, which is not needed in our particular case. We only need to add a header/footer to the GitHub release message, not the changelog. We'll use it to add short installation instructions and also to provide links to the actual binaries since we do not attach them to the GitHub release, instead we store them in a secure TUF-repo. So we would like not to alter the changelog while changing the GitHub release message, I believe if people need to add some extra info to the GitHub release, it most likely would not be useful in CHANGELOG and vice versa.

ref https://github.com/googleapis/release-please/pull/1087
ref github/feedback#6417

@ilya-lesikov I'll dig into this again next week, I apologize that I've been dragging my feet a little bit on getting this over the finish line. What I think I'm finding challenging, is that it could feel slightly odd that footers and headers are only added to the GitHub release (not to the PR body itself, or to the CHANGELOG).  I'm not sure what the right design is.
Having said this, I understand why you want this functionality. I've been thinking I'd like similar functionality for adding a footer to PR bodies.

@bcoe I'm not sure about the design too, but for me it looks like the Release page is for the user, PR is for the developers and changelog is for a subset of both? I mean things that might be useful in Release descriptions:

short installation instructions, docs
links to hosted somewhere else or third-party packages/binaries/files
disclaimers, notes (like short license notes)

usually have no value in a PR and especially in a changelog. Still, I see the value in customizing PR/changelog template, but doing so independently of Release template.
@chingor13 I'm fine with that. I guess I should've opened the issue first and discussed the design instead of making the PR straight away, but whatever.

@ilya-lesikov okay, the big refactor we were working on has finally been finished, appologies that this work got stuck behind our migration to v13.
Would you like to dust off this work? @chingor13 where do you think an extension like @ilya-lesikov is proposing would best live now?

@bcoe Hello, I see there is a major refactor will be required on my part, but I'm afraid I won't have time for this soon, sorry. For now we'll have to stick to the fork, hope I can return to this PR someday.

@ilya-lesikov thanks for your patience, and sorry this forced you onto a fork.
We'll keep your feature request in mind, and if possible try to implement it for you (I know @chingor13 was doing some refactoring specifically to support your use case).


React native

brother make a package for react native

Haven't worked with it, but will try Inshallah


upgrade node-kafka-rest-client to v1.1.0

upgrade node-kafka-rest-client  version to enable retries and migrator blacklist.

Lgtm. Ship it


Do not merge - Test coverage check

Issue #, if available:
N/A
Description of changes:
Testing coverage check
Checklist:

[ ] Have you successfully deployed to an AWS account with your changes?
[ ] Have you written new tests for your core changes, as applicable?
[ ] Have you successfully tested with your changes locally?
[ ] Have you updated openapi.yaml if you made updates to API definition (including add, delete or update parameter and request data schema)?
[ ] If you had to run manual tests, have you considered automating those tests by adding them to end-to-end tests?

AS review ticket id:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

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

@@            Coverage Diff             @@
##             develop     #457   +/-   ##
==========================================
  Coverage           ?   44.51%
==========================================
  Files              ?      157
  Lines              ?     6886
  Branches           ?      921
==========================================
  Hits               ?     3065
  Misses             ?     3248
  Partials           ?      573

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 252b504...5186f37. Read the comment docs.


Added extensions for source code in the File Explorer Preview pane.

What is the expected behavior of the proposed feature?  What is the scenario this would be used?
Have a GUI option available in the settings of File Explorer Preview that allows you to add files to be interpreted as text. It seems to support common programming languages like C or C++ and associated headers, but other types of source files can't be added.

If you'd like to see this feature implemented, add a 👍 reaction to this post.

hi @SIMPalaxy, not sure I'm quite understanding. Do you want additional files types to be previewed? Can you provide an example

hi @SIMPalaxy, not sure I'm quite understanding. Do you want additional files types to be previewed? Can you provide an example

Yes, certain types that aren't text files are automatically programmed to be displayed correctly, but when it comes to text files with other file extensions such as sources from other programming languages are difficult to add and don't appear via the settings window.
So if I'm programming in Haxe or Zig or have a app.todo file I can't get a preview of the file. Having a setting to be able to add recognized extensions which are text-based would be nice.

https://github.com/microsoft/PowerToys/issues/1527 would handle this scenario where we'd leverage Monaco I bet


Files on https pointing to http by default

Many members of the community use Stack Overflow and Server Fault to ask questions.
Read through the existing questions or ask your own!

Stack Overflow: http://stackoverflow.com/questions/tagged/parse.com
Server Fault: https://serverfault.com/tags/parse

Make sure these boxes are checked before submitting your issue -- thanks for reporting issues back to Parse Server!

[x] You've met the prerequisites: https://github.com/ParsePlatform/parse-server/wiki/Parse-Server-Guide#prerequisites.

[x] You're running the latest version of Parse Server: https://github.com/ParsePlatform/parse-server/releases

[x] You've searched through existing issues: https://github.com/ParsePlatform/Parse-Server/issues?utf8=✓&q=is%3Aissue Chances are that your issue has been reported or resolved before.

[x] You have filled out every section below. Issues without sufficient information are more likely to be closed.

--
Issue Description
Describe your issue in as much detail as possible.
Files in server are all pointing to the non https version of the server, e.g.:

thumbnail": {
    "__type": "File",
    "name": "c16426b3652647f78df380a434ce97bc_thumbnail.jpg",
    "url": "http://<host>/files/2d42ca0c-8ca7-40e4-a8f7-b5a09b07a96b/c16426b3652647f78df380a434ce97bc_thumbnail.jpg"
}

Steps to reproduce
Please include a detailed list of steps that reproduce the issue. Include curl commands when applicable.

Install parse-server as described in the repository documentation
If possible deploy to some stage other than localhost (I use Digital Ocean)
Install an SSL certificate
Configure Nginx to serve your API and to use the SSL certificate you have installed

At this point all your API calls should redirect to https.

Save some files to your server using the API or the dashboard, anyone works well.
Pull some images from your API using any method and call the url method in those records

Expected Results
Calling file.url() should point to the HTTPS'd version of the file if https is used in the serverURL configuration, there is a forceSecure option to pass to that method but still, shouldn't it be obvious we want to serve the files from https if https is used in the server URL configuration?
Should parse-server provide an option in the setup to the something like:
serveAllFilesFromSecure: true | false
If true then force all files to be served from https instead of the non-secure by default
Actual Outcome
File is served from http source instead, this is non ideal when developing mobile apps that rely on parse server, Apple TSA may lead to app rejection on the App Store, you can always talk to them and explain why you added an exception to a domain on the TSA policy but rejection is still a possibility.
Causes
https://github.com/ParsePlatform/Parse-SDK-JS/blob/master/src/ParseFile.js#L146
/**
   * Gets the url of the file. It is only available after you save the file or
   * after you get the file from a Parse.Object.
   * @method url
   * @param {Object} options An object to specify url options
   * @return {String}
   */
  url(options?: { forceSecure?: boolean }): ?string {
    options = options || {};
    if (!this._url) {
      return;
    }
    if (options.forceSecure) {
      return this._url.replace(/^http:\/\//i, 'https://');
    } else {
      return this._url;
    }
  }

Environment Setup

Server

parse-server version (Be specific! Don't say 'latest'.) : 2.2.25
Operating System:    Ubuntu 16.04
Hardware:             x_64 Not sure
Localhost or remote server? (AWS, Heroku, Azure, Digital Ocean, etc): Digital Ocean

Database

MongoDB version: 3.2.27
Storage engine:  WiredTiger
Hardware:        x_64 Not sure (DO Says the use DELL but who knows)
Localhost or remote server? (AWS, mLab, ObjectRocket, Digital Ocean, etc): Digital Ocean

Logs/Trace

thumbnail": {
    "__type": "File",
    "name": "c16426b3652647f78df380a434ce97bc_thumbnail.jpg",
    "url": "http://<host>/files/2d42ca0c-8ca7-40e4-a8f7-b5a09b07a96b/c16426b3652647f78df380a434ce97bc_thumbnail.jpg"
}

hi @jtanori
in the database, only the file name is stored, not the whole url.
the url is build from your config.  I use s3 to store images.  the baseUrl is used to build the url and the value i enter is: https://host so calling file.url() has https for me.
see: https://github.com/parse-server-modules/parse-server-s3-adapter/blob/master/index.js#L128
you could look for the same functionality in whatever file adapter your using to see how to get https.  glad to help you poke around and fix if necessary.....

@acinader thanks for checking, your hint gave enough data to find the solution, in my case I´m using the Grid System files adapter which unlike the other adapters is configured by default and does not accept a baseUrl or any other attribute.
How to get the GRIDFS using https:
1 - Configure the publicServerURL to point to the URL you want the files and other public resources to be served from
https://github.com/ParsePlatform/parse-server/blob/master/src/Config.js#L176

@acinader Hello, I'm having an issue involving files being stored in http and this is the closest issue I could find. I am not using any file adapter, more or less the example server out of the box. My serverUrl is has https but my webapp retrieves all files (in my case it is all images) through http, causing my browser to create mixed content warnings. I'm going crazy trying to figure this out, below is what my server setup looks like, any help would be much appreciated!
const express = require('express');
const ParseServer = require('parse-server').ParseServer;
const ParseDashboard = require('parse-dashboard');
const env = require('./config.json');

var node_env = process.env.NODE_ENV || "development";
var config = env[node_env];

var api = new ParseServer({
  databaseURI: process.env.MONGODB_URI || config.databaseUri,
  cloud: process.env.CLOUD_CODE_MAIN || __dirname + '/cloud/main.js',
  appId: config.appId,
  masterKey: config.masterKey,
  serverURL: process.env.SERVER_URL || config.serverUrl, // https://myserver.herokuapp.com/parse
  facebookAppIds: ["MY_FACEBOOK_APP_ID"],
  revokeSessionOnPasswordReset: true
 });

 var dashboard = new ParseDashboard({
  "apps": [{
    "serverURL": process.env.SERVER_URL || config.serverUrl, //Also https://myserver.herokuapp.com/parse
    "appId": config.appId,
    "masterKey": config.masterKey,
    "appName": "api",
  }],
  "trustProxy": 1,
  "users": [{
    "user": "user1",
    "pass": "password"
  }]
});

var app = express();

// Serve the Parse API on the /parse URL prefix
var mountPath = process.env.PARSE_MOUNT || '/parse';
app.use(mountPath, api);
app.use("/dashboard", dashboard)

var port = process.env.PORT || 1337;
app.listen(port, function() {
  console.log('Running on port ' + port + '.');
});

well @mtpeoples i don't know the answer exactly, but let's take a look and see what we can learn....
if you're not setting an adapter, then i think you're using the grid store adapter.  the file path is figured out here: https://github.com/ParsePlatform/parse-server/blob/master/src/Adapters/Files/GridStoreAdapter.js#L65
so you need to know what & why the config.mount value is what it is.
https://github.com/ParsePlatform/parse-server/blob/master/src/Config.js#L68
get set when the constructor is called with mount as a parameter.
and here we can see that it'll return the constructor value unless publicServerUrl was set.
So you could try setting publicServerUrl to what you want.
but now does it get that mount if publicServerUrl isn't set......
https://github.com/ParsePlatform/parse-server/blob/master/src/middlewares.js#L17
ah.  so if the incoming request is http, the http is what you are going to get.
so likely that the request as parse is seeing it is http, right?  I don't use heroku, but re
so it's probably a matter of setting publicServerUrl to https://myserver.herokuapp.com/parse

@acinader Thanks for the quick response! I added publicServerUrl as a property in the constructor for ParseServer, but it does not seem to have changed anything.

DOH, well that's what you get for copy and pasting my suggestions ;)
Can you see the typo in my answer to you that is causing the correct solution to fail?
Here's a hint: https://github.com/ParsePlatform/parse-server/blob/master/src/Config.js#L188
good luck!

changed publicServerUrl to publicServerURL and it worked like a charm! Thank you so much for your help!

worth noting that if either you or i had just read the comment right before your question......

Im using Picasso and it works fine but it start to not show photos in android 9 because of this.
I came out with this solution till someone fix this:
photo = photo.replaceAll("http://","https://");

You should have a public server url set to https scheme instead of http


sed: 1: "/Volumes/Drive/username ...": extra characters at the end of D command

Getting a sed error when attempting to change from vi to nano and the command is being repeated. I'd add a pull request but i don't have the expertise!

i did a little research and i think it has to do with the sed -i command having to have sed -i ''

Fixed by #57

@jacobkossman Thanks for reporting the issue!


[IBCDPE-909] Notify users of empty output files

problem
The current workflow fails when an output predictions file is empty. It's better for this kind of error to have high visibility, since the problem is on the user-end. Ideally the workflow will run all the way through, and notify the user of the empty file via: e-mail, annotation update in the submission view, and error message in the Docker execution log.
solution

[x] Remove the raised ValueError in run_docker.py that breaks the pipeline when a predictions file is empty
[x] Create an INVALID predictions file that will carry on until the end of the workflow run, when a predictions file is empty (or when ANY predictions file stored in a ZIP is empty). This will notify the user at the very end, that the model generated a faulty output file. The notice is given via: e-mail, updated INVALID annotations, and an updated Docker execution log with the error message
[x] Use NamedTuple for tuple outputs
[x] Minor updates to comments and docstrings

testing & preview

[x] Test to ensure both CSV and ZIP outputs are supported in this change

E-mail is sent to user notifying them of the error:

Submission view gets updated with error:

Error gets appended to Docker execution log:

tower-dev run was sucessful with the latest changes. Merging 🚀


Add a snapAnimationDuration param in DraggableScrollableSheet

Add a new param so user can define the duration of the snap animation of a DraggableScrollableSheet.
video attached with snap animations duration = 0.5S
Fixed: #107033
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] All existing and new tests are passing.

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

https://user-images.githubusercontent.com/108393416/178253751-9bad7316-d83f-44b2-be08-616d3576f983.mp4


Subset font files for Reforma 1918

close #38

The hamburger menu icon is no longer rendered in Reforma 1918. We need to add the uppercase I in the subset font file.


Lowest supported sqlite version?

First of all, thanks for the awesome project! I can't find any info about the lowest supported sqlite version.
We're trying to integrate sqlite-vec into a rather old codebase that uses sqlite 3.35, and we don't want to risk upgrading sqlite3 version. Currently the code in 0.1.0 release doesn't compile. After some minimal changes it does compile/link successfully, but I'm a bit worried.
compile errors:

SQLITE_INDEX_CONSTRAINT_LIMIT doesn't exist in 3.35
a few "not all control paths return a value" since we switched on warning-as-error

link errors:

error LNK2019: unresolved external symbol sqlite3_vtab_in referenced in function vec0CursorClear
error LNK2019: unresolved external symbol sqlite3_vtab_in_first referenced in function vec0Filter_knn
error LNK2019: unresolved external symbol sqlite3_vtab_in_next referenced in function vec0Filter_knn

Actually there is code to check this:
if (sqlite3_libversion_number() >= 3038000) {
      vtabIn = sqlite3_vtab_in(pIdxInfo, i, -1);
}

But unfortunately, the function sqlite3_vtab_in is still required for linking with any sqlite3 version.
BTW: I believe there are more projects that use older version of sqlite3 (several years ago). For example Unreal Engine 5's current shipped sqlite3 is still 3.31.

@rujialiu I think the problem here is that you are linking with an old version of SQLite that doesn't provide sqlite3_vtab_in symbols.
The symbols are required because they are not guarded by any macros at build time and are used in some execution paths.
So, the compiler still needs these symbols to be present.
I write a similar vector search SQLite extension https://github.com/1yefuwang1/vectorlite and ran into similar problems before.
You can link against newer SQLite and still load it to an old SQLite at runtime.

@rujialiu  I'll add proper support for 3.35 in the next release.
I only tested older SQLite versions using dynamic extensions, not statically compiling. I'll update to add some #define's to get around the missing SQLITE_INDEX_CONSTRAINT_LIMIT values and avoid `sqlite3_vtab_in(). The only exception would be the "control path" warnings, that may take be a bit longer to fix (I mostly develop on MacOS which doesn't emit these warnings)
Targeting 3.31 (Jan 2020) seems reasonable enough, I'll add some CI/CD tests for it as well

Thank you both! Glad to know that SQLITE_INDEX_CONSTRAINT_LIMIT and sqlite3_vtab_in() is are essential. I'll comment out relavent codes and start experimenting with it soon and update the code after the proper support is implemented.
BTW: Your vectorlite extension looks great too, though my current codebase doesn't allow me to add more dependencies like absl @1yefuwang1

@rujialiu the v0.1.1 release now supports statically linking sqlite-vec in SQLite versions as low as 3.31.1:  https://github.com/asg017/sqlite-vec/releases/tag/v0.1.1
Try it out and let me know if it works! There should be no more errors surrounding SQLITE_INDEX_CONSTRAINT_LIMIT or sqlite3_vtab_in(). I also added a test to Github Actions so it shouldn't regress in the future. 3.31.1 is the minimum version I test for.
Although the  "control path" warnings will still appear, I'll track that in #64 . If you can provide the compiler you're using and an example of what the warnings look like, that would be great!

Thanks! I've provided a patch which (hopefully) contains all such places. The patch also contains some workaround about the static linking issue.

I've tested v0.1.1, following examples/simple-c/demo.c, it got runtime check failed
        rc = sqlite3_prepare_v2(db, "CREATE VIRTUAL TABLE vec_items USING vec0(embedding float[4])", -1, &stmt, NULL);
        assert(rc == SQLITE_OK);
        rc = sqlite3_step(stmt); <--- failed here

(BTW: the vec_version() printed earlier is correct, so I assume sqlite_vec is initialized correctly?)
The exact place is line 4082:
pNew->pkIsText = pkColumnType == SQLITE_TEXT;

The error is:
Run-Time Check Failure #3 - The variable 'pkColumnType' is being used without being initialized.

There is only one place that assigns a value to pkColumnType (line 3989) but the program didn't get there because parse_vector_column returns SQLITE_OK so it continues at line 3970
However, if I added a "pkColumnType = -1" at line 3941, later this one will return SQLITE_ERROR
  rc = sqlite3_prepare_v2(db,
    "SELECT "
    "  rowid, "
    "  distance "
    "FROM vec_items "
    "WHERE embedding MATCH ?1 "
    "ORDER BY distance "
    "LIMIT 3 "
  , -1, &stmt, NULL);
  assert(rc == SQLITE_OK);

I'm still very unfamiliar with the codebase so this is pretty much everything I could do now.
If you cannot reproduce this, some brief explanation of the intended the control flow, and important variables to pay attention to, will greatly help me investigate further.

@asg017 Could you please take a look at my issue above when you have some time?
BTW: I saw your iOS tracking issue. Actually we're planning to use it in iOS, but first we need to make it work with windows 10.

@rujialiu just published 0.1.2-alpha.1, can you give it a shot? https://github.com/asg017/sqlite-vec/releases/tag/v0.1.2-alpha.1
The control path warnings should be fixed now, and use -DSQLITE_CORE and -DSQLITE_VEC_STATIC to avoid those dllexport/sqlite3_api errors.
And for that SQL, try:
  rc = sqlite3_prepare_v2(db,
    "SELECT "
    "  rowid, "
    "  distance "
    "FROM vec_items "
    "WHERE embedding MATCH ?1 "
    "AND k = 3 "
    "ORDER BY distance "
  , -1, &stmt, NULL);
  assert(rc == SQLITE_OK);

Instead of LIMIT 3, the LIMIT 3 syntax only works on SQLite versions greater that 3.41, while k = 3 works on older versions.

@asg017 I tested 0.1.2alpha2, everything works! Thanks!

@rujialiu thank you for taking the time to test everything!


Hardcoded URL in Slack integration

When creating the slack integration the webhook has to be like;
https://hooks.slack.com/services/<your personal key>
This doesn't allow using Mattermost which is slack compatible. The webhook format for Mattermost is like;
https://mattermost.myhost.co.uk/hooks/5nm4v8r77bvdpdycxsf4g49nf8
Maybe if the requirement wasnt for a hardcoded slack URL then this would be another integration with a simple fix.
I've tried but the only referance i can find is core/test/unit/slack_spec.js

Hi @dominictayloruk this is hard coded into the admin panel - so you'll find the references in https://github.com/TryGhost/Ghost-Admin if you want to update Ghost for your usecase.
Long term, we hope to have lots of pluggable apps, short term I don't think this is something we'd support, however please submit it as a feature request to ideas.ghost.org as we use that to gauge interest and help us decide what to work on next.

The 1.17.3 release has a fix for this, you are able to put any valid URL into the Slack app webhook field so it will work for Discord, Mattermost, and any others 👍

Nice, thanks.


Feature: Git Blame priority

Is your feature request related to a problem? Please describe.
An option to control the priority of git blame over other visuals like inlayHints and codeLens.
Describe the solution you'd like
Git Blame should appear after the type hint.
Describe alternatives you've considered
I don't know if vim.api.nvim_buf_set_extmark allows controlling the priority. I tried increasing the delay to 2000, but it didn't work.
Additional context

LSP: rust_analyzer

@aspeddro can you try #518?

I made some tests.
Set virt_text_priority = 500. It didn't work, so I put a priority to inlayHints handler, so it worked.
vim.api.nvim_buf_set_extmark(ctx.bufnr, inlay_hints_ns, end_line, 0, {
   virt_text_pos = 'eol',
   priority = 200,
   virt_text = { { text, highlight } },
   hl_mode = 'combine',
})

At first it didn't work for codelens, so I added a priority to 200.
https://github.com/neovim/neovim/blob/4bef2f02e8bd8d6daecb757fa2bef26a60998707/runtime/lua/vim/lsp/codelens.lua#L141-L142
https://user-images.githubusercontent.com/16160544/163034553-39b65976-85b5-42b2-a926-943ea4043dd8.mp4

So basically this is an issue with core?

Could be a issue. I don't know what the expected behavior is when vim.api.nvim_buf_set_extmark has no priority.
Some questions:

How is priority defined when vim.api.nvim_buf_set_extmark has no value?
Does it make sense for some core features like vim.lsp.codelens to have a priority?

You could test, to see if this behavior is repeated on your machine?

There's no guarantee on behavior with overlapping extmarks with the same behavior. (This came up before with vim.highlight.range.)

Well from this side it seems the most we can do is expose priority in the config, so I'll just merge it.


Memory

Introduce changes that reduce memory demand significantly.

This version compiles without problem on Windows 10 with GCC.
There are drastic improvement in speed and stability of the program. Good job.


⚠ Mobitopup has degraded performance

In 9186432, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 4120 ms

Resolved: Mobitopup performance has improved in a6e0705.


No messages shown by any node (IDFGH-5273)

I have been testing this example for a couple of weeks, my nodes connect correctly and create an organized network with the root node and four child nodes but there are no messages shown in the serial monitor, whether of a root node or a child node.  How could I manage to have those messages shown in the serial monitor? Any ideas about it?

@L30n4rd0-code Thanks for reporting, which example you refer to? Thanks.

I'm refering to the Internal_communication example.

The bug has been fixed in gitlab and is waiting to be synchronized to github.

Thanks for reporting, and sorry for slow turnaround, fix is available at https://github.com/espressif/esp-idf/commit/d93849baf86b6de5f08a03ae6aa7006dac58a93b, feel free to reopen.


schemamanager: Change PreflightSchemaChange to accept a list of changes instead of a single change.

This makes it easier to test multiple changes which depend on each other e.g. a CREATE TABLE after a DROP TABLE if the table already exists.
Fixes issue https://github.com/youtube/vitess/issues/1731#issuecomment-222914389.
@alainjobart

This change is

LGTM

@alainjobart Please have a look at the last commit. I've moved the message into the proto. This made the new PreflightSchema RPC simpler.

LGTM good idea.


Backport "Add regression test for issue 20309" to LTS

Backports #20387 to the LTS branch.
PR submitted by the release tooling.

No regressions detected in the community build up to lts-20279.
Reference


packager swallows startup errors

whenever there's a problem with the packager's startup, it swallows the error silently (in code here - this section) Specifically, an invalid babelrc will generate a cryptic error 'Command start unrecognized. Did you mean to run this inside a react-native project?' while the error has actual details of babel failing. Could we console.log that error/stack?

cc @martinbigio


New chart library

So far two have been suggested:

Highcharts with a non-commercial license: https://shop.highsoft.com/faq#Non-Commercial-0
Chartist.js https://gionkunz.github.io/chartist-js/index.html

Highcharts looks pretty swank and quite worth checking out, imo (thanks @turnerhayes)
Wanted:

Zooming/panning.
Overlaying multiple types of charts on each other.
Ability to stay the same size even when labels text increases in length (a problem currently).
Accessibility would be awesome.
Also printing, though that might be a bit messy depending on if we want to be able to have an option to print multiple result types.

For Highcharts, I've found:

https://github.com/whawker/react-jsx-highcharts
https://github.com/kirjs/react-highcharts

So far, my biggest issue with highcharts is its width is annoying. It only takes pixel or percent values. A percent value would mean us really digging deep to make sure there's a solid width property for the chart's parent container. A pixel value means less responsiveness. We can add some responsiveness back in with their responsive settings, but that's limited. We can also add a script that will dynamically update the pixel width of the chart when the component is mounted and when the window is re-sized (it's been done before, though I'd have to dig up where I found it), but that too is a pain.
Height has the same problem, but I'm not as concerned about that right now.

Things I have to dig into more:

Controlling number of tick marks and points on the lines better
Hover/tap to see details about a point
Same math/resizing problem as our current version when the time interval is changed.
Dollar values
Zooming
Panning
Layering different types of charts
Adding buttons/random elements on top of the chart

Is switching to a new chart library a certainty? If so, can we torch all/most of the old issues related to charting?

[ ] When zooming bottoms out (based on x-axis intervals), tell the user and prevent further zooming.