text:
Transforming Point Sets Without Writing to File

Thanks for the awesome package!
Given a transformation calculated by simpleelastix, I want to to apply this to a point set. While this works great, the issue is I need to perform this operation thousands of times, and would like to implement via parallel runs on a cluster.
The documented implementation: https://simpleelastix.readthedocs.io/PointBasedRegistration.html takes the point set as input using SetFixedPointSetFileName which expects a file written to disk and outputs the result in the file "outputpoints.txt". This reading/writing to files causes problems/inefficiencies in parallellization.
So I was wondering

Is it possible to provide the Fixed Point Set in memory, i.e. not as a file on disk?
Is it possible to change the default output file from outputpoints.txt (or ideally not write to a file at all)?

Thanks!

It is not possible at the moment because elastix itself only supports reading point files from disk.

It is not possible at the moment because elastix itself only supports reading point files from disk.

Thanks for the response. This seems like a strange choice by elastix ...
I'm mostly working with rigid transformations, so I guess I can extract the transformation parameters and implement myself. So I'll mark the issue closed.
Thanks!

authors: kaspermarstal srajaram

repo: SuperElastix/SimpleElastix


text:
🛑 Matrix redirection is down

In 52ef3b5, Matrix redirection (https://supersandro.de/_matrix/key/v2/server) was down:

HTTP code: 502
Response time: 11602 ms

Resolved: Matrix redirection is back up in a8bab63 after 2 hours, 2 minutes.

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
🛑 Matrix Federation Tester is down

In 49001e5, Matrix Federation Tester (https://federationtester.matrix.org/api/report?server_name=supersandro.de) was down:

HTTP code: 200
Response time: 4206 ms

Resolved: Matrix Federation Tester is back up in fb54fa8 after 4 minutes.


text:
2.11.6 fails when sound menu selected

2.11.4 worked fine with my custom sounds in the sounds directory.
I recently updated to 2.11.6 and now when I select the moulinette icon, then the sounds icon (the note), An "Indexing" bar is briefly displayed, no popup window is displayed, and the following error is displayed in the console:

MoulinetteCache | Retrieving https://assets.moulinette.cloud/assets/jc4cncfvmpbq5nm3msxs1e50ra from cache
moulinette-cache.js:26 MoulinetteCache | Retrieving https://assets.moulinette.cloud/byoa/assets/jc4cncfvmpbq5nm3msxs1e50ra from cache
moulinette-file-util.js:438 Moulinette FileUtil |  moulinette/sounds/custom/index.json {target: "moulinette/sounds/custom", private: false, gridSize: null, dirs: Array(2), privateDirs: Array(0), …}
foundry.js:2013 TypeError: Cannot read property 'find' of undefined
[Detected 2 packages: moulinette-sounds, moulinette-core]
    at MoulinetteSounds.getPackList (moulinette-sounds.js:38)
    at async MoulinetteForge.getData (moulinette-forge.js:74)
    at async MoulinetteForge._render (foundry.js:2049)
    at async MoulinetteForge._render (foundry.js:2736)

Images and icons etc all work fine (before this error is produced by selecting the note icon)
Note that I am not a patron and just index my local sounds. I tried to delete the index.json file (in case that was causing the problem) but it had no effect.

Fixed in v-2.11.7. Thanks for reporting this!

authors: SvenWerlen brother-oak

repo: SvenWerlen/moulinette-sounds


text:
Document release process

Although we should strive to automate our release process as much as possible, there are currently some things that we need to do manually. As such, they should be documented (probably in the README, since putting it anywhere else is just asking for it to be forgotten).
Here's the list so far:

Updating the version constant for the CLI (#159)
Publishing to the GitHub Marketplace (#168)
Updating the Homebrew formula (#77)

#190 automates the second and third points. The first point could be automated as well, such as by using Swift GYB.

repo: SwiftDocOrg/swift-doc


text:
🛑 swiftfiddle.com/runner/nightly-main is down

In 6edc379, swiftfiddle.com/runner/nightly-main (https://swiftfiddle.com/runner/nightly-main/run) was down:

HTTP code: 0
Response time: 0 ms

Resolved: swiftfiddle.com/runner/nightly-main is back up in f145b83 after 1 hour, 48 minutes.


text:
Support Swift 3 and Xcode 8.

Migrated the project to support Swift 3 and Xcode 8.
This pull request consists of

https://github.com/yoichitgy/SwinjectPropertyLoader/pull/1 by @gasthana0
Some cherry-picked commits of #3

Need to fix .travis.yml.

Thanks @jakubvano, I guess I added the AnyObject check by my misunderstanding to use an objc associated object. I'll check.

Removed the commented out code by be48d02 because the type check was just misunderstanding about AnyObject, NSObject and requirement of objc_get/setAssociatedObject.

source: gharchive/pull-request

repo: Swinject/SwinjectPropertyLoader

license: mit

license_source: bigquery


text:
🛑 Corredores is down

In 556b456, Corredores (https://corredores.sbi.uy) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Corredores is back up in 8963dcf.

repo: Switch-Software-Solutions/status-page


text:
Buffer.write() range error in createRequest()

Within createRequest(), when command === CLOSE condition occurs an uncontrolled exception is raised:
RangeError [ERR_OUT_OF_RANGE]: The value of "length" is out of range. It must be >= 0 && <= 24. Received 32
    at validateOffset (node:buffer:112:3)
    at Buffer.write (node:buffer:1073:7)
    at createRequest (/.../index.js:124:14)
    at module.exports (/.../node_modules/smb-enumerate-shares/index.js:257:16)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  code: 'ERR_OUT_OF_RANGE'
}

This is due to the fact that structure buffer being used is a 24 byte length buffer derived from:
const requestStructures = {
        (...)
	[CLOSE]: '180000000000000000000000000000000000000000000000'
}

And because, fileid.length is being used to control the buffer's write()  maximum number of bytes to write option, this leads to a condition where fileid.length may be superior to buf.length - offset, because fileid is being  populated with a (at most) 32 byte buffer:
fileid = result.slice(132, 148).toString('hex')

A suggested quick-fix is to ensure that within createRequest(), structure.write() operations enforce the buf.length - offset maximum number of bytes to write constrain, as in this example:
structure.write(fileid, 8, structure.length - 8, 'hex')

I can confirm @0x557269656C's suggestion fixes the problem.

repo: SylverFox/smb-enumerate-shares

license: ISC


text:
Zynq build failing but unclear why....

https://source.cloud.google.com/results/invocations/5af497f6-b3c8-442e-a394-c42f90a0b87e/log
2021-12-07T13:11:30 - xc7z020clg484-1/074-dump_all              - 4h25m: touch run.xc7z020clg484-1.ok
2021-12-07T13:11:30 - xc7z020clg484-1/074-dump_all              - 4h25m: make[2]: Leaving directory '/tmpfs/src/github/symbiflow-prjxray-continuous-db-zynq7/fuzzers/074-dump_all'
2021-12-07T13:11:30 - xc7z020clg484-1/074-dump_all              - 4h25m:
2021-12-07T13:11:30 - xc7z020clg484-1/074-dump_all              - 4h25m: --------------------------------------------------------------------------
2021-12-07T13:11:30 - xc7z020clg484-1/074-dump_all              - 4h25m: Succeeded! @ 2021-12-07T13:11:30.439403
make[1]: Leaving directory '/tmpfs/src/github/symbiflow-prjxray-continuous-db-zynq7/fuzzers'
Makefile:181: recipe for target 'db-zynq7' failed
make: *** [db-zynq7] Error 2
Script done, file is /tmpfs/tmp/tmp.xUCrtRhzC8
+ DATABASE_RET=2
+ set +x -e
Packing failing test cases
----------------------------------------
A failure occurred during Database build.
----------------------------------------
========================================
 Disk space in failure path
----------------------------------------
81G	.

[ID: 2955330] Build finished after 18322 secs, exit value: 2

this is the cause:
34100 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s: + make -f /tmpfs/src/github/symbiflow-prjxray-continuous-db-zynq7/utils/top_generate.mk^M
34101 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s: Traceback (most recent call last):^M
34102 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s:   File "/tmpfs/src/github/symbiflow-prjxray-continuous-db-zynq7/utils/dbfixup.py", line 745, in <module>^M
34103 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s:     main()^M
34104 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s:   File "/tmpfs/src/github/symbiflow-prjxray-continuous-db-zynq7/utils/dbfixup.py", line 733, in main^M
34105 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s:     run(^M
34106 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s:   File "/tmpfs/src/github/symbiflow-prjxray-continuous-db-zynq7/utils/dbfixup.py", line 697, in run^M
34107 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s:     update_segs(^M
34108 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s:   File "/tmpfs/src/github/symbiflow-prjxray-continuous-db-zynq7/utils/dbfixup.py", line 609, in update_segs^M
34109 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s:     update_seg_fns(^M
34110 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s:   File "/tmpfs/src/github/symbiflow-prjxray-continuous-db-zynq7/utils/dbfixup.py", line 521, in update_seg_fns^M
34111 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s:     new_changes, lines = add_zero_bits(^M
34112 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s:   File "/tmpfs/src/github/symbiflow-prjxray-continuous-db-zynq7/utils/dbfixup.py", line 256, in add_zero_bits^M
34113 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s:     zero_groups.add_tag_bits(tag, bits)^M
34114 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s:   File "/tmpfs/src/github/symbiflow-prjxray-continuous-db-zynq7/utils/dbfixup.py", line 153, in add_tag_bits^M
34115 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s:     assert len(self.tag_to_groups[tag]) == 1^M
34116 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s: AssertionError^M
34117 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s: make[3]: *** [build/segbits_xiob33.db] Error 1^M
34118 2021-12-07T09:23:37 - xc7z020clg484-1/030-iob                   - 48m50s: make[2]: *** [run] Error 2^M

authors: kgugala mithro

repo: SymbiFlow/prjxray

license: isc


text:
MPS Optimizations

Some basic thought on re-factoring so we can abstract away our CPU / GPU infrastructure?
Build an interface for conforming input pixel buffers to whatever best case infrastructure we have, be it GPU (MPS) or CPU (OpenCV / vImage)

SynopsisFrameConformSession - A long duration session object which replaces our Analyzers VideoTransformScaleLinearizeHelper object - providing some sort of session object so we can create MTL command buffers and pipeline operations, and or alternatively dispatch to operations on the CPU if we need to to prep optimized / cached representations of our input frame.

SynopsisFrameCache - An opaque object that can vend optimized MTL or OpenCV / vImage representations of our input image appropriate for a specific analyzer.

SynopsisFrame  - An opaque object wraps a which can be backed by a MTLBuffer or vImage / OpenCV object that holds a specific frame representation (BGR, BGR32, Gray, Perceptual etc).

Analyzers now consume a SynopsisFrame object and request a particular format?

This also sets a precedent for API parity for Audio if we ever get there

repo: Synopsis/Synopsis-Framework


text:
Installation broken on macOS 10.15.7 and ports python3 or apple python3

I am submitting a …

[X] bug report
[ ] feature request

Description
The latest version of python-mbedtls 1.4.0 does not seem to install correctly on macOS Catalina 10.15.7.  After attempting to install multiple times via pip3 or from source using Apple's version of pip3/python3 or a macports selected version of pip3/python3, the package always is missing the dynamically loaded shared objects in the medbtls python directory.  This prevents importing of the mbedtls package.  I have a working version of the same package on Ubuntu 18.04 LTS which includes the missing objects but am not sure how to get the package working on macOS.
Current behavior
After installing mbedtls (from MacPorts) either using pip3 to install python-mbedtls or installing from the source package (as in the egg example below), the mbedtls package cannot be imported in a python script as follows:
$ python3
Python 3.6.12 (default, Sep  6 2020, 12:48:16)
[GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.32.62)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mbedtls
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/python_mbedtls-1.4.0-py3.6.egg/mbedtls/__init__.py", line 8, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/python_mbedtls-1.4.0-py3.6.egg/mbedtls/cipher/__init__.py", line 12, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/python_mbedtls-1.4.0-py3.6.egg/mbedtls/cipher/AES.py", line 11, in <module>
ModuleNotFoundError: No module named 'mbedtls.exceptions'

Here are the contents of the egg referenced above:
$ unzip -l /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/python_mbedtls-1.4.0-py3.6.egg
Archive:  /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/python_mbedtls-1.4.0-py3.6.egg
  Length      Date    Time    Name
---------  ---------- -----   ----
    24255  11-22-2020 01:53   EGG-INFO/PKG-INFO
     1978  11-22-2020 01:53   EGG-INFO/SOURCES.txt
        1  11-22-2020 01:53   EGG-INFO/dependency_links.txt
       70  11-22-2020 01:53   EGG-INFO/requires.txt
        8  11-22-2020 01:53   EGG-INFO/top_level.txt
        1  11-22-2020 01:53   EGG-INFO/zip-safe
      742  10-17-2020 06:16   mbedtls/__init__.py
     1563  10-17-2020 06:16   mbedtls/hashlib.py
     1707  10-17-2020 06:16   mbedtls/hmac.py
     1252  10-17-2020 06:16   mbedtls/secrets.py
      749  11-22-2020 01:53   mbedtls/__pycache__/__init__.cpython-36.pyc
     2031  11-22-2020 01:53   mbedtls/__pycache__/hashlib.cpython-36.pyc
     2103  11-22-2020 01:53   mbedtls/__pycache__/hmac.cpython-36.pyc
     1393  11-22-2020 01:53   mbedtls/__pycache__/secrets.cpython-36.pyc
     2155  10-17-2020 06:16   mbedtls/cipher/AES.py
     1046  10-17-2020 06:16   mbedtls/cipher/ARC4.py
     1763  10-17-2020 06:16   mbedtls/cipher/ARIA.py
     1471  10-17-2020 06:16   mbedtls/cipher/Blowfish.py
     1637  10-17-2020 06:16   mbedtls/cipher/CHACHA20.py
     1552  10-17-2020 06:16   mbedtls/cipher/Camellia.py
     1322  10-17-2020 06:16   mbedtls/cipher/DES.py
     1409  10-17-2020 06:16   mbedtls/cipher/DES3.py
     1400  10-17-2020 06:16   mbedtls/cipher/DES3dbl.py
      574  10-17-2020 06:16   mbedtls/cipher/__init__.py
     1798  11-22-2020 01:53   mbedtls/cipher/__pycache__/AES.cpython-36.pyc
     1112  11-22-2020 01:53   mbedtls/cipher/__pycache__/ARC4.cpython-36.pyc
     1753  11-22-2020 01:53   mbedtls/cipher/__pycache__/ARIA.cpython-36.pyc
     1441  11-22-2020 01:53   mbedtls/cipher/__pycache__/Blowfish.cpython-36.pyc
     1700  11-22-2020 01:53   mbedtls/cipher/__pycache__/CHACHA20.cpython-36.pyc
     1505  11-22-2020 01:53   mbedtls/cipher/__pycache__/Camellia.cpython-36.pyc
     1361  11-22-2020 01:53   mbedtls/cipher/__pycache__/DES.cpython-36.pyc
     1425  11-22-2020 01:53   mbedtls/cipher/__pycache__/DES3.cpython-36.pyc
     1419  11-22-2020 01:53   mbedtls/cipher/__pycache__/DES3dbl.cpython-36.pyc
      671  11-22-2020 01:53   mbedtls/cipher/__pycache__/__init__.cpython-36.pyc
---------                     -------
    66367                     34 files

The same occurred when trying to install using apple's python3. Here are the contents of the mbedtls directory after installation:
$ ll /Library/Python/3.8/site-packages/mbedtls/
total 32
drwxr-xr-x   7 root  wheel   224 22 Nov 08:59 ./
drwxr-xr-x  23 root  wheel   736 22 Nov 08:59 ../
-rw-r--r--   1 root  wheel   742 22 Nov 08:59 __init__.py
drwxr-xr-x  12 root  wheel   384 22 Nov 08:59 cipher/
-rw-r--r--   1 root  wheel  1563 22 Nov 08:59 hashlib.py
-rw-r--r--   1 root  wheel  1707 22 Nov 08:59 hmac.py
-rw-r--r--   1 root  wheel  1252 22 Nov 08:59 secrets.py

Here are the contents of the build directory when building from source:
$ ll python-mbedtls-1.4.0/build/3.6.12/lib/mbedtls/
total 32
drwxr-xr-x   7 tom  staff   224 22 Nov 01:43 ./
drwxr-xr-x   3 tom  staff    96 22 Nov 01:43 ../
-rw-r--r--   1 tom  staff   742 17 Oct 06:16 __init__.py
drwxr-xr-x  12 tom  staff   384 22 Nov 01:43 cipher/
-rw-r--r--   1 tom  staff  1563 17 Oct 06:16 hashlib.py
-rw-r--r--   1 tom  staff  1707 17 Oct 06:16 hmac.py
-rw-r--r--   1 tom  staff  1252 17 Oct 06:16 secrets.py

Expected behavior
It looks like the there are a number of modules that should be loaded dynamically as shared objects but for some reason these are not being built/installed.  On Ubuntu 18.04LTS, here is how things look with a working installation:
$ ll /usr/local/lib/python3.6/dist-packages/mbedtls/
total 15656
drwxr-sr-x 4 root staff    4096 Oct 29 16:33 ./
drwxrwsr-x 5 root staff    4096 Oct 29 16:33 ../
drwxr-sr-x 3 root staff    4096 Oct 29 16:33 cipher/
-rwxr-xr-x 1 root staff  322144 Oct 29 16:33 exceptions.cpython-36m-x86_64-linux-gnu.so*
-rw-r--r-- 1 root staff    1563 Oct 29 16:33 hashlib.py
-rwxr-xr-x 1 root staff 1154448 Oct 29 16:33 hkdf.cpython-36m-x86_64-linux-gnu.so*
-rw-r--r-- 1 root staff    1707 Oct 29 16:33 hmac.py
-rw-r--r-- 1 root staff     742 Oct 29 16:33 __init__.py
-rwxr-xr-x 1 root staff 1257320 Oct 29 16:33 _md.cpython-36m-x86_64-linux-gnu.so*
-rwxr-xr-x 1 root staff 1654856 Oct 29 16:33 mpi.cpython-36m-x86_64-linux-gnu.so*
-rwxr-xr-x 1 root staff 2351800 Oct 29 16:33 pk.cpython-36m-x86_64-linux-gnu.so*
-rwxr-xr-x 1 root staff 1006928 Oct 29 16:33 _platform.cpython-36m-x86_64-linux-gnu.so*
drwxr-sr-x 2 root staff    4096 Oct 29 16:33 __pycache__/
-rwxr-xr-x 1 root staff 1175248 Oct 29 16:33 _random.cpython-36m-x86_64-linux-gnu.so*
-rwxr-xr-x 1 root staff 1113456 Oct 29 16:33 _ringbuf.cpython-36m-x86_64-linux-gnu.so*
-rw-r--r-- 1 root staff    1252 Oct 29 16:33 secrets.py
-rwxr-xr-x 1 root staff 3155440 Oct 29 16:32 tls.cpython-36m-x86_64-linux-gnu.so*
-rwxr-xr-x 1 root staff  190800 Oct 29 16:33 version.cpython-36m-x86_64-linux-gnu.so*
-rwxr-xr-x 1 root staff 2598216 Oct 29 16:33 x509.cpython-36m-x86_64-linux-gnu.so*
$ python3
Python 3.6.9 (default, Oct  8 2020, 12:12:24)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import mbedtls
>>>

Steps to reproduce

Install mbedtls libraries (e.g. "sudo port install mbedtls")
Use pip3 to install python-mbedtls "sudo -H pip3 install python-mbedtls"
Run python3 and try to import mbedtls

Minimal demo of the problem
$ python3
Python 3.6.12 (default, Sep  6 2020, 12:48:16)
[GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.32.62)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import mbedtls
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/python_mbedtls-1.4.0-py3.6.egg/mbedtls/__init__.py", line 8, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/python_mbedtls-1.4.0-py3.6.egg/mbedtls/cipher/__init__.py", line 12, in <module>
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/python_mbedtls-1.4.0-py3.6.egg/mbedtls/cipher/AES.py", line 11, in <module>
ModuleNotFoundError: No module named 'mbedtls.exceptions'

Other information
macOS Catalina v10.15.7
pip 20.2.4
Python 3.6.12
mbedtls @2.24.0

Hi @earandel and thank you for your report.
I actually develop on MacOS (Catalina) so I know it works on that platform. However, I do not package for MacOS. For that, you should probably see with the MacPorts guys.
Let me have a look anyway. I can probably tell you what is wrong ;)
Cheers,
Mathias

Note: MacOS is not supported--so this is not a bug.

I install everything from source using the scripts under scripts. They are documented.
Maybe simpler in your case (It seemed to work--but keep in mind that my system is tainted because I develop here):
# Get a local copy of the sources
git clone https://github.com/Synss/python-mbedtls.git pymbedtls
cd pymbedtls

# Create a virtual environment where you can install python-mbedtls
python3 -m venv venv
. ./venv/bin/activate
pip install cython

# You probably already have that next one
port install mbedtls

# Now, you need the path where MacPorts installs things on your system: the MacPorts root
port contents mbedtls

# $libdir is the MacPorts root: the part of the path up to .../include/mbedtls or .../lib/mbedtls, etc. above
libdir=PATH_TO_THE_MACPORTS_ROOT
C_INCLUDE_PATH="$libdir/include" LIBRARY_PATH="$libdir/lib" DYLD_LIBRARY_PATH="/usr/lib:$libdir/lib" python setup.py install

But you should really contact MacPorts maintainers or contribute a port. I'd gladly help.

Thank you very much for this... the build nearly worked with the above.  It failed with the following error:
build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/_platform.c:608:10: fatal error:
      'mbedtls/platform_util.h' file not found
#include "mbedtls/platform_util.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.

I worked around it by creating a symlink in the venv/include dir to the mbedtls directory in the ports include directory.  I'm not sure why it failed on this particular header file because it got quite a ways through the build steps before hitting this error so I'm guessing it was able to include some of the mbedtls header files.  Anyway, after that change and the above instructions from you, I was able to complete the build and installation in the virtualenv.  The import of the mbedtls works now so hopefully everything will work now... I have some other dependency issues to work out with some other python modules before I can test further.
I did try the virtualenv approach before as well but didn't install python or setup the above env vars so ended up with the same result as installing on the system.
If macOS is not officially support, this issue can be closed then... I mistook the comment under the Installation section mentioning testing on Linux and macOS to mean the platforms were supported.  Even if not officially supported, your unofficial support was fantastic in resolving my issue! :)  Thanks again.

If macOS is not officially support, this issue can be closed then...

macOS is tested and I would fix bugs quickly. I just do not do packaging—because I believe most people interested in this library use MacPorts or Homebrew. I guess it would not be very difficult to build wheel for that platform. Maybe after I refactored my TravisCI config.

Hi! Issue #36 reported missing files in the archive. That could very well be the cause for the failing installation.

Hi! It was indeed a bug and should now be fixed in 1.4.1. Could you please try once more and report here? Thank you!

Ok, I tried installing without the virtualenv.  It got quite a ways into the build but failed trying to find mbedtls/platform_util.h which is in the /opt/local/include directory installed by MacPorts.  Interestingly enough, it did find the dynamic library early on in the build process now which is in the /opt/local/lib directory so this is an improvement.  I had to manually work around the include file issue before when installing manually using the virtualenv so something must not be quite right with the include rules since it isn't adding /opt/local/include to the compile command.
# pip3 install python-mbedtls
Collecting python-mbedtls
  Downloading python-mbedtls-1.4.1.tar.gz (121 kB)
     |################################| 121 kB 786 kB/s
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
    Preparing wheel metadata ... done
Collecting certifi
  Downloading certifi-2020.11.8-py2.py3-none-any.whl (155 kB)
     |################################| 155 kB 828 kB/s
Building wheels for collected packages: python-mbedtls
  Building wheel for python-mbedtls (PEP 517) ... error
  ERROR: Command errored out with exit status 1:
   command: /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6 /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /tmp/tmp_ox3i77p
       cwd: /private/tmp/pip-install-6kztug_3/python-mbedtls
  Complete output (53 lines):
    loading: '/opt/local/lib/libmbedtls.dylib'
    mbedtls version: mbed TLS 2.24.0
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/3.6.12
  creating build/3.6.12/lib.macosx-10.15-x86_64-3.6
  creating build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls
  copying src/mbedtls/hashlib.py -> build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls
  copying src/mbedtls/__init__.py -> build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls
  copying src/mbedtls/secrets.py -> build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls
  copying src/mbedtls/hmac.py -> build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls
  creating build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls/cipher
  copying src/mbedtls/cipher/ARIA.py -> build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls/cipher
  copying src/mbedtls/cipher/ARC4.py -> build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls/cipher
  copying src/mbedtls/cipher/AES.py -> build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls/cipher
  copying src/mbedtls/cipher/__init__.py -> build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls/cipher
  copying src/mbedtls/cipher/DES3.py -> build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls/cipher
  copying src/mbedtls/cipher/Camellia.py -> build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls/cipher
  copying src/mbedtls/cipher/CHACHA20.py -> build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls/cipher
  copying src/mbedtls/cipher/Blowfish.py -> build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls/cipher
  copying src/mbedtls/cipher/DES3dbl.py -> build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls/cipher
  copying src/mbedtls/cipher/DES.py -> build/3.6.12/lib.macosx-10.15-x86_64-3.6/mbedtls/cipher
  running build_ext
  cythoning src/mbedtls/_platform.pyx to build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/_platform.c
  creating build/3.6.12/temp.macosx-10.15-x86_64-3.6
  creating build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex
  creating build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls
  cythoning src/mbedtls/mpi.pyx to build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/mpi.c
  cythoning src/mbedtls/pk.pyx to build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/pk.c
  cythoning src/mbedtls/tls.pyx to build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/tls.c
  cythoning src/mbedtls/version.pyx to build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/version.c
  cythoning src/mbedtls/_random.pyx to build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/_random.c
  cythoning src/mbedtls/hkdf.pyx to build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/hkdf.c
  cythoning src/mbedtls/x509.pyx to build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/x509.c
  cythoning src/mbedtls/exceptions.pyx to build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/exceptions.c
  cythoning src/mbedtls/_ringbuf.pyx to build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/_ringbuf.c
  cythoning src/mbedtls/_md.pyx to build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/_md.c
  cythoning src/mbedtls/cipher/_cipher.pyx to build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/cipher/_cipher.c
  creating build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/cipher
  building 'mbedtls._platform' extension
  creating build/3.6.12/temp.macosx-10.15-x86_64-3.6/build
  creating build/3.6.12/temp.macosx-10.15-x86_64-3.6/build/3.6.12
  creating build/3.6.12/temp.macosx-10.15-x86_64-3.6/build/3.6.12/temp.macosx-10.15-x86_64-3.6
  creating build/3.6.12/temp.macosx-10.15-x86_64-3.6/build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex
  creating build/3.6.12/temp.macosx-10.15-x86_64-3.6/build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls
  /usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -I/opt/local/Library/Frameworks/Python.framework/Versions/3.6/include/python3.6m -c build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/_platform.c -o build/3.6.12/temp.macosx-10.15-x86_64-3.6/build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/_platform.o
  build/3.6.12/temp.macosx-10.15-x86_64-3.6/pyrex/mbedtls/_platform.c:608:10: fatal error: 'mbedtls/platform_util.h' file not found
  #include "mbedtls/platform_util.h"
           ^~~~~~~~~~~~~~~~~~~~~~~~~
  1 error generated.
  error: command '/usr/bin/clang' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for python-mbedtls
Failed to build python-mbedtls
ERROR: Could not build wheels for python-mbedtls which use PEP 517 and cannot be installed directly

# ls -l /opt/local/include/mbedtls/platform_util.h
-rw-r--r--  1 root  wheel  7727 Aug 27 04:31 /opt/local/include/mbedtls/platform_util.h

Now, the easiest way for you would be to find a simple MacPorts Python port and adapt it to python-mbedtls. You probably only have to change the filename and version and maybe a couple of links and checksums.
Anyway, compiling from source, you will need to tell clang where the headers and the libraries are. You can check at my (shell script)[https://github.com/Synss/python-mbedtls/blob/master/scripts/install-pymbedtls.sh] for how I do that during development.
I also use MacPorts but I install it locally so the following paths may not be entirely correct.
Anyway, for the compilation, you will need at least C_INCLUDE_PATH and LIBRARY_PATH and to use the library, you will need DYLD_LIBRARY_PATH.
So in your case, probably
export C_INCLUDE_PATH=/opt/local/include
export LIBRARY_PATH=/opt/local/lib
export DYLD_LIBRARY_PATH=$LIBRARY_PATH
pip3 install python-mbedtls
# ...
# python3
# import mbedtls

But really, you should do it with MacPorts ;)

I could write a port but I do not want to submit it or maintain it (because of my limited time–nothing else). Would you be interested in maintaining it for MacPorts?
I would write an initial, working port and the maintenance burden would probably be limited to checking for your releases,  updating the version, and reaching out to me when it does not work.

Strangely enough, if I set all the env vars you suggested above, the installation fails with an error that it cannot find the _iconv symbol in libiconv.2.dylib.  However, if I just do
export C_INCLUDE_PATH=/opt/local/include
pip3 install python-mbedtls
# ...
# python3
# import mbedtls

Everything completes successfully.
As for maintaining a port for this, let me read up on what is involved in maintaining a port.  I don't have a lot of extra time but it might not be too time consuming or difficult.

Great that it finally worked for you as well!

Have fixed: mbedtls/_platform.c:1205:10: fatal error: 'mbedtls/platform_util.h' file not found

Refer: Mbed TLS documentation
Steps

download git src: git clone https://github.com/Mbed-TLS/mbedtls.git
build and install: make and make install

default install path: /usr/local

Final worked:
export C_INCLUDE_PATH=/usr/local/include
export LIBRARY_PATH=/usr/local/lib/

pip3 install python-mbedtls

Don't forget to pip install the requirements for mbedtls if it's not installing properly. Before running make and make install:
cd mbedtls
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r scripts/basic.requirements.txt

authors: Synss crifan earandel second-string

repo: Synss/python-mbedtls


text:
🛑 For School is down

In aa71dd3, For School (https://for-school.mioun.repl.co/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: For School is back up in d0e75ab.

repo: Syrup/upl


text:
The execution of testMetabolicTasks failed

Current behavior:

There is a error reported as there is no function of 'importYaml' when running the testMetabolicTasks.
I noticed that in the develop branch, the function importYaml has been replaced by readYAMLmodel, but in the testMetabolicTasks function, importYaml has not been replaced.
In the recent Actions, the same situation has also occurred, but it does not reported the task failed as this error was not caused by the failed metabolic tasks. That's why we didn't catch the error.
Propose:
Change the line 23 in the funtion of testMetabolicTasks into:
ihuman = readYAMLmodel(ymlFile, true);

Could you please handle this error? @edkerk

repo: SysBioChalmers/Human-GEM


text:
Either

https://github.com/T-Regx/T-Regx/issues/43

either()->with()->orElse()
either()->callback()->orElse()
either()->by()->group()->orElse()
either()->by()->group()->map()->orElse()
And change existing ones to
by()->group();
by()->map();

OK, this is eventually a bad idea, because:
pattern()->replace()->either()->by()->group()->orThrow()->orThrow()

would be really unreadable.
pattern()->replace()->orThrow()->by()->group()->orThrow();

has much more sense.

repo: T-Regx/T-Regx


text:
Romanian translation

Hello, i translated this app in romanian from weblate. So, can you add it in the next update if posibile?

Hi, yup, it already merged, as you can see :)

And thanks for your work!👀

Thank you, and you're welcome 😄

Hello, i updated the romanian translation, so can you apply it on the next update please? @T8RIN

Of course, but 2.3.1 is an experiment without changes, wait for it in 2.3.2 👀

Also i added some new strings recently

Lol, already? :)

Lol, already? :)

Yup :) I'll push the changes now, wait 👀

And translated the string that you added

Thanks!


text:
Auto privacy blur background

It would be nice to have it autodetect that background and give then the options to what degree you want it blurred without having to do it manually.
If this is already in there and I couldn't find it I apologize for being a moron.

It can't be done automatically , only of you use mask filters you can select which areas will be filtered

Closed in favor of #1121, but it's possible now using image stacking option, just make blurred one, one with erased bg and stack them together


text:
Rotation of Individual Images in PDF

Is your feature request related to a problem? Please describe.
I would like to rotate my images as some of images come rotated.
Describe the solution you'd like
A feature on the images to pdf page where I can individually rotate each image.
Describe alternatives you've considered
Manually rotating each image in my photos app but this is too time consuming and annoying.

After some investigations i can say that for now there is only a way just rotating needed pictures manually


text:
Coral Extract Workflow creating duplicate instances

To prevent duplication, we will need to persist coral ids for those that have instances created. Then performing a diff of incoming coral ids with the coral ids with created instances.

repo: TAMULib/fw-registry


text:
Unblock the Dev Site PRs

Through a combination of:

Branch protection rules on main
Status Checks
Other configs

...merging is either heavier in process than we want or blocked. Resolve this.
Discord Discussions on this: https://discord.com/channels/937858703112155166/1178377894372843560

Closed via https://discord.com/channels/937858703112155166/1178377894372843560/1179576938004758678


text:
Error: "Key must be 256 bit for alg A256CBC" with next-auth@5.0.0-beta.13

Hi, first thanks so much for this library! Exactly what I needed.
I'm trying to use this library with next-auth@5 and running into some errors. Here is what I've got:
app = FastAPI()

JWT = NextAuthJWT(
    secret="123...",
    cookie_name="__Secure-authjs.session-token",
    csrf_prevention_enabled=False,
    info=b"Auth.js Generated Encryption Key (__Secure-authjs.session-token)",
)

@app.post("/chat")
def chat(jwt: Annotated[dict, Depends(JWT)], question: QuestionPayload):
  ...

But when I hit the /chat endpoint, I get the error below. The important part of the error message seems to be: Key must be 256 bit for alg A256CBC. I tried finding the length of the key by printing the length of it here but the value is 32 which checks out since 32 * 8 = 256. Any ideas why I'm getting this error?

Expand for Error
/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/fastapi_nextauth_jwt/fastapi_nextauth_jwt.py:76: RuntimeWarning: NEXTAUTH_URL not set
  warnings.warn("NEXTAUTH_URL not set", RuntimeWarning)
INFO:     Started server process [68495]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
len of self.key: 32
Key must be 256 bit for alg A256CBC
INFO:     127.0.0.1:50048 - "POST /chat HTTP/1.1" 500 Internal Server Error
ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/jose/jwe.py", line 178, in decrypt
    plain_text = _decrypt_and_auth(cek_bytes, enc, cipher_text, iv, aad, auth_tag)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/jose/jwe.py", line 231, in _decrypt_and_auth
    encryption_key, mac_key, key_len = _get_encryption_key_mac_key_and_key_length_from_cek(cek_bytes, enc)
                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/jose/jwe.py", line 252, in _get_encryption_key_mac_key_and_key_length_from_cek
    encryption_key = jwk.construct(encryption_key_bytes, encryption_alg)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/jose/jwk.py", line 79, in construct
    return key_class(key_data, algorithm)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/jose/backends/cryptography_backend.py", line 456, in __init__
    raise JWKError(f"Key must be 256 bit for alg {algorithm}")
jose.exceptions.JWKError: Key must be 256 bit for alg A256CBC
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/fastapi_nextauth_jwt/fastapi_nextauth_jwt.py", line 119, in call
decrypted_token_string = jwe.decrypt(encrypted_token, self.key)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/jose/jwe.py", line 182, in decrypt
raise JWEError(e)
jose.exceptions.JWEError: Key must be 256 bit for alg A256CBC
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/uvicorn/protocols/http/h11_impl.py", line 407, in run_asgi
result = await app(  # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/uvicorn/middleware/proxy_headers.py", line 69, in call
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/fastapi/applications.py", line 1054, in call
await super().call(scope, receive, send)
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/starlette/applications.py", line 123, in call
await self.middleware_stack(scope, receive, send)
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/starlette/middleware/errors.py", line 186, in call
raise exc
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/starlette/middleware/errors.py", line 164, in call
await self.app(scope, receive, _send)
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/starlette/middleware/exceptions.py", line 65, in call
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 756, in call
await self.middleware_stack(scope, receive, send)
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 776, in app
await route.handle(scope, receive, send)
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 297, in handle
await self.app(scope, receive, send)
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 77, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
raise exc
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
await app(scope, receive, sender)
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 72, in app
response = await func(request)
^^^^^^^^^^^^^^^^^^^
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/fastapi/routing.py", line 269, in app
solved_result = await solve_dependencies(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/fastapi/dependencies/utils.py", line 602, in solve_dependencies
solved = await run_in_threadpool(call, **sub_values)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/starlette/concurrency.py", line 42, in run_in_threadpool
return await anyio.to_thread.run_sync(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/anyio/to_thread.py", line 56, in run_sync
return await get_async_backend().run_sync_in_worker_thread(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
return await future
^^^^^^^^^^^^
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/anyio/_backends/_asyncio.py", line 851, in run
result = context.run(func, *args)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/stickb/Library/Caches/pypoetry/virtualenvs/non-package-mode-cN-H_gxH-py3.12/lib/python3.12/site-packages/fastapi_nextauth_jwt/fastapi_nextauth_jwt.py", line 123, in call
raise InvalidTokenError(status_code=401, message="Invalid JWT format")
fastapi_nextauth_jwt.exceptions.InvalidTokenError

And this is the request I'm using:
curl 'http://0.0.0.0:8080/chat' \
  -H 'accept: */*' \
  -H 'accept-language: en-US,en;q=0.9' \
  -H 'cache-control: no-cache' \
  -H 'content-type: application/json' \
  -H 'cookie: __Host-authjs.csrf-token=949584998a9d1e544e583f952a4d1975154f467b0c409e4ae5a8f7b474e38573%7C17aabb54409fb3f2594bf6872e8d3ca6711ee7b4bd045cf3f9fbeae53127bc7a; __Secure-authjs.callback-url=https%3A%2F%2Flighthouse-dev.stickb.people.aws.dev%2Fcatalog; __Secure-authjs.session-token=eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2Q0JDLUhTNTEyIiwia2lkIjoiSFZ3TEtwNXVEcEdtbEVkQ19ubk5iLTBVeU84QnNvc3RQeGczd3JlRzd2THd3SjBwWGU4SnlQUWQwNXA1MkV3YV9uazBmLUVTVnA5VG01dTNnTDNoM2cifQ..zrA_o-gX4_YZn1tNSNv6fQ.jsvEbGZLRnvRHwQ0Gxp6sIz_yPbGcPzIu5SCNC82BHsn8b9a0Q_Ev9jp2WjCjjBCcHRCbGlVd0Q3vc7JpfADCjb1sW4Lk4tYniSntta_B_4Zp0BiXB5Ph2y_NZ7nrvMMDWaUIeGkHK-QcQMsFgm0NGrpf2NO9DXJQRopODskHftEAzHlDXwtZzVmvVwwc4thNteZG2saYHlmX2XGU8GSFIgjDvbkhZL8t1SpFStE-EEhBeHEVWHHXCjcx1wPzD5E5uEnLMLoxpz2vbPzTOblQp3h5ebgj70xu2OLb6NsxFxP7nsL-6RubDbwWWe5V7aGHQPOUkyS9RFfshbBVWMlX-p-5x8OGcH17x5gNRSIfaqzBkFuxkhz1sH5LcEU0HeCFzEIqoR_Sen5PM2b-wt085pC2k_EZ6KkfWbcAHHAOOVPIm1l9_FowdBa_CqtuqFHncglubFGjomOOPLsQRczaC_z97EqNMdDDNIEaVLSIqYlDdRcmu1P6j7OMPv7uBlbdUqvlawqcwiMwUd34FbeV_cO3lAG5MiYILia1DKmkfxjZ9a9iQ_71ueEUmxfUwlq9H-S7kvEDgOLFKKI-qhy2RcV5J1OELS2X2Ga86wsxANnQO45S6qak7qT1NDK6mgovO1TKwzPp4GNvX61z0VzPxPHQEv_kWPQP6XTx6QeuT8UkFKhdwGCsFZQn3qp2nosNWtsr0f6Z4lmVHAo5f3GF8HoNJoKle9FFOWxiuKR6mkF6vxXUUS28awO5jjMvdmk7xauBMrMDI5YKTy2vscMECae_YrV_1cqeBSf9oN0-2j3qccboTYOx0aJZR9A5MgS-LSaralztXNxsg_7YzWV8cOA_RbTQCGtxoIO8rFjeG2LD1S-InUvOnA-q-qI_BnQoBWY4GFmL21O68TxlCD_Vz8qV_BgWPgG0yI2o9Q3DhcuXNk-tJqa5fcHvBElzj3d9GfYIaSZRtqIpOIMQzkAXriWTY98XsBubirHXW65dX3EQit2Ose7LEZcpXanYHrABmIsP4NgL3D3PVdA8F0UAyy-YDZi1PJbpoLQa9xt6NWsCZh2PDmGNTGudBU8QH4ixh5i8tV7jQb6XLlroUS8Y78w6db7ufDhCJ2Swn5wsKHPNSipovVwPClixM39zpVGpGLaQYh0utuSCvhDNqr13_ni_nK8fAjwByzFeFdz6NG2-agjeF3Dwzr4V8s20YV7gYJOK1aqzUdmadhQYylSIKdQnzx50Lr7zKvBygMDhQYvcaX3aHoAoW6YdPzPCjfMyniOswWfkMSfA45w5PVCySp4jwChrRIKkQCAHb5uh42P8IRfukxb1yC1a6FxG9SmqRWzZhaTK-fDqNp0vuD6epamng8MmJIUvfItdExjb1yDaSluC3lC86vxGjHBHvOK-Fl87S2ahsyj1edT2oVF3ta_EbczANKYuhqy9QY_SdpfHc6rTRPwp0EGsMy3koGZ2F-cSc_LcAg502bjVvzT1S_rWuTMVoIv_SoSPxY6kzvmCeMB-ba4kVR76AzgpLCZdGmVAFfG1DvZd2gtylL5vPqpI5-_U06KJCaLaV5sdilPKYGCf6oaH9Kqv9sYvdQct83d2D-AgalDMvzc04zLpBsLLbLqBjNLej2fuVVPsNgg36AWaSffcw-thJiXTb_Q-_gY_b-LanwJRKgP3ulFnHFGNA0YJw5RlcLMUaqI8q8bY-vTpAXuf9DjAfYyZXo3Qy9RM_P49tvvPVgy_CdJUWBZ4vLEMPHlq-3f8Jwgw64.FKMiJq6nzclISbHgqwaO3qeHelRSysGumFyngGkdtHs' \
  -H 'origin: https://lighthouse-dev.stickb.people.aws.dev' \
  -H 'pragma: no-cache' \
  -H 'priority: u=1, i' \
  -H 'referer: https://lighthouse-dev.stickb.people.aws.dev/catalog' \
  -H 'sec-ch-ua: "Chromium";v="124", "Google Chrome";v="124", "Not-A.Brand";v="99"' \
  -H 'sec-ch-ua-mobile: ?0' \
  -H 'sec-ch-ua-platform: "macOS"' \
  -H 'sec-fetch-dest: empty' \
  -H 'sec-fetch-mode: same-origin' \
  -H 'sec-fetch-site: same-origin' \
  -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36' \
  --data-raw '{"user_question":"Tell me about purchase requests"}'
Internal Server Error%

After seeing the below note from Authjs docs:

Note Auth.js JWTs are meant to be used by the same app that issued them. If you need JWT authentication for your third-party API, you should rely on your Identity Provider instead.

I've decided to add my identity providers id token to the user session payload and send that to FastAPI to validate instead. Leaving this open in case others run into same issue and want to resolve.

Hi @bestickley,
Thanks for reporting this! Looks like Auth.js changed their default encryption algorithm and key derivation in v5, which my code does not take into account. I'll see if I can fix it!

Hey @TCatshoek, thanks for the response! Default encryption algo could have changed, but I think my issue was that I included Cognito's id token in the payload which isn't compliant with payload cryptographically (don't totally understand it). Removing the id_token from the payload I think will resolve my issue.
I want to be able to change the cookie name and csrf cookie name dynamically based on request, so I ended up implementing my own solution. I used some of the code from this library, so thank you!

I added support for Auth.js v5 in #9
I'll do a release soon, if you have time it would be great if you could give it a try!

Fixed in #9,
Feel free to reopen if you run into any more issues!

Wow. @TCatshoek, that is the fastest turn around I've ever seen in open-source. 👏👏👏
You should win maintainer of the year award. This works perfectly. THANK YOU!

authors: TCatshoek bestickley

repo: TCatshoek/fastapi-nextauth-jwt


text:
显示报错NameError: name 'round_up' is not defined

运行信息如下：
Traceback (most recent call last):   File "D:\ChatGLM3_Package\ChatGLM3\techshrimp\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script     exec(code, module.__dict__)   File "D:\ChatGLM3_Package\ChatGLM3\main.py", line 11, in <module>     import demo_chat, demo_ci, demo_tool   File "D:\ChatGLM3_Package\ChatGLM3\demo_chat.py", line 9, in <module>     client = get_client()   File "D:\ChatGLM3_Package\ChatGLM3\techshrimp\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 212, in wrapper     return cached_func(*args, **kwargs)   File "D:\ChatGLM3_Package\ChatGLM3\techshrimp\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 241, in __call__     return self._get_or_create_cached_value(args, kwargs)   File "D:\ChatGLM3_Package\ChatGLM3\techshrimp\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 267, in _get_or_create_cached_value     return self._handle_cache_miss(cache, value_key, func_args, func_kwargs)   File "D:\ChatGLM3_Package\ChatGLM3\techshrimp\lib\site-packages\streamlit\runtime\caching\cache_utils.py", line 321, in _handle_cache_miss     computed_value = self._info.func(*func_args, **func_kwargs)   File "D:\ChatGLM3_Package\ChatGLM3\client.py", line 21, in get_client     client = HFClient(MODEL_PATH)   File "D:\ChatGLM3_Package\ChatGLM3\client.py", line 102, in __init__     self.model = self.model.half().quantize(4).cuda()   File "C:\Users\Administrator/.cache\huggingface\modules\transformers_modules\THUDM_chatglm3-6b\modeling_chatglm.py", line 1205, in quantize     self.transformer.encoder = quantize(self.transformer.encoder, bits, empty_init=empty_init, device=device,   File "C:\Users\Administrator/.cache\huggingface\modules\transformers_modules\THUDM_chatglm3-6b\quantization.py", line 155, in quantize     layer.self_attention.query_key_value = QuantizedLinear(   File "C:\Users\Administrator/.cache\huggingface\modules\transformers_modules\THUDM_chatglm3-6b\quantization.py", line 139, in __init__     self.weight = compress_int4_weight(self.weight)   File "C:\Users\Administrator/.cache\huggingface\modules\transformers_modules\THUDM_chatglm3-6b\quantization.py", line 76, in compress_int4_weight     blockDim = (min(round_up(m, 32), 1024), 1, 1) NameError: name 'round_up' is not defined

能提供最小复现吗

我遇到了同样的问题。装一下cpm_kernels库之后就没问题了。
pip install cpm_kernels

我遇到了同样的问题。装一下cpm_kernels库之后就没问题了。 pip install cpm_kernels

然后又提示了
RuntimeError: Library cudart is not initialized

我也碰到过同样的问题，尝试过pip install cpm_kernels，也尝试过把try 下面的import注释掉，还是一样报错，后面检查了cpm_kernels.kernels.base文件，是有round_up这个方面的，就单独引入这个方面，from cpm_kernels.kernels.base import round_up，这回没报错了，希望对你有用。

authors: MyPoet blmz duolabmeng6 hxcjack zRzRzRzRzRzRzR


text:
Bug of finetuning code? the attention mask of padding is not 0.

Hi,
I am using your finetuning code of seq2seq customization.
However, in data initialization stage class CustomizationDataset,  the source tokens are padding to the length of max_src_length (line 834) and I find that the attention_mask is set to the length of  source tokens with padding tokens (line 858). See below code snippet.
        # tasks/seq2seq/dataset.py
        ## line 834
        if len(source_tokens) < self.max_src_length:
            source_tokens = source_tokens + [pad_id] * (self.max_src_length - len(source_tokens))
        sep = len(source_tokens)
        ## line 858
        sample = {'text': np.array(tokens, dtype=np.int64), 'target': np.array(target_ids, dtype=np.int64),
                  'attention_mask': np.array(sep, dtype=np.int64),
                  'loss_mask': np.array(loss_mask, dtype=np.int64),
                  "position_id": np.array(position_ids, dtype=np.int64), "uid": example.guid}

So, this leads to that the attention mask value of padding token is set to 1, and thus source token can 'see' the padding token.
Is it correct? Maybe the code around line 834 should be changed to the below code to make padding token invisible to source tokens?
        # tasks/seq2seq/dataset.py
        ## line 834
        sep = len(source_tokens)
        if len(source_tokens) < self.max_src_length:
            source_tokens = source_tokens + [pad_id] * (self.max_src_length - len(source_tokens))

Thanks!

This strategy is the same as that in our seq2seq experiments. Empirically we found that the model learned to ignore the padding tokens with a specific id after finetuning.

Now you can add --mask-pad-token argument to set the attention mask of padding to 0.

Hi, i found that the padding mask for the target part was not set to 0. Is it more reasonable to set it to 0 during padding?

repo: THUDM/GLM


text:
version of Tensorflow

Can you provide me with the versions of your TensorFlow, Keras, and Guacamol? I encountered an error while conducting FCD testing, which seems to be related to TensorFlow. As I am not familiar with TensorFlow, I need your help. Thank you!

screenshot:

repo: THUNLP-MT/PS-VAE


text:
Begrensninger i svar på evalueringsskjemaer for arrangementer

Brukere kan kun svare på evalueringen hvis de har deltatt på arrangementet, hvis arrangementet har ett slikt skjema.

duplicate of #211

Duplikat

authors: Eirsteir olros

repo: TIHLDE/Lepton


text:
Feature: Patient Record

Feature Description
This feature allows healthcare professionals to easily access patient progress reports and records without having to begin an encounter to do so. From the main patient screen, a healthcare professional will easily be able to select which progress report they would like to view, as well as the information for any related children to an adult.
Progress reports supported:

Acute Illness
Antenatal
Standard Pediatric
Demographics

The feature also includes new screens to select a specific pregnancy or acute illness incident in the past.
Design Assets

Patient Record - located at the top of this figma page

Personas

Nurse
CHW

User Stories
Nurse Story
As a Nurse at a Health Center seeing a variety of patients every day, I need a way to easily access a patients history so that I can be more aware of any past health issues that may continue to affect them, review historical data with the patient, and ensure proper care.
CHW Story
As a CHW I often refer my patients to health centers for further care. I need a way to easily access my patient's history so I can see what treatment was provided at the health center, test results, and general patient progress so I can better support them.
Tracked Issues

#72
#73
#74
#75
#76
#77

Quick video walkthrough can be found here

@jeanette-pelizzon
some immediate questions/comments that pop up:

Is there is a differentiation between "closed" and "open" records on the individual reports page?
https://github.com/TIP-Global-Health/eheza-app/issues/73 should be 4 issues:

Listing children
Overview page (resolved, ongoing)
Display individual report
Begin an encounter (I see this is already a [separate issue](https://github.com/TIP-Global-Health/eheza-app/issues/76, so it can just be referenced).

Same applies to https://github.com/TIP-Global-Health/eheza-app/issues/74 and https://github.com/TIP-Global-Health/eheza-app/issues/75^^
Logic for navigating back and forth can be 1 issue for all
The antenatal progress report and the demographic reports have design changes. Those should be each 1 issue. The logic for displaying them as part of patient records is missing for https://github.com/TIP-Global-Health/eheza-app/issues/77

authors: isapisa jeanette-pelizzon

repo: TIP-Global-Health/eheza-app


text:
WIP - Child Scorecard Icons Integration

#778 (Comment)


text:
Pridať funkcionalitu nahrávania súborov

Potrebujeme implementovať funkcionalitu, ktorá umožní používateľovi nahrať súbor cez systémový súborový prehliadač, napríklad po kliknutí na tlačidlo Upload Command File.

Nice 🤩🤌

A ten subor niekde skopiruje do adresaru projektu alebo proste bude drzat referenciu na neho?

Cool! Vyzera dobre!

A ten subor niekde skopiruje do adresaru projektu alebo proste bude drzat referenciu na neho?

Mozme spravit v ProcessFile(string path) funkcii oboje, zatial ani jedno :D
aktualne to len pri button clicku otvori folder browser, tam si vyberies txt file a ulozi to do filePath cestu v tvojom pc k tomu textaku.
Potom callne sa ProcessFile(string path) ktora zatial nic nerobi

Aha, okay, dobre. Diki za info!

authors: faresur lexendo tyoma-ka

license: Unlicense


text:
Please add "path to saved file" variable to "Generator" settings

I hope, I'm not getting annoying with all the bug reports and feature requests lately. :) Would it be possible to add the path to the file, if the opened file is saved somewhere (and fall back to /tmp if the file is not saved yet) to the possible variables list in the generator settings? Then one could have the exported image right next to the .dot file which is usual in most TeX editors for example. Currently I need to compile the .dot file by hand if I don't want to search for the temporary output file in /tmp. Thanks!

I hope, I'm not getting annoying with all the bug reports and feature requests lately. :)

Kidding me? You're the one and only user. This is exciting. :))
At this point you may ask to include this silly cat gif and I would probably do it.

Would it be possible to add the path to the file, if the opened file is saved somewhere (and fall back to /tmp if the file is not saved yet) to the possible variables list in the generator settings?

I propose this:

simple mode: the program works like it does now, like a text editor (it only keeps track of the text file); this is useful for .dot files inside source code trees where you want the actual image creation to be part of the build process

entangled mode: the program always saves the image along with the .dot file

either option to save / load the path for the image from the comments at the top of the .dot file
or option to always save with same path and name but different extension
or option to ask the user for image path on first save
or option to do nothing until first "Save As..." image occurs.

Currently I need to compile the .dot file by hand if I don't want to search for the temporary output file in /tmp.

If you right-click on the image you have a save-as option.

Thanks!

You too.

Your proposals sound like a lot of coding work to implement them, I would be already very happy if there is a variable holding the saved file path. But of course your idea is even better!

If you right-click on the image you have a save-as option.

Yep, but then I would have to "save-as" many times. I want to generate .svg files with hyperlinks and have them open in a web browser to test if everything is working as intended. In principle I could just open the file in /tmp with the browser in the beginning of a working session and that's it (the file would be autoupdated whenever the code changes, which is nice), I'm just used to have the output in the same folder as the code file from TeX editors. :)

There must be a misunderstanding somewhere.
The path towards the generated file is already in the generator settings: $OUT.
The generator page is a very simple thing that - maybe - should be read from bottom to top: you set the input (saved for arguments in $IN) and the output (saved for arguments in $OUT) .
Those get used in the arguments.
Arguments are used with to the program to generate content.

Yep, I figured that out, but I couldn't find an option to set $OUT to the path where the .dot file is saved. The only variable which can be used in $OUT is $TEMP which is set to /tmp in Linux. I'd like to have something like $OUT=$PATH_OF_SAVED_FILE/$NAME_OF_SAVED_FILE.svg where $PATH_OF_SAVED_FILE is not /tmp but the path which I chose when saving the .dot file.

Ok, I see what you mean now.

Following variables are going to be available:

ED_FILE_PATH: path of the file in editor (TEMP path if the file is new)
ED_FILE_NAME: name of the file in editor
CD: current directory of the program
DATE: current date
TIME: current time
DATETIME: current date and time

Perfect, thanks a lot!

repo: TNick/dot-editor


text:
Modification of point cloud fusion method

First of all, I want to thank you for your great work and express my gratitude for your open-source code.
The paper mentioned that the baseline is MVSTER. After adding the epipolar transformer, the score on the DTU data set has been greatly improved. However, I found that the dypcd script used in your code is different from that of MVSTER. We know that even for the same depth map, using different fusion methods or fusion parameters, the results will be very different. In your ablation experiments, are you using the exact same fusion script as MVSTER? Would such an experiment be fair if different fusion scripts were used?
I tried deleting the ET module, and as long as I used the "updated" fusion script, I could still achieve similar scores. Here are some of my results. (ET means using fusion scripts from your code repository, and regular means using scripts from MVSTER and other similar methods.)

experiment
fusion method
accuracy
completeness
overall

MVSTER (original paper)
regular
0.350
0.276
0.313

MVSTER (ET paper)
regular
0.351
0.284
0.318

ET-MVSNet (ET paper)
ET
0.329
0.253
0.291

ET-MVSNet (my PC)
ET
0.3291
0.2567
0.2929

ET-MVSNet but delete ET
ET
0.3272
0.2590
0.2931

ET-MVSNet but delete ET
regular
0.3514
0.2832
0.3173

The changes to the fusion script played a big role in the model's performance on the DTU dataset.
I'm looking forward to your explanation about it, thank you!

Thank you for your interest in our work. First of all, fusion methods are not unified in the MVS field, and different MVS methods adopt different fusion methods. Regarding our revised fusion method, we have mentioned it in the supplementary material and released the code. Secondly, the baseline we use is not the original mvster, for example, we did not use its monocular depth estimation branch, and in our experiments, the ET module can improve the performance of depth and point cloud metrics on both dtu and TT datasets.

Thank you for your reply!
Yes, I understand that compared to MVSTER, your code has deleted the MDE module, which is why your baseline is worse than the original article. It is totally reasonable.
I know that different methods use different fusion strategies, such as gipupa, dypcd, etc. Have you applied this better fusion strategy to MVSTER in the ablation experiment?

Apologies for the late reply, as we have been occupied with other projects recently. Our experiments were conducted following the mvster approach. Different MVS methods employ various fusion techniques, as you mentioned, such as pcd, dypcd, gipuma,open3d,etc. In addition, there are also some customized fusion methods. Effectively fusing deep maps into point clouds is a significant challenge and key issue within the MVS field. It's hard to definitively assert which fusion method is universally best since performance can vary depending on the dataset and the specific methodology used. The fusion method we adopted is based on the phenomena observed in the depth output and point cloud generated by our method. If you are a researcher in the MVS field, you could consider trying out the fusion method we employed. Best wishes！

Thank you for your response, however, it does not address my concerns.
In the baseline results, it seems that you utilized a default fusion method, but for your proposed ET module, there appears to have been a switch to your updated fusion method. This change seems to have led to performance improvements being attributed to the ET module, which may not entirely reflect its true impact. The MVSTER method achieves comparable scores using the updated fusion method alone on DTU, without the need for the ET module. Therefore, attributing the performance gains solely to the Epipolar Transformer in the ablation study seems unjustified.

authors: TQTQliu YuhsiHu

repo: TQTQliu/ET-MVSNet


text:
Persistance layer

Hi there!
Your state management solution seems really cool! Can you please share your ideas about a persistance layer?

Hi !
You can add persistance to any optic this way:
const onValue = createState(initialValue).derive(
  (value) => {
    const storedValue = JSON.parse(localStorage.getItem(key));
    return storedValue ?? value;
  },
  (newValue) => {
    localStorage.setItem(key, JSON.stringify(newValue));
    return newValue;
  },
);

For now it's not possible with asynchronous Api's like RN AsyncStorage, but I'm working on an AsyncOptic primitive with native support for promises.
I'll take the time to properly document all of that.

Thanks a lot!

repo: TSOptics/optics


text:
Remove CLI

Remove https://github.com/TUCAN-nest/SDF-pipeline/blob/f814777df3a14dc7fbdeb63cb9b44c71b2c76375/src/sdf_pipeline/drivers.py#L13. The CLI is a premature abstraction that didn't turn out to be that useful in practice.
Adapt examples accordingly.

Closing with e036913c45184095add528ab4866aa037deebccb.

repo: TUCAN-nest/SDF-pipeline


text:
Add possibility to set the npc in private mode

My suggestion is to add the possibility to put the npcs in private and that they need certain permission to be displayed for example the skyblock npc to be displayed needs you to have the adyeshach.npc.skyblock permission.
and a few questions the plugin has api? and do you plan to upload the plugin to spigot? and is there any discord group or some site apart from github where to ask for support and that is something faster?

你好 Zarkness,
Adyeshach 拥有完整的API，可以通过 AdyeshachEntityVisibleEvent 事件来实现你的需求。
    @EventHandler
    fun e(e: AdyeshachEntityVisibleEvent) {
        if (e.visible && e.entity.id == "skyblock_npc" && !e.viewer.hasPermission("adyeshach.npc.skyblock")) {
            e.isCancelled = true
        }
    }

目前并不打算发布到 Spigot，因为这个插件是知识付费的。以及我们面向的用户多在中国地区，不提供 Discord 服务。

Hi Zarkness,
Adyeshach has complete API, you can achieve your needs through the AdyeshachEntityVisibleEvent event.
    @EventHandler
    fun e(e: AdyeshachEntityVisibleEvent) {
        if (e.visible && e.entity.id == "skyblock_npc" && !e.viewer.hasPermission("adyeshach.npc.skyblock")) {
            e.isCancelled = true
        }
    }

It is not currently planned to be uploaded to spigot, because this plugin is paid for knowledge. And most of our users are in China, don't provide discord service.

You can ask questions in issue page, or email me.

TABOO PROJECT

repo: TabooLib/Adyeshach


text:
未知错误：请检查日志

日志：[2022-05-10 09:16:33] production.ERROR: Type error: Argument 3 passed to Lcobucci\JWT\Signer\Hmac::doVerify() must be an instance of Lcobucci\JWT\Signer\Key, null given, called in /www/wwwroot/kw.tbsursuit.cn/vendor/lcobucci/jwt/src/Signer/BaseSigner.php on line 2 {"exception":"[object] (Symfony\Component\Debug\Exception\FatalThrowableError(code: 0): Type error: Argument 3 passed to Lcobucci\JWT\Signer\Hmac::doVerify() must be an instance of Lcobucci\JWT\Signer\Key, null given, called in /www/wwwroot/kw.tbsursuit.cn/vendor/lcobucci/jwt/src/Signer/BaseSigner.php on line 2 at /www/wwwroot/kw.tbsursuit.cn/vendor/lcobucci/jwt/src/Signer/Hmac.php:2)

.env文件：
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=kw
DB_USERNAME=kw
DB_PASSWORD=xwd6k********
下面配置无需修改
APP_ENV=local
APP_KEY=base64:0C/I4qLFR7nY6ZPm7ppGJExGGG82JN06kKCoMcnJxkc=
APP_DEBUG=false
APP_LOG_LEVEL=error
APP_LOG=daily
BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=array
SESSION_LIFETIME=120
QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

下面是我的log
card_fpm-fcgi-2022-05-10.log
:

大概率.env文件不对, 自己检查一下重新设置
------------------ 原始邮件 ------------------
发件人:                                                                                "Tai7sy/card-system"                                                                                @.>;
发送时间: 2022年5月10日(星期二) 上午9:54
@.>;
@.***>;
主题: Re: [Tai7sy/card-system] 未知错误：请检查日志 (Issue #539)
下面是我的log
card_fpm-fcgi-2022-05-10.log
:
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

大概率.env文件不对, 自己检查一下重新设置
…
------------------ 原始邮件 ------------------ 发件人: "Tai7sy/card-system" @.>; 发送时间: 2022年5月10日(星期二) 上午9:54 @.>; @.>; 主题: Re: [Tai7sy/card-system] 未知错误：请检查日志 (Issue #539) 下面是我的log card_fpm-fcgi-2022-05-10.log : — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.>

看过了，应该是对的，密码也是对的
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=kw
DB_USERNAME=kw
DB_PASSWORD=xwd6k7taAkP8emsh
下面配置无需修改
APP_ENV=local
APP_KEY=base64:0C/I4qLFR7nY6ZPm7ppGJExGGG82JN06kKCoMcnJxkc=
APP_DEBUG=false
APP_LOG_LEVEL=error
APP_LOG=daily
BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=array
SESSION_LIFETIME=120
QUEUE_DRIVER=sync
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

风铃大佬，我看到这里DB_SOCKET是空的，是不是要配置.sock文件啊

这位小伙伴~ 你好呀~
首先，在搭建且无需特别修改需求的时候请不要修改其他文件。因为在修改其他文件的时候往往反而会造成坏的影响！
在宝塔面板中，如果按照教程去做的话通常不会遇到问题！
我看到你有修改 “database.php”，你貌似是使用过 ThinkPHP 开发的一些程序需要手动修改数据库信息的思路去操作。但是不需要在这里进行修改！应当修改网站目录下的 .env 文件！
因为个人原因，暂时无法观看日志。请先根据我下面说的进行自查，自查后如果依旧无果请再继续回复。
1、运行环境，PHP 7.3，MySQL 5.7；不仅仅是要检查版本，同时也要检查运行状态等。是否是运行状态都要去检查一次。
2、网站配置，是否有关闭 open_basedir（防跨站攻击），以及重写规则（伪静态）。
Nginx 服务器配置规则，宝塔请直接复制到伪静态处粘贴保存：
location / {
    try_files $uri $uri/ /index.php?$query_string;
}

3、环境变量，这里一定要重点检查！很多人都载在这里！
打开 env 文件，确保里面输入的内容与宝塔后台一致！
一定要看清大小写以及是否有多余空格！
宝塔在部分情况会自动将数据库名转换为小写
且数据库名、用户名、密码会与当时设定的出现一些差异！请务必核对是否正确！
DB_DATABASE 是数据库名
DB_USERNAME 是用户名
DB_PASSWORD 是密码
完成后保存。再使用下面命令构建数据库：
php artisan key:generate && php artisan migrate:fresh --seed && php artisan cache:clear
完成后进入后台，如果依旧出现这个问题
① 请到浏览器【开发者工具】-【网络】-【Fetch/XHR】中截图
② 请到后台目录 storage 中拿日志并提交进来
当我有时间后我会来看 或者风铃会回复解决
通常都是低级错误，几乎重装都可以解决！
请一定要看清安装文档！
如有问题，也可以通过 Telegram 联系我~
GitHub & Telegram : @BiliPrk
Twitter: @bili_prk
[AD] 派星卡自动发卡平台：https://www.paixingka.com/

REPLENISH!! I THINK, AT THE MOMENT YOUR WEBSITE SHOULD REDEPLOY THE CODE!

好的，谢谢，我去尝试一下
SISUBENY_comprehensive the x-coordinate is 356.6542546,654.56486,684.6458
---原始邮件---
发件人: @.>
发送时间: 2022年5月11日(周三) 晚上7:15
收件人: @.>;
抄送: @.@.>;
主题: Re: [Tai7sy/card-system] 未知错误：请检查日志 (Issue #539)
这位小伙伴~ 你好呀~
首先，在搭建且无需特别修改需求的时候请不要修改其他文件。因为在修改其他文件的时候往往反而会造成坏的影响！
在宝塔面板中，如果按照教程去做的话通常不会遇到问题！
我看到你有修改 “database.php”，你貌似是使用过 ThinkPHP 开发的一些程序需要手动修改数据库信息的思路去操作。但是不需要在这里进行修改！应当修改网站目录下的 .env 文件！
因为个人原因，暂时无法观看日志。请先根据我下面说的进行自查，自查后如果依旧无果请再继续回复。
1、运行环境，PHP 7.3，MySQL 5.7；不仅仅是要检查版本，同时也要检查运行状态等。是否是运行状态都要去检查一次。
2、网站配置，是否有关闭 open_basedir（防跨站攻击），以及重写规则（伪静态）。
Nginx 服务器配置规则，宝塔请直接复制到伪静态处粘贴保存：
location / {     try_files $uri $uri/ /index.php?$query_string; }
3、环境变量，这里一定要重点检查！很多人都载在这里！
打开 env 文件，确保里面输入的内容与宝塔后台一致！
一定要看清大小写以及是否有多余空格！
宝塔在部分情况会自动将数据库名转换为小写
且数据库名、用户名、密码会与当时设定的出现一些差异！请务必核对是否正确！
DB_DATABASE 是数据库名
DB_USERNAME 是用户名
DB_PASSWORD 是密码
完成后保存。再使用下面命令构建数据库：
php artisan key:generate && php artisan migrate:fresh --seed && php artisan cache:clear
完成后进入后台，如果依旧出现这个问题
① 请到浏览器【开发者工具】-【网络】-【Fetch/XHR】中截图
② 请到后台目录 storage 中拿日志并提交进来
当我有时间后我会来看 或者风铃会回复解决
通常都是低级错误，几乎重装都可以解决！
请一定要看清安装文档！
如有问题，也可以通过 Telegram 联系我~
GitHub & Telegram : @BiliPrk
Twitter: @bili_prk
[AD] 派星卡自动发卡平台：https://www.paixingka.com/
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

一样，一直500错误，尝试过刷新缓存，重新安装，切换php版本都不行，最后修改database.php默认用户名和密码可以进入后台不过功能都不可以使用

大概率你.env文件权限不对，检查下整个目录都设置777得了

local.ERROR: Uncaught Exception {"exception":"[object] (RuntimeException(code: 0): Missing BC Math or GMP extension
打开网页商品列表提示 未知错误
需要安装 gmp 扩展 sudo apt install php-gmp

why? does my environment config hava any problem?
SISUBENY_comprehensive the x-coordinate is 356.6542546,654.56486,684.6458
---原始邮件---
发件人: @.>
发送时间: 2022年5月11日(周三) 晚上7:19
收件人: @.>;
抄送: @.@.>;
主题: Re: [Tai7sy/card-system] 未知错误：请检查日志 (Issue #539)
REPLENISH!! I THINK, AT THE MOMENT YOUR WEBSITE SHOULD REDEPLOY THE CODE!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>


text:
新增物種 lysimachia ravenni

lysimachia ravenni C. I Peng, sp. nov 大漢山珍珠菜
特有種
發表於台灣原生植物誌全圖鑑 第六卷 p.112

加到 TaiCOL 資料庫中了

TaiCOL id
cname
scientific name
source
endemic/naturalized
IUCN category

434270
大漢山珍珠菜
Lysimachia ravenii C.I. Peng
臺灣原生植物全圖鑑第六卷, 2018
Native

authors: lyh-yihsuan mutolisp


text:
No controller profile found for type ARFukuoka.MixedReality.Toolkit.Nreal.Input.NrealController

Hello! I import follow this steps：
1.NRSDK1.6.0
2.MRTK2.7.2Foundation
3.NrealLightHandTracking.unitypackage
then run sample scene shows：
No controller profile found for type ARFukuoka.MixedReality.Toolkit.Nreal.Input.NrealController; please ensure all controllers are defined in the configured MixedRealityControllerConfigurationProfile.
oh sorry I solve this, 4.27 need reimport mrtk，4.28 restart editor。

Thank you for your feedback!

authors: StevenJuan TakashiYoshinaga


text:
I m getting below error while doing -npm install

while doing -npm install I am getting belown error .
Windows_NT 10.0.14393
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v6.10.1
npm ERR! npm  v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! phantomjs-prebuilt@2.1.14 install: node install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the phantomjs-prebuilt@2.1.14 install script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the phantomjs-prebuilt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs phantomjs-prebuilt
Expected Behavior

Current Behavior

Possible Solution

Steps to Reproduce (for bugs)

1.Forked the repository with my username
2.Did cloning using the command given in the CONTRIBUTING.md
3.After that , as suggested in this document ,i did -npm install and it is throwig the below error
4.Due to which the grunt command is also not working
Context

Your Environment

Version used:
Browser Name and version:
Operating System and version (desktop or mobile):
Link to your project:

I am sorry, but this seems to be a local error (perhaps with your installation of node or npm)... not something I can help debug.

repo: TalAter/annyang


text:
Card status is wrong as there is no status in the VC

Step 1: Demo PID - Credential Issuance
Users can retrieve a Demo PID (Person Identification Data) credential that can be used to login to
the 4 webshops. This is a standard OpenID4VCI flow with a resulting SD-JWT VC credential.
https://demopidprovider.acc.credenco.com/
Use the following user to login:
user: test_credenco_user
password: fides-credenco

problem on their side

repo: TalaoDAO/AltMe


text:
Mbasiuk/tdi 39468 dataset datastore marklogic

What is the current behavior? (You can also link to an open issue here)
No datastore/dataset concept in new MarkLogic component.
https://jira.talendforge.org/browse/TDI-39468
What is the new behavior?
Implement needed concept.
Please check if the PR fulfills these requirements

[x] The commit message follows Talend standard
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features) ?
[x] The code coverage on new code >75%
[ ] The new code does not introduce new technical issues (sonar / eslint)

What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

Does this PR introduce a breaking change?

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

Pull request test result: success :star:
Sonar results

authors: build-talend-common mbasiuk-talend

repo: Talend/components


text:
refactor(TSCH-44): DisplayTable actions within a column

Please check if the PR fulfills these requirements

[x] The commit(s) message(s) follows our guidelines
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Build / CI related changes
[ ] Other... Please describe:

What is the current behavior?
See https://jira.talendforge.org/browse/TSCH-44
The list item actions appear and disappears on item hover. However we need to persist the display of some actions.
What is the new behavior?
New columns are added, and the cells contain  <Actions /> component
Does this PR introduce a breaking change?

[ ] Yes
[x] No

@talend-glorieux thanks

repo: Talend/react-talend-components


text:
pod install失败

pod install失败，也search不到

pod repo update后，再试下

repo: TalkingJourney/SCIndexView


text:
Some cubes aren't unloaded clientside

Amount of cubes loaded clientside grows as player moves.

so the server is making generating chunks it main priority and ignoring the need to unload, hence bogging up the ram and causing a crash.
one solution is to limit the amount of chunks that can be loaded at any one time (based on ram available)
however that would cause problems when falling (or other fast movements)

The server does unload cubes that are too far from player (just like vanilla with chunks). But for some strange reason not all of the chunks/cubes are unloaded (at least clientside).

repo: TallWorlds/CubicChunks


text:
Move dev tools option

Sometimes the ergonomics of a button- stuck tool is hard to use. Could there be a button, like in native dev tools to pin the query tool to the sides, or top/ bottom

Can you be a bit more specific? What is a button-stuck tool please?
i think there are already options to position the devtools differently if that’s what you mean..

No problem, I probably shouldn't write features requests while walking the dog.
Currently we can set the position of the flower tool by passing the position parameter:
<ReactQueryDevtools position={"top-right"} />

That puts the flower trigger in the top right corner. However, the drawer always opens at the bottom.
A user could pass styles and classes in through panelProps. And position the r-query devtools where-ever they please.
What I'm thinking is a toggler within the devtools that allows the user to switch the drawer position on the fly. The example I'm thinking of is the layout switcher in Chrome:

This would allow  a user to reposition the devtool drawer on the fly as they might switch page layouts, or other window sizes.

❤ the idea, would you like to add it?

Yes, I'll work on it.
═════════
Clayton Salem
413-768-8522
═════════
On Sun, Nov 21, 2021 at 1:22 AM Dominik Dorfmeister <
@.***> wrote:

❤ the idea, would you like to add it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-query/issues/2994#issuecomment-974762811,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMAD6A5FUG6FUYCC7QSEFLUNCF3RANCNFSM5IN4GYFQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@TkDodo  @claytron5000  I could work on this if there is one currently working on it

@salamaashoush go ahead, I've assigned you to the issue.

Hi,
I created https://github.com/nirtamir2/react-query-devtools-extension to solve this problem. It works well in development but I have a little problem with its event when building it for production. You can use it and integrate it back to react query

@nirtamir2  this is a pretty cool browser extension, but I am just adding the ability to reposition the current devtools so you don't need to install a browser extension

@TkDodo  if you have time could you please have a look at this PR https://github.com/TanStack/query/pull/3678

repo: TanStack/query


text:
🛑 Thera-Main is down

In c3e6ffe, Thera-Main (https://onboarding.therapiasoftware.com/sign_up) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Thera-Main is back up in 437d2e9.

repo: TapiTechSolutions/upptime


text:
chore: fix crash on getting account from future blocks

Purpose

How does the solution address the problem

Changes made

@MatusKysel  we want to also update mainnet and testnet with this fix right?

prnet cleaned-up successfully

authors: MatusKysel justinsnapp taraxadeploy

repo: Taraxa-project/taraxa-node


text:
Have the ability to use another tag than "mark" for highlight of matched characters

Is your feature request related to a problem? Please describe.
I would like to not use "mark" as it has bootstrap classes and use another tag like "b"
Please Describe alternatives you've considered
Override the bootstrap CSS
Additional context
Refactoring at https://github.com/code-lts/doctum
PS:  this lib is great !

This is the only CSS for mark added by bootstrap 5's CSS reboot stylesheet:
mark {
  padding: $mark-padding;
  background-color: $mark-bg;
}

In your CSS, if you do this:
#autoComplete mark {
  padding: 0;
  background-color: none;
}

You should be fine, because #autoComplete mark has a specificity of 101, while mark only has 001.
https://polypane.app/css-specificity-calculator/
There's more talk about this specific topic here https://github.com/TarekRaafat/autoComplete.js/issues/264

Thank you, Indeed adding a css class did work fine
https://github.com/code-lts/doctum/blob/05d1c2872f9356dc73b6fb8dab56ba14175c805e/src/Resources/themes/default/doctum.js.twig#L273

authors: folknor williamdes


text:
[Bug]当背包满时存在的可堆叠物品复制bug

Minecraft Version

[ ] 1.12.2
[X] 1.16.5

What happened?
Minecraft version 1.16.5, Mod version 1.0.2

在女仆身上放入整组的任意可堆叠物品；
把自己的身上塞满，仅保留放入第1步中女仆身上的物品，数量小于一组都可；
打开女仆，通过快速移动（shift+左键）移动整组物品，则身上不满一组的该物品被填满，女仆身上的物品未被消耗，依然为整组。

初步测试，只要在将女仆身上已有的物品快速移动到身上时，满足仅有部分物品能够成功移动（空间不足）时，即可触发该Bug。
Relevant log output
No response
Contact Details
No response

一直此问题，会尽快修复

1.16.5 和 1.18.2 已经修复

authors: FridayAnubis TartaricAcid

repo: TartaricAcid/TouhouLittleMaid


text:
Update Klarna.cs

Update Klarna properties on both create and update to reflect changes…

I think I got it right now :-)

repo: TeaCommerce/Payment-providers


text:
[Suggestion] Change logReaderMode tail to local

What is the issue, e.g. map voting, you would like to solve?
Avoid the error message:
Error: ENOENT: no such file or directory, access '\SquadGame\Saved\Logs/SquadGame.log'

due to misconfiguration, that itself is due to logReaderMode tail option not being well named.
How would you like us to solve this issue?
You can keep tail value for legacy, but in the documentation, change tail to local, and support both tail and local in code.
Additional Info
If I am not wrong, in both case (ftp or local), the program tails the log file. So when I read the documentation, I left the option to default tail. I got greeted by the error above, and I thought for 30min that I configured a wrong path. Turns out, I had to change tail to ftp.

@ambroiseRabier This should already be in the documentation. I am going to close this as it is already written.

This also appears to be user error as you may have messed up the path you are pointing to

repo: Team-Silver-Sphere/SquadJS


text:
Wrong probabilities for xgboost classifier

Hello.
I am trying eli on the titanic dataset. I can see that eli explains fairly well when the probability of survival is high or low (although it did not coincide exactly with the output of my xgboost model).
But when the probability of survival is around 0.5, it makes very biased predictions. Is Eli supported for XGBClassification?
Also, the output of Eli.explain_prediction changes depending on whether the probability of survival is low or high. If p(0) is high, Eli will output weights to predict p(0), but if the P(1) is high, then it will output weights for p(1)? This makes it difficult to incorporate Eli in an automated process.
Thank you
Sole

Sorted. Never mind. Sorry.

it may help others in the future => #274
@solegalli I suspect what you described comes from the fact that the score displayed by eli5.explain_prediction does not take into account for XGBoost base_score. So it does not match exactly the output of your XGBoost model).
I was experiencing the same issue until I understood I have to sum base_score to the score given by ELI5 (as shown here: https://github.com/dmlc/xgboost/issues/1274)

authors: noleto solegalli


text:
Use gain for xgboost feature importance

Fixes #150

Current coverage is 97.22% (diff: 100%)

Merging #151 into master will not change coverage

@@             master       #151   diff @@
==========================================
  Files            37         37
  Lines          2237       2237
  Methods           0          0
  Messages          0          0
  Branches        434        434
==========================================
  Hits           2175       2175
  Misses           31         31
  Partials         31         31

Diff Coverage
File Path

•••••••••• 100%
eli5/xgboost.py

Powered by Codecov. Last update a222b55...44d5438

Do you know why the second show_weights result is not changed in the Titanic tutorial?

Do you know why the second show_weights result is not changed in the Titanic tutorial?

oh, right, I forgot to update the whole notebook, thanks for the catch!

@kmike now I updated the notebook from scratch (turned out I also didn't save one text edit), fixed in 03f066e

Thanks!

authors: codecov-io kmike lopuhin


text:
The curse of the round tree

So, I got this mod and round trees one time and i decided to remove the better foliage mod now everytime i get better foliage my trees are always round please help

Wait, what?

Wait, what?

authors: Motschen WaitWhyAmIHere

repo: TeamMidnightDust/RoundTreesPack


text:
🛑 projectsegfau.lt us is down

In 3a061bb, projectsegfau.lt us (https://pipedapi.us.projectsegfau.lt/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: projectsegfau.lt us is back up in b78aec0 after 40 minutes.

repo: TeamPiped/piped-uptime


text:
🛑 projectsegfau.lt us is down

In 49168dd, projectsegfau.lt us (https://pipedapi.us.projectsegfau.lt/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: projectsegfau.lt us is back up in 8358a29 after 11 minutes.


text:
🛑 astartes.nl is down

In 1e47639, astartes.nl (https://pipedapi.astartes.nl/healthcheck) was down:

HTTP code: 502
Response time: 15416 ms

Resolved: astartes.nl is back up in 59b2232 after 11 minutes.


text:
🛑 ducks.party is down

In 3c0866d, ducks.party (https://pipedapi.ducks.party/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ducks.party is back up in 67aa02d after 12 minutes.


text:
🛑 il.ax is down

In 2819606, il.ax (https://pa.il.ax/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: il.ax is back up in 1facdfc after 8 minutes.


text:
🛑 kavin.rocks libre (Official) is down

In e7109e3, kavin.rocks libre (Official) (https://pipedapi-libre.kavin.rocks/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: kavin.rocks libre (Official) is back up in b096afd after 28 days, 11 hours, 48 minutes.


text:
🛑 privacydev.net is down

In b21991f, privacydev.net (https://api.piped.privacydev.net/healthcheck) was down:

HTTP code: 502
Response time: 816 ms

Resolved: privacydev.net is back up in da0cc68 after 14 minutes.


text:
🛑 il.ax is down

In 9113023, il.ax (https://pa.il.ax/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: il.ax is back up in dd78d5b after 12 minutes.


text:
🛑 esmailelbob.xyz is down

In c808e5e, esmailelbob.xyz (https://pipedapi.esmailelbob.xyz/healthcheck) was down:

HTTP code: 502
Response time: 2664 ms

Resolved: esmailelbob.xyz is back up in bad6faf.


text:
🛑 privacydev.net is down

In f519917, privacydev.net (https://api.piped.privacydev.net/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: privacydev.net is back up in 1ae1d9d.


text:
🛑 esmailelbob.xyz is down

In 472e78d, esmailelbob.xyz (https://pipedapi.esmailelbob.xyz/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: esmailelbob.xyz is back up in ace8762.


text:
🛑 privacydev.net is down

In 544a422, privacydev.net (https://api.piped.privacydev.net/healthcheck) was down:

HTTP code: 502
Response time: 469 ms

Resolved: privacydev.net is back up in 1714048 after 288 days, 8 hours, 36 minutes.


text:
🛑 seitan-ayoub.lol is down

In 9cddc90, seitan-ayoub.lol (https://piped-backend.seitan-ayoub.lol/healthcheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: seitan-ayoub.lol is back up in f2599c6 after 8 hours, 44 minutes.


text:
Features Request Tracker

Feat Request for QwQUI
Layout

[ ] Group
[ ] Stack
[ ] Grid
[ ] Container
[ ] Spacer
[x] Center (#15)

Input

[ ] TextInput
[ ] TextArea
[ ] Checkbox
[ ] RadioButton
[ ] ToggleSwitch
[ ] Slider

Button

[ ] PrimaryButton
[ ] IconButton
[ ] ToggleButton
[ ] FloatingActionButton

Navigation

[ ] Breadcrumb
[ ] Tabs
[ ] Sidebar
[ ] Pagination
[ ] Stepper

Feedback

[ ] Notification
[ ] Alert
[ ] Modal
[ ] Tooltip
[ ] Spinner
[ ] ProgressBar

Overlay

[ ] Drawer
[ ] Modal
[ ] Popover
[ ] Tooltip

Data

[ ] Table
[ ] List
[ ] DataGrid
[ ] TreeView

Text

[ ] Heading
[ ] Paragraph
[ ] Link
[ ] CodeBlock

Misc

[ ] Avatar
[ ] Badge
[ ] Divider
[ ] Tag

Stack: #32

authors: GaoNeng-wWw SnowballXueQiu

repo: TeamVastsea/QwQUI


text:
Change the React import to be pedantically correct

I'm bundling a react application, using snowpack during development and ES modules wherever I possibly can. One thing that bumped my head, was why mdi-material-ui icons would crash my application in development, whilst @material-ui/icons icons would not. After delving deep into it, it's definitely an issue on snowpack's side (not understanding the default import in this case to be syntactically equivalent to a * as one), but given that @material-ui/icons worked flawlessly, I don't think it'd hurt to update a line to mirror functionality akin to what @material-ui/icons does.
This post explains the difference between the import statements better than I can. In short, babel is treating import React from "react" as a default import (essentially, meaning an import with a named import default) whereas react has no default export, just a bunch of named imports, so doing import * as React from "react" will group all named imports into a single object which can behave similarly to what's needed.
@material-ui/core/utils/createSvgIcon performs this, and thus it worked fine.

Thank you! I'll release a new version soon

Thank you! I'll release a new version soon

Update: I'm traveling down the rabbit hole, I think that the default import for React might not be even remotely a problem at all, and it's just a problem with how snowpack is generating some stuff. Oh well, at least this PR doesn't hurt I guess (I hope?)

Update: I'm traveling down the rabbit hole, I think that the default import for React might not be even remotely a problem at all, and it's just a problem with how snowpack is generating some stuff. Oh well, at least this PR doesn't hurt I guess (I hope?)

repo: TeamWertarbyte/mdi-material-ui


text:
Mam błąd

Wyslałbyś skompilowanego eelbota?
Włączam .exe, i sie nic nie dzieje a zostaje to w procesach

Cześć,
Mi wszystko działa jednak pod włączeniu botów i połączeniu się do proxy mam problem:
*** eelbot by TeapotDev (Minecraft 1.7.2-1.8.x) ***
Waiting for connection to proxy...
Status query!
Client connected to proxy! Connecting eel to target...
Connecting 1: add8b7db3f3166f0
Error connecting 1: unexpected packet
Connecting 1: 8bd6628970d6015c
Error connecting 1: unexpected packet
Connecting 1: 5e99dac158bfea37
Error connecting 1: unexpected packet
:( Może razem uda nam się coś wymyślić? TS3: ts.xfast.pl Mail: slimxaq.server@gmail.com
Pozdro ;)

Jak będę miał chwilkę czasu to chętnie wbije.

@xThoorop Odpal z terminala/cmd.. :)

@Teapot418 A mi coś zaradzisz? :(

Której wersji MC używasz?

Serwer docelowy nie, testowałem z wszystkimi wersjami mc od 1.7 do 1.8.
Aktualnie miałem formata I nie mam jak tego sprawdzić fajnie by było jakbyś podał już skompilowany bo ja to chyba 1h kompiluje :D

Tzn. Testowałem to przed formatem ale z tego co pamiętam to od 1.7 do 1.8 i nic a teraz nie mogę tego potwierdzić czy tak robiłem bo miałem formata xD

Z tego co widzę to obsługa 1.8 (kompresji pakietów) jest wadliwa (od ponad roku nie zajmuję się już Minecraftem i wrzuciłem parę miesięcy jakąś nietestowaną starą wersję). Możliwe, że przy okazji zepsułem 1.7. Ponieważ już się tym nie zajmuję, cofnę wersje na Githubie do działającej wersji na 1.7

authors: SlimxaQ Teapot418 xThoorop


text:
Add websites to VCs from F --> H

Add websites to VCs from F --> H

Thank you!

authors: pbiggar szainab


text:
🛑 J.Leigh Photography is down

In 5ffc7bf, J.Leigh Photography (https://jleighphotography.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: J.Leigh Photography is back up in 1163f1d.

repo: TechSavagery/uptime-monitoring


text:
armor stand commands cannot set flags to default state

This is an issue with the server itself. A PR to Paper would fix this.

Fixed as of https://github.com/PaperMC/Paper/pull/8632.

repo: TehBrian/Iteminator


text:
Sync on images

I replaced a image in nextcloud and one phone the larger image is synced and small one is still the original one and on the tablet no image will update while pressing the Sync arrow button.

As fab920 mentioned this will be probably fixed with his changes. Whenever i get around to review and merge them 🙈

Hopefully this will be fixed with the merged #77

Delivered with 0.7.5 Can you please check if this issue persists? And otherwise open the issue again!

Delivered with 0.7.5 Can you please check if this issue persists? And otherwise open the issue again!

Works for me. Would opt for a different loading indicator. I noticed that mainly in single few on the tablet. The big blue circle while the image is already loaded. Maybe  use the image from listing and replace it (like shops do for fast impression on replace it with a high-res afterwards)