Beta version in docker

Hi,
I have the main release running fine in docker for a while now - thanks a lot !
Is there anyway I can use the beta version in docker ? I run Hass in docker on a synology and would like to mess about with the detectors and event log integration the beta release has....
Thanks a lot

Yeah , wanna know this too, I want also event integration and want to see
how that autodiscovery works
Op wo 26 jun. 2019 19:25 schreef rob1981forest<EMAIL_ADDRESS>
Hi,
I have the main release running fine in docker for a while now - thanks a
lot !
Is there anyway I can use the beta version in docker ? I run Hass in
docker on a synology and would like to mess about with the detectors and
event log integration the beta release has....
Thanks a lot
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lucacalcaterra/risco-mqtt-bridge/issues/18?email_source=notifications&email_token=AKJ7LQCIGOQI7XTKQ3A5E4DP4ORBTA5CNFSM4H3UOP22YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G33XCPA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKJ7LQBWF2CB6VZYYYRF2BTP4ORBTANCNFSM4H3UOP2Q
.

for testing i created sensors like below , but the state is always unknown :)
sensor:
  - platform: mqtt
    state_topic: "riscopanel/eventhistory"
    name: risco_event

  - platform: mqtt
    state_topic: "riscopanel/dects"
    name: risco_dects

nevermind, unknown state is fixed, seems HA cant handle more then 255 characters, limitation of sensor, so need to truncate it

I tried this tonight and couldn't make it work...
What do I need to do ? How could I get HA to display a list of events ? Don't we need a 'value_topic' ? The github suggests we need some json
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio<EMAIL_ADDRESS>Sent: Wednesday, June 26, 2019 8:46:19 PM
To: lucacalcaterra/risco-mqtt-bridge
Cc: rob1981forest; Author
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Beta version in docker (#18)
for testing i created sensors like below , but the state is always unknown :)
sensor:

platform: mqtt
state_topic: "riscopanel/eventhistory"
name: risco_event

platform: mqtt
state_topic: "riscopanel/dects"
name: risco_dects

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/18?email_source=notifications&email_token=ALCGLUFXYQNPRNG7MUK5AM3P4PBQXA5CNFSM4H3UOP22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYUTXNA#issuecomment-506018740, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALCGLUBZ6R5JUJWQS5HNNOTP4PBQXANCNFSM4H3UOP2Q.

