Pass list of the components or references to boolean function

In the previous version of GDSFactory (v7) there was a possibility to pass a list of Component/ComponentReference to a boolean function. It can be a very useful option to add it back to the newest release.

Hi,
this is also true on GDSFactory8
    c0 = gf.Component()
    core = c0 << gf.c.coupler()
    clad = c0 << gf.c.bbox(core, layer=(2, 0))
    clad.dmovex(5)
    c = boolean(clad, core, operation="not", layer=(3, 0), layer1=(2, 0), layer2=(1, 0))
    c.show()


[IMPROVEMENT] add tests for library.

It’s good to add tests for library.
The main point is to be sure, that everything works as expected. On the other hand, tests can help clients to understand how library works.
Best regards,
Roman.

Thanks you for your time.
Sure will add to backlog, also you can find a usage example here: https://github.com/KhaldAttya/Aeye-example
Best regards
Khaled


Consider how to deal with backpropagation of batches

(maybe this can be documentation rather than an issue)
How gradients of batches are calculated
In the general optimizer there is a function optimizer_calc_batch_gradient() that calculates the gradient of the batch. The trick used here is to have a integer index array, called pivot own to abstract optimizer, that keeps track of the shuffled order of the samples. When calculating the batch gradient the gradient for the samples are calculated separately (one by one) and the mean of all samples is returned as the batch gradient. To speed things up, the batch gradient is threaded using OpenMP. Works really good as the batch samples are selected from the shuffled index array and the sample data (input vector and target vector) are never moved around in memory. Short said: The gradient of a batch is calculated sample-by-sample in a threaded manner.
Alternative solution
An alternative would be to use the BLAS libraries more extensively and calculate the batch gradient with matrix operations. This will of course require an new implementation of backpropagation with the batch_size as a parameter. (The current backpropagation function can only take one sample/target and calculate the gradient.) The drawback of this approach is that we then need to reconstruct the samples from the index array, and this will involve a lot of memory copying which can be a performance killer. Then there might be an other alternative to actually do the memory shuffling of the training dataset in the shuffle() function. Not sure what is most efficient.
Another consideration
The threading used in the batch gradient calculation is based on OpenMP. This might come in conflict with other threading technologies. Could it be an idea to use classic pthreads instead of OpenMP?

I will guess that shuffling the dataset in memory is pretty fast - and it happens only once each epoch. But then - if I instead of shuffling the input data between each epoch, I can use the pivot to copy batch size samples - won't that be about the same thing?


Invalid Signature Microsoft Edge Webdriver

Description
Image build on windows 2022 on tag win22/20241015.1 fails due to Signature thumbprint do not match expected. error
    azure-arm.image: Downloading package from https://msedgedriver.azureedge.net/LATEST_RELEASE_130_WINDOWS to C:\SeleniumWebDrivers\EdgeDriver\versioninfo.txt...
    azure-arm.image: Package downloaded in 0.13 seconds
    azure-arm.image: Download Microsoft Edge WebDriver...
    azure-arm.image: Downloading package from https://msedgedriver.azureedge.net/130.0.2849.46/edgedriver_win64.zip to C:\Users\packer\AppData\Local\Temp\edgedriver_win64.zip...
    azure-arm.image: Package downloaded in 0.22 seconds
    azure-arm.image: Expand Microsoft Edge WebDriver archive...
    azure-arm.image: Expand archive 'C:\Users\packer\AppData\Local\Temp\edgedriver_win64.zip' to 'C:\SeleniumWebDrivers\EdgeDriver' directory
==> azure-arm.image: Signature thumbprint do not match expected.
==> azure-arm.image: At C:\Program Files\WindowsPowerShell\Modules\ImageHelpers\InstallHelpers.ps1:972 char:9
==> azure-arm.image: +         throw "Signature thumbprint do not match expected."
==> azure-arm.image: +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> azure-arm.image:     + CategoryInfo          : OperationStopped: (Signature thumb...match expected.:String) [], RuntimeException
==> azure-arm.image:     + FullyQualifiedErrorId : Signature thumbprint do not match expected.
==> azure-arm.image:

Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] Ubuntu 24.04
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[ ] macOS 15
[ ] macOS 15 Arm64
[ ] Windows Server 2019
[X] Windows Server 2022

Image version and build link
Tag: win22/20241015.1
Is it regression?
n/a
Expected behavior
successful build
Actual behavior
Error with Signature thumbprint do not match expected
Repro steps
Clone repo with Tag: win22/20241015.1 and build the image for win 2022

Hi @stoopman  Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating

Hi @stoopman The Microsoft Edge Webdriver signature thumbprint is already up to date, and the Windows 2022 build was successful. The thumbprint we are using is 0BD8C56733FDCC06F8CB919FF5A200E39B1ACF71. Kindly check this and synch your main. We are closing this issue now, Thanks!

Hi @RaviAkshintala could you tell me the commit to solve this error please?

Still not solved, we are getting this error as of today, using latest from main

Thanks for the response @GitHubAre , I am waiting for the solution since this is why my pipeline fails

@RaviAkshintala this is still not resolved, I ran a build on the main branch yesterday and got the following error
    azure-arm.image: Get the Microsoft Edge WebDriver version...
    azure-arm.image:
    azure-arm.image:
    azure-arm.image:     Directory: C:\SeleniumWebDrivers
    azure-arm.image:
    azure-arm.image:
    azure-arm.image: Mode                 LastWriteTime         Length Name
    azure-arm.image: ----                 -------------         ------ ----
    azure-arm.image: d-----         11/4/2024   1:48 AM                EdgeDriver
    azure-arm.image: Downloading package from https://msedgedriver.azureedge.net/LATEST_RELEASE_130_WINDOWS to C:\SeleniumWebDrivers\EdgeDriver\versioninfo.txt...
    azure-arm.image: Package downloaded in 0.11 seconds
    azure-arm.image: Download Microsoft Edge WebDriver...
    azure-arm.image: Downloading package from https://msedgedriver.azureedge.net/130.0.2849.68/edgedriver_win64.zip to C:\Users\packer\AppData\Local\Temp\edgedriver_win64.zip...
    azure-arm.image: Package downloaded in 0.05 seconds
    azure-arm.image: Expand Microsoft Edge WebDriver archive...
    azure-arm.image: Expand archive 'C:\Users\packer\AppData\Local\Temp\edgedriver_win64.zip' to 'C:\SeleniumWebDrivers\EdgeDriver' directory
==> azure-arm.image: Signature thumbprint do not match expected.
==> azure-arm.image: At C:\Program Files\WindowsPowerShell\Modules\ImageHelpers\InstallHelpers.ps1:972 char:9
==> azure-arm.image: +         throw "Signature thumbprint do not match expected."
==> azure-arm.image: +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
==> azure-arm.image:     + CategoryInfo          : OperationStopped: (Signature thumb...match expected.:String) [], RuntimeException
==> azure-arm.image:     + FullyQualifiedErrorId : Signature thumbprint do not match expected.

The main branch was fixed for a while, but this commit broke it again. Instead of updating the ubuntu edgedriver signature it reverted the windows server edgedriver signature.


Can you add the full transaction information to the InputType?

If you customize the processing of a transaction by instruction or transaction, there may be additional data that you want to get, such as accountKeys, but there is currently no way to get the entire transaction data, which prevents you from making certain judgments.

thank you for your feedback. we heard this feedback from multiple devs, so it will be added with v0.4.0 end of week along with a few other improvements

That is important

just updating everyone on this, we have more features coming in v0.4.0 so it's being delayed to middle of next week (around 18th of Dec)


Support target command line arguments and simplify target configuration storage

I finally got around to looking into this again! I ended up making some substantial changes to the way target configurations are created and stored as well, but hopefully you'll think they are for the best.

I just briefly looked at it, but all seems good, thanks!
Getting rid of all the file copying also is a welcome addition, I wonder why I didn't implement it this way from the start...
I like it 👍


Topic/signature

Inserting  doctests for Signature and Signature Change.
Rewriting merge and reify functions.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@7b84b3b). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master      #18   +/-   ##
=========================================
  Coverage          ?   54.21%
=========================================
  Files             ?        7
  Lines             ?     1826
  Branches          ?        0
=========================================
  Hits              ?      990
  Misses            ?      836
  Partials          ?        0

Impacted Files
Coverage Δ

src/types.rs
22.11% <0%> (ø)

Continue to review full report at Codecov.

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


Null pointer dereference in OP_LOADSELF

The following input demonstrates a crash:
def a
  b
rescue a
end

a

This seems to happen because mrb->c->stack is NULL during an OP_LOADSELF:
(lldb) bt
* thread #1: tid = 0x3b9c1, 0x00007fffaf668f3d libsystem_platform.dylib`_platform_memmove$VARIANT$Haswell + 157, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
  * frame #0: 0x00007fffaf668f3d libsystem_platform.dylib`_platform_memmove$VARIANT$Haswell + 157
    frame #1: 0x0000000100429bf9 libclang_rt.asan_osx_dynamic.dylib`__asan_memcpy + 1401
    frame #2: 0x0000000100167ed3 mruby`mrb_vm_exec(mrb=0x000061400000fe40, proc=0x000062f000002c50, pc=0x000060600000a4d4) + 7619 at vm.c:914
    frame #3: 0x0000000100165f9a mruby`mrb_vm_run(mrb=0x000061400000fe40, proc=0x000062f000002c80, self=mrb_value @ 0x00007fff5fbfe1a0, stack_keep=0) + 1114 at vm.c:820
    frame #4: 0x000000010019863a mruby`mrb_top_run(mrb=0x000061400000fe40, proc=0x000062f000002c80, self=mrb_value @ 0x00007fff5fbfe380, stack_keep=0) + 1226 at vm.c:2615
    frame #5: 0x0000000100267b46 mruby`mrb_load_exec(mrb=0x000061400000fe40, p=0x0000628000008120, c=0x000060600000a5e0) + 5974 at parse.y:5760
    frame #6: 0x0000000100268956 mruby`mrb_load_file_cxt(mrb=0x000061400000fe40, f=0x00007fffb828d0b0, c=0x000060600000a5e0) + 342 at parse.y:5769
    frame #7: 0x00000001000025d7 mruby`main(argc=2, argv=0x00007fff5fbff548) + 4839 at mruby.c:227
    frame #8: 0x00007fffaf458255 libdyld.dylib`start + 1
    frame #9: 0x00007fffaf458255 libdyld.dylib`start + 1
