WhatsApp Version 2.2212.8

sir
This tutorial will show you how you can send WhatsApp Messages from Excel using VBA and Selenium.
https://www.youtube.com/watch?v=Wn9L1MD_y0Y
new WhatsApp Version 2.2212.8 is not work , but old version worked properly
Please resolve this problem
vba work but number search box find number after that...
message past at same area ( i mean "number search box") no past on message box area
there is something wrong in new WhatsApp Version 2.2212.8
i think something missing
thanks

problem resolve there is some notification interrupted  notification off all then run properly message send successfully


Can't get attribute 'Identity' on <module 'efficientnet_pytorch.utils'

Hi, I am using 4_efficientnet module, please let me know how can I deal with this error.
AttributeError                            Traceback (most recent call last)
 in ()
2 gtf = Infer()
3 #our trained model weights are in here in onxx format
----> 4 gtf.Model(model_dir="model/")
2 frames
/usr/local/lib/python3.6/dist-packages/torch/serialization.py in _load(zip_file, map_location, pickle_module, **pickle_load_args)
840     unpickler = pickle_module.Unpickler(data_file, **pickle_load_args)
841     unpickler.persistent_load = persistent_load
--> 842     result = unpickler.load()
843
844     return result
AttributeError: Can't get attribute 'Identity' on <module 'efficientnet_pytorch.utils' from '/usr/local/lib/python3.6/dist-packages/efficientnet_pytorch/utils.py'>

A solution to this error has just been added to requirements file. Install efficientnet_pytorch==0.6.3. Latest efficientnet_pytorch version 0.7 has backward compatibility issues. original efficientnet pytorch's pip version was updated last night.

@abhi-kumar has this been resolved? Can you please outline what exact versions do we need. I am using 0.6.3 of efficient det, 1.4 of pytorch , 0.5 of torchvision  and still facing this issue.

For anyone on colab, please use the following packages, it works for me:
mxnet-cu101
torch==1.4
torchvision==0.5
tensorboardX
efficientnet_pytorch==0.6.3

efficientnet_pytorch==0.6.3
Thank  you very much , You saved my day


Compile error on using docker

what would be the reason for the error below, while using the defualt docker build script
I try to build the code on my host, get the same error message
i double check the file :lib/make-pal/pal.mak, which is exist
make[1]: Entering directory '/opt/swsim/lib/swicc'
Makefile:2: lib/make-pal/pal.mak: No such file or directory
make[1]: *** No rule to make target 'lib/make-pal/pal.mak'.  Stop.
make[1]: Leaving directory '/opt/swsim/lib/swicc'
make: *** [Makefile:110: clean] Error 2

You probably forgot to clone the repo recursively, so submodules are missing (i.e. directories inside lib/ are empty).

i already sync the submodule and download the file
[swsim (main)]$ git submodule init
[swsim (main)]$ git submodule update
[swsim (main)]$ git submodule sync
Synchronizing submodule url for 'lib/make-pal'
Synchronizing submodule url for 'lib/swicc'
Synchronizing submodule url for 'lib/tau'
[swsim (main)]$ git submodule status
ddfd124643d39b3399f09e9441a3028f3f3cc175 lib/make-pal (heads/master)
6955a1906864d808e77bf01661f17bfc3c0b5c62 lib/swicc (heads/main)
95448f36bbba808ce58bbed8d81f4644f0371647 lib/tau (v1.0.0-201-g95448f3)
in the lib directory as below, the lib are not empty
[swsim (main)]$ tree  lib/
lib/
├── make-pal
│   ├── LICENSE
│   ├── pal.mak
│   └── README.md
├── swicc
│   ├── doc
│   │   └── install.md
│   ├── dockerfile
│   ├── docker.sh
│   ├── include
│   │   └── swicc
│   │       ├── apdu.h
│   │       ├── apduh.h
│   │       ├── apdu_rc.h
│   │       ├── atr.h
│   │       ├── common.h

It appears that while you initialized direct submodules of swSIM, the submodules of the dependency swICC were not initialized.
Could you confirm that directories in lib/swicc/lib/ are not empty?

To add to @tomasz-lisowski prior comment:
To initialize and update all submodules recursively, you can execute:
git submodule update --init --recursive

It appears from the posted command that you only got the submodules for swsim itself.

[swsim (main)]$ git submodule update --init --recursive
Cloning into '/home/zeroway/github/swsim/lib/swicc/lib/tau'...
Submodule path 'lib/swicc/lib/cjson': checked out 'b45f48e600671feade0b6bd65d1c69de7899f2be'
Submodule path 'lib/swicc/lib/tau': checked out 'bde87091a5d9f8730da808785072323194ec4b3c'
the directory lib/swicc/lib is not empty
[swsim (main)]$ tree lib/swicc/lib/ | wc -l
329
still, can not compile the code
[swsim (main)]$ ./docker.sh
#0 building with "default" instance using docker driver
......
#6 exporting to image
#6 exporting layers done
#6 writing image sha256:fe23fb020cf0b4455e16be3a9fc61a709c6b716a67e1a84b5da4fc96fbbdb09f done
#6 naming to docker.io/tomasz-lisowski/swsim:1.0.0 done
#6 DONE 0.0s
rm -rf build
cd lib/swicc && make clean
make[1]: Entering directory '/opt/swsim/lib/swicc'
Makefile:2: lib/make-pal/pal.mak: No such file or directory
make[1]: *** No rule to make target 'lib/make-pal/pal.mak'.  Stop.
make[1]: Leaving directory '/opt/swsim/lib/swicc'
make: *** [Makefile:110: clean] Error 2

I reclone the whole repo to fix the issue.


Why I tried dateparser.parse and return the wrong result

I tried to use dateparser to convert the time but got the wrong result. Below is what I tried:
dateparser.parse('07:00 PM PST, November 02, 2019', settings={'TO_TIMEZONE': 'Asia/Taipei'})
It should returns: datetime.datetime(2019, 11, 3, 10, 0, tzinfo=<DstTzInfo 'Asia/Taipei' CST+8:00:00 STD>)
But I got this return: datetime.datetime(2019, 11, 3, 11, 0, tzinfo=<DstTzInfo 'Asia/Taipei' CST+8:00:00 STD>)
Can anyone help me to resolve this wired problem? Thanks a lot!

According to https://www.worldtimebuddy.com/pst-to-taiwan-taipei the difference is +16h.
07:00 PM + 16h = 11:00 AM
Can you please confirm that the actual result is as expected, or provide some source that supports your claim?

Hello Gallaecio,
I think that I probably did some wrong calculation at that time. Anyway, I have no problem now. Thanks for your comment.


[Refactor](jdbc catalog) Enhance Field Handling in JdbcFieldSchema Using Optional for Better Null Safety

Proposed changes
Issue Number: close #xxx
In some cases, using Resultset.getxxx cannot correctly handle null data, so I use Optional to enhance the fields of JdbcFieldSchema for better type mapping when some results are null.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall


Error during syncronization

Hi I installed the homebridge today and I always get this error. I have copied the certificate to the folder. What am I doing wrong? I would be grateful for a tip
I use Docker

Starting to advertise 'Homebridge CD99 7A05' using bonjour-hap backend!
[6/14/2021, 2:17:06 PM] Homebridge v1.3.4 (Homebridge CD99) is running on port 53471.
[6/14/2021, 2:17:06 PM] [FibaroHC3] Error getting data from Home Center:  Error: getaddrinfo ENOTFOUND hc3-0000XXXX.local
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26) {
errno: -3008,
code: 'ENOTFOUND',
syscall: 'getaddrinfo',
hostname: 'hc3-0000XXXX.local',
response: undefined
}
(node:369) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND hc3-0000XXXX.local
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:67:26)
(Use node --trace-warnings ... to show where the warning was created)
(node:369) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:369) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

https not working with docker plugin implementation.
Please use host parameter and not url.
Or do not use docker.


Is base image Ubuntu 16 or 18?

The Google docs for the Python runtime state that "The Python runtime is based on Ubuntu 18.04", and points to this repo, where indeed the build script specifies os_base=ubuntu18. That change was made back in July 2021. Yet if one goes to the Google container registry page, the 'latest' image  (dated Oct 4, 2021):
gcr.io/google-appengine/python@sha256:c6480acd38ca4605e0b83f5196ab6fe8a8b59a0288a7b8216c42dbc45b5de8f6
appears to be for Ubuntu 16. For example, a Container Registry Vulnerability Scan for an AppEngine Flex image deployed with runtime: python shows up with Affected location cpe:/o:canonical:ubuntu_linux:16.04.
So why the discrepancy? Are Google App Engine Flex Python runtimes based on 18 (per the docs and this repo) or 16 (per what actually appears to show up in the Registry)?
Thanks.

