 RPC does not show operational data for some YANG models but it does for others

I have seen that, depending on the used YANG model, NETCONF <get> RPC is not procesed by a Sysrepo Plugin that has been previously registered as operational data provider for that model.
I'm using the latest version of Netopeer2 1.x and its dependencies (cannot use 2.x version due to incompatibility with Sysrepo Python bindings):
LIBYANG=1.0.240
SYSREPO=1.4.140
LIBSSH=0.9.6
LIBNETCONF2=1.1.46
NETOPEER2=1.1.76

To reproduce this, I use these models (and their dependencies):

ietf-hardware
bbf-device-aggregation

And this is a very simple Python script that can be used as Sysrepo Plugin to see what seems to be failing:
import time
import sysrepo as sr

class SRConnector:
    def __init__(self):
        self.connection = sr.Connection(sr.SR_CONN_DEFAULT)
        self.session = sr.Session(self.connection)
        self.context = self.session.get_context()
        self.sub_state = sr.Subscribe(self.session)

        self.xpaths_state = [
            '/bbf-device-aggregation:devices',
            '/ietf-hardware:hardware'
        ]

        for xpath in self.xpaths_state:
            self.subscribe_state(xpath, self.callback_state)

        print("Subscribed to all XPaths.")

    def subscribe_state(self, xpath: str, callback) -> None:
        self.sub_state.oper_get_items_subscribe(
            xpath.split(':')[0][1:], xpath, callback, xpath,
            sr.SR_SUBSCR_DEFAULT | sr.SR_SUBSCR_CTX_REUSE
        )
        print("Subscribed to operational data in {}".format(xpath))

    # noinspection PyUnusedLocal
    def callback_state(self, session, module: str, xpath: str,
                       request_xpath: str, request_id: int, parent,
                       private_data) -> None:
        print(f"XPATH: {xpath} / REQ_XPATH: {request_xpath}")

        return sr.SR_ERR_OK

if __name__ == '__main__':
    SRConnector()
    while True:
        time.sleep(0.001)

As you can see, this plugin is registered as operational data provider for both models and, when a request is processed, the plugin output should show the requested XPath. I have tested this in three different ways, with different results:

sysrepocfg
netopeer2-cli + <get-data>
netopeer2-cli + <get>

sysrepocfg
In shell:
sysrepocfg -X -x /ietf-hardware:hardware -d operational
sysrepocfg -X -x /bbf-device-aggregation:devices -d operational

Plugin output:
XPATH: /ietf-hardware:hardware / REQ_XPATH: /ietf-hardware:hardware
XPATH: /bbf-device-aggregation:devices / REQ_XPATH: /bbf-device-aggregation:devices

In both cases, it works as expected: the plugin processes the requests for both XPaths.
netopeer2-cli + <get-data>
In netopeer2-cli, after connecting to NETCONF Server:
> get-data -d operational --filter-xpath /bbf-device-aggregation:devices
> get-data -d operational --filter-xpath /ietf-hardware:hardware

Plugin output:
XPATH: /ietf-hardware:hardware / REQ_XPATH: /ietf-hardware:hardware
XPATH: /bbf-device-aggregation:devices / REQ_XPATH: /bbf-device-aggregation:devices

In both cases, it works as expected: the plugin processes the requests for both XPaths.
netopeer2-cli + <get>
In netopeer2-cli, after connecting to NETCONF Server:
> get --filter-xpath /ietf-hardware:hardware
> get --filter-xpath /bbf-device-aggregation:devices

Plugin output:
XPATH: /ietf-hardware:hardware / REQ_XPATH: /ietf-hardware:hardware

Requests for the first model are processed properly, as in previous cases, but the second one, bbf-device-aggregation:devices is not working. So, what could be happening here?

Too bad you cannot use sysrepo v2 because this is fixed there, most likely. In general, you should not be using <get> because <get-data> is better in every way and that is the only advice I can give you. netopeer2 v1 is obsolete.

Thanks for your answer. I would also like to migrate to v2 but, as mentioned, we depend on sysrepo-python bindings. Regarding the use of <get-data> instead of <get>, does this mean that <get> should be also deprecated and not used any more? I thought that <get-data> was more like a flexible version of <get-config> where you could just select the specific datastore you want, while <get> gives you both running and operational data, right?

does this mean that  should be also deprecated and not used any more?

Ideally, yes.

<get-data> was more like a flexible version of <get-config> where you could just select the specific datastore you want, while <get> gives you both running and operational data, right?

With NMDA support, it is not that simple. <get> is supposed to return running configuration data and operational state data. However, there can be different running and operational data for a configuration node. So, generally, you should be just fine with using <get-data> for a specific datastore.

Ok, thanks! We will try to do it this way in the client and use v2 as soon as we can.


WIP: testing array fixes

@marcoow I'm curious your take on this, given #164. Also @Turbo87 and @mriska if you're curious.

Hm, does this disable composability for the filterBy macro?
We just released ember-classy-computed which is a small library that enables Class based Computed Properties (which are basically the same thing as Class based template helpers) and has actually been written with case like this in mind. I'd love to see how addons like ember-awesome-macros could benefit from this.

Hm, does this disable composability for the filterBy macro?

Only the second parameter filterBy('array', 'keyNeverMacroOnlyString', 'value')

We just released ember-classy-computed

I will check it out.

Hm, does this disable composability for the filterBy macro?

Only the second parameter filterBy('array', 'keyNeverMacroOnlyString', 'value')

Yeah I mean the second parameter - the property name to filter by could not be a CP now.

We just released ember-classy-computed

I will check it out.

👍 We have an example for exactly this use case in the README.


Beta Fails on ubuntu

Describe the bug
Cannot activate v-analyzer extension: Cannot read properties of undefined (reading 'uri')
Expected Behavior
no error messages
Current Behavior
Error messages
Reproduction Steps
installed
v -e "$(curl -fsSL https://raw.githubusercontent.com/vlang/v-analyzer/main/install.vsh)"
installed vscode v-analyzer
Possible Solution
No response
Additional Information/Context
No response
Environment details (v doctor output)
v doctor
V full version: V 0.4.8 5c65e58
OS: linux, Ubuntu 24.04.1 LTS
Processor: 4 cpus, 64bit, little endian, Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz
getwd: /home/ghs/bin
vexe: /home/ghs/work/v/v
vexe mtime: 2024-10-14 17:50:38
vroot: OK, value: /home/ghs/work/v
VMODULES: OK, value: /home/ghs/.vmodules
VTMP: OK, value: /tmp/v_1000
Git version: git version 2.47.0
Git vroot status: weekly.2024.41-32-g5c65e58f
.git/config present: true
CC version: cc (Ubuntu 13.2.0-23ubuntu4) 13.2.0
thirdparty/tcc status: thirdparty-linux-amd64 0134e9b9
Editor name
vscode
v-analyzer Version
v-analyzer --version
VS Code Extension Version
No response

I can not reproduce it.


Clarify BoolArrayAsBigInt behavior for negative numbers

Fix https://github.com/microsoft/QuantumLibraries/issues/390.

@msoeken Could you please check whether this is what you had in mind? It's slightly different from what the issue says (the padding part) but I double-checked that this matches the actual function behavior.


feat: add C implementation for math/base/assert/uint32-is-pow2

This commit if applied adds the C implementation to @stdlib/math/base/assert/uint32-is-pow2 package
Description
This pull request:

adds the native C implementation to @stdlib/math/base/assert/uint32-is-pow2

Related Issues

Does this pull request have any related issues?

This pull request:

resolves #1868

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

Regarding the naming convention: Since benchmark.js uses the alias, isPow2, it is used in benchmark.native.js and since test.js and since in test.js it is used as isPow2Uint32, the same alias is used for test.native.js


One touch zoom in & out function #2077

Fixes #2077.

I've also now tested on mobile. Generally it feels nice, but I'm finding it only works about half of the time. I'm not sure why that is, but I'm guessing maybe it's the 10 pixel distance check. With tapping, it can be hard to be precisely on the same location. For that matter, maybe we don't need a distance check at all for this. Since the intentional is for the user to go straight into dragging, it wouldn't be unusual for them to start moving before the second tap.

@iangilman absolutely right. This check should be removed. :)

limiting to 10 px doesn't make sense for me either..   this might be the reason, that it does not work all the time.
10 px is a very small area on a retina screen, right? So you would need quite calm fingers  :P

Thanks for the review
@SMA-cgn Haha you are right. We should try some other approach. I do have a idea, max pixel distance = max(20,screen_width/3). Is canvas width something that is accessible though ?

Yeah, OSD knows the size of its viewport container.
Do we need the distance check at all though? It makes sense for plain double click, but for the double click drag it doesn't seem like it's necessary... The time check should be enough.

Hi, @iangilman, I have made the changes as requested. You may test on https://vocal-wisp-c1e55d.netlify.app/test/demo/collections/index.html

Great!!!   Thanks for all the efforts @HamzaTatheer @iangilman !
@iangilman   Is there any chance to have a new release of OSD when this is integrated? There have been so many enhancements in between which are a good reason.  😃

@SMA-cgn Yes, I think we're overdue for a release... Thank you for bringing it up!

I have made the changes @SMA-cgn

Hi, Have a look at it now. If there are any further fixes required by you, you may let me know

@HamzaTatheer  does the test environment reflect the latest changes? https://vocal-wisp-c1e55d.netlify.app/test/demo/collections/index.html
When I do a single tap, release the finger and then drag up/down it zooms in/out. Could you please check?
@iangilman did you have a chance to review the changes?

Elaborating On "When I do a single tap, release the finger and then drag up/down it zooms in/out. Could you please check?"
This is the same thing as double tap to drag feature. The reason you might think this is a bug because as per your requirement, I increased the time from 290 to 2000. If I do not get your point, Do explain.
And yes, the url shows the latest changes

