Refactor/remove cast constructors

Fixes #64 and adds a few APIs

Seems like the tests need an update after the constructors have been removed. Could you checke the "Allow edits from maintainers" box so I can push the test changes I've made?

Sorry my bad. I couldn't find the button to allow edits but it was a small change so I've pushed the fix myself.

Okay now actually fixed 😅 for real

Also adding ref constructor validations for types so that we can throw early exceptions instead of segfaults


No such file or directory: 'blazingsql-orchestrator': 'blazingsql-orchestrator'

I'm testing the conda installation procedure released 3 days ago.
(rapids) sh-4.2$ conda list | grep blazing
blazingdb-toolchain       0.4.0            py37hf484d3e_0    blazingsql
blazingsql-calcite        0.4.0                    py37_0    blazingsql
blazingsql-communication  0.4.0                   py37_80    blazingsql
blazingsql-io             0.4.0                   py37_31    blazingsql
blazingsql-orchestrator   0.4.0                   py37_19    blazingsql
blazingsql-protocol       0.4.0                   py37_25    blazingsql
blazingsql-python         0.4.0           cuda10.0_py37_14    blazingsql/label/cuda10.0
blazingsql-ral            0.4.0           cuda10.0_py37_5    blazingsql/label/cuda10.0
However when I try to bc = BlazingContext()  I got the following:
AttributeError: 'BlazingContext' object has no attribute 'processes'
FileNotFoundError: [Errno 2] No such file or directory: 'blazingsql-orchestrator': 'blazingsql-orchestrator'
Perhaps there is something else I need to do before I call bc = BlazingContext() that I'm not aware of?

FWIW - I am trying the conda install and do not have this issue. I show the same versions of all blazing* as above.

Thanks for the reply.
These are my steps:
_source /home/ec2-user/anaconda3/etc/profile.d/conda.sh
sudo mkdir /blazingsql
sudo chown ec2-user /blazingsql
conda create --name rapids_blazing python=3.7
conda activate rapids_blazing
conda install -c rapidsai -c nvidia -c numba -c conda-forge -c anaconda -c rapidsai/label/xgboost -c blazingsql/label/cuda10.0 -c blazingsql blazingsql-calcite blazingsql-orchestrator blazingsql-ral blazingsql-python "rapidsai/label/xgboost::xgboost=>0.9" cudf=0.9 cuml=0.9 cugraph=0.9 dask-cudf=0.9 python=3.7 ipykernel boto3 "PyYAML>=3.10,<4.3" "urllib3<1.25,>=1.21" "idna<2.8,>=2.5" boto s3fs dask anaconda::cudatoolkit=10.0
pip install flatbuffers sagemaker
ipython kernel install --user --name=rapids_blazing_
After that I go to Jupyter Lab and open the notebook. I import the packages but got the error when I try to bc = BlazingContext()

Is the notebook running inside of the conda environment rapids_blazing?

I think I have found the issue. It was a sily thing. I will test more and will let you know.

@ivenzor thanks for reporting this, I think the issue is that you need to run BlazingSQL and Jupyter with the same conda env.

The fix was just to specify the kernel to be conda_rapids_blazing instead of rapids_blazing.


Bump controller-gen

Bump controller-gen to v0.10.0 for supporting latest kubernetes version
Remove crd options trivialVersions and preserveUnknownFields since they are no longer supported in later version of controller-gen after this commit https://github.com/kubernetes-sigs/controller-tools/commit/09f1952580d4e40a3aab8b1c4f6bfc8de3ae0b0b

Fixed with the PR:
https://github.com/Opster/opensearch-k8s-operator/pull/331
will merge soon


Checking .CLD and .CVD files.

ClamAV can store the signature database in files .CVD and files .CLD. You need to consider both types of files.

Sorry @kekek2 for reviewing this late. I imported the patch but my files are .cvd only and now I only see versions for main.

versions.sh seems to run fine, but the page tab has no values
root@OPNsense:~ # /usr/local/opnsense/scripts/OPNsense/ClamAV/versions.sh
{"Database directory": " /var/db/clamav","main.cvd": " version 58, sigs: 4566249, built on Wed Jun 7 23:38:10 2017","bytecode.cvd": " version 313, sigs: 73, built on Thu Sep 28 17:12:38 2017","daily.cld": " version 24005, sigs: 1767974, built on Tue Oct 31 21:06:22 2017","Total number of signatures": " 6334296","Version": " 0.99.2","Optional features supported": " MEMPOOL IPv6 BIGSTACK AUTOIT_EA06 BZIP2 LIBXML2 PCRE JSON RAR"}

Have you restarted the service "configd" ?

Meh, need more coffee :) Works with both types

Merged, thanks!


vulkan instance creation returned: VK_ERROR_EXTENSION_NOT_PRESENT

Description
Thanks for tirelessly maintaining this tool!
I am trying to capture and debug my application on the same machine.  Whenever I replay a captured frame in renderdoc, I get the error attached.

Some troubleshooting steps I tried:

When run standalone, my call to vkCreateInstance returns VK_SUCCESS
All 4 instance extensions I use are reported as supported according to gpuinfo
All of them are required for the application to work, except EXT_DEBUG_UTILS_EXTENSION_NAME, only used for validation.  I tried disabling this along with validation, no effect

Steps to reproduce

Configure application in Renderdoc
Launch
Capture first frame
Double-click frame to replay

capture.zip
error.log
Environment

RenderDoc version: 1.20
Operating System: Windows 11 Pro, 10.0.2200
Graphics API: Vulkan 1.3

gpuinfo, exact machine: https://vulkan.gpuinfo.org/displayreport.php?id=15944

If vkCreateInstance is returning VK_ERROR_EXTENSION_NOT_PRESENT then that's not within RenderDoc's control, that is something else on your system causing that error.
Check that you are running the latest drivers for your GPU, and disable any software that might be interfering with a vulkan layer, such as overlay/recording/FPS counter programs.

Closing this due to lack of activity and no further information to investigate.


Performance of FCGF on ETH dataset

hi Xuyang,
Can you confirm the performance of FCGF on ETH dataset as reported in your paper? It's significantly worse than PerfectMatch and is a bit strange to me.
Best,
Shengyu

Hi @ShengyuH  I agree that the FCGF is a powerful local descriptor for 3D point clouds, but in this experiment, we are testing the generalization ability of the models and the reason why FCGF didn't perform well is in the following.
During the experiment, I find the receptive field is even more important than the voxel size because ETH datasets are in a large spatial range and low resolution. For PerfectMatch, they use a larger value of W for the SDV voxel grid (from 0.3m to 1m) when adapting the weight trained on 3DMatch to ETH, which enlarges the receptive field of the local patches. And for our method, we are also able to increase the receptive field of each point without changing the voxel size (by scaling up the grid size of each layer). But for FCGF, I didn't find a good way to increase the receptive field while fixing the voxel size, thus I directly use pre-trained weight of 5cm voxel size on 3DMatch to test on the ETH dataset. I think that's the main reason why the performance of FCGF on ETH is worse.
Best,
Xuyang.

hi @XuyangBai  Thanks for your detailed explanation. If I calculate correctly, FCGF has a tensor stride of 8, together with many local convolution operations and 0.05m voxel resolution, we can actually get a bigger receptive field than PerfectMatch/D3Feat. I ignore the fact that 3DMatch and ETH dataset have different resolutions, I think this could explain the poor generalisation ability, as kernels are not normalised to fit such domain gap.
Best,
Shengyu

Hi @ShengyuH and @XuyangBai,
Indeed, FCGF requires the same metric spaces for training and testing, which is more than often the case. However, this seems to be the failure mode for the ETH dataset.
Great work!
Chris

Hi @chrischoy
Thanks for your explanation!
Best,
Xuyang


Comparison #9 - Implement fcmp

Comparison #9
Implemented the fcmpl and fcmpg instructions and added test cases

@abhijeetbhagat
Thanks for your PR. But there is a little mistake in src/rtda/operand_stack.rs.
We shouldn't use as to convert f32 to i32 because this action will lose decimal part. which is the reason that I create src/util/converter.rs and use unsafe in this file(Only this file has unsafe code).
I have corrected it.
: )


AWS AMI Build Fails With Permission denied

Hello,
I am very new to puppet/packer and CI/CD.
My packerfile.json looks like:
{
"variables": {
"aws_access_key": "",
"aws_secret_key": "",
"build_number": "",
"version": ""
},
"builders": [{
"name":"base",
"type": "amazon-ebs",
"communicator":"ssh",
"ssh_pty":"true",
"access_key": "{{user aws_access_key}}",
"secret_key": "{{user aws_secret_key}}",
"region": "eu-west-1",
"source_ami_filter": {
"filters": {
"virtualization-type": "hvm",
"name": "base *",
"root-device-type": "ebs"
},
"owners": ["MY_AWS_ACCOUNT"],
"most_recent": true
},
"instance_type": "t2.small",
"ssh_username": "centos",
"ami_users" : [ "MY_AWS_ACCOUNT" ],
"vpc_id": "MY_VPC",
"subnet_id" : "MY_SUBNET",
"ami_name": "AMI_NAME {{user build_number}}"
}
],
"provisioners": [
{
"type": "file",
"source": "service_files/",
"destination": "/tmp/"
},
{
"type": "puppet-masterless",
"manifest_file": "base.pp",
"module_paths": "./modules",
"puppet_bin_dir": "/opt/puppetlabs/bin",
"facter": {
"build": "{{user version}}-{{user build_number}}.el7.centos"
}
}
]
}
And I even emptied my base.pp to look like:
Yumrepo <| |> -> Package <| |> -> Service <| |>
But my packer build (packer build -var 'build_number=X' -var 'version=X' packerfile.json) still fails with the error:
`centos-base: No packages marked for update
==> centos-base: Uploading service_files/ => /tmp/
==> centos-base: Provisioning with Puppet...
centos-base: Creating Puppet staging directory...
centos-base: Creating directory: /tmp/packer-puppet-masterless
centos-base: Uploading local modules from: ./modules
centos-base: Creating directory: /tmp/packer-puppet-masterless/module-0
==> centos-base: Terminating the source AWS instance...
==> centos-base: Cleaning up any extra volumes...
==> centos-base: Destroying volume (vol-096kusdg434y789)...
==> centos-base: Deleting temporary security group...
==> centos-base: Deleting temporary keypair...
Build 'centos-base' errored: Error uploading modules: scp: /tmp/packer-puppet-masterless/module-0/codedeploy/.git/objects/pack/pack-77c4bbc91249292fb09b77b7e8eb9746b9ca8503.idx: Permission denied
==> Some builds didn't complete successfully and had errors:
--> centos-base: Error uploading modules: scp: /tmp/packer-puppet-masterless/module-0/codedeploy/.git/objects/pack/pack-77c4bbc91249292fb09b77b7e8eb9746b9ca8503.idx: Permission denied
==> Builds finished but no artifacts were created.`
I have tried different versions of packer, different versions of puppet, and with librarian-puppet install each time to ensure all modules required get installed but the error is still happening.
Any ideas?
Thank you.