I also researched this issue because I really need to install GNU libc in version at least 2.31 and I need a newer Ubuntu version than 16.04 to be able to install it. I checked a few images, including "latest" and even more recent releases published on Google container registry page that are available up to this day and I added this step to my Dockerfile to check the system version of each image: RUN echo $(cat /etc/*release) - it turns out that all run on Ubuntu 16.04 which is really misleading as @wlongabaugh pointed out.
My question is: is there a way of running image gcr.io/google-appengine/python with Ubuntu 18.04 without building the image from the source by ourselves?

@donmccasland @bendory should people still be using these images? is this project dead?


ngf-resize seems to remove picture properties like GPS position

When I don't use ngf-resize, the uploded picture (from a mobile camera) contains properties like GPS position and some others.
When I enable ngf-resize those properties are removed. Is there any way to keep them (or at least the GPS-Position) in the picture?
Thank you very much!

Will be added to the next release.
For now you could find a workaround here: http://stackoverflow.com/a/18298040/1105011

---NooB alert---
is it possible to call resize from JS code after reading the EXIF information?
(instead of ngf-resize)

Upload.resize(imageFile).then(function(resizedFile) {})

Fixed at 11.0.0


varlink build

Add the endpoint and methods for build so users can build an image
with varlink.  build can also use the more method for streaming
output back more regularily; however, it looks like a bug in buildah
does not output all build output to the writer provided.
Tidy up some create fixes and add endpoint for GetImage requested by
jhonce.
Signed-off-by: baude<EMAIL_ADDRESS>

bot, retest this please

bot, retest this please

Oh, nevermind. @baude you picked up some merge conflicts

bot, retest this please

Fix the http stuff in a separate PR.
Want @jwhonce to give final LGTM since he is the user of this.

This LGTM. Let's try and get this in before release.

@rh-atomic-bot r+

@baude could you just rebase this and resubmit it so we can get the green buttons.

bot, retest this please

bot, retest this please

@rh-atomic-bot r+

merging as soon as Travis passes.

Same FAH27 problem everyone is seeing.  Merging manually.


Fixing bad parsing of class and PID

Before the classes were in format e.g EmsCluster:8, so split(":")
would work. Now all classes are namespaced, so we can't do that.
Fixing by parsing with lookbehind and lookahead, that checks we
parse by single colon.
Fixes BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=1279380

@gmcculloug can you check it ? As you were previously assigned to the BZ


usage of deprecated tough-cookie version

when I installed icomoon-build (globally), I got this warning:
npm WARN deprecated<EMAIL_ADDRESS>ReDoS vulnerability parsing Set-Cookie
https://nodesecurity.io/advisories/130
recommends an update to v. 2.3.0 - is that possible?

Upgraded phantomjs and it is gone. Can you try the latest version?

It works perfectly now. Thanks a lot for that quick response.

Sorry, my response was too early.
Only installation worked.
C:\Users\xxx\AppData\Roaming\npm\icomoon-build -> C:\Users\xxx\AppData\Roaming\npm\node_modules\icomoon-build\bin\icomoon-build
C:\Users\xxx\AppData\Roaming\npm
`--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>    `--<EMAIL_ADDRESS>      `--<EMAIL_ADDRESS>        `--<EMAIL_ADDRESS>
But running the script gives me this error:
module.js:327
    throw err;
    ^

Error: Cannot find module 'phantomjs'
    at Function.Module._resolveFilename (module.js:325:15)
    at Function.Module._load (module.js:276:25)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at Object.<anonymous> (C:\Users\xxx\AppData\Roaming\npm\node_modules\icomoon-build\lib\icomoon.js:9:17)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)

Sorry, didn't catch this issue yesterday.. Just fixed, can you try again?

Works now. Thank you very much!
(I ran into another problem thoug, but that is a different issue i guess.)


Fix transitionMiddleware return values

For real this time.

For posterity, this diff is cluttered because I removed some unnecessary else blocks

Yep, that's it. :+1:


[Feature]: Provide support for using Async API for Redis connector

Connector Name
module/redis (Redis)
Suggested feature
Lettuce library provides an async API for executing Redis commands. At the moment synchronous API is used. Support for async API need to be implemented.
Related issues
No response

Duplicate of https://github.com/ballerina-platform/ballerina-library/issues/5038


S3 Multipart Copy API Error

What platform/OS are you using?
Window 7 Professional 64bit
What compiler are you using? what version?
Visual Studio 2017
What's your CMake arguments?
cmake ../aws-sdk-cpp-1.1.56 -G "Visual Studio 15 2017 Win64" -DSIMPLE_INSTALL=OFF
-DCMAKE_INSTALL_PREFIX="../MyLibs/aws-sdk-cpp-1.1.56"
Can you provide a TRACE level log? (sanitize any sensitive information)
aws_sdk_2017-10-20-09.log
Problem Details
Hello Forum,
I am struggling with the multi-part copy mechanism of the SDK S3Client.  I have large objects (5GB and 100MB) in one of my buckets and I'm trying to use them as the source of a multi-part copy.  My test program doesn't want to work and I cannot see why so any help would be appreciated.  Here's my simple test program (sanitized)....
test_multipartcopy.cpp.txt
The 'pS3Client->CreateMultipartUpload(oCMPURequest)' call succeeds.
The 'pS3Client->UploadPartCopy(oUPCRequest)' call fails with an error - it's none of the S3Errors.  There is no ETag in set in the response.
I also have the AWS CLI installed on the same machine (with Python 3.6) and I can make the multi-part copy work using that.  Here's the CLI commands.
test_multipartcopy.using_cli.txt
So the questions are :

Is there something missing in my test program - if so what?
Is this a know bug in SDK version 1.1.56 and is it fixed? If so what version?

Regards,
Paul

Hi, if you want to upload large files, how about using the high level API TransferManager? I find it in your header files, but is never used. And it's also recommended to use the latest version, since we made some modification in TransferManager, including some API changes since 1.1.56.

Thanks for the reply wps132230.  I am aware of the TransferManager (hence the header in the test file) but I need the multipart copy to work (it does in the AWS CLI).    Can you look again at my initial questions as I they've not been answered by your response.  I'll get the latest SDK and try it out but obviously that's time consuming so it would be good to know whether the latest version incorporates any fixes that might address the MPU.

I think this is a bug but can't quite see what the problem is at present. Any help appreciated.
I have traced the call through to:
WinSyncHttpClient::BuildSuccessResponse(...) in WinSyncHttpClient.cpp (line 174)
At Line 218 of this file we call DoReadData(...)
The 1024 byte body buffer at this point contains the response I expect: i.e.:

2017-10-22T14:39:10.000Z
"b8fc857a25e7958868c2f003d5e0952d"

Therefore AWS is returning the expected response but for some reason that response is not appearing in UploadPartCopy () result.
In the same file (Line 229) we call request.GetDataReceivedEventHandler(), this returns null
so 'receivedHandler(...) is not called - should it be ???  Should it have been set if so where?
Keep tracing back up through the stack ..
AWSClient.cpp Line 685 in AWSXMLClient::MakeRequest(...)
The httpOutcome | result | bodyStream | m_underlyingStream | contains the above result...
Trace this through into XmlSerializer.cpp XmlDocument::CreateFromXmlStream( ... ) Line 208
As this point the 'xmlString' contain the expected response :-)
The XML is parsed correctly by the look of it.
Up again to AWSXMLClient::MakeRequest(...) xmlDoc (line 687) is parsed correctly
and from this we create an XmlOutcome at line 695.  Note the XML at this point contains the values we expect.  At this point the original data seems to be lost - cant see why at present ???

Thanks for reporting the problem. Looking into it.

No problem.
Thanks.
From: Marco Magdy<EMAIL_ADDRESS>Sent: 23 October 2017 22:27
To: aws/aws-sdk-cpp<EMAIL_ADDRESS>Cc: Paul Caswell<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [aws/aws-sdk-cpp] S3 Multipart Copy API Error (#701)
Thanks for reporting the problem. Looking into it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Faws%2Faws-sdk-cpp%2Fissues%2F701%23issuecomment-338801756&data=01|01|paul.caswell%40hitachivantara.com|83628d0d7dd54b12528708d51a5cbf48|18791e1761594f52a8d4de814ca8284a|0&sdata=mqo2iBmhu%2FoulQa%2BrCn2QjJGM4S%2FmdDAf%2BXIriP4Raw%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKEe1A-0PztHyGwZwyYpGwkWk14rSHlGks5svQSOgaJpZM4QAT6y&data=01|01|paul.caswell%40hitachivantara.com|83628d0d7dd54b12528708d51a5cbf48|18791e1761594f52a8d4de814ca8284a|0&sdata=HHGZK4xEHZWzLw3Rdt989rrTu8gYYJ75eB%2FqgtJTfww%3D&reserved=0.

Fixed the bug, will merge it soon.

Latest version should have the fix.
Please let us know if you're still having problems.
Thanks


Add calculation for Terrestrial Coupling Index (TCI)

Describe the New Feature
I am updating the METplus Wrappers use case here: https://metplus.readthedocs.io/en/develop/generated/model_applications/land_surface/PointStat_fcstCESM_obsFLUXNET2015_TCI.html#sphx-glr-generated-model-applications-land-surface-pointstat-fcstcesm-obsfluxnet2015-tci-py. That use case does Python embedding for both the forecast and observation data. For the observation data, it was previously using pre-computed TCI data but now it will calculate TCI from raw observation data. The TCI calculation should be shared for the forecast and observation data since it is mathematically the same.
Acceptance Testing
List input data types and sources.
Describe tests required for new functionality.
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the new feature down into sub-issues.

[ ] Add a checkbox for each sub-issue here.

Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee

[ ] Select engineer(s) or no engineer required
[ ] Select scientist(s) or no scientist required

Labels

[ ] Select component(s)
[ ] Select priority
[ ] Select requestor(s)

Projects and Milestone

[ ] Select Repository and/or Organization level Project(s) or add alert: NEED CYCLE ASSIGNMENT label
[ ] Select Milestone as the next official version or Future Versions

Define Related Issue(s)
Consider the impact to the other METplus components.

[ ] METplus, MET, METdataio, METviewer, METexpress, METcalcpy, METplotpy

New Feature Checklist
See the METplus Workflow for details.

[ ] Complete the issue definition above, including the Time Estimate and Funding source.
[ ] Fork this repository or create a branch of develop.
Branch name: feature_<Issue Number>_<Description>
[ ] Complete the development and test your changes.
[ ] Add/update log messages for easier debugging.
[ ] Add/update unit tests.
[ ] Add/update documentation.
[ ] Add any new Python packages to the METplus Components Python Requirements table.
[ ] Push local changes to GitHub.
[ ] Submit a pull request to merge into develop.
Pull request: feature <Issue Number> <Description>
[ ] Define the pull request metadata, as permissions allow.
Select: Reviewer(s) and Development issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
[ ] Iterate until the reviewer(s) accept and merge your changes.
[ ] Delete your fork or branch.
[ ] Close this issue.

I am not sure if this is "contributed" or a "diagnostic": https://metcalcpy.readthedocs.io/en/latest/Contributors_Guide/index.html#organization-of-code-in-the-github-repository
Thoughts?

I think I could put this under contributed/land_sfc to be consistent with the METplus use case model_applications category: https://metplus.readthedocs.io/en/latest/generated/model_applications/index.html#land-surface?
Or, I could see a diagnostics/land_sfc directory, but I see the diagnostics directory is empty so maybe this is not the way to go yet.

If it truly is a diagnostic, then it should go under the diagnostics
directory.  We put that directory as a placeholder for future diagnostic
code.  Since you are the scientist on the issue, I'll defer to your
decision.  The contributed directory was created for outside collaborators,
whose code didn't necessarily conform with our coding structure.
On Tue, Apr 2, 2024 at 8:52 AM Dan Adriaansen @.***>
wrote:

I am not sure if this is "contributed" or a "diagnostic":
https://metcalcpy.readthedocs.io/en/latest/Contributors_Guide/index.html#organization-of-code-in-the-github-repository
Thoughts?
I think I could put this under contributed/land_sfc to be consistent with
the METplus use case model_applications category:
https://metplus.readthedocs.io/en/latest/generated/model_applications/index.html#land-surface
?
Or, I could see a diagnostics/land_sfc directory, but I see the
diagnostics directory is empty so maybe this is not the way to go yet.
—
Reply to this email directly, view it on GitHub
https://github.com/dtcenter/METcalcpy/issues/364#issuecomment-2032268082,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4UJHWB2QYRER6VHRPXE6TY3LA4DAVCNFSM6AAAAABFSJSXIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZSGI3DQMBYGI
.
You are receiving this because you were assigned.Message ID:
@.***>

The contributed directory was created for outside collaborators, whose code didn't necessarily conform with our coding structure.

OK this helps me distinguish it a lot! The code I am adding is very small (30 lines?) and I have the freedom to write it in whatever standards we choose so I think ultimately this will land in diagnostics/land_surface. I am double checking with some other folks on the project. Thank you @bikegeek!

That's great, this code will be a great addition to METcalcpy and we
finally have something that is available in the diagnostics 'library'.
On Tue, Apr 2, 2024 at 9:03 AM Dan Adriaansen @.***>
wrote:

The contributed directory was created for outside collaborators, whose
code didn't necessarily conform with our coding structure.
OK this helps me distinguish it a lot! The code I am adding is very small
(30 lines?) and I have the freedom to write it in whatever standards we
choose so I think ultimately this will land in diagnostics/land_surface.
I am double checking with some other folks on the project. Thank you
@bikegeek https://github.com/bikegeek!
—
Reply to this email directly, view it on GitHub
https://github.com/dtcenter/METcalcpy/issues/364#issuecomment-2032300191,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4UJHQ35CKS4F6H77UCTIDY3LCE5AVCNFSM6AAAAABFSJSXIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZSGMYDAMJZGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

@bikegeek one question I have is about structure under diagnostics. One option is to have a land_surface.py file, the other is to have diagnostics/land_surface/land_surface_diagnostic_name.py structure. Can you advise?

I like the diagnostics/land_surface/land_surface_diagnostic_name.py
structure, it allows the addition of future diagnostics that aren't
land_surface in nature.
On Tue, Apr 2, 2024 at 9:14 AM Dan Adriaansen @.***>
wrote:

@bikegeek https://github.com/bikegeek one question I have is about
structure under diagnostics. One option is to have a land_surface.py
file, the other is to have
diagnostics/land_surface/land_surface_diagnostic_name.py structure. Can
you advise?
—
Reply to this email directly, view it on GitHub
https://github.com/dtcenter/METcalcpy/issues/364#issuecomment-2032332980,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4UJHX4UY42PIT6HDRSOZTY3LDNHAVCNFSM6AAAAABFSJSXIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZSGMZTEOJYGA
.
You are receiving this because you were mentioned.Message ID:
@.***>

OK, then like that if I had this structure:
diagnostics/land_surface/terrestrial_coupling_index.py
and inside terrestrial_coupling_index.py there is a function called calc_tci(), can you help me formulate the import statement in my Python script?
Would it be:
from metcalcpy.diagnostics import land_surface as land_sfc
tci = land_sfc.calc_tci()

I don't think that's right, I think that's if it was diagnostics/land_surface.py. The extra directory confuses me for some reason but I am probably just forgetting how it works!

If the terrestrial_coupling_index a class:
class TerrestrialCouplingIndex():
def  init():
# stuff for initializing the TerrestrialCouplingIndex object
def calc_tci():
# stuff goes here

then the import would look like:
from metcalcpy.diagnostics.land_surface.terrestrial_couplint_index import
TerrestrialCouplingIndex as tci
and accessing the methods from the terrestrial_coupling_index.py module:
# Create an instance of the TerrestrialCouplingIndex object with

specific initialization params (like input filename, whatever)
tci_obj = tci.TerrestrialCouplingIndex(param1, param2)
# access the methods via the tci_obj object/instance
tc_index  = tci_obj.calc_ti()

I'm bad at naming variables, I hope I haven't confused you with the poor
choice of var names.
On Tue, Apr 2, 2024 at 9:29 AM Dan Adriaansen @.***>
wrote:

OK, then if I had this structure:
diagnostics/land_surface/terrestrial_coupling_index.py
and inside terrestrial_coupling_index.py there is a function called
calc_tci(), can you help me formulate the import statement in my Python
script?
Would it be:
from metcalcpy.diagnostics import land_surface as land_sfc
tci = land_sfc.calc_tci()
I don't think that's right, I think that's if it was
diagnostics/land_surface.py. The extra directory confuses me for some
reason but I am probably just forgetting how it works!
—
Reply to this email directly, view it on GitHub
https://github.com/dtcenter/METcalcpy/issues/364#issuecomment-2032368443,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA4UJHRR26AKC4BUKUCOSU3Y3LFGHAVCNFSM6AAAAABFSJSXIKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZSGM3DQNBUGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@bikegeek @DanielAdriaansen This issue should use CLASP - 7790111 for charging.

Closed via #369


Create key file up front during rekey

To "pre-flight" space issues, rekey should create the key file at the final size in advance. The command line tool should document that if the rekey operation fails, the key file should be deleted.

Merged to master


Expression produces a union type that is too complex to represent

Bug Report
🔎 Search Terms
union type that is too complex to represent
🕗 Version & Regression Information
TS version: 4.2.3

This is the behavior in every version I tried, and I reviewed the FAQ for entries about union types too complex to represent

⏯ Playground Link
Playground link with relevant code
💻 Code
I have a function that should be able to take an object along with a key name that will be present within that object with a specific type, which in this example I hardcode to string to simplify the problem:
type WithStringProperty<K extends string> = {
	[P in K]: string;
};

function extractProperty<K extends string>(wrapper: WithStringProperty<K>, key: K) {
	return wrapper[key];
}

This much works. But when I make my wrapper parameter a little more complex by wrapping it in DeepReadonly, it fails with the error from the title:
function extractProperty<K extends string>(wrapper: DeepReadonly<WithStringProperty<K>>, key: K) {
	return wrapper[key];
}

DeepReadonly is from ts-essentials:
export declare type DeepReadonly<T> = T extends Builtin
  ? T
  : T extends {}
  ? {
      readonly [K in keyof T]: DeepReadonly<T[K]>;
    }
  : Readonly<T>;

export declare type Builtin = Primitive | Function | Date | Error | RegExp;
export declare type Primitive = string | number | boolean | bigint | symbol | undefined | null;

It doesn't seem like the combination should introduce some large combination of possible union types, but I guess I'm wrong?
🙁 Actual behavior
Error: Expression produces a union type that is too complex to represent
🙂 Expected behavior
No error

This really is computing a very large union in the background as TS tries to figure out the possible types of element access on wrapper. We may be able to defer this better but there's not much reason to write the function that way - is there an expanded example that shows why you want to write DeepReadonly< there?

@RyanCavanaugh Yeah, the above is a minimal repro of the issue. In reality, the DeepReadonly wraps a slice of my Redux state, and the function above is actually part of a cache utility class that takes in the cache in my redux slice and wraps it so that it can easily be queried and written to. The reason I take in a field name is because the cache clients may pass in different structures they want cached, and parameterizing the field name allows them to handle the different cases.
So, roughly, I have a state slice that looks like
Map<ItemId, {
itemMetadata: ICached;
// other stuff...
}>
And I want the cache utility class to take in an ID of an Item to retrieve/cache, access the map above, and then chache the metadata part inside. The "other stuff needs no caching".
Other clients of the cache class may have a similar two-level structure, but their field name won't be "itemMetadata", it may be "elementMetadata" (you may notice these are just placeholders :P )

I should note: It's only when I introduced WithStringProperty that I started having problems. My entire Redux store is wrapped in a Deepreadonly and it's never had problems before.

@RyanCavanaugh is there a way around this?

I am experiencing the same problem, but for me, it's highlighting JSON file content which is array content.
someFile.json:1:1 - error TS2590: Expression produces a union type that is too complex to represent.

     1 [
       ~
     2   {
       ~~~
   ...
341929   }
       ~~~
341930 ]

Previous TS version that it works with is ~4.0.2 just fine, I was trying to upgrade to 4.3.x, I noticed no documentation about this, but I keep trying with different versions of TS.

Ok, reverting back to typescript v4.0.2 didn't help. Since I upgraded some of my packages, and this issue came up, tracing which combination/package causing this issue is time consuming, i just took the json file out and it worked like a charm.

@SDAdham  I experienced this in TS 3.9.7 where we have a load of static data defined in TS, e.g.
enum Thing {
    Foo = 'Foo',
    Bar = 'Bar',
    // +100s of others
}

interface Data {
   id: string;
   thing: Thing;
}

const data: Data[] = [{
   id: '123',
   thing: Thing.Foo
}, {
   id: '234',
   thing: Thing.Bar
},
// ... +100s of others
];

So I'm guessing TS treats it as a discriminating union before the type is loosened to just Data?
We found asserting thing as Thing solved the issue:
const data: Data[] = [{
   id: '123',
   thing: Thing.Foo as Thing
}, {
   id: '234',
   thing: Thing.Bar as Thing
},
// ... +100s of others
];


Update illuminate/container and illuminate/contracts

This fixes the nullable parameter deprecation for PHP 8.4 and thus fixes php/pie#140.

Just tested the phar and can confirm that it solves the problem! Great!

Thanks @TimWolla !


Support dynamic replacement of voting members

This PR is the last significant refactoring that will be done before the 1.0 release. Once this is merged, a release candidate will be released.
The idea here is to allow clusters to dynamically resize themselves according to a configured quorumHint. With this change, servers can be in one of three states:

ACTIVE - active voting members of the Raft cluster. The cluster will always attempt to maintain quorumHint active members
PASSIVE - passive members are members that receive AppendRequests from followers and maintain a state machine. In the event that an ACTIVE server becomes unavailable, it can be quickly replaced by the most up-to-date PASSIVE member
RESERVE - reserve members are stateless members that simply await promotion. Reserve servers receive only configuration updates from followers

This results in a cluster that can rapidly replace unavailable Raft members with available passive members. Each server periodically sends a HeartbeatRequest to the leader, and heartbeats are tracked in a manner similar to sessions. When an ACTIVE member stops sending heartbeats to the leader, it will, if possible, be demoted to RESERVE and a PASSIVE or RESERVE server will be promoted to ACTIVE to take its place. The promotion will happen by first promoting a new ACTIVE member and then demoting the UNAVAILABLE voting member.
This, in theory, allows large clusters to be started and operated with little management. Servers can join and leave the cluster at will, and the system will always attempt to maintain exactly quorumHint voting members. This is illustrated in the testReplace test method:
https://github.com/atomix/copycat/blob/dynamic-configurations/test/src/test/java/io/atomix/copycat/test/ClusterTest.java#L105-L122
This test creates a 3 node cluster, adds three nodes to the cluster, and then removes the original three nodes, all while submitting writes. Initially, the 3 nodes are added as RESERVE and then promoted to PASSIVE members (the backupCount dictates the number of passive members).  (This is actually not implemented totally correctly at the moment. While unavailable servers are replaced by first promoting and then demoting, when an active server leaves the cluster it is first removed from the configuration before a new member is promoted. This should not be the case).
The use case for this feature is to simplify the management of embedded Copycat clusters. The number of servers in the cluster does not need to relate to the Raft algorithm in any way. Only the quorumHint and backupCount need relate to the Raft algorithm. One place where this is useful is in Vert.x (to which I'm a significant contributor). With the additional scalability, an Atomix Vert.x ClusterManager becomes much more approachable for Vert.x users who are used to embedded HA systems which scale well.
Note that the use of dynamic quorums is entirely optional. Starting a cluster in the typical way will still yield the expected result. If no quorumHint is specified, all configured members are assumed to be Raft voting members. Once the cluster has been started, the quorum hint remains the same size as the initial number of core members, and any additional servers will be added in the reserve/passive state. So, it's possible to scale down the number of voting members, but it cannot currently be scaled up beyond the initial configuration.
Because of the significant refactoring that went into this, this PR also fixes a couple other issues. It adds a MetaStore which stores the term, vote, and configuration of each server on disk. Additionally, a significant change in this PR is that servers now have separate Servers for client and server communication. So, each server can define both a client and server Address. Clients receive client Addresses through KeepAliveResponses, and servers propagate that information to each other in configurations.
@madjam I'm assigning this to you. Let me know if anything seems unclear. I'm pretty tired right now and feel like what I'm writing is all over the place. What are your thoughts on this?

Need to update API documentation for this behavior.

One final note on configuration changes. Previously, it was possible for split brain to occur in the event of a partition during startup of more than one node (#51). Servers essentially attempted to look for an existing cluster and if they couldn't find one they would form their own cluster. This can obviously result in servers arbitrarily forming their own clusters, but that is no longer an issue. All servers immediately persist their initial configuration on startup, and all servers use their most recent configuration at startup. If a member is listed in the initial members list, it assumes it's an ACTIVE member and starts as such. If a member is not listed in the initial members list, it will expect to join a cluster. Thereafter, its state is defined by the configuration stored on disk.

One more significant change I just noticed: I wasn't too fond of changing the interfaces, but I changed CopycatClient and CopycatServer to interfaces and CopycatRaftClient and CopycatRaftServer to implementations. The reasoning behind this is because RaftClient and RaftServer don't feel proper as Copycat's interfaces since in reality they extend the Raft algorithm with additional states and other behaviors that are really more specific to Copycat.

6d95813 made separate client/server Addresses optional. If only one Address is provided, clients and servers will both connect to that address.

I think I forgot to add a couple tid bits:
In a typical Raft implementation, when a server joins the cluster, the leader sends it append requests to catch it up. But with this PR, followers are responsible for sending append requests to passive members. This is done by consistent hashing. Each time the configuration changes, each follower uses an algorithm to recompute the passive and reserve servers to which it should send entries and configurations. This consistent hashing includes only AVAILABLE members. Availability is determined by the heartbeats mentioned above.
This reduces the load on the leader and spreads the responsibility for replication across all the ACTIVE nodes. But it also poses another problem: when configuration changes occur, only a majority of Raft nodes know about a configuration when it's committed. So, this can result in passive/reserve servers thinking they should be in a different state than the follower. So a follower will try to send entries to a reserve server, for instance. To mitigate this problem, prior to sending entries to a server, followers will always first send their configuration via a ConfigureRequest.

One last point. This also allows tombstones to be removed from logs while a server is down. Essentially, the heartbeat mechanism is used to determine availability and demote unavailable servers. When a server is transitioned to RESERVE, it must truncate its log and start over once it gets promoted again. This allows globalIndex to be calculated only for non-reserve servers.

@kuujo Just got back from a break. I will look into this today.

No worries. It's a big PR. Still doing some testing and sprucing up some of the documentation.

Hmm... looks like those tests are failing pretty regularly now. Not sure what changed. I'm able to get testThreeOfFiveNodeSubmitCommandWithNoneConsistency to fail fairly frequently, but not while debugging.

I'm able to get the failing test against 22f8f99 so this bug must have been introduced a while back.

 Fixed in f4695e4

On a related note, with the leader and follower replication logic separated into LeaderAppender and FollowerAppender respectively, we should be able to more easily write some tests for that critical logic. I'll try throwing something together for that.

So, here are the potential consistency issues I see here. First, the issue of a client determining when it's session is expired requires some changes. That could be done in another PR.  Each server persists its last known uncommitted configuration to disk separate from the log, and each server uses its last known uncommitted configuration at startup. This follows the normal Raft model wherein configurations are applied when they're written to the log rather than when they're committed to aid the leader in determining when a configuration is actively in use, but only one configuration may be in the process of being committed at any given time. In Copycat's case, one of the potential concerns is that a server could be using a configuration that was never committed, and passive/reserve members don't participate in the commitment of configurations. But I believe this configuration and replication model - wherein leaders promote reserve to passive and passive to active and demote active to reserve - to be safe because the voting members are all that really matter for safety. The process of promoting and demoting active members which contribute to the quorum is still done according to the Raft specification. Only the processes of promoting reserve members and replicating to passive members from followers are different, but passive member replication relies on replicating only committed entries for consistency, and configurations on passive and reserve members are always synchronously updated by their related follower before sending AppendRequests. Additionally, consistent hashing is done in the state machine to ensure partitioning and replication is consistent across followers.
This actually reminds me that there is a bug in the consistent hashing algorithm. Followers use consistent hashing to determine the reserve/passive members to which to send configuration updates and entries. But it doesn't currently account for the case where quorumHint = 1. If quorumHint is 1 the leader has to send configurations and entries to any reserve/passive member.
So, I think remaining bugs are:

Clients' session expiration
Promoting an active member is one is available before removing an active member that's leaving the cluster
Replicating to reserve/passive members when quorumHint is 1

Also, needs more tests for consistent hashing and new *Appender classes.

I have only managed to review may be the first 25% of files. I will be spending more time today to look at the rest. I haven't got to the point where Followers replicate log entries to Passive members. What is the rationale for using consistent hashing here? I get that we need to distribute the work load evenly among all followers. Is the "consistent" aspect required to ensure the same follower replicates log entries to the a given passive member even as the number of passive members change?
Or may be I should wait until I look at that code :)

I'm jumping ahead here but wanted to confirm if the following is true: Does each active server have its own set of backups or do they form a common pool? The reason I ask is because there could be constraints regarding which passive member can take the place of which active server. For instance, you might not want all your active members in the same availability zone. So if a particular active member goes offline we want to preferably replace it another server that belongs to the same availability zone.

Interesting point about AZs. So, currently what it does is just promote the most up-to date passive member if an active member goes down. It would be simple to categorize nodes though. Servers effectively identify themselves by sending their clientAddress to the leader in heartbeats. That address is logged and replicated in a configuration change. The same could be done in order to group nodes and only promote nodes within a group.
On a related note, while I agree that connection strategies and client communication patterns belong in Copycat, I'm not sure the concept of reserve nodes does. I'd love for only Atomix to support the RESERVE node concept, and that's really just a design problem. Now that the algorithm is done, I may explore whether reserve members can be moved to Atomix. The ideal scenario IMO would be for Copycat to only understand the concept of catching up PASSIVE servers and promoting them to ACTIVE and for Atomix to override that behavior to add RESERVE members and keep PASSIVE servers from being promoted until necessary, but keeping it in Copycat may (probably will) still turn out to be the concession that has to be made.
Then again, maybe I'm just being finicky about having it in Copycat.

I think it will likely be too difficult to cleanly separate the RESERVE state.

I think I'll be able to move some of this to Atomix. I'm actually going to close this and resubmit some of the final design improvements in separate smaller pull requests.


No module named 'torch'

No module named 'torch' in .pth file after PATH = './cifar_net.pth' torch.save(net.state_dict(), PATH)

Thanks for your issue. This error may cause by the data object being torch builtin type. I will fix it as soon as possible.

I had a similar issue with torch installed in .venv, but not globally. I fixed it by changing the python-path setting to the .venv version of python (appears to need absolute path).


Add climber subsystems

Add the climber and backpack extender to the superstructure for compbot

There needs to be more logic in the superstructure for handling transitions between two conflicting goal states


Can you share an example image?

Can you share an example image?

https://img-blog.csdnimg.cn/20190612093238220.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L25idTIwMDQ=,size_16,color_FFFFFF,t_70

The link of image is down.

The link of image is down.

I can open it.

The ugly page did not display the images for me but I removed the extra bits behind the URLs and that worked for me
Peppa Pig
https://img-blog.csdnimg.cn/20190612093238220.jpg
Second example
https://img-blog.csdnimg.cn/20190612093412694.jpg


Pin to TF 2.16

Pin to TF 2.16 since its now general Release

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 54.23%. Comparing base (c8700f4) to head (bda0052).
Report is 83 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master   #19273       +/-   ##
===========================================
- Coverage   80.14%   54.23%   -25.92%
===========================================
  Files         341      365       +24
  Lines       36163    39769     +3606
  Branches     7116     7712      +596
===========================================
- Hits        28982    21567     -7415
- Misses       5578    16629    +11051
+ Partials     1603     1573       -30

Flag
Coverage Δ

keras
54.23% <ø> (-25.76%)
:arrow_down:

keras-jax
?

keras-numpy
54.23% <ø> (-2.86%)
:arrow_down:

keras-tensorflow
?

keras-torch
?

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Rule porting: MD003

Port rule MD003
No config support at this time. It will be added in bounds of #3
No support of ATX_closed at this time, due to limitation of Comrak. See open issue.

Closed with PR #7


Update +layout.svelte, for chat and repo links to open in new tab

It's more convenient to open the repo and discord chat links in new tab instead of current one.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[ ] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[ ] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[ ] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[ ] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Personally, I'm not a big fan of this idea. If you want to open up something in a new tab you can simply Ctrl + click or right-click and choose "Open link in a new tab". Right now the user can choose what behavior they want. If we do this then we take away choice from the user.
It also seems like opening a can of worms of having to decide for each individual link whether it should open in a new tab or not where reasonable people can disagree for each one what the best behavior is and it's too much effort and disagreement to do site-wide on a recurring basis and just a distraction from creating real value

I'm inclined to agree with Ben here, I think. Consumers of the SvelteKit documentation are presumably tech savvy enough that they are already regularly mouse-wheel-clicking etc. when they want to open links in new tabs.


Remove: Malwarebytes.Malwarebytes version <IP_ADDRESS>6

## Vanity URL - New version (<IP_ADDRESS>0) is available in repo

[X] Have you signed the Contributor License Agreement?
[X] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Microsoft Reviewers: Open in CodeFlow

URL: https://data-cdn.mbamupdates.com/web/mb4-setup-consumer/MBSetup.exe
Status Code: 200
(Automated message - build 727)


Force deploy monitoring / graylog CI jobs fail

Don't seem to be an issue anymore. I will reopen in case we face it again


Move documentation from README.md to GitHub Wiki

Wiki is here for documentation ;)

I will move everything when stable release is available. At the moment readme works fine


AdvancedGear multitool ammo error

Name the mod
AdvancedGear
Describe the bug
"ammo": "NULL" in items/gear/multitool.json is causing an error when I open up the crafting menu, head over to the nano tab, and go down a few items until I go over the multitools:
src/item.cpp:578 [item& item::ammo_set(const itype_id&, int)] Tried to set invalid ammo of none for nanite multitool (large)
Solution
Just deleting that line from all the multitools in the file seemed to fix the error. I do not know if this will have any side-effects.
Additional context
Was #8 a similar issue? At any rate, this error appears in master.

I think all I need to do is remove "ammo": null let me test

its fixed with this, you cannot craft Nanite Multitool Large if you could before you cant now, you switch in the use item menu (a) switch tool mode


Chore: decommission testing-mainnet network

Content
This PR includes the decommission of the testing-mainnet network which is no longer used.
Pre-submit checklist

Branch

[x] Commit sequence broadly makes sense
[x] Key commits have useful messages

PR

[x] No clippy warnings in the CI
[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

LGTM 🚀
About the files still in the infrastructure (mithril-infra/configuration/testing-mainnet) do you want to delete them later ?

Thanks for pointing that out, I have removed them in https://github.com/input-output-hk/mithril/pull/1978/commits/5642b6805567432a9af8646ecaa35d44ec65e913 :+1:


Unnecessary warning regarding serviceAccount deprecated alias

ISSUE TYPE

[X] Bug Report
[ ] Feature Idea

BUG REPORT
SUMMARY
Running kubeaudit --namespace default --allPods all on a cluster reports serviceAccount deprecation warning when both serviceAccount and serviceAccountName are both present.
ENVIRONMENT

Kubeaudit version:
BuildDate="2019-10-02T21:18:00Z" Commit=c74f700c9fee72a171505d4779e12a77ef445733 Version=0.7.0
Kubeaudit install method: Binary (I think)
kubectl version: v1.15.9
Kubernetes (GKE) version: v1.15.11-gke.9

STEPS TO REPRODUCE
apiVersion: apps/v1
kind: Deployment
metadata:
  name: api-service
spec:
  replicas: 1
  selector:
    matchLabels:
      app: api-service
  template:
    metadata:
      labels:
        app: api-service
        tier: frontend
    spec:
      serviceAccountName: api-service
....

kubeaudit --namespace default --allPods all
EXPECTED RESULTS
Expected no warnings about

serviceAccount is a deprecated alias for ServiceAccountName, use that one instead

ACTUAL RESULTS
time="2020-04-29T18:56:51-04:00" level=warning msg="serviceAccount is a deprecated alias for ServiceAccountName, use that one instead" DSA=api-service KubeType=deployment Name=api-service Namespace=default SA=api-service
ADDITIONAL INFORMATION
kubectl get deployment api-service -o yaml
Will output both the deprecated and new field:
      serviceAccount: api-service
      serviceAccountName: api-service

This is a neat check in kubeaudit however perhaps it should only warn about deprecated use of serviceAccountName if serviceAccount is not set.

+1, I did not want to make an issue about this but generally agree we can do better with the deprecation warnings. It's more of a conformance audit than a security one, I suppose.

This should be fixed by #243. Please re-open if the problem remains


Update for location filter in requests.

Search for chalakudy won't show this type of values.
PR : #227

@shan-vm  Did a PR with icontains.


Design EXEC PANEL UI

Let's design EXECUTION PANEL UI!
It should contain

target model to execute
target execution environment (the list will be provided)
input data to execute the model (the data file type will be various)
baseline model to test value mismatch or something
baseline model execution environment
execution result metrics and visualization views

We can consider these additional options, such as

input data pre-processing script to use raw input data
output data post-processing script to visualize output data
two or more baseline model to compare performance, accuracy and etc.

Which word would be sounds proper to each models?

Model to test(e.g. tvn)
Basis of comparison(e.g. tflite)

target
baseline

comparate
basis

criterion

What is comparate
 Com´pa`rate
n.	1.	(Logic) One of two things compared together.

source :link:

The rows in the table are not pairs. It can be mixed like {comparate, criterion} or {target, basis}.

As we discussed, execution panel will be deprecated.
The contents which supposed to be shown in EXEC PANEL will be separated into two.

The inputs will be shown in cfg editor(Will be added after #464)
Generated execution result in some standard format will be visualized by certain panel.

Let's close this issue and break down it to two separate issues.


NIM099552  - Runtime MessageLayer/SymbolDictionary ignore 2525C status flag (Dashed Frames Missing)

When creating 2525C symbols using either a MessageLayer or a SymbolDictionary, the status flag is ignored. The 2525C standard dictates that the fourth character (status) can be "P" for Present, or "A" for Anticipated.
When the flag is "P", a solid line will be drawn around the symbol. When the flag is "A", a dotted line should be used.

Using both a MessageLayer and a SymbolDictionary, I get a solid line around my 2525C symbols regardless of what the status flag is set to.
To recreate, create and display symbols with these codes:
SFSP-----------
SFSA-----------
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<messages>
  <message>
    <_type>position_report</_type>
    <_action>update</_action>
    <_control_points>-277478.1924951258,7613015.967799247</_control_points>
    <_id>91c21d3c-f865-4950-8dd0-7b4205ef9341</_id>
    <_wkid>102100</_wkid>
    <sic>SFSA--------***</sic>
    <UniqueDesignation>Sea Surface Track</UniqueDesignation>
  </message>
  <message>
    <_type>position_report</_type>
    <_action>update</_action>
    <_control_points>-164962.88685937645,7644813.771565872</_control_points>
    <_id>c8c560dd-99ab-4634-b71d-9d9fab75ce52</_id>
    <_wkid>102100</_wkid>
    <sic>SFSP--------***</sic>
    <UniqueDesignation>Sea Surface Track</UniqueDesignation>
  </message>
</messages>

@jmhauck - Is this still a valid issue?

This issue is addressed - but in mil2525d only (i.e. you will need that version of the dictionary/plugin to test this) - there are no plans to address this in the older standard versions (2525c, app6b) at this time.
So this issue is ready to verify in mil2525d (note: mil2525d is currently only available in Pro, but should be available in next runtime release)

Addressed in mil2525d stylx/plugin - I never heard back on whether the 2525D-only support is an issue so I'm going to auto-close this (since it has been open so long)

I just came across this... What customers do you have that support 2525D? Our Army customer is still using 2525B and is only just now considering moving to 2525C. Just because the standard is available doesn't mean that anyone is actually using it yet. At this point we've already decided not to use Esri's MessageLayers because they are so lacking for our purposes, but I really would like to know where you're getting your feedback from with regards to military support.

That is a legitimate issue, we are working with the SSMC (the committee that maintains 2525) to increase the forward-backward compatibility of the standard so that 2525B/C SIDCs will be represented as closely as possible with the D data in this repo ( @abouffard @joebayles ).


views for reviewers

This introduces views specific to reviewers.  Reviewers are a class of admins who need to see unpublished sets (and their associated sources and guides), but do not need access to edit/delete functions. This filters out links to these pages on set, source, and guide views for reviewers.
Note that reviewers already cannot access edit or delete routes, and if they try they will be redirected to more benign pages. But to avoid confusion, it would be best if link to edit/delete pages didn't appear to reviewers at all.
There are also a couple small changes to the views to clarify information for reviewers, who do not have intimate knowledge of current workflows.
Finally, this adds tests for manager, editor, and reviewer admins for the associated views.
This addresses ticket #8263.  It has been approved by Franky on staging.

:rocket:


Wait for Leap controller to respond that device is connected

I found that sometimes it takes a little while for Leap Motion controller to respond that device is connected. The plugin only checks once during HardwareDetection, which is usually too fast for controller to respond. I added a condition to check if device is connected a few times before giving up on it.

Thank you! This definitely fixes the "is not connected" issues.
I hope this gets merged into master soon.


route:list command fails when an exception is thrown from the controller constructor

Laravel Version: v9.19.0
PHP Version: 8.1.8

Description:
route:list command fails when an exception is thrown from the controller constructor.
Steps To Reproduce:

Create a route.
Create a controller for the route.
Inject a HTTP request into the controller constructor.
Throw an exception from the controller constructor, when the request is invalid.
Run php artisan route:list command.

Expected behaviour: command yields a list of routes.
Actual behaviour: command fails with an unhandled exception from the controller constructor because the default request is invalid.
Possible solution
An instance of the controller is created with the only purpose of determining a list of controller middleware.
I would suggest catching exceptions in the getMiddleware() method and printing something like [unable to determine] in the middleware column in case an exception occurred.

I don't think we can really call this a bug in Laravel. This is a more of an issue in your own app.

@driesvints how come an unhandled exception is not a bug?
Throwing exceptions from a controller is not a bug. The controller receives an invalid request and it throws a bad request exception which is not handled correctly by the route:list.
The command could display everything except for the middleware of one controller and instead, it just fails in the middle of the execution.

No exceptions should occur during the instantiation of controllers or middleware. Only when handling controller methods or handling middleware.

@driesvints is this an actual architectural limitation of the framework? I mean, could anything else (except for the broken route:list command) break in case of throwing from the controller constructor?


Let the admins of a board define whether users can see the notes of other users or only their own

The boolean flag in the backend/database does already exist. Board -> showContentOfOthers

Where in the UI should this setting be configurable?
At first, I thought about the admin menu but currently, there's no button for it intended/included.

@bitionaire @miiho


glowing smiley

Issue Type:

[ ] Bug Report
[x] Feature Request
[ ] Documentaion

Describe the feature
many smiles which glows upon clicking

A clear and concise description of what the feature is.

Possible solution

Describe the solution you thought of.

Screenshots

If applicable, add screenshots to help explain your problem.

Is it completed? If not reopen this when you are ready with the PR.


Error saving file

Hi, I couldn't save changes in Diagram.net, having error message "Error saving File, Time Out", is the file size of 27MB too big to save?

Hi @DominicTeh, this project is not active, but I would accept PRs in order to help you out.


Don't rebase always on master

I find the suggestion to rebase with master misleading/confusing

Newcomers will still want to use know what branch to rebase on, when I got started with git I always rebased on my current branch :stuck_out_tongue_closed_eyes:

:+1:

:+1:

:+1:

Thank you @SpacePossum.


Document needed packages/libraries to run crystal spec

Hi there,
at first thanks for all your work and passion with crystal! It is shaping up quite nicely :)
To get started today I just wanted to compile from source and do bin/crystal spec - I'm a test driven person :) I'm on Linux Mint 17.1 (which has Ubuntu 14.04 as a package base, so fairly common) with already lots of the common "Ruby developer" packages/libs installed. Getting to make and compile crystal is fairly simple.
However, to get bin/crystal spec to run quite a few more libraries are needed - it'd be nice if those were documented somewhere (wiki/README) with a nice sudo apt-get command to follow along. I know right now it's probably still changing a lot, just saying.
for reference, here is what I installed today after llvm et. al.:
 install libbsd-dev:amd64 <none> 0.6.0-2ubuntu1
 install libedit-dev:amd64 <none> 3.1-20130712-2
 install libevent-core-2.0-5:amd64 <none> 2.0.21-stable-1ubuntu<IP_ADDRESS>
 install libevent-extra-2.0-5:amd64 <none> 2.0.21-stable-1ubuntu<IP_ADDRESS>
 install libevent-openssl-2.0-5:amd64 <none> 2.0.21-stable-1ubuntu<IP_ADDRESS>
 install libevent-pthreads-2.0-5:amd64 <none> 2.0.21-stable-1ubuntu<IP_ADDRESS>
 install libevent-dev:amd64 <none> 2.0.21-stable-1ubuntu<IP_ADDRESS>
 install libgc-dev:amd64 <none> 1:7.2d-5ubuntu2
 install libpcl1:amd64 <none> 1.6-1ubuntu1
 install libpcl1-dev:amd64 <none> 1.6-1ubuntu1
 install libunwind8:amd64 <none> 1.1-2.2ubuntu3
 install libunwind8-dev:amd64 <none> 1.1-2.2ubuntu3
 install libgmpxx4ldbl:amd64 <none> 2:5.1.3+dfsg-1ubuntu1
 install libgmp-dev:amd64 <none> 2:5.1.3+dfsg-1ubuntu1
2015-05-31 20:29:54 install libxml2-dev:amd64 <none> 2.9.1+dfsg1-3ubuntu4.4

Also note that that as shown in #524 a newer libpcl version than in the ubuntu repositories is needed.
Also for reference:
tobi@tobi-desktop ~ $ uname -a
Linux tobi-desktop 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

All that said, error reporting is actually quite nice so doing these installations is rather easy (although annoying) :+1:
Keep it up, thanks and hoping to ship in some documentation or so in the future!
Tobi

Thanks!
I added this wiki page: https://github.com/manastech/crystal/wiki/All-required-libraries
I also added a link to it here: https://github.com/manastech/crystal/blob/master/Contributing.md


release v3.2.0

Copied from https://github.com/baresip/re/wiki/Release-Checklist

[x] Update CHANGELOG.md

Click Draft a new release on Release page
Fill a new release tag version and title (like v2.4.0)
Press Auto-generate Release notes
Save as draft (don't publish yet)
Copy release notes to CHANGELOG.md

[x] Update debian/changelog
[x] Check/Inc version numbers

CMakefile
include/baresip.h
mk/Doxyfile

[x] Check ABI compatibility

CMakefile (Bump PROJECT_SOVERSION)

[x] Comment out PRE Release identifier -dev

CMakefile

[x] All tests green? [re, baresip]

Release

[ ] Merge PRs in this order

libre
baresip

[ ] Publish draft Releases (follow the same order)

Maybe Auto-generate Release notes is needed to update (delete last notes first)

After Release

[ ] Bump main branch versions with PRE Release identifier -dev

CMakefile
include/baresip.h (baresip only)

ABI increased because of
-int  re_thread_check(void);
+int  re_thread_check(bool debug);

and others

@alfredh @sreimers any comments? From my side its ready for the merge.

Looks fine! I think we are ready for the release.


switch default calendar in date2num to None

which causes date2num to use the calendar associated with the first input datetime instance (proleptic_gregorian if datetime instance is native python).  calendar="" has the same effect as calendar=None.

closes issue #206


Introduce a graph view showing % of global users over time

This would make it easier to project when a feature will pass certain thresholds of global support, and thus help to determine if it is worth building out components using newer features in anticipation.

I kinda feel date relative does this already...I suspect the rate is rarely stable enough to really draw conclusions from. Still, an interesting idea.

I kinda feel date relative does this already...

I think this is kind of a combination of usage relative and date relative.

I suspect the rate is rarely stable enough to really draw conclusions from.

That could certainly be the case!


Fix doc table formatting

Integration test logs

Logs
Add passing integration test logs here

Example query results

Results
Add example SQL query results here (please include the input queries as well)

@misraved Should this PR be re-opened (assuming yes)? Also, what needs to happen next in its review cycle?

@scotti-fletcher apologies for the delay in getting these PRs reviewed. We will be addressing these table doc formatting changes in the respective table PRs.
Thanks once again for the contribution 👍.


how can i use it with typescript ?

I'm not sure, I don't use TypeScript in my workflow. How would you use any JS module with TypeScript?


Update deletion requests to match C# SDK in which 404 returns false not error

Building on top of https://github.com/microsoft/dev-tunnels/pull/111
Ref: https://github.com/microsoft/dev-tunnels/pull/111#issuecomment-1208708627
cc @jasongin

@jasongin I was wondering what process for merging this is?

@tanhakabir I added you to the tunnels team, so you have permission to merge now. However until we get the C# build dependencies fixed, I think that will still fail for you. So I'll have to override and merge for you.


Add ability for workspace service to request an address space

Resolves #2810
What is being addressed

If workspace service template requires an address_space then add one to the workspace
Fix error in prior PR (test was failing) as was adding a property to a property, rather than just its value
[x] Update documentation
[x] Update CHANGELOG.md

Note:
I have done the logic bit in the route - not sure if this is the best place but was easiest for me to implement.
The update of the workspace itself is down to the workspace service bundle such as:
  "pipeline": {
    "install": [
      {
        "stepId": "12ba0dad-ea6c-4d0d-9255-d316212f5ffa",
        "stepTitle": "Upgrade to ensure aware of address space",
        "resourceType": "workspace",
        "resourceAction": "upgrade",
        "properties": [
        ]
      },
      {
        "stepId": "main"
      },

/test-extended

/test-extended

/test-extended-aad

Have an issue with etags on this, works through swagger, not the UI.

Sorted the etag issue.

/test

/test

/test

/test

@tamirkamara not sure a need to block if the tests fail?
I can see:

linkedstorageaccounts.LinkedStorageAccountsClient#CreateOrUpdate: Failure responding to request: StatusCode=400 -- Original Error: autorest/azure: Service returned an error. Status=400 Code="Bad Request" Message="Failed to upsert linked storage account due to invalid property storageAccountIds due to storage accounts [/subscriptions/*/resourceGroups/rg--ws-cd9b/providers/Microsoft.Storage/storageAccounts/staiwscd9b] which might be considered faulted due to mismatch between workspace region *** and some storage accounts regions, or due to the fact some of the listed storage accounts are not assigned as bypass for AzureService