Thanks for explaining and pointing to the setting causing this.
@iangilman what was the reason for increasing the value to 2000?

Awesome, thanks a lot!

@iangilman @SMA-cgn Made the changes

@HamzaTatheer   Thanks a lot!  I hope we are ready to go now  :)

I hope to deploy with this feature in the next week or so... Tracking that here: https://github.com/openseadragon/openseadragon/issues/2236


Fix build

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

Comparison is base (c33146b) 100.00% compared to head (3e2f49d) 100.00%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##            master      #126   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           25        25
  Lines         2364      2364
=========================================
  Hits          2364      2364

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


INSTALL_FAILED_USER_RESTRICTED

This is my brothers Phone and he wanted to download Trainz Simulator, And The Error Pops Ups When Bypassing Target SDK Block

This error means you aren't allowed to install apps. This could be because of parental controls, a work/company policy, or another restriction on your device. It isn't something Install With Options can address.


quill-cassandra: rename properties and assignments

Fixes #253
Problem
Properties that are renamed when defining an entity, are not renamed when creating the CQL query.
Solution
Use RenameProperties and RenameAssignments in the Prepare stage.
Notes
Closes #253
Checklist
[X] Unit test all changes
[X] Update README.md if applicable
[X] Add [WIP] to the pull request title if it's work in progress
[X] Squash commits that aren't meaningful changes
[X] Run sbt scalariformFormat to make sure that the source files are formatted
@getquill/maintainers

:+1:

:+1:

RenameProperties is being applied two times by Prepare

Remove the duplicated RenameProperties.

:+1:

:+1:


Add Policy

OPS Build status updates of commit d755ebe:
:clock10: Preparing: average preparing time is 5 min(s) 55 sec(s)

OPS Build status updates of commit d755ebe:
:clock10: Incremental building: average incremental building time is 190 min(s) 4 sec(s)

OPS Build status updates of commit d755ebe:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-ref-mapping/reference.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Incorrect Aperture values are shown for photos

Description
This app displays incorrect aperture values.
For example, sometimes 8 is displayed as 6, and other times 2.8 is displayed as 3 or even 2,9708536585365852.
Steps To Reproduce
Select a picture file with EXIF data. Right click on it, go to properties/details or open the "preview" panel. Look for the "Aperture" number.
Steps to fix
Fix the displayed value to be accurate
Files Version
<IP_ADDRESS>
Windows Version
Windows 11 22h2 (10.0.22621.1265)
Log file
debug.log

Does it show it correctly in Windows File explorer?

Yes, it does.


Added GraphQL BaaS providers

@schickling Thank you for PR.
But our intention is to maintain the list of GraphQL APIs, for rest of GraphQL resources awersome-graphql is your best choice.
However, if you have some interesting GraphQL demo API we would happily include it in Demo section together with link to your service.


LightGBM and Linux Cmake error: make: *** No targets specified and no makefile found.  Stop.

I tried to look up this problem at StackOverflow and It seems that very few get it such error on Linux-OS.
Environment info
Operating System: Ubuntu 16.04.6 LTS
CPU Model: Intel(R) Xeon(R) CPU @ 2.30GHz
Python 3.7.4
Using the official guide, I installed Cmake using these steps
Then I followed the official guide's steps:
git clone --recursive https://github.com/microsoft/LightGBM ; cd LightGBM
mkdir build ; cd build
cmake ..
make -j4

Error message
:~/LightGBM/build$ make -j4
make: *** No targets specified and no makefile found.  Stop.