I don't think this is related to librarian-puppet. I'd advise you to skip the .git directories, but I've never used packer. I'm not sure where to report this, but this doesn't look like the right pace.

I don't think this is related to librarian-puppet. I'd advise you to skip the .git directories, but I've never used packer. I'm not sure where to report this, but this doesn't look like the right pace.

I believe @ekohl is correct here, if your Puppetfile is referencing a module via git, you should prob add a local shell provisioner   before your file provisioner in packer to remove all the .git directories or do it manually after updating/installing via librarian-puppet.

I believe @ekohl is correct here, if your Puppetfile is referencing a module via git, you should prob add a local shell provisioner   before your file provisioner in packer to remove all the .git directories or do it manually after updating/installing via librarian-puppet.


Migrate to the latest vpp-agent

TAP interconnect to host uses AUTO_TAP type
TAPs vswitch->POD has not been migrated to local client, yet

Coverage increased (+0.05%) to 75.412% when pulling edfbcf529cea3daf304756a5254622033979ce02 on lukasmacko:update into 8bf89eff3a662eef986e9a2577d8c44d53148ec2 on contiv:master.


wakeword detection

These changes add the wakeword detection trigger. This trigger detects occurrences of keyword phrases via a configurable TF-Lite model and activates the pipeline when they occur. The pipeline remains active until the user stops speaking or the activation timeout expires. The wakeword detector can also be used to maintain a manual activation (by calling SpeechContext.setActive) for the activation timeout/vad deactivation.

 spokestack: android wakeword detection


Add SASS support to Gulpfile.js

The Gulpfile currently supports LESS, but it would be great to let our SASS users feel some Orchard love too (me for one). This could become increasingly important with the uptake of Bootstrap v4.
Will submit the PR.

Created PR #6861

Good, I also had to do it on the Orchard2 repository https://github.com/OrchardCMS/Orchard2/blob/master/gulpfile.js

@sebastienros in Orchard2 it seems that the _maxListeners warning is also fixed. Maybe worth adding that to the PR too?

Feel free. But you can also just keep this PR focused and create a new one in case it blocks it. Up to you.

Agreed, I will leave this PR as is.


Remove unused code gen_code/gen_julia_code.jl

After the lincomb update, there is a lot of unused code in this file. This PR is to clean things up a bit. I've only removed the obvious things for now, but it seems to me that everything having to do with the axpby_header can go, as this was only used in code that I've removed.

While we're doing cleanup.... Maybe drop legacy support?
https://github.com/matrixfunctions/GraphMatFun.jl/blob/873afcc1a66aa97b9963e6238a739d472f4871a2/src/code_gen/gen_julia_code.jl#L344

All done, I think.

Nice!

Ready for merge? I would like to make a new release.

Ready for merge? I would like to make a new release.

I had forgotten about this one – I'll merge and I'm happy for a new release. Should this be 1.1.0?

👍 Yes. This should be 1.1.0 according to julia version number guidelines.

All done – the version will be updated in the next merge round.


Add ability to plot  a heatmap of deconvolution correlation

Create a single workflow that computes deconvolution for mRNA and protein, computes the correlation, and plots in a heatmap.

resolved


build(deps): bump device-sdk-go to v3.0.0-dev.63

bump device-sdk-go to v3.0.0-dev.63
bump go-mod-core-contracts to v3.0.0-dev.34

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/device-rfid-llrp-go/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[ ] I have added unit tests for the new feature or bug fix (if not, why?) not imapct
[x] I have fully tested (add details below) this the new feature or bug fix (if not, why?)
[ ] I have opened a PR for the related docs change (if not, why?) not imapct

Testing Instructions

Run make unittest
New Dependency Instructions (If applicable)

Codecov Report

Merging #199 (d65dda9) into main (2ab1936) will increase coverage by 0.04%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #199      +/-   ##
==========================================
+ Coverage   41.23%   41.27%   +0.04%
==========================================
  Files          20       20
  Lines        8956     8956
==========================================
+ Hits         3693     3697       +4
+ Misses       4094     4091       -3
+ Partials     1169     1168       -1

see 2 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Use 21st century terms in the SDK repo

See https://developers.google.com/style/word-list RE allow/block list, master/slave alternatives etc
Will require work items across different components.

CC @vsmenon

First CL: https://dart-review.googlesource.com/c/sdk/+/150623

Second CL: https://dart-review.googlesource.com/c/sdk/+/150626

@mraleph did you have an alternate PR for https://dart-review.googlesource.com/c/sdk/+/150630 ?

I believe this is now complete


#205 Convert Curve to/from string

addresses #205

let's leave #205 open tho because we may have to go back through and update all the relevant areas where we can leverage these new handy dandy converters, yeah?


Prepare release v1.5.0

Blockers:

[ ] databricks/databricks-sql-nodejs#180

Codecov Report
Patch coverage is 100.00% of modified lines.

Files Changed
Coverage

lib/index.ts
100.00%

:loudspeaker: Thoughts on this report? Let us know!.

Codecov Report
Patch coverage is 100.00% of modified lines.

Files Changed
Coverage

lib/index.ts
100.00%

:loudspeaker: Thoughts on this report? Let us know!.


Move the optimized build instructions inside the build page to shorten the list of tutorials

What
Move the optimized build instructions inside the build page.
Why
The list of tutorials is getting longer. These instructions are also not critical to a first reader. So adding them to the build page under a collapsed section surfaces it in a relevant location without it being front and center.

Something went wrong with PR preview build please check


service not known error using the example - cupra born

Describe the bug
Hi Guys,
i ve tried to use the example file allVehicles.py but getting the following error :
Failed to resolve 'login.apps.emea.vwapps.io' ([Errno -2] Name or service not known)"))
To Reproduce

I took the steps to checkout and install weconnect from the following thread.
https://github.com/tillsteinbach/WeConnect-python/issues/26#issuecomment-994787574

after successful installation trying to use the example  file for a first connection  a am getting the error
Failed to resolve 'login.apps.emea.vwapps.io' ([Errno -2] Name or service not known)"))

Screenshots
If applicable, add screenshots to help explain your problem.
Logs
Initialize WeConnect
Login
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connection.py", line 207, in _new_conn
socket_options=self.socket_options,
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/util/connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/usr/lib/python3.7/socket.py", line 748, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno -2] Name or service not known
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 802, in urlopen
**response_kw,
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 491, in _make_request
raise new_e
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 1092, in _validate_conn
conn.connect()
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connection.py", line 611, in connect
self.sock = sock = self._new_conn()
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connection.py", line 210, in _new_conn
raise NameResolutionError(self.host, self, e) from e
urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x75a00f70>: Failed to resolve 'login.apps.emea.vwapps.io' ([Errno -2] Name or service not known)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.7/site-packages/requests/adapters.py", line 497, in send
chunked=chunked,
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 889, in urlopen
**response_kw,
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 889, in urlopen
**response_kw,
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 889, in urlopen
**response_kw,
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/connectionpool.py", line 845, in urlopen
method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/pi/.local/lib/python3.7/site-packages/urllib3/util/retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='login.apps.emea.vwapps.io', port=443): Max retries exceeded with url: /authorize?nonce=MTVtuAJ6sDuobqNi&redirect_uri=cupra://oauth-callback&client_id=3c756d46-f1ba-4d78-9f9a-cff0d5292d51@apps_vw-dilab_com (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x75a00f70>: Failed to resolve 'login.apps.emea.vwapps.io' ([Errno -2] Name or service not known)"))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "allVehicles.py", line 32, in
main()
File "allVehicles.py", line 21, in main
weConnect.login()
File "/home/pi/WeConnect-python/weconnect/weconnect.py", line 318, in login
tryLoginResponse: requests.Response = self.__session.get(tryLoginUrl, allow_redirects=False)
File "/home/pi/.local/lib/python3.7/site-packages/requests/sessions.py", line 602, in get
return self.request("GET", url, **kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/home/pi/.local/lib/python3.7/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='login.apps.emea.vwapps.io', port=443): Max retries exceeded with url: /authorize?nonce=MTVtuAJ6sDuobqNi&redirect_uri=cupra://oauth-callback&client_id=3c756d46-f1ba-4d78-9f9a-cff0d5292d51@apps_vw-dilab_com (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x75a00f70>: Failed to resolve 'login.apps.emea.vwapps.io' ([Errno -2] Name or service not known)"))

OS: Raspberry Pi, raspbian

