chore(main): release 0.7.0

:robot: I have created a release beep boop
0.7.0 (2024-08-30)
Features

Use github app for auth (fea0e6c)

Bug Fixes

deps: update rust crate clap to v4.5.10 (3199d26)
deps: update rust crate clap to v4.5.11 (2945d7d)
deps: update rust crate clap to v4.5.12 (d3b6a66)
deps: update rust crate clap to v4.5.13 (a3d1fd4)
deps: update rust crate clap to v4.5.14 (ffb6356)
deps: update rust crate clap to v4.5.15 (54ae1e2)
deps: update rust crate clap to v4.5.16 (81307c9)
deps: update rust crate octocrab to 0.39.0 (ec1389f)
deps: update rust crate serde to v1.0.205 (2ea31ff)
deps: update rust crate serde to v1.0.206 (830654b)
deps: update rust crate serde to v1.0.207 (07edbc6)
deps: update rust crate serde to v1.0.208 (06a182c)
deps: update rust crate serde to v1.0.209 (8458825)
deps: update rust crate serde_json to v1.0.121 (f6d02cd)
deps: update rust crate serde_json to v1.0.122 (1161553)
deps: update rust crate serde_json to v1.0.123 (88b24f4)
deps: update rust crate serde_json to v1.0.124 (cb84fc6)
deps: update rust crate serde_json to v1.0.125 (5a0391a)
deps: update rust crate serde_json to v1.0.127 (c40a44c)
deps: update rust crate service_conventions to 0.0.18 (6c897b6)
deps: update rust crate service_conventions to 0.0.19 (458857f)
deps: update rust crate service_conventions to 0.0.20 (4d5d4bd)
deps: update rust crate tokio to v1.38.1 (5c44dcf)
deps: update rust crate tokio to v1.39.1 (4135330)
deps: update rust crate tokio to v1.39.2 (76a2b15)
deps: update rust crate tokio to v1.39.3 (d2d5797)
deps: update rust crate toml to v0.8.15 (97a4e22)
deps: update rust crate toml to v0.8.16 (49dc777)
deps: update rust crate toml to v0.8.17 (cddba44)
deps: update rust crate toml to v0.8.18 (9bd7641)
deps: update rust crate toml to v0.8.19 (52772b6)
deps: update rust crate tonic to v0.12.1 (8e26913)
deps: update rust crate tonic to v0.12.2 (5ab567d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/philipcristiano/w2z/releases/tag/v0.7.0 :sunflower:


api key leak?

func/firebase_init.py

Not really, no.
The database is protected by rules in the Firebase Console.
But thanks for looking out for me! 😀😀


Firefox ext opens really small on Android mobile

Hi, so when I open the extension it's really small on Firefox from the Play Store. I'm on Android 9, and a Google Pixel.

Thanks for submitting this issue @Copen-08. We haven't tested the extension on mobile android on Firefox but I intend to do so and will ensure this is fixed.


Get tests running again

@tmcw Do let me know if I can help explain some things in the original code, or regarding mdast!

Thanks! Tests are now running.


docs: initial draft of the Etcher SDK spec

This document describes the design and interface of the Etcher SDK.
Signed-off-by: Juan Cruz Viotti<EMAIL_ADDRESS>

This PR is stale. Closing...


Don't show banned users

I have a problem with the webui.
It dosen't show anyone who's on the banlist, just write ban (1) because only one player on the banlist.
Attached some screenshots about the issue

Hello! I apologize for the late reply, I have been busy with university. Can you provide me with the banned user's username & uuid or even better the database row itself. Also, does the issue persist when new users are punished?


WFLY-18328 Upgrade Weld to 5.1.1.SP2

JIRA - https://issues.redhat.com/browse/WFLY-18328

Thanks @manovotn


SCT-1251 Add a working server.

Only gets namespaces for now.
Tested with a full stack manually, will add integration tests later.

Pull Request Test Coverage Report for Build 166

52 of 54 (96.3%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.4%) to 93.969%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/jgikbase/idmapping/core/errors.py
2
3
66.67%

src/jgikbase/idmapping/service/mapper_service.py
50
51
98.04%

Totals

Change from base Build 165:
0.4%

Covered Lines:
857

Relevant Lines:
912

💛  - Coveralls

Also, if you want fancy logging, you could set up something like:

stdout just shows very compact, basic data
set up the python logging package to have a separate rotating file handler for every log level. Each log file can go in something like /log (which can be gitignored)

yeah, re blueprints I figured I'd cross that bridge when I came to it.


Build fails on Linux

Hi,
I've tried to build the project on Linux, but it failed due to a problem that seem to be related with macOS stuff:
> git clone https://github.com/gfx-rs/gfx
> cd gfx
> cargo build
...
   Compiling spirv_cross v0.3.1 (https://github.com/grovesNL/spirv_cross.git?branch=build-set-stdlib#5fc5ab87)
   Compiling metadeps v1.1.2
   Compiling x11-dl v2.15.0
   Compiling rand v0.3.17
   Compiling shared_library v0.1.7
   Compiling memchr v1.0.2
   Compiling num_cpus v1.7.0
   Compiling malloc_buf v0.0.6
error: native frameworks are only available on macOS targets

   Compiling syn v0.11.11
error: aborting due to previous error

error: Could not compile `core-foundation-sys`.
warning: build failed, waiting for other jobs to finish...
error: build failed

System info:
Linux kernel: 4.13.8-1-ARCH #1 SMP PREEMPT Wed Oct 18 11:49:44 CEST 2017 x86_64 GNU/Linux
rust stable: 1.21.0

Thanks for reporting this, I think this is the same issue as grovesNL/spirv_cross#33.

@grovesNL I don't think it's related.
Doing cargo build in the root folder is equivalent to cargo build --all, which goes and tries to build all the contained crates in the workspace, including OSX and Windows stuff.
Instead, you can either build a specific package you are interested in (e.g. cd examples/hal/quad && cargo run --features vulkan), or use make for generic all-around builds.


Add timeline for chat

Would be nice if it was possible to browse backwards in time by date. Would be even cooler if the timeline had big/small circles when you talked/were mentioned/...

I'm not interested in this feature anymore.


Difficulty loading RAP grib data

I am trying to use iris for loading up some RAP model data which is in grib2 format. This type of data can be found here: http://nomads.ncep.noaa.gov/pub/data/nccf/com/rap/prod/rap.20140924/ (Note, there is a two-day rolling window, so adjust the URL accordingly). I am using iris 1.7 from binstar.
This product file has lots of different model parameters in it which seems to be causing difficulty.
First, just doing a naive load fails (note the warning hidden in there might be relevant).
>>> import iris
>>> cube = iris.load_cube('/nas/data_cellar/NCEP/RAP/2014/20140924/rap.t01z.awp130pgrbf00.grib2')
/home/broot/scratch/miniconda/lib/python2.7/site-packages/iris/fileformats/grib/load_rules.py:335: UserWarning: Different vertical bound types not yet handled.
  warnings.warn("Different vertical bound types not yet handled.")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/broot/scratch/miniconda/lib/python2.7/site-packages/iris/__init__.py", line 314, in load_cube
    raise iris.exceptions.ConstraintMismatchError(str(e))
iris.exceptions.ConstraintMismatchError: failed to merge into a single cube.
  cube.shape differs: (337, 451) != (4, 337, 451)

So, I try to load up just air temperatures:
>>> cube = iris.load_cube('/nas/data_cellar/NCEP/RAP/2014/20140924/rap.t01z.awp130pgrbf00.grib2', 'air_temperature')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/broot/scratch/miniconda/lib/python2.7/site-packages/iris/__init__.py", line 314, in load_cube
    raise iris.exceptions.ConstraintMismatchError(str(e))
iris.exceptions.ConstraintMismatchError: failed to merge into a single cube.
  cube.shape differs: (37, 337, 451) != (2, 337, 451)

I am very new to iris and I might be doing something stupid, but I have read the user guide and I have a general sense of how things should be working. If I can get this working right, it would go a long way to convincing my bosses to put some effort into this project.

Closing due to inactivity. We've since moved all grib loading functionality into a dedicated "iris-grib" module - with this model, we can technically iterate within an iris-core release cycle, and should allow us to move more quickly if there are translation improvements we can add.


Show effective licenses in WebApp report's summary tab

The WebApp report currently show the declared and detected licenses in Summary tab it would be more useful if it showed the effective license in the summary e.g. license that actually applies or has been choice. In this way a report report can faster understand which licenses are applicable to the project and thus determine their license obligations.

Sound like a duplicate of https://github.com/oss-review-toolkit/ort/issues/7436, or?

@sschuberth  #7436 is likely a bug in the EvaluatedModel not including the effective license in the output in some case, this ticket is about visualizing the effective license. Do agree that #7436 likely has an effect on #8038 e.g. not all effective licenses may be show in Summary Tab.
@fviernau  To continue our discussions the fastest way for me to show effective licenses in the WebApp is for you to expand the statistics in the EvaluatedModel to add effective within licenses so you get something like what is shown below. Maybe it makes sense to also implemented a concluded at the same time so report readers can instantly see for how many packages the license was concluded. What do you think?
"statistics": {
    "open_issues": {...},
    "open_rule_violations": {...},
    "dependency_tree": {...},
    "licenses": {
        "declared": {...},
        "detected": {...},
        "effective": {...}


Please add uwp-static architecture triplet

vcpkg.exe install opencv:x86-uwp-static
Error: invalid triplet: x86-uwp-static
Available architecture triplets:
  arm-uwp
  x64-uwp
  x64-windows-static
  x64-windows
  x86-uwp
  x86-windows-static
  x86-windows

I would also find this useful, but for my case x64.


Add cover image support, implement for MacOS

Adds album art URL metadata, as discussed in #6.

Hi! I've been trying to implement this on Windows. There seems to be an error when using the latest version of the windows crate, the rest is working fine. As soon as I get that working I'm merging this.

So.. I got it working.

Couldn't upgrade to windows-rs 0.13 yet but it works. I'll push my changes and then merge to the repo.


"pretty_on_save": true jumps horizontal scroll to right when saving

Editor horizontal scroll is jumping to right, messing with the scroll, everytime we save.

Looking into this

Thanks, I will work on addressing this over this week.

Editor horizontal scroll is jumping to right, messing with the scroll, everytime we save.

Do you have an example JSON file I can test on?

No sorry, I uninstalled Sublime and moved to use VS Code instead.
Thanks anyway


Update reference to classic EAC

Hi Chris,
I noticed the "Recommended Content" section for this article references the classic EAC
https://docs.microsoft.com/en-us/exchange/monitoring/trace-an-email-message/run-a-message-trace-and-view-results,
and earlier in the page is a reference to the modern EAC

Note
Message trace in the Microsoft 365 Defender portal is just a pass through to Message trace in the Exchange admin center. For more information, see Message trace in the modern Exchange admin center.

The article currently references both the classic and modern EAC.
I propose replacing the classic reference with the modern reference which is
https://docs.microsoft.com/en-us/exchange/monitoring/trace-an-email-message/message-trace-modern-eac
Thanks!

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

ID: b58f8e2c-428a-4d8e-e8b7-a0342a0038db
Version Independent ID: 6e7fab1b-1e24-9e36-176d-c3fb14f233a7
Content: Message trace in the Microsoft 365 Defender portal - Office 365
Content Source: microsoft-365/security/office-365-security/message-trace-scc.md
Product: m365-security
Technology: mdo
GitHub Login: @chrisda
Microsoft Alias: chrisda

@jonwbstr, OK. Be my guest.

Hehehe, okay. Do what you want with this, I only wanted to share the observation so I'm good to close if that's what you're thinking.

Closing.


Deprecate for 0.8.0 release

Searching for `removed_in="0.8.0":
https://github.com/search?q=repo%3Aapache%2Ficeberg-python+removed_in%3D"0.8&type=code
Removed items:

DEPRECATED_PROPERTY_NAMES
to_requested_schema in pyiceberg/io/pyarrow.py
add_snapshot and set_ref_snapshot in pyiceberg/table/__init__.py

I think this might be the first time we're removing deprecated functions/parameters from the library.
I'm a bit concerned about the DEPRECATED_PROPERTY_NAMES and whether people have migrated away from it.
Also, there's #1104 which advocates for not deprecating botocore_session
Any thoughts on this?  @HonahX @sungwy @Fokko


WVD issues while connecting from outside network

Hi Team,
I have setup the WV environment and is working from web-client. I am able access all the assigned resources over the webclient, however I cannot access the same using the Desktop Client. I am getting "Remote Desktop is not connecting to the remote computer" from my home network (outside the Azure VNet). But If I do the same from the same network (within Azure VNet) where the session hosts are deployed, then it is working fine. I am not sure, what mistake I am doing.
Can some one help me on this.
Thanks,
Bhaskar Desharaju.

@bhaskar39, Thank you for sharing the query. can you please share me the Microsoft Doc you are referring to, so that its easier for us to get this assigned to the right team.

@bhaskar39 , Could you please help us by providing the doc you were referring too?

@SubhashVasarapu-MSFT : This has been fixed. It was due to the firewall issues that blocked the WVD Desktop client to communicate with the service.
Sorry for the delayed response.

@bhaskar39 , Glad to hear that your problem got resolved 👍
We are closing this issue for now. If there are further questions regarding this matter, please reply and we will gladly continue the discussion.


Logging too much errors (but data is successfully collected).

Firstly, I would like to thank you for the awesome work done on this repo! Good job :)
I've got your integration up and running on my HA and data is successfully collected since yesterday.
There is only one problem: There are too many errors logged (~1000 for the last 6h from 3 devices).
Is there any way to limit those logs?
Versions:
Home Assistant: 0.114.4
HACS: 1.5.2
Xiaomi passive BLE monitor sensor platform: 0.6.11
Sensors: LYWSD03MMC

Example errors:
2020-08-30 12:00:37 ERROR (SyncWorker_46) [custom_components.mitemp_bt.sensor] Decryption failed: MAC check failed
2020-08-30 12:00:37 ERROR (SyncWorker_46) [custom_components.mitemp_bt.sensor] token: <token value>
2020-08-30 12:00:37 ERROR (SyncWorker_46) [custom_components.mitemp_bt.sensor] nonce: 87aba338c1a45b055d980000
2020-08-30 12:00:37 ERROR (SyncWorker_46) [custom_components.mitemp_bt.sensor] encrypted_payload: 0bbb6d531a9800006d652b96
2020-08-30 12:00:37 ERROR (SyncWorker_46) [custom_components.mitemp_bt.sensor] cipherpayload: 0bbb6d531a
2020-08-30 12:00:37 ERROR (SyncWorker_46) [custom_components.mitemp_bt.sensor] Decryption failed for <mac address>, decrypted payload is None

Please show your configuration. I guess there is an error in your configuration.

sensor:
  - platform: mitemp_bt
    encryptors:
        'A4:C1:38:A3:AB:87': '<encryption key>'
        'A4:C1:38:93:92:77': '<encryption key>'
        'A4:C1:38:EC:F9:67': '<encryption key>'

I think the easiest is to exclude it from the logger by setting the logger level to critical
logger:
  default: warn
  logs:
    custom_components.mitemp_bt: critical


Multiple email in HA

Sentinl and Kibana version: 5.4.1

Issue description: Getting multiple emails for scheduled alarms in HA environment.

Reproducing the issue step-by-step: Run Kibana in HA (more than 1 Kibana)

Expected results vs. actual results: Should send only one mail per alarm/schedule.

Additional details
We are running Kibana in HA i.e. more than 2 active Kibana (with ESmaster). Every scheduled alarm in sentinl sends the number mails based on active Kibana. It works fine if user executes alarm manually from kibana i.e. sends only single mail. I can keep email as active on only one Kibana and disable on others. However, that may impact if user try to execute alarm manually from the console. How should we setup email setting for sentinl in HA environment?

Hi @varun0002 HA is currently only available in Siren Alert, the Siren version of SENTINL part of their Siren 10 Stack. I'm not familiar with ESmaster, feel free to share additional details or send a PR/Feature request.

@lmangani: Thanks for quick response. I was referring ESmaster as ElasticSearch master. Can you please provide me any reference link for Siren Alert?
Are there any config changes we can make in Sentinl so user would get only single mail for each scheduled alarm when Kibana is running in HA?

@varun0002 will check ESmaster and provide some feedback.
Siren Alert is only bundled with The Siren 10 Stack at this time, as it relies on advanced features unavailable in stock Kibana and Elasticsearch.

@lmangani We may not need anything from ESmaster side. I just kept that for more details.
The core problem, we are getting multiple emails for scheduled alarms when Kibana is running as HA.
Please let me know if I would need to open new issue for HA support or we can consider this as feature request?

Hi this is an issue for me as well.  Is there any recommended advice on how you can have more than 1 Kibana running while avoiding duplicate alerts per Kibana?


Correctly identify dependency versions chosen by Go

Depends on https://github.com/actions/go-dependency-submission/pull/12. Merge first for a cleaner diff!
go mod graph lists an associative list of possible versions of packages that can be chosen (given the constraints specified in go.mod files) and their required dependencies.
go list -deps $build_target will list the packages and versions actually chosen by Go when building the build-target.
This action melded the two sources of information to create a dependency snapshot with the packages chosen with a build-target and their dependency relationships.  However, we had a flawed assumption. As it turns out, each line in go mod graph specifies minimum version of a dependency that a package requires. It does not list what package version is actually chosen.

To give an example:
Say go list -deps -f $template_string $build_target lists the dependencies<EMAIL_ADDRESS><EMAIL_ADDRESS>and<EMAIL_ADDRESS>as the dependencies chosen for a build-target
go mod graph lists the following associative list of packages and their required dependencies:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Note on the first line<EMAIL_ADDRESS>specifies<EMAIL_ADDRESS>as the required dependency, not<EMAIL_ADDRESS>which was ultimately chosen for the build-target.

You can see the effect of this output in this repo's Dependency Graph

This includes entries for both the dependencies selected for the build target, as well as the packages not selected (but are the minimum required versions of other dependencies)

This PR re-works how packages are associated so they match the versions chosen for a build-target<EMAIL_ADDRESS>will be correctly shown to depend on<EMAIL_ADDRESS>in the snapshot manifest.

Testing
In addition to unit and integration tests, the Action workflow was modified to run this PR and ran successfully. The output is what is expected: 4 dependencies (rather than 8), with the correct versions and relationships.
https://github.com/actions/go-dependency-submission/actions/runs/2513328012

PS: Wasn't able to run the tests locally, getting a 401 when doing npm i. Some instructions in the README (or an up to date CONTRIBUTING) would be appreciated in a follow-up PR.

Unfortunately, even though the @github/dependency-submission-toolkit is a public package, GitHub's registry requires logging in to pull dependencies 😕 To fix this, we'll need to figure out how to get the toolkit published to npm. In the meantime, will add instructions.


Interpolation issue when using additional_resource_groups

https://github.com/castai/terraform-castai-aks/blob/e97ad51f73eed3b5d1e18e4bfa65411a8970d053/iam.tf#L79C3-L79C101
Provider version: 7.8.0
Module version: 5.3.0
Terraform version: 1.8.5
Error: Error: Invalid template interpolation value │  │   on .terraform/modules/castai-aks-cluster/iam.tf line 79, in resource "azurerm_role_assignment" "castai_additional_resource_groups": │   79:   description        = "castai role assignment for resource group ${var.additional_resource_groups}" │     ├──────────────── │     │ var.additional_resource_groups is list of string with 1 element │  │ Cannot include the given value in a string template: string required.
Description: When the value of var.additional_resource_groups is provided as a list of string the description in this resource fails terraform validation as it expects a string.
A suitable change could be:
description        = "castai role assignment for resource group ${each.key}"

Thank you @mgmuk  for providing a fix.


Validate Bot Names

In the Discord players section, the bot names are not validated for uniqueness.

Solved with 2.1.0


Maximize window jumps out of the monitor it's in and moves to max size in monitor 1

For the App not the website - The program seems to jump monitors when hitting maximize button. This is not how maximize should work for a multi monitor setup. Programs should maximize into the max size of the monitor they are in. The website works fine for this (as the browser is doing the maximizing) but the app is not.

I'm having the same issue. I don't know how to fix it but it looks like it is moving the window to x,y 0,0 and making it full screen. It is not detecting what monitor it is on. If I'm correct the window it spawns is just a window with a browser contained with in. When I connected via a browser (Mozilla Firefox) it full screened on the monitor it was on. so the isue is somewhere in the code that is that window. Looks like it is writen in Go To file line for fullscreen check
Two possible workarounds till this is fixed is using Win+Shift+[arrow_key_to_monitor], or use a web browser and use the IP address the ICARUS Terminal Launcher gives. The key combo Tells windows to move window from one monitor to another, without shift moves window within a monitor. Unless the wondow is already on an edge that borders another monitor then it will jump monitors.
A proper fix will have to have the app check the monitor it is on and fullscreen on that monitor, rather than hard coding the top left of monitor 1.


[1.10] Add more information to diagnostics bundle

High-level description
Backport #3211
This PR adds folowing information to diagnostics bundle
* /quota
* /containers
* /proc/[cmdline|cpuinfo|meminfo] – additional hardware infro
* ps aux www – lists all proceses with wide information about them
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS_OSS-3958: Add information to diagnostics bundle

Checklist for all PRs

[ ] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

@mesosphere-mergebot bump-ee

@mesoshpere-mergebot label Ready For Review

@mesosphere-mergebot label Ready For Review


Broken links in BCDEDIT

Link to article:
https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/bcdedit-command-line-options
Problem:
Link to examples is broken.

@theking2 have you checked the URL I shared?

Thanks for fixing the link

@theking2 then I will close this issue. Thank you for your reporting.


Add support for deboost in queries

This PR adds support to deboost fields in query using an additional (optional, non-breaking) parameter in the query : mode.
If not present or invalid, the old behavior is used. If set to deboost, the concerned field will be deboosted instead of boosted. See it as a "should not" in elasticsearch

Deboost is already supported in queries.
biases between 0 and 1 will reduce the scores of any matches. See these docs: http://actionml.com/docs/ur_config#bias


ValueError on trainin

Hello my code and error in the image.

Same issue. Did you fix it?

I got the same problem. Any fixes so far?

I have managed to fix the error by fixing the main.py (neuralintents source file):
Change "from tensorflow.keras.optimizers import SGD" to "from tensorflow.keras.optimizers.legacy import SGD"
Change "training = np.array(training)" to "training = np.array(training, dtype=object)"

Thank you very much, this worked for me

I have managed to fix the error by fixing the main.py (neuralintents source file):
Change from tensorflow.keras.optimizers import SGD to from tensorflow.keras.optimizers.legacy import SGD Change training = np.array(training) to training = np.array(training, dtype=object)
The path for the main.py file can be found on the error message.

this worked for me too ty

I have managed to fix the error by fixing the main.py (neuralintents source file):
Change from tensorflow.keras.optimizers import SGD to from tensorflow.keras.optimizers.legacy import SGD Change training = np.array(training) to training = np.array(training, dtype=object)
The path for the main.py file can be found on the error message.

how do I implement the changes and download the updated package??


Cleanups

gitignore
setup.py remove unneeded dependencies (xml is in the Python standard library) and fix typos

Thanks.


Added How To Code in Go book

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s)
For resources
Description
Added a book for how to code in Go programming language.
Why is this valuable (or not)?
This book is designed to introduce you to writing programs with the Go programming language.
How do we know it's really free?
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0
International License.
For book lists, is it a book? For course lists, is it a course? etc.
Yes
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

Thanks, and welcome to free-programming-books!


-v /var/log/syslog:/var/log/syslog:ro not sync between container and host after period of time.

Description
I use -v /var/log/syslog:/var/log/syslog:ro to mount host syslog file.
But i found in container syslog not sync in period of time.

Steps to reproduce the issue:

docker run -v /var/log/syslog:/var/log/syslog:ro
period of time . contianer syslog file not sync to host syslog looks like blocked.
restart container it correct.but period of time it reappear.

Describe the results you received:
host syslog file & container syslog file both 777 permission

tail -f /var/log/syslog in Docker Container:

tail -f /var/log/syslog in Host:

Describe the results you expected:
always sync to host syslog file. not block
**Additional information you deem important (e.g. issue happens only occasionally):**cked after period of time.
Output of docker version:
docker 1.12.1
Additional environment details (AWS, VirtualBox, physical, etc.):
docker in openstack vm

Perhaps there is log rotation going on and the syslog file is reopened? Bind mounting a single file is very problematic for these reasons as it is the inode not the name that is mounted. You may get better results by sharing the whole of /var/log.

@justincormack  Thanks a lot. I will try tomorrow and  paste the result.

@justincormack Thanks a lot i have change the -v to the /var/log and it works. Thanks a lot again.


Adds guidance_val to zero123

Adds guidance_evaluation for Zero123 during train and val, saves:

noisy image,
1-step-denoised image,
fully denoised image

These are activated by guidance_eval_train and guidance_eval_valid in the zero123 yaml file.
guidance_eval_train saves images during the guidance iterations in training (batch size = 2 in example):

guidance_eval_valid saves videos during validation, including rendered image, normal, depth, mask, noisy rendered image, denoised by 1 step, fully denoised (validation batch size is always 1):
https://github.com/threestudio-project/threestudio/assets/22424247/6c38ae6a-20ea-49d7-8287-01566461be69

I'm making a few more changes, please don't merge yet


Getting an error with PySCF 1.7.2 in h5py.

Because of the change to PySCF version, the version of h5py was not compatible.
The error message was:
Traceback (most recent call last):
  File "main.py", line 15, in <module>
    from pyscf import gto  # PySCF is a quantum chemistry python module
  File "/mnt/c/Users/shawn/Programs/ms-das/test/HF_SCF_Assignment/vevn/lib/python3.7/site-packages/pyscf/__init__.py", line 71, in <module>
    from pyscf import lib
  File "/mnt/c/Users/shawn/Programs/ms-das/test/HF_SCF_Assignment/vevn/lib/python3.7/site-packages/pyscf/lib/__init__.py", line 24, in <module>
    from pyscf.lib import numpy_helper
  File "/mnt/c/Users/shawn/Programs/ms-das/test/HF_SCF_Assignment/vevn/lib/python3.7/site-packages/pyscf/lib/numpy_helper.py", line 27, in <module>

    from pyscf.lib import misc
  File "/mnt/c/Users/shawn/Programs/ms-das/test/HF_SCF_Assignment/vevn/lib/python3.7/site-packages/pyscf/lib/misc.py", line 46, in <module>
    h5py.get_config().default_file_mode = 'a'
  File "h5py/h5.pyx", line 179, in h5py.h5.H5PYConfig.default_file_mode.__set__
ValueError: Using default_file_mode other than 'r' is no longer supported. Pass the mode to h5py.File() instead.

The fix was to edit requirements.txt to use an older version of h5py.
See 7d23394
You will need to sync with the main repository, see #1.

Note, it will print out a warning, that you can ignore.


About the criterion in paper, such as Inter F1, Intra F1 and LT F1

Nice work!
Thank your contribution to Document Level Relation extraction. However, the public dataset is important is open evaluation criteria. The NLP community would be greatful  if you can release your code about the evaluation.

Thank you for your interest in our work! I have just uploaded the evaluation script used in our paper. You can just change the function name and variable names accordingly.

Thank you again! Best wishes for you.


welcome.yml

name: Post welcome comment
on:
pull_request:
types: [opened]
permissions:
pull-requests: write

done


UISEES-31: Update filters options for Holdings with the facet data

UISEES-31: Update filters options for Holdings with the facet data
Purpose

make changes to the holdings segment taking into account the custom hook functionality

yarn run v1.22.4
$ eslint .
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Holding/CreateHolding/CreateHolding.js
38:6  warning  React Hook useCallback has a missing dependency: 'history'. Either include it or remove the dependency array          react-hooks/exhaustive-deps
45:6  warning  React Hook useCallback has a missing dependency: 'mutator.holding'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/HoldingsList/Holding/Holding.js
100:6  warning  React Hook useMemo has missing dependencies: 'holding', 'holdings', and 'locationsById'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/HoldingsList/Holding/HoldingContainer.js
100:6  warning  React Hook useCallback has a missing dependency: 'history'. Either include it or remove the dependency array                          react-hooks/exhaustive-deps
107:6  warning  React Hook useCallback has missing dependencies: 'history' and 'location.search'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/HoldingsList/Holding/MoveToDropdown/MoveToDropdown.js
114:6  warning  React Hook useCallback has missing dependencies: 'canMoveHoldings', 'canMoveItems', 'holding.instanceId', 'instances', 'movetoHoldings', and 'onSelect'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/HoldingsList/HoldingsListContainer.js
45:6  warning  React Hook useEffect has missing dependencies: 'mutator.instanceHoldings' and 'setAllHoldings'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceAdministrativeView/StatisticalCodesList.js
38:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceClassificationView/InstanceClassificationView.js
43:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceContributorsView/InstanceContributorsView.js
52:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceDescriptiveView/DescriptiveFormatsList.js
44:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceDescriptiveView/DescriptivePublicationsList.js
43:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceElecAccessView/InstanceElecAccessView.js
67:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceIdentifiersView/InstanceIdentifiersView.js
42:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceNotesView/InstanceNotesList.js
40:74  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceSubjectView/InstanceSubjectView.js
33:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceTitleData/AlternativeTitlesList.js
39:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceTitleData/TitleSeriesStatements.js
31:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceEdit/InstanceEdit.js
50:6  warning  React Hook useCallback has a missing dependency: 'mutator.instanceEdit'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceMarc/InstanceMarcContainer.js
54:6  warning  React Hook useEffect has missing dependencies: 'goBack' and 'mutator.marcRecord'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceMovement/InstanceMovementContainer.js
42:19  warning  React Hook useCallback does nothing when called with only one argument. Did you forget to pass an array of dependencies?  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceMovement/InstanceMovementDetails/InstanceMovementDetails.js
54:6  warning  React Hook useCallback has a missing dependency: 'stripes'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceMovement/InstanceMovementDetails/InstanceMovementDetailsActions.js
37:6  warning  React Hook useCallback has a missing dependency: 'history'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
49:6  warning  React Hook useCallback has a missing dependency: 'history'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceMovement/InstanceMovementDetails/InstanceMovementDetailsContainer.js
23:6  warning  React Hook useEffect has missing dependencies: 'instance.source' and 'mutator.marcRecord'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/ItemsList/ItemsList.js
137:55  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
140:5   warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/ItemsList/ItemsListContainer.js
27:6  warning  React Hook useEffect has missing dependencies: 'mutator.instanceHoldingItems' and 'setOpen'. Either include them or remove the dependency array. If 'setOpen' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/MoveHoldingContext/MoveHoldingContext.js
64:6  warning  React Hook useCallback has missing dependencies: 'dragFromId', 'isHoldingMoved', 'moveHoldings', and 'moveItems'. Either include them or remove the dependency array. If 'moveHoldings' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps
70:6  warning  React Hook useCallback has an unnecessary dependency: 'selectedHoldingsMap'. Either exclude it or remove the dependency array                                                                                react-hooks/exhaustive-deps
74:6  warning  React Hook useCallback has an unnecessary dependency: 'selectedHoldingsMap'. Either exclude it or remove the dependency array                                                                                react-hooks/exhaustive-deps
184:6  warning  React Hook useMemo has missing dependencies: 'dragToId', 'intl', 'leftInstance.title', 'referenceData', 'rightInstance.id', and 'rightInstance.title'. Either include them or remove the dependency array                                                                                react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/MoveItemsContext/MoveItemsContext.js
46:6  warning  React Hook useCallback has a missing dependency: 'moveItems'. Either include it or remove the dependency array. If 'moveItems' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/ViewRequests/useFetchItems.js
16:6  warning  React Hook useEffect has a missing dependency: 'mutatorItems'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Item/CreateItem/CreateItem.js
53:6  warning  React Hook useEffect has missing dependencies: 'mutator.itemHolding' and 'mutator.itemInstance'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
60:6  warning  React Hook useCallback has a missing dependency: 'history'. Either include it or remove the dependency array                                         react-hooks/exhaustive-deps
67:6  warning  React Hook useCallback has a missing dependency: 'mutator.item'. Either include it or remove the dependency array                                    react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/common/hooks/useGoBack.js
22:6   warning  React Hook useCallback has missing dependencies: 'history' and 'location.state'. Either include them or remove the dependency array         react-hooks/exhaustive-deps
22:20  warning  React Hook useCallback has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/common/hooks/useInstance.js
24:6  warning  React Hook useEffect has a missing dependency: 'mutator'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/components/ElasticQueryField/ElasticQueryField.js
487:6  warning  React Hook useEffect has a missing dependency: 'isWarning'. Either include it or remove the dependency array       react-hooks/exhaustive-deps
505:6  warning  React Hook useEffect has a missing dependency: 'processOptions'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/components/HoldingsRecordFilters/HoldingsRecordFilters.js
13:10  error  useFacets not found in '../../common/hooks'  import/named
14:10  error  FACETS not found in '../../constants'        import/named
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/components/InstanceFilters/InstanceFilters.js
320:6  warning  React Hook useEffect has missing dependencies: 'instanceFormats', 'intl', 'locations', 'modesOfIssuance', 'natureOfContentTerms', 'resourceTypes', and 'tagsRecords'. Either include them or remove the dependency array                                                       react-hooks/exhaustive-deps
358:6  warning  React Hook useEffect has missing dependencies: 'handleFetchFacets' and 'location.search'. Either include them or remove the dependency array                                                                                react-hooks/exhaustive-deps
367:6  warning  React Hook useEffect has missing dependencies: 'handleFetchFacets' and 'query'. Either include them or remove the dependency array                                                                                react-hooks/exhaustive-deps
388:6  warning  React Hook useEffect has missing dependencies: 'createdDate', 'discoverySuppress', 'effectiveLocation', 'format', 'language', 'mode', 'natureOfContent', 'resource', 'source', 'staffSuppress', 'tags', and 'updatedDate'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
402:6  warning  React Hook useEffect has missing dependencies: 'accordions' and 'handleFetchFacets'. Either include them or remove the dependency array                                                                                react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/routes/QuickMarcRoute.js
13:6  warning  React Hook useCallback has a missing dependency: 'history'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/routes/ViewRequestsRoute.js
45:6  warning  React Hook useEffect has missing dependencies: 'mutator.allInstanceOpenLoans' and 'mutator.allInstanceRequests'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/views/ItemStatus/ItemStatus.js
46:5  warning  React Hook useEffect has missing dependencies: 'mutator.item' and 'mutator.servicePoint'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
✖ 52 problems (2 errors, 50 warnings)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

yarn run v1.22.4
$ eslint .
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Holding/CreateHolding/CreateHolding.js
38:6  warning  React Hook useCallback has a missing dependency: 'history'. Either include it or remove the dependency array          react-hooks/exhaustive-deps
45:6  warning  React Hook useCallback has a missing dependency: 'mutator.holding'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/HoldingsList/Holding/Holding.js
100:6  warning  React Hook useMemo has missing dependencies: 'holding', 'holdings', and 'locationsById'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/HoldingsList/Holding/HoldingContainer.js
100:6  warning  React Hook useCallback has a missing dependency: 'history'. Either include it or remove the dependency array                          react-hooks/exhaustive-deps
107:6  warning  React Hook useCallback has missing dependencies: 'history' and 'location.search'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/HoldingsList/Holding/MoveToDropdown/MoveToDropdown.js
114:6  warning  React Hook useCallback has missing dependencies: 'canMoveHoldings', 'canMoveItems', 'holding.instanceId', 'instances', 'movetoHoldings', and 'onSelect'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/HoldingsList/HoldingsListContainer.js
45:6  warning  React Hook useEffect has missing dependencies: 'mutator.instanceHoldings' and 'setAllHoldings'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceAdministrativeView/StatisticalCodesList.js
38:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceClassificationView/InstanceClassificationView.js
43:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceContributorsView/InstanceContributorsView.js
52:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceDescriptiveView/DescriptiveFormatsList.js
44:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceDescriptiveView/DescriptivePublicationsList.js
43:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceElecAccessView/InstanceElecAccessView.js
67:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceIdentifiersView/InstanceIdentifiersView.js
42:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceNotesView/InstanceNotesList.js
40:74  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceSubjectView/InstanceSubjectView.js
33:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceTitleData/AlternativeTitlesList.js
39:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceDetails/InstanceTitleData/TitleSeriesStatements.js
31:63  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceEdit/InstanceEdit.js
50:6  warning  React Hook useCallback has a missing dependency: 'mutator.instanceEdit'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceMarc/InstanceMarcContainer.js
54:6  warning  React Hook useEffect has missing dependencies: 'goBack' and 'mutator.marcRecord'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceMovement/InstanceMovementContainer.js
42:19  warning  React Hook useCallback does nothing when called with only one argument. Did you forget to pass an array of dependencies?  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceMovement/InstanceMovementDetails/InstanceMovementDetails.js
54:6  warning  React Hook useCallback has a missing dependency: 'stripes'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceMovement/InstanceMovementDetails/InstanceMovementDetailsActions.js
37:6  warning  React Hook useCallback has a missing dependency: 'history'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
49:6  warning  React Hook useCallback has a missing dependency: 'history'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/InstanceMovement/InstanceMovementDetails/InstanceMovementDetailsContainer.js
23:6  warning  React Hook useEffect has missing dependencies: 'instance.source' and 'mutator.marcRecord'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/ItemsList/ItemsList.js
137:55  warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
140:5   warning  React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/ItemsList/ItemsListContainer.js
27:6  warning  React Hook useEffect has missing dependencies: 'mutator.instanceHoldingItems' and 'setOpen'. Either include them or remove the dependency array. If 'setOpen' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/MoveHoldingContext/MoveHoldingContext.js
64:6  warning  React Hook useCallback has missing dependencies: 'dragFromId', 'isHoldingMoved', 'moveHoldings', and 'moveItems'. Either include them or remove the dependency array. If 'moveHoldings' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps
70:6  warning  React Hook useCallback has an unnecessary dependency: 'selectedHoldingsMap'. Either exclude it or remove the dependency array                                                                                react-hooks/exhaustive-deps
74:6  warning  React Hook useCallback has an unnecessary dependency: 'selectedHoldingsMap'. Either exclude it or remove the dependency array                                                                                react-hooks/exhaustive-deps
184:6  warning  React Hook useMemo has missing dependencies: 'dragToId', 'intl', 'leftInstance.title', 'referenceData', 'rightInstance.id', and 'rightInstance.title'. Either include them or remove the dependency array                                                                                react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/MoveItemsContext/MoveItemsContext.js
46:6  warning  React Hook useCallback has a missing dependency: 'moveItems'. Either include it or remove the dependency array. If 'moveItems' changes too often, find the parent component that defines it and wrap that definition in useCallback  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Instance/ViewRequests/useFetchItems.js
16:6  warning  React Hook useEffect has a missing dependency: 'mutatorItems'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/Item/CreateItem/CreateItem.js
53:6  warning  React Hook useEffect has missing dependencies: 'mutator.itemHolding' and 'mutator.itemInstance'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
60:6  warning  React Hook useCallback has a missing dependency: 'history'. Either include it or remove the dependency array                                         react-hooks/exhaustive-deps
67:6  warning  React Hook useCallback has a missing dependency: 'mutator.item'. Either include it or remove the dependency array                                    react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/common/hooks/useGoBack.js
22:6   warning  React Hook useCallback has missing dependencies: 'history' and 'location.state'. Either include them or remove the dependency array         react-hooks/exhaustive-deps
22:20  warning  React Hook useCallback has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/common/hooks/useInstance.js
24:6  warning  React Hook useEffect has a missing dependency: 'mutator'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/components/ElasticQueryField/ElasticQueryField.js
487:6  warning  React Hook useEffect has a missing dependency: 'isWarning'. Either include it or remove the dependency array       react-hooks/exhaustive-deps
505:6  warning  React Hook useEffect has a missing dependency: 'processOptions'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/components/HoldingsRecordFilters/HoldingsRecordFilters.js
14:10  error  useFacets not found in '../../common/hooks'          import/named
18:8   error  Unable to resolve path to module '../../facetUtils'  import/no-unresolved
20:3   error  FACETS not found in '../../constants'                import/named
21:3   error  FACETS_OPTIONS not found in '../../constants'        import/named
22:3   error  IDs not found in '../../constants'                   import/named
23:3   error  FACETS_SETTINGS not found in '../../constants'       import/named
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/components/InstanceFilters/InstanceFilters.js
320:6  warning  React Hook useEffect has missing dependencies: 'instanceFormats', 'intl', 'locations', 'modesOfIssuance', 'natureOfContentTerms', 'resourceTypes', and 'tagsRecords'. Either include them or remove the dependency array                                                       react-hooks/exhaustive-deps
358:6  warning  React Hook useEffect has missing dependencies: 'handleFetchFacets' and 'location.search'. Either include them or remove the dependency array                                                                                react-hooks/exhaustive-deps
367:6  warning  React Hook useEffect has missing dependencies: 'handleFetchFacets' and 'query'. Either include them or remove the dependency array                                                                                react-hooks/exhaustive-deps
388:6  warning  React Hook useEffect has missing dependencies: 'createdDate', 'discoverySuppress', 'effectiveLocation', 'format', 'language', 'mode', 'natureOfContent', 'resource', 'source', 'staffSuppress', 'tags', and 'updatedDate'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
402:6  warning  React Hook useEffect has missing dependencies: 'accordions' and 'handleFetchFacets'. Either include them or remove the dependency array                                                                                react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/routes/QuickMarcRoute.js
13:6  warning  React Hook useCallback has a missing dependency: 'history'. Either include it or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/routes/ViewRequestsRoute.js
45:6  warning  React Hook useEffect has missing dependencies: 'mutator.allInstanceOpenLoans' and 'mutator.allInstanceRequests'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
/home/jenkins/workspace/folio-org_ui-inventory-es_PR-25/project/src/views/ItemStatus/ItemStatus.js
46:5  warning  React Hook useEffect has missing dependencies: 'mutator.item' and 'mutator.servicePoint'. Either include them or remove the dependency array  react-hooks/exhaustive-deps
✖ 56 problems (6 errors, 50 warnings)
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.


Bug with Threading

Hello @Ellerbach ,
thanks for your good work with this serial port implementation!
I found a possible error source in your implementation. In your SerialDevice.cs in the open() method you wrote
Task.Run((Action)StartReading, CancellationToken);
this.fd = fd;

while it should be
this.fd = fd;
Task.Run((Action)StartReading, CancellationToken);

because of threading issues. It can happen that the newly started thread checks
if (!fd.HasValue)
{
    throw new Exception();
}

and ends with exception because "this.fd = fd;" has not been set at the time. This indeed happend to me. Switching the instructions solved the problem.
Could you please fix this?
Best Regards

Thanks for the input, you're absolutly correct. I'm fixing the code right now and will update the repo as well as the nugget.

Repo updated with the changes and new nuget submitted (should be available very soon). Thanks again for pointing out the issue.


compliance wording and updates

refactors nonIdFieldLogicalTypes decoupling stored representation from presentational
updates compliance wording on tooltips and updates links

Coverage remained the same at 0.0% when pulling c3cffa84d137d33c1322270bc3bd7c7f201e8991 on theseyi:compliance-reft into b31aa2310e835da24b2157eb7490411e40dbdf94 on linkedin:linkedin.


Cadl Syntax Review

Hold a review of cadl syntax with arch board
Gather feedbacks from early adopters on cadl syntax

related to #318
Syntax to review:

[x] Allow using above the global namespace from https://github.com/Azure/cadl-azure/issues/1320

Closing as dupolicate of https://github.com/Azure/cadl-azure/issues/1518


Colours in terminal which do not support it

Describe the bug
In an automated workflow, the additional characters for colours in the terminal can interrupt the rendering of the text.
In my context, I am using unraid and added a script to run nightly and inform me about the updates via email.
Additional Details

Platform you are running SteamPrefill on: manually installed into lancachenet/monolithic:latest on unraid
Discord Username (if you are part of the Lancache Discord Server) : n/a
Region: curious why that has any relevance for a bug?

Screenshots

Script in question
#!/bin/bash
#name=Lancache Autoupdate
#description=Use Lancache Prefill to auto-update all applications

log=/tmp/lancache-autoupdate_$(uuidgen)
touch $log

docker_id=$(docker ps --filter=ancestor=lancachenet/monolithic -q)
docker exec $docker_id /bin/bash -c "/data/prefill/SteamPrefill prefill" | tee $log

output=$(cat $log)

/usr/local/emhttp/plugins/dynamix/scripts/notify -e "Steam Prefill" -s "Steam Prefill run" -d "The prefill update run" -i "normal" -m "$output" -b

rm $log

Possible Solution
It would be nice to have an additional control flag to disable colours for terminals which do not support it.
Otherwise the application is awesome and super easy to use, thank you! :)

Could you let me know the value of the $TERM variable is when ran inside the script?

To be sure I've added this code to the script
echo "Term Parent: " $TERM
echo "Term Child: " $(docker exec $docker_id /bin/bash -c "echo $TERM")

both cases output
Term Parent: linux
Term Child: linux

Just noticed that there is already a --no-ansi option for exactly that use-case, but doesn't get applied for all logging

I'll take a look at the other text that isn't affected by --no-ansi and see whats going on with them.
While --no-ansi will mostly fix this issue, I do think that I need to take a deeper look into how to do this automatically, as this is not that uncommon of a question.  I'm wondering if the thing to do would be to detect that the terminal is non-interactive and use that to determine whether or not to display ansi codes.
I have a test build that has some debug output that I would like to see the results of.  Would you mind manually installing it and running your cron job as usual, and then sending over the output?  The build can be downloaded from this build job :
https://github.com/tpill90/steam-lancache-prefill/actions/runs/7332865847

I just want to hide under a rock somewhere :( I missed to put the arguments for SteamPrefill within the brackets passing it to the docker container :( I am so sorry to waste your time :(
With the latest release build and the flags correctly passed to the container

Thank you so much for your help and time, I really appreciate it! And again, I am so sorry :(
If you are still curious, that was the output of your build

Also, after a lot of debugging and testing on my side, I don't think anymore that the terminal has trouble with the colours, but the positioning of the cursor. If I disabled the colours hard-coded, it would still print the weird characters.

I'm reopening this for the time being.  I think I'm going to add a faq entry for this and want to track that I get that added


Requst for guide

Hi! Dear Abdulwadude,
I'm fresh in this area of Robot Operating Systems as I'm a student, and I hope I can learn how to complete a demo like pick n place task using turtlebot3 with open manipulator. Could you please upload the missing file like directory "follow_waypoints" and maybe include a brief guideline in readme file if you wish. And there would be others also star your project if you are willing to do so.
Thank you for your attention and have a nice day!

I will soon add this file. I am currently working on it.

I am glad to hear that and appreciate your work and efforts. This really helpful for me. If there could be simple teaching and guidance, that would be even better. Of course, this depends on your time and energy.  Thanks again for your prompt reply.


This is raising an issue when uploading media

https://github.com/lunarphp/lunar/blob/97504d1a515311395990265030b14cbad4768d70/packages/admin/src/Http/Livewire/Traits/HasImages.php#L223

This should be fixed in #853


Add AIBECS example notebook

ping @gaelforget to test and review the notebook here! It's probably not final but I think it's in good shape now and ready for critics 😄
If I remember correctly, @gaelforget reviews mine, I'll review @zhenwu0728's, and Wu will review Gael's, right?

maybe move "As it travels the oceans ... " ahead of the plot and separate out the last sentence "We call this mean time ..." into separate paragraph
add run time prediction at the top so user knows how long things should take?

it took about 10' for me to get past the using AIBECS cell, which I first interpreted as being due to downloads, but then I got an error at the next cell (see below)
grd, T = OCIM2.load() ; initially returned the following error message, which meant that all subsequencent cells also error out. This likely was due my poor internet connection as I am on travel. Calling this code cell again worked and all code cells afterwards worked out as well until OCEANS = oceanpolygons() which returned a similar error message
once I called OCEANS = oceanpolygons() a second time then everything else worked out

IOError: Could not open stream.
better_readline(::Base.PipeEndpoint)@util.jl:57
better_readline()@util.jl:55
input_choice(::String, ::Char, ::Vararg{Char, N} where N)@util.jl:82
input_bool@util.jl:70[inlined]
check_if_accept_terms(::DataDeps.DataDep{String, String, typeof(AIBECS.OCIM2.fallback_download), typeof(identity)}, ::String, ::String)@resolution_automatic.jl:180
accept_terms@resolution_automatic.jl:163[inlined]
var"#download#13"(::String, ::Nothing, ::Bool, ::typeof(download), ::DataDeps.DataDep{String, String, typeof(AIBECS.OCIM2.fallback_download), typeof(identity)}, ::String)@resolution_automatic.jl:72
download@resolution_automatic.jl:70[inlined]
handle_missing@resolution_automatic.jl:10[inlined]
_resolve(::DataDeps.DataDep{String, String, typeof(AIBECS.OCIM2.fallback_download), typeof(identity)}, ::String)@resolution.jl:83
resolve(::DataDeps.DataDep{String, String, typeof(AIBECS.OCIM2.fallback_download), typeof(identity)}, ::String, ::String)@resolution.jl:29
resolve(::String, ::String, ::String)@resolution.jl:54
resolve@resolution.jl:73[inlined]
var"#load#6"(::String, ::typeof(AIBECS.OCIM2.load))@OCIM2.jl:113
load()@OCIM2.jl:112
top-level scope@Local: 1[inlined]

on the interactive part:

could be good to have a dedicated cell, say just after the first plot that says 'you can click on a different location on the map and use any of the sliders to change the depth of maps being displayed
it's a big confusing to have three depth sliders maybe; but maybe not if text upfront is clear
maybe just before the "Plot it from all angles" / just after the "run the simulation" would be a good place to outline things that user can change / play with / do (change parameters for plotting, look at difference ocean basins, etc)

Notebook runs throughout without error (with caveat listed above) and is already very well put together, so my sense is that we could merge now & let you address the above comments in subsequent PR? or do you prefer to iterate once more within this PR?

Thank you for the review! These were all very good points. I just realized we can use admonitions in Pluto (with !!! note "note title" like in Documenter.jl), so I used that to add plenty of little notes as per your recommendations!

Actually do not merge yet as I am not finished with some polishing!

I think it's good to go now 😄


kubectl get cs cant reach controller-manager/scheduler

I'm not sure if this is typhoon/bootkube specific, but it has occured every time i've used it to start a cluster.  You'll see this on any self-hosted Kubernetes cluster - the controller manager and scheduler run in separate pods from the apiserver - that code path assumes they'd be in the same network namespace like if they were run on the host.
At this point, kubectl get cs is kinda far from being a valid health check.

Seems to be hardcoded here with an open issue about the probe being in question. https://github.com/kubernetes/kubernetes/issues/35773

There's also an open Feature to deprecate the command outright: https://github.com/kubernetes/features/issues/553


LP shows loss after one trade

User adds $8,000 in liquidity. Second user makes trade to push prices. LP shows a loss.

Is there a better way to tell LP what fees they have earned. Currently the UI does a calc (Current Value - Initial Value) which included unrealized loss/gain.

We removed Fees earned for now....Moving this ticket to on hold for now...see if we can figure out to show fees only and no IL

no longer showing pnl for lp


step back of proxy logging

if the cluster goes down, proxy repeats the error currently
2015-09-15 16:20:25.335726 W | etcdmain: proxy: could not retrieve cluster information from the given urls
2015-09-15 16:20:28.336291 W | etcdserver: could not get cluster response from

details log on current version
./etcd -proxy on --listen-client-urls http://<IP_ADDRESS>:8001 --initial-cluster default0=http://<IP_ADDRESS>:2380 --proxy-refresh-interval 3000 --debug
2015-09-15 16:28:13.339550 I | etcdmain: etcd Version: 2.2.0+git
2015-09-15 16:28:13.339670 I | etcdmain: Git SHA: Not provided (use ./build instead of go build)
2015-09-15 16:28:13.339686 I | etcdmain: Go Version: go1.4.2
2015-09-15 16:28:13.339700 I | etcdmain: Go OS/Arch: linux/amd64
2015-09-15 16:28:13.339715 I | etcdmain: setting maximum number of CPUs to 1, total number of available CPUs is 4
2015-09-15 16:28:13.339731 W | etcdmain: no data-dir provided, using default data-dir ./default.etcd
2015-09-15 16:28:13.340019 I | etcdmain: proxy: using peer urls [http://<IP_ADDRESS>:2380]
2015-09-15 16:28:13.341283 E | etcdmain: failed to notify systemd for readiness
2015-09-15 16:28:13.341323 I | etcdmain: proxy: listening for client requests on http://<IP_ADDRESS>:8001
2015-09-15 16:28:16.341985 W | etcdserver: could not get cluster response from http://<IP_ADDRESS>:2380: Get http://<IP_ADDRESS>:2380/members: dial tcp <IP_ADDRESS>:2380: connection refused
2015-09-15 16:28:16.342022 W | etcdmain: proxy: could not retrieve cluster information from the given urls
2015-09-15 16:28:19.342589 W | etcdserver: could not get cluster response from http://<IP_ADDRESS>:2380: Get http://<IP_ADDRESS>:2380/members: dial tcp <IP_ADDRESS>:2380: connection refused
2015-09-15 16:28:19.342624 W | etcdmain: proxy: could not retrieve cluster information from the given urls
2015-09-15 16:28:22.343196 W | etcdserver: could not get cluster response from http://<IP_ADDRESS>:2380: Get http://<IP_ADDRESS>:2380/members: dial tcp <IP_ADDRESS>:2380: connection refused
2015-09-15 16:28:22.343233 W | etcdmain: proxy: could not retrieve cluster information from the given urls

on the old verion, it looks like
Sep 15 16:22:51 2015/09/15 16:22:51 proxy: marked endpoint http://<IP_ADDRESS>:2379 unavailable
Sep 15 16:22:51 2015/09/15 16:22:51 proxy: unable to get response from 1 endpoint(s)
Sep 15 16:22:52 2015/09/15 16:22:52 proxy: zero endpoints currently available
Sep 15 16:22:53 2015/09/15 16:22:53 proxy: zero endpoints currently available
Sep 15 16:22:54 2015/09/15 16:22:54 proxy: zero endpoints currently available
Sep 15 16:22:55 2015/09/15 16:22:55 proxy: zero endpoints currently available
Sep 15 16:22:56 2015/09/15 16:22:56 proxy: marked endpoint http://<IP_ADDRESS>:2379 available
Sep 15 16:22:56 2015/09/15 16:22:56 proxy: failed to direct request to http://<IP_ADDRESS>:2379: dial tcp <IP_ADDRESS>:2379: connection refused

There is an issue within the old logs as well, it suddenly mark the endpoint available after report "zero endpoints currently available" 4 times as above old log shows.
I can see the code [1] is still there but I cannot reproduce it, will report a new issue and track it if it's reproducible.
[1] https://github.com/coreos/etcd/blob/master/proxy/director.go#L105

I cannot catch your point here. What is the issue of proxy logging? Could you give more details according to https://github.com/coreos/etcd/blob/master/Documentation/reporting_bugs.md?

Sorry, my steps are different for the new and old version, it need a request outside etcd (from flanneld) to generate below logs:
Sep 15 16:22:51 2015/09/15 16:22:51 proxy: marked endpoint http://<IP_ADDRESS>:2379 unavailable
Sep 15 16:22:51 2015/09/15 16:22:51 proxy: unable to get response from 1 endpoint(s)
Sep 15 16:22:52 2015/09/15 16:22:52 proxy: zero endpoints currently available
Sep 15 16:22:53 2015/09/15 16:22:53 proxy: zero endpoints currently available
Sep 15 16:22:54 2015/09/15 16:22:54 proxy: zero endpoints currently available
Sep 15 16:22:55 2015/09/15 16:22:55 proxy: zero endpoints currently available
Sep 15 16:22:56 2015/09/15 16:22:56 proxy: marked endpoint http://<IP_ADDRESS>:2379 available
Sep 15 16:22:56 2015/09/15 16:22:56 proxy: failed to direct request to http://<IP_ADDRESS>:2379: dial tcp <IP_ADDRESS>:2379: connection refused

So this is not a valid issue, and I will report a new issue for the new problem. Thanks.

Please refer to #3541 for the new problem.


Uploading subjects through PFE doesn't always update the set_member_subjects_count for the subject set

I can reproduce this. It might be due to the congestion configuration being set to cancel.

I created a subject set via the python client and found the counter to be off as well.  Additionally the lab page for the subject set looks like this:

Note that the title says there are 20 subjects, but the paginating says there are 15 pages (with 20 subjects each)...  This is subject set 8200 for reference.


Better player loadout visualization

Better player loadout visualization

.deploy to development

.deploy

.unlock production

.deploy

.deploy

.deploy


set up project in public repo

New project request for dev.surratt/ziptz4j
https://issues.sonatype.org/browse/OSSRH-59981


Bug Custodian API - GET /credentials/listCredentialIds returns 404

The GET method returns 404 every time it's called.
To reproduce the bug, you can:

store a credential calling /credential/{alias}
call /credentials and see the list, with the new credential just added
call /credentials/listCredentialIds and returns 404

It should return the ids of all credentials I know, so at least the last one I've stored.

I've just retried on swagger and still the bug figures out (I've re-cloned the repo and re-build), in the same way described above.
I don't think the problem relies in listCredentialIds function in FileSystemVcStoreService class, as listCredential calls listCredentialIds but it works. Maybe it's something at higher level?
Seems like the swagger function listCredentialIds calls getCredential of CustodianController class, as it returns "error 404" (and the only function which returns it is getCredential).

Hey @0xCaos you are definitely right about this issue. I have actually fixed one problem with the CLI tool, but there seems to be another problem at the rest-layer remaining. I guess it has to do with the encoding of credentials. Thanks for raising this issue! We will fix it soon.

Hi @0xCaos, your issue was fixed and the bug no longer reproduces beginning with e3d26941.


HamburgerMenu.IsFullscreen does not work

On current implementation, the IsFullscreen property of the HamburgerMenu does not work, it has no effect.

It was working in one scenario but not when set directly. Could you test the current code in GitHub? It appears to work for me, but your scenario might be special.

It does not work. Because you've already closed this issue, I will open new issues and describe the problem and possible fix.


Dead code in GraphQL API's auto-generated resolver VTL template

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
v18.13.0
Amplify CLI Version
12.2.3
What operating system are you using?
Debian 12
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
I was about to clone a VTL resolver and make changes to it, when I noticed this - no changes have been made yet and nothing has been cloned yet!
Describe the bug
I wanted to clone a VTL resolver and customize it according to https://docs.amplify.aws/cli/graphql/custom-business-logic/#override-amplify-generated-resolvers
Looking at the VTL code, it seems like a large section there that seems important (for authentication) is actually dead code.  Before making modifications to this file, I'd like to straighten this issue out please and then if it is fixed work by modifying the more correct VTL template.
The model - in the GraphQL schema - for which this VTL resolver code was generated only has one simple @auth rule to allow the owner full CRUD access:
type Project
  @model(subscriptions: { level: off })
  @auth(
    rules: [
      { allow: owner }
    ]
  ) {
  id: ID!
  owner: ID @index(name: "projectsByOwner", sortKeyFields: ["updatedAt"]) @auth(rules: [{ allow: owner, operations: [create, read, delete] }])
  user: User! @belongsTo(fields: ["owner"])
  title: String!
  visibility: ProjectVisibility!
  license: ProjectLicense!
  description: String
  artist: String
  coverartUrl: String
  parentProjectId: ID @index(name: "projectsByParentProject", sortKeyFields: ["updatedAt"])
  forks: [Project] @hasMany(indexName: "projectsByParentProject", fields: ["id"])
  nPlays: Int
  nTracks: Int
  nForks: Int
  duration: Float
  tracks: [Track] @hasMany(indexName: "tracksByProject", fields: ["id"])
  createdAt: AWSDateTime!
  updatedAt: AWSDateTime!
}

And here is the generated VTL resolver file Project.user.auth.1.req.vtl context:
# [Start] Authorization Steps. **
$util.qr($ctx.stash.put("hasAuth", true))
#set( $isAuthorized = false )
#if( $util.authType() == "IAM Authorization" )
  #if( !$isAuthorized )
    #if( $ctx.identity.userArn == $ctx.stash.unauthRole )
      #set( $isAuthorized = true )
    #end
  #end
#end
#if( $util.authType() == "User Pool Authorization" )
  #set( $isAuthorized = true )
  #if( !$isAuthorized )
    #set( $authFilter = [] )
    #set( $ownerClaim0 = $util.defaultIfNull($ctx.identity.claims.get("sub"), null) )
    #set( $currentClaim1 = $util.defaultIfNull($ctx.identity.claims.get("username"), $util.defaultIfNull($ctx.identity.claims.get("cognito:username"), null)) )
    #if( !$util.isNull($ownerClaim0) && !$util.isNull($currentClaim1) )
      #set( $ownerClaim0 = "$ownerClaim0::$currentClaim1" )
      #if( !$util.isNull($ownerClaim0) )
        $util.qr($authFilter.add({"owner": { "eq": $ownerClaim0 }}))
      #end
    #end
    #set( $role0_0 = $util.defaultIfNull($ctx.identity.claims.get("sub"), null) )
    #if( !$util.isNull($role0_0) )
      $util.qr($authFilter.add({"owner": { "eq": $role0_0 }}))
    #end
    #set( $role0_1 = $util.defaultIfNull($ctx.identity.claims.get("username"), $util.defaultIfNull($ctx.identity.claims.get("cognito:username"), null)) )
    #if( !$util.isNull($role0_1) )
      $util.qr($authFilter.add({"owner": { "eq": $role0_1 }}))
    #end
    #if( !$authFilter.isEmpty() )
      $util.qr($ctx.stash.put("authFilter", { "or": $authFilter }))
    #end
  #end
#end
#if( !$isAuthorized && $util.isNull($ctx.stash.authFilter) )
$util.unauthorized()
#end
$util.toJson({"version":"2018-05-29","payload":{}})
## [End] Authorization Steps. **

You'll notice above that the second #if statement:
#if( $util.authType() == "User Pool Authorization" )
  #set( $isAuthorized = true )
  #if( !$isAuthorized )
    ...

appears to simply skip the entire block (in ... above). This block seems important, for authenticating Cognito User Pool users.
Just wanted to point that out, in hope that this gets fixed and that I can modify a more "correct" VTL template before starting.
Expected behavior
I expected the VTL not to have large blocks of dead code in it. I expected that code to make sense before attempting to modify it for the first time.
Reproduction steps
Just generate a model with similar @auth permissions to the above and look at its auto-generated VTL.
Project Identifier
860b46330dca368b2540f2cdb87a3485
Log output
N/A
Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Just realized this is not the VTL template I needed to modify - this VTL template is just for one field of the Project model (the field named user) - leaving this issue open just in case you find the dead code to be something that needs to be taken care of.

@dorontal I was not able to reproduce this behavior myself, however this does look like a bug.
Would you be able to provide your User schema as well. Or use amplify diagnose --send-report and comment your project identifier to provide additional details. https://docs.amplify.aws/cli/reference/diagnose/
P.S. pending-triage is automatically added to all new issues opened.

@dpilch thanks for your response and clarifications!  I just saw them now. Here is a Project ID from amplify diagnose --send-report 860b46330dca368b2540f2cdb87a3485

@dpilch thanks for your response, which I just saw now!  I will re-create this project with the schema from the time that this issue was reported and will send the project ID soon.

This is actually expected behavior. The resolver generation could be improved to remove the dead section, but the end logic is correct.
https://github.com/aws-amplify/amplify-category-api/blob/07ac802ad3e346b18b6a4c4fd9777009771b1fc3/packages/amplify-graphql-auth-transformer/src/resolvers/mutation.delete.ts#L96-L99
This is because you have { allow: private, operations: [read] } on your User model that is connected via user: User! @belongsTo(fields: ["owner"]) in Project model. Therefore the user field on the Project models does not need additional auth checks.


[Code blocks] Inserting a code block can insert an additional linebreak

Seen in the example app on 17 Jan.
Steps to reproduce:

write text on three separate lines
highlight the middle line
select code block
note the appearance of another linebreak above the codeblock

https://user-images.githubusercontent.com/56027671/212920473-0f2d1d25-5ba8-445e-be38-192531e0b551.mov
Expected behaviour:

inserting a code block in this way should only add the code block and not the extra linebreak

Notes:

Looking at the video I actually wonder if it's just moving the second linebreak above the pre tag, so this might be an ordering issue as opposed to unexpectedly adding an element

Tested and this is fixed now.


'AM_PROG_MKDIR_P' macro is deprecated

During creating the Dockerfile for Debian packaging:
configure.ac:20: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged.
configure.ac:20: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead,
configure.ac:20: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.

I don't see any AM_PROG_MKDIR_P macro under configure.ac. How are you building this?

https://github.com/allinurl/goaccess/blob/master/configure.ac#L20
It may be in another macro.

I am using Debian helpers to build it.
https://github.com/szepeviktor/debian-server-tools/blob/master/package/docker-backport-goaccess.sh

AM_GNU_GETTEXT_VERSION([0.19]) would probably solve the warning. However, Ubuntu precise still has v0.18 which is still supported, so I can't bump this up. Thanks for the heads up on this.


API for specifying per-route serializer

model or "each" serializer for a collection

Duplicate of #367


Reproject option

Didn't rio-cogeo have a reproject option? Is it still possible to do this? I'm aware the --web-optimized flag allows creation of cog tiffs with the 3857 projection. But I'd like to convert to EPSG:4326.

@ashnair1 there is not retroject option. We could maybe add one but the code is already quite complex. If you are using rio-cogeo api directly you could easily do something like
from rio_cogeo import cog_translate, cog_profiles
from rasterio.vrt import WarpedVRT
import rasterio

prof = cog_profiles.get("jpeg")

with rasterio.open("my.tif") as src:
    with WarpedVRT(src, crs="epss:4326") as vrt:
         cog_translate(vrt, "out.tif", prof, ....)

Ah ok thanks.


Verilog Export

A quick and dirty implementation of a verilog netlister has been implemented but we haven't published yet. I request people who have good domain knowledge in HDL to review the implementation, correctness and then proceed to make required changes.
Note that the output is not expected to be perfect, the developer may need to make several manual changes to get the circuit working. It is primarily for academic interest.
You can see the output by executing verilog.exportVerilog() in the JS console.
Example for Full adder https://circuitverse.org/users/3/projects/247
module Half_Adder (A,B,Cout,Sum);
input A,B;
output Cout,Sum;
wire xor_0_out_0,and_0_out_0;
xor xor_0 (xor_0_out_0,A,B);
assign Sum = xor_0_out_0;
and and_0 (and_0_out_0,A,B);
assign Cout = and_0_out_0;
endmodule

module Full_Adder (A,B,Cin,Sum,Cout);
input A,B,Cin;
output Sum,Cout;
endmodule

[ ] Review current implementation - report correct features, shortcomings, bugs
[ ] Propose improvements
[ ] Implement improvements and publish

@fpintos can you take a look on this feature.
Are you working on this? (Yes/No)
No

Hi @satu0king , I don't think I'll be able to look at this anytime soon, one of the reasons being that I'm not familiar with verilog. :-) Or are we just looking to implement some UI to expose the feature?

@fpintos I am not familiar with verilog either, this is why I have requested someone to review the current status. UI to expose the feature can be easily done as a pop up dialog from the menu.

Hi,
I am very interested in generating Verilog from CircuitVerse, and would like to help getting this functionality to work.
I am an Associate Professor at Azusa Pacific University and I teach Digital Logic Design.  I am an expert in the field of Internet-of-Things (IoT).  Because of COVID-19, we are fully online in the USA, and I use CircuitVerse for my labs in place of physical labs.  I am truly impressed with what you accomplished.
I would like to help with the development so that CircuitVerse can generate Verilog code, which can be simulated by open source tools like Icarus Verilog (iverilog).  And then it can be running on an actual open-source compatible FPGA like the ICEStick.
Currently, I see the following issues:
I copied your full adder and made a few changes:
https://circuitverse.org/simulator/edit/fulladder-from-2-halfadders-44d7ab9b-9978-46b9-907b-014ff9eace80#
With verilog.exportVerilog() I getthe flowing errors:
'NotGate' should be converted to 'not'.
HalfAdder modules are not instantiated.
Th working code should be -  which I did by hand and can be easily generated:
module Half_Adder (A,B,Cout,Sum);
input A,B;
output Cout,Sum;
wire xor_0_out_0,not_1_out_0,nor_0_out_0,not_0_out_0;
xor xor_0 (xor_0_out_0,A,B);
assign Sum = xor_0_out_0;
not not_1 (not_1_out_0,B);
nor nor_0 (nor_0_out_0,not_0_out_0,not_1_out_0);
assign Cout = nor_0_out_0;
not not_0 (not_0_out_0,A);
endmodule
module Full_Adder (A,B,Cin,Sum,Cout);
input A,B,Cin;
output Sum,Cout;
wire or_0_out_0;
wire Half_Adder_0_Cout,Half_Adder_0_Sum,Half_Adder_1_Cout,Half_Adder_1_Sum;
Half_Adder Half_Adder_0 (A,B,Half_Adder_0_Cout,Half_Adder_0_Sum);
Half_Adder Half_Adder_1 (Half_Adder_0_Cout,Cin,Half_Adder_1_Cout,Half_Adder_1_Sum);
assign Sum = Half_Adder_1_Sum;
or or_0 (or_0_out_0, Half_Adder_0_Cout,Half_Adder_1_Cout);
assign Cout = or_0_out_0;
endmodule


Invalid .ir parsing

PHP-Whois version: 3.4.3
PHP version: 7.3.11
Description
test mhf.ir domain
How to reproduce
<?php

        $whois = Whois::create();
        $info = $whois->loadDomainInfo('mhf.ir');
        var_dump($info->getCreationDate()); // 0 or null
        var_dump($info->getExpirationDate()); // 0 or null
        var_dump($info->getOwner()); // null or address instead

Possible Solution
Check regex i think
Additional context
http://whois.nic.ir/WHOIS?name=mhf.ir

.ir It's 11nd of total usage in world:
https://w3techs.com/technologies/overview/top_level_domain

Note: possible custom query. whois-cli uses:
whois mhf.ir --verbose
Using server whois.nic.ir.
Query string: "-V Md5.2 mhf.ir"

whois mhf.ir --verbose
Using server whois.nic.ir.
Query string: "-V Md5.2 mhf.ir"

% This is the IRNIC Whois server v1.6.2.
% Available on web at http://whois.nic.ir/
% Find the terms and conditions of use on http://www.nic.ir/
%
% This server uses UTF-8 as the encoding for requests and responses.

% NOTE: This output has been filtered.

% Information related to 'mhf.ir'

domain:		mhf.ir
ascii:		mhf.ir
remarks:	(Domain Holder) Muhammad Hussein Fattahizadeh
remarks:	(Domain Holder Address) No. 125, 4 West St, Janbazan Av., Semnan, Semnan, IR
holder-c:	mf233-irnic
admin-c:	no297-irnic
tech-c:		no297-irnic
bill-c:		no297-irnic
nserver:	ns1.aasaam.net
nserver:	ns2.aasaam.net
nserver:	ns3.aasaam.net
nserver:	ns4.aasaam.net
last-updated:	2018-04-27
expire-date:	2020-09-23
source:		IRNIC # Filtered

nic-hdl:	mf233-irnic
person:		Muhammad Hussein Fattahizadeh
e-mail<EMAIL_ADDRESS>address:	No. 125, 4 West St, Janbazan Av., Semnan, Semnan, IR
phone:		+98<PHONE_NUMBER>
source:		IRNIC # Filtered

nic-hdl:	no297-irnic
org:		Noavaran Shabake Sabz Mehregan (HostIran Networks)
e-mail<EMAIL_ADDRESS>address:	#16, 2nd block , 1000 Building , Seydkhandan Bridge , Shariati st., Tehran, Tehran, IR
phone:		+982122880312
fax-no:		+982122880311
source:		IRNIC # Filtered

Just left note for future. No time to fix now.
Also you can try to tune https://github.com/io-developer/php-whois/blob/master/src/Iodev/Whois/Configs/module.tld.servers.json
There are some examples with custom query (.DE if I remeber)

Not confirmed. It's loading and parsing very good from a box.
Anyway I added in master extra host with query format.
Also added unit test case. Found one issue and can't fix it in near future due to other one test fails.
Issue is: owner field is fillied from 'address' instead of 'person'

In current version is OK. Creation date is missing so it's 0
'owner' =>
    string(52) "No. 125, 4 West St, Janbazan Av., Semnan, Semnan, IR"
    'registrar' =>
    string(27) "Faraso Samaneh Pasargad Co."
    'creationDate' =>
    int(0)
    'expirationDate' =>
    int(1758661200)
    'updatedDate' =>
    int(1603400400)


Error: UNKNOWN: unknown error, open 'C:\Users\me.babel.json'

This warning is produced when I initialize a new ReactNative project: react-native init Test

npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was
installed.

npm WARN prefer global<EMAIL_ADDRESS>should be installed with -g

and when I run react-native start from inside the project folder I get this error:

Error: UNKNOWN: unknown error, open 'C:\Users\Me\.babel.json'
at Object.fs.openSync fs.js:557:18
at Object.fs.writeFileSync fs.js:1222:33
at save <E:\Restoration\Workshop\App\Test\node-modules\babel-register\lib\cache.js:45:16>

and when the app launches on my device it shows:

Could not get BatchedBridge, make sure your bundle is packaged correctly

React Native version: react-native-cli: 2.0.1
Platform: Android
Operating System: Windows 7

To fix the react warning ensure React at version 15.4.0-rc.4 is also installed to your project. I thought it got installed with init but it seems that may not be the case here.
Not sure what is going on with the marked dependency. I am not sure that it is a React Native dependency at all.
You have a babel.json file at C:\Users\Me that is invalid. Fix that or remove that. This was not created by React Native and is not needed unless you want to set some global babel settings for every project on your machine.
You are seeing that error because the packager failed to start because of the babel issue.

@rmevans9 how do I check if that version is installed to my project? The only variable I know how to get hold of is "react-native-cli: 2.0.1" . I managed to fix the babel.json issue by reinstalling everything a third time for some reason.

All installed packages are listed in the package.json file in your project folder. You can also run npm list --depth=0 in your project folder to see the version of all installed packages.

@rmevans9 Well it seems I have 2 versions above?
"dependencies": { 		"react": "15.4.2", 		"react-native": "0.40.0" 	},
so do I need to downgrade or something?

Not really - you can likely just let React stay the way it is as React Native will eventually catch up and use that version of React.

Hey there,
I have run into this as well and debugged it as far as I could right now. The error arises from some race condition:

during the build, babel-register writes a cache to ~/.babel.json, on every tick
since the write is synchronous, the race condition cannot arise within a single node thread
since node is single-threaded by design, this must be on account of some parallel execution in Java, triggering several parallel node threads

I have no idea why this doesn't happen to everybody or why this only happens after having used react native for some time...
This will need to be fixed in React Native, probably in coordination with babel-register...
I have posted this into the related StackOverflow question as well.

Why was this issue closed? I'm still running into this issue

I was having this same issue, and for me deleting node_modules and reinstalling everything worked.  I'm not sure if it was a permissions issue or I just needed to get the latest packages, but either way that got my build working again. (Windows 10).

I had the same issue (Windows 10) and disabling Babel's cache solved it. https://babeljs.io/docs/usage/babel-register/#environment-variables-babel-disable-cache

I am facing this issue too. Using almost the same environment. Why was this issue closed? I follow the get-start tutorian and came out this issue. I think this should be an issue not a question.

Re-opening the issue since no solution was found and lots of other people seem to have the same problem.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with Canny! Check out its new home: https://react-native.canny.io/feature-requests/p/error-unknown-unknown-error-open-cusersmebabeljson


react-native-web does not provide DeviceInfo, and this package depends on it being there.

react-native-web aliases import ... from 'react-native' into import ... from 'react-native-web'.
The maintainer of react-native-web does not support undocumented react native components, and DeviceInfo is one of them. So if you want to use this package under react-native-web, you'll get errors.
I want to fix this, so I'm only creating this issue, so I can provide a PR against it.

Fixed in https://github.com/react-community/react-native-safe-area-view/pull/18 :-)


Improve reliability of SoundCloud stream_url testing

Right now I get Access-Control-Allow-Origin errors on files that do exist. The existence check needs to be improved.

Looks like SoundCloud has fixed the problem on their end and is properly sending streamability status now.

https://github.com/Fauntleroy/tandem.io/commit/f35ac9395f6d97f5984c50daa5059e1a588bc64f


Removing unused constructors which simply passed props to the parents…

… constructor.
Sorry for all the formatting changes... they are from prettier... if you don't like them feel free to reject this PR. This simply removed some unused constructor functions.

Hey, this is actually kinda cool. Though I use single quotes and it seems like a lot of the output from that tool is too opinionated and makes code worse


How to set AMQP timestamp in annotations?

I'm trying to set the Service Bus specific custom annotation x-opt-scheduled-enqueue-time on a message I'm sending. The value it's expecting is an AMQP timestamp.
I can get the unix ticks value with Date.parse, but how do I turn that Javascript number into the right thing for the message? It seems to just ignore stuff that's not in the right format, and everything I've tried is wrong so far. :-)
What do I need to pass to the library? A buffer? A typed array? And what byte order (big or little endian) is it expecting?

Got help from @princjef - for those looking in the future, the answer is to pass a Date instance.


chore: continuing test combobox with u-elements

This branch is me experimenting with the initial example from the target branch.

Closing this as we have landed a spec, and will continue this in separate PRs


different from the actual previewed image

The cropped image after zooming, resizing, and moving is significantly different from the actual previewed image

Can you add an example? What is different, is it the location, quality or something else?

I'm looking into #50 and I've noticed that if you set forceInsideCropArea (and imageFit), there may be inconsistencies. Please check again when I've been able to fix #50 and validate whether your issue has been fixed aswel.

I just released version 0.1.1. Can you validate again with this version? Otherwise can you add the settings you use? Imagefit, forceInsideCropArea, etc?


docs: fix simple typo, accpet -> accept

There is a small typo in src/util.c.
Should read accept rather than accpet.
Semi-automated pull request generated by
https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

Thanks for contribution!