Weird performance characteristics on PPC

So, after a compiler upgrade, I just noticed that the AltiVec implementation has a weird performance characteristics when compiled with different GCC versions.
For some reason, if I use GCC 8 to compile the code, the program will be faster by almost two times compared with the version compiled with GCC 7 or 9.
Also, for completeness' sake, I modified the handler to use plain #defines instead of struct/loop wrappers (see the altivec-unwrapped branch).
With this implementation, all the compilers I tested gives roughly the same performance.
Below is the result of my testing:

GCC version
altivec-unwrapped GFLOPS
master ("wrapped") GFLOPS

7.4.0
4.11
4.19

8.3.0
4.36
8.53

9.2.1
4.46
4.43

(All numbers are taken from the GFLOPS given in the final message.)
All the resulting files have the same hash, so I don't think that the compiler broke anything during optimization.
06d0386092bbedc945327c13cf872bfa72b95458ae3e802ce45fa14c0cac4722  gcc7-unwrapped.png
06d0386092bbedc945327c13cf872bfa72b95458ae3e802ce45fa14c0cac4722  gcc7-wrapped.png
06d0386092bbedc945327c13cf872bfa72b95458ae3e802ce45fa14c0cac4722  gcc8-unwrapped.png
06d0386092bbedc945327c13cf872bfa72b95458ae3e802ce45fa14c0cac4722  gcc8-wrapped.png
06d0386092bbedc945327c13cf872bfa72b95458ae3e802ce45fa14c0cac4722  gcc9-unwrapped.png
06d0386092bbedc945327c13cf872bfa72b95458ae3e802ce45fa14c0cac4722  gcc9-wrapped.png

What's happening here? What can I do to make the output of the other GCC versions fast?
Any help/direction from someone knowledgeable in C++ and/or GCC internals would be very appreciated.
Note:

The system is a 2 GHz PPC970MP, running Debian unstable with Linux version 5.2.0-2-powerpc64. The output of gcc -v for each version is attached.
The image I use is taken from here. I've also attached it so others could reproduce it easily.

Files:
GCC 7:

gcc7-unwrapped.log
gcc7-wrapped.log
gcc7-v.log

GCC 8:

gcc8-unwrapped.log
gcc8-wrapped.log
gcc8-v.log

GCC 9:

gcc9-unwrapped.log
gcc9-wrapped.log
gcc9-v.log

The source image:

51982698_p37.jpg

So, it looks like the aggessive optimization flags and unroll settings I use causes GCC 9 to generate worse code. Changing it to something less aggressive seems to fix this issue.
See also #202.


enhance Add metric to trace cooldown task and unused remote files caused by failed upload and cold compaction

Proposed changes

Now user can see the procedure of the cooldown tasks through bvar along with the unused files generated by the failed compaction and upload.

run buildall


Update the new @azure/communication-network-traversal package to use the latest code generator

The @azure/communication-network-traversal package is currently using 6.0.0-dev.20200623.2 version of the autorest.typescript extension to the code generator. See https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/communication/communication-network-traversal/swagger/README.md
This version is more than a year old. We should instead be using the latest version which is 6.0.0-beta.15
Please note that this will update your dependencies from @azure/core-http to @azure/core-rest-pipeline which is expected. You can see the details about this move in https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/core/core-rest-pipeline/documentation/core2.md

done in https://github.com/Azure/azure-sdk-for-js/pull/21193


Setup integration with docker

@williamdes, I added a new user to docker,hickorydns, I added the hickory-dns repository there as well. I added you as a collaborator (I think), can you confirm?
I also performed these actions on this repo:

Go to the environment "docker-hub" page from the list on https://github.com/hickory-dns/docker/settings/environments

Add DOCKER_HUB_USER env and set the value to the docker hub account username
Add DOCKER_HUB_PASSWORD and set the value to a docker hub token for the account (https://docs.docker.com/docker-hub/access-tokens/)

I added you as a collaborator (I think), can you confirm?

Nope, I am not sure why
It's not a big deal since you did the docker push setup, I will try it shortly

Everything works fine


2.0 Release Roadmap?

2.0 Roadmap
👋 Hello Pedro & maintainers,
First off, thank you for your work! We leverage Docz 1.x at our org for a design system.
I want to know if there is any official roadmap for 2.0's release.
So far, these are my observations:

mid 2018 @pedronauck creates docz
late 2018 docz gains immense momentum
early 2019 docz enjoys massive community support, but Pedro is overwhelmed by bundler issues (and generally the sheer number of issues)
mid 2019 Pedro announces plan for 2.0 / integration with Gatsby

@pedronauck promotes some new maintainers and stops personally contributing to the project

late 2019 maintainers have been marching towards 2.0, but progress is relatively slow

Given these observations, I've considered switching to Storybook. However, it would be a lot of work that I prefer to avoid.
I would love to stay on Docz and plan for the future, but this is difficult because of the the lack of a 2.0 release roadmap. There seems to be a new burst of "release candidates" every few weeks. These spark hope, but the fact that we're up to 60+ candidates deep is not confidence-inspiring. These builds do not appear close to production ready. Often, a release candidate will be generated for fixing one bug or addressing one issue.
Anyhow, just looking for guidance as we'd like to continue using and supporting Docz at my workplace.

AFAIK the core team is pretty close to a release - there isn't a lot of stuff left on the 2.0 roadmap (found here: https://github.com/doczjs/docz/projects/1) before a 2.0 can be released.

Hey @drewlustro
Your "timeline" is correct. Below is a response to the rest.

late 2019 maintainers have been marching towards 2.0, but progress is relatively slow

The switch from docz v1 to v2 is a big one and we wanted to make sure that docz was stable and well-tested before releasing the official 2.0 version.
We're one issue away from it and it should be released in about a week's time.

Given these observations, I've considered switching to Storybook

You know your project better and should do whatever makes you more comfortable !

there seems to be a new burst of "release candidates" every few weeks.

As you can see in releases the rc releases have been quite regular, most of them fixing issues reported here or adding features that users have requested.

These spark hope, but the fact that we're up to 60+ candidates deep is not confidence-inspiring.

Not sure what you mean here, should we ship less frequently ?
We wanted to make sure that fixes and features were shipped as frequently as possible to our v2 users.

These builds do not appear close to production ready. Often, a release candidate will be generated for fixing one bug or addressing one issue.

Again, I'm not sure what you mean here, we're trying to ship features and fixes as soon as we can, do you recommend that we wait until we have a given amount of features/issues to release a new version ? It seems unfair to users who could be blocked.

Anyhow, just looking for guidance as we'd like to continue using and supporting Docz at my workplace.

Not sure I can provide much guidance regarding your specific use-case.
But if you decide to try to migrate to v2 and face any issues we'd be happy to help !

@rakannimer – Top class for the detailed response. I am very grateful, thank you.
I didn't know the team was so close to 2.0! It would be really cool if there was a pull request with a checklist of outstanding tasks/bugs. That would not only help others (like myself) contribute on 2.0, but it would assist planning.
Thanks again for your effort <3

The switch from docz v1 to v2 is a big one and we wanted to make sure that docz was stable and well-tested before releasing the official 2.0 version.

🙏

We're one issue away from it and it should be released in about a week's time.

❤

Again, I'm not sure what you mean here, we're trying to ship features and fixes as soon as we can, do you recommend that we wait until we have a given amount of features/issues to release a new version ? It seems unfair to users who could be blocked.

Fair point. I think ultimately, all I wanted was a roadmap or trackable issue for 2.0's progress.

Not sure what you mean here, should we ship less frequently ?

That's pretty much  my feedback. Commit/merge into master, sure, but create release candidates for batches of fixes.


Error with task: fetch ceph red hat development repository for ceph-iscsi

Bug Report
What happened:
On installation of iscsi gateway, an error is generated:
The task includes an option with an undefined variable. The error was: list object has no element 0
I inserted:
    - name: latest_build_ceph_iscsi results
      debug:
        msg: latest_build_ceph_iscsi.results

before         - name: fetch ceph red hat development repository for ceph-iscsi
which returned nothing.
What you expected to happen:
iscsi gw to be installed by obtaining correct repos
How to reproduce it (minimal and precise):

when running site.yml playbook with iscsigw configured in hosts file
Share your group_vars files, inventory and full ceph-ansibe log

Ansible version (e.g. ansible-playbook --version):
ansible-playbook 2.9.27
config file = /home/dsdadmin/dell-cluster/ceph-ansible-stable-6.0/ansible.cfg
configured module search path = [u'/home/dsdadmin/dell-cluster/ceph-ansible-stable-6.0/library']
ansible python module location = /usr/lib/python2.7/site-packages/ansible
executable location = /usr/bin/ansible-playbook
python version = 2.7.5 (default, Nov 16 2020, 22:23:17) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]

@c-stewa20 Are you trying to deploy Ceph Pacific on EL7 based OS hosts?

EL8

shaman API doesn't return any repo, hence your failure
$ curl -s -D-  "https://shaman.ceph.com/api/search/?status=ready&project=ceph-iscsi&flavor=default&distros=centos/8/noarch&ref=pacific&sha1=latest"
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 13 Apr 2022 08:51:35 GMT
Content-Type: application/json
Content-Length: 2
Connection: keep-alive
X-Pecan-path: /api/search/
X-Pecan-status: 200 OK
X-Pecan-method: GET
X-Pecan-controller: SearchController.index
X-Pecan-params: [('status', 'ready'), ('project', 'ceph-iscsi'), ('flavor', 'default'), ('distros', 'centos/8/noarch'), ('ref', 'pacific'), ('sha1', 'latest')]
X-Pecan-hooks: ['TransactionHook', 'RequestViewerHook']
Strict-Transport-Security: max-age=31536000
Strict-Transport-Security: max-age=31536000

[]


Code re-organization

@yuyiguo , since you'll need to provide additional server/services to handle CMSSW, XrootD messages, I took an initiative to properly re-organize the codebase into proper components. I split the stompserver.go into the following files:

main.go contains main
fwjr.go contains code related to FWJR reports (former stompserver.go)
utils.go file contains generic utils
stomp.go contains code related to stomp
config.go contains parts related to configuration
trace.go contains code related to traces
metrics.go contains code related to http metrics