I tried to fix using this command ./configure but it did not work.
Reproducible Example:
(base) admin_user@instance-1:~$ git clone --recursive https://github.com/microsoft/LightGBM ; cd LightGBM
Cloning into 'LightGBM'...
remote: Enumerating objects: 89, done.
remote: Counting objects: 100% (89/89), done.
remote: Compressing objects: 100% (62/62), done.
remote: Total 15374 (delta 50), reused 48 (delta 25), pack-reused 15285
Receiving objects: 100% (15374/15374), 10.56 MiB | 0 bytes/s, done.
Resolving deltas: 100% (11098/11098), done.
Checking connectivity... done.
Submodule 'include/boost/compute' (https://github.com/boostorg/compute) registered for path 'compute'
Cloning into 'compute'...
remote: Enumerating objects: 21728, done.
remote: Total 21728 (delta 0), reused 0 (delta 0), pack-reused 21728
Receiving objects: 100% (21728/21728), 8.51 MiB | 0 bytes/s, done.
Resolving deltas: 100% (17565/17565), done.
Checking connectivity... done.
Submodule path 'compute': checked out '36c89134d4013b2e5e45bc55656a18bd6141995a'
(base) admin_user@instance-1:~/LightGBM$ mkdir build ; cd build
(base) admin_user@instance-1:~/LightGBM/build$ cmake ..
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is unknown
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:7 (PROJECT):
  No CMAKE_CXX_COMPILER could be found.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
See also "/home/admin_user/LightGBM/build/CMakeFiles/CMakeOutput.log".
See also "/home/admin_user/LightGBM/build/CMakeFiles/CMakeError.log".
(base) admin_user@instance-1:~/LightGBM/build$ make -j4
make: *** No targets specified and no makefile found.  Stop.

please make sure you have the c++ compiler, like g++.


show a warning for missing/invalid values in channels.

For discussion, as a way to address #493 by adding a warning (#755) when some channel values are ignored.
Q: should this be opt-in or opt-out?

word-cloud.js is an example where we deliberately use an empty value (the text mark filters out "") to choose the words we display:
text: (d) => (d.length > 1 ? ${d[0]} (${d.length}) : ""),
Having to opt-out by setting ignoreMissing: true in this case would be unfortunate. Maybe we need two pass filters: first, for missing/invalid values (only checking undefined and NaN), and warning about it; second, the mark's normal filter. However this doesn't really work for the case of the dot mark which rejects negative values.


Embedded igv-report array length error

Hi there - I'm embedding an igv-report in an iframe and it works fine except it pops up this error:

Thoughts?

That's not a lot of information to go on.  If you can zip and share the report I will look at it.   Look in the console for errors.

Yes, sorry, that was vague. See attached. Open "array-error.html" and click on the "Pileups" tab
array-error.zip
.

I don't know but it must have something to do with the tab since the report
itself does not have any errors that I could find.    You might need to
insert a call to "browser.visibilityChanged()" somewhere,  see
https://github.com/igvteam/igv.js/wiki/Browser-API-2.0#visibilitychange and
also https://github.com/igvteam/igv.js/blob/master/dev/misc/tabs.html.
That's just a guess.
On Tue, Dec 28, 2021 at 11:10 AM Adam Z Bard @.***>
wrote:

Yes, sorry, that was vague. See attached. Open "array-error.html" and
click on the "Pileups" tab
array-error.zip
https://github.com/igvteam/igv-reports/files/7786071/array-error.zip
.
—
Reply to this email directly, view it on GitHub
https://github.com/igvteam/igv-reports/issues/58#issuecomment-1002244794,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHD2HCI74PXPUP647EZADDUTIDRBANCNFSM5K4OMDPA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Thanks for the quick response - will look into it and report back if I figure it out.  In the mean time, may as well close the issue.


PATCH: fix doctype return type hints: add null

Fixed:
bad @return statements... There is plenty more, but this is one that my linter keeps tripping over.
Question:
My linter prefers
mixed|nullover DataObject|null for type hints as, for example
Member::get()->first()

returns a Member and not a DataObject.  However, I dont know how to typehint that and perhaps my linter should understand that a Member is also a DataObject?

Thanks @sunnysideup

However, I dont know how to typehint that and perhaps my linter should understand that a Member is also a DataObject?

I’d expect it to know that Member is a subclass of DataObject. I don’t think there’s any way we can typehint that Member::get() will return a Member unfortunately, for that I usually use inline comments like:
/** @var Member $member */
$member = Member::get()->first();

I think what we can do is to write it like this:
@return static
in some cases.  But I do not think it is applicable here as we return it from a DataList.


Documenting how to get the current log level

Issue description
Hi there
My feedback is about this paragraph:

When adding logs in the script, use a switcher that allows to activate or deactivate them. Use the log level of the integration flow or the externalized parameters as switcher.

Specifically the "use the log level of the integration flow" part. I'm assuming this is referring to getting the log level via the SAP_MessageProcessingLogConfiguration property, but this approach is strictly speaking not documented anywhere.
Logging based on the current log level is a very sound idea, so shouldn't it be documented how to do that?
Thank you and regards,
Morten
Feedback Type (Optional)
content gaps
Page Title on SAP Help Portal (prefilled)
General Scripting Guidelines
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/CLOUD_INTEGRATION/368c481cd6954bdfa5d0435479fd4eaf/fcbf0f20059a4ffba7dfda7d28830ccd.html?locale=en-US&version=Cloud&q=general scripting guidelines

HEy @mwittrock: Thank you for your feedback! We’ll look into it and come back to you if we have any questions.

Hey @mwittrock - thank you for your patience. We are still working on your issue! Best, Annika

Hey @mwittrock - thank you for your patience. We are still working on your issue! Best, Annika

It may also be worth mentioning (and reflecting in the documentation which @mwittrock highlighted here) that options to enable/disable additional logging based on using a log level (derived from SAP_MessageProcessingLogConfiguration?) and an externalized configuration parameter, are not entirely equivalent:

When using SAP_MessageProcessingLogConfiguration, switching additional logging on and off is dynamic - a change of a log level doesn't require an iFlow redeployment,
When using an externalized configuration parameter in an iFlow as a switcher, for the change to take effect, an iFlow has to be redeployed whenever the parameter value gets changed.

In my personal view, generally speaking, options that are the least disruptive, that are dynamic and that can be applied directly at runtime, shall be preferred when changing verbosity compared to those requiring reconfiguration and redeployment of an iFlow. I tend to consider the verbosity (of an iFlow, for example - and correspondingly the amount of logging information that is generated by an iFlow at runtime) to be an aspect related to the runtime, rather than to the configuration time - hence, it shall leverage runtime-native mechanisms, keeping configuration aspects of an iFlow at design time aside.

Hello,
Thank you for your feedback!
In the meantime, we can point you to a solution, however, with one limitation regarding the property SAP_MessageProcessingLogConfiguration that you mentioned. This property is in the system and can be used, however, this is not a property that is recommended to use. SAP does not give any guarantee for scenarios that use this property. That’s why it is also not documented.
Since a few days however, we have another option for you to access the log level at runtime (for reading access): use a Groovy Script as described in topic Setting Log Levels (at the bottom of the topic). We hope that this helps you to solve your challenges.
As in this thread you also have raised the question how to change the log level at runtime (write access), we would like to point you to the header SAP_MessageProcessingLogLevel that is also documented in Headers and Exchange Properties Provided by the Integration Framework.
I have also updated the topic General Scripting Guidelines and added the corresponding information and hyperlinks.
Many thanks for your great input!

Great and detailed update, thank you very much!


move common MARC transformations out of transformer_sierra

Some of the transformations in transformer_sierra are common to translating from MARC in both Sierra and EBSCO.  These should be moved to a new transformer_marc_common package, which can be used by both transformers.
This will also require the creation of a common interface for the two sources.  Currently, the way the two sources divide up the fields is not relevant to the transformer (see Slack and https://github.com/wellcomecollection/catalogue-pipeline/issues/2556#issuecomment-1956729420)
Sierra distinguishes between fixed and var fields, but EBSCO distinguishes between control and data fields.  Neither distinction is pertinent, so should be abstracted away.

The full list of MARC tags present in the EBSCO sample data is:

[ ] 001
[ ] 003
[ ] 006
[ ] 007
[ ] 008
[ ] 020
[ ] 035
[ ] 040
[ ] 042
[ ] 050
[ ] 060
[ ] 100
[ ] 245
[ ] 246
[ ] 250
[ ] 260
[ ] 264
[ ] 490
[ ] 504
[ ] 505
[ ] 520
[ ] 650
[ ] 651
[ ] 700
[ ] 710
[ ] 773
[ ] 776
[ ] 830
[ ] 856
[ ] 001
[ ] 003
[ ] 006
[ ] 007
[ ] 008
[ ] 020
[ ] 022
[ ] 035
[ ] 040
[ ] 042
[ ] 050
[ ] 060
[ ] 070
[ ] 245
[ ] 246
[ ] 260
[ ] 264
[ ] 310
[ ] 362
[ ] 515
[ ] 546
[ ] 550
[ ] 580
[ ] 650
[ ] 651
[ ] 655
[ ] 710
[ ] 773
[ ] 776
[ ] 856

I've moved Title now, which is a good demonstration of a transformer that is complex enough that we don't want to duplicate the logic, and where the logic in question is not specifically Sierra-based.

I've stumbled across something in Notes.
There is some processing in here which is a bit Sierra-specific.  This would not matter if it was just a matter of Marc Fields, but it relates to the materialType in the BibData.  This is not something I can derive from record data in the EBSCO MarcXML.
However, as I was pondering how best to deal with this, I realised that it's probably something we need to insert.  Otherwise the Format filter won't work.

Actually, materialType code is found in controlField/@tag="006" amongst some other data.
https://techdocs.iii.com/sierraapi/Content/zObjects/bibObjectDescription.htm?Highlight=materialType

I think it may be prudent to interleave this work with an EBSCO XML extractor to exercise it.  After having pulled out two fields, I think it is time to  actually do that.

WRT Subjects - https://www.loc.gov/marc/bibliographic/bd650.html
Currently, we filter out ind2==7 for Subjects.  I believe this is because we only have 0,1,2,7 in Sierra.
EBSCO provide headings in various other schemes (I've seen 4 and 6).
I think we should change that filter to be a positive one that only pulls 0,1,2.

Looking at the Subjects/Concepts stuff in depth like this, there is a lot of inconsistency here, and as I have started to write the common version of the test suite, I feel a bit puzzled about why some things are the way they are.  There are some questions to resolve:

Do we really have to discard non-Loc ids for Subjects that are Agents? (including MeSH) (Slack)
What is the correct trigger for generating a LabelDerivedId?

No id in the source at all, (i.e. no subfield $0)?
No discernable id (e.g. multiple subfield $0 or a value in that subfield that does not match the scheme)?
No wanted id (i.e. ind2 is not 0 or 2 (or 7, but then the whole field is ignored))

A further question (which is a bridge we can cross on arrival) is whether there are different rules about which subjects to keep from different sources.  Currently, we discard all ind2=7 subjects, because they tend to be duplicates in Sierra, and it looks like this might also be true in EBSCO.  However, EBSCO also provide Répertoire de vedettes-matière subjects, which I don't think we want.


SharePointClient.DeleteFile()

Adds the DeleteFile() function to the SharePoint client

@kb-dynaway / @dynaway-kmi, what's your take on this PR? Does it look good to you?

I added a few small changes that we made in our internal code review.

@JesperSchulz Yes. The Delete does not return any data so there is nothing really to create tests for.
Option to move file to recycle bin instead of permanent removal could be nice improvement for future PR.

Hi All,
Is there a chance to see these changes merged into Master and published soon?
I am very interested in this feature.
Thanks

@JesperSchulz do you know if we can expect this to be merged anytime soon?

This one is replaced by #22988, since that solution is much cleaner!


Upgrade packer scripts to using newer Ubuntu release

Using 16.04 LTS across the board, closing as won't fix for now


Access global toFile without passing

the global variable toFile is accessed in line 25, 54 ... without passing it to the function. it is neither declared as global nor checked if it is opened.
Solutions?

create a mdpre class that has a member toFile and opens the file at creation. then  moving all corresponding functions into the interface of the class so the file is always available.
pass toFile as a parameter on every function call that needs it.
mark toFile as global innige functions that access it and check it on type FileObject (this might be even done in writeMarkdown())
move the toFile inside writeMarkdown() and check it there

Do you want to do this one? If so please create a branch to work on.

sure thing.
my idea would be to move toFile inside a class that also has the writeMarkdown() function.
that should not be invasive to the code.

Sounds good to me.

OK. I am having a chicken and egg problem with this.
There are three basic ways to do it:

create a writer class and move all functions that call writeMarkdown or use toFile into that class

This heavily moves stuff so it is hard to merge later!

create a lazy check inside the writeMarkdown function and do the create_writer from a global variable.

Much less intrusive but a bit ugly in the writeMarkdown function.

only mark the toFile as a global variable in the corresponding functions and maybe check it for None before using it in writeMarkdown

A good measure to remove the lingering crash whilst keeping the code.

What would you prefer?

The class way is best.

OK. I will do my best not to break anything here.
I love the class way the best too.

This is lost in the mists of time. Closing. Reopen if still relevant.


Make the result of SRANDMEMBER random

This pr is to resolve #2014.
I use Reservoir Sampling. When the number we want to select is larger than that of elements in the set, all elements are selected

This pr is to solve https://github.com/apache/kvrocks/issues/2014.

Hi @wsehjk, you can use resolve #2014 instead of solve #2014. It will make GitHub auto close issue when PR has been merged.
https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword

Please use ./x.py format to format your code, otherwise the CI cannot pass.

Though a different sampling algorithm is used, general LGTM

You can enable the GitHub action in your repo. So that you can find the CI failing issues more easily.
https://github.com/wsehjk/kvrocks/actions

It seems like the test run fails. Fix it, victory is within sight.
By the way, you don't need to use force push to make PR only one commit; simply use the Update branch Button is ok


Implement (partially) trade chat on the frontend

Addresses most of #157
This PR adds the trade chat to the trade page, alongside the side menu that shows the current offer. There are two caveats, the latter of which is probably major:

the middle button in the side menu merely opens the modal, since I wasn't quite sure what it's supposed to be
currently, the chat only sends user-generated messages. I haven't had an opportunity to test it, but I suspect the expectation is that the client should generate system messages. If that's the case, it will probably be better to generate them on the server, rather than on the client, as this can be abused maliciously (e.g. I could send a phishing / spam link and use the system message to misleadingly prompt the user into clicking my link). If for the alpha version it's enough to generate them on the client, then I can look into implementing it that way, but for now I am leaving this as a note.

the trade chat will refresh every time the user sends a new message. It's worth noting that there is NO polling as of this moment.
(P.S.: this has been done for a few days, but lack of time + wanting to make sure I've covered as much as possible for the issue caused some delays on my end)

Thank you for the work, great as always! To address your comments:

the middle button in the side menu merely opens the modal, since I wasn't quite sure what it's supposed to be

That's totally okay, and aligns with the idea.

currently, the chat only sends user-generated messages. I haven't had an opportunity to test it, but...

That's okay for now. Since the idea is to get alpha testing, we are not interested in these use cases (for now). So it passes the check.

There are some bugs I found, but we won't be fixing them in this PR. I will approve for now, and we will tackle them in separate PRs.


Hover color, shadows color, opacities...

Following https://github.com/mondersky/tabscolor-vscode/pull/43
I spread out the commits but the summary'd be:

sets the color for hovered tabs: long selector to override !important
sets the color for hovered right side shadows
sets the color for right side shadows (instead of removing them): even longer selector oof
I also added a couple of tweaks along the way:

allow custom active tab color with default background
updated skipping writing styles for the default configs
default opacity in the manifest/readme?
comment each part of the styling code

Please try it out first as I dont have the means of building right now and what I usually do is to edit the instance inject.css in the inspector direclty, thanks.
Again feel free to edit or comment anything!

I just saw your comment in the other PR we were on it at the same time...
I agree with long selectors being much harder to mantain, but for now these ones I found seem to work. Took some time xD
You can take this as a proof of concept. I can make a gif if you want etc.
Anyway, feel free to scrap the long selectors part if you want to keep the other changes.
Thanks!

Thanks for the update! Since you've already coded this, it would be a shame not to make use of it. I was thinking that, in the worst-case scenario, we could ensure those selectors are added only if the user has one of the conflicting VS Code settings enabled. I can handle this once we're sure the rules are working. I've left some adjustments requests let me know if you can handle them


Is it possible to spawn mobs on bedrock?

Is it possible to force mobs to spawn on bedrock?  I have tried different configurations but nothing seems to want to spawn mobs on bedrock.  Here is what I am currently trying:
in the spawn.json:
{
"dimension": 4,
"block": "minecraft:bedrock",
"result": "allow",
"hostile": true
}
in the potentialspawn.json:
{
"dimension": 4,
"block": "minecraft:bedrock",
"result": "allow",
"mob": ["abyssalcraft.shadowbeast", "abyssalcraft.shadowcreature", "abyssalcraft.shadowmonster"]
  }

Any ideas on how to allow mobs to spawn on bedrock?
So far I am digging the flexibility with Incontrol... Thank you

In case anyone is interested, I found a workaround.  Using the Bedrock B Gone mod, I am able to replace the Minecraft Bedrock block with a "custom" Bedrock block.  Mobs do spawn on this blocks so I can now play around with this.  Thanks


please expand on when to use this vs basic auth controls in exo

Blocking Basic authentication via conditional access is better in the sense that it also includes services such as Skype for Business Online, but worse in the sense that conditional access is authorization logic that happens after authentication (after attackers learn their password was correct). These pros and cons should be discussed here. This article should also acknowledge otherwise contradictory advice for handling basic authentication here: https://docs.microsoft.com/en-us/exchange/clients-and-mobile-in-exchange-online/disable-basic-authentication-in-exchange-online

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

ID: 138acb44-cb43-d134-b92b-089fc337e0d5
Version Independent ID: 12f90d0c-5d2d-31ee-3f84-314bc964526f
Content: Baseline policy Block legacy authentication (preview) - Azure Active Directory
Content Source: articles/active-directory/conditional-access/howto-baseline-protect-legacy-auth.md
Service: active-directory
Sub-service: conditional-access
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@Mike-Crowley Thanks for the feedback! We are currently investigating and will update you shortly.

This might be a topic for another article. I'm assigning this to @MicrosoftGuyJFlo to assess.

Baseline policies are in preview. As they progress through the preview process we will update the documentation. Your points are valid as legacy auth can be controlled in multiple locations. Baseline policies are intended for organizations with limited IT staff or knowledge.

#please-close


wait 0.15.0

どうゆう設定をすればいいのでしょうか？
retry on failurlに「https://t.i9i9.to/.*」を入力しても従来と変わらないんですが

Maybe the regex doesn't match the URL.
Move the cursor onto a red square and it should show the URL which failed fetching. Take a screenshot and let's see if it matches the regex.

以前これだと思いますと言われた「https://t￥.i9i9￥.to/.*　10 5 1.2」を入力してます

I think there are two issues:

The regex in this comment is wrong. It should be i.i9i9.to instead of t.i9i9.to
It still make large traffic to the site at one time. We need a setting to limit the number of images fetched at once.


Rotation roll should perhaps be inverted, like pitch is

It seems entities are being imported with incorrect roll from angles. I was noticing when I "rolled" entities one way in TB, they would appear rolled the opposite way in Godot. I changed this code to use -roll and it fixed it. So far so good.
https://github.com/codecat/godot-tbloader/blob/84a891f6499439c079833b8cf1c8335e8fec0c29/src/builder.cpp#L328-L332
I haven't tested this with mangle, since I have no use for it.

Just did some testing and you're right! I've fixed this.


Type system GraphQL parser

Can we implement a GraphQL operation parser w/the TypeScript type system (example)?

https://ghostdogpr.github.io/caliban/docs/validation.html

https://github.com/hayes/infer-gql

https://twitter.com/diegohaz/status/1524257274012876801
https://github.com/microsoft/TypeScript/issues/29729

https://github.com/dotansimha/graphql-typed-ast


How to get ORID of object?

Its more a question than issue
I want to use Orient in mixed mode. Somewhere I use ODocument queries, somewhere I use object updates for same documents etc
So at this moment I know some ORID and want to update object behind it.
{code}
String query = String.Format("select from {0} where ...");
documents = db.Query(query);
ODocument orientdoc = documents.FirstOrDefault();
{code}
And now I want to update  the object that stands behind this doc using  construction below. I actuallywant to replace its current value to a completely new data from just created instance)
{code}
int documentUpdated = db.Update(some_class_object).Run();
{code}
It throws NullPointer exception because id doesn't know ORID. How can I set existing ORDI to some new object instance?
Thanks in advance!

@degustator ,
What type is some_class_object ?


Add new AWS production config

Needed for AWS prod instance where AWS S3 credentials are managed by the AWS node that the instance is running on

@banesullivan just curious do we set  AWSProductionConfiguration values  in some config file during the deployment?

We normally set AWS credentials in environment variables. For the AWS production instance, all of this is managed by AWS and when we use boto3 it all just works out of the box so we need to make sure our settings ignore these credentials.

This also needs SECURE_SSL_REDIRECT=False

This also needs SECURE_SSL_REDIRECT=False

This shouldn't need to be the case (see the note in these docs). Whichever proxy is doing SSL termination should be setting a header (often HTTP_X_FORWARDED_PROTO) to indicate the request protocol. This should be provided to the setting SECURE_PROXY_SSL_HEADER (see the setting in composed-config and the setting docs).

@banesullivan just curious do we set AWSProductionConfiguration values in some config file during the deployment?

@aashish24 Yes, the environment variable DJANGO_CONFIGURATION must be set at runtime (in this case, to the value AWSProductionConfiguration).

@banesullivan What you have so far makes sense. Let me know if you want a final review once this is ready to merge.

The docs state

Application Load Balancers ... automatically add X-Forwarded-For, X-Forwarded-Proto, and X-Forwarded-Port headers to the request.

X-Forwarded-Proto is what we want: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Proto

As you may recall, we ran into this a few weeks ago. Essentially, SSL communication from a client terminates at the application load balancer (ALB). From that point to the RGD application (within the VPC), traffic comes through using http. The ALB then encrypts the response back to the client. If this Django configuration setting is necessary, then I think it should be left as 'http'. Let me know if I'm missing anything.

I set SECURE_PROXY_SSL_HEADER so that it can be managed by an ENV variable since we need it to be http for our specific deployment with the load balancer
Further, I removed the file logging handler and will set up the running service to pipe all stdout/stderror to a log file

I set SECURE_PROXY_SSL_HEADER so that it can be managed by an ENV variable since we need it to be http for our specific deployment with the load balancer

@banesullivan I'm not clear what's going on here, but I'd recommend against the current configuration. Setting this value to http is likely "wrong", even if it's an easy hack to avoid errors.
Ideally, AWS ALB ought to be setting X-Forwarded-Proto properly (i.e. it should set X-Forwarded-Proto: https if it is performing SSL termination). If that can't be done, then I'd suggest disabling SECURE_SSL_REDIRECT and SECURE_PROXY_SSL_HEADER entirely.


Ensure compiler check catches permission errors

I added a test for #2336, but I'm not sure if it will actually error on the bug I was encountering, so I'd like to run the standard test suite to make sure.
Closes #2336

I tested locally and it's fine. The issue is I'm not sure how I should consistently trigger the PermissionDenied error to ensure it's being caught.
I could make a file without execute permissions and delete it afterwards. I'm not sure if that will be portable for the OS's that Devito supports, though.

there are a few pep8 issues to be resolved


Another way of using icons

Hi Junior!
Thanks for your amazing work. I'm a co-founder in Piqo, and we're launching a presentation website/landing page for Iconly.
I used your package to showcase the icons, just like the way you did on https://react-iconly.jrgarciadev.com/.
However, I suppose there's a better way to use Iconly in the project. Currently, you have to do something like this:
import { Search } from 'react-iconly'

I'm wondering if we could do like this:
import Iconly from 'react-iconly'

const MyComponent = () => {
  return (
    <Iconly name="search" set="light" />
  )
}

Or a combination of default & named exports:
import Iconly, { Search } from 'react-iconly';

I decided to do it my self in my forked version of react-iconly here https://github.com/hiradary/react-iconly/blob/main/src/index.js, but I ran into some problems regarding building & using it in my project.
Also I thought It'd be better if you could implement this, so others could also benefit.

Hi @hiradary!
Thanks to you for your amazing work designing Iconly.
I agree with you, I'm going to add your suggestion. What kind of problems did you have running the project?

For example, I want to list all icons like this:
import Iconly from 'react-iconly';

const ICONS = [
  {
    name: 'Search',
  },
  {
    name: 'Chat',
  },
  {
    name: 'Ticket',
  },
]

const MyComponent = () => {
  return (

      {ICONS.map((item) => (
        <Iconly name={item.name} set="light" />
      )}

  )
}

Otherwise, I have to first import 100 Icons, then assign them in an array. It'll add 200 lines to my codebase.
This way I only need to add 100 lines.

I suppose It's a cleaner syntax as well.

@hiradary here the solution: https://github.com/jrgarciadev/react-iconly/commit/333f30e3711df275ddcf9d00251098c6a5ac40ca

@hiradary Let I know if you agree with that to implement the new version

@jrgarciadev Thanks for the fast response! the API seems pretty cool!

You're welcome!, I'm going to publish the new version 🚀


Slices are not properly rendered when have overlap in a single track

slices are generated by TRACE_EVENT_BEGIN and TRACE_EVENT_END. For example, 0-5 means a slice begin at 0s and end at 5s.
When I have multiple slices in a single track have overlaps, it's not properly rendered. For example, 0-5 and 3-7 ends up 0-7 and 3-5. This is weird. Might be a bug you want to resolve on your end.

Could you take a look?
Thanks,

This is working as intended. TRACE_EVENT_BEGIN is intended for slices on a single thread which perfectly nest inside each other; overlapping is not allowed. This is noted in the track_event header: https://cs.android.com/android/platform/superproject/+/master:external/perfetto/include/perfetto/tracing/track_event.h;l=75?q=TRACE_EVENT_BEGIN
Please use ASYNC macros as described here: https://cs.android.com/android/platform/superproject/+/master:external/webrtc/rtc_base/trace_event.h;l=78?q=TRACE_EVENT_ASYNC_BEG


Negative task priority is silently ignored

In the documentation is clearly stated that negative priority can be set. "Note that it is perfectly valid to choose negative priorities for tasks that should have less priority than default.". However, the negative priority is silently ignored and reset to the default value, probably due to this code.

I'm seeing this as well.

nice catch – can you send a pull request?

Okay I'm pretty sure it comes from this line: https://github.com/spotify/luigi/blob/c581bfd264768ee125fae8b1ccac9c2100f2bcdb/luigi/scheduler.py#L592 - I'm guessing that either prio or task.priority will be 0 from the default here, and then we'll override the negative values with that. I think I have an instance where task A has priority 0 and requires B which has priority -1 in its definition, but that gets updated to 0.
But (1) not so sure how to test that (2) if that is even the issue, not sure how to fix it - maybe we don't really want to do max here? Maybe we don't want to bump priorities to 0 specifically as it might be unintentional? Super hacky, but
task.priority = prio = max(prio, task.priority) or min(prio, task.priority)
would avoid that.
Honestly, the more I think about this, I'm not sure that it's a bug and not a feature. =/

Updating this thread!

I'm also confused if is this a feature or a bug.
If thats the purpose, the doc could explain that negative values can't be used
I'm also confused about the comment in the: code

Priority can only be increased.

If this is true, and we want to use negative values, an way to handle this could be: Default value is set to be a very small negative number (-10^9 for example).
But, I believe that would be good to avoid update the child node based on the ancestors. With this, the default value can be 0, and we remove the task.priority = prio = max(prio, task.priority) , so negative (or positive) values would assume the priority when they are explicit set on the task priority property. And we only compare priorities between tasks that are o the same level of the dependency tree.
This explicit creates a order between nodes on the same level.

Apologies for resurrecting this stale issue, but I've also encountered this problem. I'm happy to put a PR together to remedy this, but I would really appreciate the maintainers weighing in on what the desired behaviour actually should be.
I think the behaviour of inheriting the higher priority can be a good thing. It is useful to be able to increase a single task's priority, and have all of its dependencies jump ahead in the queue accordingly. One might think you could work around the current behaviour by setting every task in a graph to be less than zero. Surprisingly, however, since these negative priorities will still be compared against the default of 0 when they are added to the scheduler, they will be clobbered to 0 regardless, and for me this is what makes this a bug.
I think the solution should be:
1 - Update the docs to explain how the code currently works, i.e. that in the scheduler, a task's priority is actually the maximum of the set {0, all priorities in the graph}, i.e. that negative values are clamped up to 0.
2 - Add a config flag to turn off the inheritance behaviour, should this be desired, to enable positive and negative priorities.
The alternative to inherit all values except 0 (as suggested above) seems messy to me too, and I think that inheriting positive values is more workable, when it is actually explained.

This behavior was changed by https://github.com/spotify/luigi/pull/444 by @daveFNbuck  many years ago.
It sounds that the intention of the code change was to not allow child tasks have lower priority than their parents.
However, that reason alone shouldn't have preventing the setting of a negative priority to a parent task though. If that is happening, it may be unintentional.

Where in the code is the priority getting compared to the default of 0? I don't think this is the behavior. Another thing that may be happening here is that you can't reduce priority once a task has been scheduled. This is an optimization so that you don't have to look up dependent tasks every time you tweak priority.
I don't think it makes sense to turn off the inheritance. If you do that and set priority of an important task very high, it effectively has the same priority as the lowest priority task it depends on.
If you're going to solve the 0 clamping by changing every priority in the graph, you're essentially just setting a new 0 to some negative value. You could also solve this by just shifting all your priorities to make this value 0. If you want priorities as low as -1000, just add 1000 to each priority and you get the same effect.

With the current priority set up is it possible to encourage a sub graph to run depth first, within the requirements of a task with a set priority?
For example, assuming the attached graph is a part of a larger graph and ParentTask has its priority set;
would it be possible to ensure the order TaskA1, TaskA2, TaskB1, TaskB2? (ie. Where it's more useful to have the output of one "2" task sooner than the outputs of all of the "1" tasks).

I also find the documentation confusing and incomplete. I am trying to set the priority as described in the documentation but it is not having any effect.


Add support for x-doctest-options

Resolves #9
I could still implement "magical" addition of -fobject-code if there is declared use of UnboxedTuples extension; but this approach seems more future proof and less magical.

test-suite doctests
  type:           exitcode-stdio-1.0
  main-is:        doctests.hs
  ghc-options:    -Wall -threaded
  hs-source-dirs: tests
  default-language: Haskell2010

  x-doctest-options: -fobject-code

  if !flag(test-doctests)
    buildable: False
  else
    build-depends:
      base,
      directory >= 1.0,
      doctest >= 0.9.1,
      filepath,
      parallel

I like it!
The code looks fine, but we need to document this feature somewhere, like in the Haddocks and/or README.


Add Hadamard operator in utils

Solves DYN-130

Solves DYN-130

Solves DYN-130

You need to put it in the PR description for the linking with linear to work 😉

I'll try to review this soon.

Loots of very small changes, I dissected them into small commits, mostly conventions, I'll add these to my draft. I removed the n=0 case, I'm not sure it makes sense to have it. I'll wait for your approval to merge @abocquet 😉


A*_Algorithm

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Added python code for A* Algorithm
Checklist

[x]  I've read the contribution guidelines.
[x]  I've checked the issue list before deciding what to submit.
[x]  I've edited the README.md and link to my code.

Related Issues or Pull Requests
#1138

I'm closing the PR due to no activity. If you would like to reopen this PR to be reviewed please join the Slack and drop me a message.


Create kiber-guu.ru

University URL: https://guu.ru/
This is faculty domain for email and public purposes.
Faculty URL on main university site: https://guu.ru/?post_type=department&p=38266

@absavin Please rename lib/domains/ru/kiber-guu.ru to lib/domains/ru/kiber-guu.txt.
Also, please give us an URL of a page or another proof (.pdf or a screenshot are OK) showing that the university recognizes the domain which you are submitting as an official email domain for the students.
As for now, the university official website says that the official email domain is guu.ru: https://guu.ru ("Contacts"), and Whois data says that KIBER-GUU.RU is registered for a private person, not a university:
domain:        KIBER-GUU.RU
nserver:       ns3-l2.nic.ru.
nserver:       ns4-cloud.nic.ru.
nserver:       ns4-l2.nic.ru.
nserver:       ns8-cloud.nic.ru.
nserver:       ns8-l2.nic.ru.
state:         REGISTERED, DELEGATED, VERIFIED
person:        Private Person
registrar:     RU-CENTER-RU


userdata: add tests for write_files in containers

Since we added support for write_files in cloud-init configuration for containers - here is a test that will check that functionality, including whether the cloud-init config is reapplied at the containers's reboot

@uncleDecart seems I come quite late, but nice to check CI.

@giggsoff this is due to eden pulling eve's tag 10.11.0 here. the changes that are tested in this branch are not included in this EVE version, since they are quite new

Good to know, thank you. But not sure, that it is good idea to merge changes that are expected to fail the tests. If we really need them to be merged, we can point Eden onto non-tagged version (hash) of eve-os here.

@uncleDecart @europaul It seems this is already picked up by EVE and failing at least in this case: https://github.com/lf-edge/eve/actions/runs/6785428539/job/18443723178?pr=3567#step:3:3314
Also, if test requires newer EVE version to pass, this should be updated to point to that version.

@milan-zededa you are right, we should not merge tests which are not in EVE version we use for testing. But this tests should not have been picked up, because there is a bug in github-checkout action. I created PR #924 to fix it and if it works, we will merge this to master and backport it to 0.9.2 to avoid this problem.
Alternatively, we can put commit hash to EVE version to test in eden.


Proceed an accuracy test for the version 0.4.*

[x] Update the readme with more precise success percentage information. (Decided to revert)

[x] After the AmazonCaptchaCollector update (#5) proceed the test and check the accuracy.

Done.


renaming annotations to be closer to standard

Standard in the sense that it is what the Spring Data community is used to.

How so? It doesn't look like the mongodb project has these annotations (nor many of the other projects), though the JPA project does. I get the feeling we have some sort of unstated obligation to follow that project, but we clearly stated this is not a JPA implementation. I see project as a sibling to the JPA project, not a child, and therefore has the same relation with the JPA project as the mongodb one does with JPA.

As I mentioned, the belonging of the annotations is already explicit from the package name, which is why this PR has my +1.
Honestly, a SpannerTable vs Table decision is so insignificant that it isn't worth that much discussion.

I actually find great utility in knowing which annotation I'm using without having to lose my place in the file scrolling to the top to check which "Table" i'm importing.

Are you using vim or something? :smile: :smile: :smile:
Try using the control key + hovering over a type, if you're using IJ.
It is hardly a best practice to base a design decision on your choice of development tooling or coding habits IMO.

Ironically that's actually exactly the point I'm making ! I am not assuming anything about IJ or some modern IDE being available to do this hover trick. We don't name variables "x" and "y", but we give them descriptive names for the same reason.

This is not just in JPA, in spirit other Spring Data modules are doing the same and I want to align better with Spring Data. E.g. Mongo, Areospike uses @Document instead of MongoDocument and AeroSpikeDocument. They also use @Query for detecting annotated queries from the repos instead of @XYZQuery.


Composer?

@ericthehacker: would you be able to load this into composer?

Also interested in this! Simple as adding a composer.json file to your package with type magento-module and this package will take care of the rest. Also, make it available on firegento.packages.com. Make a pull request here to add it to this repository.


add common options for rooms, and update example to use them

added editor booleans for
StartWhenPlayersReady

Automatically starts the game when all players are ready.
defaults to true to maintain current behaviour.

AllowJoinGameInProgress

Allows players to join when the game scene is active
defaults to false to maintain current behaviour.

Room example now sets StartWhenPlayersReady to false instead of having to override code.

This PR removes a feature and breaks the example (late joiners won't have a Room Player available).
The Room system isn't designed for late joiners, and if making it so was a trivial fix we would have done so a long time ago.
It was also made long before Mirror had solid support for Additive Scenes, which it does now and that's really the better way to make Room-based games, and easily accommodates late joiners if desired.

This PR removes a feature and breaks the example (late joiners won't have a Room Player available).
The Room system isn't designed for late joiners, and if making it so was a trivial fix we would have done so a long time ago.
It was also made long before Mirror had solid support for Additive Scenes, which it does now and that's really the better way to make Room-based games, and easily accommodates late joiners if desired.

This PR removes a feature and breaks the example (late joiners won't have a Room Player available).

from my testing this didn't break the example.
and it doesn't remove anything

This PR removes a feature and breaks the example (late joiners won't have a Room Player available).

from my testing this didn't break the example.
and it doesn't remove anything


Provide a hook to run custom scripts on startup

This is a feature request not a bug report.
I've written some scripts that call docker events and react to those events. Those scripts need to be run each time that docker starts / restarts, because the call to docker events exits when the docker daemon process stops. It would be nice to automate that.
I don't think such a facility exists in Docker Desktop for Mac at the moment?
If it does, please point me at it and close this!
I've written my own workaround: https://github.com/Mahoney/docker-lifecycle-listener - but I'd much rather use something out of the box.

Thanks, will remember that in future.

Thanks for submitting this issue. This is not something Docker is considering working on currently, and as such I'll close this.


handle login in state change

Closed in https://github.com/schuldners-liste/app/commit/6845b94ffd1a8f7cbbfe1a7890663884cbdbf2cd


target list

Hi
what about a list of mac address that may fire some actions when seen?
Thanks and Ciao

That is a great idea, but I think it is out of the scope of this project. You could easily run this script using --loop -o somefile which will constantly write output to somefile and then you could monitor that file for changes and for the hooks that you'd like.

Hi,
yes this it's what I'm actually working on, monitoring and processing the
json for target search and pushing it to elasticsearch/kibana
Regards
Lorenzo
2017-06-12 18:01 GMT+02:00 Zack<EMAIL_ADDRESS>
That is a great idea, but I think it is out of the scope of this project.
You could easily run this script using --loop -o somefile which will
constantly write output to somefile and then you could monitor that file
for changes and for the hooks that you'd like.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/schollz/howmanypeoplearearound/issues/33#issuecomment-307834965,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWF7Jw02I0gdoQqTBc3SpIq1MWTg4uvdks5sDWDKgaJpZM4Nydou
.

--
_________________________GM
Lorenzo Dina
Nobug  srl
eMail<EMAIL_ADDRESS>Tel<PHONE_NUMBER>
Fax<PHONE_NUMBER>
_________________________GM


PyTorch hyperparameter optimization

We have Optuna. We use it in https://github.com/coiled/dask-xgboost-nyctaxi for XGBoost but we should also show how to use it in more vanilla settings with a model that can be trained on a single machine, presumably a GPU. Let’s use PyTorch for this.

[ ] Train some PyTorch GPU model that fits on a single GPU with Optuna for HPO on a cluster

xref https://github.com/coiled/coiled-runtime/issues/725

From @mrocklin  in https://github.com/coiled/coiled-runtime/issues/725#issuecomment-1492362273

For the PyTorch + Optuna + GPUs doing a web search here yields not-terrible results. Here is an example (but I'm confident that there are better ones).
@jacobtomlinson @mmccarty @quasiben I don't suppose you all have any interest in finding something here. My guess is that this is much easier for you all (or someone around you) than it is for me personally.

Also wanted to point out that the optuna team maintains several pytorch examples here https://github.com/optuna/optuna-examples/tree/main/pytorch. They look like decent examples that could be extended to run on a cluster. That said, RAPIDS folks probably have more insight from actual pytorch users in the wild

@milesgranger and I spoke about this issue yesterday and he's going to push up PyTorch HPO example. Just checking in, how are things going?

Note that I did a bit of this in parallel over at https://github.com/coiled/examples/blob/main/pytorch.ipynb .
That has some issues though, notably the model isn't complex enough to warrant the use of GPUs (which would be nice to show).  There is some conversation and a loom explaining context at https://github.com/coiled/examples/pull/5

As an update, have a (rough) PR here which makes decent use of the GPU w/o taking too awful long. Now I'm 'only' trying to get it to run on Coiled / workflows here. Will take it up with @jrbourbeau on a side channel.

@milesgranger: feel free to ping me if the challenges about getting it to run on Coiled are Coiled-related


Signer interface instead of private key

for example crypto.Signer could be used.
Needed to detach signing implementation and building of signed message from an actual private key, to use remote signers for example

Hi, will be released later, but for now you can use it from dev branch, importing like go get github.com/xssnick/tonutils-go@a0eeb518ae2c2bedea004616df68e90ae9d42cb5


Should identify python3-venv as required

Followed first four directions.  Got errors.  See attached file containing results.
Zephyr .:installer.sh results.txt

installed .  Recreated development environment.  Installed required packages from readme.  Also installed python3-venv and git.  ran installer again.  Got further errors.  See attached file.
Zephyr .:installer.sh results 2.txt

Cloning into 'esphome'...
The authenticity of host 'github.com (<IP_ADDRESS>)' can't be established.
ED25519 key fingerprint is SHA256:+DiY3wvvV6TuJJhbpZisF/zLDA0zPMSvHdkr4UvCOqU.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added 'github.com' (ED25519) to the list of known hosts.
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.

It seems like you can't clone the esphome repo from Nate.
Please try to do this on its own to make sure it's not a permission/key issue on your side.
git clone  git@github.com:natelust/esphome.git


Track low memory events

Android's ComponentCallback2 interface allows for the app to listen for OS-level memory events that tell the app the process is trying to recover memory. Surfacing these warnings/alerts (as Events?) could be useful as it could be an indication the app is running low on resources so performance could be hampered.

It's worth adding a min. level configuration since not all levels are critical.
Also, worth adding a deboucer since this can be super noisy.
https://developer.android.com/topic/performance/memory

I think this is a great idea. Contributions for this are very much welcome!

I think this is a great idea as well! We can monitor when the app is running on low memory and identify the exact time when it happens.
However, I'm still not sure where to put this event in the context of OpenTelemetry Signals. We can put the low memory event as:

Span Event

Event in Log

I'm leaning towards using a Span Event, since we can get the full picture of the app's events by looking at Spans in the Trace.
What do you guys think?

What signal is appropriate depends entirely on how sessions or being modelled in the app/library that is capturing the telemetry. For instance, in the Embrace SDK, this will be SpanEvent attached to the specific span we use to model a session, but this may not be appropriate for everyone.
The new Events signal seems to make the most sense to me in the long term - certainly a semconv that is attached to an Event makes sense.
In the context of this project, @breedx-splk probably has the best insight as to how best to model it, either now or in the future.

Yeah, I agree with @bidetofevil that Events will be the way to model this. One way to tell is that the title of this issue even has the word "event" in it, and we think about these low memory points as events. 😄
I believe the latest core java sdk release has the updated API that matches changes to the spec and semconv, and will allow rich objects in event payload bodies. Would be great to see what an implementation of these would look like, with respect to low memory.

Cool! I just found out that Events support is already on development (Event API Interface, Semantic Convention for Events), thanks 🙌

One way to tell is that the title of this issue even has the word "event" in it, and we think about these low memory points as events. 😄

The new Events signal seems to make the most sense to me in the long term - certainly a semconv that is attached to an Event makes sense.

Agree that Events is the most suitable signal for this kind of use case 👍


flaskwebgui error

Tried 1.3 to take a look, got hung on waiting for a plot in the GUI. Loaded the log, it's not finding something.
EDScout-2020-08-28-16-25-18.log
I just replaced 1.2.5 (which was working) with this exe.

Looks like the chrome web browser isn't being detected on your system.

If the GUI appears but nothing happens when you plot a route, it's possible something is falling over in the GUI. You could try double checking whether...

if you connect a browser.to <IP_ADDRESS>:5000 does developer more show up any issues?
If you check the directory with notepad etc does that cause it to spring into life? Maybe I broke the bit that was prompting updates to the journals from being passed on...

Definitely weird. Messing with the directory didn't affect anything, so I backtracked to previous versions that worked, and now had similar issues (no flaskwebgui error in the log, but not loading like before). Then they finally started working. I finally tried 1.3, clicked on the journal file like before, and it loaded the route. Still has the error in the log.
EDScout-2020-08-28-23-17-41.log
That 1.2.5 and 1.2.4 were working and now aren't suggests something changed here, although I haven't done anything different.
Going to do more comparisons between versions, see if I can narrow down what's going on. Chrome update maybe? Shouldn't break things like that.

Lots to pick apart there. Sounds like something odd is going on behind the scences.

I do notice that after trying a few times with no success and then when it works, it would read all the routes in until it got to the latest one.

If something was preventing it from loading routes, I'd expect it to just load the last one (although it might load that route multiple times if it was scanning through a lot of navroute journal entries.
#33 should deal with a cleaner / more sensible startup. If there are multiple nav route calls, the latest scout should spot that it's reloading an unchanges navroute file and avoid re-plotting if nothing changed (i.e. start and end are identical).
This log message shows at one point it was ~30s out for some reason:
2020-08-28T23:20:53.352Z - EDScoutCore-EDScout - INFO - Reporting: {"timestamp": "2020-08-28T23:20:33Z", "event": "Cargo", "Vessel": "Ship", "Count": 0, "Inventory": [], "type": "JournalEntry"}

Note the timestamp diferences. The first is the scout and the second is the game.
I think the chrome messages were a red-herring. Next release should turn them off.

Re-running with EdScout.exe -log_level 10 might give us a bit more to go on (enables debug logging).

I managed to get my system in  a similar sounding state. only way i recovered it was to close chrome then close all the hidden chrome instances from task manager. Need to find a way to identify these background chrome processes so they can be culled safely.

I believe you can close this, as 1.4 works perfect for me.

Still, I had a cunning idea when I woke up this morning. We know the paid when we launch chrome I believe so we could write that value to a file each time we launch one. That way we can recall current chrome launches and kill those off too. Simple and should be effective.

Will handle this in #71


Update env version to pick up int128/256 changes

What
Update env version to pick up int128/256 changes.
Why
[TODO: Why this change is being made. Include any context required to understand the why.]
Known limitations
[TODO or N/A]

@jayz22 I didn't see this PR and made the changes in https://github.com/stellar/rs-soroban-sdk/pull/914.


Add a wiki: Official Foxhole Wiki

An anonymous user has submitted a new wiki via our submission form.
Link to origin wiki: https://foxhole.fandom.com/wiki/Foxhole_Wiki
Link to destination (independent) wiki: https://foxhole.wiki.gg/wiki/Foxhole_Wiki
Note from submitter: "The wiki team may be contacted on this discord: . It is also the wiki that is linked to by the game's website (https://www.foxholegame.com/ under the community drop down in the header)"

Will be in the v3.11.1 release, pending approval from Chrome and Firefox


Fix presence inconsistency issues

What this PR does / why we need it?
Fixed the presence inconsistency issues mentioned in this PR.
Any background context you want to provide?
I used Channel to fix this issue, but not sure it is the right way to handle it.
What are the relevant tickets?

Fixes #
Checklist

[x] Added relevant tests or not required
[x] Didn't break anything

the work will be done at this PR.


Fix "Select All Results that Match this Search" for Bookmarks

Expected Behavior:

Select Bookmarks from top menu
Select All
Click "Select All Results that Match this Search"
Select export to CSV
End up with a CSV of everything that has been bookmarked

Actual Behavior

Select Bookmarks from top menu
Select All
Click "Select All Results that Match this Search"
Select export to CSV
End up with a CSV of all items (or whatever the limit is; currently ~10,000)

Verified today that this is still a bug.
Note: I have not been using Bookmarks in any workflows.


mkpr

Applied mkpr on package.json
sed s/"levelup": "^.*"/"levelup": "^4.3.1"/

Coverage remained the same at 98.4% when pulling 30975963cdd4f868c74b0927fe2179ab546cc304 on mkpr/1 into ce1e490c02a692f9c42d127312f325822cfa87d0 on master.

:tada: This PR is included in version 2.1.11 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Cant update ruby version to 2.7.6 from 2.6.10

I try to install 2.7.6 version but my ruby -version stays at 2.6.10p210

Hi, you've selected a global version 2.7.6 correctly, but you have also selected a "local" version 2.7.6 for everything under your home folder /Users/necmettinsargin. The "local" version takes precedence over "global", so I would suggest first fixing that:
cd ~
rbenv local --unset

Then, since ruby --version still reports version 2.6.10, which is the system Ruby version on macOS, I would guess that you have not finalized setting up rbenv per our installation instructions. If you run echo $PATH, you can see a list of paths that are looked up in order whenever you run ruby, and the first ruby found in PATH is going to get executed. If you finished setting up rbenv, then /Users/necmettinsargin/.rbenv/shims will be one of the first entries in your PATH, but if that is not the case, then revisit our installation instructions, particularly around rbenv init. Running rbenv init and following the instructions that it prints out for you might be enough to get everything working.
Good luck!

Thanks @mislav. Had to make some research to add eval "$(rbenv init - zsh)"  to zshrc but finally did it


Add nav buttons (and handlers) from inside component

Let's say I have a component and I want the right button of the navbar to be "Manage" only if the logged in User is the admin of the page. How would I go about adding that button from within the component itself (as that's where I can check if the UserStore's current user is equal to the page's admin).
I've tried setting hideNavBar={true} and adding a react-native-navbar component there, but it's just really messy/buggy.  Is there a way to add the NavBar component in this repo in there? Or perhaps a different method I'm not thinking of to get the desired result?

I just

Could yo fix it? I need have a component with and without back button.


Error updating the library

when updating the library, an error appears in the logs. You can click on the specified link in the logs to go to the image.
2023-09-07 19:13:59,139 - ERROR - Error: No connection adapters were found for '<IP_ADDRESS>:8096/Items/9e455d2aa5b28bdd4b9cb097e641642f/Images/Primary' 2023-09-07 19:13:59,139 - INFO - <IP_ADDRESS> - - [07/Sep/2023 19:13:59] "POST /webhook HTTP/1.1" 200 -

Update your jellyfin URL to http://<IP_ADDRESS>:8096.
I'll edit my env.example to include "http://"

added http:// a new error has appeared
2023-09-08 03:01:35,175 - ERROR - Error: list index out of range 2023-09-08 03:01:35,178 - INFO - <IP_ADDRESS> - - [08/Sep/2023 03:01:35] "POST /webhook HTTP/1.1" 200 -

New information.  Sending movie information doesn't work. Information on the series is sent.
P.S. Before that, I tested only on movies.

added http:// a new error has appeared
2023-09-08 03:01:35,175 - ERROR - Error: list index out of range 2023-09-08 03:01:35,178 - INFO - <IP_ADDRESS> - - [08/Sep/2023 03:01:35] "POST /webhook HTTP/1.1" 200 -

Are you still getting this error?

Yes, only with movies.
Here is the log when adding series.
2023-09-08 03:01:35,178 - INFO - <IP_ADDRESS> - - [08/Sep/2023 03:01:35] "POST /webhook HTTP/1.1" 200 - 2023-09-08 11:22:38,224 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification. 2023-09-08 11:22:38,227 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:38] "POST /webhook HTTP/1.1" 200 - 2023-09-08 11:22:38,242 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification. 2023-09-08 11:22:38,242 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:38] "POST /webhook HTTP/1.1" 200 - 2023-09-08 11:22:38,258 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification. 2023-09-08 11:22:38,259 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:38] "POST /webhook HTTP/1.1" 200 - 2023-09-08 11:22:38,278 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification. 2023-09-08 11:22:38,279 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:38] "POST /webhook HTTP/1.1" 200 - 2023-09-08 11:22:39,900 - INFO - (Season) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ РЎРµР·РѕРЅ 16 notification was sent to telegram. 2023-09-08 11:22:39,902 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:39] "POST /webhook HTTP/1.1" 200 - 2023-09-08 11:22:39,924 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification. 2023-09-08 11:22:39,924 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:39] "POST /webhook HTTP/1.1" 200 - 2023-09-08 11:22:39,955 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification. 2023-09-08 11:22:39,955 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:39] "POST /webhook HTTP/1.1" 200 - 2023-09-08 11:22:39,974 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification. 2023-09-08 11:22:39,974 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:39] "POST /webhook HTTP/1.1" 200 - 2023-09-08 11:22:39,987 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification. 2023-09-08 11:22:39,988 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:39] "POST /webhook HTTP/1.1" 200 -

2023-09-08 03:01:35,178 - INFO - <IP_ADDRESS> - - [08/Sep/2023 03:01:35] "POST /webhook HTTP/1.1" 200 -
2023-09-08 11:22:38,224 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification.
2023-09-08 11:22:38,227 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:38] "POST /webhook HTTP/1.1" 200 -
2023-09-08 11:22:38,242 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification.
2023-09-08 11:22:38,242 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:38] "POST /webhook HTTP/1.1" 200 -
2023-09-08 11:22:38,258 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification.
2023-09-08 11:22:38,259 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:38] "POST /webhook HTTP/1.1" 200 -
2023-09-08 11:22:38,278 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification.
2023-09-08 11:22:38,279 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:38] "POST /webhook HTTP/1.1" 200 -
2023-09-08 11:22:39,900 - INFO - (Season) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ РЎРµР·РѕРЅ 16 notification was sent to telegram.
2023-09-08 11:22:39,902 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:39] "POST /webhook HTTP/1.1" 200 -
2023-09-08 11:22:39,924 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification.
2023-09-08 11:22:39,924 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:39] "POST /webhook HTTP/1.1" 200 -
2023-09-08 11:22:39,955 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification.
2023-09-08 11:22:39,955 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:39] "POST /webhook HTTP/1.1" 200 -
2023-09-08 11:22:39,974 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification.
2023-09-08 11:22:39,974 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:39] "POST /webhook HTTP/1.1" 200 -
2023-09-08 11:22:39,987 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 16 was added within the last 3 days. Not sending notification.
2023-09-08 11:22:39,988 - INFO - <IP_ADDRESS> - - [08/Sep/2023 11:22:39] "POST /webhook HTTP/1.1" 200 -