(lldb) frame select 2
frame #2: 0x0000000100167ed3 mruby`mrb_vm_exec(mrb=0x000061400000fe40, proc=0x000062f000002c50, pc=0x000060600000a4d4) + 7619 at vm.c:914
   911
   912 	    CASE(OP_LOADSELF) {
   913 	      /* A      R(A) := self */
-> 914 	      regs[GETARG_A(i)] = regs[0];
   915 	      NEXT;
   916 	    }
   917
(lldb) print mrb->c->stack
(mrb_value *) $0 = 0x0000000000000000

This issue was reported by https://hackerone.com/icanthack

The issue was fixed by 75c374c.
It still cause infinite loop but that's because it is unintentionally doing sort of tail recursion.
Maybe fixed in the future.


Fix parsing of dates with timezone

This fixes several issues with timezones for us including issue #1432, issue #1356, issue #1355

Why was this closed?

Why was this issue closed?


Add font_awesome_flutter to Flutter Arsenal

font_awesome_flutter can be added to FlutterArsenal to help with reach, accessibility and ease-of-use. Flutter Arsenal is a directory that is being curated for Flutter libraries and tool. The best way to do is by creating an issue on github.

#55 is that resolved. is that added to Flutter Arsenal libraries list.


STUDIO INTERACT, PLEASE RESPOND. Need Docs on Social Buttons, Template Mods

I'm dead in the water with accounts for the past 3 days, waiting for a response to my previous post here.
I need to install social buttons. Is that possible? The Read.me doesn't say how to do it. How is this done?
I also need documentation on how to modify the components. Do I overwrite the ones included in the package? Wouldn't my mods be deleted when the package is updated? Please explain how this is done or provide a link that discusses how this is done.

I can't speak to the social buttons part, but you can see any of the UI add-on packages (Bootstrap, etc) for examples of customizing the templates.  You could start by just cloning the Bootstrap package into your /packages folder and changing whatever you need in the components.

Very good. Do I directly edit the components in the package? Won't my edits be deleted next time the package is updated?

No.  You're not using the official package at that point.  You're using your edited copy of it.  Ideally, you should also change the name of the package to something more specific to you (instead of std:accounts-bootstrap, maybe just accounts-ui-custom).  Then install it with meteor add accounts-ui-custom.

If I go to ~/.meteor/packages, I see the package std_accounts-material, which I've previously downloaded. However, it only contains an alias. So I need to learn:

Exactly what folder to duplicate and where to put it
How to get meteor add to see it
How to get accounts-ui to load it

I've just googled:

how to modify a meteor package

There are a lot of results. I will read further to find out how to do this.
Thanks very much for this info!


Make verbose mode more helpful

There are comments throughout the codebase where we could make the --verbose flag more useful but we just need to implement it.  Most of this will be making sure that Display traits are implemented on Template and Spreadsheet in a useful way

ZrmGxeYjZqxvCKd7puD2Qv2FE42VpLxjvNKCgaHAhGyUmmQmgpGpHt3BsEBaRyAHVu3gLHLQpBUPhB2HiQBdE3jZCNLYNFANyp2H


Reduce size of built Docker image

Shrinks the swiftbox image from 1.22 GB to 849.3 MB.
The result of each Dockerfile line is saved to its own fs layer, so temporary files take up space in the image if they aren't removed in the same line they are created in. Also apt-get clean frees up a little space.

It's great! Didn't know that before, thank you so much! :+1:


Add from_dict method to create Dask DataFrame from dictionary

[X] Closes #9009
[X] Tests added / passed
[ ] Passes pre-commit run --all-files

I'm not sure this was added in the right files / properly, so feel free to provide feedback!  Thank you!

Can one of the admins verify this patch?

add to allowlist

@MrPowers Thanks for this PR, it looks great! I think we can also add this function to the docs here:

https://github.com/dask/dask/blob/main/docs/source/dataframe-api.rst#create-dataframes, and
https://github.com/dask/dask/blob/main/docs/source/dataframe-create.rst#api

@pavithraes - good catch about adding this method to the docs.  I think I added it properly.  Can you take a look and confirm?  Thanks!

@MrPowers Looking at the CI failure, I think there might be some merge conflicts -- would you mind merging main into this branch and checking for any conflicts?

@pavithraes - I rebased on top of the latest version of main, let's see if that does the trick ;)

The failing windows-py3.10 test seems unrelated to this PR

Yep, I agree this looks unrelated. Just opened up https://github.com/dask/dask/issues/9035

Updated from_dict to be a class method based on a suggestion from @jrbourbeau.  dd.DataFrame.from_dict is more consistent with pd.DataFrame.from_dict.
@pavithraes - can you please take another look and check to make sure that I properly updated the docs to reflect that this is a class method 🙏
Do you think this method should have the @derived_from(pd.DataFrame) annotation?  Thanks for all the help!!

@pavithraes - can you please take another look and check to make sure that I properly updated the docs to reflect that this is a class method 🙏

@MrPowers Thank you! The docs updates look good to me.

Do you think this method should have the @derived_from(pd.DataFrame) annotation?

I don't think we need it here because you've added a nice and comprehensive docstring. :)


Introduce new scene-graph API

A new wlr_scene API has been added, following the design ideas from 1.
The new API contains the minimal set of features required to make the
API useful. The goal is to design a solid fundation and add more
features in the future.
References: https://github.com/swaywm/wlroots/issues/1826

This is now ready for review. A compositor using wlr_scene is available here: https://lists.sr.ht/~sircmpwn/sedna/patches/9403

Initial impressions from testing with sedna:
Looks like there are sometimes issues with double buffering the main display framebuffer on the Wayland backend, it can start flickering under certain conditions. One way I was able to trigger it was by opening gnome-calculator, then running mpv on a largeish (1080p) video, then closing mpv.

On the whole this looks fine, but I'm not convinced that it demonstrates much value yet. How would this translate into plane allocation? Is there a roadmap to libliftoff integration? Are we sure that if we ship this API it'll be reasonably easy to carry into this future?

Looks like there are sometimes issues with double buffering the main display framebuffer on the Wayland backend, it can start flickering under certain conditions. One way I was able to trigger it was by opening gnome-calculator, then running mpv on a largeish (1080p) video, then closing mpv.

Weird, there's no damage tracking going on and the rendering logic is the same. I'll try to reproduce and fix it.

On the whole this looks fine, but I'm not convinced that it demonstrates much value yet.

Yes, this is intended. I want to break down the work in separate pull requests.

How would this translate into plane allocation? Is there a roadmap to libliftoff integration?

This should be pretty straightforward. See glider for an example of how libliftoff could be wired up:

Attaching the client's buffer to libliftoff: https://github.com/emersion/glider/blob/b9c19866d6f80c700b43e8a331d8e9ba34495dac/xdg_shell.c#L49
Rendering if the buffer didn't make it into a KMS plane: https://github.com/emersion/glider/blob/b9c19866d6f80c700b43e8a331d8e9ba34495dac/output.c#L63

However, the plan is to have abstract libliftoff behind a wlroots API so that all backends can implement such optimizations. This would be orthogonal to wlr_scene: compositor can choose not to use wlr_scene if they want to use planes.

Are we sure that if we ship this API it'll be reasonably easy to carry into this future?

I'd be happy to keep this PR unmerged until I can demonstrate more features.

Looks like there are sometimes issues with double buffering the main display framebuffer on the Wayland backend, it can start flickering under certain conditions. One way I was able to trigger it was by opening gnome-calculator, then running mpv on a largeish (1080p) video, then closing mpv.

Caused by the renderer scissor not properly unset when done. Should be fixed now.

Confirmed fixed.

The double-buffering has been removed for now since there was no use-case for it.
I've written a Cage patch which uses this PR: https://github.com/Hjdskes/cage/pull/197

This is pretty much ready for review.
Some open questions, not necessarily blocking:

Should wlr_scene_surface handle subsurfaces automatically? Right now this is the case, but compositors might want to customize their rendering (?).
Should wlr_scene_render_output take a wlr_renderer as argument? This would allow compositors to use a custom renderer instead of the backend's. Should we add a function to render the scene which doesn't take a wlr_output?
Should the node coords use double values instead of int? This would allow nodes to be placed in-between two logical pixels (but still aligned to a physical pixel) on HiDPI outputs. Maybe desirable for drag icons and cursors. There's an impedence mismatch with wlroots' surface iterators.

A couple of naming thoughts from a random compositor author:

WLR_SCENE_NODE_ROOT: if the intent is for these to be nestable, would "container" be a better name than "root" for the node type?  It could make sense to use "root" as the name of the field inside wlr_scene instead.
wlr_scene_node_toggle(): the name "toggle" sounds like it only switches from enabled to disabled or vice versa - maybe set_enabled or set_visible is a more intuitive name?

Thanks for the feedback!

WLR_SCENE_NODE_ROOT: if the intent is for these to be nestable, would "container" be a better name than "root" for the node type? It could make sense to use "root" as the name of the field inside wlr_scene instead.

Right, the intent is for ROOT to not be nestable. The original issue has a separate TREE type for this. Maybe ROOT can just be a TREE, not sure yet. I guess it depends how outputs are integrated in the design.

wlr_scene_node_toggle(): the name "toggle" sounds like it only switches from enabled to disabled or vice versa - maybe set_enabled or set_visible is a more intuitive name?

Hm, I've chosen toggle() because I wanted a verb for consistency with move(). wlr_output has a enable() function that takes a bool but that's even more confusing. Maybe set_position()/set_enabled() would be better.

Out of curiosity sparked by some of the discussion here and in #1826, I hacked up a quick proof-of-concept to see how much/little change it would take from the current PR to accomplish two things:

Implementing a RECT node type (solid-colored rectangle for window borders or such) as an example of a node which renders something that isn't a wlr_surface. This required render_output() to iterate over nodes rather than surfaces, but after that refactoring, it was easy to add.
Allowing ROOT to be used as a nestable container node.  This required very little change, since all the necessary functionality was already implemented and needed only to be exposed.

Both are demonstrated in the scene-graph example by placing a small bar atop each stacked surface and grouping the two together with a nested ROOT-type node.  It's not visually pretty or anything, but it does work.
To be clear, I don't mean to propose merging these changes or even implementing these specific features necessarily. I just thought I'd share it in case there are any ideas here that prove helpful as the API continues to develop.

Should wlr_scene_surface handle subsurfaces automatically?