I did NOT change the current behavior, and only split stompserver.go single file into individual files. I suggest that you learn new structure as it will allow to easily develop new components for cmssw and xrootd, please see main.go where I put comments how we can start them up. Basically we'll develop three servers, the current one (I renamed server to) fwjrServer, then the xrootdServer and cmsswServer. Each server will runs its workflow to handle individual flow of messages. All of the m can be started at once via goroutines.

FYI, in Go you can have single file, e.g. stompserver.go which is declared as package main or you can have multiple files, each has package main (as I proposed in this PR). In this case all individual files will be compiled as a single file and final executable will be the same.

Hi Valentin,
What we want to do is that we can run three separated servers. In other words, each data sources has its own server. What you proposed here was one server and three gorountines run asynchronously.  I don't know enough about the gorountines to compare it with individual server.  The idea is to have less interference between different data sources.

@yuyiguo , the proposed changes has nothing to do how you'll run service. But may be you are mistaken with comments I made in a code. The changes allows to write different servers, but you can choose how to run it as you like. The solution I put in the code indeed shows how to run them as goroutines (you may think of them as different threads). If you want to run independent services, you just add a flag to the main which will start the appropriate server, e.g. instead of the following code in stompserver/main.go
	// start AMQ server to handle rucio tracer
        go fwjrServer()
        // when we'll develop other servers we'll call them appropriately, e.g.
        // go cmsswServer()
        // go xrootdServer()

you'll do something like:
....
        // define new flag
        var server
	flag.StringVar(&server, "sever", "", "server name to start")
....
       if server == "fwjr" {
            fwjrServer()
       } else if server == "cmssw" {
            cmsswServer()
       } else if server == "xrootd" {
            xrootdServer()
       }

The changes I propose provide you ability to re-use code, structures in different servers and you'll only need to write business logic of individual servers.

@vkuznet
What I asked was the benefit to run gorountins instead of the separated servers since you suggested gorountins first.

The go-routine is very light thread (to fire it up there is no much resources needed like in normal languages which deal with threads). As such running single server with go-routines means that you'll manage one server but it will run 3 services (fwjr, cmssw, xrootd). If you want to run independent services you may do that too. It does not affect interaction between services (unless you write code to do that) and only affect the deployment/management process. In former case you'll have single PID to manage (even if it will run 3 services), while in latter case you'll need to manage 3 independent PIDs. But either way it does not affect performance of services.
The advantage of independent services is that you can put them in different clusters, VM, etc., and they will only run this particular services, while in single service approach it will always run 3 services (within go-routines). But the advantage of latter approach if you want some interaction between your services, e.g. send messages or calls. It all depends how you want to run them and if interaction between them will be required.

Thanks Valentin for suggesting the code re-org.  I did it myself for me to learn Golang programing.  So I will not take this PR.


[refactor] make validator always submit on position 0

Description
Hackish solution to make a validator always submit t consensus. This won't end up in main, it should be deployed separately.
Test Plan
How did you test the new or updated feature?

If your changes are not user-facing and not a breaking change, you can skip the following section. Otherwise, please indicate what changed, and then add to the Release Notes section as highlighted during the release process.
Type of Change (Check all that apply)

[ ] user-visible impact
[ ] breaking change for a client SDKs
[ ] breaking change for FNs (FN binary must upgrade)
[ ] breaking change for validators or node operators (must upgrade binaries)
[ ] breaking change for on-chain data layout
[ ] necessitate either a data wipe or data migration

Release notes

Requesting changes, just to make sure that WE DO NOT LAND this PR on main! :) (it should be part of an experiment branch)

Thanks for the extra precaution here - of course never was the intention - I'll add against an experiment branch as said once we decide to deploy


Add some description of assert and assume to body of PSA spec

Currently they are documented by fairly large comment blocks in the psa.p4 include file.  Is it worth adding some description of them to the body of the PSA specification as well?
There is a risk that if we simply copy and paste the comments documenting them into the PSA specification, then it will be two redundant copies to keep up to date if they ever change in the future.  Perhaps one straightforward solution is simply to make the comments in psa.p4 the authoritative verbose documentation, and simply mention these extern functions briefly in the PSA.mdk file, INCLUDE'ing the comments into the spec.

Currently they are documented by fairly large comment blocks in the psa.p4 include file.

I think the big question is what is the PSA specifications documentation and should it be self-contained or should it reference a reference psa.p4 too?
(Note I think PNA should follow what PSA does here and even to some extend the over all language specifications and core.p4).
I like the idea of having them automatically included really.
I read specifications first and then the header file but others are opposite.
Still having a verbose psa.p4 for folks who read the header file instead of the specifications.

@apinski-cavium See the PR https://github.com/p4lang/p4-spec/pull/1187 for what I have done so far.  I had forgotten that there is an INCLUDE directive in Madoko, one which I've used many times to include only a small selected subset of the psa.p4 include file directly in the document.  Thus updating that section of lines in psa.p4 will automatically also update that part of the document the next time it is generated.


Fixed images not rendering

Tackling issue #2878 .

How to proceed in order to update the actual documents that are hosted on Hydra?

That will be done by hydra itself, once it's merged.

bors merge

bors merge

bors merge


mxnet 1.9.1 cuda support for Jetson AGX Orin (Jetpack 5.0 with cuda 11.4)

Description
mxnet (1.9.1) is raising a cuda error with cuda 11.4 on Jetson AGX Orin series with Jetpack 5.0
Error Message
Check failed: err == cudaSuccess (209 vs. 0) : mxnet_generic_kernel ErrStr:no kernel image is available for execution on the device
To Reproduce
I ran the installation steps recommended for the jetson and built things manually from source with cuda path and other variables.
Everything went fine with the make and importing mxnet and version check. When I run the gpu check the error pops up.
What have you tried to solve it?

Verified cuda installation, no errors raise during make
Other libraries like pytorch GPU are working fine

Environment
Ubuntu 20.04, Nvidia jetson AGX Orin developer kit

Environment Information
----------Python Info----------
Version      : 3.8.10
Compiler     : GCC 9.4.0
Build        : ('default', 'Nov 14 2022 12:59:47')
Arch         : ('64bit', 'ELF')
------------Pip Info-----------
Version      : 22.3.1
Directory    : /home/flashsys002/py38/lib/python3.8/site-packages/pip
----------MXNet Info-----------
Version      : 1.9.1
Directory    : /home/flashsys002/mxnet/python/mxnet
Commit hash file "/home/flashsys002/mxnet/python/mxnet/COMMIT_HASH" not found. Not installed from pre-built package or built from source.
Library      : ['/home/flashsys002/mxnet/lib/libmxnet.so', '/home/flashsys002/mxnet/python/mxnet/../../lib/libmxnet.so']
Build features:
✔ CUDA
✔ CUDNN
✖ NCCL
✖ CUDA_RTC
✖ TENSORRT
✖ CPU_SSE
✖ CPU_SSE2
✖ CPU_SSE3
✖ CPU_SSE4_1
✖ CPU_SSE4_2
✖ CPU_SSE4A
✖ CPU_AVX
✖ CPU_AVX2
✔ OPENMP
✖ SSE
✖ F16C
✖ JEMALLOC
✔ BLAS_OPEN
✖ BLAS_ATLAS
✖ BLAS_MKL
✖ BLAS_APPLE
✖ LAPACK
✖ MKLDNN
✖ OPENCV
✖ CAFFE
✖ PROFILER
✖ DIST_KVSTORE
✖ CXX14
✖ INT64_TENSOR_SIZE
✔ SIGNAL_HANDLER
✖ DEBUG
✖ TVM_OP
----------System Info----------
Platform     : Linux-5.10.65-tegra-aarch64-with-glibc2.29
system       : Linux
node         : flashsys002-desktop
release      : 5.10.65-tegra
version      : #1 SMP PREEMPT Mon May 16 20:58:07 PDT 2022
----------Hardware Info----------
machine      : aarch64
processor    : aarch64
Architecture:                    aarch64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
CPU(s):                          12
On-line CPU(s) list:             0-11
Thread(s) per core:              1
Core(s) per socket:              4
Socket(s):                       3
Vendor ID:                       ARM
Model:                           1
Model name:                      ARMv8 Processor rev 1 (v8l)
Stepping:                        r0p1
CPU max MHz:                     2201.6001
CPU min MHz:                     115.2000
BogoMIPS:                        62.50
L1d cache:                       768 KiB
L1i cache:                       768 KiB
L2 cache:                        3 MiB
L3 cache:                        6 MiB
Vulnerability Itlb multihit:     Not affected
Vulnerability L1tf:              Not affected
Vulnerability Mds:               Not affected
Vulnerability Meltdown:          Not affected
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:        Mitigation; __user pointer sanitization
Vulnerability Spectre v2:        Not affected
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp uscat ilrcpc flagm
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/mxnet, DNS: 0.0029 sec, LOAD: 0.4289 sec.
Error open Gluon Tutorial(en): http://gluon.mxnet.io, HTTP Error 404: Not Found, DNS finished in 0.07585453987121582 sec.
Error open Gluon Tutorial(cn): https://zh.gluon.ai, <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1131)>, DNS finished in 0.035755157470703125 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0161 sec, LOAD: 0.4418 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0113 sec, LOAD: 0.2129 sec.
Error open Conda: https://repo.continuum.io/pkgs/free/, HTTP Error 403: Forbidden, DNS finished in 0.021700382232666016 sec.
----------Environment----------
MXNET_HOME="/home/flashsys002/mxnet/"
KMP_DUPLICATE_LIB_OK="True"
KMP_INIT_AT_FORK="FALSE"