Can you help me? What i am doing wrong? I only want to read the SoC for using it in openWB. Is there an easier way?
Thank you & greeting from Nürnberg

There is currently no supra support in the library


Getting 0 downloads when I use the script

Had a heck of a time figuring out how to get it to work. Now i'm stuck and getting 0 downloads. Was wondering if you could help me please

Please try running it with the --verbose flag and post the output as a comment.

Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.
C:\Users\Jett>C:\php\php.exe C:\php\dumpia.php --fanclub 2931 --key 86ab236d83843d2aacbc5dcd0e85bc31 --output C:\Users\Jett\Desktop\storingfolder --verbose
[Sat, 16 Mar 2019 18:44:10 +0000][9864] dumpia - v1.0 - https://github.com/itskenny0/dumpia
[Sat, 16 Mar 2019 18:44:10 +0000][9864] Attempting to fetch page 1...
[Sat, 16 Mar 2019 18:44:10 +0000][9864] cURL: https://fantia.jp/fanclubs/2931/posts?page=1
[Sat, 16 Mar 2019 18:44:10 +0000][9864] No matches on page 1. Last fetchable page reached.
[Sat, 16 Mar 2019 18:44:10 +0000][9864] Trying 0 posts ...
[Sat, 16 Mar 2019 18:44:10 +0000][9864] Download finished.

To be honest I've never used this script in Windows. Could you tell me the PHP version you are using so I can test?

Okay, managed to reproduce it.  Gonna see if I can throw up some fixes.