well, seems the events arent in real time, see my last reply here
what do you want todo? you want to start an automation based on last event?
then create a sensor like this  below, but problem is that the event isnt in the polling interval, so its not changed immediately :(
https://github.com/lucacalcaterra/risco-mqtt-bridge/issues/13
so for my automations based on armstate, i still use for now the email sensor in HA, that one is changed within 5 seconds, instead of 5 minutes
sensor:

platform: mqtt
state_topic: "riscopanel/eventhistory"
name: risco_event

Thanks, just messing about at moment
What I have noticed is I don't get any update when the alarm is going off and as such I cant make my lights flash !
Seems like I need to subscribe to another topic for that to happen.........
Will try what you say out.......thanks a lot
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio<EMAIL_ADDRESS>Sent: Thursday, June 27, 2019 9:52:31 PM
To: lucacalcaterra/risco-mqtt-bridge
Cc: rob1981forest; Author
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Beta version in docker (#18)
well, seems the events arent in real time, see my last reply here
what do you want todo? you want to start an automation based on last event?
then create a sensor like this below, but problem is that the event isnt in the polling interval, so its not changed immediately :(
#13https://github.com/lucacalcaterra/risco-mqtt-bridge/issues/13
so for my automations based on armstate, i still use for now the email sensor in HA, that one is changed within 5 seconds, instead of 5 minutes
sensor:

platform: mqtt
state_topic: "riscopanel/eventhistory"
name: risco_event

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/18?email_source=notifications&email_token=ALCGLUGWGKPB57DKNZUHOKDP4USA7A5CNFSM4H3UOP22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYYK4MA#issuecomment-506506800, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALCGLUHRPUO2QQYKSMZ2KMLP4USA7ANCNFSM4H3UOP2Q.

Yeah, subscribe to it, and have a look if the message is instant.,. If not. Then you can also use the email sensor

Must get some time to re test and exploit to you how config  it. Please be
patient  . Thanks
Il Gio 27 Giu 2019, 23:20 pergolafabio<EMAIL_ADDRESS>ha
scritto:

Yeah, subscribe to it, and have a look if the message is instant.,. If
not. Then you can also use the email sensor
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/lucacalcaterra/risco-mqtt-bridge/issues/18?email_source=notifications&email_token=AAGWZUNUHETPVFQECFEL7HTP4UVK7A5CNFSM4H3UOP22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYYNFMY#issuecomment-506516147,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGWZUJV77OYFJMY3IYHFW3P4UVK7ANCNFSM4H3UOP2Q
.

yeah so been messing with the 'last event' and it seems it can take nearly an hour for my home assistant to update from the events in Risco cloud app. I'm not too bothered about this but i have a sensor for whether or not the alarm is triggered (is either true or false as per the guide) - does this mean that could take about an hour to update as its using the same polling mechanism ? is there a better way to get an instant notification into HA about the alarm going off so i can make my house lights flash red !!??

no, the state is still an issue , if @lucacalcaterra  can add the lastevent also in the polling , then it should be ok, then it should work
problem is at risco itself, you see the slider also with a delay changing ...
if you want the state immediately, then create an email sensor, thats what i do, email events are instant sended from risco, no delay there, so i created sensors , and i look in the body for a  word
for example => armed => automation, turn off all lights and stuff

the transforms file has a section about 'onalarm' being translate to 'triggered' - should the alarm_control_panel.mqtt_alarm entity in HA update to 'triggered' in the event of the alarm going off ? are is the only 3 states this does 'disarmed' 'armed_away' and 'aremd_home' ?

ive just looked and i dont seem to get an email from risco cloud if the alarm is going off, only alerts in the app so for automations via email i dont think it would work.

you need to setup email notifications on www.riscocloud.com
i created a "follower" there, to receive emails about alarm status
those email are sended to a seperate gmail inbox
that gmail inbox i am polling every 5 seconds  in HA, so when new mail received, automation kicks in

Ok cheers, I thought I ticked every possible option on it......just assumed email wasn't an option for alarm going off.....will take another look.....thanks
Get Outlook for Androidhttps://aka.ms/ghei36

From: pergolafabio<EMAIL_ADDRESS>Sent: Sunday, June 30, 2019 8:23:16 PM
To: lucacalcaterra/risco-mqtt-bridge
Cc: rob1981forest; Author
Subject: Re: [lucacalcaterra/risco-mqtt-bridge] Beta version in docker (#18)
you need to setup email notifications on www.riscocloud.comhttp://www.riscocloud.com
i created a "follower" there, to receive emails about alarm status
those email are sended to a seperate gmail inbox
that gmail inbox i am polling every 5 seconds in HA, so when new mail received, automation kicks in
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/lucacalcaterra/risco-mqtt-bridge/issues/18?email_source=notifications&email_token=ALCGLUEDCVOGCQSJKBQOS6TP5EB2JA5CNFSM4H3UOP22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY4SCTQ#issuecomment-507060558, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ALCGLUBTTZXFVZFTLC7BAJTP5EB2JANCNFSM4H3UOP2Q.

its for sure an option , i have enabled them all

Hi,
I have the main release running fine in docker for a while now - thanks a lot !
Is there anyway I can use the beta version in docker ? I run Hass in docker on a synology and would like to mess about with the detectors and event log integration the beta release has....
Thanks a lot

Autodiscovery works... need to activate discovery in mqtt broker connection on H.A. For the alarm panel you need to add this lines to your configuration.yaml (accordiing to your states)
alarm_control_panel:

platform: mqtt
state_topic: "riscopanel/armstatus"
command_topic: "riscopanel/armstatus/SET"
payload_disarm: "disarmed"
payload_arm_home: "partially"
payload_arm_away: "armed"


Append optional list when updating record types

Some minor adjustemts were made to the record type update functionality. When set to UpdateAllAppendLists, also optional lists will be appended. This became necessary after all fields in the datamodel were set to optional.
Additonally, tests were added to cover these cases.

closes #4


data_report_dev dash app

Created a new dash app that can be accessed at http://localhost:8000/validated/data_report_dev/. This replicates the functionality of the original data_report page entirely within the dash app. The app layout and callback function is currently in a state where changing values in the dropdowns/date picker will immediately update the graph.
Still to be done:

There is no error handling at the moment so if the parameters are set in a way that provides no data, the graph doesn't update
General layout, headings etc. need to be changed
Need to add the minimum/maximum plots

By the way, QA should pass. Are you running the pre-commit hooks with every commit? See https://github.com/ImperialCollegeLondon/paricia?tab=readme-ov-file#continuous-integration


Add add_resource_on_condition method to only add nodes when certain conditions are satisfied

Is your feature request related to a problem? Please describe.
Not a major problem, right now I'm implementing a feature to ignore certain nodes that are annotated in a certain way. This looks roughly like
ignore_resource = False
obj = fetch_k8s_resource(session)
if obj is not None:
    if ANNOTATION_IGNORE in obj["metadata"]["annotations"]:
       log.warn("Annotation set, ignoring resource")
       ignore_resource = True

if not ignore_resource:
    self.add_resource("job", k8s.Job(...))

# repeat for each resource

Describe the solution you'd like
I'd love to be more clear on whether a resource has some condition that needs to be satisfied first. In my head this looks like
def add_resource(self, name: str, obj: Any):
    ...

def add_resource_on_condition(self, name: str, obj: Any, cond: bool):
    if cond:
        self.add_resource(name, obj)

which turns the above example into
obj = fetch_k8s_resource(session)
self.add_resource_on_condition(
    "job",
    k8s.Job(...),
    obj is not None and ANNOTATION_IGNORE in obj["metadata"]["annotations"]
)

# repeat for each resource

Describe alternatives you've considered
Could also enhance existing add_resource with an additional param, I suggested a separate method to be more clear
Additional context
Add any other context about the feature request here.

This is a really interesting idea! In general, for this kind of thing, I've tended to do two things:

Prototype it in my own operator's base component class (you could probably do this now)
Add it to oper8.x.oper8x_component

In general, I've tried to avoid adding too many optional bells-and-whistles to the base Component, but since this would just wrap self.add_resource, it would be a natural fit for the "Component plus common patterns" base in oper8.x. I don't think you guys are using oper8.x though, are you? It also gets you other nice things like the deps_annotation to auto-rollover on mounted data changes.

Understood, that makes sense to me. I was in the middle of 1 prior to opening the issue, completely missed oper8.x. I'll dig more into that now as the deps_annotation was on my todo list as well. Thank you!


Any chance there will be support for Phi 1.5?

Curious if this will work for Microsoft/phi-1_5 or any plans to add support for it since I know it uses the CodeGenTokenizer.

We are planning to add support for phi-1.5 model by providing the phi15_attn_replace similar to the gptneox_attn_replace for GPT-NeoX we've just merged, as well as the training script.
However, due to limited computation resources as we're updating the LongQA dataset, finetuned checkpoints might be our first to-dos at this moment. As soon as the LongQA dataset is released (soon), your contribution to training are also welcomed.


Fix auth check on group kill

Changes proposed in this PR

Fix auth-check on group operations
Simplify data-flow of context data by caching it in the malformed? handler
Filter out unauthorized groups (in addition to missing groups) when using partial flag

Why are we making these changes?
The authorization check for group operations was broken, meaning anyone could kill anyone else's groups.

@dposada - I tested this locally, but I didn't add any new integration tests. I'm looking into adding some tests using basic-auth to our integration test suite, but that will come in a separate PR.


pmd: 6.17.0 -> 6.18.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/pmd/versions.
meta.description for pmd is: '"An extensible cross-language static code analyzer"'.
meta.homepage for pmd is: '"https://pmd.github.io/"

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 6.18.0 with grep in /nix/store/8kdrpjcgmr7ssv7ax02wcxwhkb2vh8ib-pmd-6.18.0

directory tree listing: https://gist.github.com/1934eb22160bb4d3618debaec8d040ac

du listing: https://gist.github.com/a0bd1521345081211ea25d6a1a2d4d87

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
pmd

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8kdrpjcgmr7ssv7ax02wcxwhkb2vh8ib-pmd-6.18.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A pmd https://github.com/r-ryantm/nixpkgs/archive/7931ab406ad7ad89f04fb2c7be8d600f5ab3357e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8kdrpjcgmr7ssv7ax02wcxwhkb2vh8ib-pmd-6.18.0
ls -la /nix/store/8kdrpjcgmr7ssv7ax02wcxwhkb2vh8ib-pmd-6.18.0/bin

cc previous people who have edited this: @rbvermaa @bjornfor @pSub


Confirmation message to /dev/stderr

User cannot notice confirmation message in case of pipe.

Input() always print prompt to stdout and can't redirect to stderr.
So redirection is not recommended in this case.
User may use option -y in pipe.

input() uses sys.stdout, so you can print prompt to stderr with letting sys.stdout equal to sys.stderr:
    stdout = sys.stdout
    sys.stdout = sys.stderr
    input(msg)
    sys.stdout = stdout


tests: latency_measure: Remove TICK_SYNCH()

It has been observed that on some simulator platforms the TICK_SYNCH at the start of the ISR tests was acting as a bottle neck and leading the test to take an absurdly long time to execute. Removing this TICK_SYNCH() (which is a call to k_sleep(1 tick)) greatly speeds up the execution of this test on those platforms.
The ISR tests began with a call to TICK_SYNCH() which aligned the execution to the next tick boundary. The original aim of this was to prevent a rogue timer ISR from coming and interfering with the measurements. This used to be necessary as once upon a time that test only did a single iteration. However, it has since been updated to perform this measurement 10000 times. Consequently, should a rogue ISR be included in the measurement, it will be averaged out.
For example, if a rogue ISR of say 10 usec were to be included in a single measurement, its impact would be averaged down to 1 nsec, and that seems well within any expected experimental error.

@peter-mitsis Please have a look.

@peter-mitsis  this can be closed, no?


swiper.virtual.removeSlide has a bug

Check that this is really a bug

[X] I confirm

Reproduction link
https://github.com/nolimits4web/swiper.git
Bug description
When using  swiper.virtual.removeSlide to delete a cached virtual slide, for example, if 4 slides have been cached and slide 2 is deleted, two slides 3 will appear.
Because virtual.cache is an object, just delete key of virtual.cache，for example 2，virtual.cache will be equal to {1：'slide 1', 3: 'slide 3', 4: 'slide 4'}. And After swiper.virtual.update, virtual.cache will be equal to {1：'slide 1', 2:'slide 3',  3: 'slide 3', 4: 'slide 4'}
Expected Behavior
No response
Actual Behavior
No response
Swiper version
8b7386450e006f2b335b0f8e272f59f3d40a8d9f
Platform/Target and Browser Versions
chrome
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

[ ] I'm willing to open a PR

you can see the demo in https://github.com/xiayejinchen/test.git

Why not create CodeSandbox?
Kind regards,
Vladimir Kharlampidi

From: xiaobai @.>
Sent: Friday, September 8, 2023 12:55:41 PM
To: nolimits4web/swiper @.>
Cc: Subscribed @.***>
Subject: Re: [nolimits4web/swiper] swiper.virtual.removeSlide has a bug (Issue #7020)
you can see the demo in https://github.com/xiayejinchen/test.git
—
Reply to this email directly, view it on GitHubhttps://github.com/nolimits4web/swiper/issues/7020#issuecomment-1711400345, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAHUBJHZHMBLJ4O4MSRHH43XZLTR3ANCNFSM6AAAAAA4PEXWC4.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

You can see the demo at https://6lxtmm.csb.app/。
After you see the 'slide 4', then delete 'slide 3', you will see two 'slide 4'


Forget Password UI

UI of the forget-password page needs some upgrading.

Please assign the issue to me.

I am willing to work on this issue if it's still open (as part of swoc)

I did some changes but waiting for a mentor's instructions.

Can I work on this issue?

Hi! I would like to work on the issue?


[IPAD-447] Fix transform flags

In the scatterplot "options", users should have the ability to do a -log10 transformation on the data only when ALL NUMERIC DATA is greater than 0 for the selected option column.  For example, if the x-axis option is set to log2FC, if ANY row data is 0 or less, the transform checkbox should disabled and deactivated.  This fixes some holes in the code to ensure this, specifically the code only running a check for transformations when an options dropdown changed, rather than on test change (and caching situations).

I see the checkboxes are disabled however, when testing locally, the scatterplot is empty.

Is this still an issue?

At some point, probably should make this less mysterious?


Request - SoftEther VPN Services

SoftEther VPN is a multi-protocol session muxer which effectively creates overlay networks from multiple VPN connections over different protocols, with some advanced egress busting functionality, and support for all major platforms.
The suite consists of server, bridge, and client, providing L2 and L3 encapsulations for protocols like SSTP which are not available otherwise. I can't imagine this is trivial to implement, but it should provide significant coverage for client and mesh protocols, so may well be worth while.

pkg install softether
or
pkg install softether-devel

@fichtner: I was thinking as an integrated component of the UI/API which handles all the VPN tasking instead if maintaining wholly separate server implementations for the protocols it supports.


Database type doesn't match RxDB 11.1.0

I'm just getting started with RxDB and have run into a very similar issue to #14. Given how much RxDB and its TypeScript support has changed since then, I can't say for certain that they're the same issue. If they are, please feel free to merge the issues.
Following the RxDB TypeScript docs, the createRxDatabase call will return a typed instance of a specific database (e.g., MyDatabase in the linked page). This type is not equivalent to RxDatabase and as such, can't be supplied as the db prop on rxdb-hook's Provider. Instead, you get a type error like:
Type 'MyDatabase' is not assignable to type 'RxDatabase<CollectionsOfDatabase, any, any> | undefined'.

I've worked around it locally by just ignoring the type:
<Provider db={db as any}>{props.children}</Provider>

That's enough to get most of the hooks working. However, the useRxDB hook will not return a reference typed as MyDatabase, so you can't do much with the reference without type casting.

Thanks for reporting this @nirvdrum. There is indeed an issue there caused by how Typescript tries to narrow inferred types, which is also not specific to RxDB 11. It will be fixed by #41, but I will have to settle on a travis ci alternative before merging, so it's not 100% ready yet.

Issue should be fixed in 4.0.1.


[4.1] Split CrudTrait into multiple smaller traits

Fixes #2546
Splits CrudTrait into multiple smaller traits so that:

it's easier to read
it's easier to use a concern/ability without using the entire CrudTrait

Similarly to how we've added HasIdentifiableAttribute in 4.1 we now have:

HasEnumFields
HasRelationshipFields
HasUploadFields
HasFakeFields
HasTranslatableFields

A new inspection was created.


NEP-3 ABI extension proposal

Does the ABI can provide a mark, which can identifies the function whether perform onchain or offchain.
So the dapp developer needn't to care about the the smart contract detail or use which protocal to interact with the blockchain. SDK will use ABI to decided whether query on the node or make a transaction on the blockchain.

To me NEP-14 safe attribute is as close to this as it could probably be, so I'd say it's done.


MMI_splitter_3D

I have encountered some of the following mistakes. I don't know how to solve them. I would like to ask the author to take the time to help out of his busy schedule.Best Wishs.
(base) m3enjoy@m3enjoy-virtual-machine:~/emopt/examples/MMI_splitter_3D$ python mmi_1x2_splitter_3D_fdtd.py
[0]PETSC ERROR: ------------------------------------------------------------------------
[0]PETSC ERROR: Caught signal number 11 SEGV: Segmentation Violation, probably memory access out of range
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger
[0]PETSC ERROR: or see https://www.mcs.anl.gov/petsc/documentation/faq.html#valgrind
[0]PETSC ERROR: or try http://valgrind.org on GNU/linux and Apple Mac OS X to find memory corruption errors
[0]PETSC ERROR: configure using --with-debugging=yes, recompile, link, and run
[0]PETSC ERROR: to get more information on the crash.
MPI_ABORT was invoked on rank 0 in communicator MPI_COMM_WORLD
with errorcode 59.

You may or may not see output from other processes, depending on
exactly when Open MPI kills them.

I'm also encountering this problem. It appears to not be a memory issue, since I tried it on a system with a few hundred GB of RAM and still had no luck. @anstmichaels Any thoughts on what might be causing this?
Thanks!
Charles

Oddly I have never run into this issue, and I have run the FDTD solver pretty extensively on CentOS 7, Ubuntu 18.04, and 20.04. I merged your fix. If anyone else encounters this issue, please pull master and give it a try.


Isolate each Database when initializing the module

As a follow up to https://github.com/fedimint/fedimint/pull/1331, this PR allows for entire Databases to be isolated instead of just individual DatabaseTransactions. We want the ability to isolate Databases and DatabaseTransactions because there are some db transactions that need to atomically span multiple modules, but we also sometimes give each module a handle to the database, such as during module_initialization (this db handle is only used in the wallet module currently).
Isolated databases have the same API as normal databases accept that begin_transaction now returns a DatabaseTransaction that is isolated, so all operations will have a prefix prepended to each key to keep the data separate.

I feel like eventually we'll have to think about these new requirements holistically and come up with a better overall architecture. But for now this seems ready for mergig except for a few minor nits. Thoughts @dpc?


Added WEBROOT to websso origin url

Correct websso origin url in case of dashboard not on / but on different WEBROOT.
The general case is when dashboard answers at http://{HOST_IP}/dashboard, in this case the origin url must be http://{HOST_IP}/dashboard/auth/websso and not http://{HOST_IP}/auth/websso.

Thank you for contributing to openstack/django_openstack_auth!
openstack/django_openstack_auth uses Gerrit for code review.
Please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.

Thanks,
I've tried to register to Gerrit for code submission.
Unfortunately the site continues to give an error when I'm trying to
register my contact information and this prevents the "git review" process
to finish correctly.
How can I solve this situation?
Thanks and cheers,
Andrea
On Thu, Aug 13, 2015 at 1:02 PM, openstack-gerrit<EMAIL_ADDRESS>wrote:

Thank you for contributing to openstack/django_openstack_auth!
openstack/django_openstack_auth uses Gerrit for code review.
Please visit
http://docs.openstack.org/infra/manual/developers.html#development-workflow
and follow the instructions there to upload your change to Gerrit.
—
Reply to this email directly or view it on GitHub
https://github.com/openstack/django_openstack_auth/pull/5#issuecomment-130617822
.

--
Andrea Biancini
e-mail<EMAIL_ADDRESS>web: andrea.biancini.googlepages.com
tel: +39<PHONE_NUMBER>

On 2015-08-16 23:02:33 -0700 (-0700), Andrea Biancini wrote:

I've tried to register to Gerrit for code submission.
Unfortunately the site continues to give an error when I'm trying
to register my contact information and this prevents the "git
review" process to finish correctly.
How can I solve this situation?

See if https://ask.openstack.org/question/56720 has any suggestions
which are applicable to your situation.
Jeremy Stanley

Thanks, it solved the situation.
Sorry for the message. Now I have been able to submit the review.
Thanks again,
Andrea
On Mon, Aug 17, 2015 at 2:41 PM, Jeremy Stanley<EMAIL_ADDRESS>wrote:

On 2015-08-16 23:02:33 -0700 (-0700), Andrea Biancini wrote:

I've tried to register to Gerrit for code submission.
Unfortunately the site continues to give an error when I'm trying
to register my contact information and this prevents the "git
review" process to finish correctly.
How can I solve this situation?

See if https://ask.openstack.org/question/56720 has any suggestions
which are applicable to your situation.
Jeremy Stanley
—
Reply to this email directly or view it on GitHub
https://github.com/openstack/django_openstack_auth/pull/5#issuecomment-131802146
.

--
Andrea Biancini
e-mail<EMAIL_ADDRESS>web: andrea.biancini.googlepages.com
tel: +39<PHONE_NUMBER>


Enable IPv6 in libmilter and configFile option for dovecot

Here it is!
To replace and close my first-noobish pull-requests :-)

Release 14.12 - adding configFile option for the dovecot so that
absolute path could be used
https://github.com/NixOS/nixpkgs/pull/5812

Release 14.12 - opendkim --> libmilter IPv6 enabling
https://github.com/NixOS/nixpkgs/pull/5811

looks fine to me, cc @edolstra

@lethalman I want to apologize for being noob with my first two pull-requests...  but nothing makes me more happy than committing to NixOS ! =]


github pages fix [stable6.0]

Port of https://github.com/microsoft/pxt/pull/7359
Tested on localhost.

Needs to port to stable6.1 as well.


Authentic theme does extra file copies on every Webmin action

While looking at the Webmin Actions Log, I noticed that for all actions the following commands are run :

cp -p \/etc\/webmin\/authentic\-theme\/settings\.js \/usr\/local\/webadmin\/authentic\-theme\/unauthenticated\/js
cp -p /etc/webmin/authentic-theme/settings.js /usr/local/webadmin/authentic-theme/unauthenticated/js

Maybe these can be skipped if the file already exists or has the same size? Shelling out to cp is expensive.

Hi, Jamie.
Well, I used to have check on the size, but it's not always valid, as value can change from 0 to 1 and file size stays the same, while in fact the file is different.
Running cp would be expensive to run it on every call but this only should happen on the initial load - when you reload the page or reopen the browser.
Maybe it's worth to stop logging this command?

I have checked it. I can confirm that it only happens on initial load and thus have minimum impact.
I also couldn't find entries in my Webmin Action Log module.
Do you need to enable verbose logging for copy_source_dest() to be logged?

hi Jamie,
I can confirm Ilia, the copy command is only executed on login and reload.
Tested with debug log enabled on OpenSuse, Chrome browser, Theme Version 19.10, 19.12 and 19.13-beta1
Nevertheless, it's executed 4 times on reload for me:
11474 [09/Apr/2018 11:05:49.929102] kay ::1 - CMD "cmd=cp -p \/etc\/webmin\/authentic\-theme\/settings\.js \/usr\/libexec\/webmin\/authentic\-theme\/unauthenticated\/js "
11474 [09/Apr/2018 11:05:49.936928] kay ::1 - CMD "cmd=cp -p \/etc\/webmin\/authentic\-theme\/settings\-kay \/usr\/libexec\/webmin\/authentic\-theme\/unauthenticated\/js\/settings_kay\.js "
11479 [09/Apr/2018 11:05:50.113071] kay ::1 - CMD "cmd=cp -p \/etc\/webmin\/authentic\-theme\/styles\.css \/usr\/libexec\/webmin\/authentic\-theme\/unauthenticated\/css "
11479 [09/Apr/2018 11:05:50.129539] kay ::1 - CMD "cmd=cp -p \/etc\/webmin\/authentic\-theme\/settings\.js \/usr\/libexec\/webmin\/authentic\-theme\/unauthenticated\/js "
11479 [09/Apr/2018 11:05:50.134914] kay ::1 - CMD "cmd=cp -p \/etc\/webmin\/authentic\-theme\/settings\-kay \/usr\/libexec\/webmin\/authentic\-theme\/unauthenticated\/js\/settings_kay\.js "

Jamie, I enabled error_stack=1 but I don't see those messages. I noticed that copy function has main::opened_debug_log global var call inside but I'm not sure where it's coming from. Any advice for quicker setup?

You have to enable debug log in webmin -webmin configuration - debug log

Okay, I'll take a look. Thanks, Kay.

I have done more tests, it's not exactly wrong.
The file is being written only once. Have a look. All other time it's just read:
Write:
10115 [13/Apr/2018 08:34:27.936997] root <IP_ADDRESS> - COPY "src=/etc/webmin/authentic-theme/settings.js dst=/usr/share/webmin/authentic-theme/unauthenticated/js"
10115 [13/Apr/2018 08:34:27.937240] root <IP_ADDRESS> - CMD "cmd=cp -p \/etc\/webmin\/authentic\-theme\/settings\.js \/usr\/share\/webmin\/authentic\-theme\/unauthenticated\/js "
10115 [13/Apr/2018 08:34:27.951014] root <IP_ADDRESS> - COPY "src=/etc/webmin/authentic-theme/settings-root dst=/usr/share/webmin/authentic-theme/unauthenticated/js/settings_root.js"
10115 [13/Apr/2018 08:34:27.951443] root <IP_ADDRESS> - CMD "cmd=cp -p \/etc\/webmin\/authentic\-theme\/settings\-root \/usr\/share\/webmin\/authentic\-theme\/unauthenticated\/js\/settings_root\.js "

Read:
10109 [13/Apr/2018 08:34:27.677256] root <IP_ADDRESS> - READ "/etc/webmin/authentic-theme/settings.js"
10115 [13/Apr/2018 08:34:27.784775] root <IP_ADDRESS> - READ "/etc/webmin/authentic-theme/settings.js"
10115 [13/Apr/2018 08:34:27.892352] root <IP_ADDRESS> - READ "/etc/webmin/authentic-theme/settings.js"
10137 [13/Apr/2018 08:34:30.318534] root <IP_ADDRESS> - READ "/etc/webmin/authentic-theme/settings.js"
10139 [13/Apr/2018 08:34:30.318769] root <IP_ADDRESS> - READ "/etc/webmin/authentic-theme/settings.js"
10136 [13/Apr/2018 08:34:30.331955] root <IP_ADDRESS> - READ "/etc/webmin/authentic-theme/settings.js"
10134 [13/Apr/2018 08:34:30.333017] root <IP_ADDRESS> - READ "/etc/webmin/authentic-theme/settings.js"
10157 [13/Apr/2018 08:34:30.501682] root <IP_ADDRESS> - READ "/etc/webmin/authentic-theme/settings.js"
...

@jcameron I think it's not an issue?
By the way, Jamie, I love your implementation of debug logging.

By written once, do you mean per page view? Or only once per login session?

By written once, do you mean per page view? Or only once per login session?

Authentic Theme is now single-page application. It will only run once per full-page reload. When you click navigation links in the theme, or perform any other actions it will not run that copy command. The copy command is run:

On page reload (using browser's reload, opening new tab, logging in)
On manual settings save

Is there anything wrong with that?

Ok, that makes sense to me.


Create frontend and backend for handling session iteration + metadata extraction

This PR begins to address #78 by creating a frontend page and backend endpoint to handle automatic subject and session source data + metadata detection. It was tested on SpikeGLX data from the cloud-and-guide-testing-data S3 bucket.
When testing this PR, make sure to use the latest version of Feature Branch 377, which allows for using an fstring to detect subjects and sessions.
Note that the current implementation of autodetection funnels the returned results into one subject and session to avoid issues with rendering further down the GUIDE workflow, allowing us to separate UI improvements into a separate PR.

It keeps refusing the connection to the backend for me - any ideas why that might be?

I reinstalled the Python dependencies, including the local neuroconv link, and it worked fine.
If you want more informative errors, you can run npm run dev:server to see what's going on with the server without Flask's error handling.

Sorry actually python pyflask/app.py 3000, which will circumvent the Flask manager

I reinstalled the Python dependencies, including the local neuroconv link, and it worked fine.

Yes, I figured it out lol, guess you saw before I deleted

Finished implementing a session manager, which lists all sessions (with the subject prepended) and allows users to toggle between information specifically for that session.
Can make subject groupings a dropdown for more cohesion and less clutter when scaling up—but right now rendering as a path-based system is sufficient for small datasets.
Some additional improvements in the pipeline include:

Allow for triggering a preview for any session on the Metadata page
Indicate whether all requirements are satisfied by the manager
Notify about sessions that are not validated before throwing individual messages about each session (only when one session is left invalidated)

We could also allow for validating per-session similar / in addition to the preview rendering (i.e. a single Validate and Preview button)

@CodyCBakerPhD This should be good to go. I've implemented all the latest requirements noted in #78, as well as noted the trade-offs of those implementations there.

@CodyCBakerPhD Should be good! Will finish this PR up before submitting one on a subjects page / table.

When trying this out now on current NC main, I get the following errors in the console when I try to continue after specifying my iteration pattern
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'remove')
    at ae.<anonymous> (index.js:60720:21)
index.js:39540
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'npI1')
    at GuidedPathExpansionPage.merge (index.js:39540:58)
    at GuidedFooter.onNext [as __onNext]

Is it working for you?

Not on a new project. Thanks for catching this!
Just pushed the fix, didn't end up creating a field in the global metadata before trying to merge.


feat: inline methods consisting of a single return statement or local variable declaration

feat: inline methods consisting of a single return statement or local variable declaration
Description

feat: inline methods consisting of a single return statement
feat: inline methods consisting of a single local variable declaration

Fixes # (issue)
Checklist

[x] The existing code style is followed
[x] The commit message follows our guidelines
[x] Performed a self-review of my code
[ ] Hard-to-understand areas of my code are commented
[ ] The documentation is updated (as applicable)
[x] Unit tests are added/updated
[ ] Integration tests are added/updated (as applicable, especially if feature/bug depends on roslyn or framework version in use)

You can do this with current features:
Source:
[Mapper]
public static partial class Mapper
{
    private static partial System.Linq.IQueryable<B> Map(this System.Linq.IQueryable<A> source);

    [MapProperty(nameof(C.Value), nameof(D.Value), Use = nameof(GetComputedValue))]
    private static partial D MapToD(C v);

    [UserMapping(Default = false)]
    private static string GetComputedValue(string value) => value + "-mapped";
}

class A { public string StringValue { get; set; } public C NestedValue { get; set; } }
class B { public string StringValue { get; set; } public D NestedValue { get; set; } }
class C { public string Value { get; set; } }
class D { public string Value { get; set; } }

Generated
// <auto-generated />
#nullable enable

    public static partial class Mapper
    {
        [global::System.CodeDom.Compiler.GeneratedCode("Riok.Mapperly", "<IP_ADDRESS>")]
        private static partial global::System.Linq.IQueryable<B> Map(this global::System.Linq.IQueryable<A> source)
        {
#nullable disable
            return System.Linq.Queryable.Select(source, x => new B()
            {
                StringValue = x.StringValue,
                NestedValue = new D()
                {
                    Value = x.NestedValue.Value + "-mapped",
                },
            });
#nullable enable
        }

        [global::System.CodeDom.Compiler.GeneratedCode("Riok.Mapperly", "<IP_ADDRESS>")]
        private static partial D MapToD(C v)
        {
            var target = new D();
            target.Value = GetComputedValue(v.Value);
            return target;
        }
    }

@trejjam I know that you can do this if you use an expression body. That's the point of this pull request. That you don't have to think about the code style. It just works regardlessly how you write your user mapping.

Relates https://github.com/riok/mapperly/issues/1406


When I check [ScaleFit] and uncheck [ScaleFit],it become from [centerInside] to [center]

thanks for you job.It;s GREAT!
however,when I check [ScaleFit] and uncheck [ScaleFit],it become from [centerInside] to [center].
so,there is 3 types??
by the way,i like [center].

Thanks, fixed. 36f5b1c4f27fafda33d071d37b6dfc8f92032b8e
Sorry, [center] yet not support. I want to add an option someday.


Fix screenshot issues in media-ui

From https://github.com/google/horologist/pull/1163
Want to land the PR, and start improving the UI while fixing the issues.

Fixed separately, figma images are no longer relevant.


GSS does support electron or nwjs(node-webkit)?

I'm working on electron platform.
I've checked gss official helloworld step http://codepen.io/thegridgssdocs/pen/PweaGN works great on common browsers.
But it seems gss doesn't work on electron nor node-webkit either.
Have I missed something?

We use it with phantomjs 2 and it works good.
http://codepen.io/anon/pen/pJdeqg is this any better? More up to date gss.

Hello it works with electron but only in style tag, because when I try with a external link :

it doesn't load the file .
I try without gss in rel attributes like this

it load the file but the magic don't operate :-(
Have I missed something?

Try using latest version of gss <script src="http://rawgit.com/gss/document/ranges2/dist/gss.document.parser.js">

Hello, I try but same thing it doesn't work

External stylesheets are loaded with XHR. Do you have COSR access to the path you request with? It also requires web server, as XHR doesnt work over file://

I have the same issue :/

+1 for external stylesheet not working

the only problem with those platforms, is that they make require available in a browser window, which confuses libraries into thinking they are in node environment, which is not, and the whole thing doesn't work as intended for a browser.
those platforms chrome browsers with node js binding, but the problem is those binding run on a separate process, and v8 crash when things get dirty but sometimes they fail silently.
to resolve this I guess you would have to make the app detect if the environment is truly node, otherwise it should work as in a browser
if (typeof module != null && module.export !== undefined &&  typeof document === "undefined")
  // ...


It may cause crash when using FLKNoConstraint

Here is what I am using:
button.alignTop("20", leading: FLKNoConstraint, bottom: FLKNoConstraint, trailing: "-27", toView: self.view)
In previous version, it works perfectly, but in 1.0 version, it cause crash.

I try to fix it with this code:
#pragma mark Generic constraint methods for two views

- (NSLayoutConstraint *)alignAttribute:(NSLayoutAttribute)attribute toView:(id)view predicate:(NSString *)predicate
{
    NSArray *views = view ? @[view] : nil;
    NSLayoutConstraint *constraint = [UIView alignAttribute:attribute ofViews:@[self] toViews:views predicate:predicate].firstObject;
    return constraint ? constraint : [NSNull null];
}

- (NSLayoutConstraint *)alignAttribute:(NSLayoutAttribute)attribute toAttribute:(NSLayoutAttribute)toAttribute ofView:(id)view predicate:(NSString *)predicate
{
    NSArray *views = view ? @[view] : nil;
    NSLayoutConstraint *constraint = [UIView alignAttribute:attribute ofViews:@[self] toAttribute:toAttribute ofViews:views predicate:predicate].firstObject;
    return constraint ? constraint : [NSNull null];
}

Interesting, I didn't know FLKNoConstraint existed, and I removed all nullability checks from 1.0.
I'd rather have consistent nonnull responses, so I'll remove it entirely.

So I cannot use button.alignTop("20", leading: FLKNoConstraint, bottom: FLKNoConstraint, trailing: "-27", toView: self.view) in the future, and should I split these FLKNoConstraint  to separate part like alignTopEdgeWithView and alignTrailingEdgeWithView ?

Yep 👍


Make /home/root/.docker/writable

Connects to resin-os/resinos#157
@agherzan @floion @michal-mazurek

Rebased on current HEAD.


Function - Wrap in front of text.

I'm trying to make something like that. Is there a way to wrap image in front of text??
If exist sorry i didnt found it.

I'm having the same issue

There is currently no API support for floating images.


Implement extra white space removal from the user's input

In this feature, I will remove extra white space from the user's input:
Example input:

Example output:
Lorem Ipsum is simply dummy text of the printing and typesetting industry

@itsmdasifraza Go ahead


IP-Adapter-FaceID-Portrait with SDXL model?

https://huggingface.co/h94/IP-Adapter-FaceID/blob/main/ip-adapter-faceid-portrait_sdxl.bin

Can you provide an example of using this ip-adapter-faceid-portrait_sdxl.bin? The example I wrote is causing an error.

it is same as sd15 faceid-portrait, you can use https://github.com/cubiq/ComfyUI_IPAdapter_plus

Indeed, as you said, I have successfully conducted the experiment. Thank you.
I also want to know how to train the ip-adapter-faceid-portrait_sdxl.bin. Could you provide some suggestions? Thanks.

you can refer to https://github.com/tencent-ailab/IP-Adapter/wiki/IP‐Adapter‐Face
for portrait, we use portrait data to train, we use face bounding box to crop portrait data （with 2x region）. For SDXL, we train it at 1024x1024

I have currently thoroughly experienced this project, and I feel that the model structure is truly delightful. You must have gone through many experimental paths to achieve such good results. IP-Adapter-FaceID, especially this version: ip-adapter-faceid-portrait_sdxl.bin, exhibits great flexibility in facial similarity. Compared to InstantID, it's much more flexible! This is a very good solution.
I currently have several questions and would appreciate your help in clearing my doubts:

Is IP-Adapter-FaceID supposed to be adapted to the SD model during training? Since the underlying noise reduction layers of SD's Unet rely on CLIP, the IP-Adapter-FaceID you trained can be used with other SD models, but isn't it more suitable for other SD models if the IP-Adapter-FaceID model is fine-tuned alongside them (for finer results)? I believe this is the case, am I correct?

In comparative analysis, I distinctly feel that the characters produced by the ip-adapter-faceid-portrait_sdxl.bin model are better and more similar to the input individuals. However, I also sadly realize that the training code probably requires more professional expertise to use. I hope this aspect can be improved upon to better leverage the advantages of IP-Adapter-FaceID. I hope to receive a more detailed training process for ip-adapter-faceid-portrait_sdxl.bin.

How much data is required to train ip-adapter-faceid-portrait_sdxl.bin?

Does the input for ip-adapter-faceid-portrait_sdxl.bin consist of embedding features of multiple facial images, with the output being the selection of a particular input image? I believe that such an approach might lead to training failure. Therefore, I hope more information can be disclosed regarding the process here.

Have you considered a way to control the proportions of the faces, such as incorporating landmarks like in InstantID?

@xddun hi, the training of faceid-portrait is almost the same as that of faceid, except for the following two differences:
(1) faceid-portrait don't use lora module;
(2) faceid-portrait uses portrait images (we firstly use face detector to get face region, the we expand the image to 2x of the region) to train.

3. How much data is required to train ip-adapter-faceid-portrait_sdxl.bin?

all the IP-Adapter models are trained with base SD models (e.g.  original SD1.5 and SDXL), once trained, it can be used for other finetuned SD models.
you can refer to this https://github.com/tencent-ailab/IP-Adapter/blob/main/tutorial_train_faceid.py, and remove LoRA, and use face detector to crop portrait images.
about 60w images;
no, in the training stage, it just use one face embedding;
I think it can, but I have not try that.

Thank you for your response, they are all very good experiences!

you can refer to https://github.com/tencent-ailab/IP-Adapter/wiki/IP‐Adapter‐Face
for portrait, we use portrait data to train, we use face bounding box to crop portrait data （with 2x region）. For SDXL, we train it at 1024x1024

Is there a support for SDXL when it comes to ip-adapter-faceid? When I use it, am I able to generate full scene with just face fixed? Cause I tried to use p-adapter-faceid and I got just kind of portrait of image. (e.g my prompt was "a girl ridding a horse, full pose" - then the horse and a girl was cutted and when I generated without faceid adapter I got normal full pose).
thanks for help


Adding a Kanister function to delete CSI VolumeSnapshot

Change Overview
This PR consist of a new Kanister function to delete CSI VolumeSnapshot along with it's documentation
Pull request type
Please check the type of change your PR introduces:

[x] :construction: Work in Progress
[ ] :rainbow: Refactoring (no functional changes, no api changes)
[ ] :hamster: Trivial/Minor
[ ] :bug: Bugfix
[x] :sunflower: Feature
[x] :world_map: Documentation
[x] :robot: Test

Issues

#1126

Test Plan

[ ] :muscle: Manual
[x] :zap: Unit test
[ ] :green_heart: E2E

The unit test in this PR depends on methods from restore PR. Following PRs need to be merged first.

LGTM

@pavannd1 @viveksinghggits @PrasadG193 Need atleast one approval here


Choices for default penalty strength

This is an issue reserved for the TU Delft Student Software Project '23
Currently the choices for the default values of parameters governing the penalty strength is somewhat arbitrary (based on literature and related software implementations). In the future, it would be good to make more informed choices and perhaps even add support for tuning.
To make more informed choices, we could use [benchmarks] over default datasets and test different penalty strengths. This might be a good case for a Pluto.jl notebook to allow for interactive exploration.

Close in favor of #180


How can I get v1-style "lax" string coercion behavior in v2?

I received this message from a user attempting to migrate to v2:

I've noticed that integers are no longer coerced into strings when passed to string fields and instead throw an error. How could I change that behavior and is there anywhere I can read about coercion changes?

So far, the best approach I'm aware of for reverting to "lax" handling (thanks @Kludex):
from pydantic import BaseModel, field_validator

class User(BaseModel):
    a: str

    @field_validator('a', mode='plain')
    def check_a(cls, v):
        # Could check the type of v before converting, if you only want to allow str or int
        return str(v)

Is there any simpler way to achieve this?

Regarding docs related to conversion, there will be an updated conversion table in the v2 docs, I'll keep this issue open until someone can add a link to it.

I have a parameters field on SQLAlchemy that stores a JSON file with different types, like dict[str, Any], the getter model with: parameters: dict[str, str], so Pydantic V1 would convert all the values to string, can this now be accomplished with a field_validator like this example above?

You could also use Dict[are, Annotated[str, BeforeValidator(my_func)]] but that wouldn't give you the "empty -> None" behavior.

I think you can now add coerce_numbers_to_str=True to the model_config, which was addressed and merged here #7508

Indeed! Based on coerce_numbers_to_str, this can be closed as completed.


Add templates for Riva ASR and TTS

Also, I'm not sure if we need a tests folder if it is just empty.
@rmkraus unsure why but most or maybe all of of the templates have a tests folder with an empty __init__.py


[BUG] Optional[BackLinks] return beanie.odm.fields.BackLink object

Describe the bug
A clear and concise description of what the bug is.
BackLink with None Create return dont None
To Reproduce

class Sprint(Document, SprintCreation):
    id: UUID = Field(default_factory=uuid4)
    issues: List[Link["Issue"]] = Field(default_factory=list)

class Issue(Document, IssueBase):
    id: UUID = Field(default_factory=uuid4)
    creation_date: datetime = Field(default_factory=datetime.now)
    sprint: Optional[BackLink["Sprint"]] = Field(default=None,original_field="issues", exclude=True)

issue = Issue(**issue_creation.model_dump(),sprint=None)
issue = await Issue.find_one(Issue.id == issue_id, fetch_links=True)
if issue.sprint == None or issue_creation.sprint_id != issue.sprint.id:
            issue.sprint.issues.remove(issue.id)

Expected behavior
I want issue.sprint == None true

Hi! Could you please provide on-module example of this behavior which I can run locally to check, what is happening?

Example:
main.py.txt

from motor.motor_asyncio import AsyncIOMotorClient

from typing import Optional
from pydantic import Field
import asyncio
from beanie import init_beanie,Document,BackLink,Link
from beanie.odm.fields import PydanticObjectId

class Country(Document):
    id: PydanticObjectId = Field(default_factory=PydanticObjectId)
    cities: list[Link["City"]] = Field(default_factory=list)

class City(Document):
    id: PydanticObjectId = Field(default_factory=PydanticObjectId)
    country: Optional[BackLink["Country"]] = Field(default=None, original_field="cities", exclude=True)

__beanie_models__=[Country,City]

async def fillSomeData():
    session:AsyncIOMotorClient  = AsyncIOMotorClient("mongodb://localhost:27017")
    await init_beanie(database=session.example, document_models=__beanie_models__)

    cityOk = City()
    await cityOk.create()
    # cityOk.country = <beanie.odm.fields.BackLink object at > expected None

    country = Country()
    country.cities.append(cityOk)
    await country.save()

    cityErr = City()
    await cityErr.create()
    # cityErr.country = <beanie.odm.fields.BackLink object at > expected None

    id = cityOk.id
    id1 = cityErr.id
    city = await City.find_one(City.id==id, fetch_links=True)
    city1 = await City.find_one(City.id==id1, fetch_links=True)

    print(city.country)#  country = Country(id=ObjectId('6548dd0f4 ...
    print(city1.country)# country = <beanie.odm.fields.BackLink object at > expected None

if __name__ == "__main__":
    asyncio.run(fillSomeData())

they forgot about us...

Hi @Nicialy and @Nasochec ,
First of all, there are not so many "they" here :D. Sorry for the delay.
I investigated this problem. It is a bit of trade off. BackLink is a virtual field. It means Beanie never stores this field to the database, it only populates it on finds with fetch_links=True. It means that if fetch_links != True Beanie has no information about if such relations exist or not. But Links (and BackLinks) can be fetched directly using fetch method. But to be able to run this method this field should be an object of BackLink. And, as Beanie on the filed level doesn't know if there is no such relation or relation was not fetched, it always creates an empty BackLink object for such fields.
I understand, that it is confusing. But I didn't find a good solution to handle it equally for all the cases. Like I can understand, that nothing was returned back using fetch_links==True and put None there, but I can not understand, what should be set there, if fetch_links==False. And I can not handle these two scenarios differently, as it will not be consistent.
I'm open for suggestions. If you have any ideas about this case, please share. We can discuss it in real-time on the Discord server. Or here, for sure.
Thank you for the catch. This topic definitely needs more investigation.


Install manually oracle-database-preinstall-19c

Hello everyone,
There is a proxy in my company and I've an error when I running the Dockerfile.
The error is in setupLinuxEnv.sh file.
The command yum -y install oracle-database-preinstall-19c openssl hostname cannot be execute (thanks my proxy).
So I would like to download manually the fille to add it in my Dockerfile and bypass this download step.
Unfortunately, I don't know where I can download this file.
I've found this file on internet : oracle-database-preinstall-19c-1.0-1.el7.x86_64.rpm but I don't know if it's the right file.
It's for Oracle 19 database.
Thank you :)

You need to download the rmp file first, and take it to 19.3.0 folder.
Next, add the following modifications to Dockerfile for copying files:
COPY oracle-database-preinstall-19c-1.0-2.el8.x86_64.rpm $INSTALL_DIR/

Finally, modify the setupLinuxEnv.sh, YUM will automatically download missing dependencies rpm package through the network:
yum -y install openssl hostname
yum -y localinstall <your_absolute_path_in_images>/oracle-database-preinstall-19c-1.0-3.el8.aarch64.rpm


On scroll/move event handler?

Hi,
Is there a event handler like onScroll or onMove?
I'm trying to build a uml diagram presentation, where i have DIV's connected with lines between them.
The problem is when I loading the page it draws lines perfect, even after scrolling to another div,  however i cannot find any event that could redraw the lines in real time(During the scrolling) and keep it connected even during the animation.
Thank you.

Hi @iluxav , in an effort to clear up older issues/PRs we are pinging back to know if you are still tracking this request.
To give a little bit of context, recently a decision was made in the project to make the development more active and the first task is to clear up older issues like this one to see if the OP is still interested in keep it going.

Closing due to the lack of feedback from the OP. If you want to work in the PR again, feel free to comment here to open up the discussion again


Updated DeveloperGuide to include use cases for features that I am working on

Looks good, would like to merge your changes before others work on the DG to minimise conflicts. Git doesn't work well with text documents apparently.


Comment Methods

What do they do and what args do they take.  What format is the JSON that goes into them.  <-- that should also be in the documentation.

Was thinking to use Rdoc for this, unless someone else has something better.

Docs are done.


Improve INTERNAL_ERROR in JSON-RPC server

          `INTERNAL_ERROR` is suitable for e.g handler panic - treat it like HTTP `500 Internal Server Error `.

Use other error codes (outside of the -32000..=-32099 range), here.
OTOH, if lotus always just always returns INTERNAL_ERROR, we might decide to copy that.
After this discussion, I'll leave this up to your judgement
Originally posted by @aatifsyed in https://github.com/ChainSafe/forest/pull/3943#discussion_r1494469217

Adding a link to the specification: https://www.jsonrpc.org/specification#error_object

Lotus doesn't always return INTERNAL_ERROR e.g
In [15]: client["Filecoin.ChainGetTipSet"]([])
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
Cell In[15], line 1
----> 1 client["Filecoin.ChainGetTipSet"]([])

File ~/chainsafe/forest/test.py:89, in _Method.__call__(self, *args)
     87 error = json_rpc_response.pop("error", None)
     88 if error is not None:
---> 89     raise RuntimeError(error)
     91 return json_rpc_response["result"]

RuntimeError: {'code': 1, 'message': 'NewTipSet called with zero length array of blocks'}

This is not actionable, as we have to follow Lotus' lead. Closing.


python311Packages.aemet-opendata: 0.4.6 -> 0.4.7

Diff: https://github.com/Noltari/AEMET-OpenData/compare/refs/tags/0.4.6...0.4.7
Changelog: https://github.com/Noltari/AEMET-OpenData/releases/tag/0.4.7
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 274057 run on x86_64-linux 1

2 packages built:

python311Packages.aemet-opendata
python311Packages.aemet-opendata.dist


Metrics Export REST API

Building off of #300 with some fixes and the plumbing for the REST API. Still working on the metrics conversion.

This should be ready for review. It is the interface and the logic to get the data from the cache. But there is no cache so we don't return useful information today :)
/cc @vishh @a-robinson

@a-robinson that doesn't seem unreasonable. I changed the data structure PTAL. We not expose all the metrics for the same target schema together.

LGTM

Thanks for the adjustment, @vmarmol. De-duping the label values like this should also reduce the data sent over the wire by quite a bit.

LGTM

PTAL at the API @a-robinson, still working through integration issues, but the API should be good to go.

API LGTM, thanks!

Rebased and retested. All is working as expected and we return metrics as expected. PTAL @vishh

Thanks @vmarmol! LGTM


Sample of usage Parquet-1396 and Parquet-1178 for column level encryption with pluggable key access

This Jira provides a sample to use Parquet-1396 and Parquet-1178 column level encryption with pluggable key access. The Spark SQL application shows how to configure Parquet-1396 to encrypt and columns. The project CryptoMetadataRetriever shows how to implement the interface defined in Parquet-1396 as an example.
The project to be uploaded soon.

Reporter: Xinli Shang / @shangxinli
Related issues:

EncryptionPropertiesFactory and DecryptionPropertiesFactory (Blocked)
Passing Field Metadata to Parquet (Blocked)
Parquet modular encryption (depends upon)

Externally tracked issue: https://issues.apache.org/jira/browse/PARQUET-1396
Note: This issue was originally created as PARQUET-1397. Please see the migration documentation for further details.

Gabor Szadovszky / @gszadovszky:
As it is related to encryption which is not targeted to 1.11.0 I'm removing target from here.


automatic_node_names allow for subgraphs

Instead of:
flowchart LR
    AddData-->MLModel
    AddData-->MLModel_1
    AddData-->MLModel_2

    MLModel-->EnsembleModel
    MLModel_1-->EnsembleModel
    MLModel_2-->EnsembleModel

    EnsembleModel-->AL-->Prediction
    EnsembleModel-->AL_1-->Prediction_1
    EnsembleModel-->AL_2-->Prediction_2

have something like
flowchart LR
    AddData-->MLModel
    AddData-->MLModel_1
    AddData-->MLModel_2

    MLModel-->EnsembleModel
    MLModel_1-->EnsembleModel
    MLModel_2-->EnsembleModel

    EnsembleModel-->AL1_AL
    EnsembleModel-->AL2_AL
    EnsembleModel-->AL3_AL

    subgraph AL1
        AL1_AL-->AL1_Prediction
    end
    subgraph AL2
        AL2_AL-->AL2_Prediction
    end
    subgraph AL3
        AL3_AL-->AL3_Prediction
    end

This would fix issues with accidently overwriting nodes.
Possible Solutions:
with zntrack.Project() as proj:
   a = ...
   with proj.create_group("AL1")
        b = ...

with zntrack.Project() as proj:
   a = ...
   b = Node(..., name_prefix="AL1")

with zntrack.Project() as proj:
   a = ...
   b = ....

  project.group([b], name="AL1")

We could also expand on this and have group = ... and group.run() to only run parts of the graph.


⚠ Bofrost.at has degraded performance

In 5b4dff1, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 991 ms

Resolved: Bofrost.at performance has improved in 2c8659e.


Allow element to have no name

Currently, Parsedown does not permit text and elements to go side by side in its output structure. Sometimes this is useful, e.g. #507
Changes allow the element name either as null or undefined altogether to mean that only text should be output.

Once again, HHVM failures upstream (the rest of the builds pass).


WIP: Grype query vulnerabilities

What this PR does / why we need it:
Which issue this PR fixes (optional, in fixes #<issue number>)(, fixes #<issue_number, ...) format, will close the issue when PR is merged: fixes #:
Special notes:

Ended up with two PRs for this somehow. I am closing this in favor of https://github.com/anchore/anchore-engine/pull/1031/commits . I'll address feedback from here there when I can pick this story back up.


Add MI300X system tuning guide

This PR adds two areas of the MI300X tuning guide
https://github.com/ROCm/ROCm/pull/3416 and https://github.com/ROCm/ROCm/pull/3372 to develop.

Leaving some suggestions to update the environment variables used in vllm as vllm has been updated.

@hongxiayang thanks for the updates


SEO title not working when updating to doks-core 1.3.0

Description
I was using @hyas/doks-core 1.1.1 and SEO title was working fine (the  tag content was changed)
When I updated to @hyas/doks-core 1.3.0 it was not working anymore, if i change the SEO title, nothing changes in the HTML.
Steps to reproduce

Create a page with SEO title

---
title: "Test"
description: ""
[...]
seo:
  title: "Test 2"
  description: ""
  canonical: ""
  noindex: false
---

asdasd

Run the server using<EMAIL_ADDRESS>
See that the page title is changed to "Test 2"

Run the server using<EMAIL_ADDRESS>
See that the page title is not changed
Expected result
The  tag content should be changed with the content specified in SEO title.
Actual result
Nothing was changed in the webpage.
I don't know if I am being dumb but it seems like a bug, let me know if i am missing something here

Did you also update @hyas/seo to 2.1.0?
npm install @hyas/images@latest

Did you clear the cache and then run the development server?
npm run clean:build && npm run dev

I cannot reproduce your issue — could you share your repo?


Connection Error Displayed Upon Server Restart

Describe the bug
Upon file modification and server restart, this message keep getting displayed and slows down dev process. how can this be stopped ?
Connection Error
Cannot connect to server: timeout. Check if server is reachable at http://localhost:8000
To Reproduce
Steps to reproduce the behavior:
reflex run

Expected behavior
Page reload should not display this message.
Screenshots
If applicable, add screenshots to help explain your problem.
Specifics (please complete the following information):

Python Version: 3.10.4
Reflex Version: 0.2.7
OS: Win11
Browser (Optional):

Additional context
Add any other context about the problem here.

if you don't want the overlay when the websocket is down, you can pass
app = rx.App(overlay_component=None)

I'm curious about this part though

this message keep getting displayed and slows down dev process

The message should only be displayed when the backend is disconnected, which means that the app would be non-interactive for the same amount of time. Are you finding that the app takes longer to restart with the modal pop up?

Thank you! this seems to have resolved the issue. i no longer see a popup every single time the page refreshes.
This also seems to make the button on_click event handler work as well. Related to #1514

The default overlay_component displays any websocket connection errors very visibly, so that when the page is "non-interactive" it's clear why.
Without the connection modal, the websocket can just be down and the user wont really notice, other than the buttons and other interactivity just don't work.
I'm not sure how removing the overlay component could have much effect on #1514. Is that very reproducible? Because sometimes it can take a bit for the backend to get ready, and the frontend would be unresponsive until then. So if that were the case, then you'd see the connection error popup, instead of the buttons just not working.

Just chiming in to say that I also have this problem.
I just tried Reflex for the very first time, and installed it in a fresh Python (3.11) environment.
All I get is this:
Connection Error
Cannot connect to server: websocket error. Check if server is reachable at http://localhost:8000

And that's on a brand new project with zero customization. Hiding the modal seems like a bad solution, tucking the problem away...

@ekreutz were you able to bring up http://localhost:8000/ping and get the "pong" response? Did the modal go away after some time (<2 minutes usually)?

Hi there,
I'm getting the
Connection Error
Cannot connect to server: websocket error. Check if server is reachable at http://localhost:8000
On a very simple hello world app with backend_port = 3040
I'm not sure if it is related, as a workaround, I'm sticking with port 8000 but it means I can only have one reflex instance on this server.

@99hats if you change the backend_port, then you must also change the api_url to point to that port.
The api_url should be a publicly accessible URL where the backend is running that the frontend will connect to.
If you're hosting the backend on example.com:3040, then set api_url="http://example.com:3040"

@masenf Thank you so much for your help. I must have glanced through the documentation too quick.

hello,
i'm having this issue as well, using ubu2004 in WSL2. i can reach the API just fine in the browser and use it eg. via the swagger UI. i can also use it with curl from the shell. but the frontend itself cannot reach the URL it displays. i tried using localhost, IP, DNS name, forwarding the API port in VSCode (it's auto-forwarded but i also tried user forward). i disabled IPv6 everywhere ... nothing helps, running out of ideas. what else can i try?

@gbrandt1 when you open the dev tools, network tab in your browser do you see anything regarding the /event?EIO=4&transport=websocket connection?

yes, i see that it fails:

That double backslash is a bit suspicious. What are you using as api_url? It shouldn't have a trailing slash.

I did have a backslash which i removed now. Now i'm using
api_url="http://localhost:8000"
but it doesn't help:

Hi @masenf,
just to let you know after rebooting Windows and restarting reflex it works now. not sure if it was an issue with WSL networking or I didn't properly refresh things after removing the trailing backslash.
Thanks for the help!

I also got those wired timeout and websocket errors. In my case, it turned out that I was developing on reflex 0.3.1, but it was 0.2.9 (or something like this) on the VM where I'm hosting the app.
I've updated the lib to 0.3.2 on the VM, manually deleted the .web dir, reinitialized the app, and now it works.

I have this issue with a brand new project as well. I'm noticing that this "issue" only happens in my Brave browser. If I open localhost:3000 in Chrome, I never get this error message.
Brave

Chrome

I have this issue with a brand new project as well. I'm noticing that this issue only happens in my Brave browser. If I open localhost:3000 in Chrome, I never get this error message. I should also mention: I've disabled ad-block and Brave Shields on localhost. Same result.
I haven't really experienced anything like this before (with Brave), hopefully it's fixable.

Update: This seems to have been resolved. I can use reflex with Brave now.

I encountered the same issue while working on the tutorial. I ran reflex run on Ubuntu in WSL2 and opened the app in the Brave browser on Windows. This issue did not occur when I opened it in Edge. Additionally, running reflex run --backend-port 3050 resolved the issue in Brave as well. The status of Brave Shields (enabled/disabled) did not affect the result.

If the issue is specific to Brave browser I'm not sure this is something we have to fix on our side, if everything work for all other browsers.


Responsive settings via data-slick

Isn't it possible to set responsive settings via data-slick? I can't seem to make it work. Please check jsfiddle I created: http://jsfiddle.net/trxfdznr/ (Works properly without the responsive setting)
Hope someone can help. This is really important for me.

http://jsfiddle.net/trxfdznr/1/

Thanks!


IRecognizerConvert.TopIntent() returns wrong value

Against daily build v<IP_ADDRESS>972
The following code should return a top intent of Reservation; however, it is returning None.
// Use LUIS to extract intent from the user's input text.
var result = await this.Recognizer.RecognizeAsync<CafeLuisModel>(context, CancellationToken.None).ConfigureAwait(false);

// Handle the user's input based on the extracted intent.
var topIntent = result.TopIntent();
switch (topIntent.intent)

Here's runtime info from a breakpoint:

Narrowed this down further. It is an issue with the model I had generated from the LuisGen tool. RecognizerResult has changed.

@jonathanFingold what is your current status; are you still blocked? Are you using GetTopScoringIntent()?

Maybe? The LuisGen tool doesn't produce a code file appropriate to the current state of the daily NuGets. I'll need a version that does so  in order to update the documentation that should go live when we update the public NuGets.
LuisGen currently produces a class that provides a TopIntent() method (which doesn't call GetTopScoringIntent()).

@Zerryth Please take a look at this and see if you can resolve. You may have to work with @chrimc62 to drive resolution.

@cleemullins Will do, Chris! Investigating...

@JonathanFingold Could you please let me know what steps  you are doing precisely to yield the undesired results?
I have done the following and successfully got Reservation as an intent, and have not be able to repro your issue

Using your example from this branch here, I added packages from daily build v<IP_ADDRESS>972

Using the emulator I send in the utterance "book a table"

Both result has intent score for "Reservation" as the top-scoring intent as well as your variable "intent" is properly being set to "Reservation"

One small note is that I did have to switch from AI to Ai though in a few using statements in  your sample code.
For example instead of using Microsoft.Bot.Builder.AI.QnA use using Microsoft.Bot.Builder.Ai.QnA

@Zerryth , I will try to get to this today or tomorrow, but we're busy trying to get/keep the docs up to date for Ignite.

I tried to reproduce and everything seems to be working ok. @JonathanFingold if you have a specific model for which you see a repro with the latest bits, please attach it / link it to the bug and reactivate - we'll take a look. In the meantime, closing because we cannot repro the issue, since likely it was fixed since you first saw it. Thanks!

@carlosscastro , Sounds good, thanks.


Random wallpaper PHP script

For anyone interested, here's a quick & dirty PHP script to mimic very basic unsplash.it functionality with your own folder with pictures.
Of course it doesn't do cropping resizing etc. on the fly but in PHP almost anything is possible. WallPanel will center the image to fill in the display without distorting the aspect ratio.
The best would be to prepare files corresponding to the resolution of the display.

Would be nice if we had a section in the documentation to capture some of this for users interested in extending functionality of wallpanel through additional applications or functionality.

do you have any Idea how could I change in WallPanelApp/src/main/java/com/thanksmister/iot/wallpanel/ui/views/ScreenSaverView.kt around line 134 so that in UNSPLASH_IT_URL we could pass the value of mqttClientId as a parameter to the URL?
I am copiling my own build with my own internal URL to the wallpaper script above. I'd use an unique ID for each display (the existing mqttClientId would be perfect for this) so that on the server side I could serve apropriate pictures for each display (different content).
Since I'm no java programmer I have no clue how could I bring the value of mqttClientId variable from other parts of the app here. In good old Visual Basic days it was possible to declare a variable as public. I don't see a way to do it here....

We save this value in SharedPreferences for Android within the settings.  So you can get this value by doing getting it from the Configuration class, which is like a wrapper for the SharedPreferences, you would call configuration.mqttClientId wherever configuration is available.
The screensaver gets called from BaseActivity in method showScreenSaver() and the class BaseActivity has access to the configuration class.  You would pass the configuration.mqttClientId value into the showScreenSaver method, which then passes it into the ScreenSaverView in the constructor.

You are doing very well for a non-java programmer.

Ah nevermind. Meanwile I solved this from the server side. Since I use a fixed IP address (static DHCP lease) for the tablet, I can decide within PHP for which tablet we do serving: based on $_SERVER['REMOTE_ADDR'];


Add "Add Event Before/After" options to event context menu

Is your feature request related to a problem? Please describe.
Currently adding an event in the middle of a very long or complex event chain is very clumsy. You must scroll all the way to the bottom of the event list, add an event, and then drag it back to the position you want it. This takes time and is prone to mistakes as it's easy to lose track of where you wanted it to be.
Describe the solution you'd like
Add an "Add Event Before/After" option to event context menu

Describe alternatives you've considered
Alternatively, we could add in-list rollover "+" buttons

Thanks!

That plus button type one was being experimented with, possibly by holding a key.
Would be great instead of cluttering the context menu even more, but adding events between things has always been a bit tricky if there's no if statement near by to click add event on.

Aye I agree about the need to avoid cluttering the context menu. There’s already quite a lot in there if you’ve recently copied an event.
So personally I feel like holding a key would maybe be a tad unintuitive, especially for a function that potentially could be used quite often it'd perhaps be unecessarily abstracted. Having a button that appears on rollover feels markedly more useable, while still unobtrusive and (especially if you include the ‘line split’ divider as in the above mock up as part of that rollover) immediately understandable.
Perhaps jumping ahead a little here, but one thing I'd suggest from a UX point of view is that it should act as an overlay, not as an extra item in the event list, so when you rollover the space and the button/divider appear, they don’t then shift all the events below downwards by however many pixels. Saves things from jumping around underneath you as you’re interacting with the UI.


Cannot Change Fallback Resolver

I am not able to change the Fallback Resolver. Whatever I change it to it reverts to <IP_ADDRESS>.

Manually changed Fallback Resolver in dnscrypt-proxy.toml. Is this OK? Thanks.

It appears that it reverts back if you actually close and reopen (not close to tray)

Same here.
Also I can't enable query log, stuck at "waiting for DNS queries" and no log is created in the directory.


Syntax error in solr .install file

Issue Type

Bug Report / Support Request

Your Environment
Vagrant 1.8.7
bash: vboxmanage: command not found
VirtualBox
bash: ansible: command not found

Your OS

Windows (version)

Full console output
https://gist.github.com/jesrig/055786c71229bfd5d3bdda6256c67fe8
Summary
I have am using drupalvm 3.5.2, Vagrant 1.8.7, and Virtualbox 5.1.6. I am trying to provision and I'm getting the following error:

ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.
The error appears to have been in '/vagrant/vendor/geerlingguy/drupal-vm/provisioning/roles/geerlingguy.solr/tasks/install.yml': line 27, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:

name: Run systemd daemon_reload (RHEL 7 workaround).
^ here

The error appears to have been in '/vagrant/vendor/geerlingguy/drupal-vm/provisioning/roles/geerlingguy.solr/tasks/install.yml': line 27, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:

name: Run systemd daemon_reload (RHEL 7 workaround).
^ here
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

@jesrig - Please see: https://github.com/geerlingguy/drupal-vm/issues/1018

@geerlingguy How do I upgrade Ansible? I don't think I ever installed that persay, I thought it was packaged in the drupalvm package. This is why my environment stated bash: ansible: command not found.

@jesrig - Ah, in that case, it's the installed version inside the VM, oops! Can you do vagrant ssh and then ansible --version?

 It seems like it should be installing the latest version from pip, but maybe it's using a different source.
Alternatively, you could log in and install it/upgrade it yourself (if with pip, pip uninstall ansible then pip install ansible would do it).

@geerlingguy I'd rather not have to destroy it. I've had to do this a bunch of other times in hte past when I had Vagrant issues and I have reimport the db etc.
This is the error I get when I try to uninstall ansible:
Exception: Traceback (most recent call last):   File "/usr/local/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main     status = self.run(options, args)   File "/usr/local/lib/python2.7/dist-packages/pip/commands/uninstall.py", line 76, in run     requirement_set.uninstall(auto_confirm=options.yes)   File "/usr/local/lib/python2.7/dist-packages/pip/req/req_set.py", line 336, in uninstall     req.uninstall(auto_confirm=auto_confirm)   File "/usr/local/lib/python2.7/dist-packages/pip/req/req_install.py", line 742, in uninstall     paths_to_remove.remove(auto_confirm)   File "/usr/local/lib/python2.7/dist-packages/pip/req/req_uninstall.py", line 115, in remove     renames(path, new_path)   File "/usr/local/lib/python2.7/dist-packages/pip/utils/__init__.py", line 267, in renames     shutil.move(old, new)   File "/usr/lib/python2.7/shutil.py", line 303, in move     os.unlink(src) OSError: [Errno 13] Permission denied: '/usr/local/bin/ansible' /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning.   SNIMissingWarning /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.   InsecurePlatformWarning You are using pip version 8.1.2, however version 9.0.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command.

@jesrig - Are you on CentOS 6 by chance? That might be the source of the SNI issue :/

Nope, Ubuntu 1404

I'm going to do a little testing on my Windows 10 laptop and see if this is working yet, or if I need to rebuild my boxes...

@jesrig - Installing new VMs seems to grab the latest version of Ansible (e.g. 2.2.0 currently), so my best suggestion would be to run vagrant destroy -f to destroy the current VM instance, then run vagrant up to build a new VM. It should download the correct version of Ansible.
You can check what version of Ansible you have installed by running vagrant ssh to log into the VM, then run ansible --version to see the current version.
Closing this as I can't reproduce the issue on 16.04 or 14.04 currently, with a new VM. I'm guessing this was a temporary issue caused by Vagrant installing the older version of Ansible previously.

@geerlingguy Hi sorry, the Ansible version fix didn't fix my issue. Is that specifically for Windows? I'm using Mac and am trying to install a new box for Drupal 8. Should I open a new issue?

@farah0808 - Yes, please open a new issue and post the exact error and other details; it is likely something different (but could be related).


Fix/find all time entries

Two small fixes:

projectRequired and considerDurationFormat were mixed
clockify api requires ISO-8601 format for dates otherwise PM part 12-24 will be lost. Please check the example: https://dotnetfiddle.net/P8b7mM

Wow. Thanks. Great contribution. I'll merge it and make a new version 1.1.2


Problems with consumer when redis server restarted.

when the redis server is stopped ,then start it again,the consumer of Redisq can not receive any message while the producer can really continue producing messages.

How to solve this problem?

What do you see in the logs in this case?
The thread consuming messages should keep running indefinitely even if there are connection errors during dequeuing. See the code for this.
The DefaultConnectionFailureHandler class is what controls the behaviour on connection errors (default is log a certain number of warnings and then an error and wait after each connection error)

Closing due to inactivity. Comment again to re-open if needed.


⚠ Processors has degraded performance

In 519e622, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 147 ms

Resolved: Processors performance has improved in a41e824.


Two memory addresses that point to the same flash area

Hi, for example int Tricore MCU address at 0x80000000 and at 0xA0000000 point to the same FLASH memory, how to best manage this in Ghidra? If I create two memories and initialize those from file, all seams well but if I decompile function (for example) at 0x80000123, at 0xA0000123 is not decompiled because for Ghidra are two different memories but in the real MCU are the same memory address.

I believe what you are asking for is Mirrored Memory Regions: https://github.com/NationalSecurityAgency/ghidra/issues/1956. Overall it looks like you need byte mapped blocks and unfortunately the analysis work needs to be duplicated if I'm not mistaken.


Chore/change husky

~Use lint-staged with husky to not invoke frontend pre-commit checks when working on backend and vice-versa. Husky advises to have it installed on the root folder, the same for lint-staged (https://github.com/okonet/lint-staged#how-to-use-lint-staged-in-a-multi-package-monorepo).~
Switched to https://github.com/evilmartians/lefthook as it seems to be easier to configure and extend with different hooks. There is still problem with Typescript type check that cannot easily run on staged files, instead it runs on the whole project which takes a lot of time (and that will grow, maybe it should be pre_push hook, not pre_commit?).
Testing instructions
Make sure to uninstall previously installed husky config git config --unset core.hooksPath. Then run yarn install at root directory. Do any dummy change that would invoke errors either on the backend or frontend side (or both) and try to add commit.
Tracking
Not tracked

I think I found a way better and faster hook manager https://github.com/evilmartians/lefthook I will test it and update PR @clementprdhomme

Updated @clementprdhomme

.husky folder was deleted, at least I don't have it.


Variables: Notify scene after each variable completion or value change

Removes the batching of the notifications so they happen right away after a variable update is completed or value is changed. This requires a breaking chance to SceneVariableDependencyConfigLike but I think it's worth it.
Proper fix for https://github.com/grafana/scenes/pull/524
PR changes:

Makes scene updates more efficient as parts of the scene now get notified right away when a variable is changed instead of having to wait for all variables. There is an increased cost as this requires more calls to sceneGraph.hasVariableDependencyInLoadingState to check if any other variable dependency is still loading but it's worth it I think.
VariableDependencyConfig now handles the "waitingForVariables" state logic

So the main flow after this is this
SceneVariableSet will always notify the scene after each variable completes an update process and / or when the variable changes value. This is done in the same callback (and in case a loading variable changes value after loading is complete this is done in a single call)
VariableDependencyLike interface
 variableUpdateCompleted(variable: SceneVariable, hasChanged: boolean): void;

Scene objects care about two updates, when a variable that they depend on directly has changed or when a variable has completed an update process (no matter if it changed or not). This is because sceneGraph.hasVariableDependencyInLoadingState(X) returns true if a variable or its dependency is in a loading state. SceneQueryRunner will wait to issue the query until that function returns false. But to check again the SceneQueryRunner will need to know whenever a variable completes it's "loading/value validation" phase.
This is not different from how it works now, only difference is that we now check this after each variable completes.
VariableDependencyConfig (the default implementation) will take care of checking whether the changed variable is a dependency (so in it's callback the hasChanged boolean is now named dependencyChanged). In https://github.com/grafana/scenes/pull/526 I also expand the role of VariableDependencyConfig to handle the "isWaitingForVariables" state so that it is not duplicated and spread in multiple places.

This causes VizPanel to re-render for each of its variable dependencies as they change, we could have an option in VariableDependencyConfig to batch notifications together after the last dependency in a loading state is completed. But I think we can leave this optimization for the future.

Release notes
VariableDependencyConfigLike interface has changed so that scene objects now get notified after each variable update is completed (or changed value). Before, the SceneVariableSet waited for all variables to complete before notifying scene objects.
The function variableUpdatesCompleted has changed name and signature:
variableUpdateCompleted(variable: SceneVariable, hasChanged: boolean): void;

VariableDependencyConfig has also some breaking changes. The function named onVariableUpdatesCompleted has changed name and signature to:
 onVariableUpdateCompleted?: () => void;

VariableDependencyConfig now handles the state logic for "waitingForVariables". If you call VariableDependencyConfig.hasDependencyInLoadingState and it returns true it will remember this waiting state and call onVariableUpdateCompleted as soon as the next variable update is completed, no matter if that variable is a dependency or if it changed or not.

@dprokop added some more description to the flow of the change

@dprokop added some docs and release notes

Would wait for @domasx2 review before landing this, ok?

@domasx2 had a chance to look at this? this should fix your issue

Hey! Unfortunately I refactored out this use case in app o11y, so no longer have something to test against


Benchmark developing

1. Pressure test through sysbench,  support docker,RKT, Kurma and Jetpack.
2. Container sys monitor through cadvisor, support docker and RKT.
2.1 support docker container monitor through cadvisor
2.2 make cadvisor to support rkt container, and support RKT monitor in the testing project .

@maquanyi @mengfanliang
Progress：

Finished container sys monitor through cadvisor, support docker
Finished Pressure test through sysbench, support docker,RKT

Plan:

add scripts and json files to support testcases
start specs test analyzation -- @wangkirin
start RKT support for cadvisor -- @liugenping @zenlinTechnofreak

so far, we can resolve banchmark task(only support RKT and docker)

Moved to oct-engine, close it here.


Do not offer an invalid fix for PLR1716 when the comparisons contain parenthesis

Related to https://github.com/astral-sh/ruff/issues/13524
Doesn't offer a valid fix, opting to instead just not offer a fix at all. If someone points me to a good way to handle parenthesis here I'm down to try to fix the fix separately, but it looks quite hard.

Thanks for the reviews!


Doesn't work if inital header has background hsla color

I mean it works :) , but it doesn't show the background color correctly. I even tried changing the demo to make sure, but there is no transparency.
Is this a known thing, or I am missing something very obvious here ?

Sorry, don't know what I was thinking. When I changed my initial header from fixed to relative, I totally forgot that it is not above the other content, thus no transparency over the image.


Cannot create effect in non-reactive scope.

I get this warning or error whenever I try and use **effect** in my return function for my component.
return function (props: {
    Title: string,
    Open: boolean,

    Position: UDim2,
})
    local panel
    local size = source(35)

    effect(function()
        if not panel then return end

        panel.Size = UDim2.fromOffset(250, size())
    end, size)

    panel = create "Frame" { ... }

Is your component being created within a root() or mount() call? A 'root scope' created by these functions needs to be present for functions like effect() to work.

No it wasn't, I was having issues with mount. But I will try it

No it wasn't, I was having issues with mount. But I will try it

Did that get resolved?

No it wasn't, I was having issues with mount. But I will try it

Did that get resolved?

It did, thanks!


Merge Revert to Default and Content Type analyzer

"Revert to Default" should be a tool under "Content Type Analyzer" since the point is to revert changes where there is conflicting changes in the DB.

@bjuris Which epi API need to be called here? Or idea was just to move existing functionality under "analyzer"?

@valdisiljuconoks Just to move it, Revert to Default should be a tool in the Content Type Analyzer was the basic idea, again an older comment I moved from a readme so if this does not make sense to you just close the issue instead


raindrops: sync

Sync the raindrops exercise with the latest data, as defined in https://github.com/exercism/problem-specifications/tree/main/exercises/raindrops.

Feel free to close this PR if there is another PR that also syncs this exercise.
When approved, feel free to merge this PR yourselves (you don't have to wait for me).

As this PR only updates docs and/or metadata, it won't trigger a re-run of existing solutions (see the docs).

appveyor urls are failing. Will try to find out why


Fix softmax_cross_entropy list input names

Add FListInputNames attribute to softmax_cross_entropy operator.
Add softmax_cross_entropy unit test.

Thanks for fixing this, I am also impacted by this problem and look forward for your patch.

Thanks for the fix @kevinthesun! What is holding this PR back?

@piiswrong Do we still need this fix?

I came across this error when compiling the current master, and so I needed to manually pull this PR locally to fix this problem.

Moved to https://github.com/apache/incubator-mxnet/pull/8254/


[BUG] New Ikea Firmware breaks Switches

Describe the bug
Ikea light & blind switches cannot control zigbee groups after firmware update.
To Reproduce
Steps to reproduce the behavior:

Update switch to latest firmware.
Switch can be bound to groups but cannot control them.

Expected behavior
Switches should work as before the firmware update. They should be able to control zigbee groups.
Additional context
I noticed this exact bug reported on the deconz github which was later resolved, perhaps the fix is similar?
Bug report on Deconz: https://github.com/dresden-elektronik/deconz-rest-plugin/issues/5449
Fix on Deconz: https://github.com/dresden-elektronik/deconz-rest-plugin/pull/5538/commits/5ea825f7e9d7c2df80797d266d045070148b3f88

Device signature:
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4476, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": 260,
      "device_type": "0x0203",
      "in_clusters": [
        "0x0000",
        "0x0001",
        "0x0003",
        "0x0009",
        "0x0020",
        "0x1000",
        "0xfc7c"
      ],
      "out_clusters": [
        "0x0003",
        "0x0004",
        "0x0006",
        "0x0008",
        "0x0019",
        "0x0102",
        "0x1000"
      ]
    }
  },
  "manufacturer": "IKEA of Sweden",
  "model": "TRADFRI open/close remote",
  "class": "zhaquirks.ikea.opencloseremote.IkeaTradfriOpenCloseRemote"
}

ZHA is doing all it can with all updated IKEA and we have updating some devices that have changeling behavior for getting them working OK
But IKEA have taking away the group binding and implanting device binding and we cant implanting it in IKEAs firmware then we dont have the code they is using and also we doing have the certificate they is signing there firmware for doing OTA updates.
Pleas contact IKEA and doing on reclamation of your controlling devices.

If you is having the skills and one SWD-probe you can flashing one old firmware in all you IKEA controllers that we have extracted from old OTA files.
More info (from ZHA and Z2M users) https://github.com/zigpy/zigpy/discussions/660#discussioncomment-1565541.

I see, thank you. I will try to downgrade the firmware later today.


feat(NumberInput): add invalidText and invalid

Add support for the invalid flag and for invalidText
Fixes #373
Blocked by Carbon core not properly supporting invalidText with NumberInput (styles are wrong)

Updated. Requires carbon>8.1.11 so might be minor/major semver change