I can't seem to re produce the issue you're having with the movies. It seems it could be related to the webhook from jellyfin. What I can do is add logging to the payload from jellyfin to see if sometime is wrong. I'll have to provide you with the modify "main.py" file. Are you running docker or just a python venv?

docker

docker

Change your docker image to fahmula/jellyfin-telegram-notifier:dev and then try adding a movie and sent me the logs.

I have installed a dev image, I will try to add movies and TV series, later I will throw off the log.
Today, information about films has also begun to come, but there is no stability. It may be that 5 movies in a row receive notifications, and then errors appear again.

With the dev image, the log looks the same.
Is there an opportunity to contact in telegram?

2023-09-08 17:35:14,302 - INFO - WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

Running on all addresses (<IP_ADDRESS>)
Running on http://<IP_ADDRESS>:5000
Running on http://<IP_ADDRESS>:5000
2023-09-08 17:35:14,302 - INFO - Press CTRL+C to quit
2023-09-08 17:43:27,441 - INFO - (Movie) РќРµ РґС‹С€Рё 2016 notification was sent to telegram.
2023-09-08 17:43:27,442 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:43:27] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:26,404 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 08 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:26,404 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:26,417 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 08 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:26,418 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:26,428 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 08 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:26,428 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:26,444 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 08 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:26,444 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:26,461 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 08 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:26,461 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:26,478 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 08 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:26,478 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:26,493 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 08 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:26,493 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:26,507 - INFO - (Episode) Р’ Р¤РёР»Р°РґРµР»СЊС„РёРё РІСЃРµРіРґР° СЃРѕР»РЅРµС‡РЅРѕ Season 08 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:26,507 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:57,665 - INFO - (Season) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ РЎРµР·РѕРЅ 1 notification was sent to telegram.
2023-09-08 17:58:57,668 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:57] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:57,686 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:57,686 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:57] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:57,701 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:57,701 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:57] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:57,718 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:57,718 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:57] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:57,733 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:57,733 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:57] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:57,750 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:57,751 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:57] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:57,766 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:57,766 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:57] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:57,781 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:57,781 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:57] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:57,796 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:57,797 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:57] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:57,810 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:57,811 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:57] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:58:57,826 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:58:57,827 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:58:57] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:26,525 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:26,526 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:26,544 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:26,544 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:26,560 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:26,561 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:26,581 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:26,582 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:26,600 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:26,601 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:26,618 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:26,619 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:26,633 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:26,634 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:26,651 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:26,652 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:26,665 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:26,666 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:26,684 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:26,685 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:26,702 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:26,703 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:26,719 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:26,720 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:26] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:56,746 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:56,747 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:56] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:56,765 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:56,765 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:56] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:56,779 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:56,779 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:56] "POST /webhook HTTP/1.1" 200 -
2023-09-08 17:59:56,795 - INFO - (Episode) РСЃС‚СЂРµР±РёС‚РµР»СЊ РґРµРјРѕРЅРѕРІ Season 01 was added within the last 3 days. Not sending notification.
2023-09-08 17:59:56,795 - INFO - <IP_ADDRESS> - - [08/Sep/2023 17:59:56] "POST /webhook HTTP/1.1" 200 -
2023-09-08 18:06:27,492 - ERROR - Error: list index out of range
2023-09-08 18:06:27,495 - INFO - <IP_ADDRESS> - - [08/Sep/2023 18:06:27] "POST /webhook HTTP/1.1" 200 -