Okay, flipping the CURL_DEBUG switch in the header reveals the issue:
$ ../php.exe dumpia.php --output down --verbose --fanclub 2931--key e1170a0554304cfb44e6c8fd808078b5
[Sat, 16 Mar 2019 23:53:26 +0100][16412] dumpia - v1.0 - https://github.com/itskenny0/dumpia
[Sat, 16 Mar 2019 23:53:26 +0100][16412] Attempting to fetch page 1...
[Sat, 16 Mar 2019 23:53:26 +0100][16412] cURL: https://fantia.jp/fanclubs/1888/posts?page=1
*   Trying <IP_ADDRESS>...
* TCP_NODELAY set
* Connected to fantia.jp (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering http/1.1
* error setting certificate verify locations:
  CAfile: C:\xampp\apache\bin\curl-ca-bundle.crt
  CApath: none
[Sat, 16 Mar 2019 23:53:26 +0100][16412] No matches on page 1. Last fetchable page reached.
[Sat, 16 Mar 2019 23:53:26 +0100][16412] Trying 0 posts ...
[Sat, 16 Mar 2019 23:53:26 +0100][16412] Download finished.```

Enabling the CURL_DEBUG flag shows the issue - the Windows PHP distributions distribute cURL without a certificate trust chain, so cURL cannot establish a valid HTTPS connection to fantia.jp. The workaround I've implemented is that cURL will not check if the certificate is valid if on a Windows platform.
This would be a bad idea if this was anything security-related, but since this thing just downloads pictures I think we'll be fine.
To get the new changes, please run a git pull. It should work exactly the way you used it now.


Enable zoom for preview window (christmasgift for Karin)

I would like to be able to enlarge/zoom the contents of a partial window. In particular, it is about the preview window in which the rendered HTML is displayed. This should be able to be enlarged/zoomed without affecting the display of the complete application.

The HTML preview has now a scaler for the iframe content.


Update Cadence client to the recent version

What changed?
Update cadence-client to the up to date version.
We need to be up to date with our recent changes and have this update as a part of cadence-client release process.

Why?
We've introduced bunch of changes from the last time the client was updated.

How did you test it?
Unit tests

Potential risks

Release notes

Documentation Changes

@3vilhamster AFAIR from the offline conversations we will not be proceeding with this change for now.
Please close the PR if that's correct. (doing some PR cleanup)

Bail out for now. Incompatibility of between server and client will have to be addressed in v2.


Add styles

Create the styles to give it the desired design, keep the proposed structure.

Use @dribble for inspiration.

Desafio Platzi Master - Ignacio Bogarín
https://github.com/theboga/frontend#readme


Azure Purview dot net SDK

/azp run prepare-pipelines

/azp run prepare-pipelines

Commenter does not have sufficient privileges for PR 18237 in repo Azure/azure-sdk-for-net

Darn, can someone on the SDK team please help bootstrap the release pipeline for our team.

Commenter does not have sufficient privileges for PR 18237 in repo Azure/azure-sdk-for-net

Darn, can someone on the SDK team please help bootstrap the release pipeline for our team.

/azp run net - core - ci

Can you update the folder name to be Microsoft.Azure.Management.Purview matching the namespace?

The readme generation creates the folder with that name, I had this before then the build would fail on validation on file diff.
Do you see anything wrong with those settings?

/azp run nte - mgmt - ci

/azp run net - mgmt - ci

The directory for this projects needs to be purview/Microsoft.Azure.Management.Purview (not purview/Management.Purview)

@annoakes , Please push a PR to update the path in C# section of readme.md in azure-rest-api-specs first as well.

The directory for this projects needs to be purview/Microsoft.Azure.Management.Purview (not purview/Management.Purview)

@annoakes , Please push a PR to update the path in C# section of readme.md in azure-rest-api-specs first as well.

Yes pushed these updates, looks like maybe there is another issue now.


Video: render description from ocw-studio

When I add a video description, it isn't getting rendered on the video page.
For example:
https://ocw-studio.odl.mit.edu/sites/18100a-real-analysis-fall-2020/type/resource/edit/7b9a5003-36e9-4d0f-8b84-20ef9762189e/
https://ocw-preview.odl.mit.edu/courses/18100a-real-analysis-fall-2020/resources/18100a-lecture-1-multicammp4/

when fixing this, make sure that the legacy data still published properly.

@gumaerc I think this should be replaced by your work on https://github.com/mitodl/ocw-hugo-projects/issues/153
If you agree, can you close this issue?

I think I agree, After that ocw-hugo-projects PR merges you will be able to edit the markdown body on resources.  The text written in there will render on resource pages below the title, but above the video itself and the rest of the video data.  If any new video descriptions have been written into the existing description field, we'll need to migrate those either manually or automatically with a migration.  Does this sound acceptable?


Temporary TIP Fix

TIP mnemonic is bad and uses 3 characters for the Detector number th…is should be a temporary fix until we come up with a new one

Please remove the changes to .grsirc from this commit. Apart from that we can merge this.

Uhmm, I didn't mean remove .grsirc, just undo the changes to it. We want to provide the file to new users with some default settings, but we do not want to force new users to use GRSIData.

I thought delete would just remove the file from the push not delete it entirely


Army Boots - Needs to show its icon above the player when it does something

Icon being shown delays a lot the effect, better if in the future it just has a proper unique FX when hitting.


Please Add Los Altos, CA; Mountain View, CA; Los Altos Hills, CA; and Santa Clara County, CA!

LOS ALTOS, CA
Subject: Los Altos Resident for Defunding the LAPD
emails:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>To Mayor Pepper and Los Altos City Council Members,
My name is [YOUR NAME], and I am a resident of Los Altos. This past week, our nation and community have been gripped by protests calling for an end to racism and anti-blackness and a complete overhaul in our approach to criminal justice in America. We are demanding that our voices be heard, and that real change be made to the way this city allocates its resources.
The fact that the Los Altos Police Department encompasses 29.87% percent of the city’s operating budget, while none of it is allocated to affordable housing, nonprofits, and community organizations, is shameful and unproductive. Research shows that a living wage, access to holistic health services and treatment, educational opportunity, and stable housing are far more successful at reducing crime than police or prisons (Source: Popular Democracy).
There is not just a need for police reform, but police defunding and abolition, because the entire structure of the police force is inherently corrupt and ineffective. The average police recruit spends 58 hours learning how to shoot and only 8 hours learning how to de-escalate(Source: Campaign Zero). They are not trained or equipped to react to the vast majority of crises. Phillip McHarris (doctoral candidate focusing on race), argues that we must work towards a reality in which healthcare workers and emergency response teams handle substance abuse, domestic violence, homelessness, or mental health cases. Policies to “improve the police” are not enough, as there’s no evidence that implicit bias training or community relations initiatives help with reducing the abuses of policing (The Nation).  We need to reimagine public safety to prioritize alternatives to conflict rather than defaulting to violence.
We demand the immediate freezing of budget increases to the police force, cancelling of cadet classes, demilitarization of our forces, and reallocation of funds from police to community-led health and safety strategies.
Please do not vote for more SRO’s in schools, militarized police, and officers patrolling our streets. Do not allow the city to increase police funding another 8%. Do not be complicit in the disproportionate targeting and continuous oppression of people of color. We demand a budget that supports community wellbeing, rather than empowers the police forces that tear them apart.
It is your duty to represent your constituents. I am urging you to revise the Los Altos city budget for the next fiscal year, and to fund #CareNotCops. We can be a beacon for other cities to follow if only we have the courage to change.
Thank you for your time,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]
MOUNTAIN VIEW, CA
Subject: Mountain View Resident for Defunding the MVPD
Emails:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>To Mayor Abe-Koga, Mountain View City Council Members, and the Mountain View City Manager,
My name is [YOUR NAME], and I am a resident of Mountain View. This past week, our nation and community have been gripped by protests calling for an end to racism and anti-blackness and a complete overhaul in our approach to criminal justice in America. We are demanding that our voices be heard, and that real change be made to the way this city allocates its resources.
The fact that the MVPD encompasses over 42 million dollars of the city’s general operating fund is shameful and unproductive. Research shows that a living wage, access to holistic health services and treatment, educational opportunity, and stable housing are far more successful at reducing crime than police or prisons (Source: Popular Democracy).
There is not just a need for police reform, but police defunding and abolition, because the entire structure of the police force is inherently corrupt and ineffective. The average police recruit spends 58 hours learning how to shoot and only 8 hours learning how to de-escalate(Source: Campaign Zero). They are not trained or equipped to react to the vast majority of crises. Phillip McHarris (doctoral candidate focusing on race), argues that we must work towards a reality in which healthcare workers and emergency response teams handle substance abuse, domestic violence, homelessness, or mental health cases. Policies to “improve the police” are not enough, as there’s no evidence that implicit bias training or community relations initiatives help with reducing the abuses of policing (The Nation).  We need to reimagine public safety to prioritize alternatives to conflict rather than defaulting to violence.
We demand the immediate freezing of budget increases to the police force, cancelling of cadet classes, demilitarization of our forces, and reallocation of funds from police to community-led health and safety strategies.
Please do not vote to increase police funding by 5.1%. Do not be complicit in the disproportionate targeting and continuous oppression of people of color. Propose and vote to expand on Mountain View’s current efforts like the Below Market Rate housing program and funding of nonprofits like the Community Health Awareness Council. We demand a budget that supports community wellbeing, rather than empowers the police forces that tear them apart.
It is your duty to represent your constituents. I am urging you to revise the Mountain View city budget for the next fiscal year, and to fund #CareNotCops. We can be a beacon for other cities to follow if only we have the courage to change.
Thank you for your time,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]
LOS ALTOS HILLS, CA
Subject: Los Altos Hills Resident for Defunding the Police Force
Emails:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>To Mayor Wu, the Los Altos Hills City Council Members, and the Los Altos Hills City Manager.
My name is [YOUR NAME], and I am a resident of Los Altos Hills. This past week, our nation and community have been gripped by protests calling for an end to racism and anti-blackness and a complete overhaul in our approach to criminal justice in America. We are demanding that our voices be heard, and that real change be made to the way this city allocates its resources.
The fact that the police force encompasses 9.9% of the city’s general fund is shameful and unproductive. Research shows that a living wage, access to holistic health services and treatment, educational opportunity, and stable housing are far more successful at reducing crime than police or prisons (Source: Popular Democracy).
There is not just a need for police reform, but police defunding and abolition, because the entire structure of the police force is inherently corrupt and ineffective. The average police recruit spends 58 hours learning how to shoot and only 8 hours learning how to de-escalate(Source: Campaign Zero). They are not trained or equipped to react to the vast majority of crises. Phillip McHarris (doctoral candidate focusing on race), argues that we must work towards a reality in which healthcare workers and emergency response teams handle substance abuse, domestic violence, homelessness, or mental health cases. Policies to “improve the police” are not enough, as there’s no evidence that implicit bias training or community relations initiatives help with reducing the abuses of policing (The Nation).  We need to reimagine public safety to prioritize alternatives to conflict rather than defaulting to violence.
We demand the immediate freezing of budget increases to the police force, cancelling of cadet classes, demilitarization of our forces, and reallocation of funds from police to community-led health and safety strategies.
Please do not vote to increase police funding by 3.8%. Do not be complicit in the disproportionate targeting of people of color. Propose and vote to expand on its current efforts like funding of nonprofits like the Community Health Awareness Council and the community services grant rather than cutting it by 20%. We demand a budget that supports community wellbeing, rather than empowers the police forces that tear them apart.
It is your duty to represent your constituents. I am urging you to revise the Los Altos Hills city budget for the next fiscal year, and to fund #CareNotCops. We can be a beacon for other cities to follow if only we have the courage to change.
Thank you for your time,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]
SANTA CLARA COUNTY, CA
Subject: Santa Clara County Resident for Defunding the Police Force
emails:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>To Mayor Gillmor and the Santa Clara County Board of Supervisors,
My name is [YOUR NAME], and I am a resident of [CITY] in Santa Clara County. This past week, our nation and community have been gripped by protests calling for an end to racism and anti-blackness and a complete overhaul in our approach to criminal justice in America. We are demanding that our voices be heard, and that real change be made to the way this city allocates its resources.
The fact that the police force encompasses over 895 million dollars of the county’s general fund is shameful and unproductive. Research shows that a living wage, access to holistic health services and treatment, educational opportunity, and stable housing are far more successful at reducing crime than police or prisons (Source: Popular Democracy).
There is not just a need for police reform, but police defunding and abolition, because the entire structure of the police force is inherently corrupt and ineffective. The average police recruit spends 58 hours learning how to shoot and only 8 hours learning how to de-escalate(Source: Campaign Zero). They are not trained or equipped to react to the vast majority of crises. Phillip McHarris (doctoral candidate focusing on race), argues that we must work towards a reality in which healthcare workers and emergency response teams handle substance abuse, domestic violence, homelessness, or mental health cases. Policies to “improve the police” are not enough, as there’s no evidence that implicit bias training or community relations initiatives help with reducing the abuses of policing (The Nation).  We need to reimagine public safety to prioritize alternatives to conflict rather than defaulting to violence.
We demand the immediate freezing of budget increases to the police force, cancelling of cadet classes, demilitarization of our forces, and reallocation of funds from police to community-led health and safety strategies.
Please do not vote to increase police funding. Do not be complicit in the disproportionate targeting of people of color. Propose and vote to expand on its current efforts in healthcare, affordable housing, and restorative justice. We demand a budget that supports community wellbeing, rather than empowers the police forces that tear them apart.
It is your duty to represent your constituents. I am urging you to revise the Santa Clara County budget for the next fiscal year, and to fund #CareNotCops. We can be a beacon for other cities to follow if only we have the courage to change.
Thank you for your time,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]

on it!

thank you!!
On Sat, Jun 6, 2020 at 11:16 AM emilyhuntsman<EMAIL_ADDRESS>wrote:

on it!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/teddywilson/defund12.org/issues/434#issuecomment-640098761,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACF4KQTADJ2RJSZDCR4F4VTRVKBYBANCNFSM4NWGMSAA
.

Closing in favor of #454

Closing in favor of #449


Add kubernetes support and do only latest tags builds

Not worth to mix Kubernetes build with the general ones.
Kubernetes specific ones are found here: https://github.com/guangie88/spark-k8s-addons


Hi, is it possible to customize the address of the api?

I tried using a third party api address and found that it doesn't work😥

Did you forget slash at the end of URL?


Mars table not properly displaying all the entries

I wanted to report a display error with the Mars tables:
I run a Groovy script to create a Mars table (kymograph_output_table). There should be timepoints up to T199 (from 0 to 199, in total 200) but it only goes until T197 (screenshot: you can see that only up to column T197 is displayed).

At first, I thought it was because the script was not properly working but further investigation using print statements showed that the script was working fine. I then realized that the data points are available for plotting in the 'Plot' tab (screenshot: you can see that you can plot T199 vs. y).

This can be also confirmed by changing the order of adding the columns to the table. If the loop for adding the time points as columns come first in the sequence every timepoint up to T199 will be displayed (screenshot: by changing the order T199 shows up as a column). The last column loses its name but it is displayed.

Luckily this is not a bit issue since the exported CSV file is fine as well and the option to plot the time point is also available. It just led to some confusion.
Thanks a lot!

Thanks for reporting this issue. I will investigate. In the past there was been some issue in javafx table with lots of columns. It probably related...


Horse archer attack BUG!

I noticed that when Emir goes on the attack, he leaves the horse archers  and does not attack them.

He send the horse archers, if the way to the keep is free.

It doesn't just happen to Emir, it happens to other AI's too sometimes with their missile units they use in sieges. I think it is a pathfinding issue if there is rocky ground in a map. The most annoying is Sultan leaving his Arabian archers behind in the field meaning he can't attack again for ages until he recalls them or they get killed, and that his castle is poorly defended, as he won't make new Arabian archers for his keep while his siege Arabian archers are still out of his castle.

@TheSnowyChickens It would be better if he killed the shooters on the walls than he waited for the wall to break .

But for Wolf, it would actually be better if the crossbowmen he sent in a siege waited for a while. They advance too soon I think. They would be better waiting and advancing when the pikemen and swordsmen start advancing. Therefore they could distract the enemy archers from firing on the pikemen and swordsmen and also manage to kill more missile troops, being supported in their advance by the melee troops.

But for Wolf, it would actually be better if the crossbowmen he sent in a siege waited for a while. They advance too soon I think. They would be better waiting and advancing when the pikemen and swordsmen start advancing. Therefore they could distract the enemy archers from firing on the pikemen and swordsmen and also manage to kill more missile troops, being supported in their advance by the melee troops.

That, aaand potentially less surviving defenders after Wolf's siege engines (fire ballista, catapults, trebuchets) did a bit of work to destroy some towers.

On the other hand, letting the archers (or crossbowmen) wait until all other troops are dead, and then waiting even some more until eventually retreating without using them at all, is equally bad (worse in terms of the attack, but better in terms of economy and defense in some situations - troops that didn't fight but survive the battle are troops that do not need to be replaced).
And of course, the worst case is waiting out of own attack range, but then getting sniped off slowly but surely by some opponent tower ballista... but that fate is shared by many defensive patrol troops too.
Ideally, the AI would march / approach with melee units at the frontline, behind that archers/crossbowmen, behind that siege engineers. And then attack with siege engines - behind own melee troops protecting them, as can currently be seen for Wolf with some troops who patrol his trebuchets, very nice detail that should be expanded imho^^ - and then wait some for the siege engines to do some damage, then advance with melee troops to attack the walls or directly enter a gap if possible, and advance archers right behind the melee troops.


How to backup/restore TheThingsStack

Summary
I would love to see a guided doc to backup and restore The Things Stack of the Open Source installation.
Why do we need this ?
I'm currently looking to upgrade from v3.10 to v3.11 but I'm scared of the bad things that could happen so I want to backup the stack properly before upgrading the image and doing the migrations.
What is already there? What do you see now?
I couldn't find nothing similar to this.
What is missing? What do you want to see?
A dedicated page to backup/restore the stack maybe near the one for upgrading it.
How do you propose to document this?
Something like the upgrading guide: https://www.thethingsindustries.com/docs/getting-started/upgrading/
Can you do this yourself and submit a Pull Request?
I don't think so, unfortunately.

The Things Stack is designed to be stateless. The only backup you'll need to do are the databases and user uploaded content (ex: profile pictures).  That is outside the scope of TTS documentation.

Thank you for you response @KrishnaIyer, but during the upgrade guide you need to make migration on the database itself, am I wrong? Also thinking about what you said, is it not worth to add a mention about this? I think the TTS docs it's pretty clear for every piece of the architecture and this seem to me a missing piece.

you need to make migration on the database itself, am I wrong? Also thinking about what you said, is it not worth to add a mention about this?

You mean add a note to ask users to backup databases before migration? Sure. If you can make a PR that would be awesome.
Please check https://github.com/TheThingsIndustries/lorawan-stack-docs/blob/master/CONTRIBUTING.md for how to get started. If you cannot, then @benolayinka or @nejraselimovic can help.

The Things Stack is designed to be stateless. The only backup you'll need to do are the databases and user uploaded content (ex: profile pictures). That is outside the scope of TTS documentation.

This isn't helpful - it's not obvious that it's designed to be stateless and there could be something that's appropriate before backing up. And we don't all use the databases you have used, so some insight or link to resources wouldn't go amiss.
Also, where is the user uploaded content stored?

Sorry for the late response @KrishnaIyer, but I'm not sure what need to be added.
I'm asking here also because I don't know what I should take care of when updating the stack from the docker-compose file, apart the currently documented upgrade guide of course.
I think that could be nice to have a piece of documentation taking care of backup and restore of the stack, since there is some data stored there, somewhere.

@rvolosatovs can you chime in here with recommended ops for backing up TTS databases?

@rvolosatovs can you chime in here with recommended ops for backing up TTS databases?

There really isn't any recommended ops since backups are dependent on the database used. We provide a docker compose file with Redis Server and Cockroach/Postgres containers as examples. Users are free to choose any Redis and Postgres compliant databases.
This discussion is mixing 2 things.

What to backup during updates: @LasaleFamine is right here.  Indeed it's good to add a note on what needs to be backed up in the Upgrading section.
How to backup: This is out of scope. It's dependent on how the stack is deployed and the procedure varies slightly based on whether you run the databases in docker or run them as services etc. Also if you use another (managed) database, you'll need to check the docs of that.

In addition, I think that just listing what databases are used is sufficient. The users can then look up those databases. With a first pass on google, I found the following links.
Redis: https://redis.io/topics/persistence
Cockroach: https://www.cockroachlabs.com/docs/v21.1/take-full-and-incremental-backups.html
Postgres: https://www.postgresql.org/docs/<version>/backup.html

@rvolosatovs can you chime in here with recommended ops for backing up TTS databases?

There really isn't any recommended ops since backups are dependent on the database used. We provide a docker compose file with Redis Server and Cockroach/Postgres containers as examples. Users are free to choose any Redis and Postgres compliant databases.
This discussion is mixing 2 things.

What to backup during updates: @LasaleFamine is right here.  Indeed it's good to add a note on what needs to be backed up in the Upgrading section.
How to backup: This is out of scope. It's dependent on how the stack is deployed and the procedure varies slightly based on whether you run the databases in docker or run them as services etc. Also if you use another (managed) database, you'll need to check the docs of that.

We also need to update that note on DB migrations.
In addition, I think that just listing what databases are used is sufficient. The users can then look up those databases. With a first pass on google, I found the following links.
Redis: https://redis.io/topics/persistence
Cockroach: https://www.cockroachlabs.com/docs/v21.1/take-full-and-incremental-backups.html
Postgres: [https://www.postgresql.org/docs/](https://www.postgresql.org/docs/\)/backup.html

Sounds good. In the upgrading guide, it looks like we currently mention only is-db migration. Is there anything else that needs to be backed up?

How to backup: This is out of scope. It's dependent on how the stack is deployed and the procedure varies slightly based on whether you run the databases in docker or run them as services etc. Also if you use another (managed) database, you'll need to check the docs of that.

The instructions you provide to install the server are for your recipe. At the very least there should be some bullet points on backing up that configuration, particularly, as I said above, apparently there is some user uploaded content that's location is yet to be revealed.
If TTI want to make this a world-class offering, leaving out details on backups isn't really demonstrating good practise.
I don't think anyone who's capable of subverting the install instructions to change to a different database is going to have a problem figuring out how to backup their own databases.
One alternative is to document installing the stack without docker and allowing the use of alternative databases ...

@LasaleFamine: Sorry for the long wait. This PR should answer your questions; https://github.com/TheThingsIndustries/lorawan-stack-docs/pull/285.

Wow thanks @KrishnaIyer, this is actually even more than I expected. Great work!


ESP32 MARAUDER v6

The compatibility is amazing!
I see that it is "under development" for the tft 2.8 display. Whenever I run commands on my marauder v6, I am not able to see live feed of data, just an empty terminal.
Can anyone duplicate this to ensure it's the display development?

The compatibility is amazing! I see that it is "under development" for the tft 2.8 display. Whenever I run commands on my marauder v6, I am not able to see live feed of data, just an empty terminal. Can anyone duplicate this to ensure it's the display development?

most of the commands right now in terms of the display support with terminal logs indeed do not log anything yet
despite the commands themselves are actually working ive gone through about half of the commands to make sure they log to the terminal but not all commands in the wifi section might log or give feedback despite it actually doing something in the background
im going to continue to implement the rest of the logs to the terminal view next release
thanks again


feat: Expose retry attempt number to validation context

Just give up
Sometimes I need my validation to give up and just return whatever the generated value is, and just accept that the output is good enough. e.g. in cases where I'm processing a lot of examples and don't want a RetryError to kill everything.
This PR exposes some of the retry_state in the validation_context during retries in order to determine if my field_validator should throw an error and trigger a retry, or whether it should just pass.
Other retry state fields available to expose

Possibly exposing attempt.retry_state.start_time might be helpful if people have a time-bound threshold on how long they're willing to accept retries? Just a thought, haven't included it here for now.

@ellipsis-dev i've fixed the issues

Hey, @morganmcg1, thanks for fixing the issues here. In the future, there's no need to notify Ellipsis. Anytime you tag it, it'll think you're trying to assign work to it =)
Sorry about the confusion here.

validation context is for the validator is not an object to track state

hmm, but is there any other good way for my validator to track how many retries have been triggered?

if you use https://useinstructor.com/concepts/retrying/?h=retrying#other-features-of-tenacity
you should be able to use any of the callbacks
https://tenacity.readthedocs.io/en/latest/api.html?highlight=Retrying#tenacity.Retrying

Retry Callbacks
You can also define callbacks to be called before and after each attempt. This is useful for logging or debugging.
from pydantic import BaseModel, field_validator
from openai import OpenAI
import instructor
import tenacity

client = OpenAI()
client = instructor.from_openai(client)

class User(BaseModel):
    name: str
    age: int

    @field_validator("name")
    def name_is_uppercase(cls, v: str):
        assert v.isupper(), "Name must be uppercase"
        return v

resp = client.messages.create(
    model="gpt-3.5-turbo",
    max_tokens=1024,
    max_retries=tenacity.Retrying(
        stop=tenacity.stop_after_attempt(3),
        before=lambda _: print("before:", _),
        after=lambda _: print("after:", _),
    ),
    messages=[
        {
            "role": "user",
            "content": "Extract John is 18 years old.",
        }
    ],
    response_model=User,
)  # type: ignore

assert isinstance(resp, User)
assert resp.name == "JOHN"  # due to validation
assert resp.age == 18
print(resp)

"""
before: <RetryCallState<PHONE_NUMBER>: attempt #1; slept for 0.0; last result: none yet>
after: <RetryCallState<PHONE_NUMBER>: attempt #1; slept for 0.0; last result: failed (ValidationError 1 validation error for User
name
  Assertion failed, Name must be uppercase [type=assertion_error, input_value='John', input_type=str]
    For further information visit https://errors.pydantic.dev/2.6/v/assertion_error)>

before: <RetryCallState<PHONE_NUMBER>: attempt #2; slept for 0.0; last result: none yet>
name='JOHN' age=18
"""

sorry, been a bit hectic here with a product launch, thanks will give that a try!


Generic props extending boolean should apply Boolean casting

Vue version
3.4.15
Link to minimal reproduction
sfc playground
Steps to reproduce
Say I have this component Comp.vue, which accepts  foo prop, a generic type extending boolean:
<script setup lang="ts" generic="T extends boolean">
const props = defineProps<{
  foo?: T
}>()
</script>

<template></template>

Then I want to use it with foo being true, and since type of  foo  is T, which extends boolean, it should be reasonable to use like this:
<script setup lang="ts">
import Comp from './Comp.vue'
</script>

<template>
 <Comp foo></Comp>
</template>

What is expected?
foo should be parsed to true
What is actually happening?
foo is parsed to empty string ''
System Info
System:
    OS: macOS 14.2.1
    CPU: (8) arm64 Apple M1
    Memory: 60.52 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    Yarn: 1.22.11 - /usr/local/bin/yarn
    npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
    pnpm: 6.35.1 - ~/javascript-projects/work/SanOmics/molprophet-main/node_modules/.bin/pnpm
    bun: 1.0.22 - ~/.bun/bin/bun
  Browsers:
    Chrome: 121.0.6167.85
    Edge: 121.0.2277.83
    Safari: 17.2.1
    Safari Technology Preview: 17.4
  npmPackages:
    vue: 3.4.3 => 3.4.3

Any additional comments?
relative documentation: https://vuejs.org/guide/components/props.html#boolean-casting

duplicate of #9877


Not an issue, but a request.

I'm sorry to contact you about this and I know that it's not an issue. But I am a young student from London who wishes to build a career using developer skills. Your username @ks has been has been my dream username for a long while. It would allow me to give my username to friends more easily and it's short and easy to remember.
I apologise again for contacting you about this.
Much love, ❤

Cash @takerisksbro


feat(cli): Add --latest flag for argo get command as per #3128

Checklist:

[x] Either (a) I've created an enhancement proposal and discussed it with the community, (b) this is a bug fix, or (c) this is a chore.
[x] The title of the PR is (a) conventional, (b) states what changed, and (c) suffixes the related issues number. E.g. "fix(controller): Updates such and such. Fixes #1234".
[x] I've signed the CLA.
[ ] I have written unit and/or e2e tests for my change. PRs without these are unlikely to be merged.
[ ] My builds are green. Try syncing with master if they are not.
[x] My organization is added to USERS.md.

What is desired behavior for the --latest flag when cron workflows replace manually submitted workflows?
One scenario I've encountered is I submit a workflow, and a cron workflow happens to submit right afterward. The current behavior is the more recent cron workflow is shown, and I could imagine it being annoying to expect one workflow to display but receiving another. However, I'm not sure how common this scenario would be, or whether it would in fact annoy other users.

Another example of where this is a problem is when stopping and resuming using the --latest flag. With the current behavior, running argo stop --latest and argo resume --latest in succession often does not act on the same workflow.

Perhaps we should focus this flag to the latest Workflow acted upon by the CLI. We would need to store that information in some local storage. Perhaps an environment variable?

Good idea, was thinking along the same lines

A couple additional thoughts. First, by keeping track of the latest workflow acted upon by the CLI we eliminate the need to scan the list of workflows for the newest one so that's great. Second, would there be any value in offering both methods as an option? Something like --latest and --newest for the last modified and the last created, respectively?

What are people's thoughts on what constitutes a workflow being acted upon (i.e. that workflow becomes the latest workflow)? I see two options:

Any time that workflow is written or read by a command. argo log x would mean x becomes the latest. Same for argo get x and other read only commands.

Latest workflow is updated only for write commands. argo log, argo get and other read only commands would not update latest.

@alexec I really like that idea. It makes more sense than a flag in this case, since it allows the latest workflow to be manipulated just as any other. I'd imagine the server side logic for that might also be simpler (or at least more concise) than what I've implemented for the flag in the CLI.
I'll look into it, and I'll just move forward under the assumption that latest means an active workflow with the most recent creationTimestamp. I do think there's a use case for a "last modified" type of flag or alias, that's probably best left for another PR

argo get --help does not, I will add it. Since it's available across many features, thinking maybe it should be shown in argo --help in general in addition to every argo command that supports it.

@alexec Any thoughts on the format for adding this to argo --help? Since it's not a flag or a command, there isn't any section where it makes obvious sense to put it.


⚠ Bofrost.lu has degraded performance

In 10ffc37, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1196 ms

Resolved: Bofrost.lu performance has improved in e055536 after 9 minutes.


Don't get API response when sending images

I loaded Llava v1.6 34B on my server
export DISABLE_NEST_ASYNCIO=True
model=liuhaotian/llava-v1.6-34b
tokenizer=liuhaotian/llava-v1.6-34b-tokenizer

CUDA_VISIBLE_DEVICES=0,1 python3 -m sglang.launch_server --model-path $model --tokenizer-path $tokenizer --port 30813 --tp 2

It works when I work with just with text, but when I send images I just don't get a response, this is what the server log shows:
$ ./start_sglang_server.sh
/home/tom/.local/lib/python3.10/site-packages/transformers/models/llava/configuration_llava.py:104: FutureWarning: The `vocab_size` argument is deprecated and will be removed in v4.42, since it can be inferred from the `text_config`. Passing this argument has no effect
  warnings.warn(
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
server started on [<IP_ADDRESS>]:10007
server started on [<IP_ADDRESS>]:10008
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
accepted ('<IP_ADDRESS>', 35124) with fd 35
welcome ('<IP_ADDRESS>', 35124)
accepted ('<IP_ADDRESS>', 58368) with fd 31
welcome ('<IP_ADDRESS>', 58368)
/home/tom/.local/lib/python3.10/site-packages/transformers/models/llava/configuration_llava.py:144: FutureWarning: The `vocab_size` attribute is deprecated and will be removed in v4.42, Please use `text_config.vocab_size` instead.
  warnings.warn(
/home/tom/.local/lib/python3.10/site-packages/transformers/models/llava/configuration_llava.py:144: FutureWarning: The `vocab_size` attribute is deprecated and will be removed in v4.42, Please use `text_config.vocab_size` instead.
  warnings.warn(
Rank 1: load weight begin.
/home/tom/.local/lib/python3.10/site-packages/transformers/models/llava/configuration_llava.py:144: FutureWarning: The `vocab_size` attribute is deprecated and will be removed in v4.42, Please use `text_config.vocab_size` instead.
  warnings.warn(
Rank 0: load weight begin.
/home/tom/.local/lib/python3.10/site-packages/transformers/models/llava/configuration_llava.py:144: FutureWarning: The `vocab_size` attribute is deprecated and will be removed in v4.42, Please use `text_config.vocab_size` instead.
  warnings.warn(
/home/tom/.local/lib/python3.10/site-packages/torch/_utils.py:831: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  return self.fget.__get__(instance, owner)()
/home/tom/.local/lib/python3.10/site-packages/torch/_utils.py:831: UserWarning: TypedStorage is deprecated. It will be removed in the future and UntypedStorage will be the only storage class. This should only matter to you if you are using storages directly.  To access UntypedStorage directly, use tensor.untyped_storage() instead of tensor.storage()
  return self.fget.__get__(instance, owner)()
INFO 04-09 11:54:13 weight_utils.py:163] Using model weights format ['*.safetensors']
INFO 04-09 11:54:13 weight_utils.py:163] Using model weights format ['*.safetensors']
INFO 04-09 11:54:14 weight_utils.py:163] Using model weights format ['*.safetensors']
INFO 04-09 11:54:14 weight_utils.py:163] Using model weights format ['*.safetensors']
Rank 0: load weight end.
Rank 1: load weight end.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Rank 1: max_total_num_token=1378, max_prefill_num_token=4096, context_len=4096,
disable_radix_cache=False, enable_flashinfer=False, disable_regex_jump_forward=False, disable_disk_cache=False, attention_reduce_in_fp32=False
Rank 0: max_total_num_token=1378, max_prefill_num_token=4096, context_len=4096,
disable_radix_cache=False, enable_flashinfer=False, disable_regex_jump_forward=False, disable_disk_cache=False, attention_reduce_in_fp32=False
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
INFO:     Started server process [100699]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:30813 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:48684 - "GET /get_model_info HTTP/1.1" 200 OK
new fill batch. #seq: 1. #cached_token: 0. #new_token: 8. #remaining_req: 0. #running_req: 0. tree_cache_hit_rate: 0.00%.
INFO:     <IP_ADDRESS>:48700 - "POST /generate HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:44048 - "GET /get_model_info HTTP/1.1" 200 OK
INFO:     <IP_ADDRESS>:43484 - "GET /get_model_info HTTP/1.1" 200 OK
new fill batch. #seq: 1. #cached_token: 0. #new_token: 1157. #remaining_req: 0. #running_req: 0. tree_cache_hit_rate: 0.00%.
INFO:     <IP_ADDRESS>:43490 - "POST /generate HTTP/1.1" 200 OK

The same script and server config used to work on my old system, but I can't access it anymore. I suspect a it's just an incompatible package.
Full command that works for me:
python3 -m sglang.launch_server --model-path liuhaotian/llava-v1.6-34b --tokenizer-path liuhaotian/llava-v1.6-34b-tokenizer --port 30813 --tp 2 --mem-fraction-static '0.9'

Maybe a warning/error could be added that there is an issue and what the issue is.


🚀 RELEASE: v0.2.0

@chrisjsewell let me know if you'd like me to cut the release as well

You can do it if you want, just create a release on GitHub yeh.
Note, it might be a little tricky to sync up this release with both jupyter-book and jupyterbook-latex; since for testing only they both depend currently on 0.1.0, and jupyterbook-latex also depends on a version of jupyter-book, so it's a bit of a chicken and egg ting 😬. Really jupyterbook-latex no longer needs to depend on jupyter-book for testing (now that it uses this package for toc based stuff and is "independent" of jupyter-book), so those tests can be removed to remove the circular dependency

ah gotcha - I'll open an issue in jupyterbook-latex

https://github.com/executablebooks/jupyterbook-latex/issues/59


Updates docs to have one secret with both keys for webhook

this updates the docs to create one key instead of two for webhook,
provider token and webhook secret and updates the default keys.
Signed-off-by: Shivam Mukhade<EMAIL_ADDRESS>
Changes

Submitter Checklist

[ ] ♽  Run make test lint before submitting a PR (ie: with pre-commit, no need to waste CPU cycle on CI
[ ] 📖 If you are adding a user facing feature or make a change of the behavior, please verify that you have documented it
[ ] 🧪 100% coverage is not a target but most of the time we would rather have a unit test if you make a code change.
[ ] 🎁 If that's something that is possible to do please ensure to check if we can add a e2e test.
[ ] 🔎 If there is a flakiness in the CI tests then don't necessary ignore it, better get the flakyness fixed before merging or if that's not possible there is a good reason to bypass it. (token rate limitation may be a good reason to skip).

👍🏻


Added Copy Source Tags

API changes have been detected in Azure.Storage.Blobs. You can review API changes here
API changes
+             V2021_06_08 = 12,
+         public BlobCopySourceTags? CopySourceTags { get; set; }
+         public BlobCopySourceTags? CopySourceTags { get; set; }
+     }
+     public enum BlobCopySourceTags {
+         Replace = 0,
+         Copy = 1,

API changes have been detected in Azure.Storage.Files.Shares. You can review API changes here
API changes
+             V2021_06_08 = 12,

API changes have been detected in Azure.Storage.Files.DataLake. You can review API changes here
API changes
+             V2021_06_08 = 12,

API changes have been detected in Azure.Storage.Queues. You can review API changes here
API changes
+             V2021_06_08 = 12,

API changes have been detected in Azure.Storage.Blobs. You can review API changes here
API changes
+             V2021_06_08 = 12,
+         public BlobCopySourceTags? CopySourceTags { get; set; }
+         public BlobCopySourceTags? CopySourceTags { get; set; }
+     }
+     public enum BlobCopySourceTags {
+         Replace = 0,
+         Copy = 1,

API changes have been detected in Azure.Storage.Files.DataLake. You can review API changes here
API changes
+             V2021_06_08 = 12,

API changes have been detected in Azure.Storage.Queues. You can review API changes here
API changes
+             V2021_06_08 = 12,

API changes have been detected in Azure.Storage.Blobs. You can review API changes here
API changes
+             V2021_06_08 = 12,
+         public BlobCopySourceTagsMode? CopySourceTagsMode { get; set; }
+         public BlobCopySourceTagsMode? CopySourceTagsMode { get; set; }
+     }
+     public enum BlobCopySourceTagsMode {
+         Replace = 0,
+         Copy = 1,


Ensure association position information is based on alphabetical order, not order of appearance in the umple model

Originally reported on Google Code with ID 77

Ensure association position information is based on alphabetical order, not order of
appearance in the umple model. This ensures that as associations and classes are moved
around, you don't end up having errors appear in the positions.
Reported by Andrew Forward | July 20th, 2010 @ 10:04 PM
class B
{
0..1 -- * A;
}
class A
{
}
class B
{
position 50 30 109 41;
position.association A__B 30,41 74,0;
}
class A
{
position 50 130 109 41;
}
The position for A__B should be the opposite (74,0) refers to A and (30,41) refers
to B.
Comments and changes to this ticket
Julie Filion
Julie Filion July 26th, 2010 @ 05:29 PM
    → State changed from “new” to “open”

Does this mean that classOne of the association should no longer be the class in

which the association is defined, but rather the class that is alphabetically smaller?
Andrew Forward
Andrew Forward July 26th, 2010 @ 05:40 PM
I think that makes the most semantic sense, that way the position is
unambiguos regardless of where the association is defined. Here is how I
think it should change:

classOne and classTwo stay as is for now (once we drop the
associationVariable, we will actually point to associationEndOne and
associationEndTwo.

Introduce some derived attributes (still don't exist yet, so must be written
by hand - example shown below) such as (feel free to rename):

classLeft and classRight (later renamed to associationEndLeft and
associationEndRight)

//TODO: replace with derived attributes / association
UmpleClass classLeft;

before getClassLeft {
    // code to determine which name is smaller
  }

Once the derived attribute / association is in place, the Umple code might
look like:

//TODO: replace with derived attributes / association
UmpleClass classLeft = { /* code to determine which name is smaller */ }

Julie Filion
Julie Filion July 26th, 2010 @ 06:11 PM

Thanks. Which class would the derived attribute be added to?
Andrew Forward
Andrew Forward July 26th, 2010 @ 06:17 PM

Same class as classOne and classTwo (don't have the code in front of my
right now - just going from memory - if this doesn't make sense, assign the
bug to me with the question and I will answer it and pass it back to you).
Julie Filion
Julie Filion July 26th, 2010 @ 07:02 PM
    → Assigned user changed from “Julie Filion” to “Andrew Forward”

Sorry, I am being unclear.

ClassOne and classTwo are not attributes of any class - they are simply named this

way in the json generator. When the UmpleParser finds an association token, it creates
two AssociationEnd instances.
The first refers to the class in which is defined the association (if it is inline)
ie:
class A{ -- B;}

or the class on the left of the definition (if it is explicit)
ie. association{ A -- B; }

The AssociationEnds are then used to create a new Association and add it to the

model.
Would it be reasonable to add an after filter to the Association constructor that

would swap the left and right ends if they are not in the correct order?
There is a method setEnds in class Association - can this be used to reset the

ends? I don't think I fully understand what this method is doing before it sets the
ends.
Andrew Forward
Andrew Forward July 26th, 2010 @ 07:16 PM
Good analysis, but I would instead rely on lazily determining classOne,
classTwo - otherwise you run into issues where you change the role name, you
will also need to check if you need to change the ordering.

One thing to remember is that Umple is written in Umple, so it sometimes
lacks the newest umple features. So, this might be an opportunity to
refactor to use after filter.

I believe the setEnds is in place because when parsing the code you don't
always have both classes defined - so you need to hold on to the first
object until you encounter the second.

Image parsing

class X
{
  0..1 -- 1 Y;
}

class Y {}

When you encounter the "0..1", you have yet to define Y, so you cannot
create the association yet. Only once the whole application is parsed can
you then setEnds.

Reported by @umple on 2011-06-24 13:50:43

See issue #583  This is a very old issue relating to editable class diagrams, that are in need of a replacement or complete reengineering


Saved with raw page number in title (in error/raw directory)

Modified it so that filenames saved into error and raw directory to have raw page number of the uploaded file instead, (e.g. 40 from midterm1_scanned_sample-40.pdf) because we need ways to handle the case when uploaded file consists of multiple exam versions and situation as in line 108-109 happens.
When I uploaded midterm1_scanned_sample.pdf from db/data/scanned_exams twice to split them, only midterm1_scanned_sample-1.pdf ~ midterm1_scanned_sample-8.pdf were saved in error directory because of the overlaps in page number. Now, it saves midterm1_scanned_sample-1.pdf ~ midterm1_scanned_sample-40.pdf in the directory.

@jenachoi it's a good problem to raise, but I'm not convinced of the solution. A better solution would be to use the id of the corresponding SplitPage instance, which is guaranteed to be unique. (This might simplify other things, too.)

still working on it

going to work on adding test cases!


can`t get this in props default function

Version
3.0.0-rc.5
Reproduction link
https://jsfiddle.net/xxholly32/w7k8vzng/19/
Steps to reproduce
https://jsfiddle.net/xxholly32/w7k8vzng/19/
i have two related props theme and contentHtml, but i cant get information from default function.
What is expected?
like vue2 , i can get theme value in default function
What is actually happening?
console will be 'undefined'

i think props default function should have attr like setup , or this should be work again

With the commit above you should be able to do
contentHtml: {
      type: String,
      default (props) {
        console.log(props.theme)
      },
    }

I think it's best to prohibit this usage inside prop default functions and validators. This is technically a breaking change and we will need an RFC/migration guide item for it.

nice
I see this problem still cant work in your way the current version 3.0.0-rc.5
https://jsfiddle.net/xxholly32/w7k8vzng/21/

@yyx990803 In Vue 2, accessing this allowed access to injections, properties from Vue.prototype and the store. Any one of these could have been used to provide a default based on configuration/locale/theme.
In particular, the documentation includes the following example for provide/inject:
const Child = {
  inject: ['foo'],
  props: {
    bar: {
      default () {
        return this.foo
      }
    }
  }
}

I don't know how often this was used. Here's an example I found in the Vuetify codebase that passes global configuration to a default function:
https://github.com/vuetifyjs/vuetify/blob/5533b030a3f892abed057dbb00946d57352e6751/packages/vuetify/src/mixins/mobile/index.ts#L16

Use inject to set props default value was possibile. did you have any solution now ? @skirtles-code

@xxholly32  Not directly. You could use a computed property to apply a default instead.


io.swagger.v3.core.util.Json public static method mapper() is not thread safe

The public static method mapper() like below is not thread safe.  It appears that the "mapper" field is designed to be lazily initialized and only initialize once. But current implementation does not guarantee the mapper field is initialized only once. If we want the lazy and only once initialization semantic, we need to use double checked locking or simply synchronize the mapper() method, otherwise, the mapper has chance to be initialized multiple times.
current implementation:
    private static ObjectMapper mapper;

    public static ObjectMapper mapper() {
        if (mapper == null) {
            mapper = ObjectMapperFactory.createJson();
        }
        return mapper;
    }

suggested implementation using double checked locking
public static ObjectMapper mapper() {
        if (mapper == null) {
            synchronized(Json.class) {
                if (mapper == null) {
                    mapper = ObjectMapperFactory.createJson();
                }
        }
}

Closing this and opened https://github.com/swagger-api/swagger-core/issues/4672 instead.


Be forward compat with rootless lock files

Hi! So what is the plan regarding the [root] key in the lock file?
With workspaces it is meaningless, but not immediately harmful.
I think it should be possible to remove it eventually if we teach Cargo to read rootless lockfiles now and switch to them several cycles later. Reading lockfiles with [root] should be supported forever of course.
This PR adds ability to read rootless lockfiles, but they are then replaced by the current format in write_pkg_lockfile. Should be easy to fix if we do want to evolve lockfile format.

r? @alexcrichton
(rust_highfive has picked a reviewer for you, use r? to override)

I like this approach! My plan was to just not do anything, but this seems like the correct way to approach this to me. I would indeed like to one day phase them out (as they don't make sense).
Looks like tests are failing though?

Looks like tests are failing though?

Yep, the empty file is now a valid Cargo.toml.

Should be ready now

Hm I think that an empty lock file should still be an error? If a package isn't listed as [root] it should be in [[package]]?

Hm I think that an empty lock file should still be an error?

I tend to think that empty lockfile is valid, albeit makes little sense. Lockfile can specify less packages than there are members in workspace, if it is not up to date. An empty lockfile specifies zero packages. Previously at least one package was required because of the mandatory root.
We can specifically bail for lockfile without packages, but I doubt that it will be useful in practice. Empty file is just a special case of a lockfile that needs updating.

To confirm, though:

cargo new followed by cargo build today emits [root]
cargo new followed by cargo build tomorrow would emit one [[package]]

right?

"tomorrow" being "when we actually decide to remove [root]

right?

Yep, though looks like there is no tests which verifies current lockfile format specifically.

Added a test for ^^^ here, if it is necessary: https://github.com/rust-lang/cargo/pull/3031

Ok, I'm gonna close in favor of https://github.com/rust-lang/cargo/pull/3031, thanks!


Question : How to get slow query metrics in milliseconds instead of seconds

Currently, all metrics are based on seconds. We have a requirement to get them in milli seconds. is it possible to get them in milli seconds?

Metrics from observations are created by DefaultMeterObservationHandler in the micrometer.
They are LongTaskTimer and Timer.
The resolution of the timers is based on the metrics backend.
So, please check with your backend and your micrometer registry.


[CONTENT-CHANGE] Add plain text accounting tools

Some people choose https://plaintextaccounting.org tools like https://hledger.org, https://beancount.github.io and https://ledger-cli.org for their privacy benefits (fully offline accounting data, completely under your control).
There are many offline accounting tools, like GNUCash and KMyMoney, but PTA is a popular alternative approach and might be worth mentioning. It could fit in the Budgeting Tools section next to GNUCash.
Possible content, if you don't want to link the three individual apps:
Plain Text Accounting apps (Desktop)
Powerful cross-platform accounting tools for Windows, Mac and Linux, with some web and mobile support, which are popular for their compact, version-controllable data format and privacy-friendly offline nature.
Alternate link, direct to the apps

Thanks Simon :)
Added.


perf(web-builder): pre-compile config validator

PR Details

Description
Pre-compile config validator to increase performance of builder startup.
const { ConfigValidator } = require('./dist/config/validate');
console.time();
(await ConfigValidator.create('./compiled/config-validator')).validate({});
console.timeEnd();

With this case we get an improvement from ~60ms to ~1.5ms in MacBook M1 Pro.
We can remove ajv from runtime dependencies if anything works fine.
Other changes include using ttsc instead of tsc so that we can use path aliases
Some tests will be added later.
Motivation and Context

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

先 resolve 一下冲突哈


the settings screen freezes

When i try to open ubuntu settings,the screen freezes and the system is unresponsive.

Hi @Pouyakhosra, could you elaborate more on your setup and which step does this issue happen?


Website api worker hammers /api/socket when lichess is deployed.

This should backoff slowly or quickly or just delay a few seconds.

https://github.com/cyanfish/heltour/blob/master/heltour/api_worker/worker.py#L31
I suspect that should be a < rather than a >

Fixed in https://github.com/cyanfish/heltour/commit/63c4acd35c60d87e8e34fd7118e4b8c00624cb78


docs: update README to reflect change from snippets to samples for cl…

…arity
Sample snippet contributions
For client library sample snippets, review and follow the snippet contribution guidance

[ ] Follow organization guidelines
[ ] Use real types (avoids var)
[ ] Use Context.Log (avoids Console.WriteLine)
[ ] Sample should clean up resources they create
[ ] Avoid samples that arbitrarily destroy data

If you'll retarget this PR at main, I'll merge it. Thanks!

Thanks for the heads up! just retargeted to main :)


fix: support windows 10 system #11

entry must normalizeId beforeimporteeId.replace, just like importeeId
Or, isFilePath(updatedId) will return flase
Then, will expose an error:
Could not load E:\github\vue\src\core/index
Closes #11

Thanks for the PR. I'm hoping that this is similar to https://github.com/rollup/rollup-plugin-alias/pull/22. If you get a chance to try 1.4.0 could you see if the issue is resolved please?

@ICELI thanks for opening this PR way back when. Unfortunately it's fallen quite out of date with master and hasn't seen any activity in a very long time. We're going to close this for now, but please feel free to update your fork and open a new PR for this issue.


[incubator/jaeger] update images from 0.6 to 0.8

Update jaeger images to latest version 0.8
Current verison 0.6 is quite old and does not support zipkin traces in json format as stated in values.yaml (this was introduced in 0.7 see 348 )

/ok-to-test

cc @dvonthenen

I can test the change as a second set of eyes. It looks like the e2e test is failing due to a bind issue in the Query UI.

Hi @unguiculus and @golonzovsky,
I ended up testing the changes this morning and it was able to deploy without any issues.
It looks like there is a fixed timeout for deploys various artifacts of the build and thus causing a timeout. It looks like the deploy of Cassandra takes a significant amount of time to deploy, it is causing the Query UI (you also might see the Collector) to fail until Cassandra is fully running.

Works with 0.8 version on my side as well. Seems while Cassandra was initializing query and collector was restarting and got to high intervals between restarts in CrashLoopBackOff (with 6 restarts probably up to max of 300sec/5min), which didnt happened during test.
Not sure if we need to add .spec.initialDelaySeconds to probes to make test more stable..
/retest

/retest

Looks good this time!


Double base64encode

Hey there. While using this package, I noticed my payload that running through google pub/sub is encoded twice.
The problem is in the PubSubQueue class in pushRaw function

$publish = ['data' => base64_encode($payload)];
On this line we are encoding our payload, and then in
$topic->publish($publish);
We are actually executing code from Google/cloud-pubsub library, which is doing exactly the same, so the payload is encoded twice at the stage of sending it to the pub/sub.
The same if for pulling messages from subscriptions, Google package doing the base64_decode by itself.
Just wondering what was the initial purpose of encoding payload inside this package ?

Hello @Sergio-Ben
I actually  don't use this package and I don't remember why I made that choice at the time. But initially, the topic auto-creation was not part of this package and I probably did assume that the "encoding" option was set to false. With the topic auto-creation, I believe all the messages are now automatically encoded to base64, so I agree with you it can be kind of inefficient now and it might be a good idea to disable this behavior.
I'm open to a well-tested fix in PR.

Hey @kainxspirits
This actually has nothing to do with topic auto-creation.
The message encoding during publishing to the topic was introduced with the initial release starting 0.1.0 tag.
For the REST connection, the package will set encode flag to true
        if ($connectionType === 'grpc') {             $this->connection = new Grpc($this->configureAuthentication($config));             $this->encode = false;         } else {             $this->connection = new Rest($this->configureAuthentication($config));             $this->encode = true;         }
in
https://github.com/googleapis/google-cloud-php-pubsub/blob/v0.1.0/PubSubClient.php#L126
and then in
https://github.com/googleapis/google-cloud-php-pubsub/blob/v0.1.0/Topic.php#L463
The same flag is used to check if the message should be encoded or not.
But yes, i'll try to find some spare time and create some PR, so you can review it :)


Switch off locale detection in Django / Django CMS

Describe the bug
When navigating to a CMS page using a browser set to another locale than German, a 404 error is thrown.
Remove the locale detection, and/or fix the locale to German.

https://stackoverflow.com/questions/17959941/how-to-remove-the-language-identifier-from-django-cms-2-4-urls
Either switch it off completely, or fix it and add language-specific URLs everywhere.

This affects both Django apps and Django CMS. This page doesn't work if your browser is set anything but German: https://www.devday.de/kuratorium/


WAR! Skedar "Machine Gun Stepping" Sound: Audio Bug

So if you have all guns and infinite ammo on WAR!, and if you use the Combat Boost, Skedar stepping noises will start "machine gun stepping", where you hear the Skedar step sound repeating as fast as the RCP-120 fires. I also had an RCP-120 equipped, and was using a Cloaking Device.

 It was already reported before, but I don't recall where.

 It was already reported before, but I don't recall in which issue.

Oh sorry about that. I didn't know. I just heard those weird machine gun footsteps and freaked out! Hahaha.


Test code debugging when using testcafe-live

Hey! thanks for contributing this lib! I'm evaluating TestCafe / Cypress to adopt it at our company and the live runner makes a big difference (to us)!
Was wondering about debugging 'test code' when running tests through testcafe-live.
When using testcafe binary we do so by setting the flag --inspect-brk. Any way of achieving this with testcafe-live?
Thanks!

Hi @rafaelchiti, currently passing V8 flags is not properly supported. But you can use this easy trick if testcafe-live is installed locally (npm i without -g):
node --inspect-brk ./node_modules/testcafe-live/bin/testcafe-live.js chrome test.js

It's a bit harder for a global installation, because you have to find out the path to the testcafe-live module in the global node_modules directory.

oh cool, thanks!!

I close this issue because it became obsolete after merging TestCafe Live into the TestCafe core. Now you can pass the --inspect and --inspect-brk flags to enable debugging together with the -L to enable the Live mode, and Node.js debugging features will be activated correctly due to the bin-v8-flags-filter module used by TestCafe binary.


feat: smooth scroll behavior option

🔗 Linked issue
Solves #15728
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[x] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Add the smoothScrollBehavior option to RouterOptions that allows smooth scroll for hash links
https://github.com/nuxt/nuxt/assets/22207414/4f12d850-7468-4091-bdbf-4e7ca38d0294
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Hi @danielroe. I have some questions regarding this change:

Can't we add this option RouterConfigSerializable so there is no need to create an app/router.options.ts and use it directly on nuxt.config.ts?
Should we update https://nuxt.com/docs/guide/going-further/custom-routing#router-options with this new option?

'scroll-behavior: smooth;' via CSS should do the same.