@marrobi, the issue is being address here: https://github.com/microsoft/AzureTRE/pull/2978

Still doesn't work: https://github.com/microsoft/AzureTRE/actions/runs/3738252473/jobs/6344598367

/test-destroy-env

/test-extended-aad

/test-destroy-env

/test-destroy-env

/test-extended-aad

This extended e2e passed on this run https://github.com/microsoft/AzureTRE/actions/runs/3775797437
was not automatically merged since there was a conflict with api version

/test-force-approve

/test-force-approve


[Enhancement] Cross-egeria container image

Is there an existing issue for this?

[X] I have searched the existing issues

Please describe the new behavior that that will improve Egeria
Proposal:
Build an 'uber' egeria docker container image -that assembles artefacts from mulitple git repositories

Use existing egeria image as the base
Pull in latest/ version specific connectors to add to the image (and any other artefacts we deem useful)
publish to docker.io / quay.io as 'egeria-full'
align with egeria releases only - trying to track every snapshot with varying release versions and update cycles would be too much overhead

This would not replace the egeria image, which is 'just' egeria
This would require a new git repository, but any future cross-repo-cutting docker images could be built here also. But we wouldn't extend to other artefact types
This approach would 'replace' that currently taken in the postgres connector, and sas connector where an egeria base image is used, then that single connector is added. However those approaches could still be useful to individual communities, and as part of automated testing.
This would also be in addition to https://github.com/odpi/egeria-charts/issues/6 which proposed that in our helm charts we also specify additional connectors via URLs, and they are dynamically downloaded at runtime. So we end up with 2 approaches, one is a hardened image (including security scans), the other a more flexible, developer-friendly approach.
However there are some limitations with this approach - especially when each connector may have it's own lifecycle - when versions change, and so the dynamic approach is probably the priority -- but this could be useful.
Alternatives