As a potential user of this API, I would say yes. I would prefer the "easy mode" to remain as easy as possible, so unless there is a no-pain way to allow custom implementations, I would think it would be better to keep it simple. A cursory look shows that this only uses public APIs, so it should be possible for someone to pull this code out into their own project and modify it to suit their needs.

As a potential user of this API, I would say yes. I would prefer the "easy mode" to remain as easy as possible, so unless there is a no-pain way to allow custom implementations, I would think it would be better to keep it simple.

While I am not sure which way we should go, this would be my exact argument for "no".
If we are not sure if the vast majority of our compositors want the logic this way, especially if it is not easy to sidestep this logic, then the best option would normally be to keep it simple and not add the logic at all. Especially if it's very little work for downstream, and if it's easy to add in later.

Out of curiosity sparked by some of the discussion here and in #1826, I hacked up a quick proof-of-concept

Very nice! I'd be interested in these patches to be submitted as pull requests once the basic scene-graph lands.

I would prefer the "easy mode" to remain as easy as possible, so unless there is a no-pain way to allow custom implementations, I would think it would be better to keep it simple.

I'd agree with @kennylevinsen here, especially if we start adding more stuff later like damage tracking. Subsurfaces effectively create sub-trees in the scene-graph. It wouldn't be too hard to add a small optional wlr_scene_surface_create_with_subsurfaces helper which automatically creates surface nodes for all subsurfaces.

I'm also wondering how to plumb things like wlr_output_damage and wlr_output_layout. Should the wlr_scene take a wlr_output_damage/wlr_output_layout as an optional argument, or should it be the other way around? Or something else entirely?

Dropped wlr_scene_commit_output, because it doesn't allow the scen-graph to have the necessary per-output state tracking structs for things like damage tracking.

I've written https://github.com/swaywm/wlroots/pull/3117 to see how damage tracking could be handled. Seems to work pretty well. Some notes:

I'm increasingly tempted to drop sub-surfaces from wlr_scene_surface and turn sub-surface handling in a helper. Having exactly 1 surface per wlr_scene_surface simplifies things.
I'm considering making new child nodes disabled by default. This allows callers to setup the node's position (potentially other things in the future like children) and then enable it when they're done. That way, we don't unnecessarily accumulate too much damage.

I've removed sub-surface support from this PR, and moved it to https://github.com/swaywm/wlroots/pull/3128 where explicit scene-graph nodes are created.


[Bug]: Login time Error from google Auth when network is not proper

Is there an existing issue for this?

[X] I have searched the existing issues

Description
It shows JSON data when there is unsuccessful login
Steps To Reproduce

check your network is slow
go to website and do signup.
It shows error in JSON formate, as it send an error JSON message from backend.
if this type of case come , we should send user to home or error page.

Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud

can you help me out, to get setup in Window,


Exchange 2019 Centralssl Store Multiple servers

Hi i was looking at implementing
wacs.exe --target manual --host webmail.site.com,autodiscover.site.com,smtp.site.com --store centralssl --centralsslstore "\site-nt-dc\SharedSSLCertificate" --pfxpassword "Password" --installation iis,script --installationsiteid 1 --script "./Scripts/ImportExchange.ps1" --scriptparameters "'{CertThumbprint}' 'IIS,SMTP,IMAP' 1 '{CacheFile}' '{CachePassword}' '{CertFriendlyName}'"
Problem i get it creates the certs in IIS certificate store not in centralized certificates
Also can this be done through the Wacs interface rather than manual?

I can't help much without seeing the logs, preferable with the  --verbose switch on. Now I don't even know which version of the program you are using.
Instead of using the command line you can also go through the menu with the M option.

Hi Sorry on the delay. Currently I'm using the below specs..
What am trying to achieve is setup on my exchange server a ssl cert for my exchange.
I also have a reverse proxy running on my edge server. I needs to share the exchange cert with my webserver hence me using centralised certificates.  If you can do detail any clear instructions would be great,
Craig
Win- Acme version :- win-acme.v<IP_ADDRESS>2.x64.pluggable
Windows 2019 Server & Exchange 2019 & a Edge Win19.,
I have my certificate store on a different server other than my exchange or edge server.

Would you mind sharing the screen output or log file that gets written when you run that command? It will probably provide vital clues as to why it's not working the way you expect it to work.

I spotted my mistake apologies. I'd missed a \ on the cert log location.
Regards
Craig

Glad you managed to resolve it. Still the log would be nice to see if you wouldn't mind to share it, if only just to check if the error messaging was clear enough.


Git at AWS CodeCommit

Hi, I'm trying to setup connection to a Git repository at Amazon Web Services. Unfortunately I've faced the problem that the action "upload-pack-request" always returns an empty result. The SSL connection works fine. I can see even my branches by pressing the button "Select branch". But still can't see/synchronise the repo because of the problem. Technically it is possible to see the empty result by setting of a break point at the line 46358 (lo_client->send_receive_close). Later on at the line 46365 the exception "empty pack" is raised. Could you suggest please, how it is possible to deal with this problem.
PS Thank you guys, the idea of such a program is just brilliant!

Thanks,
It's difficult to say what is wrong, many of the git servers have their own teaks,
First guesses:

something with authentication, however being able to see the branches talks against this
git capabilites, https://github.com/git/git/blob/master/Documentation/technical/protocol-capabilities.txt abapGit assumes the git server supports some specific capabilities, and does not listen/negotiate these properly with the server

I'll take a look sometime, currently my weekdays are quite busy with real work, so first chance might be in the coming weekend.

Ok, got it. I can share my AWS account for reproducing of the problem or assist you in any other way. So if you have any ideas, what I could I try to do, I'll do it till the week end for your saving time.

It looks like AWS CodeCommit has a free tier, so it should not be an issue to try reproducing this issue.
ideas, not yet, will have to dig into it

Thank you, now it works!


Rpmsg demo - imx8mm

In this pull request, we merge the pull-request 42320, and customize it for imx8mm.
In addition, we created a customized version of the sample openamp_rsc_table that manage to establish an inter-processor communication between A53 and M4.
On the A53 we run Yocto as OS.
The kernel module imx_rpmsg_tty need to be active on the A53.

modprobe imx_rpmsg_tty

Once the application starts on the M4, the A53 installs the tty driver to enable communication over the channel /dev/ttyRPMSG1024.

Please fix the commit-messages and make the driver changes an own commit.

Hello @arnopo. I saw that you were one of the contributors for the resource table example, do you have some advice?
Thanks for your help.

Hello @arnopo. I saw that you were one of the contributors for the resource table example, do you have some advice? Thanks for your help.

Hello @andrecmilano
Sure I can give some advice, but i can't guaranty that you will like them ;-)
First of all very nice to see another platform implementing the resource table!
Before reviewing in detail the sample i have few questions/comments
Regarding your sample:
-It looks very similar to the https://github.com/zephyrproject-rtos/zephyr/tree/main/samples/subsys/ipc/openamp_rsc_table
Do you think it could be possible to merge both in one? Only the name channel, the CB and the app thread should be different.
And using a config to enable channel.
I did something in this way for OpenAMP demos here.
I can't upstream this for time being because need some cleans and a part of the code need to wait that some Linux Kernel upstream are accepted ( rpmsg_char reworking).
If you decide to go in this way, I can crosscheck that update will be compatible with stm32mp1 platform.

Since the Linux Kernel 5.16 there is a generic rpmsg_tty driver. Could be nice to at least support it in addition of the IMX one. The delta from zephyr's point of view is mainly a channel name, I guess.

Regarding the rpmsg_service layer introduced by @carlocaione:

would be nice to relying on it, especially if you introduce a new sample. But this imply to port the resource table support as a new backend of the rpmsg_service.
I am delinquent on this part. This is something that I have in mind for the openamp_rsc_table but not bandwidth to work on it.

Regards,
Arnaud

Regarding the rpmsg_service layer introduced by @carlocaione:

Just for the sake of clarity I introduced the IPC service but the point stands :)

No issue to create several endpoints with different channel name, the Linux create an associated device and then probe the driver only if a match is found. We can also duplicate the callbacks and tasks if needed
As a first step I can create a PR to restructure the application part to add a manager task in charge of the message reception, This would simplify the introduction of multi channels: arnopo@23a6253

That sounds good to me. I can then add a new endpoint for the specific channel name.

Yes would be nice. If you are Ok to move forward in this way, I can adapt the ST part to match with the evolution you would propose.

That is perfect.
I am working on cleaning up this pull request, I will keep only the minimal changes needed.

we used the vring information directly from the device tree
...
For your information a DT design similar to Linux already exits

Yeah, a lot of work went into IPC service and TBH seeing people still trying to reinvent the wheel is a bit discouraging.

we used the vring information directly from the device tree
...
For your information a DT design similar to Linux already exits

Yeah, a lot of work went into IPC service and TBH seeing people still trying to reinvent the wheel is a bit discouraging.