Throw off the modified main.py , I'll try to run it.

The dev image only includes a single line that logs the payload when a media is added to jellyfin. If you had recreate your container with the dev tag, it should contain the additional code.
Another thing is that if it's working for some movies and not all, that points to an issue with your movies and or your jellyfin setup.

I hope that you will be able to tell from the logs what the problem is in the jellyfin settings

Any update?

I've solved the problem. It was necessary to change the message sending interval in the scheduler. The data simply did not have time to load up, and the webhook was already sending them. I changed it for 15 minutes (it is impossible to get less from the user interface) and all the data began to arrive normally.


Caret slot with toggle function does not toggle dropdown correctly

Reproduction Link
https://jsfiddle.net/LanFeusT/Ltze74h0/
Steps to reproduce
Add a caret slot as well as the slot-scope="{ toggle }" on it
Expected behaviour
The dropdown toggles open and close for each click.
Actual behaviour
The dropdown opens and closes immediately for a single click. Even adding @click.prevent.stop="toggle" does not work.

Solution : https://jsfiddle.net/shentao/qojvh1eg/

Thank you @alexsonnay it does work, but I still think this is just a stop gap solution. I believe this is still a bug in multiselect's click function of the slot scope.

I'm also experiencing this but I am using completely custom markup. The one thing I saw from the fiddles was: The .multiselect__tags and the caret tag should not overlap, but that's it. But even without overlap, clicking the caret will only expand, but not close the dropdown. What else needs to be respected in order to have it working?