Pulling additional connectors & other files at runtime as identified above
Building many additional docker images, one per connector - but no way to combine

Any Further Information?
No response
Would you be prepared to be assigned this issue to work on?

[X] I can work on this

As an alternative

Build a new egeria filesystem layout on disk, using published build artifacts (ie not reusing the egeria image) - this might require changes to the existing ci/cd, perhaps maven/gradle
package this up and publish both as an archive (jar or more likely gzip)
Also build a docker image using a similar approach to used in egeria

The end result would also be a combined docker image, but also an archive file where we might include utilities from egeria-dev-projects for example. Though one tension is that between keeping it suitably streamlined & not including 'non-production' code. This could mean have a few different assembly combinations, with docker images to match

One of the challenges with such an image is that each connector may have different dependencies, and they may overlap or clash.
If connectors are built with shaded jars, this might be manageable. However an alternative approach, is to minimize the connectors deployed on a particular image, and then chose the right image for the hosted servers.
For example the platform running a postgres integration service would run an egeria image with just the postgres connector
A platform running the strimzi integration service would run an egeria image with just the strimzi integration service
The pros/cons of this approach should be considered, and documented.
It may be appropriate to just do both
If we do adopt a combined approach also it will likely surface again the challenge of dependencies and not using shaded jars


all items marked as read when switching to compact mode