Fully agree with you @carlocaione that the proper implementation would be to migrate on top of  IPC service with a backend managing the resource table (As mentioned in https://github.com/zephyrproject-rtos/zephyr/pull/42967#issuecomment-1047141970). Unfortunately not bandwidth on my side yet to do this :-(.
that's why I'm trying to find a intermediate step that, at minimum, ease the future migration...
Or do you consider that it is a must in short term for new rpmsg samples or evolutions?

Fully agree with you @carlocaione that the proper implementation would be to migrate on top of IPC service with a backend managing the resource table (As mentioned in #42967 (comment)). Unfortunately not bandwidth on my side yet to do this :-(.

Definitely not trying to give you more work and I didn't mean that you were supposed to be in charge of this work :) I already greatly appreciate the time you spend in reviewing the Zephyr patches.

that's why I'm trying to find a intermediate step that, at minimum, ease the future migration... Or do you consider that it is a must in short term for new rpmsg samples or evolutions?

No, I'm definitely not in the position to say what it is a must and what it is not. It is undeniable that leveraging the current samples is easier than writing a new backend from scratch for the IPC service, so I cannot blame people really.
What we can do (and you did rightfully so) is to point out that another alternative does exist that already tried to solve many of the same issues and pray that someone would be willing to do the job (at least as long as I don't find the time myself) :)

No issue to create several endpoints with different channel name, the Linux create an associated device and then probe the driver only if a match is found. We can also duplicate the callbacks and tasks if needed
As a first step I can create a PR to restructure the application part to add a manager task in charge of the message reception, This would simplify the introduction of multi channels: arnopo@23a6253

That sounds good to me. I can then add a new endpoint for the specific channel name.

Done in https://github.com/zephyrproject-rtos/zephyr/pull/43114


Error building chapter-1: can't find crate for compiler_builtins

Not sure what to do about this error. I believe I have everything set up correctly, I have xargo and ptx-linker installed. But when I tried to build the example in chapter 1 I get this error:
$ cargo bench
   Compiling backtrace-sys v0.1.16
   Compiling clap v2.31.2
   Compiling criterion-plot v0.1.3
   Compiling criterion-stats v0.1.3
   Compiling synstructure v0.6.1
   Compiling syn v0.12.15
   Compiling simplelog v0.4.4
   Compiling png v0.7.0
   Compiling failure_derive v0.1.1
   Compiling backtrace v0.3.5
   Compiling error-chain v0.11.0
   Compiling failure v0.1.1
   Compiling serde_derive_internals v0.22.2
   Compiling ptx-builder v0.3.1
   Compiling chapter-1 v0.1.0 (file://$HOME/Downloads/rust-inline-cuda-tutorial/chapter-1/host)
   Compiling serde_derive v1.0.36
error: failed to run custom build command for `chapter-1 v0.1.0 (file://$HOME/Downloads/rust-inline-cuda-tutorial/chapter-1/host)`
process didn't exit successfully: `$HOME/Downloads/rust-inline-cuda-tutorial/target/release/build/chapter-1-f9e9b6b73dea461b/build-script-build` (exit code: 1)
--- stderr
[PTX] Unable to build a PTX crate!
[PTX]     Updating git repository `https://github.com/nagisa/math.rs.git`
[PTX]     Updating registry `https://github.com/rust-lang/crates.io-index`
[PTX]    Compiling cty v0.1.5
[PTX]    Compiling nvptx-builtins v0.1.0
[PTX] error[E0463]: can't find crate for `compiler_builtins`
[PTX]
[PTX] error: aborting due to previous error
[PTX]
[PTX] For more information about this error, try `rustc --explain E0463`.
[PTX] error: Could not compile `cty`.
[PTX] warning: build failed, waiting for other jobs to finish...
[PTX] error[E0463]: can't find crate for `compiler_builtins`
[PTX]
[PTX] error: aborting due to previous error
[PTX]
[PTX] For more information about this error, try `rustc --explain E0463`.
[PTX] error: Could not compile `nvptx-builtins`.
[PTX]
[PTX] To learn more, run the command again with --verbose.

warning: build failed, waiting for other jobs to finish...
error: build failed

This is with ptx-linker 0.5.1 and rustc 1.27.0-nightly (7360d6dd6 2018-04-15). Any ideas?
I love this project BTW, hope you continue the tutorial!

I remember I had a similar problem, can be related to xargo#212. Cou you please try to update your xargo?

Also I realized I meant to file this on https://github.com/denzp/rust-inline-cuda-tutorial, oops...
Yeah I had the same problem, first I was building from the project root and got something similar to that. The output above was from building in chapter-1/host though. My version of xargo should be pretty new, but I can try updating it later tonight. I'm fairly new to Rust so I'm not quite sure about something though, does the current default rustup toolchain make a difference when I cargo install something? If so, which toolchain should I use to install xargo?

No problem the issue is related to the project as well ;)
When you do cargo install NAME, the binary is being built with your default toolchain. And after that, it won't be rebuilt unless you run cargo install -f NAME to update the application to the latest version.
Probably you can build xargo with stable toolchain (if it doesn't depend on unstable features). But to use it, unfortunately, you'll need a nightly toolchain anyways.

Ah, okay I see. I will try out updating xargo and see if that helps. Could you comment with the versions of xargo and rustc that you used?

Perhaps, I'll add versions validation to the ptx-builder crate.
My versions are:
$ rustc -V
rustc 1.27.0-nightly (7f3444e1b 2018-04-26)

$ xargo -V
xargo 0.3.12
cargo 1.27.0-nightly (0a1add2d8 2018-04-20)

So before I had
$ xargo --version
xargo 0.3.7
cargo 1.26.0-nightly (008c36908 2018-04-13)

and now I have
$ xargo --version
xargo 0.3.12
cargo 1.27.0-nightly (0a1add2d8 2018-04-20)

and it works! Thanks for the help! Some version checking on ptx-builder might be a good idea yeah.

I'm glad it helped!
BTW, version checking is implemented and published in ptx-builder v0.3.2.


aes: make the no-asm constant time code path not the default

After OMC and OTC discussions, the 95% performance loss resulting from the constant time code was deemed excessive for something outside of our security policy.
The option to use the constant time code exists as it was in OpenSSL 1.1.1.

This pull request is ready to merge

Merged to both branches after fixing the date template.

I would like to see this go back into the released FIPS provider also..


validation function for project path

resolve path
if resolve fails, return false.
if resolved path already exists, return false.
if possible to check for auth to create dir there, check. if fail, return false. (fs.access/fs.accesssync)
return true.

this should be done on paths entered on command line or within the interactive flow

in the interactive flow part, we can just use validation to reprompt. for command line, it should just fail with a decent error immediately.

command line part done. need to do the same for interactive flow part

all done


Change suffix handling to permit alternative naming schemes

Had a need for this plugin to output unmerged minified files with the name foo-min.js, rather than foo.min.js.

@samaxes ping! Any movement on this PR?


ClangTypeParser: handle clang::MemberPointer

Summary
This diff implements the handling on a clang::MemberPointer. We simply stub the type.
Test plan
A 'make test` shows no new failures.

Codecov Report
Attention: Patch coverage is 0% with 5 lines in your changes are missing coverage. Please review.

Project coverage is 60.82%. Comparing base (0351815) to head (ee33d06).

Files
Patch %
Lines

oi/type_graph/ClangTypeParser.cpp
0.00%
5 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #493      +/-   ##
==========================================
- Coverage   60.84%   60.82%   -0.02%
==========================================
  Files         126      126
  Lines       12473    12478       +5
  Branches     2012     2012
==========================================
+ Hits         7589     7590       +1
- Misses       3928     3932       +4
  Partials      956      956

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


Ebiten window on external displays is scaled and cropped.

I'm not sure if there is some code I can use already to handle this, or if this is a bug with ebiten.
I'm on a MacBook Pro, with Retina display. I have a few external monitors connected.
Using the piano example (because it's an easy one to see the issue), when I run it it launches on my macbook's built in screen, and all looks good:

However, if I move the window to one of my external monitors, the window seems to be the same size, but the graphics are cropped:

Is this a bug (e.g. something up with device scale factor?), or is there some additional code I can add to make this behave correctly?

I'd like to confirm: the external display is NOT Retina, right?

Correct. External displays are not retina displays.

Reproduced with Cocopar Portable Gaming Monitor, 10.1 Inch 2K

I guess the cause is deviceScale.DeviceScale always returns the same value after called once due to the heaviness of recalculation. Hmm

Sorry for keeping you waiting. I think this has been fixed at least on macOS. @lucymhdavies could you take a look?

Oops, I've not checked Windows yet.

There are brief visual glitches as I drag the window from one monitor to the other. But those disappear as soon as I let go of the window.
e.g. dragging from a retina display to a non-retina display, it looks like the second screenshot in my first comment. Dragging the other way, looks like this:

But that seems like it would be difficult to avoid, so I'm happy with how this works 😄

Thank you for confirming! As you said, right, this would be hard to fix.
I'm now checking Windows and found that this doesn't work well. I'm fixing this now...
As for Linux, I'm not familiar with Linux's device scale solution, so probably I don't test this (I don't have a retina device for Linux anyway).

https://docs.microsoft.com/en-us/windows/desktop/api/shellscalingapi/nf-shellscalingapi-getscalefactorformonitor
GetScaleFactorForMonitor is the key but this works only Windows 8 or later.


unit tests for all functions

Unit tests are needed for all functions to ensure changes down the line don't break anything.
Tested needed for:

[x] solr_request (regular and facet)
[x] iterator_solr_request/batch_request

closed with #13


ImprovementRefactor Workload group memory GC

Proposed changes
Currently when Minor GC happens, workload group must kill some query to release memory, when Doris upgrade from 2.0 to 2.1 or enable_workload_group, this may cause some query failed which they should success before.
Minor GC is used to reduce the risk of OOM, if origin Minor GC runs stably, add a workload group gc here is meaningless.
On the contrary, when Full GC happens, workload group gc first is necessary, because if GC group's overcommit memory can release enough memory, then we can avoid undifferentiated kill query,  this is the purpose of the workload group.
That means if a workload group's query not exceeds group's memory, it can avoid cancel query even Full GC happens.
LOG change
hard limit
mysql [hits]>SELECT REGEXP_REPLACE(Referer, '^https?://(?:www\.)?([^/]+)/.*$', '\1') AS k, AVG(length(Referer)) AS l, COUNT(*) AS c, MIN(Referer) FROM hits WHERE Referer <> '' GROUP BY k HAVING COUNT(*) > 100000 ORDER BY l DESC LIMIT 25;
ERROR 1105 (HY000): errCode = 2, detailMessage = (<IP_ADDRESS>)[CANCELLED]memory hard limit workload group release overcommit memory, group id:70066, name:test_group, used:699.57 MB, limit:692.70 MB, backend:<IP_ADDRESS>. cancel top memory used tracker <Query#Id=736497b7383040d4-bd8ac8c5a1973b34> consumption 699.57 MB. execute again after enough memory, details see be.INFO.

minor GC
mysql [hits]>SELECT REGEXP_REPLACE(Referer, '^https?://(?:www\.)?([^/]+)/.*$', '\1') AS k, AVG(length(Referer)) AS l, COUNT(*) AS c, MIN(Referer) FROM hits WHERE Referer <> '' GROUP BY k HAVING COUNT(*) > 100000 ORDER BY l DESC LIMIT 25;
ERROR 1105 (HY000): errCode = 2, detailMessage = (<IP_ADDRESS>)[CANCELLED]try cancel memory overcommit query in workload group when MinorGC happens, group id:70066, name:test_group, used:1.10 GB, limit:34.63 MB, backend:<IP_ADDRESS>. cancel top memory overcommit tracker <Query#Id=a7abb4ba380c4ea3-b68d3d49bff282ab> consumption 527.02 MB. execute again after enough memory, details see be.INFO.

run buildall

run buildall

run buildall

run buildall


Remove Job Type Filters

Pipeline jobs were not emitting build events due to a check of whether a triggering job was an AbstractBuild or not. Removing this check allows all tested job types (freestyle, pipeline/workflow,
and matrix) to post build events.

Coverage increased (+0.2%) to 44.304% when pulling 34f29fafda4fb8fb74954c39c2ac231ea7af5ecb on colin-msphere:report-all-job-types into cc7d072fb701992fad4afad618a4da365dc2bab3 on jenkinsci:master.

Thanks Colin for finding this bug! I'll release a new version tonight.


Fill the format with file extension

Just a question: is it possible to fill the format from file extension?

That’s very cool idea, but non-standard and not in the scope of this plugin. This plugin is meant to be polyfill for the standard CSS feature, so that the plugin can be dropped in the future, when the browser support is wide enough, and the CSS will just work as it.
Maybe somebody else could create another extension for the behavior you described? (Personally I only use PostCSS plugins for future CSS features and minification.)

Thank you for the explanation :)


Could Vespa set field weight in query

I use a model to predict field weight for a query, so i have to pass the field weights in the query.  I use rank.feature to pass weights to rank-properties, and i have to write a long expression to add all the scores. is there a better way?
Another question, how to compute max score of a field set
like max(field_1*w_1, field_2*w_2, field_3*w_3, ..., field_n*w_n)

1. I think you can use the foreach rank feature, something like
foreach(fields, F, rankingExpression("query(F_weight)*fieldMatch(F)"), true, sum)
2. Change to "max" instead of "sum" in the above.

@bratseth  thanks for reply.

I don't want to match all the fields. I have 20 fields and only 12 fields will be used. More specifically, we want to select fields according to query category, like multi_match in es
Ok, I will try sum.
How to implement "negative_boost" of es, like

Are the other 8 fields part of the query? Otherwise their features are trivially 0 so it's fine to sum over them. If they are part of the query, it's still fine since you won't send a weight for them (so weight will be 0, however, if you use some expensive features inside the foreach which you don't use anywhere else in that rank profile you'll waste some cpu.

Just use negative numbers.

tf-idf: See the features containing the string "significance" in https://docs.vespa.ai/documentation/reference/rank-features.html. term(n).significance is exactly (normalized) tf-idf but a bit hard to use directly.

If you want BM25 use nativeFieldMatch (or nativeRank, which is over multiple fields). It is similar on the cost-quality tradeoff scale and incorporates the same signals (including significance/tf-idf), but in addition proximity, which BM25 is missing because it was too expensive in the 1970'ies.
fieldMatch is better than nativeFieldMatch (especially if you use the normalized, fine-grained sub-features of it as the features of a non-linear ML model such as GBDT (XGBoost)), but also more expensive.
Note that significance computed from the corpus is not necessarily a good signal if your corpus is not representative of the user's language. For example, if your corpus consists of local businesses, "Starbucks" will have low significance, while for the user it does not. It is possible to send the term significance values with the query instead so that you can compute them offline from a corpus representative of the user's language and attach them to the query in a Searcher.

1、No. Only the 12 fields are part of query. Others will be used in second-phase ranking. I will add more fields for some specified query, so it may be too expensive to add all the fields. There will be more than 60 fields finally, because we also use vespa as key-value db.
2. For the negtive fields, should I add "negtive fields contains query" to yql?
3. Get, I will try.
I am confused. If I want to use fieldMatch in second-phase, how to pass the origin query?

All the fields whose match information should be available for ranking (in first or second phase, or just to compute some feature to return) must be part of the query. Terms which should not influence recall should be added as RANK items.

I'm not quite sure what you are asking but if you need to know if some query term matched the document in order to determine if you should add a negative boost then you need to add that term to the query yes (either in YQL, or as is more commonly done, write a Searcher class to build the query inside Vespa).

If I want to use fieldMatch in second-phase, how to pass the origin query?

Just add the terms you want to influence matching and/or ranking in the fields you want. That makes all the rank features available over those terms+fields. Only the features you actually use are computed (lazily), but they all use the match data generated during matching. Is that clear?

All the fields whose match information should be available for ranking (in first or second phase, or just to compute some feature to return) must be part of the query. Terms which should not influence recall should be added as RANK items.
I'm not quite sure what you are asking but if you need to know if some query term matched the document in order to determine if you should add a negative boost then you need to add that term to the query yes (either in YQL, or as is more commonly done, write a Searcher class to build the query inside Vespa).

How to Add terms as RANK items? Could you give an example?

If I want to use fieldMatch in second-phase, how to pass the origin query?

Just add the terms you want to influence matching and/or ranking in the fields you want. That makes all the rank features available over those terms+fields. Only the features you actually use are computed (lazily), but they all use the match data generated during matching. Is that clear?

Clear.
I am trying to migrate our video search engine from es to vespa, but the latency(pct99) grows to 600ms from 300ms.  Our Index has 700M documents, and each document has more than 60 fields (include about 40 string fields,  and 12 fields selected according to query category are used for match).  I changed matchPhase.maxHit from 10000 to 1000,  the latency reduced to 500ms. Following is our es query.
{
    "query": {
        "function_score": {
            "query": {
                "bool": {
                    "filter": [{
                        "term": {
                            "status": 2
                        }
                    }],
                    "must": {
                        "boosting": {
                            "positive": {
                                "dis_max": {
                                    "queries": [{
                                        "bool": {
                                            "must": [{
                                                "multi_match": {
                                                    "operator": "and",
                                                    "query": "\u7d20\u989c",
                                                    "type": "best_fields",
                                                    "boost": 1.014,
                                                    "fields": ["cct^0.03", "cdc^0.03", "tt^0.7", "smt^0.02", "pt^1", "cont^0.5", "mt^0.02", "npyt^0.23", "unt^0.23"]
                                                }
                                            }, {
                                                "multi_match": {
                                                    "operator": "and",
                                                    "query": "\u7f8e\u5973",
                                                    "type": "best_fields",
                                                    "boost": 0.986,
                                                    "fields": ["cct^0.03", "cdc^0.03", "tt^0.7", "smt^0.02", "pt^1", "cont^0.5", "mt^0.02", "npty^0.23", "unt^0.23"]
                                                }
                                            }]
                                        }
                                    }, {
                                        "multi_match": {
                                            "tie_breaker": 0.1,
                                            "query": "\u7d20\u989c\u7f8e\u5973",
                                            "type": "best_fields",
                                            "operator": "and",
                                            "fields": ["origin_cct^0.03", "origin_cdc^0.03", "origin_tt^0.7", "origin_smt^0.02", "origin_pt^1", "origin_mt^0.02", "npt^0.23", "uid^0.23"]
                                        }
                                    }, {
                                        "multi_match": {
                                            "query": "\u7d20\u989c\u7f8e\u5973",
                                            "fields": ["clc^1"]
                                        }
                                    }]
                                }
                            },
                            "negative": {
                                "match": {
                                    "poi": "\u7d20\u989c\u7f8e\u5973"
                                }
                            },
                            "negative_boost": 0.2
                        }
                    }
                }
            },
            "functions": [{
                "gauss": {
                    "create_time": {
                        "origin": 1111111,
                        "decay": 0.1,
                        "scale": 1111111,
                        "offset": 1111111
                    }
                }
            }, {
                "script_score": {
                    "script": {
                        "inline": "return _score + Math.log1p(doc['weight.repined_count'].value)"
                    }
                }
            }],
            "score_mode": "multiply",
            "boost_mode": "replace"
        }
    }
}

There are 24 nodes in my vespa cluster.

How to Add terms as RANK items?

In YQL: Just enclose the RANK part in "rank()", e.g
select foo from bar where rank(a contains "A", b contains "B");
In code, new RankItem() instead of new AndItem() etc.
Performance tuning: We'll help you with this, but we need to know exactly what you are running. Can you share your services.xml, search definition, some document examples and the query you want to run? If you don't want to share it publicly, please mail me at bratseth at gmail.

@bratseth  Application files has sent to you, please check your gmail.
Thanks very much.

On performance and the latency difference; You don't say at which load throughput the latency difference is measured?  Vespa does by default use one thread per search (see https://docs.vespa.ai/documentation/content/setup-proton-tuning.html#requestthreads-persearch) so you might want to increase that from 1 e.g to 2 which will typically reduce first phase latency by almost 50% at the cost of 2 cpu threads instead of 1. With ES I believe one by default will get 5 shards but single threaded execution per shard so if comparing a single node setup you would need to allow Vespa to use 5 threads per search to get a fair latency comparison.

@jobergum
Index settings:
document num: 780M,  doc size: 1.3T(ES, 15 shard, 2 replica, 45 node),  700G(Vespa, 88G per node, 24 node, 3 copies)
Performance(only include http request time):
ES:  qps 330, pct99 150ms, default
Vespa: qps 250, pct99 400ms,  5 threads per search
Both es and vespa return 2000 documents.
I found that vespa's search latency increases when a query has stopwords. We use cutoff_frequency to handle stopwords  in es at runtime, so is there similar setting in vespa?
https://www.elastic.co/guide/en/elasticsearch/reference/5.5/query-dsl-match-query.html

When you write return 2K documents you mean total hits is 2K or that you fetch the summary of 2K hits using &hits=2000 ? I see that you have overridden the maxHits setting so with hits I think you mean the latter?
Did you run this benchmark through a VIP/Load balancer against the container http interface or a single container instance?
Given the numbers you quoted further up it seems like increasing per search threads did not help. Changing this setting is an operation which required restart of the content nodes to take effect. If you did restart it could indicate that not only first phase (finding and ranking documents) is taking time but also the second phase (summary fetching for 2K hits). One way to trace this without access to metrics (https://docs.vespa.ai/documentation/reference/metrics-health-format.html) is to use search tracing (&tracelevel=1&trace.timestamps=1). If you could run the heaviest (slowest) queries again without any concurrency with the above parameter and sendt the output to to me offline at bergum at verizonmedia.com I can help on this. The above will help identify if first phase or second phase is contributing the most. You can also add the output for the same query which does not scatter out to all content nodes by in addition adding &model.searchPath=0/0 and adjust asked hits from 2K to 200 for that query.
On stopwords or frequent terms, there is no dynamic cap or removal but query tree can be re-written given a dictionary or similar but let us first look at what the root cause is first before randomly applying optimizations :)

I mean hits=2000.

No，just random pick a hosts for every request.

I have restarted all nodes, and the latency reduced.  I can find some slow queries, but how to upload files at verizonmedia.com?

I have send my query builder to you, please check email.

Sorry I meant by email to bergum at verizonmedia.com

Vespa stores every occurrence of every term to be able to do full proximity ranking, and do not skip common words ("stop words"). This is usually the right tradeoff because relevance is valuable and most cpu is spent elsewhere. However, it could be that in your case positionless indexing, stop words and BM25 is the right tradeoff, although to figure that out you should look at what you gain from proximity and full recall, not only at what it costs.
In any case, it is good to have this option; it eases migration for those who want to replicate their current ranking on ES, so we have decided to implement it. Work will start on that in about a week. I'll update here when it is ready.

@bratseth @jobergum  I have solved the problem by moving high frequency terms into rank items. I used a distributed key-value database to record term idf values, thus i can skip top words by frequency threshold. The latency of vespa is reduced to 200ms, and it's better than es (300ms).
Thanks sincerely!


issue in installling facebook_app_events 0.14.7 plugin in my flutter project

I have getting error after adding facebook_app_events 0.14.7 plugin into my projects
below is my flutter sdk version details
Flutter (Channel stable, 2.2.3, on Microsoft Windows [Version 10.0.19042.1415], locale en-GB)
• Flutter version 2.2.3 at C:\src\flutter
• Framework revision f4abaa0735 (7 months ago), 2021-07-01 12:46:11 -0700
• Engine revision 241c87ad80
• Dart version 2.13.4

please check and help me

Hi @sreeraj43, facebook_app_events is a third party package. For any issues you're experiencing with it, kindly file an issue on their repo here.
Closing as this is package is not maintained by flutter.
Thank you


link to streaming guide from README

https://replicate.com/docs/streaming

Tests failing, but I don't think it's from this README change, so I'm merging.


Apache class based tests

closes: https://github.com/astronomer/astronomer-providers/issues/692

Convert function-based tests to class-based
Use pytest instead of unittest

@pankajastro Can we take up this and fix this ?

@pankajastro Can we take up this and fix this ?

Addressed here c9a95c5541635adb2e0d024ab8a1b00c594fceee


2.13 breaks reverse proxy function

Bug description
After upgrading to 2.13 EE, nginx reverse proxy is no longer possible forwarding to portainer
Expected behavior
A clear and concise description of what you expected to happen.
Portainer Logs
Provide the logs of your Portainer container or Service.
You can see how here
Steps to reproduce the issue:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Technical details:

Portainer version:
Docker version (managed by Portainer):
Kubernetes version (managed by Portainer):
Platform (windows/linux):
Command used to start Portainer (docker run -p 9443:9443 portainer/portainer):
Browser:
Use Case (delete as appropriate): Using Portainer at Home, Using Portainer in a Commercial setup.
Have you reviewed our technical documentation and knowledge base? Yes/No

Additional context
Add any other context about the problem here.

Same here. Getting time="2022-05-09TXX:XX:XXZ" level=info msg="2022/05/09 XX:XX:XX http: TLS handshake error from 10.XXX.XXX.XXX:5XXXX: tls: client offered only unsupported versions: [303 302 301]" in Docker logs.

Workaround for this problem (tested!):

Disable "Force HTTPS only" in settings
Port forward HTTP to 9000/TCP instead of HTTPs to 9443/TCP

@maxulm you need to add proxy_ssl_protocols TLSv1.3; to your Nginx configuration.

@maxulm you need to add proxy_ssl_protocols TLSv1.3; to your Nginx configuration.

NGINX uses TLSv1.2 as the newest available version in the default settings, so that would make sense. But I can't find where Portainer suddenly dropped support for anything but TSLv1.3. Any idea?

@moritzbeck01 yes, it was changed here: https://github.com/portainer/portainer/commit/dff74f0823fca89636b9f3686757cc3f381c732e#diff-a91a8747b5db8fa8d0e7f2276622b893b599317f64507b54a24beb0fb3c2414dR12

@moritzbeck01 yes, it was changed here: dff74f0#diff-a91a8747b5db8fa8d0e7f2276622b893b599317f64507b54a24beb0fb3c2414dR12

Ah darn, I remember checking that PR. I must have scrolled right past and missed it.
Good find! Gonna check out tomorrow if that fixes it for me. I have high hopes now. Thanks!

proxy_ssl_protocols TLSv1.3;

Thank you, this was the solution!

We're reverting the minimum required TLS version back to 1.2 in the 2.13.1 patch release.
The main reason is that anyone who tries to use nginx as a reverse proxy and has Portainer on https is going to walk into this issue.


[BUG] - evaluateTransactionExecutionUnits incorrect

Internal
Area
Plutus    Related to Plutus Scripts (Alonzo).
Summary
Submission of a transaction built with makeTransactionBodyAutoBalance fails with The budget was overspent. Final negative state, which seems to indicate a bug in evaluateTransactionExecutionUnits: That function returns budget limits which are (slightly) too low for both execution units and memory.
Steps to reproduce
This is a bit tricky, of course...
Expected behavior
A transaction built with makeTransactionBodyAutoBalance should never fail with this error. Of course validation execution units or memory could exceed the limits, but the budget should never be too low.
System info (please complete the following information):

OS Name: Arch Linux
Node version cardano-node 1.33.0 - linux-x86_64 - ghc-8.10, git rev 814df2c146f5d56f8c35a681fe75e85b905aed5d
CLI version cardano-cli 1.33.0 - linux-x86_64 - ghc-8.10, git rev 814df2c146f5d56f8c35a681fe75e85b905aed5d

The problem seems to have been that I was using an older version of the node for the calculation. After upgrading to the same version connected to the blockchain, the problem disappeared.


The announcement blog cannot be accessed

We are fixing momentarily. Thanks!
The correct link is https://www.mosaicml.com/blog/mosaicml-streamingdataset

Thank you!


fix test ref scatternd_op.hpp brackets

Fixed test_ref after failing on scatternd_add test case with the error iterator out of range. Modification of the original code is the same as in the PR #2553 with the use of brackets (updates_idx.begin() + (q - 1) instead of updates_idx.begin() + q - 1 and updates_idx.begin() + (q - 1) instead of updates_idx.begin() + q - 1). After these changes, test_ref passes both on Linux and Windows. @pfultz2 @bpickrel

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

Comparison is base (7091dec) 91.38% compared to head (53540af) 91.38%.

:exclamation: Current head 53540af differs from pull request most recent head 77334ff. Consider uploading reports for the commit 77334ff to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2574   +/-   ##
========================================
  Coverage    91.38%   91.38%
========================================
  Files          454      454
  Lines        17189    17190    +1
========================================
+ Hits         15708    15709    +1
  Misses        1481     1481

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


Replaced stroke-width with strokeWidth. Replaced stroke-miterlimit with strokeMiterlimit.

This PR addresses the issue of invalid DOM properties used in SVG elements by correcting them. Specifically, properties like stroke-width and stroke-miterlimit have been updated to their correct React equivalents: strokeWidth and strokeMiterlimit. These changes aim to resolve React warnings and ensure that SVG elements render correctly without issues.
Changes:
Replaced stroke-width with strokeWidth.
Replaced stroke-miterlimit with strokeMiterlimit.
Reason for Changes:
These updates are made to eliminate React warnings about invalid DOM properties and ensure proper rendering of SVG elements. Using correct DOM properties is crucial for the application’s functionality and user experience.
Testing:
The changes might affect the rendering of SVG elements. Relevant pages and components have been tested to ensure that the modifications work as expected and do not introduce new issues.

Check please

Closing this, you've already updated the fees url in #53 .
Please also update your fork main branch, it has conflicts with the dev branch.


cherry-pickscanner could eos early when reached limit (#36535)

Proposed changes
cherry-pick from master #36535
Issue Number: close #xxx

run buildall


Use vcpkg for MSVC builds

My first ever pull request, hope it works
I'm not sure if it breaks docs-only

Thank you for the contribution! I will have to do some changes to it though (like keeping the docs.rs still working) and merge it afterwards.


Fixing New-DbaAzAccessToken to compile on core

Type of Change

[X ] Bug fix (non-breaking change, fixes #)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Purpose
Fixing New-DbaAzAccessToken to compile on core
Approach
Resolved assembly issues.
Commands to test
New-DbaAzAccessToken
Learning
The bug report indicated that the issue was a failure to compile.
Add-Type does not automatically reference the assembly containing [PowerShell] on core.  Also, [DateTimeOffset] is effectively contained in two assemblies on core, and we must reference the same one as [IRenewableToken] does

Thanks so much! It compiles now but I'm still getting an error. Seems likely to be with our SMO or .NET packages.
: System.Exception: Keyword not supported: 'authentication'. --->
                        System.Management.Automation.MethodInvocationException: Exception calling ".ctor" with "1"
                        argument(s): "Keyword not supported: 'authentication'." ---> System.ArgumentException: Keyword
                        not supported: 'authentication'.
                           at System.Data.Common.DbConnectionOptions.ParseInternal(Dictionary`2 parsetable, String
                        connectionString, Boolean buildChain, Dictionary`2 synonyms, Boolean firstKey)
                           at System.Data.Common.DbConnectionOptions..ctor(String connectionString, Dictionary`2
                        synonyms)
                           at System.Data.SqlClient.SqlConnectionString..ctor(String connectionString)
                           at System.Data.SqlClient.SqlConnectionFactory.CreateConnectionOptions(String
                        connectionString, DbConnectionOptions previous)
                           at System.Data.ProviderBase.DbConnectionFactory.GetConnectionPoolGroup(DbConnectionPoolKey
                        key, DbConnectionPoolGroupOptions poolOptions, DbConnectionOptions& userConnectionOptions)
                           at System.Data.SqlClient.SqlConnection.ConnectionString_Set(DbConnectionPoolKey key)
                           at System.Data.SqlClient.SqlConnection.set_ConnectionString(String value)
                           at System.Data.SqlClient.SqlConnection..ctor(String connectionString)

No action required on your part 👍


Don't use Seaside 3.3.3 because is broken

Coverage remained the same at 100.0% when pulling d84ed115aca15da31b7eb768fcfabb8579a09c82 on update-seaside-dep into 672a1c3818105738c4ffecd52f87406461b5d3e5 on release-candidate.


let's connect for further improvment

"I am currently working on using Reinforcement Learning to make a trading agent that will learn the trading strategy to maximise the portfolio."
this line will drag me here. your article is really awesome sir. same time i am also working on reinforcement learning trading. can we connect...! for discussion and exchange ideas?

I`m interested, too.


Display 'Running parallel inspection' only with --debug

In parallel mode, --format option may not be work well.
For example
$ rubocop --parallel --format json | jq .
parse error: Invalid numeric literal at line 1, column 8

Because RuboCop prints a message if --parallel is received.
This change fixes the problem by removing the message if --debug is not received.
WDYT? cc: @jonas054

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[ ] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[ ] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

I see the problem with printing the message unconditionally. The fix is fine as far as I'm concerned. It's a change to released functionality that's visible for the user, so a change log entry is needed.

I added a changelog entry. Thanks!

This change fixes the problem by removing the message if --debug is not received.

This this is still going to be broken with --debug...


Change name for "Accounts with Multiple Machine Hashes" metric

This particular metric is measuring how many other servers you could access if a hash were found at all, and is not reliant upon multiple hashes being found in order to make it onto this list. Therefore, the title is a bit misleading because in the event we find a single hash but that hash could be used to access 1000 servers, that account will definitely make it into this list. The title should be adjusted to, "Account hashes that expose multiple machines". This is something we should have for the GA version for sure.

Resolved in v0.5.0-beta.4 release


Enhance Picocli to support reset instance value while reusing command object

Picocli reuse command object when used in interactive mode, but doesnt not provide support to optionally reset (or not reset) instance value which are not annotated with @Options, @Parameter etc. This is required in applications where command objects require instance variable (beyond @Option, @Parameter). Although this can be handled by application by resetting the value, but this will be a workaround. An approach could be to reset all the instance fields by default and introduce a new annotation (@NonPicocliInstance - with reset as true/false) which when set on instance fields gets cleared
Example
package example;

import org.jline.console.SystemRegistry;
import org.jline.console.impl.Builtins;
import org.jline.console.impl.SystemRegistryImpl;
import org.jline.reader.LineReader;
import org.jline.reader.LineReaderBuilder;
import org.jline.reader.MaskingCallback;
import org.jline.reader.Parser;
import org.jline.reader.impl.DefaultParser;
import org.jline.terminal.Terminal;
import org.jline.terminal.TerminalBuilder;
import picocli.CommandLine;
import picocli.CommandLine.Command;
import picocli.CommandLine.Option;
import picocli.shell.jline3.PicocliCommands;
import picocli.shell.jline3.PicocliCommands.PicocliCommandsFactory;

import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import java.util.function.Supplier;

/**
 * Example.
 */
public class Example {

    /**
     * Top-level command that just prints help.
     */
    @Command(name = "", description = "Example root command.", subcommands = {MyCommand.class})
    static class CliCommands implements Runnable {
        public void run() {
            System.out.println(new CommandLine(this).getUsageMessage());
        }
    }

    /**
     * A command with some options to demonstrate issue.
     */
    @Command(name = "cmd", mixinStandardHelpOptions = true, description = "Example test command.")
    static class MyCommand implements Runnable {

        private List<String> aggregatedModuleNComp;

        private List<String> modules;

        @Option(names = "-c", description = "comps", split = ",")
        private List<String> comps;

        public List<String> getModules() {
            return modules;
        }
        @Option(names = "-m", description = "modules", split = ",")
        public void setModules(final List<String> modules) {
            this.modules = modules;
        }
        public void run() {
            setAggregatedModuleNComp();
            System.out.println("Modules = " + modules);
            System.out.println("Comps = " + comps);
            System.out.println("Modules and Comps  = " + aggregatedModuleNComp);
        }

        private void setAggregatedModuleNComp() {
            if (aggregatedModuleNComp == null) {
                aggregatedModuleNComp = new ArrayList<>();
            }
            if (modules != null) {
                aggregatedModuleNComp.addAll(modules);
            }
            if (comps != null) {
                aggregatedModuleNComp.addAll(comps);
            }
        }
    }

    /**
     * Main method.
     * @param args arguments.
     * @throws Exception exception.
     */
    public static void main(final String[] args) throws Exception {
        Supplier<Path> workDir = () -> Paths.get(System.getProperty("user.dir"));
        // set up JLine built-in commands
        Builtins builtins = new Builtins(workDir, null, null);
        // set up picocli commands
        CliCommands commands = new CliCommands();

        PicocliCommandsFactory factory = new PicocliCommandsFactory();

        CommandLine cmd = new CommandLine(commands, factory);
        PicocliCommands picocliCommands = new PicocliCommands(cmd);

        Parser parser = new DefaultParser();
        Terminal terminal = TerminalBuilder.builder().build();
        SystemRegistry systemRegistry = new SystemRegistryImpl(parser, terminal, workDir, null);
        systemRegistry.setCommandRegistries(builtins, picocliCommands);
        LineReader reader = LineReaderBuilder.builder().terminal(terminal).completer(systemRegistry.completer())
                .parser(parser).variable(LineReader.LIST_MAX, 50).build();
        builtins.setLineReader(reader);
        factory.setTerminal(terminal);

        String prompt = "prompt> ";
        String rightPrompt = null;

        // start the shell and process input until the user quits with Ctrl-D
        String line;
        while (true) {
            systemRegistry.cleanUp();
            line = reader.readLine(prompt, rightPrompt, (MaskingCallback) null, null);
            systemRegistry.execute(line);
        }
    }
}

Execution
prompt> cmd
Modules = null
Comps = null
Modules and Comps  = []
prompt> cmd -c c1 -m m1
Modules = [m1]
Comps = [c1]
Modules and Comps  = [m1, c1]
prompt> cmd -c c2
Modules = [m1]
Comps = [c2]
Modules and Comps  = [m1, c1, m1, c2]
prompt>

Sorry, I am going to give a quick reply (I just skimmed your email and did not look at the code so apologies if I missed the point completely.)
It is possible to do some initialization with a custom ExecutionStrategy.
However, resetting values in the application may be a better option.
At this point I want to keep picocli's scope limited to just command line options and positional parameters.

The point here is resetting the command-object, not the application.
This is a real problem in interactive applications (not exiting after the first command-execution but offering a sort of interactive shell to execute multiple commands), when a command is executed multiple times. The properties populated at previous executions are still set on any later execution, because picocli reuses the same command-instance. A possible workaround (for the application) is, to reset all the properties of the command-object after each execution, making it clean for the next execution.
It would be nice, if picocli would either support resetting commands (eg. optional interface IResettableCommand with a method reset() to be implemented by the command-objects and called by picocli before populating the instance), or optionally not reuse command-object-instances (but instantiate them before each command-execution).

@bbodnar The intention is for picocli to automatically reset all options and positional parameters, just prior to processing the input and (re)populating these options and positional parameters.
I thought this was implemented correctly, but looking at #1531, this is apparently not working correctly for @Option or @Parameters-annotated setter methods.
This is probably a bug, but I have not had time yet to investigate.
It appears to me that this ticket (#1532) is asking for a mechanism for something that picocli is already supposed to do (but which is not working correctly for some reason). Rather than providing such a mechanism, I would rather fix the bug, if possible. 😅
@bbodnar Are you experiencing this issue also only with @Option or @Parameters-annotated setter methods?
Or is there some other additional way to reproduce this issue? (Wondering if I need to look for multiple bugs...)

@remkop Thank you for the quick reply. You are right, this is really not a generic problem, only argument-groups are affected (in my case). I have created #1536, a demo-application is attached.

@kaushalkumar Issue #1531 was fixed in picocli 4.6.3.
Does that address your use case?


Add GitHub Action to build VSCode extension

Only runs when you tell it to & saves extension as artifact - not as a release (note: gets discarded after 90 days iirc)

Much appreciated 👍


Remove "inet.af/netaddr" dependency:

Description

netaddr is deprecated by the standard library's net/netip package.
Why is this needed

Fixes: #
How Has This Been Tested?

How are existing users impacted? What migration steps/scripts do we need?

Checklist:
I have:

[ ] updated the documentation and/or roadmap (if required)
[ ] added unit or e2e tests
[ ] provided instructions on how to upgrade

@mergifyio queue


House Keeping Items

Just handling some lingering items
Changes

renamed preprocessed folder to unprocessed
defaulted setup.sh to install local requirements so you no longer have to type ./setup local
fixed typo in events admin page

Testing

run ./setup.sh and then run tests gulp test

Review

@kurtw
@rosskarchner
@anselmbradford
@KimberlyMunoz
@jimmynotjim

Todos after Merge:

Update Jenkins Job flapjack-demo-frontend-build-flapjack
Update Jenkins Job flapjack-demo-frontend-build-refresh

Fixes https://github.com/cfpb/cfgov-refresh/issues/1079

:+1: LGTM

Looks good. Just remember to update the Jenkins jobs for the new setup.sh.

@kurtw donzo


Remove myget feed from NuGet.config

When we released the extension, I forgot to remove the myget feed from our NuGet.config,
I was assuming this wouldn't really matter since nuget.org came first in the list, by
the myget folks reported a traffic spike, so I am assuming we should really remove this.

We are waiting on a response from the myget.org team to understand the priority of this to understand if we should fix it now, or just before we release the next time.


Uncaught exception

Is there an existing issue for this?

[X] I have searched the existing issues

Stack trace
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/esphome/bluetooth/client.py", line 96, in _async_wrap_bluetooth_operation
return await func(self, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/components/esphome/bluetooth/client.py", line 540, in write_gatt_char
await self._client.bluetooth_gatt_write(
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/client.py", line 667, in bluetooth_gatt_write
await self._send_bluetooth_message_await_response(
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/client.py", line 440, in _send_bluetooth_message_await_response
raise BluetoothGATTAPIError(BluetoothGATTError.from_pb(resp[0]))
aioesphomeapi.core.BluetoothGATTAPIError: Bluetooth GATT Error address=90:38:0C:61:82:42 handle=21 error=-1 description=Not connected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/pysnooz/commands.py", line 171, in _async_execute_wrapper
await self._async_execute(api)
File "/usr/local/lib/python3.10/site-packages/pysnooz/commands.py", line 261, in _async_execute
await api.async_set_power(self.command.on)
File "/usr/local/lib/python3.10/site-packages/pysnooz/api.py", line 86, in async_set_power
await self._async_write_command(CommandId.SET_POWER, b"\x01" if on else b"\x00")
File "/usr/local/lib/python3.10/site-packages/pysnooz/api.py", line 129, in _async_write_command
await self._client.write_gatt_char(
File "/usr/local/lib/python3.10/site-packages/bleak/init.py", line 593, in write_gatt_char
await self._backend.write_gatt_char(char_specifier, data, response)
File "/usr/src/homeassistant/homeassistant/components/esphome/bluetooth/client.py", line 79, in _async_wrap_bluetooth_connected_operation
await task
File "/usr/src/homeassistant/homeassistant/components/esphome/bluetooth/client.py", line 117, in _async_wrap_bluetooth_operation
self._async_ble_device_disconnected()
File "/usr/src/homeassistant/homeassistant/components/esphome/bluetooth/client.py", line 197, in _async_ble_device_disconnected
self._async_disconnected_cleanup()
File "/usr/src/homeassistant/homeassistant/components/esphome/bluetooth/client.py", line 192, in _async_disconnected_cleanup
self._unsubscribe_connection_state()
File "/usr/src/homeassistant/homeassistant/components/esphome/bluetooth/client.py", line 168, in _unsubscribe_connection_state
self._cancel_connection_state()
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/client.py", line 534, in unsub
self._connection.remove_message_callback(on_msg, msg_types)
File "/usr/local/lib/python3.10/site-packages/aioesphomeapi/connection.py", line 455, in remove_message_callback
self._message_handlers[msg_type].remove(on_message)
KeyError: <class 'api_pb2.BluetoothDeviceConnectionResponse'>
Environment
Home Assistant Component
Additional details
Home Assistant 2023.1.7
Supervisor 2022.12.1
Operating System 9.4
Frontend 20230110.0 - latest
Using ESPHome bluetooth proxy. Snooz stops working randomly unless I restart Home Assistant.

Thanks for reporting this. It appears that there's a disconnection scenario that's not handled gracefully by pysnooz that's unique to bluetooth proxies. I haven't been available in the last month to work on this, but I'm hoping to get to this soon.
The fix should be straightforward - I think the first step is figuring out if this should be handled in esphome or this library, since currently the library is not aware of esphome or its implementation details.

Following up on this issue. @clanterns11 can you verify this still occurs on the latest releases of ESPHome bluetooth proxies? If it does, please enable debug logs so we can isolate the issue.
# Home Assistant configuration.yaml
logger:
  default: info
  logs:
    homeassistant.components.snooz: debug
    pysnooz: debug


Update README.rst

Pull Request check-list
Please make sure to review and check all of these items:

[x] Does $ python setup.py test pass with this change (including linting)?
[x] Does travis tests pass with this change (enable it first in your forked repo and wait for the travis build to finish)?
[x] Is the new or changed code fully tested?
[x] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?

NOTE: these things are not required to open a PR and can be done
afterwards / while the PR is open.
Description of change
Fixed README.rst's code-block directive lang name typo.

Codecov Report

Merging #1231 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1231   +/-   ##
=======================================
  Coverage   92.33%   92.33%
=======================================
  Files          20       20
  Lines        5948     5948
=======================================
  Hits         5492     5492
  Misses        456      456

Continue to review full report at Codecov.

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

Great, thanks.


Can't load Compulsion in Mozilla applications Firefox or Thunderbird

I am using easySIMBL ( https://github.com/norio-nomura/EasySIMBL ) on Mac OS X 10.10.2 Yosemite.
Compulsion works very well on many applications, but I noticed it does not work on Mozilla Firefox or Thunderbird. Any ideas why?
Thanks!

I’m not exactly sure why SIMBL isn’t able to load extensions for apps like Firefox and Thunderbird. They probably aren’t Carbon apps, are they‽
Fear not: This will be fixed in the upcoming Compulsion 2 release which uses accessibility APIs instead of SIMBL. Unfortunately this means “Desktop Level”, “Floating Level” and “Joins All Spaces” will no longer be a part of Compulsion. :sob:


contracts: Add automatic withdraw inside ArbitrumL1Messenger

Rationale
In order to avoid confusion & forgotten funds inside our Messenger contracts by our agents, we should add support for automatic withdrawing of the deposited funds at the time of a sendMessage execution.
Currently, we expect the agents to have a decent amount of funds deposited inside the ArbitrumL1Messenger in order to relay an L1 resolution message.
After discussing this with @fredo we agreed that by invoking the withdraw function inside the sendMessage function we will be able to reduce the costs for this operation from 2x 0.00021 ETH (gas limit) + opcode fees to 0.00021 ETH + opcode fees.
Acceptance criteria

[ ] Contracts return the deposited funds right after propagating the message that is being executed on L1

Additional information

[ ] Manual withdraw will be kept the way it is

Done


docs(quickstart): added install deisctl step at top of quick start docs

I went through the Quick Start steps (AWS path) and because I hadn’t yet installed deisctl the provision script barfed. I noticed that the "install deisctl" is listed at the bottom of the Quick Start docs, suggesting that it's something you do after a successful Quick Start install. It makes more sense to instead make a deisctl install a sort of prereq step at the top of the Quick Start doc.

Thanks for the contribution! Please ensure your commits follow our style guide. This code will be tested once a Deis maintainer reviews it.
Your Pull Request can earn you credit at DigitalOcean! See http://docs.deis.io/en/latest/contributing/hacking/#digitalocean-credit for details.

@bacongobbler thanks for the comment, added deisctl install link to the "get the source" include file.

LGTM.

LGTM.


Points went up more than expected after a question or two.

@kirubarajan Can we close this issue from lab meeting?


Add an example of passing arrays

Great, thank you!

yw. I'm closing the issue you have opened for this #13 .


skipping pings by regexp, to match all possible ci registries

For example, registry.build05.ci.openshift.org/...

Required by https://github.com/openshift/installer/pull/6898


🐛 [firebase_dynamic_links] Define custom suffix and ofl-parameter at the same time

Bug report
Describe the bug
We use dynamic links that allow our users to refer other users using a unique link. Initially, I used the Flutter package to create dynamic links, but I realized I needed the 'ofl-parameter.' To include this parameter, I had to call the REST API. This addition ensures that when users accessing the link on desktop are redirected to our landing page instead of receiving the Firebase error message. This method has been working well so far. However, we have a new requirement where some users would like to have a custom dynamic link suffix. This customization would make the link appear more trustworthy when shared within their community. I am aware that Firebase web app supports this feature, but I haven't found any options for it in the REST API or the Flutter package.
Can someone please advise me on how to achieve the 'ofl-parameter' along with a custom suffix using Flutter?

@LoadJulz
ofl parameter seemed to have been added as part of https://github.com/firebase/flutterfire/issues/7643 so please check the same and see if it helps.
If not, provide more details so that we can properly address this issue.

But can I adjust the suffix of the short link with this package as well?

If you're trying to build a dynamic link with the ofl parameter, you can just add it to the longDynamicLink as demonstrated in the example app here: https://github.com/firebase/flutterfire/blob/e1f5a5ea798c54f19d1d2f7b8f2250f8819f44b7/packages/firebase_dynamic_links/firebase_dynamic_links/example/lib/main.dart#L75 Also include the uriPrefix you wish to use from the Firebase console.

This didn't answer my question. I have already implemented the ofl-tag in my dynamic link, but I have no option to use a custom suffix instead of the short url (the code that is generated randomly). Is there any option I can use to define the suffix of the url?


Still has some problem with functional component.

First of all, I appreciate your solution about (#2206), There is still a problem with the functional component.
See: https://github.com/jerrywu001/volar-issue#readme
You can go ahead and run my project to check the problem.
The correct(Volar0.40.x ):

But now:

Fixed in v1.4.0 later.


PlanDefinition apply ersd gaps

evaluateInContext can now run for either an aliasedExpression or an expression
apply now evaluates actions recursively
action conditions containing a language "text/cql.name" are evaluated with aliasedExpressions

LGTM.


scss generated kod is not shown in latest intellisense for scss

@mixin spacing($predicate, $name) {
  .#{$predicate} {
    /** 2px */
    &-0 {
      #{$name}: 0.125rem !important;
    }
    /** 2px */
    &-xxs {
      #{$name}: 0.125rem !important;
    }
    /** 4px */
    &-xs {
      #{$name}: 0.25rem !important;
    }
    /** 8px */
    &-s {
      #{$name}: 0.5rem !important;
    }
    /** 16px */
    &-m {
      #{$name}: 1rem !important;
    }
    /** 24px */
    &-ml {
      #{$name}: 1.5rem !important;
    }
    /** 32px */
    &-l {
      #{$name}: 2rem !important;
    }
    /** 48px */
    &-xl {
      #{$name}: 3rem !important;
    }
    /** 64px */
    &-xxl {
      #{$name}: 4rem !important;
    }
  }
}

@include spacing(mt, margin-top);
@include spacing(mr, margin-right);
@include spacing(mb, margin-bottom);
@include spacing(ml, margin-left);
@include spacing(pt, padding-top);
@include spacing(pr, padding-right);
@include spacing(pb, padding-bottom);
@include spacing(pl, padding-left);

Can you give some steps?
Where do you invoke code completion? What do you expect?

The whole code is locaded in a _xxx.scss file which is then imported in styles.scss file in angular project which is the root scss file.
I expect that when i start writing mt- .. the options like s/m/xl/.. to appear also with how much value they have, like 2rem  and the code comment also appear after that.
suggstion:     classnameExtension | value | commenttext

Yes, sorry, our support is pretty basic. We don't resolve mixins. We also do go across files.
No plans to add such support.


docs, release

Guys..
you can make release like https://github.com/cosmos/gaia/releases with binary!!
or.. ok - you haven't binary, but.. where build manual?! like https://github.com/cosmos/gaia/blob/main/docs/gaia-tutorials/installation.md
p.s. and how I can check airdrop without any extension and frontend like https://app.osmosis.zone?! I use gaia!!
Thx

Releases are getting included in all new tags now!


feat: added copy url with did

This is disabled when there is no document resolved.
And endabled and will give a result as the other screen.
It is not 100% tested as I got network error, but thought to test in dev

Thx for the contribution.


Support for is.browser, is.node? (Will put in pr if there is)

This environment check is somewhat common in my codebases and I would imagine in other projects with browserify/isomorphic bits. Any opinions on is.browser() and is.node()?
Love this library - thanks everyone!

One way we could add a check like this is to do a check for global variables that are particular to a browser and node, like window for browsers and module for node.
I really like the check used in Underscore.js as stated in this StackOverflow Question. I'd do a pull request, but I'm not sure how I'd add a unit test for checking the browser. If anyone can do that, this would be an awesome feature.

Thanks!
We'll keep an eye on the popularity of the request.


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@cspiral4 please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]

Options:

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.

@microsoft-github-policy-service agree

(when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.

@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

(default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.