Upgrade Hive JDBC version to 3.1.3

The previous version 0.13.0 throws an exception
when executing an query on Spark 3.4.0.

[ ] Try standalone classifier

Relates to https://github.com/trinodb/trino/pull/17667

Hmm, it seems the new Hive JDBC driver can't connect to the old Hive server (e.g. hdp2.6-hive in product tests). Delta Lake 2.4.0 requires at least Hive 3.0.0 JDBC driver, but the version isn't compatible with the above HDP environment.

Installing standalone Hive JDBC driver at runtime like #17667 looks better because we need to use two JDBC versions for connecting to old Hive server and new Spark server.


{CI} Test policy migration issue

Describe the bug
Test policy migration issue
Related command
Test policy migration issue
Errors
Test policy migration issue
Issue script & Debug output
Test policy migration issue
Expected behavior
Test policy migration issue
Environment Summary
Test policy migration issue
Additional context
No response

Thank you for opening this issue, we will look into it.


Collapsible boxes

Hi,
Is there an implementation of collapsible text boxes, for example as seen as on the FAQs of the UBC CLF website?

Those can be details elements I think, I can get a style for them if one is not there. Here is a code snippet:

Our Programs

  What undergrad programs do you offer?

The following programs are available to students at the undergraduate level: Major, Combined Major, Double Major, Honours, Combined Honours, Cognitive Systems, and Software Engineering ... all with or without co-op options. Choosing any one of these will allow you to become well-versed in core computer science concepts while giving you the freedom to tailor your education to match your interests. We also offer a Bachelor of Arts (BA) Major in Computer Science and a Bachelor of Commerce (BCOM) Combined Major in Business and Computer Science. For specific program and option requirements, please see our Degree Programs page.

  What is a Combined Major?