see #261

Thanks! When can I expect this to go live on goread.io?

This has been pushed to goread.io.
On Mon, Jan 5, 2015 at 9:50 AM, Kaspar Emanuel<EMAIL_ADDRESS>wrote:

Thanks! When can I expect this to go live on goread.io?
—
Reply to this email directly or view it on GitHub
https://github.com/mjibson/goread/issues/268#issuecomment-68717274.


Fix docs typo

Pull Request Test Coverage Report for Build 2827

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 69.516%

Totals

Change from base Build 2823:
0.07%

Covered Lines:
9564

Relevant Lines:
13758

💛  - Coveralls


How can I do fork bot via API?

Sorry, it's not possible to fork a Bot directly from the API as of right now.
You can find the full API reference here: https://man.recast.ai/#nlp-api


Steam cant connect to steam servers

Issue Description:
My steam client is unable to connect to the servers when trying to download a game for the first time. To give context to my network structure:
SteamCacheDNS->PiHole->pfSenseSquid->Internet
Ive tried skipping the PiHole stage and also disabling the Squid Proxy both of which didnt change the issue. I am still able to connect to any other website, I just cant connect to the steam UK download servers.
Here are the logs from my Steamcache DNS
17-Apr-2019 23:08:41.313 client @0x55c578fd5540 <IP_ADDRESS>#62396 (cache8-lhr1.steamcontent.com): query: cache8-lhr1.steamcontent.com IN A + (<IP_ADDRESS>),
17-Apr-2019 23:08:41.371 client @0x55c578fd5540 <IP_ADDRESS>#50976 (cache35-lhr1.steamcontent.com): query: cache35-lhr1.steamcontent.com IN A + (<IP_ADDRESS>),
17-Apr-2019 23:08:41.271 client @0x55c578fd5540 <IP_ADDRESS>#53983 (cache11-lhr1.steamcontent.com): query: cache11-lhr1.steamcontent.com IN A + (<IP_ADDRESS>),
17-Apr-2019 23:08:41.222 client @0x55c578fd5540 <IP_ADDRESS>#62799 (cache31-lhr1.steamcontent.com): query: cache31-lhr1.steamcontent.com IN A + (<IP_ADDRESS>),
17-Apr-2019 23:08:41.121 client @0x55c578fd5540 <IP_ADDRESS>#65225 (cache31-lhr1.steamcontent.com): query: cache31-lhr1.steamcontent.com IN A + (<IP_ADDRESS>),
17-Apr-2019 23:08:40.971 client @0x55c578fd5540 <IP_ADDRESS>#62201 (cache6-lhr1.steamcontent.com): query: cache6-lhr1.steamcontent.com IN A + (<IP_ADDRESS>),
17-Apr-2019 23:08:40.471 client @0x55c578a2d0e0 <IP_ADDRESS>#49966 (valve423.steamcontent.com): query: valve423.steamcontent.com IN A + (<IP_ADDRESS>),
17-Apr-2019 23:08:40.672 client @0x55c578fd5540 <IP_ADDRESS>#59857 (cache11-lhr1.steamcontent.com): query: cache11-lhr1.steamcontent.com IN A + (<IP_ADDRESS>),
17-Apr-2019 23:08:40.571 client @0x55c578a2d0e0 <IP_ADDRESS>#62892 (valve423.steamcontent.com): query: valve423.steamcontent.com IN A + (<IP_ADDRESS>)