It works now, I had to modify the arch from 72 to 87 for Orin modules `-gencode arch=compute_72,code=sm_72 for Xavier NX and AGX Xavier


system clipboard as register '+'

Yank and put should be able to use the system clipboard.
Related to #3

seems to work on OS X.  thanks so much!

so it works on my headless ubuntu box after installing xsel as directed, but i have to enable X11 forwarding when i ssh, which i normally don't do and so it's annoying.  is that because you're using the system clipboard?

@bjarthur can you describe what directed you to install xsel?
VimBindings.jl just uses InteractiveUtils.clipboard by default, so perhaps that made the suggestion.
So, yes, I think the reason is because I'm using the system clipboard. Do you think there my be another/better approach?


make unicoderange more accurate

Two small related changes, prompted by running autofix on Javanese.

autofix_for_release now reports both the old and new unicoderange info
when it changes it.  Formerly it only reported the new info, so it
was not possible to tell what changed.
unicode_data now only sets the bit for a range when characters actually
fall into the range.  formerly it was setting it when a character
was <= the endpoint of the current range.  This presumed no gaps in
the ranges, but there are gaps.

LGTM


Add ControllerPeriodicTask integration tests

Refactor SegmentStatusCheckerIntegrationTests to ControllerPeriodicTaskIntegrationTest. This will include the integration tests for all ControllerPeriodicTasks. The setup and teardown will be shared across all tests.
Add integration test for RealtimeSegmentRelocation controller periodic task.

Codecov Report

Merging #4130 into master will decrease coverage by 0.22%.
The diff coverage is 50%.

@@             Coverage Diff              @@
##             master    #4130      +/-   ##
============================================
- Coverage     66.94%   66.71%   -0.23%
  Complexity       20       20
============================================
  Files          1036     1036
  Lines         51418    51423       +5
  Branches       7190     7190
============================================
- Hits          34420    34307     -113
- Misses        14631    14758     +127
+ Partials       2367     2358       -9

Impacted Files
Coverage Δ
Complexity Δ

...elix/core/relocation/RealtimeSegmentRelocator.java
74.72% <100%> (-7.7%)
0 <0> (ø)

...va/org/apache/pinot/controller/ControllerConf.java
46.23% <40%> (-3.77%)
0 <0> (ø)

...apache/pinot/common/metrics/ValidationMetrics.java
20.28% <0%> (-59.43%)
0% <0%> (ø)

...ller/validation/OfflineSegmentIntervalChecker.java
26.43% <0%> (-48.28%)
0% <0%> (ø)

...a/manager/realtime/RealtimeSegmentDataManager.java
75% <0%> (-25%)
0% <0%> (ø)

...egation/function/customobject/MinMaxRangePair.java
75.86% <0%> (-24.14%)
0% <0%> (ø)

...impl/dictionary/DoubleOnHeapMutableDictionary.java
68.88% <0%> (-13.34%)
0% <0%> (ø)

...ot/core/realtime/stream/StreamDecoderProvider.java
70% <0%> (-10%)
0% <0%> (ø)

.../apache/pinot/common/config/RealtimeTagConfig.java
93.33% <0%> (-6.67%)
0% <0%> (ø)

... and 27 more

Continue to review full report at Codecov.

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


validate joint limits in a demo

In GitLab by @proyan on Feb 4, 2019, 13:17
Add manipulator with joint limits.

In GitLab by @proyan on Feb 7, 2019, 18:05
unassigned @rbudhira

In GitLab by @nmansard on Feb 28, 2019, 17:25
We have several use of inequality costs by @proyan in a push-recovery example and by me on a complementarity problem resolution. This is enough to convinced me that the inequalities are working properly. And it also convince me that we need to put bound constraints in the solver.
All in all, this task is not necessary any more, I close it.

In GitLab by @nmansard on Feb 28, 2019, 17:25
closed


运行glm4-9b模型,对话时间久了会偶发性的回复GGGGGGG

What is the issue?
运行glm4-9b模型,对话时间久了会偶发性的回复GGGGGGG
显卡信息如下:

OS
Linux
GPU
Intel
CPU
Intel
Ollama version
0.3.0

不一定运行久,有时候第一次正常,再来一次就失败了

This might be llama.cpp's problem that causes the bug. I suggest you post your issue in llama.cpp.

Having trouble reproducing this one. May I ask what prompt you used and which glm4 model? Was it ollama run glm4?

Having trouble reproducing this one. May I ask what prompt you used and which glm4 model? Was it ollama run glm4?

Llama.cpp seems to have fixed this issue
https://github.com/ggerganov/llama.cpp/pull/9130
But the code is not synchronized?

I use
ollama run glm4

namely 9b-chat-q4_0
Then, the model will return "GGGGGGGGGGGGGGGGGGG" error。

Please upgrade to the latest version of Ollama which includes upstream fixes for glm4 in llama.cpp.  If you're still having troubles, share an updated server log and we'll reopen the issue.


The SDK raises an exception if a direct method is requests without a payload

Context

OS and version used: Raspberry Pi OS
Python version: 3.7.3

Description of the issue

Create a Python app that listens to direct methods

Send a direct method request to the device without a payload from the Azure portal

Instead of handling the request and invoking the on_method_request_received function, an error is logged to the terminal:
Unexpected error in <azure.iot.device.iothub.pipeline.pipeline_stages_iothub_mqtt.IoTHubMQTTTranslationStage object at 0xb5c6b9b0>._handle_pipeline_event() call
Exception caught in background thread.  Unable to handle.
['json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)\n']

Code sample exhibiting the issue
def handle_method_request(request):
    method_response = MethodResponse.create_from_method_request(request, 200)
    device_client.send_method_response(method_response)

device_client.on_method_request_received = handle_method_request

Console log of the issue
Unexpected error in <azure.iot.device.iothub.pipeline.pipeline_stages_iothub_mqtt.IoTHubMQTTTranslationStage object at 0xb5c6b9b0>._handle_pipeline_event() call
Exception caught in background thread.  Unable to handle.
['json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)\n']

I have been able to reproduce the problem and we are investigating possible solutions

@jimbobbennett We have identified the problem as a bug with the Azure Portal rather than this device client. The team responsible for maintaining it has scheduled a fix, and it should be available within a couple weeks. In the meantime, your issue could be mitigated by using a different means of sending direct method requests, such as an IoT Hub service client, the CLI, or the IoT Explorer.

@jimbobbennett I believe the fix has now been addressed on the portal side. Let me know if this has been sufficient for you.

Confirmed - this is now working. Thanks @cartertinney!


Add lndk as a service option

This PR adds LNDK, which runs on top of LND, as a service option: https://github.com/lndk-org/lndk
I borrowed a lot from some of the other bonus scripts, such as LIT and the TEOS plugin. Credit where it's due :).
This is my first PR to Raspiblitz, sorry if I missed anything!

Install works and service seems to run stable ... nice. But how can i check that its also functioning? Normally an installed service adds itself to the MAINMENU and shows at least some info for the user to help on its further user journey.
@orbitalturtle I can offer two ways to integrate:
A) Add the menu function with some more user info and have it part of the MAINMENU.
B) Remove it from the install menu for now and just ship it as an additional config script that informed users can call thru the terminal.

@rootzoll Awesome, thanks for taking a look.
I like the idea of option 1 if possible... For now, LNDK just auto-forwards onion messages, increasing the anonymity set of sending onion messages on the network, improving privacy for those that use them. So if possible, I think it'd be great to have it in the UI make it as easy as possible to flip on & increase that anonymity set.
But... for now this happens automatically in the background without user interaction and I can't think of much else to add to the main menu 😅  Unless we just add a note like Your node is now forwarding onion messages! Check sudo systemctl status lndk to see if it's running properly. or something like that. But if that's not really enough, that's understandable.
In the next release, users will be able to pay BOLT 12 offers with the lndk-cli. And, we'll write logs to a file, making it easier to actually check thestatus of LNDK. But for now there isn't much instruction needed, LNDK just kind of runs in the background.

@orbitalturtle "Your node is now forwarding onion messages! Check sudo systemctl status lndk to see if it's running properly." would be enough for a first menu item .. add a URL to it where people can get more background info and your good.

@rootzoll Sounds good! Just added that menu option.


Allow duplicates in bson documents

Description
Closes #1263.

Readiness checklist

[x] I added tests for new functionality or bugfixes.
[ ] I ran task all, and it passed.
[x] I added/updated comments for both exported and unexported top-level declarations (functions, types, etc).
[ ] I checked comments rendering with task godocs.
[x] I ensured that the title is good enough for the changelog.
[ ] (for maintainers only) I set Reviewers (@FerretDB/core), Assignee, Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

@AlekSi I'm quite struggling with unit tests being failed. Please take a look, maybe you can notice something wrong quickly. Also, I scheduled a pair programming session for Tuesday.


Add support for expiration bundle.  Allow user to set default databas…

…e when configuring seilog to allow for case where using embedded wihtout a default databse at the connection level.
Because this is currently referencing the 2.5 version of the RavenDB client, I had to use a non-async method to get metadata. If we upgrade to 3.0, there is an async version of that method. If you would like me to upgrade the library as part of this pull request, please let me know.
Note that I allow for the default database to be set to allow my use of the lib in an application that uses an embedded database. My connection needs to point at the system database to allow the application to create a tenant database with proper settings. Therefore, I need a way to pass the tenant to the sink.

Looks good Tom!
If it would be better if we upgrade to Raven.Client v3, let's do that? Seems like it'd be widely useful, anyway.
A couple of other comments in there. Cheers!

Clearly, I broke something at AppVeyor. It claims it cannot load nunit though it did download the package.  I tried bumping up to 2.6.4 with no success.  I don't have access to troubleshoot so need your advice here.

Never mind. Once I corrected the version conflict with Newtonsoft all was fine.

:+1: great, thanks Tom!


Provide a way to override media queries for changing when burger menu shows

I've tried overriding the media queries which have a hard coded value of 768px but this looks hacky and difficult to do.
It would be nice if we could pass in a width for when the burger menu appears and the menu collapses.
UPDATE:
If anyone wants to override the media tags to have the navbar switching from the buger menu to the extended navbar, then this is what I came up with. Just change the 1160px value to the desired width:
@media screen and (min-width: 768px) and (max-width: 1160px) {   label#luxbar-hamburger {     display: block;     padding: 18px 24px 18px 24px;     position: relative;     cursor: pointer;   }   ul.luxbar-navigation {     display: flex;     flex-direction: column;     list-style: none;     padding-left: 0;     margin: 0;   }   .luxbar-checkbox:not(:checked) ~ .luxbar-menu {     overflow: hidden;     height: 58px;   }   .luxbar-menu-right .luxbar-header {     margin-right: initial;   } }

Sorry for the late response. I agree that the query value shouldn't be hardcoded. It's been a long time since I created this library and I really need to update it. I'm thinking about a whole rewrite but until that I think your solution might be very useful for other people so thanks for taking your time and sharing it.
I will leave this issue open and will close it after the rewrite when the media queries are easier to modify.


Mission specifications decrypted, welcome to The Syndicate.

About the PR
Changed the traitor alert sound to the one from 13 years ago.
Why / Balance
Sounds better imo.
Technical details
Simple file change, shouldn't be any errors at all
Media
It's an audio file, can't show it here.

[x ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Syndie Tide station-wide


S3 bucket access

Just want to start by saying thank you for this extension, works flawlessly. IMO it should be bundled by default with jupyterlite, because it is such a basic functionality to be able to persist the files outside of the browser.
On the same lines, I'd like to propose a similar extension, but instead of using the Web Broswer File System Access API, use the AWS Javascript SDK to persist files in the cloud. This would open up so many possibilities for remote work and sharing, plus now a days AWS is not the only S3 provider, which makes the S3 standard a universal language for cloud storage.
Thanks again.

Like this one: https://github.com/jpmorganchase/jupyter-fs ?

Ues, there are already jupyter extensions that allow to do what I proposed in a regunlar jupyter instance. But they are coded in python which in turn uses TCP sockets, which of course are not available in the web environment. If you try to use them in jupyterlite, you will get errors like:
ImportError: cannot import name 'ssl' from 'urllib3.util.ssl_' (/lib/python3.12/site-packages/urllib3/util/ssl_.py)

So this needs to be coded in javascript which can actually send the http requests required to comunicate with the cloud.


fix some wrong links of examples which to be used for nginx

Fix some wrong links of examples which to be used for nginx, thank you!

This change is

Coverage remained the same at 40.733% when pulling 5c735a49522e490265518bb3fc78430c9cbcfcda on chentao1596:fix-ref-nginx-configure-examples into 567fa3b45697532547bb1b425168a44e2b508243 on kubernetes:master.

@chentao1596 all the content from contrib needs to be migrated to this repo.
If have the time please open a different PR and add the content here.
I'm sorry for the trouble but the migration is still a work in progress.


flash messages sometimes don't show in Chrome

Steps to reproduce:

Create a new account
claim a certificate, but don't accept the academic honesty pledge
attempt to view a certificate. In Firefox, you'll see a flash message:

But in Chrome you won't see the flash message - it will just redirect you to the profile with no flash message.
I'm using Chrome 64.0.3282.186 on MacOS.

I am new about claiming certification in freecodecamp. Will this bug be only suitable or accessible to a member who has completed a course or a challenge? I am not sure if I can look on this bug. Please advise.

Cannot reproduce this issue. Maybe it got fixed recently?
I tried the Front End Libraries Certificate, Data Visualization Certificate, and Information Security and Quality Assurance Certificate. All had the flash message properly displayed at the top.
I'm using Chrome Version 65.0.3325.162 on MacOS.

@leonfeng Yes - it may have been fixed. Thanks for confirming this.


Use pickle name if available

🤔 What's changed?
Use the pickle name when constructing the test case name, rather than the raw line of text detected from the source
⚡ What's your motivation?

If you have a scenario outline like "Creating a  database" with examples type: replica set and type: sharded cluster, the JUnit test case names are "Creating a  database - Example #1.1" etc. With this change, you will see "Creating a replica set database - ..." etc.
This patch is to solve the problem of test case names not having the expanded step arguments from the examples data table. The current naming convention is covered here. The last example shows the generic suffix we'd see otherwise. It's the best you can do since you're operating under the assumption that developer won't reference the step arguments in the scenario outline name, but you still need to provide some way to disambiguate the test case names in the JUnit XML output. However, we typically do reference the step argument in the scenario outline name, meaning the expanded name would actually be useful to us, and the generic example number suffix would just be a bonus, to help disambiguate cases where the developer forgot to reference one of the step arguments from an examples data table in the scenario outline.
The addition of a generic example number as a suffix to the unexpanded scenario outline name is a consequence of the fact that the plugin builds its model of the test run from the source of the feature file, before Cucumber starts breaking it down and executing different scenarios. The scenario name string with the unexpanded step argument reference gets put into a map very early in the test run. As further examples are detected, additional entries point back to the same string, and generic example number suffixes are appended. But notably, the method that sets up the contents of all the various maps from the feature file does not appear to have access to the Pickles, which are the objects that contain the expanded step arguments. Those don't appear to be provided to the plugin until the tests start running, by which point all the data structures have been populated, and no further changes are being made.
Luckily, by the time the JUnit XML is being written out, we have all this information, and the method that determines the final test case name can use the Pickle to name the test. That alone should be good enough for us, but in order to increase the likelihood that this will get accepted upstream, I wanted to preserve the generic suffix to disambiguate cases when there are examples with a different step argument that's never mentioned in the scenario outline name.
🏷 What kind of change is this?

:bug: Bug fix (non-breaking change which fixes a defect)

♻ Anything particular you want feedback on?

📋 Checklist:

[x] I agree to respect and uphold the Cucumber Community Code of Conduct
[x] I've changed the behaviour of the code

[ ] I have added/updated tests to cover my changes.

[ ] My change requires a change to the documentation.

[ ] I have updated the documentation accordingly.

[x] Users should know about my change

[ ] I have added an entry to the "Unreleased" section of the CHANGELOG, linking to this pull request.

This text was originally generated from a template, then edited by hand. You can modify the template here.

Sounds reasonable. But looks like it doesn't work as you would expect it to.
Please also update the CHANGELOG.

@mpkorstanje it does, we're using it internally, I just need to update some tests, that should help illustrate.

I'm closing this due to inactivity. Feel free to reopen if you do continue.


Update google-api-services-sheets to v4-rev20240402-2.0.0

About this PR
📦 Updates com.google.apis:google-api-services-sheets from v4-rev20220620-2.0.0 to v4-rev20240402-2.0.0
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.google.apis", artifactId = "google-api-services-sheets" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.google.apis", artifactId = "google-api-services-sheets" }
}]

labels: library-update, commit-count:1

Superseded by #118.


Fix db.session so that events work

create_scoped_session was using partial as the factory to scoped_session.  SQLAlchemy doesn't recognize this when listening to events, so it raises an exception.  Creating a sessionmaker in create_session fixes this.
sqlalchemy.exc.ArgumentError: Session event listen on a scoped_session requires that its creation callable is associated with the Session class.

Also changed create_scoped_session to include the default scopefunc and query_cls, since it would be pretty much pointless to manually use this function without those provided.
#182, #64, #147, #148

:+1:

:clap:

Any chance of a Pypi release that includes this commit?

I too would like this to be pushed.


Failed to install because no package.json

Hi everyone,
I am facing an issue on WIndows 10. WHen I'm adding the plugin to the project, all works fine. The plugin installs well and works well when compiled.
But when I try to freshly npm install my project, I get this message :
Could not install from "<EMAIL_ADDRESS>as it does not contain a package.json
The same error occur when executing cordova platform rm/add.
Thanks in advance for your help.

I had the same issue. I also thought it was a glitch and reported it here: #596
But clearly it doesn't happen only to me, and I could reproduce it on another machine now.
The solution it to remove the<EMAIL_ADDRESS>entry from the dependencies section (the entire line).
This is added after you add a platform, I think.
@mauron85 Can you take a look at this? I think it has to do with the fact that the name of the cordova plugin and the name in npm are not the same, or it has to do with the name change as it didn't happen before the rename.

Yes indeed if it's linked only in config.xml the plugin installs correctly but it is annoying to exclude particular package from package.json :/

Hi, same problem for me too.

Hack to workaround the issue (it looks for the path in a weird location):
(mkdir @mauron85 && cd @mauron85 && ln -s ../plugins/cordova-plugin-mauron85-background-geolocation<EMAIL_ADDRESS>


Added 'cc' to lint the C++ code on 'npm lint'

The whitespace fumble at https://github.com/node-serialport/node-serialport/pull/1483/files#r168511525 made me think that node-serialport uses eslint for linting the javascript code, but doesn't do anything for the c++ code.
This change adds cc as a dependency, which in turn runs the python cpplint script. All of the c++ code, except for some bits in the osx headers, seem to pass the linting.

Apparently the build fails because some file is renamed into src/serialport_linux.cpp, but right now I can't see what's making that happen :neutral_face:

ZOMG, and some travis tests are running the c++ linter over the whole nodejs source code tree, failing everywhere :man_facepalming:

Codecov Report

Merging #1501 into master will increase coverage by 0.38%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1501      +/-   ##
==========================================
+ Coverage   79.04%   79.43%   +0.38%
==========================================
  Files          21       20       -1
  Lines         940      880      -60
  Branches      170      166       -4
==========================================
- Hits          743      699      -44
+ Misses        197      181      -16

Impacted Files
Coverage Δ

lib/bindings/auto-detect.js
69.23% <0%> (-30.77%)
:arrow_down:

lib/bindings/win32.js

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 093c85d...6955331. Read the comment docs.

OK, the linux/mac builds pass :tada:, but apparently I made some change that made the win32 builds fail :cry:

:tada:

Codecov Report

Merging #1501 into master will increase coverage by 0.76%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #1501      +/-   ##
=========================================
+ Coverage   79.04%   79.8%   +0.76%
=========================================
  Files          21      19       -2
  Lines         940     822     -118
  Branches      170     165       -5
=========================================
- Hits          743     656      -87
+ Misses        197     166      -31

Impacted Files
Coverage Δ

lib/bindings/auto-detect.js
38.46% <0%> (-61.54%)
:arrow_down:

lib/util.js
83.33% <0%> (-8.34%)
:arrow_down:

lib/bindings/darwin.js

lib/bindings/win32.js

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 093c85d...cbda993. Read the comment docs.


Can't add integration

What version of Music Assistant has the issue?
2023.2.1
The problem
Can't setup new integration

How to reproduce
Add Integration, select Music Assistant
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2023.2.3
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

Pleae confirm you have installed it successfully via HACS

I confirm that I install it via HACS.
I just uninstall, reboot, reinstall, reboot et same thing. Try with version 2022.12 and I got the same 'error'.

Ok you can’t use 2022.x as that definitely won’t work with the current version. So you have successfully installed 2023.2.1 version of MA and you can see that in HACS? Have you ever had MA on your system before?

No first time
Le mer. 8 févr. 2023, 1 h 06 a.m., OzGav @.***> a
écrit :

Ok you can’t use 2022.x as that definitely won’t work with the current
version. So you have successfully installed 2023.2.1 version of MA and you
can see that in HACS? Have you ever had MA on your system before?
—
Reply to this email directly, view it on GitHub
https://github.com/music-assistant/hass-music-assistant/issues/1095#issuecomment-1422062431,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKJDQCPVR433LXMC4ZUGPLWWMZV3ANCNFSM6AAAAAAUUZKAXQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

How are you running HA? Please be specific.

Hi.
Did you follow the installation steps:

install MA via HACS
restart HA
then add the integration via the the standard setup. If MA is not visible, refresh the browser cache

Yes this is the steps that I follow.
I try on Chrome, Firefox, Android app.
I use a dell i5 with ha os and ha supervisor.
Le mer. 8 févr. 2023, 10 h 25 a.m., Eric @.***> a
écrit :

Hi.
Did you follow the installation steps:

install MA via HACS
restart HA
then add the integration via the the standard setup. If MA is not
visible, refresh the browser cache

—
Reply to this email directly, view it on GitHub
https://github.com/music-assistant/hass-music-assistant/issues/1095#issuecomment-1422775371,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKJDQHEJOFVJ7X3NYJYVODWWO3E5ANCNFSM6AAAAAAUUZKAXQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

How are you running HA? Please be specific about your hardware, operating system configuration and network setup.

Old dell laptop 5420. Running official HA OS and supervisor and core.
No vlan, no filtering.
Google Wifi for router
Using Casa for remote acces
Nothing really special about this setup
Le mer. 8 févr. 2023, 7 h 35 p.m., OzGav @.***> a
écrit :

How are you running HA? Please be specific about your hardware, operating
system configuration and network setup.
—
Reply to this email directly, view it on GitHub
https://github.com/music-assistant/hass-music-assistant/issues/1095#issuecomment-1423430627,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKJDQAONYNM74BGQFVYRTLWWQ3WLANCNFSM6AAAAAAUUZKAXQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

I'm starting to guess now. Have a look and see if the DB has been created and if so delete it and try again. It will be in your config directory and is called music_assistant.db

Nothing with file editor or with ssh
File is not there..
Le mer. 8 févr. 2023, 9 h 27 p.m., OzGav @.***> a
écrit :

I'm starting to guess now. Have a look and see if the DB has been created
and if so delete it and try again. It will be in your config directory
and is called music_assistant.db
—
Reply to this email directly, view it on GitHub
https://github.com/music-assistant/hass-music-assistant/issues/1095#issuecomment-1423527450,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKJDQD53T56VLTYPRQYLLDWWRIXTANCNFSM6AAAAAAUUZKAXQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

@marcelveldt Any ideas?

There are no errors in the log?

Nothing..
Le mer. 8 févr. 2023, 10 h 36 p.m., Giel Janssens @.***>
a écrit :

There are no errors in the log?
—
Reply to this email directly, view it on GitHub
https://github.com/music-assistant/hass-music-assistant/issues/1095#issuecomment-1423575986,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKJDQHLLQH6KZYCAPQXXXDWWRQ5VANCNFSM6AAAAAAUUZKAXQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

@marc3k18
For me it is unclear where in the process you get stuck.
When you go to Settings-integrations and select 'add integration'. Is the music assistant selectable? If selectable, an configuration menu should open. If not clear the browser cache.

This is the problem. Configuration windows open but empty.
And it's not a cache problem. I try with so many différent device and
browser.
Le jeu. 9 févr. 2023, 9 h 08 a.m., OzGav @.***> a
écrit :

an configuration menu should open
I think this is his problem. It opens but is empty (see picture in his
first post)
—
Reply to this email directly, view it on GitHub
https://github.com/music-assistant/hass-music-assistant/issues/1095#issuecomment-1424247058,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKJDQDEVKFEG7RYZ4AS7KDWWT25PANCNFSM6AAAAAAUUZKAXQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yes, you tried several browsers. But did you try clear the cache, or alternately open HA in a private window? I have seen this behaviour before and clearing the cache and restarting HA resolved it.
Another option is that HACS didn't fully deploy the files for MA. If you open the integration in HACS and press the 3 dots, there is the option to re-download the integration. Restart HA before trying again.

Hello,
Yes I did clear the cache
Im doing some HA dev for the last 3 days so I restarted a lot of time since.
I try to redownload.

🤞hope that is the solution

No sorry
Try all that.
Even install the integration manually and still have the same problem.
Le sam. 11 févr. 2023, 12 h 37 p.m., Eric @.***> a
écrit :

🤞hope that is the solution
—
Reply to this email directly, view it on GitHub
https://github.com/music-assistant/hass-music-assistant/issues/1095#issuecomment-1426833890,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXKJDQBFYSTDHZA2TLTU7G3WW7E4NANCNFSM6AAAAAAUUZKAXQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Obviously we have a lot of users with this working fine so there is something wrong with your setup. Can you post a screen capture of your network config where it shows the external and internal url. Mainly interested in the internal url so you can partially obscure the external.

And also what media player entities do you have?

The other thing @erkr is that the dialog that he shows open has the title “Media Assistant” when the first dialog is normally “Media Players”?

I'm using yTubeMusic for now. That's all with local mp3.

The other thing @erkr is that the dialog that he shows open has the title “Media Assistant” when the first dialog is normally “Media Players”?

That's why I suggested to re-download MA and flush the browser cache.
It looks like the configuration code for the integration is not loaded. @marcelveldt  any other suggestions?!

@marc3k18
I don't see anything wrong. Only difference with my setup is that you have configured your HA network static. Maybe that causes hostname related issues (beyond my expertise). I reserved a static HA ip address in the DHCP list on my router instead and configured dynamic network settings (default) on HA itself.
Best Eric

In the home assistant URL try turning off automatic and add http://<IP_ADDRESS>:8123

What media player entities do you have?

First thanks for your help.
So I try to set manually the url for local homeassistant and did a reservation on dhcp and remove the static ip.
Uninstall MA, reboot, install and reboot. Clear cache It still not working.
I remove all "media" intégration that I have.. radio browser and ytubemusic... Reinstall. Still not working.
I only have android tv and cast device.

@erkr could here be something corrupt in the .storage folder causing the reinstall to fail?

Looking through similar issues here is one persons solution
Steps I took to get it to work:
Remove Music Assistant through HACS.
Reboot host.
Add Music Assistant through HACS.
Reboot host.
Add integration.
The difference here seems to be a full reboot of the host versus just restarting Home Assistant.

I don't have more ideas

@erkr could there be something corrupt in the .storage folder causing the reinstall to fail?

Very well possible, but beyond my knowledge. @marcelveldt  other suggestions?

Case can be close. With the last update, I was able to install it.
Thanks for your help


Improve tables on hardware data and IMU

This updates the unused ImuType to information of the firmware and tries to make the numbers be the same as the tracker protocol constants. Also adds board types which are nice!

this is based on firmware protocol, its exactly the same, and interchangeable.

its weird because like, whoever implemented this must have also looked at firmware, there is no relation to it, the order is incorrect and current firmware reports any esp32-family chip as ESP32

The solarxr protocol is basically completely unrelated to the firmware protocol. There are several issues with the firmware protocol and we should not repeat those issues with the solarxr protocol. So for example even if the firmware protocol reports esp32 even though it's actually esp32c3 for, that's a bug to be fixed in the firmware protocol, we should not upstream that behavior into the application protocol just for consistency's sake.
As for enum order, enum order should not be changed for aesthetic purposes. Changing the enum order is a breaking change in the protocol and in general we should not make breaking changes just for aesthetic purposes. You can deprecate enum variants, rename them, or add new ones, but you should not remove or reorder variants.
That being said, if it is as you say it is, that the server doesn't actually report any of this information and no applications read/decode the information, then we could make a breaking change to this specific part of the API.
Can you link me to the places in the code that I would look to validate that this is true?
If however as you say


🏷 Comply with all possible variations of model_validator

Closes #6277

This is an incomplete PR. I'll wait for @adriangb's feedback before changing the variations for the other modes.
I've used the following code to make sure neither mypy or pyright raise errors:
from pydantic import BaseModel, model_validator, ValidationInfo

class UserModel(BaseModel):
    username: str
    password1: str
    password2: str

    @model_validator(mode="after")
    def check_passwords_match(m: "UserModel") -> "UserModel":
        return m

    @model_validator(mode="after")
    @classmethod
    def check_password_strength(cls, m: "UserModel") -> "UserModel":
        return m

    @model_validator(mode="after")
    @staticmethod
    def check_password_strength2(m: "UserModel") -> "UserModel":
        return m

    @model_validator(mode="after")
    def check_username(m: "UserModel", info: ValidationInfo) -> "UserModel":
        return m

    @model_validator(mode="after")
    @classmethod
    def check_username2(cls, m: "UserModel", info: ValidationInfo) -> "UserModel":
        return m

    @model_validator(mode="after")
    @staticmethod
    def check_username3(m: "UserModel", info: ValidationInfo) -> "UserModel":
        return m

user = UserModel(username="samuelcolvin", password1="zxcvbn", password2="zxcvbn")
print(user)

I think we should encourage:
    @model_validator(mode="after")
    def check_passwords_match(self: Self) -> Self:
        return self

over
    @model_validator(mode="after")
    def check_passwords_match(m: "UserModel") -> "UserModel":
        return m

I think we should encourage:
    @model_validator(mode="after")
    def check_passwords_match(self: Self) -> Self:
        return self

over
    @model_validator(mode="after")
    def check_passwords_match(m: "UserModel") -> "UserModel":
        return m

Ok... 🤔
This PR doesn't say otherwise, does it?

Are you arguing that those are the same thing?

If I understand correctly, in this case check_passwords_match is a static method?

There are some funky implementation details, but functionally it's the same as if it were an instance method. Why do you think it's a static method?

but here we still have the argument named self

I don't see any self in your example, I don't know what you're talking about.

Closed by https://github.com/pydantic/pydantic/pull/6514


Is there a way to pass the passphrase in a script

Is there any way for me to automate passing the passphrase to my backup script?
I'm migrating from borg and with borg I could do
export BORG_PASSPHRASE="my secret"

and then borg wouldn't prompt me for it when it ran.

Have a look at the manual, there are several ways (one via the environment variable RESTIC_PASSWORD, as you've done it for borg): https://restic.readthedocs.io/en/latest/manual.html#initialize-a-repository


Bean reference field is not activated for json dataformat schemaResolver parameter

Describe the Bug
JSon dataformat has schemaResolver parameter which is supposed to have a bean reference. Currently it is just a textbox and bean reference field is not activated.

This is because the schema from the catalog says this field is a String field as opposed to other fields those already have bean reference field activated.
https://github.com/apache/camel/blob/2e7578c9426bb327e0ca8c43b4a93063d70b946e/dsl/camel-yaml-dsl/camel-yaml-dsl/src/generated/resources/schema/camelYamlDsl.json#L10634-L10638
Even javaType in the catalog is java.lang.String
https://github.com/apache/camel/blob/2e7578c9426bb327e0ca8c43b4a93063d70b946e/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/models/json.json#L32
It needs to look into further and see if we have to fix the catalog/schema in Camel upstream or not.
This kamelet demonstrates to reference a bean for schemaResolver
https://github.com/apache/camel-kamelets/blob/main/kamelets/avro-deserialize-action.kamelet.yaml#L67
Steps to Reproduce the Bug or Issue

Add marshal step
Check schemaResolver field

Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 0.30.0]

This will be handled once we upgrade the Camel dependency to 4.5: related issue: https://github.com/KaotoIO/kaoto-next/issues/905


[WIP] Compact blocks (BIP152)

So Core went ahead and created yet another thin block protocol. This is the third thin block implementation I add to XT. It’s getting kind of repetitive. But this is a good step in the direction of on-chain scaling so I’m happy too. This PR is created on top of PR #159.
This PR has limited testing: It’s been running on my node since yesterday without issues, sharing compact blocks with Core nodes and xthin blocks with others.  I have also successfully tested all rpc-tests (except pruning.py which i skipped) with compact block transfers.
The missing:

I have cherry-picked p2p-compactblocks.py by @sdaftuar, but I have not been able to get the test to run yet. There are likely issues with regtest differences because of BIP109. Help would be appreciated.
I have not implemented high bandwidth mode. It is optional per BIP152. I may implement it later together with XThin Xpedited.

The bonus:

Uses inventoryKnown add transactions the remote node is missing to the compact blocks sent - reducing latency. This is in contrast to the Core implementation that only sends the coinbase tx.
Supports parallel download of the same block -- meaning no stalled downloads. XT continues to be the only full node supporting parallel download of the chain tip.
Can parallel download xthin and bloom thins for the same block.

Compact blocks are very similar to xthin. Thus this implementation fits well within existing architecture.

dgenr8-bot reports successful build, and all tests passed.

Hi. For some odd reason my line comments seem to be vanishing moments after I make them, I wouldn't want this to get lost:
Regarding the use of filterInventoryKnown for prediction,
This at a minimum this should limit the amount it sends, and not use this heuristic when the peer has transaction relay disabled (!fRelayTxes).
BIP152 states:
"Nodes sending cmpctblock messages SHOULD limit prefilledtxn to 10KB of transactions. When in doubt, nodes SHOULD only include the coinbase transaction in prefilledtxn."
If it's going to send more than that, the latency is already hosed, and it might as well take the extra round trip and not waste bandwidth.
Filterinventoryknown isn't going to match any transactions if the peer is blocks only, so as implemented this will spam them with the whole block, and waste an epic ton of bandwidth for no good reason.  It will also not match any if the peer is newly connected-- and probably will also send significant chunks of the block for several hours.  This is why you should probably check if the predicted amount would over some size (no larger than 10kb) and if it would be don't bother predicting, just send the coinbase transaction. (at 10kb of predicted txns TCP itself is going to start resulting in multiple round trips)
What we tested while defining the protocol was using the list of transactions which were misses on this node when it received the block. This was highly effective and had a low false positive rate, you might want to consider that. You could further augment it with leaving out things the far end has advertised-- we never tried that, but it would be an interesting experiment.
In general, I found the HB mode to be much more effective at reducing latency, with a somewhat lower bandwidth penalty than extensive prediction; but I'm glad you're experimenting here.
On the reconstruction code:
Removing the collision handling cases (unless I missed where you added them elseswhere) will dramatically reduce the effectiveness of reconstruction with large mempools. The code here was driven by doing the math, and by testing it, not some lark. :) just thought you should know.
If you have any feedback on the spec, please make sure to let the author or the mailing list know.
Cheers,

I don’t know why GitHub claims your comments are for an outdated diff. I have not pushed any changes since last night. I responded to you in the “outdated diff”. I hope you can find my response.
Thanks for the review @gmaxwell. It was helpful.

Pushed https://github.com/bitcoinxt/bitcoinxt/pull/162/commits/224dd24be815eef0176d2be9cd87b0c4391d2721 for better prefilling. From the commit:

Prefilled txs from inventory known are now limited to < 10KB.
Added CompactPrefiller interface. Allows for implementation of different
strategies for prefilling. Created a CoinbaseOnlyPrefiller strategy used
when sending compact blocks to peers that don't want transactions
relayd.

Does this address your concerns with regard to prefilling @gmaxwell ?

I added a check for hash collision in mempool. Transactions will be re-requested if there is a collision.
I also added a workaround for issue in Core https://github.com/bitcoin/bitcoin/issues/8705
I removed the [WIP] tag. My opinion is that the rpc-test port is critical for this to get merged.

Turns out that it was I who misunderstood the differential encoding. I was off by one. I've fixed the encoding/decoding and squashed it into other commits.

https://github.com/bitcoin/bitcoin/pull/8739

Tweaked p2p-compactblocks.py test and enabled it.

rebased

Please make sure you follow the updated BIP at https://github.com/bitcoin/bips/pull/473 for releases, thanks.

Thanks for the heads up @TheBlueMatt
High bandwidth mode will be done in a seperate PR, so this update does not affect this PR. But its good to know of it when I get around to adding HBM.

No problems on production node running 1 week. Successfully connects outbound to Core 0.13.0.
ACK


Fix/add missing tests

@skraynick here it is!

@mrsasha a few changes needed. I will look again quickly tomorrow morning.


Some small textual fixes and adding a flag to supress bundle creation.

Used a negative flag, --nobundle, to make sure the default would not change.

Thank you for your contribution.
Could you please rename the new option to be in line with the other multi word switches?

Meaning, I think to use a hyphen: --no-bundle

Done.


⚠ Bofrost.es has degraded performance

In 79740d3, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1787 ms

Resolved: Bofrost.es performance has improved in 69740bc after 8 minutes.


Ur5e Driver with Cpp MoveIt Interface

Hello,
is there an example of how to move the ur5e with cpp-moveit-interface ?

Hi,
Thanks for your question. If you have a robot running with MoveIt and you are not sure about MoveIt CPP interface, then can you please check MoveIt2 tutorials and if this is missing, ask on MoveIt2 repository.
You are welcome to close this issues if you have only issues with MoveIt cpp interface.


ISSUE with ewelink-max plugin (Sonoff TH16 with temp sensor)

Hi,
I'm making home automation system with sonoff switches. Every room has switch+sensor AM2301(temo+hum), and heating system, and door lock,itd…
I have a Homebridge running on Raspberry Pi3+, and im testing only one Sonoff switch with sensor connected. Im installed ewelink-max plugin, because is much beter then old ewelink plugin, no Charles, its all automatically. But I meaned, that when I run Ewelink plugin, that plugin get information from ewelink app(server) and use all switches and sensros I have on ewelink app, that must be on HomeApp. When I go to Home App, I have swtich, its perfectly working, but I have no widget for sensor, which is connected to Sonoff TH16 and activated in ewelink app. This plugin working in other way, I meaned that, plugin sending request from server(ewelink), and getting a list of devices(in debugger he saying that "getting list of devices"), but not, I only get a switch, no sensor in Home APP.
Can anyone help me with this, how to change a code in plugin, or you plaining to update the plugin. What if I connect 8 Sonoff switch, all with sensor. What devices I will get in Home APP accessories? Can I get 8 switches at least, or just coded for one switch.
Thank in advance!

#hmangnx
First i meaned that Ewelink-max not working at all, and when i run Home, no platform or acessory added, and i was started a homebridge debuger, and i saw that he actualy trying to connect to ewelink server, a saw request, and i get server response, that saying “not response from server”, and next request is “getting list od devices from ewelink server”, and error 402 and 401. In my server, a was not used phone number at all, only email and password. And in config.json, I just deleted phone number, and let only (platform, name, email, password and imei). Saved config and started homebridge and debbuger, and all working, connected to server, get response, in Home app automaticaly show new acessories, only sensor informationa i wasnt got, probably because is plugin is not have a codecfor this, i dont digging around a code, but it probably it. That’s why i created this Issue.

Interesting I tried using email instead of phone and I can’t get it to connect properly at all.

Its important what you use to log into Ewelink app. If you use phone and password, then in config.json only put phone and password, not email. If you use to log in mail and password, then use this in config. Only one of them you have to put in config, email or phone, its depends of your user account. In europe i think only mail, but for Asia server working with phone number, without mail. Can you take some screen shoots of debugger or config.json, or something. 😊

For the last 3 days I couldn’t get it working. But for some odd reason after I installed the original ewelink and ran Charles to get my config. The “max” version started working... maybe human error and just a coincendent. But it works fine now for what I need.

Hi all, thanks for all the comments and concerns about the homebridge-ewelink-max fork of this plugin.
Recently marcelo-paredes contributed code to support the TH-16, which have been merged in version 0.1.14, please give it a try:
npm install -g homebridge-ewelink-max@latest

@stefanspurgin91 @hmangnx  Regarding the login issues with homebridge-ewelink-max, please see the README for examples on email login and phone number login.
@fiska1 The imei is a parameter required by the ewelink server, which suppose to be different for each user device. You can get one with an online generator.

Hi all, thanks for all the comments and concerns about the homebridge-ewelink-max fork of this plugin.
Recently marcelo-paredes contributed code to support the TH-16, which have been merged in version 0.1.14, please give it a try:
npm install -g homebridge-ewelink-max@latest

@stefanspurgin91 @hmangnx Regarding the login issues with homebridge-ewelink-max, please see the README for examples on email login and phone number login.
@fiska1 The imei is a parameter required by the ewelink server, which suppose to be different for each user device. You can get one with an online generator, it should look like this: 12D9BAB8-4B48-4A63-919C-C91D2219FA0F.

Hi, Im using this plugin for few weeks and was working fine, but today it stopped working and in homebridge im getting this error:
[eWeLink] An error was encountered while requesting a list of devices while interrogating power status. Verify your configuration options. Response was [{"error":400,"msg":"params incomplete"}]
Any idea what can I do to solve this?
thank you

Hi @John88a, the error you mentioned should be related to https://github.com/howanghk/homebridge-ewelink/issues/48 , which is fixed by https://github.com/howanghk/homebridge-ewelink/pull/49 . Installing version 0.1.16 or later should fix the issue for you.

Thank you very much, ill try tonight, so all i need to do is reinstall the plugin?


make_it_own: document customized templates

closes https://github.com/inveniosoftware/docs-invenio-rdm/issues/109

closed in favour of PR that doesn't require a change in app-rdm.


Dogecoin FIXED

Too many fixes to describe.
2 119 changes files.
974 deletions.
Unnecessary original files moved to the appropriate folder.
Works better than "10x" approach suggested.

Huh, well at least you didn't just delete it all.


Kernel restarts on execution with no other warnings

Trying to load channels to numpy array, using the line below:
curves60B = frame60B.curves()
Kernel restarts on its own with no other error messages.

Hi,
Do you have any other information? Did you modify the notebook in any way? Can you supply a minimal example that reproduces the kernel restart?

And did you use the same Python package versions as specified in the requirements.txt file?

Double checked on Python version. I am using 3.7.3
Here are minimum number of code lines that can reproduce the crash.
imports
%matplotlib inline
import matplotlib as mpl
import matplotlib.pyplot as plt
import dlisio
from dlisio import dlis
import pandas as pd
import numpy as np
import scipy.signal as signal
import logging
import copy
load DLIS
with dlis.load('input_s1.DLIS') as (f, *tail):
pass
Extract Channels -----------------------------------
utility functions defined
def index_of(frame):
"""Return the index channel of the frame"""
return next(ch for ch in frame.channels if ch.name == frame.index)
def get_channel(frame, name):
"""Get a channel with a given name from a given frame; fail if the frame does not have exactly one such channel"""
[channel] = [x for x in frame.channels if x.name == name]
return channel
Get 60B and its index channel
frame60B = f.object('FRAME', '60B')
index60B = index_of(frame60B)
Check
type(frame60B)

dlisio.dlis.frame.Frame

load into numpy array crashes here
curves60B = frame60B.curves()

with dlis.load('input_s1.DLIS') as (f, *tail):
pass

Using a with-statement like that will open- and immediately close the file again. Which is why the call to curves fail later on.
You either have to do all your file reading inside the with-statement scope or perhaps more convenient when working in notebooks, open the file without using python's with:
f, *tail = dlis.load('input_s1.DLIS')

Then the file handles are kept open until you explicitly call .close() on them.
Ideally dlisio should fail more gracefully when trying to operate on a closed file handle.

Thanks for your replies. Your comments helped me resolve the issue.


Callback function.

I want to design call back functions for my app using django-rest-framework-social-oauth2 is it possible to do so? If yes, then how? I tried finding it out in the documentation did not get anything on it.

Callback functions ?
What do you need to do ?
Where, when, and how would you like to do it ?

Basically I would like to fetch some data of the user from the back end if
the user is logging again(as in after he uses my app again after logging in
for the first time.) Thanks for such a prompt reply.
On Sep 17, 2015 2:12 AM, "Philip Garnero"<EMAIL_ADDRESS>wrote:

Callback functions ?
What do you need to do ?
Where, when, and how would you like to do it ?
—
Reply to this email directly or view it on GitHub
https://github.com/PhilipGarnero/django-rest-framework-social-oauth2/issues/17#issuecomment-140888506
.

Well, you could do that using the pipeline from python-social-auth !
It's pretty simple and flexible enough to allow you to define complex behaviors.


Added note about pagination callbacks to model README

I ran into a bit of an issue where it wasn't entirely clear how pagination was loaded. I had to check out one of the example Rails app which has a caveat:
# NOTE: Kaminari has to be loaded before Elasticsearch::Model so the callbacks are executed

I copied the note and slightly modified the phrasing so that hopefully nobody in the future to have to take the time to figure out why it isn't working.
Thanks!

Thanks, Zack!, I slightly reworded the note :) and merged your patch.


micro-boot integration - Allow micro-boot apps to use Spring Boot severs and front ends

micro-boot apps are currently limited to microserver jax-rs and servers

PR  for new micro-spring-boot module : https://github.com/aol/micro-server/pull/153

released in v0.80


Back to time bounds

This is a bug I came accross helping emma.
The time loop bounds are always derived from the presence of a source or some receivers. The issue is that for a trivial stencil such as :
u = TimeData(name='u', shape=(100, ), time_order=1, space_order=2, time_dim=100)
# Derive the stencil according to devito conventions
eqn = Eq(u.dt,  u.dx)
stencil = solve(eqn, u.forward)[0]
op = Operator([Eq(u.forward, stencil)], subs={h: dx, s: dt})

# Execute the generated Devito stencil operator
op.apply()

will only execute 2 time step (Section main<2,99>) unless u is declared with save=True. It turns out, TimeData object do not have any recollection of the dimension of the time axis once initialized as is is turned into the shape of u which is (2,100).

Because the time dimension in shape is automatically recasted to 2 when save = False. Look at the code here in interfaces.py:
            if not self.save:                 time_dim = self.time_order + 1                  self.indices[0].modulo = time_dim             else:                 if time_dim is None:                     error('Time dimension (time_dim) is required'                           'to save intermediate data with save=True')                     raise ValueError("Unknown time dimensions")             self.shape = (time_dim,) + self.shape
And as far as I can tell from a simple git log -L510,518:interfaces.py, you and @mlange05 touched that piece of code a few times. So I'm not sure what's the behaviour you would expect at this point

Yes, mainly @mlange05 and I kinda broke that part, I am just not sure how to keep track of the time axis size properly.

Ok, so the problem is that a TimeData object with buffered time dimension can not / should not know about the full extent of time (it's buffered, it can go on forever). This means that an explicit value for time needs to be provided at call-time rather than object creation. The explicit dimension overrides seem broken as well at the moment though, and I'm working on a branch to fix this. I've also added a warning in that branch that time_dim will be ignored if save=False, and we'll probably want a run-time error forcing users to provide a time or t value instead.

BTW, can we not drop time_dim and simply pass the information as first entry of the shape? In the end, this is a TimeData object...

Also, this might impact #236 ( @navjotk )

Well no, since the sole use of TimeData at this point is to implicitly add the time dimension and shape. If you start passing the dimension shape explicitly, you might as well pass the time symbol (t or time) explicitly, otherwise the tuple dimensions don't align. And at that point you might as well drop TimeData altogether and just use DenseData...

Also, this might impact #236

It does, and I have a fix, which effectively follows the same rationale as above: make time dimensions implicit in dimensions argument, just as it is in shape. Will push soon...

Well no, since the sole use of TimeData at this point is to implicitly add the time dimension and shape. If you start passing the dimension shape explicitly, you might as well pass the time symbol (t or time) explicitly, otherwise the tuple dimensions don't align. And at that point you might as well drop TimeData altogether and just use DenseData...

Well, TimeData does many other thigns AFAICT, so you'd still need it, I think. But anyway, this is another story, let's not get distracted...

I think this can be closed, @mlange05 ?

I think this is done

Right, closed.


fix: decode url for middleware

Description

#2201 Move all decodeURI to a new middleware, then #4600 deletes that middleware because he thinks that decode will be processed by sirv, but it didn't. We still need to decode all URLs for middleware.
Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

This middleware is copied from the old commit, I should check it first 😓


High latency no matter what

Running v7 and using 5Ghz router.
Foveated Rendering on Slices at 2.0, everything else default and if I set Bitrate to 1 I still get Total Latency of about 51-65.
At a Bitrate of 70 latency is 65-72.
Is this normal?

That`s correct. The latency comes from 3 part. The encoding latency, transporting latency and the decoding latency. Reduce Bitrate only help to reduce the encoding latency and decoding latency and slightly transporting latency. The video decoding in quest device side cause a big deal.