The Combined Major program enables students to combine computer science with other disciplines such as biology, microbiology & immunology, physics, statistics or (with advisor approval) a science subject of the student's choosing.

Here's what it would look like https://www.cs.ubc.ca/students/undergrad/faqs
Might be a bit different because I don't have that set of styles in yet but let me know if that would work for you?

Thanks for the explanation, Joël! Can you please assign @rloftus to it? (I will also Slack her to let her know.)


Prefetch alpine image

What this PR does / why we need it:
Prefetch alpine image so the tests are more deterministic.
With image available there is no unexpected long wait time
for the first fetch (sometimes it is downloaded quickly,
sometimes it takes more than a few minutes)
An example were first test fails on image pull during import:
https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/logs/periodic-kvp-push-nightly-build-main/1553924187653935104
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:

NONE

/test pull-kvp-functional-test

/lgtm

/approve


Music Assistant don't play

What version of Music Assistant has the issue?
2022.12.1
The problem
I was not able to get Music Assistant to work with Google Home mini.
Before installation I was able from the Media tab to get both Radio and TTS to work on 2 devices/entities integrated with Google Cast:
media_player.mini_bedroom
media_player.mini_living
After installing Music Assistant using HACS first and then adding the integration, it cloned the previous 2 media_players entities and created:
media_player.mass_mini_bedroom
media_player.mass_mini_living
I checked option for Tune In and Youtube Music but I can't play anything. When I select a few tracks and click play the player tries for a few seconds but then freezes in an endless loop.
As I click the various volume or play buttons, I hear clicking sounds coming out of the google home mini, but the track doesn't start. If i try TTS on the new media_player created by MA it does not work.
If I re-enable visibility of the original 2 players they still work from the Media screen, but I don't see them in the MA screen.
Any ideas?
How to reproduce
Nothing special, simply installed and tryed to use for the first time.
Relevant log output
Logger: homeassistant.components.cast.media_player
Source: components/cast/media_player.py:398
Integration: Google Cast (documentation, issues)
First occurred: 00:44:00 (5 occurrences)
Last logged: 01:01:25
Failed to cast media http://<IP_ADDRESS>:8095/control/media_player.mini_soggiorno/next.mp3. Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address
Failed to cast media http://<IP_ADDRESS>:8095/announce/media_player.mini_soggiorno.flac. Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address
Additional information
Docker container on Synology NAS
What version of Home Assistant Core are your running
2022.12.1
What type of installation are you running?
Home Assistant Container
On what type of hardware are you running?
Alternative

Have you been through the troubleshooting steps here? https://github.com/music-assistant/hass-music-assistant/discussions/709 At first glance it looks like it is a docker network config issue.


User Signup

AS A non registered user
I WANT TO sign up for an account
SO THAT I can use the system
WHEN I provide username, password, and email
THEN the system will return me a unique ID.

Accidentally closed this when I wanted to close #10 via git commit.