Error in Write sample

Hello, I got that bug when trying to launch the write sample provided in your README.
$ python test.py
Traceback (most recent call last):
  File "test.py", line 9, in <module>
    print(p.generate(settings))
  File "/tmp/formatstring/formatstring/payloads.py", line 217, in generate
    writes = self._generate_writes(settings)
  File "/tmp/formatstring/formatstring/payloads.py", line 161, in _generate_writes
    self.memory[addr + 3]])
  File "/tmp/formatstring/formatstring/payloads.py", line 14, in unpack_bytes
    return struct.unpack(arch.endian_fmt + struct_fmt(len(value), False),
  File "/tmp/formatstring/formatstring/architectures.py", line 15, in struct_fmt
    assert size in formats, 'unknown size'
AssertionError: unknown size

I'll try to investigate during free time and keep you informed :-)

Hi @BastienFaure,
Thank you for trying formatstring.
I can't reproduce the bug on my laptop neither on another computer.
Could you please tell me what version of python do you use?
Apparently, the function struct_fmt in architectures.py got a weird size. According to the traceback, it should have size = 4. Can you check that? You could just add a print statement before the assertion. Thank you.

Hello,
My bad, after re-reading you documentation, I noticed that I launched the sample with a 2.7 Python version. Python3 does not throw the error. Even if I don't understand the value assigned to size (29) with the older Python version, it seems to be working fine :D

Hi @BastienFaure ,
Thank you. I'll close the ticket then.
About python 2: the main problem is that I use the bytes type in python3, that is just an alias for str in python 2. In WritePayload.__setitem__, when I iterate though value, you get integers in python 3 and strings in python 2! Thus, unpack_bytes() get a list of str (ie. ['\x01', \x02', '\x03', '\x04']) and by applying bytes() again, you get:
bytes(['\x01', '\x02', '\x03', '\x04']) == "['\x01', '\x02', '\x03', '\x04']"

This is really not what we want.


Depreciated warnings?

Hello, thanks for the plugin. I'm running into the following errors:
[cmp-dictionary] 'exact' is deprecated. Use 'exact_length' instead.
[cmp-dictionary] 'capacity' is deprecated.
after upgrading to nvim 0.9.5. Do you know if they will be fixed in: https://github.com/uga-rosa/cmp-dictionary/issues/56?

Please read the help documantation.

Ok Thanks! I think I fixed it. I changed exact => exact_length and removed the capacity key.

Yes. Your fixes are right.


Composer could not find a composer.json file

This is my output. Do I need to make a copy of composer.json?. Is there any config I missing?
In Client.php line 103:

  The command "cd /var/www/html/icc_project/releases/1 && /usr/bin/composer install --verbose --prefer-dist --no-progress --no-interaction --optimize-autoloader" failed.

  Exit Code: 1 (General error)

  Host Name: xxx

  ================
  Composer could not find a composer.json file in /var/www/html/icc_project/releases/1
  To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section

@bocanhcam Can you please share how you fixed this issue? Because I'm running into the same. Using Deployer for first time so probably doing something wrong.

@bocanhcam Ah fixed it already, was a simple mistake. I did not commit the composer.json file to Git yet so it did not exist as far as Deployer knew.


Unable to use CDN for post featured image

Describe the bug
I tried adding my image coming from Cloudflare Images into a post and the Hugo build fails.
Output:
WARNING: calling IsSet with unsupported type "bool" (bool) will always return false.
ERROR 2022/05/23 19:12:15 Rebuild failed: failed to render pages: render of "page" failed: "...\AppData\Local\Temp\hugo_cache\modules\filecache\modules\pkg\mod\github.com\razonyang\hugo-theme-bootstrap@v0.77.1\layouts\_default\single.html:5:8": execute of template failed at <partial "post" .>: error calling partial: "...\AppData\Local\Temp\hugo_cache\modules\filecache\modules\pkg\mod\github.com\razonyang\hugo-theme-bootstrap@v0.77.1\layouts\partials\post.html:8:8": execute of template failed at <partial "post/featured-image" .>: "...\AppData\Local\Temp\hugo_cache\modules\filecache\modules\pkg\mod\github.com\razonyang\hugo-theme-bootstrap@v0.77.1\layouts\partials\post\featured-image.html:9:53": execute of template failed at <fileExists (path.Join "static" $filename)>: error calling fileExists: CreateFile ...\hugo-theme-bootstrap-skeleton\static\.avifh.avift.avift.avifp.avifs.avif:.avif\.avif\.avifi.avifm.avifa.avifg.avife.avifd.avife.avifl.avifi.avifv.avife.avifr.avify.avif..avifn.avife.avift.avif\.avifx.avifq.avifi.avifS.avifC.avifi.avifP.avifB.avifX.avifN.avifE.avife.avifB.avifk.aviff.avifB.avifR.avifi.avifR.avifs.avifp.avifQ.avif\.avifc.avif4.aviff.avif7.avif3.avif4.avif4.avif1.avif-.avifb.avifb.avifb.avif1.avif-.avif4.avif6.avif9.avif9.avif-.avif6.avifb.avif2.avif9.avif-.avif1.avif1.avif9.avife.avif4.avifa.avif7.avif5.avifb.avife.avif0.avif0.avif\.avif5.avif7.avif6.avifx.avif3.avif2.avif4.avif: The filename, directory name, or volume label syntax is incorrect.

I believe the problem is that there is no file extension included into the URL from Cloudflare Images.
Can you advise on a solution?
Thanks.

At the same time, as I believe this applies to the same issue, one would need to be able to specify his own source set.
For example the picture tag would look like:
<picture>
<source srcset="" media="(min-width: 1200px)" />
<source srcset="" media="(min-width: 992px)" />
<source srcset="" media="(min-width: 768px)" />
<source srcset="" media="(min-width: 576px), (min-width: 320px)" />

</picture>

If this is not done and you serve a specific size of image only, Google will complain and of course the page performance is hurt.
It would be nice to have control over this, like a partial or something.
Thanks

I don't have a set-up Cloudflare Images account, would you please provide the Markdown code snippet for reproducing this issue? I tested some images without extension from other places(Tencent Cloud Object Storage), but works:
![](https://example.com/imagename)

I don't have a set-up Cloudflare Images account, would you please provide the Markdown code snippet for reproducing this issue? I tested some images without extension from other places(Tencent Cloud Object Storage), but works:
![](https://example.com/imagename)

How did you test this? I used the image hugo variable for the featured post image.

Which variable do you use? I just put the image inside the article content.

Which variable do you use? I just put the image inside the article content.

Ah, I see. Well I used:
index.md:
+++
author = "Mecanik"
title = "..."
date = "..."
description = "..."
featured = true
carousel = true
categories = [
	"..."
]
tags = [
    "..."
]
series = [
   "..."
]
#aliases = ["migrate-from-jekyl"]
images = [
  "**image CDN  URL here**"
]
# toc = false
# [menu.footer]
#   parent = "docs"
#   weight = 4
+++

Is this not the right place to set a featured image for a post?
Thanks

Yep, it's right, but it's still work for me. Does all the Cloudflare images fails to build? It would be better if you provide the CDN URL for me. You can also send it to me via email instead of post it here.

Yep, it's right, but it's still work for me. Does all the Cloudflare images fails to build? It would be better if you provide the CDN URL for me. You can also send it to me via email instead of post it here.

Sent, thanks.

Didn't reproduce it.

How is this possible? I will try again.
On Tue, May 24, 2022 at 5:35 AM Razon Yang @.***> wrote:

Didn't reproduce it.
[image: Screenshot_20220524_1232142]
https://user-images.githubusercontent.com/17720932/169949739-9c4f4923-f0a0-4056-b56f-4f161308c294.png
—
Reply to this email directly, view it on GitHub
https://github.com/razonyang/hugo-theme-bootstrap/issues/537#issuecomment-1135396662,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC4PR5NA5GNOY2TMQPJ5CDTVLRMBFANCNFSM5WWVOK4Q
.
You are receiving this because you authored the thread.Message ID:
@.***>

I just tried again, not working. Hugo server won't even start. What's different in your setup/config?

I also confirmed that the skeleton template works with the same image. I think the problem is not relative to the Cloudflare images.

Very weird, and sad.

I cannot understand how this works for you, when I checked featured-image.html and the code is clearly looking for local images and trying to extract extension etc:
{{- if default false .Site.Params.post.featuredImage -}}
  {{- if .Params.images -}}
    {{- $formats := slice "avif" "webp" "jxl" -}}
    <picture>
      {{- $img := index .Params.images 0 -}}
      {{- $ext := $img | path.Ext }}
      {{- range $formats -}}
        {{- $filename := replace $img $ext (printf ".%s" .) -}}
        {{- if and (not (strings.HasSuffix $ext .)) (fileExists (path.Join "static" $filename)) -}}
          <source srcset="{{ $filename | absURL }}" type="image/{{ . }}" />
        {{- end -}}
      {{- end -}}

    </picture>
  {{- else -}}
    {{- $images := .Resources.ByType "image" -}}
    {{- $featured := $images.GetMatch "*feature*" -}}
    {{- with $featured -}}

    {{- end -}}
  {{- end -}}
{{- end -}}

Do you have a different code for this or? It just does not make sense.

No, the source code is the same. Could you please provide the following information?

Hugo version
OS version
Others

Could you please remove the posts, so that Hugo can build the site successfully, and then create a new post with the following content:
+++
title = "BLOG POST"
images = [
  "CDN IMAGES URL"
]
+++

If everything is OK, the issue isn't about this picture.
You can send your site to me(via email or repository) for reproducing this issue if you don't mind.

I did exactly what you asked, and the error is still there.

Hugo: hugo v0.99.1-d524067382e60ce2a2248c3133a1b3af206b6ef1+extended windows/amd64 BuildDate=2022-05-18T11:18:14Z VendorInfo=gohugoio
OS: Windows 10
Git: 28585e20c5beda80b7a94ebe3ce33403f69d697c (HEAD -> main, origin/main, origin/HEAD) Update README.md
GO: go version go1.18.2 windows/amd64

I`m not really comfortable sharing the entire project, I have stuff there...

So far this is the biggest and only issue I`m unable to resolve, which is really sad. After reading over and over the code from the featured- partial, I just cannot understand how it can parse the URL without file extension (which is the error hugo complains about).
Perhaps you have something different, because this is not really possible for it to magically work for you.

I'll try to reproduce on Windows tonight at home.

I'll try to reproduce on Windows tonight at home.

I`m happy to share a team viewer session if you want to see this issue "live".

Reproduced the issue on Windows successful.


Improve installer

Improve installer. Does it handle Neo4j?

怎样改变？

The web installer has been removed for now.
The docker install method has been successfully tested.
Standard installation with Travis successfully builds.
Windows not tested.

We were using https://github.com/RachidLaasri/LaravelInstaller
Need to discuss whether to have a web installer and what is required.
Any pull requests are welcome to be considered.


SPFx & React

[x] Question

I'm new for SharePoint SPFx and React, got a question, the code generated by gulp below:
export default class HelloReactWebPart extends BaseClientSideWebPart<IHelloReactWebPartProps> {
  public render(): void {

    const element: React.ReactElement<IHelloReactProps> = React.createElement(
      HelloReact,
      {
        description: this.properties.description
      }
    );
    ReactDom.render(element, this.domElement);
  }

Is there a way to create the element using JSX, not use React.ReactElement, like something below:
const element: React.ReactElement<IHelloReactProps> =
            <HelloReact description={this.properties.description} />

Thanks!

Yes, it works, all I need to do is rename the filename generated by the template, change the filename "HelloReactWebPart.ts" to "HelloReactWebPart.tsx".


vulkan-headers: <IP_ADDRESS> -> <IP_ADDRESS>

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/vulkan-headers/versions.
meta.description for vulkan-headers is: '"Vulkan Header files and API registry"'.
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

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

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

directory tree listing: https://gist.github.com/a9e86aa35e93e5e67e0995b9c0e6837b

du listing: https://gist.github.com/86e403652fa181b6c002861ee0fc1634

Test this build with Cachix (click to expand)

One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout 93ccec645f1a152b30f756632e648956df6b9cba && nix-shell --pure -I nixpkgs=. -p vulkan-headers

cc @ralith for testing.

Success on x86_64-linux (full log)
Attempted: vulkan-headers
Partial log (click to expand)
-- Installing: /nix/store/bmcn6qsqzk1qf2aq34kn8dpk1n9w58rf-vulkan-headers-<IP_ADDRESS>/share/vulkan/registry/vk.xml
-- Installing: /nix/store/bmcn6qsqzk1qf2aq34kn8dpk1n9w58rf-vulkan-headers-<IP_ADDRESS>/share/vulkan/registry/genvk.py
-- Installing: /nix/store/bmcn6qsqzk1qf2aq34kn8dpk1n9w58rf-vulkan-headers-<IP_ADDRESS>/share/vulkan/registry/generator.py
-- Installing: /nix/store/bmcn6qsqzk1qf2aq34kn8dpk1n9w58rf-vulkan-headers-<IP_ADDRESS>/share/vulkan/registry/validusage.json
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/bmcn6qsqzk1qf2aq34kn8dpk1n9w58rf-vulkan-headers-<IP_ADDRESS>
strip is /nix/store/gpc2wld1s0c6qzx9326cwn1wcx29xzsj-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/bmcn6qsqzk1qf2aq34kn8dpk1n9w58rf-vulkan-headers-<IP_ADDRESS>
checking for references to /build in /nix/store/bmcn6qsqzk1qf2aq34kn8dpk1n9w58rf-vulkan-headers-<IP_ADDRESS>...
/nix/store/bmcn6qsqzk1qf2aq34kn8dpk1n9w58rf-vulkan-headers-<IP_ADDRESS>

Success on aarch64-linux (full log)
Attempted: vulkan-headers
Partial log (click to expand)
-- Installing: /nix/store/cfh06d80s7g30lak0qixrlm9ql3jsxv9-vulkan-headers-<IP_ADDRESS>/share/vulkan/registry/reg.py
-- Installing: /nix/store/cfh06d80s7g30lak0qixrlm9ql3jsxv9-vulkan-headers-<IP_ADDRESS>/share/vulkan/registry/genvk.py
-- Installing: /nix/store/cfh06d80s7g30lak0qixrlm9ql3jsxv9-vulkan-headers-<IP_ADDRESS>/share/vulkan/registry/generator.py
-- Installing: /nix/store/cfh06d80s7g30lak0qixrlm9ql3jsxv9-vulkan-headers-<IP_ADDRESS>/share/vulkan/registry/cgenerator.py
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/cfh06d80s7g30lak0qixrlm9ql3jsxv9-vulkan-headers-<IP_ADDRESS>
strip is /nix/store/ah0va6j4cnwj9nx4j6rwcfc8nh785jwm-binutils-2.30/bin/strip
patching script interpreter paths in /nix/store/cfh06d80s7g30lak0qixrlm9ql3jsxv9-vulkan-headers-<IP_ADDRESS>
checking for references to /build in /nix/store/cfh06d80s7g30lak0qixrlm9ql3jsxv9-vulkan-headers-<IP_ADDRESS>...
/nix/store/cfh06d80s7g30lak0qixrlm9ql3jsxv9-vulkan-headers-<IP_ADDRESS>

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: vulkan-headers
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Updating vulkan-headers on its own will break other packages. This PR should be closed in favor of https://github.com/NixOS/nixpkgs/pull/45195.


dead plugin

getting the following traceback on save. little dots are not showing up in gutter, no errors are being caught and displayed
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 231, in run_callback
    expr()
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 288, in <lambda>
    run_callback('on_post_save', callback, lambda: callback.on_post_save(v))
  File "compile_selected_es6 in /Users/michaelmclaughlin/Library/Application Support/Sublime Text 3/Installed Packages/Compile Selected ES6.sublime-package", line 104, in on_post_save
  File "compile_selected_es6 in /Users/michaelmclaughlin/Library/Application Support/Sublime Text 3/Installed Packages/Compile Selected ES6.sublime-package", line 47, in compile
  File "./python3.3/subprocess.py", line 819, in __init__
  File "./python3.3/subprocess.py", line 1448, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'babel'

According to the trace you are using dead plugin: https://packagecontrol.io/packages/Compile Selected ES6
Remove it and be happy ;)

Additionally, I don't see anything here that has to do with SublimeLinter. Because of these reasons, until we have more information, there is nothing we can do. Im closing this issue, and I'm sorry for the inconvenience.


Upgrade php-dev image to PHP 8.0

Unfortunately we are still getting deprecation errors in API Platform (https://github.com/api-platform/api-platform/issues/1586) for docker image webdevops/php-dev:8.0 (https://hub.docker.com/r/webdevops/php-dev/tags), but we are confident that we will be able to upgrade to :rocket: PHP 8.0 :rocket: in the near future.

Visit: https://www.php.net/releases/8.0/en.php

We can close this on release merge. :rocket: :rocket: :rocket:

Visit: https://github.com/antishov/StofDoctrineExtensionsBundle/issues/26

Visit: https://github.com/antishov/StofDoctrineExtensionsBundle/issues/26


[Bug]: Issues in analysis for invalid usage of unquoted client keyword

Description
$title.

Analysis doesn't happen for when used in type contexts
For references, a change done seems to have incorporated source part name when checking if the prefix was declared for a client declaration, which results in the error being logged incorrectly when the prefix corresponds to a module client declaration from another source part

Steps to Reproduce
No response
Affected Version(s)
2201.3.0-RC1
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Fixed in https://github.com/ballerina-platform/ballerina-lang/pull/38439.


Better layering of docker image

Currently the Dockerfile use a single layer to do an awful lot of things, which means any changes on this line
RUN apt-get update && \
    apt-get install -y software-properties-common && \
    add-apt-repository -y ppa:certbot/certbot && \
    apt-get update && \
    apt-get install -y \
    build-essential \
    libatlas-base-dev \
    libopencv-dev \
    graphviz \
    python-dev \
    openjdk-8-jdk \
    nginx \
    protobuf-compiler \
    libprotoc-dev \
    python-certbot-nginx \
    curl \
    vim \
    && rm -rf /var/lib/apt/lists/* \
    && cd /tmp \
    && curl -O https://bootstrap.pypa.io/get-pip.py \
    && python get-pip.py \
    && pip install gevent gunicorn mxnet-model-server \
    && pip uninstall --yes mxnet \
    && pip install mxnet-mkl \
    && mkdir /mxnet_model_server

triggers the creation of a new heavy layer. I would suggest separating the dependencies that are not likely to change and make it a base image.
Then you can have a different image for cpu/gpu that mostly only installs the right version of mxnet and mxnet-model-server. This makes the updates to the awsdeeplearningteam/mms_cpu much faster. I am writing this while waiting for the updates to the latest version that I hope might fix the bug I reported earlier:
Step 1/4 : FROM awsdeeplearningteam/mms_cpu:latest
latest: Pulling from awsdeeplearningteam/mms_cpu
22dc81ace0ea: Already exists
1a8b3c87dba3: Already exists
91390a1c435a: Already exists
07844b14977e: Already exists
b78396653dae: Already exists
8f4e3302427d: Downloading [========================================>          ]  515.4MB/639.9MB
8f4e3302427d: Downloading [=========================================>         ]  532.1MB/639.9MB

Actually I am going to issue a PR
edit: holding off on the PR, since I have seen the Dockerfile is different here and pin-pointing the mxnet-model-server version: https://hub.docker.com/r/awsdeeplearningteam/mms_cpu/~/dockerfile/

Reg the layering, thats a good point. We will break this up further.

Added in pull request #363


[Documentation] Inconsistencies and Questions in Device Library Specification

Documentation issues

chapter 2.2.1 (Power Source): "Utility" is no defined devcie class type, should it be Node or Simple or what? Or is utility missing in list of class types; same for  chapter 2.3.2 (OTA Requestor),  chapter 2.4.2 (OTA provider) and also 2.5.2 (Aggregator) has "Dynamic Utility"
chapter 5.3.4 (Pump)/9.1.4 (Heater/Cooling Unit)/10.4.4(Speaker)/10.6.4 (Casting Video client): "Level" -> "Level Control" (Cluster name formally wrong)
Is there a reason why the Groups Cluster client is for some sensoring devicetypes optional (7.1-7.3), and sometimes only optional if Zigbee (7.4+)? Would it not make more sense to have that unified because makes sense in any case potentially. Same basically on Door Lock. That feels a bit random designed ... :-)

In general the documentation is a bit strange when it comes to Device types ... In examples it talks from Device type "Fridge/Freezer" and also "TV" (10.1.3 on pg 71 of Device Library Specs) in tables/charts as if these would be officially defined devcie types. But I could not find them anywhere.
Also for composed Devices there is only one example at all with Bridged devices as device type but nothing else. The TV example in 10.1.3 on pg 71 of Device Library Specs is also kind of an composed device, but then forthe root it states "TV" as decvice type which is not existing -  so what should be set there?
Or do I miss any specs?
Thank you for bringing up some light into that topic.
Platform
other
Anything else?
No response

@Apollon77 Ideally spec issues would get filed in the spec repo, because they are not actionable here...  I understand that you might not have access to that repo, though.

"Utility" is no defined devcie class type

I'm following up to figure out which part of the spec is wrong there.

"Level" -> "Level Control"

Also the Pump Controller device type...  Filed https://github.com/CHIP-Specifications/connectedhomeip-spec/issues/6390

why the Groups Cluster client is for some sensoring devicetypes optional (7.1-7.3), and sometimes only optional if Zigbee (7.4+)?

Probably an oversight, but hard to tell.  It should probably be [Zigbee] in all of these....

Same basically on Door Lock.

I'm not sure what the Door Lock issue you're referring to is.

In general the documentation is a bit strange when it comes to Device types

It's not documentation.  It's a specification.
Examples are just that: examples.  They can talk about device types that could exist but don't yet and how they could be represented using the primitives the specification defines, etc.

for composed Devices there is only one example at all with Bridged devices as device type but nothing else.

For now, yes.  More are in the process of being specified.

And yes I do not have access to the specs repo because I'm "just" a developer that use them to implement the protocol I'm one of the core team devs of matter.js (https://github.com/project-chip/matter.js). No idea if there are ways by signing NDAs or such to get further access to such parts for open source contributors (most likely not). So if there is a better place for the issue please tell.
Thank you for your information. I understand that the examples are just examples, but it's still a bit confusing. In my eyes an example for composed devices which based on the current real device types would be beneficial additional to the others because right now I need to take some assumptions - or look into Chip-tool code if there is an example (knowing that also Chip-tool only is a reference implementation which could also be out of specs) ;-)

No idea if there are ways by signing NDAs or such to get further access to such parts for open source contributors

Please check with @clapre ?

In my eyes an example for composed devices which based on the current real device types would be beneficial

The problem is lack of existing composed devices, as you noted....

Please check with @clapre ?

I wrote him an email

Let's close here ... I have no insights into internal chip workgroup processes or documentation enhancement plans ... sooo ...


Week 8 Review Ticket

Tyler Hickman Score: /2

[ ] GH Team/Indi Page as applicable, Review Ticket with links to issues, SCRUM Team graded

[ ] PBL project "tangibles".

Tangibles: https://tyler929.github.io/project +<EMAIL_ADDRESS>+ https://github.com/Tyler929/tyler929.github.io/commit/f5f0451c55bc12a668b7ad880995c96bd4c0d5ed + https://github.com/Tyler929/tyler929.github.io/commit/1ce05dbb60745c24cd7c9505c2ded2152d3ee9f8

Tyler Hickman Score: 2/2

[x] GH Team/Indi Page as applicable, Review Ticket with links to issues, SCRUM Team graded
Scrum team and others saw the process. Good and updated personal github page. Also review ticket on the scrumboard.
[x] PBL project "tangibles".
On replit added many functions including a story, password, and a quiz. Good progress on the work

Tangibles: https://tyler929.github.io/project +


Drviers: PWM: additional tests and add a sample demonstrating pwm capture

This PR adds additional tests to check that capture times are accumulated when overflows happen.
Additionally a sample demonstrating the capture API is added.
Note:
In am not familiar with the NXP SoC's clock-tree for which an overlay file exists in the tests boards folder.
Therefore I am not sure if the changes to the overlay file have the expected result.
Please let me know this changes are too specific/have too many constraints, then maybe the additional tests should only be executed conditionally?

@str4t0m - I think this could probably be merged for v2.7.0, as it's mainly just adding tests / samples. @anangl , can you please give it a review?

@str4t0m - please rebase / resolve conflicts


Fixed Aggregate Function No Dictionary Column Issue

fixed aggregate function like avg and sum on no dictionary column,

retest this please

retest this please


[Eclipse phase V2] Update for last Playtest

Due to the conflicts in the translation files, could you please revert all changes to these files?  They will be auto-regenerated when I run the translation script.
If you like, you can try to resolve the conflicts, but I don't imagine it will be easy.


Split completion row into own component. r=bgrins

Fixes #604

Coverage increased (+0.2%) to 43.049% when pulling f11fea24021daf5c4942e5b8ecb101dd30c13dc5 on linclark:604-completion-row into 0b453f03769f9bdaf5293bd7f8e84c7436c26d88 on mozilla:master.

Really happy to see this PR @linclark

Good call, I extracted the styles out and that makes things much clearer. If anyone has suggestions for other const names for them, lmk.
@bgrins, I want to make sure that you have a chance to review this before we land it. No rush, I'll be off doing this for a while 🚴🌅

Coverage decreased (-0.01%) to 42.857% when pulling 82a458da5a1bf267ab94f5da6e73ff602631f7e8 on linclark:604-completion-row into 0b453f03769f9bdaf5293bd7f8e84c7436c26d88 on mozilla:master.

I've left a few notes, clearing review flag (not sure if that's the correct process here)

Hey hey, look at that, it even works now. Marking for review again.

LGTM, thanks!  Please squash when landing

Coverage increased (+0.01%) to 41.405% when pulling e7b50b3c060882e5c07c04df6837591f0f6cfa47 on linclark:604-completion-row into 2098f36de82500c9d7e8ed726931d1695bd31381 on mozilla:master.


Upgrade to Jetson Xavier NX

I would like to upgrade to Jetson Xavier NX dev board. However, it requires 19v power and I am not sure how to proceed. Is it possible to document upgrade path to Jetson Xavier NX and what are our hardware options? Should we use Nano board with NX module instead of NX dev board? I would like to use Jetson Xavier NX board as it has build in wireless and separate M2 slot for SSD and I do not need to share USB port between SSD hard drive and Intel Realsense D435i camera.

I guess, upgrade to 3S Lipo battery will work, but will require motor and ESC replacement as well as adding some power split (between ESC and Jetson) board. 3S Lipo battery has voltage 9-12v and, technically, should be enough. Is there a better way?

I also evaluated different power supply options when upgrading to the Jetson Xavier NX.
First thing that came to my mind was also using the Lipo battery, but you already mentioned the drawbacks. Another problem with this approach is the completely missing BMS. So neither the Jetson is protected from overcurrent/overvoltage nor is the battery protected from deep discharge in case you forget to turn off the Jetson.
But there are Powerbanks designed for Laptops that can deliver 12 V and over 60 W. That's the solution I'll go with.

Not an electrical engineer. Interested in building the hardware and playing with the Model.
Would appreciate an upgrade path to Xavier NX

the xavier can run from 12V also... you dont need 19v.... add a DC-DC NUC power supply / openups2 from mini-box.com

folks, i have been living through the Xavier upgrade for past few months. the sd card image doesn't boot (probably because it is meant for Nano). and manual install also have a bunch of issues due to different jetpack/libraries and almost every module being preinstalled with deprecated tools. i'm still building stuff from source and not gotten to the end of the tunnel yet...
anywhoooo... the power bank thing is another thread in my story. i hope some of my learning can help others...
the 5.2mm barrel jack on Xavier is a standard interface and any power bank meant for laptops with same jack or converter would work since most all laptop PSUs are 19v and 3A or more so the power banks for laptops are quite suitable for Xavier. with that said, most of the power banks available are quite expensive ($100 or more).
one cheaper alternative is to use battery packs that take 4 or more lipo cells (you have to buy the enclosure and cells separately). many available online (link). the Cons for this alternative is weight of the package might be 1.2-2lb or more.
the only suitable but not readily usable option i found was Dell power companion PW7015 ($45 at Staples). it provides 19v, with 12Ah capacity / 65W and around 1lb weight. problem with this one is the stupid dell propitiatory center pin interface which is used for communication from laptop to PSU/power bank to tell it how much volts are needed (and to not charge laptop battery if the PSU / source is below the laptop's expected wattage rating). the power bank shuts down after 30sec.
i'm working on a hack to spoof it by sending the expected signals (1-wire - ATTINY85 board) but no luck yet...
just wanted to share all my research so we can collectively move forward :)


eslint error Emitter not found in 'mitt'  import/named

import mitt, { Emitter } from 'mitt'
gives me eslint error  Emitter not found in 'mitt'  import/named (https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/named.md)
Where it should work (see: https://github.com/developit/mitt/blob/master/src/index.ts#L15).
Any ideas what is going wrong?
// .eslintrc.js

module.exports = {
  root: true,
  env: {
    browser: true,
    node: true,
  },
  extends: [
    '@nuxtjs/eslint-config-typescript',
    'prettier',
    'plugin:prettier/recommended',
    'plugin:nuxt/recommended',
  ],
  plugins: ['prettier'],
  rules: {},
}

This is the expected behavior of eslint-plugin-import, see this PR:
https://github.com/benmosher/eslint-plugin-import/pull/1726
The recommendation from the maintainers of eslint-plugin-import is to use type imports, or disable import/named globally:
import mitt from 'mitt'
import type { Emitter } from 'mitt'  // this is a type-only import and will be ignored by `import/named`


Fix backend test GitHub Action

Context & versions
workflow: test_backend.yml
language: python
Steps to reproduce
Dispatch workflow locally using act,
Or push any commit as the workflow is configured to dispatch on push
Actual behavior
Every test fails due to the wrong configuration.
Expected behavior
Workflow might fail if something indeed is wrong, but they should run and execute tests.

@pmbinapps comment with status after test-sancho PR&deploy

Skip as dev->test process is under discussion yet.


External TrackPoint cursor speed changes to default while keyd is running

I'm using a ThinkPad T480 with an external Lenovo ThinkPad Compact USB Keyboard with TrackPoint on Fedora Linux 40 with Gnome 46 running on Wayland.
When running systemctl start keyd, the cursor speed when using the TrackPoint on the external USB keyboard is slowed down to the default speed, even though the cursor speed is set to max on the gnome settings.
This only happens with the external TrackPoint. The TrackPoint that is attached to the laptop is unaffected.
I haven't found a similar issue and I couldn't find an easy fix, but it seems that keyd is overwriting some settings related to the external USB keyboard based on the debug output below. Maybe it's just a configuration issue from my end.
Any help is appreciated.
My /etc/keyd/default.conf file:
[ids]

*

[main]

shift = oneshot(shift)
meta = oneshot(meta)
control = oneshot(control)

leftalt = oneshot(alt)
rightalt = oneshot(altgr)

capslock = overload(control, esc)
insert = S-insert

esc = capslock

KEYD_DEBUG=1 keyd output:
sudo KEYD_DEBUG=1 keyd
DEBUG: src/keyd.c:230: Debug mode activated
CONFIG: parsing /etc/keyd/default.conf
Starting keyd v2.4.3 (ce1bab6)
DEVICE: match    0001:0001:a38e6885  /etc/keyd/default.conf	(AT Translated Set 2 keyboard)
DEVICE: match    17ef:6047:00d52654  /etc/keyd/default.conf	(Lenovo ThinkPad Compact USB Keyboard with TrackPoint)
DEVICE: match    17ef:6047:b3c60151  /etc/keyd/default.conf	(Lenovo ThinkPad Compact USB Keyboard with TrackPoint)
DEVICE: match    0000:0006:bdb72f48  /etc/keyd/default.conf	(Video Bus)
DEVICE: match    0000:0006:bdb72f48  /etc/keyd/default.conf	(Video Bus)
DEVICE: match    17aa:5054:101d4f25  /etc/keyd/default.conf	(ThinkPad Extra Buttons)
DEVICE: ignoring 06cb:0000:11917735  (Synaptics TM3276-022)
DEVICE: ignoring 0002:000a:f1080be4  (TPPS/2 IBM TrackPoint)
DEVICE: ignoring 0fac:1ade:d2b36ae6  (keyd virtual pointer)
DEBUG: src/daemon.c:449: input leftmouse down
DEBUG: src/vkbd/uinput.c:336: output leftmouse down
DEBUG: src/daemon.c:449: input leftmouse up
DEBUG: src/vkbd/uinput.c:336: output leftmouse up
DEBUG: src/daemon.c:449: input leftmouse down
DEBUG: src/vkbd/uinput.c:336: output leftmouse down

fastfetch output:
             .',;::::;,'.                 mgm@fedora
         .';:cccccccccccc:;,.             ----------
      .;cccccccccccccccccccccc;.          OS: Fedora Linux 40 (Workstation Edition) x86_64
    .:cccccccccccccccccccccccccc:.        Host: 20L6S7PE26 (ThinkPad T480)
  .;ccccccccccccc;.:dddl:.;ccccccc;.      Kernel: Linux 6.9.8-200.fc40.x86_64
 .:ccccccccccccc;OWMKOOXMWd;ccccccc:.     Uptime: 1 day, 57 mins
.:ccccccccccccc;KMMc;cc;xMMc;ccccccc:.            Font: Cantarell (11pt) [GTK2/3/4]
ccccccccccccccccccccccccccccc:'.          Cursor: Adwaita (24px)
:ccccccccccccccccccccccc:;,..             Terminal: GNOME Terminal 3.50.1
 ':cccccccccccccccc::;,.                  Terminal Font: Source Code Pro (10pt)
                                          CPU: Intel(R) Core(TM) i7-8650U (8) @ 4.20 GHz
                                          GPU 1: Intel UHD Graphics 620 @ 1.15 GHz [Integrated]
                                          GPU 2: NVIDIA GeForce MX150 [Discrete]
                                          Memory: 4.80 GiB / 15.49 GiB (31%)
                                          Swap: 2.02 MiB / 8.00 GiB (0%)
                                          Disk (/): 255.31 GiB / 475.35 GiB (54%) - btrfs
                                          Local IP (wlp3s0): <IP_ADDRESS>/24 *
                                          Battery 1: 100% [AC Connected]
                                          Battery 2: 95% [AC Connected]
                                          Locale: en_US.UTF-8

                                          ████████████████████████
                                          ████████████████████████

Can confirm that this also happens on my X220 running Ubuntu with the same keyd config file.
sudo KEYD_DEBUG=1 keyd output:
DEBUG: src/keyd.c:230: Debug mode activated
CONFIG: parsing /etc/keyd/default.conf
Starting keyd v2.4.3 (ce1bab6)
DEVICE: match    0001:0001:a38e6885  /etc/keyd/default.conf	(AT Translated Set 2 keyboard)
DEVICE: match    17aa:5054:101d4f25  /etc/keyd/default.conf	(ThinkPad Extra Buttons)
DEVICE: ignoring 0002:0007:b86ee257  (SynPS/2 Synaptics TouchPad)
DEVICE: ignoring 0002:000a:f1080be4  (TPPS/2 IBM TrackPoint)
DEVICE: match    0000:0006:bdb72f48  /etc/keyd/default.conf	(Video Bus)
DEVICE: match    17ef:6047:00d52654  /etc/keyd/default.conf	(Lenovo ThinkPad Compact USB Keyboard with TrackPoint)
DEVICE: match    17ef:6047:b3c60151  /etc/keyd/default.conf	(Lenovo ThinkPad Compact USB Keyboard with TrackPoint)
DEVICE: ignoring 0fac:1ade:d2b36ae6  (keyd virtual pointer)
DEBUG: src/daemon.c:449: input leftmouse down
DEBUG: src/vkbd/uinput.c:336: output leftmouse down

fastfetch output:
                           ....               mateus-melo@mateus-melo-ThinkPad0
              .',:clooo:  .:looooo:.           ---------------------------------
           .;looooooooc  .oooooooooo'          OS: Ubuntu noble 24.04 x86_64
        .;looooool:,''.  :ooooooooooc          Host: 4291RC7 (ThinkPad X220)
       ;looool;.         'oooooooooo,          Kernel: Linux 6.8.0-36-generic
      ;clool'             .cooooooc.  ,,       Uptime: 10 mins
         ...                ......  .:oo,      Packages: 2060 (dpkg), 10 (snap)
  .;clol:,.                        .loooo'     Shell: bash 5.2.21
 :ooooooooo,                        'ooool     Display (LGD02D8): 1366x768 @ 60z
'ooooooooooo.                        loooo.    DE: GNOME 46.0
'ooooooooool                         coooo.    WM: Mutter (Wayland)
 ,loooooooc.                        .loooo.    WM Theme: Yaru-dark
   .,;;;'.                          ;ooooc     Theme: Yaru-dark [GTK2/3/4]
       ...                         ,ooool.     Icons: Yaru-dark [GTK2/3/4]
    .cooooc.              ..',,'.  .cooo.      Font: Ubuntu Sans (11pt) [GTK2/3]
      ;ooooo:.           ;oooooooc.  :l.       Cursor: Yaru (24px)
       .coooooc,..      coooooooooo.           Terminal: GNOME Terminal 3.52.0
         .:ooooooolc:. .ooooooooooo'           Terminal Font: Ubuntu Sans Mono )
           .':loooooo;  ,oooooooooc            CPU: Intel(R) Core(TM) i5-2520M z
               ..';::c'  .;loooo:'             GPU: Intel 2nd Generation Core P]
                                               Memory: 3,11 GiB / 7,64 GiB (41%)
                                               Swap: 0 B / 4,00 GiB (0%)
                                               Disk (/): 24,65 GiB / 108,44 GiB4
                                               Local IP (wlp3s0): <IP_ADDRESS>*
                                               Battery: 30% [Charging]
                                               Locale: pt_BR.UTF-8

                                               ████████████████████████
                                               ████████████████████████

Try specifying the keyboard id specifically. Mouse support is limited.
[id]
k:0001:0001

That worked! Thanks!
I added the internal keyboard id and the first of the 2 ids from the external keyboard, and it works fine now.
It seems like that the first id from the external keyboard refers to the keys themselves and the second id refers to the trackpoint.
My /etc/keyd/default.conf file now looks like this:
[ids]
k:0001:0001
k:17ef:6047:00d52654

[main]

shift = oneshot(shift)
control = oneshot(control)

leftalt = oneshot(alt)
rightalt = oneshot(altgr)

capslock = overload(control, esc)
insert = S-insert

esc = capslock

Alternatively, could I tell it to ignore the external keyboard second id?

Devices not specified with [ids] are ignored.

[ids]

0001:0001
17ef:6047:00d52654

should also work, and is the recommended approach. The old [km]: prefixes were introduced to account for device ids which could not solely be distinguished by product/vendor ids, but that should no longer be an issue as of ca9aa51.

[ids]

0001:0001
17ef:6047:00d52654

should also work, and is the recommended approach. The old [km]: prefixes were introduced to account for device nodes which could not solely be distinguished by product/vendor ids, but that should no longer be an issue as of ca9aa51.

Worked flawlessly. Thanks!

I have the same problem but I need to remap my mouse buttons, which can't be achieved without having my mouse cursor acceleration reset to default.
I understand that mouse support is limited, but can't this stay as an open issue?

Indeed, it might be better to separate the actions for moving the mouse pointer from the rest of the actions.
I imagine that would help to avoid this problem.
https://github.com/rvaiya/keyd/issues/451
@rvaiya What do you think?
https://github.com/user-attachments/assets/89704ed3-b1c0-4da7-a43b-3439d297d3d6


Add ky to fetch data from server

Fixes #300

Please see....build is failing

Build working on my local, not here


Extend netbird status command to include health information

Describe your changes
Issue ticket number and link
https://wiretrustee.atlassian.net/browse/NB-585
Checklist

[ ] Is it a bug fix
[ ] Is a typo/documentation fix
[x ] Is a feature enhancement
[ ] It is a refactor
[ ] Created tests that fail without the change (if possible)
[x] Extended the README / documentation, if necessary

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Move IdentifierToCall node pass logic inside AST Creation flow itself.

IdentifierToCall determines, after the AstCreation, if an identifier behaves like a parenthesis-less call, and if so, replaces that node with a similar call node. This is not ideal, as base passes may treat a node differently based on the type.
This issue suggests using the PackageContext.packageTable.methodTableMap given to the AstCreator to determine if an identifier shares a name with a known method, and immediately creates a call instead.

@DavidBakerEffendi add more details in this ticket

Development at dave/ruby/identifier-call-replacement

Tried verifying against -  https://github.com/pay-rails/pay/blob/master/app/controllers/pay/webhooks/braintree_controller.rb#L9
we have verified_event  identifier, which is basically a call to the method verified_event
cc - @DavidBakerEffendi @pandurangpatil


Grant request submission for php substrate api.

Project Abstract

Please provide a brief description of your project here summarising key points (1-2 paragraphs).
If your application is a follow-up to a previous grant, please mention which one in the first line of the abstract and include a link to previous pull requests if applicable.

For which grant level are you applying?

[ ] Level 1:  Up to $10,000, 2 approvals
[ ] Level 2:  Up to $50,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for > $100k Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied, renamed ( project_name.md) and updated.
[ ] A BTC or Ethereum (DAI/USDT) address for the payment of the milestones is provided inside the application.
[ ] I have read and acknowledged the terms and conditions.
[ ] The software delivered for this grant will be released under an open-source license specified in the application.
[ ] The initial PR contains only one commit (squash and force-push if needed).
[ ] The grant will only be announced once the first milestone has been accepted.

Working as a contributor

@tejbahadursingh I still can't see the previous work regarding RPC APIs?

@mmagician here is the repo link https://github.com/tejbahadursingh/substrate-interface


Add Eternal Silence by DJ-Nate

Song Name
Eternal Silence
Artist Name
DJ-Nate
Source
Direct file download
Youtube Link
JWUg2ZILWbM
Direct File Link
https://ve32.aadika.xyz/download/JWUg2ZILWbM/mp3/320/1718534567/a24f379462d65e099ffeeef1be635b3de57fe350c5e2beba473fec34dd599988/1?f=Y2mate.mx
Song ID
13
Extra
Created from Auto Nong.
Created for level: 59075347

accept

link isn't working


greengrass-cli inside docker container

Describe the bug
is it possible to use greengrass-cli inside docker container which was created from aws-greengrass/aws-greengrass-docker repositry?
https://docs.aws.amazon.com/greengrass/v2/developerguide/gg-cli-deployment.html
can you provide CLI examples of such usage?

Use docker exec to execute commands inside a container which exists: https://docs.docker.com/engine/reference/commandline/exec/


Fix evaluation compile at every step

It seems that either compilation re-happens at every evaluation step, or that it accumulates multiple graphs.
Might be related to a missing barrier.

Hi @michaelbenayoun is something like this you're observing in the training output during evaluation?
023-09-11 13:36:10.000941: INFO \|\|NCC_WRAPPER\|\|: Compile cache path: /tmp/tmp1lg6qutl/neuron-compile-cache
--
2023-09-11 13:36:10.000941: INFO \|\|NCC_WRAPPER\|\|: Compile cache path: /tmp/tmp1lg6qutl/neuron-compile-cache
.
.
Non-output memory location with no reader {_convert-t151}@SB<0,0>(1x4)#Internal DebugInfo: <_convert\|\|UNDEF\|\|[1, 1, 1]>
Non-output memory location with no reader {_convert-t151}@SB<0,0>(1x4)#Internal DebugInfo: <_convert\|\|UNDEF\|\|[1, 1, 1]>
Compiler status PASS
Compiler status PASS
4%\|▍         \| 6/137 [04:59<2:00:22, 55.13s/it]#033[A
2023-09-11 13:36:17.000464: INFO \|\|NCC_WRAPPER\|\|: Compile cache path: /tmp/tmp1lg6qutl/neuron-compile-cache
.

This is happening with every text-classification evaluation code I'm running... If that is the case, any workaround?

No I don't see that but I see compilation re-happening at every step. Will have a look once I have more bandwitdth.

It would be good to give a higher priority to this one. It makes optimum neuron useless for training medium/large models. During evaluation, all the compilation steps accumulate and at the end it takes forever for the process to finish. I ran some experiments and noticed this issue is related to transformers>4.30.0 (any version higher than 4.30.0). Something changed in version 4.31.0 that is causing this issue. Given Optimum Neuron version 0.0.11 requires transformers 4.32.0 or higher, it doesn't work.
I tested with NeuronSDK 2.12 & 2.13.2 and the results were the same for the following requirements.txt configurations:
WORKS
evaluate==0.4.0
accelerate==0.21.0
scikit-learn==1.3.0
optimum-neuron==0.0.8
transformers==4.30.0
WORKS
evaluate==0.4.0
accelerate==0.21.0
scikit-learn==1.3.0
optimum-neuron==0.0.9
transformers==4.30.0
WORKS
evaluate==0.4.0
accelerate==0.21.0
scikit-learn==1.3.0
optimum-neuron==0.0.10
transformers==4.30.0
DOESN'T WORK
evaluate==0.4.0
accelerate==0.21.0
scikit-learn==1.3.0
optimum-neuron==0.0.11
transformers==4.32.1
DOESN'T WORK
evaluate==0.4.0
accelerate==0.23.0
scikit-learn==1.3.0
git+https://github.com/huggingface/optimum-neuron.git
transformers==4.32.1


Configure Output Directory

Ability to configure the output directory when adding a package in the way that nuget.exe allows:
http://docs.nuget.org/docs/reference/command-line-reference#Install_Command
At present all packages are installed into ".\packages", which is inflexible.

@agross @mexx @theimowski
Is this something we want to do? I'm not completle sure since I actually like the opnionated approach we take today.

Yes, I don't see a reason for the adding complexity to paket. The OP should try to explain why he thinks the flexibility is required in the first place.
Alex
Alexander Groß
Tiny phone, tiny mail
On Sun, Jan 25, 2015 at 11:30 AM, Steffen Forkmann
<EMAIL_ADDRESS>wrote:

@agross @mexx @theimowski
Is this something we want to do? I'm not completle sure since I actually like the opnionated approach we take today.
Reply to this email directly or view it on GitHub:
https://github.com/fsprojects/Paket/issues/563#issuecomment-71365143

In fairness, my use-case is not about managing packages & dependencies across projects for one solution.
I needed it because I was trying to use Paket to download individual packages to a specific folder, as part of a script which coordinates the running of multiple executables delivered by the packages (its a micro-service application dev workflow tool). I can do it with nuget.exe but just wanted to try out Paket.
However, whilst experimenting, I tripped up on the >260 chars filepath length. Might be nice if Paket had a backdoor to help out of that?
p.s. whats an OP? :-)

Can't you just move the packages to the desired location after downloading?
The OP ist the original poster that opened a thread on a message board.
Alex
Alexander Groß
Tiny phone, tiny mail
On Sun, Jan 25, 2015 at 10:41 PM, Nick<EMAIL_ADDRESS>wrote:

In fairness, my use-case is not about managing packages & dependencies across projects for one solution.
I needed it because I was trying to use Paket to download individual packages to a specific folder, as part of a script which coordinates the running of multiple executables delivered by the packages (its a micro-service application dev workflow tool). I can do it with nuget.exe but just wanted to try out Paket.
However, whilst experimenting, I tripped up on the >260 chars filepath length. Might be nice if Paket had a backdoor to help out of that?
p.s. whats an OP? :-)
Reply to this email directly or view it on GitHub:
https://github.com/fsprojects/Paket/issues/563#issuecomment-71395171

Yes, but I may as well use nuget.exe with the switch fwiw.

If you're fine with explicitly nuget installing packages, what feature of Paket are you looking forward to use?

Good question! It was just on my radar... Nice work btw.
Happy for me to close the issue?

My 2¢
I'd like to use paket in various DevOps/CI/CD workflows, not directly related to managing packages in projects. Being able to pull dependencies from various source with one tool is pretty useful. But issues like this (or #3654) stifle this venue of adoption.
Othjer nice to haves:


fix: Longer timeout for info and confirmation messages in GlobalMessa…

…geConfig so user can read them.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Multiple Logs

On several sites I've had the need to log to a separate file from the app log at storage/logs/laravel.log. For example, I might be using a payment gateway and want to log all payment attempts and their result, or recently I needed to keep a log of a task that was run once an hour. While I could have these log directly into the app log, it makes it difficult to find if I'm logging other information as well, especially if I have a verbose mode enabled while debugging. There is no way to do this easily right now since it only allows configuration for one log location, so I was wondering if setting up logging similarly to how cache stores are currently configured would be something that would fit in Laravel. Something like the following in the config:
'log' => [
    'default' => 'app',
    'loggers' => [
        'app' => [
            'path' => $app->storagePath().'/logs/laravel.log',
            'type' => 'daily'
        ],
        'payment' => [
            'path' => $app->storagePath().'/logs/payment.log',
            'type' => 'single'
        ]
    ]
]

The facade would work the same, but a method like logger could be called to specify which log to use, if none specified it would use the default:
// Would use the default log `app`
Log::warning('Something could be going wrong');

// Would use the `payment` log
Log::logger('payment')->warning('Payment could not be processed.');

What do you think?

Can't you inject a logger instance to wherever you need it and just make sure (e.g. via the container) that you're getting another instance there? That way we don't have to add any complexity to the facade...

Yes, I have used other methods to get additional logs, but they are not accessible directly through the Log facade. It would not add complexity to the facade, only a single method, and it would function exactly as it does currently out of the box.

What I'm saying is that the facade is not meant to help you with such a use case. And I'm not sure it should be...

Why not? This is how the Cache facade works, so it's not without precedent. This would make it more robust and allow for more logs if needed, otherwise you don't even need to worry about it. Most people might only use a single cache store, but there's still the ability to have more and easily access them if needed. I don't see this as much different than that.

Feature creep, I guess. I suppose the use case is probably more common for cache than for logs. We'll see what others have to say.

Ok, I understand that. That's why I made this, to see if it would be worth putting in. If it's not something that anyone would ever use then there wouldn't really be any point.
Forgot to mention, I've already worked out what would need to be done so I can create a pull request if it's wanted.

Cool. =)

@taylorotwell any thoughts on this?


[flatiron] jitsu snapshots commands break when no app is specified.

It appears that the snapshots command isn't attempting to read the app name, which leads to the app name being null.

I have a test that shows this working.


Metrics

What does this PR do

instruments various methods to collect metrics of interest

tacked on another commit for a missing label


Fix mdi vestiges

Here's a suggestion for how to update the menus to reflect the change from MDI to tabbed windows.
Please note that this is a draft because

branch master currently has another pull request pending, so this should be rebased after that pull request is merged.
I don't know if we actually want the menu to enable splitting the tab groups
I don't know if we want to use new menu ID values rather than reusing the old ones

so this should be rebased after that pull request is merged.

I totally missed that pull request! I'll deal with it by mid-day tomorrow. Sorry about that!
-Dale

This will need to be rebased against master which now contains https://github.com/CyberBoardPBEM/cbwindows/pull/24.
-Dale

How does the MDI behavior line up with the currently released CB built on MFC-CodeJock?
-Dale

How does the MDI behavior line up with the currently released CB built on MFC-CodeJock?

The CodeJock version is an odd mix of "real" MDI and a tabbed interface.  The MFC-only version is a pure tabbed interface.  In both, there aren't any real icons as in "real" MDI.  Since CodeJock has actual MDI-style frames around the child windows, it supports minimize/maximize/restore window operations, but MFC-only does not.  Likewise, CodeJock supports "Cascade", MFC-only does not.
MFC-only master does nothing with the Tile Horizontal/Vertical menu commands.  My MFC-only mdi branch replaces them with "Split" commands that move the current tab into a separate tab group.  To be honest, I would rather see something closer to "real" MDI/CodeJock, which has Tile commands that moved every window into a separate tab group, but that's more work since I don't see that the MFC has any explicit support for evenly dividing the the available space among tab groups.  I wasn't ambitious enough to do the tile layout work myself, so I just exposed the provided CMDIFrameWndEx::MDITabNewGroup() through the menus.
Should we just remove the MDI menu commands rather than take this half-baked step?  As I said in https://github.com/CyberBoardPBEM/cbwindows/pull/25#issue-501034101, I'm not sure if it's worth exposing CMDIFrameWndEx::MDITabNewGroup() through the menus.  The user can already split the tabs using the mouse in branch master.  On the other hand, that's not obvious to the user.

I'm conflicted about this. I just went through the MFC source code and there is definitely support code for these particular messages. I set a breakpoint in the code in winmdi.cpp line 1101:
BOOL CMDIFrameWnd::OnMDIWindowCmd(UINT nID)
{
	ASSERT(m_hWndMDIClient != NULL);  // Line 1101

	UINT msg;
	UINT wParam = 0;
	switch (nID)
	{
	default:
		return FALSE;       // not for us
	case ID_WINDOW_ARRANGE:
		msg = WM_MDIICONARRANGE;
		break;
	case ID_WINDOW_CASCADE:   // <== THIS IS THE MENU COMMAND I SELECTED
		msg = WM_MDICASCADE;
		break;
	case ID_WINDOW_TILE_HORZ:
		wParam = MDITILE_HORIZONTAL;
		// fall through
	case ID_WINDOW_TILE_VERT:
		ASSERT(MDITILE_VERTICAL == 0);
		msg = WM_MDITILE;
		break;
	}

	::SendMessage(m_hWndMDIClient, msg, wParam, 0);
	return TRUE;
}

And it steps through code to ultimately send a MDI message to the Windows internal handler for MDI windows.
The mystery to me is why that code isn't processing the request.
Something's amiss...
-Dale

That's what I found as well. I haven't used MFC much since 20 years ago, so I haven't paid much attention to its evolution.  I just assumed that CMDIFrameWndEx with tabs isn't a true MDI window, and that's why the MDI messages failed.
If you are interested in this bug, feel free to reject this draft pull request, and re-assign the bug to yourself.  I only put this forward in an attempt to get rid of obviously incorrect behavior so we could get the new CB to a releasable state.

Does the new MFC have any sample programs using the tabbed MDI interface?  Or wizards for generating programs using it?  If so, seeing how those programs behave might also give some hints.

I have been messing around with the VS2019 MFC App wizard but it's quite different from the old days (more options and complication without any popup help for what the items do.) I haven't reproduced a classic MDI app yet (two attempts so far.)
-Dale

I have been messing around with the VS2019 MFC App wizard but it's quite different from the old days (more options and complication without any popup help for what the items do.) I haven't reproduced a classic MDI app yet (two attempts so far.)

But can it produce a TABBED MDI app?  And if so, how does that app behave?  If the wizard produces a tabbed MDI app that behaves well, then it doesn't seem like it matters whether it can produce a classic MDI app.  We would "just" have to figure out what CB was doing differently from the wizard-produced tabbed MDI app.

I've managed to create an MDI application using the VS2019 MFC App wizard tool.
See attached.
MFC-MDI-Application.zip
-Dale

I've managed to create an MDI application using the VS2019 MFC App wizard tool.

That looks like a traditional MDI program.  Does that mean you are going to switch CB back to traditional MDI rather than use the tabbed interface currently in branch master?

That looks like a traditional MDI program. Does that mean you are going to switch CB back
to traditional MDI rather than use the tabbed interface currently in branch master?

For me the first goal was to get the open source version working in a similar fashion to the currently shipping version.  However, the enhanced capabilities may offer something more compelling if we gave up the pure MDI features such as tiling or cascade.
So I'd like to see if we can even restore classic MDI operation without breaking the UI. After which we can see what we've lost in that process.
At this point I just don't have a clear answer for this other than "Do no harm.".
-Dale

Hi Bill,
I've done some additional investigation with the MDI feature as supported by the latest MFC. First I created an old style MDI application using the app wizard. That worked fine as can be seen with the code I posted earlier above. Then I changed the MDI windows classes to add the Ex suffix that pulls in the new features. Unlike CodeJock, this seems to completed disable the Windows supported MDI functionality due to them adding the tab control into the MDI Client hosting window.
As we seen above, that turns off the MDI feature within the raw Windows API's. So if it's a given that we can't fix this easily we should probably look at exploiting the new MFC's capabilities to provide similar features--which may come down to just splitting the workspace. I don't see any way to provide non-tiled windows or icons.
Am I missing anything here?
-Dale

Hi Bill,
As we seen above, that turns off the MDI feature within the raw Windows API's. So if it's a given that we can't fix this easily we should probably look at exploiting the new MFC's capabilities to provide similar features--which may come down to just splitting the workspace. I don't see any way to provide non-tiled windows or icons.
Am I missing anything here?
-Dale

This sounds like you are seeing much the same thing I did.
Have you looked at the system behavior resulting from applying this Pull Request?  How do you feel about these changes?

Ok... I've looked at the PR and I like pretty much like it. The choices appear to be an XOR of either vertically or horizontally tiled. It doesn't look like I can vertically split a horizontally split thought to get classic tile style windowing. But if that's not possible I think that's fine. Once people get used to the new scheme, it is superior to the historical MDI approach. You just can't cascade or icon-ize the windows. They are simply always "docked". It's also consistent with the way toolbars and tool palettes work (other than those can also be floated in a new windows frame.
I like that I can do the split from the Window menu. That makes the capability explicit.
I'm good with moving forward with this if you're not uncomfortable with it.
-Dale

Ok... I've looked at the PR and I like pretty much like it. The choices appear to be an XOR of either vertically or horizontally tiled. It doesn't look like I can vertically split a horizontally split thought to get classic tile style windowing. But if that's not possible I think that's fine. Once people get used to the new scheme, it is superior to the historical MDI approach. You just can't cascade or icon-ize the windows. They are simply always "docked". It's also consistent with the way toolbars and tool palettes work (other than those can also be floated in a new windows frame.
I like that I can do the split from the Window menu. That makes the capability explicit.
I'm good with moving forward with this if you're comfortable with it.
-Dale

Yes, as far as I can tell the new MFC doesn't support simultaneous horizontal/vertical tab groups.
However, I'm not quite ready to call this PR ready-for-review.
First, this needs rebasing.
Second, I have found and fixed one small bug.
Third, how do you feel about reusing the "standard" ID_WINDOW_TILE_HORZ/VERT ids for the "split" menu items?

Third, how do you feel about reusing the "standard" ID_WINDOW_TILE_HORZ/VERT ids for the "split" menu items?

I'm fine with it. There's no real reason to create something that means basically the same thing.
-Dale

Can you see why the GitHub build is failing?  The code builds successfully on my local machine.  Also, the report sugggests GitHub has changed their environment, but I have no experience with GitHub builds.

It looks like GitHub changed their check build environment to address a security problem:
https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
I'll check it out and see if I can fix the actions stuff.
-Dale

Ok... I think I fixed it.
You'll need to rebase against master again to pick up the fix.
-Dale


New resource: Github Pubsubhubbub subscription

It would be nice if this provider supported Pubsubhubbub subscriptions. For example, I've run into a situation with a monorepo and a bunch of environments with their own webhooks where we've hit the 20-hooks-per-repo limit, and I think it would be possible to get that working again with Pubsubhubbub configuration instead.
This would mean a new resource type according to the description below.
I could tackle implementing this, if there is any chance to get it merged (i.e. if you, the maintainers, don't think it's an inherently bad idea for some reason).
# config matching that of https://developer.github.com/v3/repos/hooks/#pubsubhubbub
resource "github_pubsubhubbub_subscription" "ping_me" {
    repo       = ":owner/:repo"
    event_type = "push"
    callback   = "http://postbin.org/123"
    # also supports
    # hmac_secret = "123456"
}

@tomasaschan sorry for the delay here.  This would likely ship in the next feature release if a PR was raised.

Heh. I've switched jobs and am not using Terraform anymore, so I don't have any need for this now. Leaving it open in case someone else comes looking for it :)


Clear notifications in notification shade after clicking mark all as read

No content

Issue created by BlueBubbles Bot in the BlueBubbles commnity on behalf of @tneot01 in #requests.

Done. my beta branch

Has the latest beta been released? I am still fsvi g this bug on 1.3.0 rc1
https://user-images.githubusercontent.com/53708281/124397728-a476d100-dcdf-11eb-9ddc-fd4eafed8813.mp4


[RFC] OpenSearch neural-search plugin

Problem Statement
Traditionally, OpenSearch has relied on keyword matching for search result ranking. From a high level, these ranking techniques work by scoring documents based on the relative frequency of occurrences of the terms in the document compared with the other documents in the index. One shortcoming of this approach is that it can fail to understand the surrounding context of the term in the search.
With recent advancements in natural language understanding, language models have become very adept at deriving additional context from sentences or passages. In search, the field of dense neural retrieval (referred to as neural search) has sprung up to take advantage of these advancements (here is an interesting paper on neural search in Open Domain Question answering). The general idea of dense neural retrieval is to, during indexing, pass the text of a document to a neural-network based language model, which produces a dense vector(s) and index these dense vectors into a vector search index. Then, during search, pass the text of the query to the model, which again produces a dense vector and execute a k-NN search with this dense vector against the dense vectors in the index.
For OpenSearch, we have created (or are currently creating) several building blocks to support dense neural retrieval: fast and effective k-NN search can be achieved using the Approximate Nearest Neighbor algorithms exposed through the k-NN plugin; transformer based language models will be able to be uploaded into OpenSearch and used for inference through ml-commons.
However, given that these are building blocks, setting them up to achieve dense neural retrieval can be complex. For example, to use k-NN search, you need to create your vectors somewhere. To use ml-commons neural-network support, you need to create a custom plugin.
Sample Use Cases
In all use cases, we assume that the user knows what language model they want to use to vectorize their text data.
Vectorization on Indexing and Search
User understands how they want their documents structured and what fields they want vectorized. From here, they want an easy way to provide text-to-be-vectorized to OpenSearch and then not have to work with vectors directly for the rest of the process (indexing, or search).
Vectorization on Indexing, not on Search
User wants OpenSearch to handle all vectorization during indexing. However, for search, to minimize latencies, they want to generate vectors offline and build their own queries directly.
Vectorization on Search, not on Indexing
User already has index configured for search. However, they want OpenSearch to handle vectorization during search.
Proposed Solution
We will create a new OpenSearch plugin that will lower the barrier of entry for using neural search within the OpenSearch ecosystem. The plugin will host all functionality needed to provide neural search, including ingestion APIs/tools and also search APIs/tools. The plugin will rely on ml-commons for model management (i.e. upload, train, delete, inference). Initially, the plugin will focus on automatic vectorization of documents during ingestion as well as a custom query type API that vectorizes a text query into a k-NN query. The high level architecture will look like this:

For indexing, the plugin will provide a custom ingestion processor that will allow users to convert text fields into vector fields during ingestion. For search, the plugin will provide a new query type that can be used to create a vector from user provided query text.
Custom Ingestion Processor
The document ingestion will be implemented as an ingestion processor, which can be involved in customer defined ingestion pipelines.

The processor definition interface will look like this:
PUT _ingest/pipeline/pipeline-1
{
  "description": "text embedding pipeline",
  "processors": [
    {
      "text_embedding": {
        "model_id": "model_1",
        "field_map": {
          "title": "title.knn",
          "body": "body.knn"
        }
      }
    }
  ]
}

model_id — the ID of model adopted in text embedding
field_map — the mapping of input / output fields. Output filed will hold the embedding of each input field.
Custom Query Type
In addition to the ingestion processor, we will provide a custom query type, “neural”, that will translate user provided text into a k-NN vector query using a user provided model_id.

The neural query can be used with the search API. The interface will look like
GET <index_name>/_search
{
  "size": int,
  "query": {
    "neural": {
      "<vector_field>": {
        "query_text": "string",
        "model_id": "string",
        "k": int
      }
    }
  }
}

vector_field — Field to execute k-NN query against
query_text — (string) Query text to be used to produce queries against.
model_id — (string) ID of model to do vector to encoding.
k — (int) Number of results to return from the k-NN search
Further,  the neural query type can be used anywhere in the query DSL. For instance, it can be wrapped in a script score and used in a boolean query with a text matching query:
GET my_index/_search
{
  "query": {
    "bool" : {
      "filter": {
        "range": {
          "distance": { "lte" : 20 }
        }
      },
      "should" : [
        {
          "script_score": {
            "query": {
              "neural": {
                "passage_vector": {
                  "query_text": "Hello world",
                  "model_id": "xzy76xswsd",
                  "k": 100
                }
              }
            },
            "script": {
              "source": "_score * 1.5"
            }
          }
        }
        ,
        {
          "script_score": {
            "query": {
              "match": { "passage_text": "Hello world" }
            },
            "script": {
              "source": "_score * 1.7"
            }
          }
        }
      ]
    }
  }
}

In the future, we will explore different ways to combine scores between BM25 and k-NN (see related discussion).
Requested Feedback
We appreciate any and all feedback the community has.
Specifically, we are particularly interested in information around the following topics

Does your use case involve vectorizing and searching multiple fields?
What types of queries do you want to combine with neural search queries?
What strategies would you want to use to combine OpenSearch queries with neural queries during search?

I am glad that such effort is officially becoming part of OpenSearch. Here I would like to suggest adding highlighting capability as part of this plugin. The highlight can produce answer to a question query within a document. It can also highlight the most relevant sentence within a text segment.

I am also wondering how do you plan to store large documents with, say 10K tokens?

@asfoorial Thanks for the feedback!

The highlight can produce answer to a question query within a document. It can also highlight the most relevant sentence within a text segment.

Highlight type feature would be very interesting. I am not sure what the best way to implement this would be - would need to brainstorm a little bit. One way we have thought about a little bit is to break a document into separate segments using "nested" fields. Then, using inner hits, we could figure out which segment contributed most to the result.

I am also wondering how do you plan to generate embeddings for large documents with, say 10K tokens? As you know most models are within 700 tokens.

@model-collapse might be able to discuss this a little bit more. I think in the initial version, there would be a 1:1 mapping between document and embedding. However, in future versions, we might be able to use segment approach mentioned above to break a document into multiple embeddings.

Interesting. What about the index size? Is there a way to reduce it? For instance something like using PCA here https://www.sbert.net/examples/training/distillation/README.html#dimensionality-reduction to reduce vector size yet with good search accuracy.

We have implemented all of this functionality in our neuralsearch plugin here   . Please feel free to utilize it within your plugin. That includes the highlighting (QA and sentence similarity).
For inference, we are using Python directly and also using PCA for some models to produce small, yet accurate, vectors.

@asfoorial For index size, this will be configurable through the k-NN plugin. Currently, the k-NN plugin supports product quantization through faiss, but adding PCA would be very interesting. I will create a separate issue for this and link it here

@neuralsearch-opensearch on the highlighting feature feel free to cut an issue for the same and we can discuss more on the same.

@jmazanec15 yes a local Python server is run on each data node but it won't be difficult to force it to run on other dedicated nodes. In fact, a configuration on opensearch.yml has been added to specify inference end point which can be a remote or a local end point. However, currently only the option local is implemented.
For the highlighting, we have an assumption that large document (say a pdf file) can be indexed into

Multiple opensearch documents, each representing a small logical chunk (page, paragraph or even a sentence)

One document containing multiple nested documents each representing a logical chunk. In this approach, however, I noticed that indexing becomes slower. Also query writing and response handling becomes more complicated for developers.

Having said the above, highlighting requires no chunking at all since data is already expected to be chunked. The whole text is sent directly to QA API or senetnce similarity ranking API. Now the models generally handle the top 700 or so chunks and skip the rest.
Looking forward to seeing these functionalities as core parts in OpenSearch. Pretty sure they will be a game changer.

This is really good to hear we are supporting neural search as a part of OpenSearch. I have a few questions about this:

Will highlight for fields work wrt query_text.
Is there any option to not skip the tokens as after the top k tokens are picked as per model capacity there might be some useful information which shouldn't be skipped.
Will pre-filtering for the results work before executing the neural search?

2. Is there any option to not skip the tokens as after the top k tokens are picked as per model capacity there might be some useful information which shouldn't be skipped.

Right now we don't have the support for this, but this is good feature that we can build. I would recommend cutting a Github issue for the same.
In meantime, I can think of a possible approach where you can split the large text into smaller sentences(limit the length to let's say max tokens processed by ML model) and index those sentences as an array, which will be converted into list of vectors. This will solve the issue of model picking up all the tokens, but as the vector data is now fragmented it will have other downsides like increase in data storage, some sentence are small which can lead to sparse vectors generated from ML Model, which might lead to not so accurate results.

Is there any option to not skip the tokens as after the top k tokens are picked as per model capacity there might be some useful information which shouldn't be skipped.

A simple but effective way of handling documents longer than max_model_length is to chunk the document into several parts and vectorize the parts. The final document vector could then be obtained by averaging these vectors. We could also use other techniques such as concatenation, max pool etc. but empirically averaging seems to work the best for obtaining document vectors.
In principle this could be done at the level of the tokenizer and the model (not to say this is the only way to do it). A document that is (say) twice the max_length can be tokenized into two separate chunks/inputs. We can keep track of these chunks by assigning them some kind of an id.  At the model output level we can implement a simple logic where the vectors having the same id are averaged.

I see that the neural search feature is targeted for 2.4 release, which is really good news. Is this release going to also include highlighting functionality described above?

In principle this could be done at the level of the tokenizer and the model (not to say this is the only way to do it). A document that is (say) twice the max_length can be tokenized into two separate chunks/inputs. We can keep track of these chunks by assigning them some kind of an id. At the model output level we can implement a simple logic where the vectors having the same id are averaged.

Thanks for your solution, I think this will be an optimal solution but I am not sure how we can achieve this with the neural search plugin as well. Can anyone help me with this?

I think 2.4 it might be difficult to implement this logic. One suboptimal, but still quite effective, solution is to just use the first chunk and discard the rest. It has been shown (https://arxiv.org/pdf/1905.09217.pdf) that just using the first chunk (instead of using all chunks) gives quite good results. The paper mentioned here has some benchmark data regarding this (see Table 2).

I see that the neural search feature is targeted for 2.4 release, which is really good news. Is this release going to also include the highlighting functionality described above?

Highlighting will not be a part of 2.4 release. We will investigate adding this in future releases.

I see that the neural search feature is targeted for 2.4 release, which is really good news. Is this release going to also include the highlighting functionality described above?

Highlighting will not be a part of 2.4 release. We will investigate adding this in future releases.

Can you please suggest any workaround for highlighting to work with KNN?

I think alternative would be to break down documents into smaller sub-documents so that they could be searched individually. They could be broken into nested docs or separate docs.

@jmazanec15 , in your architecture explanation screenshot above, you have added that we can knn for multiple fields like title and body. So, is it possible to search on multiple vector fields in a single search query?

Hi @aishwaryabajaj-54, it is not possible in a single neural query clause, but possible in a single search request. To do this, you need to use either a boolean query or a dis_max query.
A complex query might look like:
GET /<my_index/_search?pretty
{
  "query": {
    "bool" : {
      "should" : [
        {
          "script_score": {
            "query": {
              "neural": {
                "body": {
                  "query_text": "<query_string>",
                  "model_id": "<model_id>",
                  "k": 100
                }
              }
            },
            "script": {
              "source": "_score * 100.5"
            }
          }
        },
        {
          "script_score": {
            "query": {
              "neural": {
                "title": {
                  "query_text": "<query_string>",
                  "model_id": "<model_id>",
                  "k": 100
                }
              }
            },
            "script": {
              "source": "1.5 * _score"
            }
          }
        }
      ]
    }
  }
}

@jmazanec15, thank you for the solution I tried this and it works fine but it reduces the search speed significantly.

Hi @jmazanec15,
Synonyms are not working with ANN OpenSearch Neural Search for me.
Let’s say I have added a synonym like-
universe => cosmos
Now, I want to search the keyword “universe” and I have created embeddings for the search term “universe” and used it in my search query with ANN to get results for the keyword “universe” which is working fine. But with synonyms, If I search for the term “universe” I should be able to get results for “cosmos” as well and that is not working. Is there any configuration for this to work?

Thanks @aishwaryabajaj-54, I think this is the same question as https://forum.opensearch.org/t/are-synonyms-supported-with-knn-search/11752/4. Lets discuss over there

Closing RFC for now. Please open up an issue, or create a forum post if you have any questions/comments about the plugin


expended at initial position

the panel is expended at initial position. Is there clean way to make unexpanded at initial position ?

Used toggle() of controller. This can be closed for now.


prefixes in ListObjectReponse

What component of google-cloud-cpp is this feature request for?
storage
Is your feature request related to a problem? Please describe.
I am implementing a GetChildren function will work in a directory-like mode.
Describe the solution you'd like
I would like to have access to prefixes in the reponse.
Additional context
If this is not possible, Is there any way I could access to the raw reponse instead of ListObjectsReader

I think we completely missed prefixes 😞
The C++ object to process the response (internal::ListObjectsResponse) does not have prefixes either, so either way we would need to make changes.
I think the "Right Thing":tm: here is to add a new function to Client that returns an iterator over the prefixes. Maybe something like:
class Client { public:
  ListObjectPrefixesReader ListMatchingPrefixes(std::string bucket_name, ...);
};

ListObjectPrefixesReader would be a single pass input range of std::string, and the call could always use a suitable Fields() value to discard the data it will not use.
The downside is that you need two sets of RPCs: (1) to discover the prefixes that match and (2) to discover the objects that match.  OTOH, prefixes are very different from object names and/or object metadata, so maybe it makes sense to have completely different APIs?
As an alternative we could create a function called ListObjectNamesAndPrefixes and return a single pass input range of std::string and Kind (wrapped in a struct or pair) where Kind would tell you if the string represents a prefix or a real object name.
Or thinking about it some more, maybe absl::variant<std::string, ObjectMetadata> is an alternative here... that is super hard to use though.

As an alternative we could create a function called ListObjectNamesAndPrefixes and return a single pass input range of std::string and Kind (wrapped in a struct or pair) where Kind would tell you if the string represents a prefix or a real object name.

I think this makes sense because if someone wants prefixes, they usually need the name of the object only. I could work on this features but I may need some instructions, What do you think ?

Sorry for the delay, we had a quick back and forth on this internally.  It seems we settled on this:
using ListObjectsAndPrefixesReader =
    internal::PaginationRange<
        absl::variant<std::string, ObjectMetadata>,
        internal::ListObjectsRequest,
        internal::ListObjectsResponse>;

class Client { public:
  ListObjectsAndPrefixesReader ListObjectsAndPrefixes(/* same arguments as ListObjects */);
};

This is a bit ugly, but supports users that may want to get metadata and prefixes. It is trivial to convert those to std::pair<std::string, bool> and with a suitable gcs::Fields() argument you can get the server to return only the name in the items.
As to the implementation.  There are several things you would need to change:

We would need to modify the testbench to return prefixes, so we can run integration tests end-to-end.
We would need to modify ListObjectsResponse to add the prefixes field, and populate it when parsing the JSON (and gRPC?) result.
storage::internal::PaginationRange needs larger changes, currently it assumes the response contains a items field of type std::vector<T>, but we now need to merge prefixes and items into a single vector of absl::variant<>.

Probably it would be time to refactor this class to use  google::cloud::PaginationRange<> which has a function to extract the current page from the response.
This function should merge the prefixes and object metadata items and sort them.

After those changes the implementation of ListObjectsAndPrefixes() is easy, it needs:

At least a simple integration test
At least one example

Close by #4494


FIX: Aligment zero length sequence bug

Build status:

Linux
Windows

Build status:

Linux
Windows

Build status:

Linux
Windows

Build status:

Linux
Windows

Build status:

Linux
Windows

Looks good. We should take into consideration making a more complete test set (I.E. testing all basic types, creating custom complex types and test against uCDR-u-CDR, FastCDR-uCDR, uCDR-FastCDR).


WFLY-8907

Using the current context class loader instead of the invoked interface's class loader.
I have deleted the class LocalInvocationClassCloner, because it returned the Class object of the invoked interface's class loader, of the current context class loader cannot resolve the class, which swallows/hides packaging problems.
I'm pretty sure that the packaging/naming of the integration test is not to your liking yet and I am willing to change it if you want me to. I'm open to suggestions.
Regards

Can one of the admins verify this patch?

this is ok to test

This probably needs the change from #10611.

Closing, as there are no plans for a 10.x release.


visual studio code

Extension Name: debug-auto-launch
Extension Version: 1.0.0
OS Version: Windows_NT x64 10.0.17763
VSCode version: 1.28.0

We have written the needed data into your clipboard. Please paste:

See #60318


Cleanup our directory structure

Example: rename repo (use gosst's GitHub) to slsa-golang and have:

.github/workflow/build.yml
project-builder/
provenance-verifier/
provenance-generator/

@asraa any opinion on this?

Maybe the plan was to have
provenance/verifier and provenance/generator instead of provenance-verifier and provenance-generator?
I don't have a strong opinion on this. Is there one option that makes it easier for users to use the verifier? Will separation reduce the number of dependencies to update for users who use it? (I suppose not really)

Let's move the verifier code to a separate repo that's for non-falsifiable workflow attestations
This repo would contain:
(1) the builder
(2) provenance generator
which we can combine like this:
./slsa-release build <--dry>
./slsa-releaes provenance <-digest SHA>


chore: split Algebra.Algebra.Basic

Splits Algebra.Algebra.Defs off Algebra.Algebra.Basic. Most imports only need the Defs file, which has significantly smaller imports. The remaining Algebra.Algebra.Basic is now a grab-bag of unrelated results, and should probably be split further or rehomed.
This is mostly motivated by the wasted effort during minimization upon encountering Algebra.Algebra.Basic.

Oops, looks like Johan was too fast but I still want to make my comment :)
bors r-

bors merge


Ac 617 write data tx

implemented WriteData validator for chain entries
implemented a segwit approach to decouple transactions from data payload to prevent data from being stored twice (once with the transactions and once with the data chain).
added computation of the WriteData cost and capped data @ 10kB / transaction (and subsequently stubbed out a fee schedule that can be leveraged in a later task)
enabled nonce in GenTransaction SignatureInfo because a test was failing because it was setting default nonce to 1
deferred all query functionality to the next task (API updates for data) so unit tests will be expanded in the next task

We've been getting failures on macOS and Windows builders, but normally only on one job at a time

running the test on my windurs laptop i get a failure at

So it appears the problem is after a send(tx) in the e2e tests you need to add a sleep so the channel doesn't get closed before the tx is finished being processes.  It may be the source of other seemingly random failures on Windows and Mac.


GUI: Create TUN, Proxy all traffic

Wintun
ligolo-ng
wireguard TUN
Universal TUN/TAP driver
tun2socks
tun2proxy
https://www.kernel.org/doc/html/v6.1/networking/tuntap.html
https://man.freebsd.org/cgi/man.cgi?query=tun
TUN acts as an agent for existing agreements, HTTP proxy HTTPS proxy SOCKS proxy
Use TUN mode to proxy all traffic throughout the system, including terminals
Why this request?
I’m in a country where the internet is very blocked, and upgrading OS or downloading software is a hassle, github gitlab Ping over time 300ms.
In thousands of Linux and BSD distributions, there is no single system desktop environment that proxies all traffic,

Hi!
Not sure what is expected from my application in that regard. There is already tun2proxy you mentioned, so you can redirect whatever traffic to dumbproxy server like this. What's the issue then?


fix(995) fix generate year in zz_generate acm/acmpca

Signed-off-by: haarchri<EMAIL_ADDRESS>
Description of your changes

fixed check-diff after merge #995 https://github.com/crossplane/provider-aws/runs/4508959281?check_suite_focus=true
I have:

[x] Read and followed Crossplane's contribution process.
[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

is included in: https://github.com/crossplane/provider-aws/pull/996


#boolean and #number validation not working for xml

#boolean and #number validation not working for xml.
If I run this you feature files, I get error.
[com.intuit.karate.exception.KarateException: path: /a/b, actual: 'true', expected: '#boolean', reason: not a boolean
and for the number example
[com.intuit.karate.exception.KarateException: path: /a/b, actual: '12', expected: '#number', reason: not a number
Feature: Test boolean
Scenario: Test boolean
Given def res1 =
"""

true

"""
Given def res2 =
"""

#boolean

"""
Then match res1 == res2
Feature: Test number
Scenario: Test number
Given def res3 =
"""

12

"""
Given def res4 =
"""

#number

"""
Then match res3 == res4

great question. the problem is XML has this limitation - everything is a string. you need a schema if you want to start identifying numbers.
but not to worry, karate is all about a simpler way to define schemas. you can use regular expressions to your advantage:
* def foo = <bar><val>1</val><bool>true</bool></bar>
* match foo/bar/val == '#string'
* match foo/bar/bool == '#string'

* def isBool = function(x){ return x === 'true' || x === 'false' }
* def isNum = function(x){ var re = new RegExp('^[0-9]+$'); return re.test(x); }
* match foo == <bar><val>#?isNum(_)</val><bool>#?isBool(_)</bool></bar>

I see it like a workaround and not a solution of it, if you have a big xml and you want to match the entire xml it is not easy and cleaned in this way.
I agree with you that you can validate it against a schema if you have it.
I did some changes on karate, I added Xml validators, same name of existing but with Xml in front of for boolean and number, and in case of xml i just call mine validator.
changed this classes
karate-core/src/main/java/com/intuit/karate/Script.java
karate-core/src/main/java/com/intuit/karate/ScriptValue.java
karate-core/src/main/java/com/intuit/karate/validator/Validator.java
at some point
if (questionPos != -1) {
validatorName = actValue.getParentType() + macroExpression.substring(0, questionPos);
} else {
validatorName = actValue.getParentType() + macroExpression;
}
where parent type is "xml" in case of xml, empty otherwise.
I don't know if it is the best way but was the faster for sure and it works, let me know if you think
is a good idea to push on karate.
Thank you for your quick answer.

@giovanniarc I personally am not in favor of adding XML specific validators
I certainly don't think speed will be a concern at all. if you don't want to use functions (which can be re-used throughout your project) you can use in-line regex or expressions:
* match foo/bar/val == '#regex [0-9]+'
* match foo/bar/bool == "#? _ == 'true' || _ == 'false'"

Ok thank you

I have the same problem/doubt
Could we validate a field with this or with primitive types?
Something like:
* match foo/bar/bool == "#? _ == #boolean || _ == #string"
or
* match foo/bar/bool == "#? _ == (#boolean || #string)"
I like this idea with three or's, but numbers will be added:
* match foo/bar/bool == "#? _ == 'true' || _ == 'false' || _ == #regex [0-9]+"

@jbarriojim please use stack overflow for questions like this, and see: https://stackoverflow.com/a/50350442/143475


mark 1.1.1 as latest release

What is not working as expected?
1.1.1 is just a tag atm, not a release
relates to https://github.com/Homebrew/homebrew-core/pull/174400

@chenrui333 We are working on the release draft of v1.1.1 and it will be released in a few hours.

@chenrui333 v1.1.1 was just released!

thanks!


fix(promo): work around the css issues

Hi! I think that when we changed theconference_ad_row to  promo_row we broke the CSS. My bad, I didn't test the visual thoroughly. I have reverted to conference_ad_row and I'm seeing it looking better in my local preview now. I don't think it is worth it to spend much time investigating CSS issues and worrying too much about naming right before the refresh!

👍


Shibboleth headers not coming back when redirect URL is set

Hey all. We're running into a strange issue where shibboleth login works a charm when no redirect URL is given via the target querystring parameter, but when that target value is provided, we don't get any of the expected headers in the first request back from shibboleth (REMOTE_USER, SHIB_* variables, AUTH_TYPE: shibboleth, attributes we've requested via the SHIBBOLETH_ATTRIBUTE_MAP setting, etc.) and it results in an infinite redirect loop.
We use Django's login_required decorator to protect resources, and our LOGIN_URL setting is set to /Shibboleth.sso/Login. If we don't explicitly set the REDIRECT_FIELD_NAME to target, Django uses the default next, which shibboleth doesn't understand and is therefore ignored (https://github.com/Brown-University-Library/django-shibboleth-remoteuser/issues/8 discusses this too). When we do set the REDIRECT_FIELD_NAME to target, the first request coming back from shibboleth is indeed at the correct redirect URL, but that request does not include any of the headers mentioned above. Don't know if it's relevant, but we do see a _shibsession_* cookie set.
Any ideas about what might be causing this? I can provide config settings if needed. Thanks in advance!

We have a project where we have created a "login" view, and that url is protected by Shibboleth(a session is required). So the LOGIN_URL doesn't go to the /Shibboleth.sso/Login url, but to our own "login" view:

<Location /.../login>
AuthType shibboleth
Require shibboleth
ShibRequireSession on

url(r'^login/', LoginView.as_view(), name="login"),

class LoginView(RedirectView):
permanent = False

def get_redirect_url(self, *args, **kwargs):
    self.request.session.pop(LOGOUT_SESSION_KEY, None)

    next_url = self.request.GET.get('next','')
    return next_url or reverse('home')

Does that help?

@bcail We're using nginx, not apache, but your comment made me remember to check the nginx config. Turns out we had only configured the root URL with all the necessary shibboleth settings. Thank you for the indirect tip 😄 I'll close this issue


Real time data as input

It's a cute library and I want to feed in data in real time, please advise how to do, thanks.

@artzub any example how to use it for realtime?

@shernshiou ok, later! I'll made an example on codepen.io

thanks @artzub

Sorry that so long time not answer =)
The fast example.
...
bh.settings.realtime = true;
...
bh.start(somedata);
...
// and after getting new data need use
bh.append(newdata);

Does this support a moving window-like FIFO behavior with real time inputs?  For example, if the window is 10 polls, then for every poll beyond 10th, the earliest poll's data would be removed from canvas.  It would be great if there's an example on how to use this.  Thanks


Add embedding vol and solution time to tecplot output

Purpose
This PR add the abbility to add a "solution time" to the output written to tecplot. this makes it easy to automatically sort a bunch of FFD files in tecplot. I usually set the "solution time" to the iteration number in an optimization or parameter sweep study.
This pySpline PR must be merged first!
Expected time until merged
1 week. Only a few small changes.
Type of change

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (non-backwards-compatible fix or feature)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Documentation update
[ ] Maintenance update
[ ] Other (please describe)

Testing
Checklist

[x] I have run flake8 and black to make sure the code adheres to PEP-8 and is consistently formatted
[ ] I have run unit and regression tests which pass locally with my changes
[ ] I have added new tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation

Tests are failing because the pySpline PR has not been merged yet.


Copy over mac requirements during docker build

Partial fix for some issues reported in https://github.com/Josh-XT/Agent-LLM/issues/61

Looks like this just got fixed in main! Will close. Thanks for the quick fix @Josh-XT