chore check columns' nullable with schema

Proposed changes
Add a validation to prevent potential schema inconsistency issues.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


updated README.md

Summary
Moved information related to ASTRA-sim paper and tutorials to the main website page (https://astra-sim.github.io/).
Moved instructions on how to use ASTRA-sim to the Wiki page (https://astra-sim.github.io/astra-sim-docs/index.html).
To update the Wiki page, please use astra-sim-docs project (https://github.com/astra-sim/astra-sim-docs).
Test Plan
None.
Additional Notes
None.

@TaekyungHeo  Sorry for the delay. I re-edited the Intro. Please kindly review it again. Thank you!


Make the demo better

Use bootstrap or something to make it look prettier and add some extra functional and config bits. It's so simple right now!

Closed by f05dc51ed3eb291649e8c0fd0edb3665cde07e4f


HTTP-based Java client

Motivation:
Thrift support has been deprecated long time ago. We have to provide an
HTTP-based version of Java client for Central Dogma.
Modifications:

Added ArmeriaCentralDogma and its builder.
Added AbstractCentralDogma to share the common code between client
implementations.
(Breaking) Replaced RepositoryInfo.lastCommit with headRevision.
Added AuthorizationException so that a user knows when
authentication failure or permission error occurred.
Added AbstractMultiClientTest to run the integration tests with the
new client as well as the legacy one.

Needed to update the test code to make it work even if the tests run
more than once.

Added a new integration test: MergeTest
Added CentralDogmaRule.legacyClient()

CentralDogmaRule.client() now uses the new client.

Added CentralDogmaRule.configureClient(ArmeriaCentralDogmaBuilder).
Updated the documentation to use the new client.
Various clean up in LegacyCentralDogma and its builder:

Deprecated LegacyCentralDogmaBuilder.
Added various client-side parameter validations to
LegacyCentralDogma so that the server does not waste time with bad
input.
Fixed incorrect application order of
LegacyCentralDogmaBuilder.clientConfigurator(), which allowed a
bad user can specify a different ClientFactory than what's
actually configured.
Renamed CentralDogmaClientTimeoutScheduler to
LegacyCentralDogmaTimeoutScheduler.

Miscellaneous:

Implemented preview-diff operation for HTTP API v1.
Fixed IllegalStateException which is raised by Entry.toString()
when an Entry has no content.
Fixed incorrect conversion from Entry to EntryDto which occurs
when an Entry content is an empty string or a null node.

Result:

A user can use the new client based on the HTTP API v1.
HTTP API v1 now has preview-diff operation.

Closes #120

A user can detect authorization failures using AuthorizationException.
(Breaking) A user has to use RepositoryInfo.headRevision() or
CentralDogma.getHistory() because RepositoryInfo.lastCommit() is
gone.

Thank you for reviewing :-)


control.A.onEvent(.... not filled up

When expending the snippet controller.A.onEvent... the event enum is not populated and leads to a ton of writing. We need a good default in place.

same as https://github.com/Microsoft/pxt-arcade/issues/321

Duplicate.


I added your discord. I am interested in eft's project

Not doing EFT stuff anymore, stop bothering me.


GameCube LAN does not work.

I've been testing this in my home LAN but the systems simply sit on Searching... forever. I have verified on the router side that the systems are properly connected, so it seems to be a software issue of some sort.
I know you don't have a Broadband Adapter to be able to test it, so I will be glad to purchase and ship a BBA to you to assist with getting this working. Just let me know!
Thanks again for all your hard work!

Thank you for testing out the GameCube LAN status! I can't guarantee that I'll be able to fix it though. I think I'll pick up a BBA for myself anyway, and at least I can take a quick a look to see if there's something obviously wrong. I'll keep you updated.

I have a BBA so I would be happy to help. Though Dolphin is able to emulate the BBA as well (and even has cross-play with real hardware) so its compatibility is good.
If you have Ghidra you may want to look at the symbol map for MKDD. it lists all the functions in the game and even the code that initiates/controls the BBA

You may be happy to know that it does actually detect the BBA code in your app. It's just that data does not seem to be flowing through it.

Hey! That is good news :) Hmm, is it possible to run multiple instances of Dolphin and attempt to connect to each other using the BBA emulation? That would be really handy. We could add some logging messages to track down what's happening.

Also @nikkiwritescode , I just released the full source code. Not sure if you were interested in that, but I thought I should mention it.

Yeah, it is possible to have multiple dolphins on one system. Dolphin has two plugins for that. Tap Adapters and the Xlink Kai Plugin.
We've used Tap Adapters from Openvpn before but they are unrealiable. Nowadays we use Xlink Kai (https://www.teamxlink.co.uk/) to get LAN games online. It grabs the traffic of these games and fowards it to other players.
We've tried to use that approach but couldn't find each other.
Yeah, logging sounds useful to see what's going on.

Also @nikkiwritescode , I just released the full source code. Not sure if you were interested in that, but I thought I should mention it.

I might have missed it somewhere, but could you post instructions somewhere for how to compile the GameCube .dol? I don't have devkitPro, so I'd probably need to do some workstation setup to even get to the point where compiling for GCN is possible. The first step for resolving this, I think, would be adding on-screen logging as you mentioned. I'm a little unsure if the BBA is even getting initialized at this point. Fingers crossed that it's a fairly simple change and not a more comprehensive incompatibility! I seem to remember the network adapters for GCN being fairly standard, though.

Hey everyone, was this issue with LAN solved? I'd love to give this a shot over Kai 👍

Hey there! Now we have the ENCJ60 support trhough SWISS, is there a way it can be supported?
The SWISS team has achieved BBA emulation through that device, their code is available to help if needed.


implement a SoA abstraction

See https://github.com/cms-patatrack/cmssw/issues/272 for plenty of background information.

See #211 for a CUDA implementation

See #258 for the Alpaka implementation

See #211 for a CUDA implementation

This has been moved to https://github.com/cms-patatrack/pixeltrack-standalone/pull/287 where we now have a feature complete implementation.


Create a Kubernetes skill tree

This is a Feature Request
What would you like to be added
I would like to add a skill tree in Kubernetes.
Like in video games where you have skills that are unblocked after you acquire other skills. The graph of interdependencies could be a guided way to explore Kubernetes in a way where new users know where they are and what they should learn next to solve a set of problems.
The content of the different skills would be in English and then localized in different languages.
We can have a different path depending on whether you are in a developer position, in an ops position and so on...
Because Kubernetes move a lot, it has to be generated to be able to be edited and rendered quickly.

Why is this needed
It is relatively easy for a beginner to get lost quickly on the learning of Kubernetes.
You will find plenty of tutorials about how to get started but it doesn’t constitute a roadmap of stuff to learn and the dependencies between the different concepts and tasks.
Having a roadmap could be very helpful to suggest a new concept to explore.
Books and courses already have it on their own but I think it would be nice to have an official learning roadmap that could be suggested to learners and improved by the whole community.
Comments
Ideally, I would like to have something like this https://github.com/kamranahmedse/developer-roadmap
but applied to Kubernetes concepts/tasks/etc...

/remove-lifecycle stale
Le lun. 27 avr. 2020 à 19:11, fejta-bot<EMAIL_ADDRESS>a écrit :

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually
close.
If this issue is safe to close now please do so with /close.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta
https://github.com/fejta.
/lifecycle stale
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kubernetes/website/issues/18887#issuecomment-620116339,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACJOIVUHNZE5GS6J4B75A3ROW4DZANCNFSM4KMHRXXQ
.

/remove-lifecycle stale

/remove-lifecycle stale


http://jakejustus.github.io/pct/ pointing to v194 download

The download link on http://jakejustus.github.io/pct/ is still pointing to v194. There does not seem to be a way to point to a latest release download, so maybe just point to https://github.com/jakejustus/pct/releases/latest instead?

Done, thanks for reporting !


Rename the alias config to identifier

Describe the feature
We generally use  the word identifier to refer to the view/table name (which is consistent with database terminology).
However, to change the identifier, you use the alias config.
In order to make things more intuitive going forward, we should:

Make identifier the main config
Rename generate_alias_name to generate_identifier_name
Provide backwards compatibility for the next version or so

Describe alternatives you've considered
Just not doing it
Additional context
N/A
Who will this benefit?
New users as we can have more consistent terminology

I bumped into this today.
I forgot that to overwrite the model identifier with a custom value, the model config needs to be this:
{{ config(
    alias="my_custom_alias",
) }}

rather than this:
{{ config(
    identifier="my_custom_alias",
) }}

Interestingly, sources do allow an identifier config:
sources:
  - name: jaffle_shop
    tables:
      - name: orders
        identifier: orders_table_with_a_super_duper_long_name_that_you_will_probably_want_to_shorten

Regardless, I'm leaving this issue as "closed as stale".


Xcode beta 5 Swift 4.2 - iOS 10.2 platform produces a crash

Hi,
After creating a simple project, simply by referencing the framework using Carthage I am getting a crash, any ideas please?
dyld: Symbol not found: __T0BOWV
Referenced from: /Users/r00tdvd/Library/Developer/CoreSimulator/Devices/245706A5-FD39-4288-B04D-202402D21E68/data/Containers/Bundle/Application/4E801E8F-F71E-4583-9816-52F718E68BBA/SavingGrace.app/Frameworks/FAPanel.framework/FAPanel
Expected in: /Users/r00tdvd/Library/Developer/CoreSimulator/Devices/245706A5-FD39-4288-B04D-202402D21E68/data/Containers/Bundle/Application/4E801E8F-F71E-4583-9816-52F718E68BBA/SavingGrace.app/Frameworks/libswiftCore.dylib
in /Users/r00tdvd/Library/Developer/CoreSimulator/Devices/245706A5-FD39-4288-B04D-202402D21E68/data/Containers/Bundle/Application/4E801E8F-F71E-4583-9816-52F718E68BBA/SavingGrace.app/Frameworks/FAPanel.framework/FAPanel

Issue is fixed in newer version of pod. Please try with updated version.


Unable to override toggle of SET when aborted.

Set also shows NaN

Oddly if you click on the checkbox js handleOverrideCanAct(event) no longer gets called


CFUNCTION's %RETURNS slot is of type CVALUES

I'm not sure about the semantics therefore not issues a PR.
(ctype:specifier-ctype 'function) errors on CCL:

The value #, derived from the initarg :RETURNS, can not be used to set the value of the slot CTYPE::%RETURNS in #<CFUNCTION #<error printing CTYPE:CFUNCTION #x30200105C0DD>, because it is not of type CTYPE:CVALUES.

This stems from rv taking the value (top) not of type cvalues (here) while %returns slot of class cfunction is declared to be of type cvalues (here). This is a non-issue on SBCL since it seems to ignore this type check at least at the default safety level 1, but errors at safety level 3.

Also, SBCL:
CL-USER> (subtypep '(function * (values &optional)) '(function * t))
T
T
CL-USER> (subtypep '(function * t) '(function * (values &optional)))
NIL
T

(ctype:specifier-ctype 'function) should obviously not signal an error, semanticswise.
As for what to do... the parser ought to normalize it into a values ctype, I think. You could still write (function * t), it would just mean the same as (function * (values t &rest t)).
Values types in general are pretty weird. My interpretation of how to treat them is a bit different from SBCL's.

On SBCL, the following does hold:
CL-USER> (subtypep '(function * *) '(function * (values &rest t)))
T
T
CL-USER> (subtypep '(function * (values &rest t)) '(function * *))
T
T

So, the (eq rv '*) case could be normalized to (cvalues nil nil (top))... erm... should cvalues return (top)?
And yes, the other case, when (eq rv '*) does not hold, that should be ensured to be a cvalues type (?)

Could you verify that this fix works? I can do (specifier-ctype 'function) in ccl no problem now.

This doesn't error now, but:
CL-USER> (subtypep 'function '(function * (values &rest t)))
T
T
CL-USER> (subtypep 'function '(function * (values t &rest t)))
NIL
T
CL-USER> (ctype:specifier-ctype 'function)
#<CTYPE:CFUNCTION (FUNCTION * (VALUES T &REST T))>
CL-USER> (ctype:unparse (ctype:cfunction-returns (ctype:specifier-ctype 'function)))
(VALUES T &REST T)

(ctype:unparse (ctype:cfunction-returns (ctype:specifier-ctype 'function))) is (values &rest t) for me in both sbcl and ccl. I don't know why that would be different from what you have.
(values t &rest t) means at least one value, whereas (values &rest t) is at least zero values, so the latter is not a subtype of the former, I think.

(ctype:unparse (ctype:cfunction-returns (ctype:specifier-ctype 'function))) is (values &rest t) for me in both sbcl and ccl.

Okay, apologies, something was wrong at my end. This works as expected.