Here are the logs from my Steamcache
2019-04-17 22:41:57,465 CRIT Set uid to user 0,
Executing hook /hooks/entrypoint-pre.d/10_setup.sh,
Executing hook /hooks/entrypoint-pre.d/19_doc_root_setup,
/var/www/html already exists.,
Setting document root to /var/www/html,
Executing hook /hooks/entrypoint-pre.d/20_perms_check.sh,
Checking permissions (This may take a long time if the permissions are incorrect on large caches)...,
Permisions ok,
Executing hook /hooks/entrypoint-pre.d/20_ssl_setup,
Not enabling SSL as neither key nor cert provided.,
Executing hook /hooks/supervisord-pre.d/20_test_files_setup,
Checking if /var/www/html is empty - Directory not empty.. don't touch content,
Executing hook /hooks/supervisord-pre.d/21_cleanup_log_files,
Cleaning up log files older than 3560 days,
Executing hook /hooks/supervisord-pre.d/99_config_check.sh,
Checking nginx config,
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok,
nginx: configuration file /etc/nginx/nginx.conf test is successful,
Config check successful,
2019-04-17 22:52:54,254 CRIT Set uid to user 0

Docker Compose:
version: '2'
services:
  cache-dns:
    image: steamcache/steamcache-dns
    container_name: cache-dns
    ports:
      - <IP_ADDRESS>:53:53/udp
    environment:
      STEAMCACHE_IP: <IP_ADDRESS>
      UPSTREAM_DNS: <IP_ADDRESS>
  steam-cache:
    image: steamcache/generic
    container_name: steam-cache
    ports:
      - <IP_ADDRESS>:80:80
    volumes:
      - /media/VMRoot/VMDocker/Docker_Configs/Cache-Server/Steam/data:/data/cache
      - /media/VMRoot/VMDocker/Docker_Configs/Cache-Server/Steam/logs:/data/logs

