Installation of scipy-1.4.1 fails due to pybind11 compile-time error

My issue is about an error that occurs in the process of trying to install scipy-1.4.1 from source on Linux Mint 19.3. The reason that I need to be able to install from source is that I am trying to correct an observed limitation in zvode class. The error is in the latest version of the source code for scipy-1.4.1. More specifically, it is a compile-time error originating in the file pypocketfft.cxx.
Error message:

scipy/fft/_pocketfft/pypocketfft.cxx: At global scope:
scipy/fft/_pocketfft/pypocketfft.cxx:707:16: error: expected constructor, destructor, or type conversion before ‘(’ token
 PYBIND11_MODULE(pypocketfft, m)
                ^
scipy/fft/_pocketfft/pypocketfft.cxx: In instantiation of ‘pybind11::array_t<T> {anonymous}::prepare_output(pybind11::object&, pocketfft::detail::shape_t&) [with T = std::complex<double>; pocketfft::detail::shape_t = std::vector<long unsigned int>]’:
scipy/fft/_pocketfft/pypocketfft.cxx:122:40:   required from ‘pybind11::array {anonymous}::c2c_internal(const pybind11::array&, const pybind11::object&, bool, int, pybind11::object&, size_t) [with T = double; size_t = long unsigned int]’
scipy/fft/_pocketfft/pypocketfft.cxx:168:5:   required from here
scipy/fft/_pocketfft/pypocketfft.cxx:111:12: error: ‘class pybind11::array_t<std::complex<double> >’ has no member named ‘is’
   if (!tmp.is(out_)) // a new object was created during casting
        ~~~~^~
scipy/fft/_pocketfft/pypocketfft.cxx: In instantiation of ‘pybind11::array_t<T> {anonymous}::prepare_output(pybind11::object&, pocketfft::detail::shape_t&) [with T = std::complex<float>; pocketfft::detail::shape_t = std::vector<long unsigned int>]’:
scipy/fft/_pocketfft/pypocketfft.cxx:122:40:   required from ‘pybind11::array {anonymous}::c2c_internal(const pybind11::array&, const pybind11::object&, bool, int, pybind11::object&, size_t) [with T = float; size_t = long unsigned int]’
scipy/fft/_pocketfft/pypocketfft.cxx:168:5:   required from here
scipy/fft/_pocketfft/pypocketfft.cxx:111:12: error: ‘class pybind11::array_t<std::complex<float> >’ has no member named ‘is’
scipy/fft/_pocketfft/pypocketfft.cxx: In instantiation of ‘pybind11::array_t<T> {anonymous}::prepare_output(pybind11::object&, pocketfft::detail::shape_t&) [with T = std::complex<long double>; pocketfft::detail::shape_t = std::vector<long unsigned int>]’:
scipy/fft/_pocketfft/pypocketfft.cxx:122:40:   required from ‘pybind11::array {anonymous}::c2c_internal(const pybind11::array&, const pybind11::object&, bool, int, pybind11::object&, size_t) [with T = long double; size_t = long unsigned int]’
scipy/fft/_pocketfft/pypocketfft.cxx:168:5:   required from here
scipy/fft/_pocketfft/pypocketfft.cxx:111:12: error: ‘class pybind11::array_t<std::complex<long double> >’ has no member named ‘is’
scipy/fft/_pocketfft/pypocketfft.cxx: In instantiation of ‘pybind11::array_t<T> {anonymous}::prepare_output(pybind11::object&, pocketfft::detail::shape_t&) [with T = double; pocketfft::detail::shape_t = std::vector<long unsigned int>]’:
scipy/fft/_pocketfft/pypocketfft.cxx:209:36:   required from ‘pybind11::array {anonymous}::r2r_fftpack_internal(const pybind11::array&, const pybind11::object&, bool, bool, int, pybind11::object&, size_t) [with T = double; size_t = long unsigned int]’
scipy/fft/_pocketfft/pypocketfft.cxx:227:3:   required from here
scipy/fft/_pocketfft/pypocketfft.cxx:111:12: error: ‘class pybind11::array_t<double>’ has no member named ‘is’
scipy/fft/_pocketfft/pypocketfft.cxx: In instantiation of ‘pybind11::array_t<T> {anonymous}::prepare_output(pybind11::object&, pocketfft::detail::shape_t&) [with T = float; pocketfft::detail::shape_t = std::vector<long unsigned int>]’:
scipy/fft/_pocketfft/pypocketfft.cxx:209:36:   required from ‘pybind11::array {anonymous}::r2r_fftpack_internal(const pybind11::array&, const pybind11::object&, bool, bool, int, pybind11::object&, size_t) [with T = float; size_t = long unsigned int]’
scipy/fft/_pocketfft/pypocketfft.cxx:227:3:   required from here
scipy/fft/_pocketfft/pypocketfft.cxx:111:12: error: ‘class pybind11::array_t<float>’ has no member named ‘is’
scipy/fft/_pocketfft/pypocketfft.cxx: In instantiation of ‘pybind11::array_t<T> {anonymous}::prepare_output(pybind11::object&, pocketfft::detail::shape_t&) [with T = long double; pocketfft::detail::shape_t = std::vector<long unsigned int>]’:
scipy/fft/_pocketfft/pypocketfft.cxx:209:36:   required from ‘pybind11::array {anonymous}::r2r_fftpack_internal(const pybind11::array&, const pybind11::object&, bool, bool, int, pybind11::object&, size_t) [with T = long double; size_t = long unsigned int]’
scipy/fft/_pocketfft/pypocketfft.cxx:227:3:   required from here
scipy/fft/_pocketfft/pypocketfft.cxx:111:12: error: ‘class pybind11::array_t<long double>’ has no member named ‘is’
In file included from scipy/fft/_pocketfft/pypocketfft.cxx:16:0:
/usr/include/pybind11/numpy.h: In instantiation of ‘static pybind11::dtype pybind11::dtype::of() [with T = std::complex<long double>]’:
/usr/include/pybind11/numpy.h:636:92:   required from ‘static bool pybind11::array_t<T, ExtraFlags>::_check(pybind11::handle) [with T = std::complex<long double>; int ExtraFlags = 16]’
/usr/include/pybind11/pytypes.h:160:47:   required from ‘bool pybind11::isinstance(pybind11::handle) [with T = pybind11::array_t<std::complex<long double> >; typename std::enable_if<std::is_base_of<pybind11::object, T>::value, int>::type <anonymous> = 0]’
scipy/fft/_pocketfft/pypocketfft.cxx:168:5:   required from here
/usr/include/pybind11/numpy.h:260:86: error: ‘dtype’ is not a member of ‘pybind11::detail::npy_format_descriptor<std::complex<long double>, void>’
 eturn detail::npy_format_descriptor<typename std::remove_cv<T>::type>::dtype();
       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~

this is my error:
compile options: '-DPOCKETFFT_PTHREADS -I/root/.local/include/python3.7m -I/usr/local/include/python3.7 -I/tmp/pip-build-env-3acx1z_x/lib/python3.7/site-
packages/numpy/core/include -I/usr/include/python3.7m -c'
extra options: '-std=c++14 -fvisibility=hidden'
arm-linux-gnueabihf-g++: scipy/fft/_pocketfft/pypocketfft.cxx
scipy/fft/_pocketfft/pypocketfft.cxx:15:10: fatal error: pybind11/pybind11.h: 没有那个文件或目录
#include <pybind11/pybind11.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
scipy/fft/_pocketfft/pypocketfft.cxx:15:10: fatal error: pybind11/pybind11.h: 没有那个文件或目录
#include <pybind11/pybind11.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
error: Command "arm-linux-gnueabihf-g++ -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -
fPIC -DPOCKETFFT_PTHREADS -I/root/.local/include/python3.7m -I/usr/local/include/python3.7 -I/tmp/pip-build-env-3acx1z_x/lib/python3.7/site-packages/numpy/core/include -
I/usr/include/python3.7m -c scipy/fft/_pocketfft/pypocketfft.cxx -o build/temp.linux-armv7l-3.7/scipy/fft/_pocketfft/pypocketfft.o -MMD -MF build/temp.linux-armv7l-
3.7/scipy/fft/_pocketfft/pypocketfft.o.d -std=c++14 -fvisibility=hidden" failed with exit status 1
----------------------------------------

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;file='/tmp/pip-install-arp3kkwg/scipy/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read
().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-wq9szjxl/install-record.txt --single-version-externally-managed --
compile" failed with error code 1 in /tmp/pip-install-arp3kkwg/scipy/

@wbcBEAN that error looks like you don't have pybind11 installed. Try running
python3 -m pip install pybind11

@DarthMalloc you might have an outdated version of pybind11 installed from before PYBIND11_MODULE was added. What version do you see after running this?
python3 -m pip show pybind11

We require at least 2.2.0 to compile properly and 2.4.0 for best results.

Closing as this most likely just an outdated version of pybind11 and if so, there's nothing actionable here.


Updated to nom v7

Updated from nom v4 to v7. Lots of syntactic changes since nom switched from macros to functions.
They also changed the nom::Err type a little. Not sure how exactly those should be handled but for now I made some matching changes to osu_db::Error. These changes make error handling for beatmap scores parsing a little less nice so maybe that can still be improved somehow.
Tests are passing and the conv binary runs fine on my collection.db, scores.db (9k+), osu!.db (40k+), and .osz replay files.

Looks great, and it runs fine on my 22MB osu!.db. Thanks!


Nix maintenance

stdenv.lib has been deprecated (https://github.com/NixOS/nixpkgs/issues/108938)
replace linuxkit-nix (unmaintained) with nix-docker
updated niv sources

@Eeems Ok, I rebased this branch on top of master and fixed the Nix build. I'm not sure how to rewrite the workflow as you specified, could you clarify what the uploaded artifact should be?

It should just be whatever nix uses for a package file that can be installed with nix on device.


Possible memory leak when saving/updating EmailMessage with mime content

I've noticed that when creating a new EmailMessage item, the save or update operation increases the size of the Java Heap as the request is being made to EWS.  However that memory is never released once the save operation is done.
Seems more evident when the EmailMesage is created with MimeContent which also contains attachments.  The larger the attachments within the mime stream, the larger the heap grows.  Which is good and expected.  However, the release of the memory after the message save/update operation is done is not happening.
Any thoughts?
Thanks
Jay

Hi Jay , any update on this, is this issue remain ?


Add a table of Emissions standardised

Emissions / km
Emissions / euros spent
Emissions / flights
Emissions / unique travellers
split this by year and overall

done


[Bug] 使用cloudflare ai-gateway Azure OpenAI 时报错"Resource not found"

Bug Description
根据 https://developers.cloudflare.com/ai-gateway/providers/azureopenai/
配置环境变量AZURE_URL
https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/azure-openai/{resource_name}/{deployment_name}
会报404"Resource not found"

Steps to Reproduce
Bug Description
Expected Behavior
正常使用，适配Azure更新前可用  #4930

Screenshots
No response
Deployment Method

[ ] Docker
[X] Vercel
[ ] Server

Desktop OS
No response
Desktop Browser
Chrome
Desktop Browser Version
lasted
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs
No response

same issue after updated

same issue here.

@ice-lemon please check on new version.

#4979  更新后可以正常使用


htlcswitch: fix alignment of the packetQueue's fields for 32-bit systems

In this commit, we fix an existing issue that would cause lnd to panic
on 32-bit systems. Within the packetQueue we utilize atomics heavily.
However, it's the caller's job to ensure 64-bit alignment of 64-bit words
accessed atomically. This is documented within the sync/atomic package
as a set of known bugs.
The old alignment of this struct was:
⛰  structlayout github.com/lightningnetwork/lnd/htlcswitch packetQueue
packetQueue.queueLen int32: 0-4 (size 4, align 4)
padding: 4-8 (size 4, align 0)
packetQueue.totalHtlcAmt int64: 8-16 (size 8, align 8)
packetQueue.queueCond *sync.Cond: 16-24 (size 8, align 8)
packetQueue.queueMtx.state int32: 24-28 (size 4, align 4)
packetQueue.queueMtx.sema uint32: 28-32 (size 4, align 4)
packetQueue.queue []*github.com/lightningnetwork/lnd/htlcswitch.htlcPacket: 32-56 (size 24, align 8)
packetQueue.outgoingPkts chan *github.com/lightningnetwork/lnd/htlcswitch.htlcPacket: 56-64 (size 8, align 8)
packetQueue.freeSlots chan struct{}: 64-72 (size 8, align 8)
packetQueue.wg.noCopy sync.noCopy: 72-72 (size 0, align 1)
packetQueue.wg.state1 [12]byte: 72-84 (size 12, align 1)
packetQueue.wg.sema uint32: 84-88 (size 4, align 4)
packetQueue.quit chan struct{}: 88-96 (size 8, align 8)
After this commit, the new alignment of this sturct is:
⛰  structlayout  -json github.com/lightningnetwork/lnd/htlcswitch packetQueue | structlayout-optimize
packetQueue.queue []*github.com/lightningnetwork/lnd/htlcswitch.htlcPacket: 0-24 (size 24, align 8)
packetQueue.wg struct: 24-40 (size 16, align 8)
packetQueue.freeSlots chan struct{}: 40-48 (size 8, align 8)
packetQueue.queueCond *sync.Cond: 48-56 (size 8, align 8)
packetQueue.queueMtx struct: 56-64 (size 8, align 8)
packetQueue.outgoingPkts chan *github.com/lightningnetwork/lnd/htlcswitch.htlcPacket: 64-72 (size 8, align 8)
packetQueue.totalHtlcAmt int64: 72-80 (size 8, align 8)
packetQueue.quit chan struct{}: 80-88 (size 8, align 8)
packetQueue.queueLen int32: 88-92 (size 4, align 8)
padding: 92-96 (size 4, align 0)
Fixes #505, and #463.

I have a Raspberry Pi3 with 32bit goloang that was consistently failing to start lnd due to the struct not being aligned. The Pi worked for a few days prior. I have applied the patch to my Pi3.
My Pi3 now fails at a different stage that may not be related.
2017-12-21 12:05:28.262 [TRC] FNDG: Funding manager running
unable to read channel for chain_hash=43497fd7f826957108f4a30fd9cec3aeba79972084e90ead01ea330900000000, node_key=02f1da524a70afd8de6019e2367b47d8d41a623aa3594f55d0785fe1b047c853bc: unable to read channel data for chan_point=105b920b4a61f1bbee93cf1c37f756a870f9b13bb4df60cd21cfa0c7abca6534:0: unable to fetch chan info: invalid magic in compressed pubkey string: 241

I would temper this test result with the disclaimer I've used github for only 3 days and have zero knowledge of the golang language. I applied the patch as shown in this post - which may be incorrect. I did manually check the contents of the queue.go file prior to glide install and can confirm it was the verison with the PR changes.
I have included in this comment

My patch method to apply queue.go.
My lnd startup log.
The excerpt from btcd logfile when fails.

Apply patch method:
cd $GOPATH/src/github.com/lightningnetwork/lnd
git pull
cd htlcswitch/
rm queue.go
wget https://raw.githubusercontent.com/Roasbeef/lnd/38673eb8e9a2a961b38249a6bacc790afd20aae7/htlcswitch/queue.go
cd $GOPATH/src/github.com/lightningnetwork/lnd
glide install
go install . ./cmd/...
cd
lnd --bitcoin.active --bitcoin.testnet

My lnd start up log:
lnd --bitcoin.active --bitcoin.testnet
2017-12-21 12:04:58.023 [INF] LTND: Version 0.3.0-alpha
2017-12-21 12:04:58.025 [INF] CHDB: Checking for schema update: latest_version=0, db_version=0
2017-12-21 12:04:58.051 [INF] RPCS: password gRPC proxy started at localhost:8080
2017-12-21 12:04:58.051 [INF] RPCS: password RPC server listening on <IP_ADDRESS>:10009
2017-12-21 12:04:58.051 [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create wallet, or `lncli unlock` to unlock already created wallet.
2017-12-21 12:05:11.500 [INF] LNWL: Opened wallet
2017-12-21 12:05:11.501 [INF] LTND: Primary chain is set to: bitcoin
2017-12-21 12:05:11.502 [INF] LTND: Initializing btcd backed fee estimator
2017-12-21 12:05:19.906 [INF] LNWL: Opened wallet
2017-12-21 12:05:28.186 [INF] LNWL: The wallet has been unlocked without a time limit
2017-12-21 12:05:28.230 [INF] LTND: LightningWallet opened
2017-12-21 12:05:28.233 [DBG] LTND: Adding debug invoice (*channeldb.Invoice)(0x111f8310)({
 Memo: ([]uint8) <nil>,
 Receipt: ([]uint8) <nil>,
 PaymentRequest: ([]uint8) <nil>,
 CreationDate: (time.Time) 2017-12-21 12:05:28.233147366 +0200 EET,
 SettleDate: (time.Time) 0001-01-01 00:00:00 +0000 UTC,
 Terms: (channeldb.ContractTerm) {
  PaymentPreimage: ([32]uint8) (len=32 cap=32) {
   00000000  01 01 01 01 01 01 01 01  01 01 01 01 01 01 01 01  |................|
   00000010  01 01 01 01 01 01 01 01  01 01 01 01 01 01 01 01  |................|
  },
  Value: (lnwire.MilliSatoshi)<PHONE_NUMBER>00000 mSAT,
  Settled: (bool) false
 }
})

2017-12-21 12:05:28.233 [DBG] SRVR: Debug HTLC invoice inserted, preimage=0101010101010101010101010101010101010101010101010101010101010101, hash=72cd6e8422c407fb6d098690f1130b7ded7ec2f7f5e1d30bd9d521f015363793
2017-12-21 12:05:28.238 [INF] LNWL: Started rescan from block<PHONE_NUMBER>0a59dfbc24606544ff4fba68be98cf7dc651b65f5ade26c16303cd (height 1255229) for 17 addresses
2017-12-21 12:05:28.262 [TRC] FNDG: Funding manager running
unable to read channel for chain_hash=43497fd7f826957108f4a30fd9cec3aeba79972084e90ead01ea330900000000, node_key=02f1da524a70afd8de6019e2367b47d8d41a623aa3594f55d0785fe1b047c853bc: unable to read channel data for chan_point=105b920b4a61f1bbee93cf1c37f756a870f9b13bb4df60cd21cfa0c7abca6534:0: unable to fetch chan info: invalid magic in compressed pubkey string: 241

btcd log
2017-12-21 12:05:12.042 [INF] RPCS: New websocket client [::1]:57546
2017-12-21 12:05:20.902 [INF] RPCS: New websocket client [::1]:57548
2017-12-21 12:05:28.240 [INF] RPCS: Beginning rescan for 17 addresses
2017-12-21 12:05:28.273 [ERR] RPCS: Websocket receive error from [::1]:57548: websocket: close 1006 unexpected EOF
2017-12-21 12:05:28.273 [ERR] RPCS: Websocket receive error from [::1]:57546: websocket: close 1006 unexpected EOF
2017-12-21 12:05:28.273 [INF] RPCS: Disconnected websocket client [::1]:57548
2017-12-21 12:05:28.273 [INF] RPCS: Disconnected websocket client [::1]:57546

@creslinux thanks for giving this PR a spin!
The error you encountered isn't related to this PR. Rather you were on an older version of lnd before a recent breaking database change.

@roasbeef thanks for the patch and feedback )
If I run clean install of lnd with the queue.go patch; removing the  src tree and .lnd directories first would this get me past the database incompatibility.  Or do I need to alter btcd also.
Thanks

@creslinux Cleaning the .lnd dir should suffice!

@halseth Great news. I'll restart a build with a cleaned .lnd and let the thread know the result in an hour.

I have a Raspberry Pi3 with 32bit golang that was consistently failing to start lnd due to the struct not being aligned. The Pi worked for a few days prior. I have applied the patch to my Pi3.
My Pi3 with 32bit goland lnd daemon now starts without error and I am unable to trigger the error previously seen.

I have created new channels from my Pi to the faucet and also to an Elcair android wallet.
I have successfully purchased coffees from starblocks through the Pi3 lnd node
I have restarted lnd 3 times without err and made payment from eclair through the lnd node on my Pi3 to starblocks after

Nice! Long live the raspi!


The space-x-4 class not working correctly with the flex-wrap class

I want to try out the new space-x-4 class to prevent using the margin or padding technique. I also want to use the flex-wrap class to prevent columns going full width.
Sadly the result is not as I expected.
Example: https://codepen.io/buismaarten/pen/PoPRqdJ

Moved to Discussions.


Get another server on retrosnub account

Have enquired. Will update when possible.
On Tuesday, September 29, 2015, Chris Lamb<EMAIL_ADDRESS>wrote:

Assigned #63 https://github.com/takeyourmeds/takeyourmeds-web/issues/63
to @DeckOfPandas https://github.com/DeckOfPandas.
—
Reply to this email directly or view it on GitHub
https://github.com/takeyourmeds/takeyourmeds-web/issues/63#event-422252931
.

This blocks #41, or at least temporarily (no point working on alternative whilst waiting for reply).

Can I ping you on this? Thanks :)

Taken over this and got the new server

Yeah, unfortunately haven't had a reply from my VPS provider. Let me know
what you need here (including advice to migrate the whole thing to heroku)
On 7 Oct 2015 20:32, "Chris Lamb"<EMAIL_ADDRESS>wrote:

Taken over this and got the new server
—
Reply to this email directly or view it on GitHub
https://github.com/takeyourmeds/takeyourmeds-web/issues/63#issuecomment-146304037
.

Or Digital Ocean, I've had a good service from them for the last year with
the CCIO net on Discourse
On 7 October 2015 at 21:53, Helen Jackson<EMAIL_ADDRESS>wrote:

Yeah, unfortunately haven't had a reply from my VPS provider. Let me know
what you need here (including advice to migrate the whole thing to heroku)
On 7 Oct 2015 20:32, "Chris Lamb"<EMAIL_ADDRESS>wrote:

Taken over this and got the new server
—
Reply to this email directly or view it on GitHub
<
https://github.com/takeyourmeds/takeyourmeds-web/issues/63#issuecomment-146304037
.

—
Reply to this email directly or view it on GitHub
https://github.com/takeyourmeds/takeyourmeds-web/issues/63#issuecomment-146324714
.

Yeah, unfortunately haven't had a reply from my VPS provider

Huh? I got in touch with Retrosnub myself. It's all sorted.


Resolve #108 - training data transformations should not be reused

Fixes #108
Transformed training data was originally stored as an optimization to not re-transform data between queries. Such an approach is faulty for all learnable transformatons, as these are changed after model retraining. The transformed training data is hence no longer stored.

Codecov Report

Merging #113 (47bc726) into dev (4254df9) will increase coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #113      +/-   ##
==========================================
+ Coverage   96.68%   96.80%   +0.12%
==========================================
  Files          31       31
  Lines        1779     1786       +7
==========================================
+ Hits         1720     1729       +9
+ Misses         59       57       -2

Impacted Files
Coverage Δ

modAL/models/base.py
92.12% <ø> (-0.30%)
:arrow_down:

modAL/batch.py
97.87% <100.00%> (ø)

tests/core_tests.py
99.03% <100.00%> (+0.01%)
:arrow_up:

modAL/utils/data.py
84.50% <0.00%> (+2.81%)
:arrow_up:

Continue to review full report at Codecov.

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

@BoyanH Any update on merging the PR?

@BoyanH Any update on merging the PR?

@nawabhussain Sorry, it was on me. I got even more behind my work during the holidays, so I haven't got time to do it. I am getting started with it now.

@nawabhussain Sorry, it was on me. I got even more behind my work during the holidays, so I haven't got time to do it. I am getting started with it now.

Merged the PR, thanks! Pushing a new release (0.4.1) to PyPI soon.

Merged the PR, thanks! Pushing a new release (0.4.1) to PyPI soon.

Thank you for your work @BoyanH @cosmic-cortex.

Thank you for your work @BoyanH @cosmic-cortex.


Update serialization for font assets

Overview
Unity keeps reimporting and reserializing these assets, so their serialized names match their file names. This PR gets them in the state Unity appears to require.

/azp run


Improve chai support (with detailed output, to match jest exceptions)

🚀 Feature Proposal
A clear and concise description of what the feature is.
When using jest matchers, we get nice output:
describe('example', () => {
  it('matches', () => {
    expect([
      'this is long-line number 1',
      'this is long-line number 2',
      'this is long-line number 3'
    ]).toContain([
      'this is long-line number 2',
      'this is long-line number 3',
      'this is long-line number 4'
    ]);
  });
});

  ● LexLambdaEventHandler › example › matches

    expect(received).toContain(expected) // indexOf

    Expected value: ["this is long-line number 2", "this is long-line number 3", "this is long-line number 4"]
    Received array: ["this is long-line number 1", "this is long-line number 2", "this is long-line number 3"]

      37 |       'this is long-line number 2',
      38 |       'this is long-line number 3'
    > 39 |     ]).toContain([
         |        ^
      40 |       'this is long-line number 2',
      41 |       'this is long-line number 3',
      42 |       'this is long-line number 4'

      at Object.it (test/src/LexLambdaEventHandler.spec.ts:39:8)

If I use chai#expect matchers:
describe('example', () => {
  it('matches', () => {
    expect([
      'this is long-line number 1',
      'this is long-line number 2',
      'this is long-line number 3'
    ]).to.contain([
      'this is long-line number 2',
      'this is long-line number 3',
      'this is long-line number 4'
    ]);
  });
});

  ● LexLambdaEventHandler › example › matches

    AssertionError: expected [ Array(3) ] to include [ 'this is long-line number 2',
      'this is long-line number 3',
      'this is long-line number 4' ]

      38 |       'this is long-line number 2',
      39 |       'this is long-line number 3'
    > 40 |     ]).to.contain([
         |           ^
      41 |       'this is long-line number 2',
      42 |       'this is long-line number 3',
      43 |       'this is long-line number 4'

      at Object.it (test/src/LexLambdaEventHandler.spec.ts:40:11)

From my understanding, the issue lies with Jest not taking any advantage of information provided by Chai, as Chai exposes expected & received information as part of the thrown assertion error, meaning it's on the testing system to utilise that information.
Personally, this is the biggest showstopper for me switching to Jest :)

In addition, when using Jest IDEs such as WebStorm are able to show a diff for some matchers.
I did originally believe this diff was done for Chai when using Mocha, but so far can't reproduce this. My efforts in detailing this however are hampered somewhat by #8118, so I can't be sure of how functional my test suites are right now :joy:
I hate to randomly pull people in, but I'd really appreciate it if @segrey & @SimenB could have a look over this issue, to help me figure out what belongs where (Jest, WebStorm, Chai, etc) and so where I should be making issues for these features.
Sorry in advance if I'm just repeating problems that have already been voiced - I'm just super keen to try and get all these libraries & IDEs working together, instead of against each other 😄

I'm not sure what you're asking for? What would you want the output to look like?

Sorry, I was in a rush, and so picked probably one of the worse examples - I've updated the issue description :)

I don't think we should add support for chai into jest, but the errorFormatter proposal in the other issue seems reasonable to me

the errorFormatter proposal in the other issue seems reasonable to me

Totally, that's what I figured! Just wanted to make sure these points were written up somewhere so they could be referenced and included when said proposal gets implemented :D

@G-Rath Thanks for reporting. Filed as https://youtrack.jetbrains.com/issue/WEB-37940. ETA is IntelliJ 2019.1.2, the fix will require jest.test.tree.use.jasmine.reporter to be enabled as #8118 is already fixed in 2019.1.
@SimenB Would be great to expose actual/expected values from Chai failed assertions as it will be done for Jest assertions ("The assertion result in a structured format" from https://github.com/facebook/jest/issues/8118#issuecomment-472461758).

Yeah, we'll probably serialize every prop on the thrown error when we fix it, so chai should work out of the box, same as expect.

@SimenB ,
Can I contribute to this if required please?

Yes please! PR very much welcome :)

@SimenB ,
Thank you very much, I will work on this and https://github.com/facebook/jest/issues/7594

#8454
(waiting for upstream https://github.com/chaijs/chai/pull/1257 for even better integration, but I think this is solved from Jest's side)


Improve portability

There were some bugs that had reduced portability (i.e., it didn't work on my machine).
This PR makes some modifications and additions to improve portability to make this app easy to use.

Downgrade Python runtime to 3.10
Add .gitkeep to templates/workspace
Add a command line option to main.sh to keep an X environment variable
Add an extra confirmation step on setup

Thank you! I will check if it works, then merge this PR.

Great! I merged it!
@kino-ma Thank you!


Label text is not vertically middle for Autocomplete and Select in Firefox

The label text is 1px away from being in the middle in Firefox browser.
Screenshot

Similar to #3544 , the positioning is dependent on the combination of font, browser and OS.
Firefox on Ubuntu 22.04:

Firefox on Windows 10:

Have assigned this the same size.


Make ndt7 upload client simpler

Simpler means fewer places for bugs to hide.

This change is

Merging without waiting for tests to pass - only JS changed and the JS is currently untested, so no test status can be changed.


Colour calibration wizard doesn't light up LEDs

[x] I confirm that this is an issue rather than a question.

Bug report
The colour configuration wizard does not light up any LEDs.
What is actually happening?
LEDs do not light up and in the log, I found following message:
[hyperiond WEBSOCKET] (WARNING) Incorrect adjustment identifier: Test1
[hyperiond WEBSOCKET] (WARNING) Incorrect adjustment identifier: default1
System
Hyperion Server:

Build:           (HEAD detached at 83338dc3) (Paulchen Panther-ca50487e/83338dc3-1605733041)
Build time:      Nov 18 2020 21:32:08
Git Remote:      https://github.com/hyperion-project/hyperion.ng
Version:         2.0.0-alpha.9
UI Lang:         auto (BrowserLang: en-US)
UI Access:       expert
Avail Capt:      dispmanx,v4l2,framebuffer,qt
Database:        read/write

Hyperion Server OS:

Distribution:   HyperBian GNU/Linux 10 (buster)
Architecture:   arm
CPU Model:      ARMv6-compatible processor rev 7 (v6l)
CPU Type:       Raspberry Pi Zero W Rev 1.1
CPU Revision:   9000c1
CPU Hardware:   BCM2835
Kernel:         linux (5.4.72+ (WS: 32))
Qt Version:     5.7.1
Python Version: 3.5.3
Browser:        Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.72 Safari/537.36 Edg/89.0.774

@GenuineJakob The warnings in the log are just an indication that the profile name currently is not matching the corresponding entry for Color channel adjustments in the "Image Processing" screen.
That the LEDs do not light up must have a different reason.
I suggest you test with alpha10 again. For the time being, I will close the issue.


Docs for own project

Currently bringing up the docs only work for imported elm packages. It'll be awesome if it could also bring up our own modules. And also local functions in the same module.

I'd love to. But currently all docs are retrieved using elm-oracle. That in turn is using package docs to provide signatures+docs, but only for 3rd party packages.
Using generated docs as a way to retrieve information is obviously very very limited (docs are only generated (by elm-make) for packages. Whether your elm project is a package or not is inferred by the presence of modules in the "exposed-modules" key in elm-package.json. And only for exposed/public definitions/functions.
So basically one would need to do parsing. Parsing elm code is not trivial, but of course doable. But my understanding is that elm-oracle is undergoing a rewrite to do parsing and provide much more insight. However I have no idea about it's progress. I also know that there are plans to expose the AST from elm-format at some point in the future which also would be very helpful.
I've sort of settled for waiting a while longer for elm-oracle and/or elm-format to help me do the tougher bits, but maybe at some point my patience will run out and I'll try to give it a shot.

Thanks for the in-depth answer, helps me understand how this all fits together on a higher level.


Move setting from main navbar to login div

Renamed Preferences to Settings as this may bring confusion for future user preference page


Bootstrap clean-up should revert back the system to its original state

When an error occurs in the bootstrap script, it is currently set up to remove everything Toltec-related from the device. This works well when the script is run on a default system, but if the script is run on top of an existing install it could potentially wipe out data located in /opt. We should change the script so that it initially detects the current system state and, in case an error occurs, rolls back to that state.

The bootstrap script was updated to refuse to install over existing installs, which solves the concerns of user data being removed in the error exit hook. To make a clean install of Toltec, users should first do toltecctl uninstall and then re-run the bootstrap script.


No longer exists

Page is no longer relevant, it appears the "real" function does not exists.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a093fa47-a7fe-9f2a-3069-c1a87edcf517
Version Independent ID: e13c2621-b98e-be79-3e11-337af8050b6f
Content: The real data type - Azure Data Explorer
Content Source: data-explorer/kusto/query/scalar-data-types/real.md
Service: data-explorer
GitHub Login: @orspod
Microsoft Alias: orspodek

We have assigned the issue to the content author . They will evaluate & update the document as appropriate

@ajs794 Thanks for contacting us with feedback about our product documentation. Depending on the complexity, it could take from a few business days to a few weeks to look further into your question, issue, or suggestion. We'll contact you if we need further information, and you'll receive an email message each time we "@mention" you in a comment.
Thanks again for submitting your feedback. Your suggestions help improve our documentation.

@ajs794 After investigating with the product team, the real type does exist and shows up in IntelliSense wherever an expression is expected. For example:

Thanks again for contacting us with feedback. Since there is no change required, I am closing this issue.
#please-close


Add lateinit and dynamic keywords

Adding  lateinit as a keyword to support late initialized properties.
lateinit var subject: TestSubject

I'm also adding dynamic to support dynamic typing for kotlinjs
external fun require(module: String): dynamic

Thanks again for the contribution.
Will preform some tests and then publish.


Detect Location

A Location is considered to be sensitive and should be protected as Personally Identifiable Information (PII) because it can give the general or precise location of an individual and is used in the United States for different purposes such as job applications, housing, government assistance, and financial applications. A location is unique and it because it is used so heavily everywhere, if revealed it can pose as a threat to the individual whether the general or precise location is compromised. Perpetrators can use this information to find where an individual resides. With that information a plethora of incidents can occur including but not limited to stalking and robbery. However, because the digital world the use of an I.P address, which is another way to identify an individual's location, is just as important as a mailing address if not more important. With an I.P address someone could impersonate an individual doing countless illegal activities and find out the name and address of the I.P address. In conclusion, keeping all locations safe, whether physical or digital, can ensure that no physical or mental harm can come of any individual.
Click here for more information on I.P Addresses.
I'll use the 123 Maple Lane as a test mailing/home address
I'll use <IP_ADDRESS> as a test I.P address since it is invalid according to this documentation

Team1  has IP_ADDRESS assigned to them, so, you should plan to focus on a location


Python 3.12 compatibility ModuleNotFoundError

Hello, first of all we are very grateful for this project, well done.
We are in the progress of upgrading our Python version and dependency versions, and now switched to PyXB-X <IP_ADDRESS>, and it's great!
 You may obtain a
    # copy of the License at:
    #
    #            http://www.apache.org/licenses/LICENSE-2.0
    #
    # Unless required by applicable law or agreed to in writing, software
    # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
    # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
    # License for the specific language governing permissions and limitations
    # under the License.

    """Utility functions and classes."""

    import re
    import os
    import errno
    import uuid
    import hashlib
    import pyxb
>   from pyxb.utils.six.moves.urllib import parse as urlparse
E   ModuleNotFoundError: No module named 'pyxb.utils.six.moves'
.tox/py3-test-withcov/lib/python3.12/site-packages/pyxb/utils/utility.py:24: ModuleNotFoundError

It's easy to replicate, because it already occurs during import:

docker run -it python:3.12-bullseye bash
pip install PyXB-X==<IP_ADDRESS>
python
from pyxb.utils.six.moves.urllib import parse

When you check with the 3.11-bullseye container, it works without error.

May have something to do with the utils.py/six.py file. It uses some hooks for loading modules that are deprecated since Python 3.4 and are removed with Python 3.12, see the docu here:
https://docs.python.org/3/reference/import.html#:~:text=Changed%20in%20version%203.10%3A%20Use,Use%20find_spec()%20instead.
Changing the _SixMetaPathImporter class like that (which is very crappy and a lot of the stuff are just gap fillers to avoid errors without any real functionality) seems to work for me:
class _SixMetaPathImporter(object):

    """
    A meta path importer to import six.moves and its submodules.

    This class implements a PEP302 finder and loader. It should be compatible
    with Python 2.5 and all existing versions of Python3
    """

    def __init__(self, six_module_name):
        self.name = six_module_name
        self.known_modules = {}
        self.loader = self

    def _add_module(self, mod, *fullnames):
        for fullname in fullnames:
            self.known_modules[self.name + "." + fullname] = mod

    def _get_module(self, fullname):
        return self.known_modules[self.name + "." + fullname]

    def find_spec(self, fullname, target=None, *args, **kwargs):
        if fullname in self.known_modules:
            return Loader(fullname, self.known_modules[fullname])
        return None

    # deprecated method
    # def find_module(self, fullname, path=None):
    #     if fullname in self.known_modules:
    #         return self
    #     return None

    def __get_module(self, fullname):
        try:
            return self.known_modules[fullname]
        except KeyError:
            raise ImportError("This loader does not know module " + fullname)

    # deprecated method
    # def load_module(self, fullname):
    #     try:
    #         # in case of a reload
    #         return sys.modules[fullname]
    #     except KeyError:
    #         pass
    #     mod = self.__get_module(fullname)
    #     if isinstance(mod, MovedModule):
    #         mod = mod._resolve()
    #     else:
    #         mod.__loader__ = self
    #     sys.modules[fullname] = mod
    #     return mod

    def is_package(self, fullname):
        """
        Return true, if the named module is a package.

        We need this method to get correct spec objects with
        Python 3.4 (see PEP451)
        """
        return hasattr(self.__get_module(fullname), "__path__")

    def get_code(self, fullname):
        """Return None

        Required, if is_package is implemented"""
        self.__get_module(fullname)  # eventually raises ImportError
        return None
    get_source = get_code  # same as get_code

class Loader:
    def __init__(self, module_name, module):
        self.name = module_name
        self.module = module
        self.loader = self  # I"m pretty sure that this isn't the intended structure
        self.cached = False
        self._uninitialized_submodules = []  # this seems like it should be used

    def has_location(self):
        return True

    def _get_module(self, fullname):
        return self.module

    def exec_module(self, fullname):
        try:
            # in case of a reload
            return sys.modules[fullname]
        except KeyError:
            pass
        mod = self._get_module(fullname)
        if isinstance(mod, MovedModule):
            mod = mod._resolve()
        else:
            mod.__loader__ = self
        sys.modules[fullname] = mod
        return mod

    def create_module(self, spec):
        return self.exec_module(spec)

@jtc42 , since the PR #14 has been merged we could close this issue for now.


Expose Transform3D::sphere_interpolate_with()

This exposes Transform3D::sphere_interpolate_with() to GDScript to make the pre-4.0 behaviour accessible again (was formerly accessible as Transform3D::interpolate_with(), but that is now regular linear interpolation).
Note that this seemingly was discussed on contributors chat as recently as January 13th (global search for slerp), and the consensus seem to be:

To expose this
To rename these to lerp() and slerp() respectively for consistency with other places in Godots API (Basis etc)

However, I could find no open PRs/changes for this. As alpha 1 is now out and users are actively missing this (see Reddit discussion below), I decided to do the minimally invasive thing and just expose it for now.
If we indeed want to rename these, I'm happy to do that in a further PR.
Fixes https://github.com/godotengine/godot/issues/57272
Also see discussion on Reddit

I cannot find evidence of that conversation, but I remember that consensus too.

For me it shows if you do a global search for "slerp" or "lerp".

Thanks!


(test): retries test files at least twice

While just retrying isn't the ideal solution, if it unblocks us for now it is worth moving forward with that as I don't see any consistent flakes yet.

This seems to be much better now. I will go ahead and unblock the build.


Unable to use artifacts function to specify roleDefinitionId.

This article says that the roleDefinitionId on an artifact of kind roleAssignment cannot be parameterized.
As far as I can see, this means that something like the following will not work:
{
    "kind": "roleAssignment",
    "properties": {
        "description": "Assigns a custom role to a principal",
        "displayName": "Custom Role Assignment",
        "principalIds": [
            "[parameters('principal')]"
        ],
        "roleDefinitionId": "[artifacts('customRole').outputs.resourceId]"
    }
}

where the customRole artifact is of kind template and outputs a resourceId which is the resource ID of a custom role that it creates on the subscription.
As noted, I'm aware that this is not supported, however, I would like to hear the reason why, as I'm trying to create a blueprint that both created a custom role definition and assigns it at the same time.
It is probably be possible to do the assignment using ARM templating, however, I would like to avoid it, since doing role assignments in ARM is messy process that does not spark joy (I may create a separate issue on that at some point).

Basically we check that you have access to the role definition when you create the blueprint definition. We are not able to do that if it's parameterized. If you are not using the blueprint lock capability, then I'd recommend using bicep + template specs as this will give you full control to parameterize any field.  You may want to check out this video:
https://www.youtube.com/watch?v=i4dEN0o1PHo

So there's an up-front check on the role definition when you create the blueprint definition, if I understood you correctly.
Have you considered doing this check during assignment/deployment instead?
Also yes, I do use the lock capability and intend to keep doing so. ☹
I will have a look at the video later. 😄

I have now had a look at the video you linked. It looks like the Bicep approach has the same issue as ARM, as it is essentially just ARM with a nicer syntax and functionality. Having to come up with your own GUID for the role assignment is something we would like to avoid.


[CWS] extract process.ancestors from the accessors generation

What does this PR do?
Extract ancestors iteration into a non-generated function, uses it to simplify code and cache the amount of a ancestors for pre-allocating the next ancestors run.
The main goal of this PR is to prepare the field for potential improvements skipping completely the slice creation and doing the evaluation directly while iterating.
Example profile showing this bad pattern https://ddstaging.datadoghq.com/profiling/explorer?query=service%3Asystem-probe version%3A7.60.0-rc.2&agg_m=count&agg_m_source=base&agg_t=count&cols=timestamp%2Cservice%2C%40metrics.core_cpu_cores%2C%40metrics.core_alloc_bytes_per_sec%2Cversion%2Chost%2C%40metrics.go_lifetime_heap_bytes&event=AwAAAZL9fGhMg24SxwAAABhBWkw5ZkdrbEFBQmt0ZjJrRUl6VHVBQUEAAAAkMDE5MmZkOTItYmIzOS00MjJkLWFiYTMtN2ZiMWI4MzAxNjZiAAvSgA&my_code=disabled&profile_type=alloc-size&profileId=AZL9fGklAABktf2kEIzTuAAA&refresh_mode=paused&stream_sort=%40metrics.core_alloc_bytes_per_sec%2Cdesc&viz=stream&from_ts=1730828790075&to_ts=1730832390075&live=false
Motivation
Describe how to test/QA your changes
This code is covered by functional tests.
Possible Drawbacks / Trade-offs
Additional Notes

/merge


Possible to use this outside of the ember framework?

From what I can tell, it doesn't appear that I can simply npm install this package and use it in a non-ember project like a typical npm package. Autotracking is exactly what I need for my project, but if my assumption is correct that I can't use this (as-is) outside of ember, it looks like I may have to just grab the relevant bits (including @glimmer/tracking) and maintain a similar functionality myself.

Currently it isn't setup that way, but this is a goal I have! The main thing we need to do is solidify the low-level APIs we want to expose from @glimmer/tracking in Ember first, then I think the path to releasing this in a stand-alone form would be pretty doable (mainly, just set it up to be consumable via standard webpack bundler).

Hmm, actually after taking a closer look it seems like @glimmer/tracking and @glimmer/validator can be consumed as normal npm dependencies... I think only tracked-built-ins and tracked-sets-and-maps are Ember addons? I can probably just stick the core autotracking libraries for now, and hack together a simplified version of TrackedArray.

But yes, tracked-built-ins would be a great stand-alone package!

Yes, the other two could be used independently. The concern I would have is that we plan on updating the APIs they expose, since they aren't public yet. @glimmer/tracking is pretty stable, but @glimmer/validator is not quite yet.
We do follow SemVer for those packages, so it would be a proper version bump if we made breaking changes. I expect in the near future we will finalize a design for a final public API that will be made available from @glimmer/tracking, and that will be very stable.
If you want to avoid churn as much as possible, I would use only the two following imports:
import { tracked } from '@glimmer/tracking';
import { memoizeTracked } from '@glimmer/validator';

You can use tricks like I have in this repo with @tracked to get all the autotracking/consumable state you need.
Also! If you do go down that route, and want to make a PR to make this addon consumable as a normal NPM package, would be happy to merge 😄 Main thing you need to do is customize the ember-addon main file, so that it points to something other than the package's main file: https://github.com/glimmerjs/glimmer.js/blob/master/packages/%40glimmer/component/package.json#L92
And then point the package's main at the correct index. We could do the same for tracked-maps-and-sets. May take a bit of finagling, but definitely something I want to do eventually!

I'm not familiar (at all) with the ember ecosystem, so I'm not confident with making and testing such a change.

Thanks for the tips, looks like memoizeTracked was recently added (I was looking for something like that a few days ago!).

following up -- medium term, It's looking like Starbeam will be the reactivity library extracted from glimmer/ember: https://www.starbeamjs.com/
Here are the docs / intro to "reactive collections": https://www.starbeamjs.com/guides/collections.html
the implementations are basically copied from tracked-built-ins.


adding optional seed for shuffle datasets

From now on, we recommend using our discussion forum (https://github.com/rusty1s/pytorch_geometric/discussions) for proposing new features.
🚀 Feature
can we add an option to set the seed for the shuffle of dataset ?
Motivation
it's allow an easy way to benchmark results with predefined seeds
Additional context
validation of models using default splits based on seed

You can achieve that by setting torch.manual_seed(42) before calling shuffle.

thanks for the fast solution


Nwparker/conv v2

This PR introduces some major changes. It fixes many issues with the previous versions and changes some core functionality.
Changes in the PR:

Re-written encoder (to deal with additional cases and data types)
A decoder to convert from SparkSQL Rows back into the Java Thrift generated objects
Supporting Additional Data Types

Map w/ complex (non-primitive) keys
Struct/Unions w/ self-recursive definitions (these will be converted to binary as there's no way to represent arbitrary recursive data types in SQL. A benefit of keeping in binary format is that the data can be decoded back into the original data structure with the decoder)

A unit test to preserve the encode/decode invariant through (uses generated data via ScalaCheck)
Thrift Java objects are no longer check into repo, but generated from Thrift sources
Moves project from Maven to SBT (allows cross-building for multiple Scala versions)
Updates Readme w/ some new info

Fixes #2

@nwparker Thanks for making this change ! Let me take a look !

@nwparker Thanks for making this change ! Let me take a look !

Hey @liyintang -- just wondering if you may have any update. Thanks!

Another friendly bump ! 😄

Bumping @liyintang -- & Happy Thanksgiving !

Any update ?

2020 bump


steampipe-plugin-sdk/v5 assignment mismatch error

Describe the bug
When i forking the jumpcloud plugin locally and using Make to compile, always get the error like this;
steampipe-plugin-jumpcloud git:(main) ✗ make
go build -o<EMAIL_ADDRESS>*.go
github.com/turbot/steampipe-plugin-sdk/v5/plugin
../../go/pkg/mod/github.com/turbot/steampipe-plugin-sdk/v5@v5.0.0-dev.8/plugin/hydrate_error.go:32:18: assignment mismatch: 2 variables but retry.NewFibonacci returns 1 value
make: *** [install] Error 2
Steampipe version (steampipe -v)
Steampipe v0.19.3
Plugin version (steampipe plugin list)
0.2.1
To reproduce
clone this repo and build locally
Expected behavior
to be able to build without error
Additional context
Add any other context about the problem here.

Welcome to Steampipe @sonykey2003 and thanks for raising this issue 👍.
Just to confirm, after cloning the repo, when you run the make command, you are seeing the above mentioned error?
Did you make any changes locally?
The plugin doesn't use the retry package, hence I am a bit surprised that you are seeing this error.

hi @misraved thanks for picking this up!
Yeah, I made some changes mostly by adding another API SDK for JumpCloud Directory Insights, and added a table accordingly too. github.com/sonykey2003/jcapi-div1
then i run make, hit by the error

From what I can infer, the error is due to the breaking changes in the retry package.
You need to update the retry package to the latest version - https://github.com/turbot/steampipe-plugin-alicloud/commit/4d8ff7f2582631fcb1799c643876d425fd833330#diff-33ef32bf6c23acb95f5902d7097b7a1d5128ca061167ec0716715b0b9eeaa5f6R11
Please take a look at this - https://github.com/turbot/steampipe-plugin-alicloud/commit/4d8ff7f2582631fcb1799c643876d425fd833330#diff-284b91bc98a98160edf14a49e957091b917e15a1bac26ac8d78652463c748c32R139
and then make the changes accordingly. This should fix the issue.
Please let me know if this solves your problem.
@sonykey2003 if you are trying to add a new table, would you be interested to raise a PR for it so that we could also publish to the hub?

thanks a lot @misraved , sorry for the delay I was very tied up last week. I will try it out and let you know. Yep, that will be ideal and this is the biggest piece on JumpCloud in terms of logging etc.

alright i have double confirmed i was on github.com/sethvargo/go-retry v0.2.4 which is the latest (?) and hit the exact same error..

@sonykey2003 apologies for the radio silence on this issue.
Could you please provide a link to the repo where you are trying to run the make command?
Let me try out the changes locally and see if I could figure out the root cause of the failure.
Once again, apologies for the delayed response!!

Hey @sonykey2003, We are closing this issue because we have not heard from you. Please feel free to reopen the issue if you want to share or discuss anything.


Dependency Dashboard

This issue provides visibility into Renovate updates and their statuses. Learn more
Open
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

[ ] Update all dependencies (actions/checkout, actions/setup-node, chai, eslint, glob, mocha, rollup, standard)

Of these, I think the glob dependency update is the most important since it's now resulting in a deprecation warning on install.


crawler.urlNormalize option

Thanks for filing a PR with simplecrawler, we appreciate all the help we can get! Please delete this text and fill out the template below. If you haven't read the contributing guidelines, here's a tl;dr to look through before submitting.

Did you make sure the commit messages are clear, and WIP commits have been squashed?
Checked
Did you lint and test the code (npm test)?
Passed well
Did you include tests for your code?
Yes
If applicable, did you update the documentation with the changes you made?
Documentation is updated
If you made changes to the docs, did you run a quick spell check?
Spell check run ok

What this PR changes
Give a brief overview of what you've changed
Added a new option in crawler.js to unable normalize finction from URI.js which is normalizing each url.
The problem was that when crawler used normalize function then urls like : http://example.com/A%26B was automaticaly changed to http://example.com/A&B and also spend time on check for each url in the queue.
With new changes crawler have a feature to unable nurmalization of urls.
Rationale
If this has been discussed in an issue already, please reference it here!

Code review is needed.

Hi @TimorTartakovsky, thanks for taking the time to file a PR! I think we need to discuss the rationale behind the changes here though. I see that you noticed #355 as well, which is similar in scope, but about to be closed.
Have you encountered a situation where normalizing the URL actually led the crawler to the wrong URL in the end?

The thing is when we have a  URL http://somedomain:8888/path/A&B and after crawler reach this page and adds it to the queue, this page redirects crawler to another one which is the same but encoded like http://somedomain:8888/path/A%26B then crawler normalize second url and it becomes the same as it was in first example. But the web site expecting encoded version then we have unfetched page at the end. I disabled normalize function and everything worked just fine. But I think that it was not a perfect idea to fully unable normalize function. I will work under this question to may be create partial normalization instead of totally unabling urljs.normalization. Thanks

I think the Problem is the following / To explain our problem simply:
Given we have a url:   protocoll://domain.tld:port/somepath?query
And somepath has some encoded stuff like %26
Then it is always translated to a regular symbol like &
In a some cases webservers differ between a path with such symbols or encoded symbols
So we only need to disable this encoding of somepath in our case...


Moved versioning to a T4 template

This allows the correct build sequence number, unlike my last attempt.

Aaand it looks like I need to fix some stuff.  It worked on my computer...

Ok, that's all fixed now.  Ready for review.

Looks good, ready for merge.


Update torch device naming convention for h100 gpus

What does this PR do?

Updates torch device naming convention for h100 gpus
What issue(s) does this change relate to?

Before submitting

[ ] Have you read the contributor guidelines?
[ ] Is this change a documentation change or typo fix? If so, skip the rest of this checklist.
[ ] Was this change discussed/approved in a GitHub issue first? It is much more likely to be merged if so.
[ ] Did you update any related docs and document your change?
[ ] Did you update any related tests and add any new tests related to your change? (see testing)
[ ] Did you run the tests locally to make sure they pass?
[ ] Did you run pre-commit on your change? (see the pre-commit section of prerequisites)

added
pip install mosaicml@git+https://github.com/vchiley/composer.git@vc/h100_torch_name

to my cmd and now I get MFU


Use pre for white-space in quickinfo

Partially solves #562.
I went with pre instead of nowrap because of this:
Using nowrap

Using pre

Thanks for making this change @josemarluedke . Looks great to me!
And good call on using pre instead of nowrap - the experience is much better in that case where there are line breaks in the title string.
I'll bring this in once the build has completed.

Merged - thanks for your contribution, @josemarluedke !


[Docs] - Deploy Sample App Image Not aligned

Current State
Check out Deploy Sample App, images are not aligned correctly.

Desired State
Must align horizontally.

Contributor Guides and Handbook

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

I would like to work on this issue!

can I work on this issue?


Add request/response times to response object

Great library. Would it be possible to put the time (in ms) that the request took to execute into the response object?

I'm interested in this feature.

:+1:


Asteroid plot edges

Reference Issues/PRs
Fixes #167
Note: hoovering over the edges does not show the edge kind. @a-r-j Feel free to have a look at it!
What does this implement/fix? Explain your changes

Adds the options to use show_edges without getting an error.
Also now you could get rgba strings returned from the colour_edges function
Also you can now set an alpha value for the edges through colour_edges (e.g. in the asteroid plot)

What testing did you do to verify the changes in this PR?
Ran it on JN and got a plot with edges without an error (attached)

Thanks for the PR!
Ah, yes, the line hover doesn't work on 2D scatters in Plotly AFAIK. If you're really desparate for it, one solution I've seen is to add transparent nodes on the midpoint of each line. https://stackoverflow.com/questions/46037897/line-hover-text-in-plotly

Thanks for the PR!
Ah, yes, the line hover doesn't work on 2D scatters in Plotly AFAIK. If you're really desparate for it, one solution I've seen is to add transparent nodes on the midpoint of each line. https://stackoverflow.com/questions/46037897/line-hover-text-in-plotly

Nah, it's fine. but I decided to add an option to display a legend that groups the edges by kind. This way you can click certain edge kinds away, which is neat/useful in my opinion. I'll push it in a jiffy.

@a-r-j Also, I see that one of your tests fails because of the ye old broken conda environment file.
I've made my own, simplified version of it that runs w/o resulting in conflicts, in case you want to give it a try:
cat graphein-gpu.yml
name: graphein-gpu
channels:
  - salilab
  - schrodinger
  - pytorch
  - pyg
  - conda-forge
  - pytorch3d
  - defaults
dependencies:
  - python=3.8
  - pip
  - jupyter
  - ipywidgets
  - dssp
  - pymol
  - vmd-python
  - pytorch
  - torchvision
  - cudatoolkit=11.3
  - pytorch3d
  - pip:
    - graphein[all]
    - biovec

Great - that's a really nice solution.
Re the conda env, I'll check it out in another PR.
Thanks for the contribution! Appreciate the effort :)


Create DateGenerator

Create a generator for Date. By default: generate dates from 1 Jan, 1900 to now. Also have a constructor that would allow the setting of a min date and max date.

@codejayant How about trying to do this instead?

Shall i take this up?


Nothing is responding after months of being perfectly stable

I'm at a loss. My Homebridge set up is just dead. I'm able to add all my accessories etc to homekit but nothing responds. I troubleshooted all the normal ways (deleting persist folder, removing and re adding the bridge, updating my raspberry pi, changing the pairing code and id). I took more extreme steps: I downgraded my router firmware because the problem started shortly after the router got updated, I downgraded several versions below the previous release. Still nothing. Next I did a clean install of raspbian and Homebridge, still the same situation. I can add accessories but not use them. The only thing I haven't tried is completely deleting my home and redoing everything, but my native Homekit accessories work just fine. There's also the option of doing a different install method, currently I used oznu's docker script to install Homebridge, I might just try a manual installation the next time I have the energy to try again.
I'm running the latest Homebridge, latest iOS/tvOS version, but this happened before I updated those devices yesterday. My router is a Netgear Orbi
Any suggestions welcome, I'm losing my mind trying to solve this.

I use homebridge by nfarina on my raspberry with raspbian os.
I used instructions from this video:
https://youtu.be/2RnDp5Eg1RE
Yesterday I updated my iphone and my ipad which I use as a hub and everything is working fine.
May be your problem is some of your plugin if you install new plugin before the crash.

Thanks for the reply. I haven't added anything new. I just experienced something weird though. After completely deleting my home and recreating it, I was able to add Homebridge and control one accessory exactly one time. When I tried to turn the accessory off again it was too late, everything was back to "no response"

Try to reset the accessory.

Reset it how? I completely wiped my raspberry pi and deleted my entire HomeKit setup and tried again with no difference

Not raspberry . Reset your device - sonoff , hue or what you have.

Thanks for the reply. I haven't added anything new. I just experienced something weird though. After completely deleting my home and recreating it, I was able to add Homebridge and control one accessory exactly one time. When I tried to turn the accessory off again it was too late, everything was back to "no response"
My logs show nothing wrong, however I will try adding my accessories one at a time.

I'm experiencing the same issue. Accessories not responding. Been having this issue since iOS 12.2.
Resetting and re-adding only gets them to work for a few moments only.

Not raspberry . Reset your device - sonoff , hue or what you have.

I get where you're coming from but how likely is it that six different devices from multiple manufacturers are the problem? It's most definitely Homebridge or my router.

Thanks for the reply. I haven't added anything new. I just experienced something weird though. After completely deleting my home and recreating it, I was able to add Homebridge and control one accessory exactly one time. When I tried to turn the accessory off again it was too late, everything was back to "no response"
My logs show nothing wrong, however I will try adding my accessories one at a time.

I'm experiencing the same issue. Accessories not responding. Been having this issue since iOS 12.2.
Resetting and re-adding only gets them to work for a few moments only.

Damn, what have you done to try and fix it? I'm about ready to switch to Home Assistant if this persists..

Thanks for the reply. I haven't added anything new. I just experienced something weird though. After completely deleting my home and recreating it, I was able to add Homebridge and control one accessory exactly one time. When I tried to turn the accessory off again it was too late, everything was back to "no response"
My logs show nothing wrong, however I will try adding my accessories one at a time.

I'm experiencing the same issue. Accessories not responding. Been having this issue since iOS 12.2.
Resetting and re-adding only gets them to work for a few moments only.

Damn, what have you done to try and fix it? I'm about ready to switch to Home Assistant if this persists..

Reset Homebridge (changed username, pin, port), deleted Home and recreated it, deleted persist folder. After adding back Homebridge to Home, it works just one time and goes straight to "not responding".

Thanks for the reply. I haven't added anything new. I just experienced something weird though. After completely deleting my home and recreating it, I was able to add Homebridge and control one accessory exactly one time. When I tried to turn the accessory off again it was too late, everything was back to "no response"
My logs show nothing wrong, however I will try adding my accessories one at a time.

I'm experiencing the same issue. Accessories not responding. Been having this issue since iOS 12.2.
Resetting and re-adding only gets them to work for a few moments only.

Damn, what have you done to try and fix it? I'm about ready to switch to Home Assistant if this persists..

Reset Homebridge (changed username, pin, port), deleted Home and recreated it, deleted persist folder. After adding back Homebridge to Home, it works just one time and goes straight to "not responding".

Sounds like we're in a similar situation... Out of curiosity, what router are you using?

Thanks for the reply. I haven't added anything new. I just experienced something weird though. After completely deleting my home and recreating it, I was able to add Homebridge and control one accessory exactly one time. When I tried to turn the accessory off again it was too late, everything was back to "no response"
My logs show nothing wrong, however I will try adding my accessories one at a time.

I'm experiencing the same issue. Accessories not responding. Been having this issue since iOS 12.2.
Resetting and re-adding only gets them to work for a few moments only.

Damn, what have you done to try and fix it? I'm about ready to switch to Home Assistant if this persists..

Reset Homebridge (changed username, pin, port), deleted Home and recreated it, deleted persist folder. After adding back Homebridge to Home, it works just one time and goes straight to "not responding".

Sounds like we're in a similar situation... Out of curiosity, what router are you using?

I've got a similar issue. Homebridge reset + removal from Home App works for one minute, afterwards all accessories go back to "No Response". I have it installed on a Ubuntu 18.04.2 LTS (GNU/Linux 4.15.0-50-generic x86_64) Virtual Machine on a ESXi.
As a router i use a Unifi Security Gateway 3P
npm-version
{ npm: '6.9.0',
ares: '1.14.0',
cldr: '32.0.1',
http_parser: '2.7.1',
icu: '60.2',
modules: '57',
nghttp2: '1.30.0',
node: '8.10.0',
openssl: '1.0.2n',
tz: '2017c',
unicode: '10.0',
uv: '1.18.0',
v8: '6.2.414.50',
zlib: '1.2.11' }
Homebridge Version 0.4.49

I just tried this out with Domoticz tonight on a raspberry pi, same issues going on. It works fine for a couple mins then no accessories responding. I'm not sure where to start troubleshooting this, I've done the same as others above, deleting presist etc folders and redoing the linking with the same result.
version 0.4.49

I figured out my issue. I had to factory reset my Dyson fan, somehow it got messed up when my router firmware upgraded. Reset, reconnected it, everything is back to normal. I had to delete persist, accessories and change the pin etc but after that it was fine.
To get to this point I started homebridge with only one plugin at a time, I suggest you try the same.

There is nothing to do except reset your iphone/ipad to default settings. You can try other method. Delete homebridge hub from your ios device and add it in new device.


Added missing error check

Description
Added missing error check.
Fixes #275
Type of change

Bug fix (non-breaking change which fixes an issue)

Codecov Report

Merging #290 into master will decrease coverage by 0.09%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #290      +/-   ##
==========================================
- Coverage   81.12%   81.03%   -0.10%
==========================================
  Files          15       15
  Lines        1563     1566       +3
==========================================
+ Hits         1268     1269       +1
- Misses        217      218       +1
- Partials       78       79       +1

Impacted Files
Coverage Δ

storage/storage.go
73.12% <50.00%> (-0.18%)
:arrow_down:

Continue to review full report at Codecov.

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


volume list: grep-able output on a single line

Output needs to be parsable by standard unix tools such as grep sed and cut.
Current human readable output:
| af7b6c9e612f | tvh_config:/config, tvheadend:/config,   | 2014-12-29 10:12:59 | /udf350/data/tvheadend/config                        |
|              | tvhconfig:/config                        |                     |
| e1adff28ee41 | tvh_config:/recordings                   | 2015-02-19 13:55:30 | /var/lib/docker/vfs/dir/<ID>                         |

Proposed machine-readable ouput (csv style):
af7b6c9e612f<TAB>tvh_config:/config<TAB>2014-12-29 10:12:59<TAB>/udf350/data/tvheadend/config
af7b6c9e612f<TAB>tvheadend:/config<TAB>2014-12-29 10:12:59<TAB>/udf350/data/tvheadend/config
af7b6c9e612f<TAB>tvhconfig:/config<TAB>2014-12-29 10:12:59<TAB>/udf350/data/tvheadend/config
e1adff28ee41<TAB>tvh_config:/recordings<TAB>2015-02-19 13:55:30<TAB>/var/lib/docker/vfs/dir/????

There seem to be 2 things to be done.

1st issue is the real host path is missing on repeated lines.
2nd issue is that the directory string /var/lib/docker/vfs/dir/<ID> is never printed out the actual last path component ????. It needs to be the full UUID path on the filesystem. Which actually is different to the UUID short form printed in the 1st column.

It is not required to use <TAB> for the field separator - any character is fine that isn't occurring inside any of the fields. So you could stick with | or similar. That is fine. Sorry I forget myself which few characters are not permitted in unix filenames - they are good choices for the field separator.

My intended usage. 2 Examples:
# list of docker volumes to backup
volumes_to_backup="my_container_1:/myvolume1
my_container_2:/myvolume2
my_container_3:/myvolume3"

volumes_to_backup="$(docker volume list --machine-readable | grep --fixed-strings "$volumes_to_backup" | cut -d '|' -f2,4)"

# pass to duplicity (invoked from cron job) to backup each docker volume in the list

OR
# select multiple docker volumes by regexp match ":myvolume*"
volumes_to_backup="$(docker volume list --machine-readable | grep -e ":myvolume*" | cut -d '|' -f2,4)"

# pass to duplicity (invoked from cron job) to backup each volume matched in the regexp

Where duplicity is a unix program for performing incremental backups.

@dreamcat4 Thank you for the explanations here and at another issue.
Let me try to make a prototype for that.

--no-trunc option seems good for this functionality of volume list as same as Docker's list commands.

@dreamcat4 Check #10 out.

Yes. Going by the sample output this new --no-trunc option looks pretty good to me. Thank you for adding that.

I released it as v1.2.0.
@dreamcat4 Thank you so much for your suggestion and making it better.
Please let me know any further ideas. I'd appreciate it. Thanks again.

Great. Thanks for that. Since you have committed it to the master branch tonight I have just pulled and recompiled to v1.2.0 with go get .... The new --no-trunc switch works fine, just that it is not documented in the help usage information yet.
As a non-global flag you might find easiest to mention it here:
# talk2docker help volume
Talk2Docker volume - Manage volumes

Usage:
  talk2docker volume [command] [flags]
  talk2docker volume [command]

Aliases:
  volume, vol

Available Commands:
-  list                                List volumes
+  list [--no-trunc]                   List volumes
etc...

Or else in the next help section entitled Available Flags:. Although maybe that part (which also documents the --json and --yaml switches is something that gets printed out globally for all subcommands (where --no-trunc may not be available).
Many thanks.

You can get full usage of each commands with the global option -h.
talk2docker volume list -h


Extract functionality for determining CUDA-compatible package requirements into separate tool / command / library

Related to https://github.com/replicate/cog/issues/157
Part of Cog's secret sauce is its ability to resolve high-level Python package constraints into pre-compiled CUDA distributions. For example, for torch on CUDA 11.8, Cog generates the requirements torch==2.0.1+cu118 --extra-index-url https://download.pytorch.org/whl/cu118.
Declaring package dependencies in cog.yaml works pretty well, but it's difficult to reconcile this approach for projects that use other tools for package management. For example, a project that declares its build system interface with pyproject.toml. It'd be nice for Cog to behave more like a modern standards-adhering packaging tool like Setuptools, Hatch, or flit, so that Cog's CUDA magic can compose with tools like pip-compile.
It'd be nice to have a cog resolve command (spelling TBD) that prints the list of requirements Cog will use to build the project. You could run that without doing cog build, write that to requirements.txt and then compose that with other tools for dependency management.

Something we were considering is just yanking out the compatibility matrix as a separate repo. Just a cleaned up version of those JSON files would be a big contribution to the ML community...

it would bea  great help, amount of time we spend on installing and later figuring out some thing is incomapatable and try another version quickly adds up. This time could be better spent on debugging something else.


How open(0) will read from CLI?

what does open(0) means, how will you pass the input file name ?

open(0) opens STDIN like a file so open(0) reads all of STDIN. To feed a file into STDIN, you can do python3 main.py < in.txt.


qemu plugin doesn't work on v2.3.0b3

Testing the beta right now, the qemu plugin doesn't work there. The agent does return the <<<qemu>>> section but it's not parsed by the checkmk server, so no check are discovered (or previous check are reported as unimplemented).

Hi,
If you contact us at<EMAIL_ADDRESS>with an Agent Output, we can make an offer to develop a new version. Or as always, we are happy for Pull requests if you want to fix it yourself, and so can we share it also with everybody :)

The agent output didn't change, it's on the server side, on 2.3.0b3 https://github.com/kuhn-ruess/Checkmk-Checks/blob/master/qemu/src/checks/qemu doesn't do its job for some reason. There are no errors, the checks are just not being discovered anymore. It's probably something very obvious that needs to be modified but I'm not familiar enough with Checkmk plugins to create a PR.
I suspect the issues are related to this: https://checkmk.com/werk/16259

I don't think it's related to this werk, since stuff how worked with 2.2 should still work with 2.3.
I also checked the Plugin, and found nothing obvious what could not work in 2.3.
Help from there could only be done in the scope of Support. Because first I would need the Agent Output to reproduce in my 2.3 Instance, and if it works there, We would need a remote session.

I don't think it's related to this werk, since stuff how worked with 2.2 should still work with 2.3. I also checked the Plugin, and found nothing obvious what could not work in 2.3.
Help from there could only be done in the scope of Support. Because first I would need the Agent Output to reproduce in my 2.3 Instance, and if it works there, We would need a remote session.

The output didn't change (since your plugin) didn't but here it is in case anyone else has any issues so that we can compare:
root@server01:~# /var/local/overlay/usr/lib/check_mk_agent/plugins/qemu
<<<qemu>>>
1 vm-windows running 8192 20.0 13.1
2 vm-admin running 4096 6.7 7.1
3 vm-dev running 8192 0.0 10.8
4 vm-linux running 8192 46.7 5.8
5 vm-automation running 2048 6.7 3.8

This doesn't get parsed from the Checkmk server (check not implemented if the services were previously discovered, if removed  then they're not getting discovered anymore).

Thanks for the Output.
I gave it a try. Sadly, it appears that this check needs to be rewritten for 2.3.

Thanks for the Output. I gave it a try. Sadly, it appears that this check needs to be rewritten for 2.3.

How complicated would it be to make it compatible? I don't have experience with this sadly.

every line needs to be rewritten, but since there is no investigation needed because the logic of the old check is already there, I think about 2-3h.

@dnlldl The new Version now should work with 2.3. Please note that it does not yet are ready for 2.4 since that would need the full rewrite

Not sure, if I missed something, but this is what I get when enabling 3.0.1 over 2.0:

@robin-checkmk sorry, will check, that was a contribution to us.

That is strange, I did really nothing else to rebuild the mkp to fix that. My guess here, the Pull Request of the plugin had an error which I packed, but was fixed then with another pull request. Also Updated it on the Exchange...

It might be just my problem, but the agent plugin does not seem to be deployed, even with a matching rule.
I can open a dedicated issue, though, if that makes sense. It is not urgent to me, I just realized it.

On which Checkmk Version are you? There are sadly some changes between the Checkmk Versions on how to make the Bakery work.

CEE 2.3.0p13.

OK, then this is the reason, the plugin is not full 2.3 ready since it would need a rewrite for the v2 API. A full clean rewrite would be best here, but that is not in the scope of the GitHub Issues since it needs more time. But I'm pretty sure that will happen in the next months as soon one of our consumer needs it. When I recall right, the Company this Plugin was built for, is planning on Updated to 2.3 soon.

Alright, gotcha. Thanks for looking into this!

So do we reopen this issue? As the plugin still doesn't work on 2.3?

@dnlldl Could question because the next step would be the full rewrite to the new v2 API. It's no bug to fix, it's a rewrite for a new CMK version. Do you want to do that, or wait until it happens by some of our consumers?


Adding the list of official NuGet packages into readme

Especially for the library with all sorts of security algorithms the distribution should be also secure. Now, there are many unofficial NuGet packages and it can look like that someone is trying to abuse this library to distribute his (potentially dangerous) code. For more info see #140 .

I would recommend adding the portable version of the library to the official package as well. Per https://github.com/bcgit/bc-csharp/issues/140#issuecomment-430445962

As of just now there is just one official package: https://www.nuget.org/packages/BouncyCastle.Cryptography .


Scatter3 Cdata won't print

When using scatter3 with the Cdata property, export_fig won't print the scatter.
scatter3(wcoeff(:,1),wcoeff(:,2),wcoeff(:,3),marker_size,marker_color)

scatter3(wcoeff(:,1),wcoeff(:,2),wcoeff(:,3),marker_size)

This happens irrespective of the output format or renderer
Tested on Mac  OS 10.9.5
Matlab 2012b or 2013a
Thanks in advance for your help,
Benjamin

The following works very well for me:
>> a=rand(100,3); scatter3(a(:,1),a(:,2),a(:,3),15,[.7,.3,.6]);
>> export_fig test.png; winopen test.png

So I suspect that you may be using an old version of export_fig, or perhaps your marker color is set to white or some other problematic color value. Download the latest version from github and retry. Let me know if you have more info, otherwise I'll close this bug (or you can close it if you find out that it works ok).

Thanks for the fast reply. I have the latest version of export_fig.

it actually works fine when exporting to bitmap format no matter the number of different colors, sorry for having wrongly reported the contrary.

It looks like the problem is more general than what I thought
When trying

a=rand(100,3); scatter3(a(:,1),a(:,2),a(:,3),15,a);
export_fig test.png

Works fine. However, this (with no color specification)
a=rand(100,3); scatter3(a(:,1),a(:,2),a(:,3),15);
export_fig test.pdf

will take forever until this error
Ghostscript error: perhaps /private/tmp/tpfa605301_734b_4af3_a11f_85beea541a02.pdf is open by another application
Ghostscript options: -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile="/private/tmp/tpfa605301_734b_4af3_a11f_85beea541a02.pdf" -dEPSCrop -sFONTPATH="/usr/share/fonts:/usr/local/share/fonts:/usr/share/fonts/X11:/usr/local/share/fonts/X11:/usr/share/fonts/truetype:/usr/local/share/fonts/truetype" -f "/private/tmp/tpb6b2992a_c667_4d26_be9c_28d6d6a50dfc.eps"

Thus it looks like I have a weird ghostscript behaviour depending on what data should be printed (my first example without color specification printed OK, see my previous post).
Ghoscript is working fine as I was able to call it from the terminal to convert the temporary eps file produced by print2eps, into a -ugly- pdf.
I am clueless as to what to do now now

It works ok for me... Do you see no details of the error except for the 2 lines you sent above? you should have seen the actual ghostscript error message displayed beneath these 2 lines (thrown as a Matlab error)

a=rand(100,3);
scatter3(a(:,1),a(:,2),a(:,3),30);
export_fig ('test','-pdf');

Ghostscript error: perhaps /private/tmp/tpaaba938c_69ce_4aa2_876d_03ffd306748b.pdf is open by another application
Ghostscript options: -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile="/private/tmp/tpaaba938c_69ce_4aa2_876d_03ffd306748b.pdf" -dEPSCrop -sFONTPATH="/usr/share/fonts:/usr/local/share/fonts:/usr/share/fonts/X11:/usr/local/share/fonts/X11:/usr/share/fonts/truetype:/usr/local/share/fonts/truetype" -f "/private/tmp/tpd6c8b48c_ab21_4d00_9830_1722406b04e3.eps"

export_fig error. Please ensure:
  that you are using the latest version of export_fig
  and that you have Ghostscript installed
  and that you do not have multiple versions of export_fig installed by mistake
  and that you did not made a mistake in the expected input arguments

If the problem persists, then please report a new issue.

Error using eps2pdf (line 152)
/bin/bash: line 1: 66978 Segmentation fault: 11  "/opt/local/bin/gs" -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -dPDFSETTINGS=/prepress -sOutputFile="/private/tmp/tpaaba938c_69ce_4aa2_876d_03ffd306748b.pdf" -dEPSCrop
-sFONTPATH="/usr/share/fonts:/usr/local/share/fonts:/usr/share/fonts/X11:/usr/local/share/fonts/X11:/usr/share/fonts/truetype:/usr/local/share/fonts/truetype" -f "/private/tmp/tpd6c8b48c_ab21_4d00_9830_1722406b04e3.eps"

Error in export_fig (line 622)
                eps2pdf(tmp_nam, pdf_nam_tmp, 1, options.append, options.colourspace==2, options.quality, options.gs_options);

This appears to be a segmentation fault within your GS installation - try to install a newer version of ghostscript.

Hello,
This is not a problem with ghostscript,
After multiple testing with dummy figures, I realized that the number of points determine,  in an unpredictable manner, if export-fig will be able to generate a correct figure, an uncorrect figure (output whithout the colored dots), or simply crash as reported above. I hypothesized it could be due to the way post-processing by export_fig handle plots generated with CData property.
My workaround to the problem is to skip the Cdata property, get the handle of the children to specify color using a loop. The resulting output is flawless
        h=scatter3(wcoeff(:,1),wcoeff(:,2),wcoeff(:,3),marker_size)
        data_point = get(h,'children');
        for i=1:length(data_point)
            set(data_point(i),'MarkerEdgeColor',marker_color(i,:),'MarkerFaceColor',marker_color(i,:))
        end

This appears to be something specific to my system, as you are not able to reproduce the error. It was not solved by reinstalling all the dependencies.
Thanks for the help though,
Benjamin


Streamlabs4J cannot parse platform information using Optionals

Prerequisites

[x] If this is a question/suggestion, I have already considered discuss it on Discord Server
[x] This issue specifically has something to do with Twitch4J
[x] I have attempted to look for similar issues already
[x] I have read and understood the contribution guidelines and I accept them.

Description

Streamlabs4J cannot parse platforms information that are marked using optionals, this affects Twitch, Youtube, Mixer and Facebook platform objects that are only returned by the endpoint if the user has set them up.
Solutions

Updating Jackson's Datatype dependency to use JDK8 seems to fix the issue, as this is more than likely caused because JSR310 cannot parse the Java 8 Optional class.
Alternatives

I have not been able to find any alternatives to fix this issue.
Additional context

Following are the logs that this issue throws when attempting to parse the platform objects.
[16:26:27 WARN]: Caused by: feign.FeignException: Unrecognized field "id" (class java.util.Optional), not marked as ignorable (0 known properties: ])
 at [Source: (BufferedReader); line: 1, column: 263] (through reference chain: com.github.twitch4j.streamlabs4j.api.domain.StreamlabsUser["twitch"]->java.util.Optional["id"]) reading GET https://streamlabs.com/api/v1.0/user?access_token=<valid_access_token>&client-id=<application_id>

[16:26:27 WARN]: [StreamlabsApi#getUser] --->
[16:26:27 WARN]: GET
[16:26:27 WARN]:
[16:26:27 WARN]: https://streamlabs.com/api/v1.0/user?access_token=<valid_access_token>&client-id=<application_id>
[16:26:27 WARN]:  HTTP/1.1
[16:26:27 WARN]: [StreamlabsApi#getUser] <--- HTTP/1.1
[16:26:27 WARN]: 200
[16:26:27 WARN]:  OK
[16:26:27 WARN]:  (
[16:26:27 WARN]: 148
[16:26:27 WARN]: ms)
[16:26:27 WARN]: [StreamlabsApi#getUser] <--- ERROR
[16:26:27 WARN]: UnrecognizedPropertyException
[16:26:27 WARN]: :
[16:26:27 WARN]: Unrecognized field "id" (class java.util.Optional), not marked as ignorable (0 known properties: ])
 at [Source: (BufferedReader); line: 1, column: 263] (through reference chain: com.github.twitch4j.streamlabs4j.api.domain.StreamlabsUser["twitch"]->java.util.Optional["id"])
[16:26:27 WARN]:  (
[16:26:27 WARN]: 148
[16:26:27 WARN]: ms)

Closed by #4.


[Bug] An unnecessary Line break occurs when WrapStrategy.WRAP is set and a single line is just fit to hold the content

Before you submit this issue, have you checked the following

[X] Is this really a problem?
[X] I have searched the Github Issues for similar issues, but did not find anything.

Affected packages and versions
0.5.1
Reproduction link
https://stackblitz.com/~/github.com/vimcaw/sheets-vite-demo
Expected behavior
There should be no line breaks, just as in Microsoft Excel:

Actual behavior
It produces an unnecessary Line break:

System information
System:
OS: macOS 14.5
CPU: (8) arm64 Apple M2
Memory: 120.88 MB / 16.00 GB
Shell: 3.6.1 - /opt/homebrew/bin/fish
Binaries:
Node: 23.2.0 - /opt/homebrew/bin/node
Yarn: 1.22.22 - /opt/homebrew/bin/yarn
npm: 10.9.0 - /opt/homebrew/bin/npm
pnpm: 8.15.9 - /opt/homebrew/opt/pnpm@8/bin/pnpm
Browsers:
Chrome: 131.0.6778.87
Safari: 17.5

We are unable to reproduce the issue. Could you please provide us with the corresponding xlsx file?

We are unable to reproduce the issue. Could you please provide us with the corresponding xlsx file?

Yes, here it is:
Univer Wrapping Bug.xlsx
In Microsoft Excel:

In Univer:

Btw, it's not a problem with Excel data transforming, even easily reproduced in brand new Univer sheet spread:
https://github.com/user-attachments/assets/8c55a90f-a343-4424-8389-9c0a5da4631c

@vimcaw
export interface IDocumentRenderConfig {
    // ...
    zeroWidthParagraphBreak?: BooleanNumber; // Whether to render the paragraph \r to zero width. the default value is false.
}

Set zeroWidthParagraphBreak to true, Will adding this config solve your problem?

@vimcaw
export interface IDocumentRenderConfig {
    // ...
    zeroWidthParagraphBreak?: BooleanNumber; // Whether to render the paragraph \r to zero width. the default value is false.
}

Set zeroWidthParagraphBreak to true, Will adding this config solve your problem?

It looks good to me. I will be glad to test it once released.


Fix for gosec false positive

Fix for gosec G115 false positive
Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature Enhancement
[ ] Test Automation
[ ] Code Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Community Operator listing
[x] Other (please describe): security related fix

How risky is this change?

[x] Small, isolated change
[ ] Medium, requires regression testing
[ ] Large, requires functional and regression testing

This is not must fix. Please merge it to master.

@hemalathagajendran Sorry i did not noticed that it is targeting for release-2.13.


explorer was running until a couple of hours and now is stopped

explorer was running until a couple of hours and now is stopped. nothing happens when search

running again.


chore: bump create-react-app to 5.0.1 (from 4.0.3)

None of the breaking changes should be affecting us: https://github.com/facebook/create-react-app/releases/tag/v5.0.0
This enables node >= v17

This seems to be working in #2993 without any readily apparent issues.


Use block hints to specify water surface height

This supersedes #1465 by simply using a block hint to specify the water level. I'm surprised that is was to easy to fix.
A screenshot from PolyWorld illustrates the improvement:

Kudos go to @MarcinSc for the idea of using block hints.
Closes #1371
Closes #1466

This tests out alright although with two potential issues

If you set environmental effects to high you get "ocean waves" which are kinda quirky to begin with. The sea surface becomes a moving and twisting pane that moves up and down quite substantially. Previously this only happened at height 32 - now it happens for every body of water, including a single block sitting in the middle of nowhere :-)
Water is now fancy including global reflections at every level (#1466) - which makes me think that every level is reflecting the same one level regardless of its height. This is conjecture as I'm hardly a 3d wizard but I know additional render passes are involved for generating the reflection and cannot imagine that is now running for every block height level (with water)

But honestly both of those relate more to water quirks in the first place with it previously having been a hack to only support fancy water at height 32. I'm not sure we have the wizardly skill for that without getting @begla back :-)
I'm going to merge this and put in separate future issues. Not like the high environmental effects are very commonly spotted anyway, I figure!

This tests out alright although with two potential issues

If you set environmental effects to high you get "ocean waves" which are kinda quirky to begin with. The sea surface becomes a moving and twisting pane that moves up and down quite substantially. Previously this only happened at height 32 - now it happens for every body of water, including a single block sitting in the middle of nowhere :-)
Water is now fancy including global reflections at every level (#1466) - which makes me think that every level is reflecting the same one level regardless of its height. This is conjecture as I'm hardly a 3d wizard but I know additional render passes are involved for generating the reflection and cannot imagine that is now running for every block height level (with water)

But honestly both of those relate more to water quirks in the first place with it previously having been a hack to only support fancy water at height 32. I'm not sure we have the wizardly skill for that without getting @begla back :-)
I'm going to merge this and put in separate future issues. Not like the high environmental effects are very commonly spotted anyway, I figure!


TCP packet size too small causing poor throughput

Originally reported by @mateanticevic

I have the same problem and noticed something strange. There's a huge amount of TCP packets as they are way below the MTU size limit. I reckon this is the cause of the slow download. This happens only with IIS in front of Kestrel. With Kestrel alone it doesn't happen.

AspNetCore MVC 1.1.1 ~675kB ~11500 packets ~2s download

Tested a similar call in an old app with Web forms and the difference is obvious.

Web forms ~675kB ~750 packets ~200ms download

@mcy94w Is it possible to capture packet sizes and number of packets in a one-off run as part of your ANCM perf tests?

Thank you for opening this issue.
I noticed you've copied the wrong image for the Web forms example.

EDIT: Updated incorrect image

@mcy94w Do you think you'll be able to capture packet information?


Azure Functions (Python V2 model) doesn't seem to support Session-based Service Bus Queue triggering

Package Name: azure-functions
Package Version: 1.13.3
Operating System: WSL Ubuntu (in VSCode) and Windows 11
Python Version: 3.10.4

Describe the bug
I'm trying to create a Azure Service Bus Queue - triggered function using the Python v2 programming model, but I'm running into a bug.
The error message is as follows:
[Error]   ReceiveBatchAsync Exception: System.InvalidOperationException: It is not possible for an entity that requires sessions to create a non-sessionful message receiver.

It works fine for a non-Session-aware Queue trigger, but it starts throwing the error if I make it Session-aware. I also can't seem to find any parameter for the decorator that would allow me to specify the Session-id.
To Reproduce
I'm mainly following the steps outlined in this article: https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-service-bus-trigger?tabs=python-v2%2Cin-process%2Cextensionv5&pivots=programming-language-python
The only difference being that the Queue I have created is Session-aware.
I'm trying to figure out how to specify the Session-id, but can't seem to find it back in the documentation, nor anywhere online.

Expected behavior
That I'm either able provide the Session-id as a decorator parameter, or that the functioning of the Queue-trigger for session-aware queues is agnostic, and can take in messages normally.
Screenshots
Full screenshot from the logstream:

Hi @TDehaene ,
Thank you for the feedback. This repo is for the python client libraries and for azure functions youll have to head on over here and open a new issue on that repo.  They will be able to provide you with up to date information on the progress & state of the v2 model.
With that said, v2 is in preview and some things would be in flux as they approach GA. I would suggest looking in to the v1 model which does support session based queues using configurations


[WFLY-14355] Move missing MP Opentracing and MP REST Client licenses from wildfly-ee to wildfly

Jira: https://issues.redhat.com/browse/WFLY-14355

@ehsavoie @jamezp can you please review?

@ehsavoie @jamezp can you please review?


Add support for Forge Loom

Forge Loom is a replacement plugin to Forge Gradle, based on FabricMC Loom.
It would be great to use Parchment mappings with this tool.
https://docs.architectury.dev/docs/forge_loom/
https://github.com/architectury/architectury-loom

This is a non-issue. Forge Loom is a fork of FabricMC's Loom, which already supports Parchment mappings out of the box. If you need info on how to use it, see the pins in #fabric in the ParchmentMC discord. It works the same for Forge Loom.


Animated Sprite Current Time Infinity on Tab Change

Hey guys, I found an issue with Animated Sprites / Movie Clip. When I change tabs with an animation running, the whole game breaks.
When you have a running animation, the current frame is calculated with this:
AnimatesSprite.js 372: var currentFrame = Math.floor(this._currentTime) % this._textures.length;
However, when you change tab, this._currentTime is being set to Infinity, and so this._currentFrame is being set to NaN. This in turn causes this._textures[this._currentFrame] to return undefined and then the renderer crashes because an invalid texture has been set on the sprite.
I did a quick isFinite stop this from breaking the renderer.
`
get: function get() {
    if(!isFinite(this._currentTime)) {
        this._currentTime = 0;
    }

    var currentFrame = Math.floor(this._currentTime) % this._textures.length;

    if (currentFrame < 0) {
        currentFrame += this._textures.length;
    }

    return currentFrame;

}
`
Hope this might help someone else too!

Hi @megmut a PR or a pen that displays this issue against the latest dev build or both would be great ;)

@megmut Sorry to bother you again, but a pen / fiddle to replicated this issue for us would be much appreciated!

Sorry I completely forgot.. let me try and get one done tonight :)

@sorry to bug you again @megmut - It's been a while now! Just wanna make sure this isn't an issue going forward. It's not something I am able to reproduce here