I'm current unsure as to whats causing the issue, whether its a bug or its bad config on my part.

Update -
I've started a test bench VM with only steamcache and steamcache dns on it with them both running on a secondary static IP, I've had success with the test bench but cant work out how to implement this on my main system.
On a side note I noticed some performance issues which brought the first time download speed down to 200KBs from 8MBs, although I've seen this is a common issue, so I'll just have to find tune it

Update 2 -
So the test bench runs on two IPs, <IP_ADDRESS> and <IP_ADDRESS>. When the test bench receives a DNS request on <IP_ADDRESS> it will send it to my Pi-Hole on <IP_ADDRESS> and the reply is sent back to <IP_ADDRESS>.
Where as on the actual server im trying to deploy on has also got two IPs <IP_ADDRESS> and <IP_ADDRESS>. Ive setup the cache server to run on <IP_ADDRESS>, it will receive the DNS request on <IP_ADDRESS> and then it will send it to Pi-Hole on <IP_ADDRESS> for some reason (as opposed to sending it on <IP_ADDRESS>), as a result Pi-Hole replies on <IP_ADDRESS> not <IP_ADDRESS>. As a result I dont think its using the cache properly. Its able to resolve all other domains, just not steam ones.
Any ideas whats causing this?

Update 3 -
Problem solved, so it seemed to be a combination of issues, the first one was some kind of port conflict which was an error on my part. The other was I hadn't given adequate permission to the cache container to write to the specified location, although the container never thew out any errors. Seems to be all working now, just need to fine tune the performance for first time downloads and sort out the mac cache size and age.


RT#802090 - destination labware are missing from section confirm page

issue related to the xstate machine update

merged into devel


fix: repo name

:tada: This PR is included in version 2.3.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Array parameters for IN clause

In some cases I want to use IN (...) with a dynamic number of values. For instance:
// $ids is int[]
$result = $link->execute('SELECT * FROM articles WHERE id IN (:ids)', ['ids' => $ids]);

At the moment this returns nothing - no error but no result either even if there is one.
I know that this might be non-trivial to implement, however Doctrine does have this feature. See PARAM_INT_ARRAY / PARAM_STR_ARRAY in Doctrine documentation. It is done through kind of a hack though - the database receives WHERE id IN (?, ?, ?, ?, ?, ?) with several parameters instead.
I'm not quite sure how this library works internally. Do you think this would be possible to implement somehow? I kinda dislike using a dynamic number of question marks in the SQL query...

I see. Better to implement it in userland code then. Thanks!

This file contains the regex and functions used to parse placeholders from an SQL string.
If you do write something to do this, please submit a PR! I'm sure others would find it useful!

Tell me how can I implement this in code?


NextJS client component issue (shadcn/ui)

What version of million are you using?
^1.0.0-rc.84
Are you using an SSR adapter? If so, which one?
n/a local
What package manager are you using?
npm
What operating system are you using?
Windows
What browser are you using?
Chrome
Describe the Bug
When using Million in NextJS with shadcn/ui, interactive use-client components (directly from shadcn/ui - Dark Mode Toggle) the interactive dropdown does not render on click toggle.
When I manually forced the dropdown to 'show' via props, although it does not visually appear, the dom now shows the dropdown elements but are translated off-screen.
Initially thought a shadcn/ui bug but turns out disabling Million solved this problem.
A user on Twitter seems to have experienced the same issue: Twitter user's post
The button appears to basically lose all interactivity, the underlying shadcn/ui primitives do not even react to the click event as far as I can tell.
What's the expected result?
My use-client components do not get affected by million's profiling/wrapper components (assumed).
Link to Minimal Reproducible Example
Coming soon
Participation

[ ] I am willing to submit a pull request for this issue.

Hi @ChrisBoik , we've just deployed a fix for you. Can you try running the setup script npx million@latest. Once it's done, please restart your VSCode/Cursor. Let me know if that works for you!


Machine learning tutorial link not working

Machine learning tutorial link not working:
When completing the first tutorial, you are redirected to the following link, by pressing the button ML.NET Tutorials
https://dotnet.microsoft.com/learn/machinelearning-ai/ml-dotnet-get-started-tutorial/next
Invalid link:
https://docs.microsoft.com/en-us/dotnet/machine-learning/tutorials/

@pintedani Looks to be fixed now. If you are still having problems please open a new issue.


Big Number Visualization Type bug

Make sure these boxes are checked before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if any
[ ] I have reproduced the issue with at least the latest released version of superset
[ ] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.28.0rc4
Expected results
Big Number Viz with proper results rendered.
Actual results

Steps to reproduce

Install a new superset with sample data loaded.
Browse dashboard of "Birth." or explore the slices using Big Number Viz.

Please pull the latest from master. This issue should have been resolved in #5746 and has been merged  https://github.com/apache/incubator-superset/commit/0781cf2cfb15b49900625d705e8c484e1b956909


This extention does not work over Remote SSH

This plugin does not work over VSCode-Remote SSH. If it was a set static port or had a config to set the port number of the language server I could forward the port.
The fact that the language server is launched as a random port makes it impossible for me to forward the port over tunnel.

It should work. I don't believe the port the server runs on needs to be available to your local VSCode.
I have it running over an ssh connection, with PHP at the remote end running in a docker container. No port forwarding is involved.

It should work. I don't believe the port the server runs on needs to be available to your local VSCode.
I have it running over an ssh connection, with PHP at the remote end running in a docker container. No port forwarding is involved.

@judgej Even though the extension is working locally (MacOS) on a different workspace, I am not able to make it work on my SSH host (Linux).
So far, my remote settings.json (~/.vscode-server/data/Machine/settings.json) has the following pertinent entries:
{
    ...
    "php.executablePath": "/usr/bin/php",
    "remote.extensionKind": {
        "felixfbecker.php-intellisense": [ "workspace" ],
      },
    ...
}

And I got the following exception:
UnexpectedValueException: RecursiveDirectoryIterator::__construct(~/somefilepath.tmp): failed to open dir: Permission denied in ~/.vscode-server/extensions/felixfbecker.php-intellisense-2.3.14/vendor/webmozart/glob/src/Iterator/RecursiveDirectoryIterator.php:43

May I ask you your settings.json and permissions setup on the remote file system?

@judgej Even though the extension is working locally (MacOS) on a different workspace, I am not able to make it work on my SSH host (Linux).
So far, my remote settings.json (~/.vscode-server/data/Machine/settings.json) has the following pertinent entries:
{
    ...
    "php.executablePath": "/usr/bin/php",
    "remote.extensionKind": {
        "felixfbecker.php-intellisense": [ "workspace" ],
      },
    ...
}

And I got the following exception:
UnexpectedValueException: RecursiveDirectoryIterator::__construct(~/somefilepath.tmp): failed to open dir: Permission denied in ~/.vscode-server/extensions/felixfbecker.php-intellisense-2.3.14/vendor/webmozart/glob/src/Iterator/RecursiveDirectoryIterator.php:43

May I ask you your settings.json and permissions setup on the remote file system?

I tried excluding those .tmp files (via files.exclude), without success, and ended up modifying file permissions.

I tried excluding those .tmp files (via files.exclude), without success, and ended up modifying file permissions.

The permissions can get messed up if you are using containers on the remote server to run PHP, since the container may be accessing the source volume as a different user. Opening up the permissions like you have should fix this, bit may be storing up similar problems for later.

The permissions can get messed up if you are using containers on the remote server to run PHP, since the container may be accessing the source volume as a different user. Opening up the permissions like you have should fix this, bit may be storing up similar problems for later.


What is the latest version?

Hello!
I noticed NPM registry has more versions for this package than the tags available here on GitHub. Was that intended?
The result of running npm info eventsourcemock time is
{
  modified: '2018-04-29T20:34:16.111Z',
  created: '2017-06-09T12:21:21.619Z',
  '1.0.0': '2017-06-09T12:21:21.619Z',
  '1.0.1': '2017-06-09T13:58:48.377Z',
  '1.1.0': '2018-01-07T18:52:56.546Z',
  '2.0.0': '2018-04-29T20:34:12.778Z'
}

Also, since the latest version bump was a major, is there any changelog I can check for the changes?
Thank you!

2.0.0 seems to be the latest version.

@clisterdmello Yes, that hasn't changed since the original issue report. The issue is that NPM says there are more versions than Github tags. And package.json says 1.0.1. All this inconsistency doesn't seem "correct".


feat(exp): adding e2e-test for zfspv shared mount support

Signed-off-by: Aman Gupta<EMAIL_ADDRESS>
What this PR does / why we need it

This PR adds e2e-test for zfspv shared mount support.
Applications who wants to share a volume can use below storageclass to make their volumes shared by multiple pods

apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: openebs-zfspv
parameters:
  shared: "yes"
  fstype: "zfs"
  poolname: "zfspv-pool"
provisioner: zfs.csi.openebs.io

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #436

@w3aman  can you provide the test case log


Add .gitkeep to empty 'private' directory.

This keeps the documented private/templates/emails directories in sync with documentation. Closes #68.

Apologies, I didn't drop .gitkeep in the right directory. I'll be back with another PR shortly.


Chap03 - Product-Composite-Service Tests Not Passing

Hello,
In the unit tests for the product-composite-service in Chapter 3, all 3 tests fail with a 'No content - 404 Not Found'.
I've even copied the test code verbatim from the source ProductCompositeServiceApplicationTests.java with the same result.
For example on getProductInvalidInput():

GET http://localhost:43167/product-composite/3
accept-encoding: [gzip]
user-agent: [ReactorNetty/1.1.3]
host: [localhost:43167]
WebTestClient-Request-Id: [2]
Accept: [application/json]

No content

404 NOT_FOUND Not Found
Vary: [Origin, Access-Control-Request-Method, Access-Control-Request-Headers]
Content-Type: [application/json]
Transfer-Encoding: [chunked]
Date: [Tue, 28 Feb 2023 23:20:41 GMT]

{"timestamp":"2023-02-28T23:20:41.406+00:00","status":404,"error":"Not Found","path":"/product-composite/3"}

Status expected:<422 UNPROCESSABLE_ENTITY> but was:<404 NOT_FOUND>
Expected :422 UNPROCESSABLE_ENTITY
Actual   :404 NOT_FOUND

I'm at a loss as to what I'm doing wrong here.
Any help is much appreciated.
Thank you!

Hello, and thanks for reporting this issue!
Can you change the test-task in the product-composite-service's build.gradle file so that it writes output from the application to the terminal.
The test-task should look like:
tasks.named('test') {
    useJUnitPlatform()

    testLogging {
        outputs.upToDateWhen {false}
        showStandardStreams = true
    }
}

Rerun the test and add a comment to this issue with the output from running the tests with the command:
./gradlew microservices:product-composite:test

Hello again!
I can see that you are using Spring Boot v3.0.3. Since the book is based on v2.5.2, I'm not sure if everything will work out of the box using v3.0.3. But the tests in Chapter 3 should for sure work :-)
Have you compared your code with the code in the book's GitHub repo?
Can you verify that the tests in the GitHub repo works by running the following commands in a temp-folder:
git clone https://github.com/PacktPublishing/Microservices-with-Spring-Boot-and-Spring-Cloud-2E.git
cd Microservices-with-Spring-Boot-and-Spring-Cloud-2E/Chapter03/2-basic-rest-services
./gradlew microservices:product-composite:test

Hi Magnus,
I ran your code in a temp folder and it ran fine.
I then changed the Spring Boot version for all 6 of my projects from 3.0.3 to 2.5.2 (and later 2.7.9) which caused them to suddenly work, so it seems that that was the likely culprit. Although I'm not sure what changed between 2.5.2 (or 2.7.9) and 3.0.3 that everything works except for the tests involving Mockito.
Either way I'm glad it's working and I thank you very much for your help!

Great, happy to help!
I'm closing this issue now.


iOS: hasPrev/hasNext

I set these properties to false, but the music controls on iOS still show the prev/next buttons.

Yes. I'm facing this same issue.

In my app I also embed Youtube players. When Youtube videos load, they take over the Control Center and make Prev/Next buttons disappear. I need a way to put them back once the audio starts playing. Being able to update hasPrev and hasNext would fix the issue.

Me too, prev/next buttons show even if set to false

Hi I have the same issue on iOS 9 and iOS 10 (on iOS11 does not works).
There's a fix to hide the prev/next buttons?

2.1.0 has the same problem


Questions on Training

I appreciate for your great work! I have some questions on Training, please give us some help ,thx!

Excuse me, we also need guidance on how to get and preprocess the 2D Groud Truth data for Human3.6M. Could you share the code?
How to calculate MACs/frame and Param?
My email<EMAIL_ADDRESS>

Thanks @liuxing007

A proper way of getting it is by using the camera intrinsic parameters to project 3D camera coordinates to 2D pixel coordinates, as done here.

For this project though, we followed what MotionBERT did and simply took the (X, Y) from the (X, Y, Z) as the 2D ground truth (You can see it here)
The reason why that should be fine is that MotionAGFormer takes the normalized 2D pose sequence as input and it is in range [-1, 1]. The 3D pose sequence is already normalized (and rescaled to be the same scale as the 2D pose as I explained here) and as a result doing it is equivalent to convert it to 2D pose sequence in an standard way and then normalizing it.

For params I used the function implemented here. For MACs/frame you can use a library such as torchprofile that computes the MACs for the whole model. Then simply you have to divide the number for all the output frames to have MACs/frame.


Meaning of the 'depth.npy' file

I have been trying to evaluate the reconstruction by comparing the output depthmaps with groundtruth. However, I failed to figure out the meaning of the 'depth.npy' file in the undistorted.depthmaps folder.
My input images are 1280*1024 .png files. Confusingly, the corresponding 'depth.npy' file is a float32 (512, 640) matrix, which is not of the same size as the resolution of input images. So, what does the matrix in 'depth.npy' means; or is there a better way to access the reconstructed depthmaps information?
Thanks in advance!

The size of the depth map is based on the configuration, check the config.py for the default value, depthmap_resolution: 640. That's why your depth matrix has size (512, 640)

Question answered and no answer in a while, closing.

Thank you very much for replying! I am sorry for not answering and closing this issue earlier.