SkillApi Module is not working

What is your Quests version / build number (do not say "latest")?
Quests 3.2.4
Please describe the problem and how to replicate it. Any console errors?
Skillapi module is not working the requeriments and rewards are not displayed.

Please provide an example quest from quests.yml for testing. Use Pastebin.

Closing due to lock of response from OP.


bump to 0.16.0-dev

Objective

bump versions to 0.16.0-dev

to be reopened?

this should be done by CI: https://github.com/bevyengine/bevy/actions/runs/12091144173
I triggered the job an hour ago but it failed due to a permission problem since GitHub switched Bevy to a company org.
I would prefer if the job was fixed then relaunched to check that it's working


Launcher - compatible with Microsoft search.. ?

Would love it if Launcher could fully replace WIN + S... thoughts?

closing as duplicate of #44


[Bug report] Github Pages not recognized absolute path

Bug report
Description
When deploying a simple vuepress app to github pages using github actions, the js and css files do not seem to load properly.
Please see below.

github repo
https://github.com/Doer-org/book_introduction

deploy Link
https://doer-org.github.io/book_introduction/

Expected behavior
css js files are loaded correctly in github pages
Screenshots

Environment info

Browser: google Chrome ver: 99
Output of vuepress info:

 System:
    OS: macOS 12.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 633.89 MB / 32.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.14.0 - ~/.volta/tools/image/node/16.14.0/bin/node
    Yarn: 1.22.17 - ~/.volta/tools/image/yarn/1.22.17/bin/yarn
    npm: 8.3.1 - ~/.volta/tools/image/node/16.14.0/bin/npm
  Utilities:
    Git: 2.32.0 - /usr/bin/git
  Browsers:
    Chrome: 99.0.4844.51
    Edge: Not Found
    Firefox: Not Found
    Safari: 15.2
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.36
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-beta.36
    @vuepress/client:  2.0.0-beta.35
    @vuepress/core:  2.0.0-beta.36
    @vuepress/markdown:  2.0.0-beta.36
    @vuepress/plugin-active-header-links:  2.0.0-beta.36
    @vuepress/plugin-back-to-top:  2.0.0-beta.36
    @vuepress/plugin-container:  2.0.0-beta.36
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-external-link-icon:  2.0.0-beta.36
    @vuepress/plugin-git:  2.0.0-beta.36
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom:  2.0.0-beta.36
    @vuepress/plugin-nprogress:  2.0.0-beta.36
    @vuepress/plugin-palette:  2.0.0-beta.36
    @vuepress/plugin-prismjs:  2.0.0-beta.36
    @vuepress/plugin-pwa: Not Found
    @vuepress/plugin-pwa-popup: Not Found
    @vuepress/plugin-register-components: Not Found
    @vuepress/plugin-search: Not Found
    @vuepress/plugin-shiki: Not Found
    @vuepress/plugin-theme-data:  2.0.0-beta.36
    @vuepress/plugin-toc: Not Found
    @vuepress/shared:  2.0.0-beta.35
    @vuepress/theme-default:  2.0.0-beta.36
    @vuepress/utils:  2.0.0-beta.35
    vue:  3.2.31
    vue-loader: Not Found
    vue-router:  4.0.13
    vuepress: ^2.0.0-beta.36 => 2.0.0-beta.36
    vuepress-vite:  2.0.0-beta.36
    vuepress-webpack: Not Found

see this.   https://v2.vuepress.vuejs.org/reference/config.html#base

@yzqdev
thanx!
Now it works 🎉


IE 8 problems with currency and jquery.inputmask.bundle.js

Hi.
I have a problem with app in IE 8 and mask currency,
isFinite(opts.digits)) {
var radixPosition = $.inArray(opts.radixPoint, processValue),  rpb = $.inArray(opts.radixPoint, maskedValue);
The error go into the code rpb = $.inArray(opts.radixPoint, maskedValue);. And the error is "Invalid operand to 'in': Object expected"
opts.radixPoint = ","
maskedValue = "120,00"

@NurGuz ,
Can you put this in a jsfiddle.

the error is in jquery.inputmask.bundle.js, in funcion onBeforeWrite.

u can try to edit the val of opts.radixPoint and maskedValue  in debugger moder and u will see this error

i think that the problem is that maskedValue not is an array, is a value "120,00"

@NurGuz ,
Yes but I need to know where the value 120,00 comes from.
What are the steps to reproduce.
Inputmask("currency", { radixPoint: "," }).mask(elem);
//what else

if i edit your code and write this, run
                      var radixPosition = $.inArray(opts.radixPoint, processValue);
                        var rpb;
                        try
                        {
                            rpb = $.inArray(opts.radixPoint, maskedValue);
                        }
                        catch (ex)
                        {
                            rpb = maskedValue.indexOf(opts.radixPoint);
                        }

The values that onBeforeWrite recive are:
opts.numericInput = false;
buffer = [1,2,0,,,0,0]
onBeforeWrite: function (e, buffer, caretPos, opts)
...
var maskedValue = opts.numericInput ? buffer.slice().reverse().join("") : buffer.join("")
....

https://jsfiddle.net/u1x6a4Lu/1/

i use it for apply the mask
$(elem).inputmask("currency",
{
groupSeparator: '.', radixPoint: ',', autoGroup: false, digitsOptional: true, prefix: '',
showMaskOnHover: false, showMaskOnFocus: false
});
and elemen is and input of jqgrid

@NurGuz ,
Can you have a try with the current.  I submitted a patch for ie8

Good!

Hi.
It's not okey. If you have 100,00 this is converter to 10000

@NurGuz ,
This case is also fixed now.


DWR with tomcat 10

Hi
Does DWR have a new version that works with Tomcat 10.0?
DWR is using javax.servlet.http.HttpServletRequest but it has been changed in Tomcat 10
thanks

Here is my commit that gives DWR Java 17, Tomcat 10, and jakarta-servlet 6 support.
Since this is for my own project, I ripped out Struts support since I don't use Struts.
https://github.com/nitehawk42/dwr/commit/d7587267dde09d86e761d2539d3628ee3b50ab57


Improve visit() method for spread-field

Purpose
$title
Fixes #35309
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Shall we add testcases to validate the changes ?

Here, the value has to be null. It is useless to add test cases


initialize aliyundrive client failed

➜  ~ aliyundrive-fuse -r xxxxx -w /var/run/aliyundrive-fuse /mnt/aliyundrive
2022-01-19T09:36:21.652876Z ERROR aliyundrive_fuse::drive: refresh token failed: HTTP status client error (400 Bad Request) for url (https://websv.aliyundrive.com/token/refresh): {"code":"InvalidParameter.RefreshToken","message":"The input parameter refresh_token is not valid. Please refer to document.","requestId":null}
Error: initialize aliyundrive client failed
➜  ~  Description:    Ubuntu 21.10
➜  ~ apt-get install -y fuse3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
fuse3 is already the newest version (3.10.3-2).

重新获取 refresh_token，参考：https://github.com/messense/aliyundrive-webdav/discussions?discussions_q=400+bad+request


feat(compilation): allow selective compilation of sources with --via-ir, running tests and scripts without

Component
Forge
Describe the feature you would like
In a basic scenario I was able to selectively compile with --via-ir as follows using the --skip flag:
$ forge build --via-ir --skip tests scripts

or this should work in foundry.toml:
[profile.via-ir]
via-ir = true
skip = ["test/*", "script/*"]

[profile.test]
skip = ["src/*"]

and then:
$ FOUNDRY_PROFILE=via-ir forge build
$ FOUNDRY_PROFILE=test forge test

This appears to work in a basic Counter example but appears to not work in all cases e.g. https://github.com/uniswap/v4-core
cc @klkvr is there a better way to do this?
Additional context
Related: https://x.com/0xKaden/status/1846606449977532748 + https://x.com/emo_eth/status/1846645499358859469

$ FOUNDRY_PROFILE=via-ir forge build
$ FOUNDRY_PROFILE=test forge test

this would work only if project is only deploying contracts through deployCode, otherwise during tests compilation contracts would still get compiled without via-ir
one approach which could allow such patterns is #8668 which would also require doing deployCode but without FOUNDRY_PROFILE stuff
and in combination with https://github.com/foundry-rs/compilers/issues/197 it could allow avoiding manual deployCode stuff
though both PRs are drafts which ended up quite complex so I've deprioritized them at some point

Marking as duplicate, there are other tickets that already capture this goal, see: https://github.com/foundry-rs/foundry/issues/7720


Propoer ffi_lib include

As documented on
https://github.com/ffi/ffi/wiki/Loading-Libraries#linux-packages we
should use a proper ffi_lib parameter because the *.so files are not
part of the regular packages on many distributions. With that patch we
are able to just install libarchive13 instead of libarchive-devel as a
runtime dependency on openSUSE/SLES.
This change is required to be able to use this gem on a SLES server.

Hey; I'm at dockercon, will try to get to this in the evening.
-Erik
On 13 Nov 2015, at 8:55, Thomas Boerger wrote:

As documented on
https://github.com/ffi/ffi/wiki/Loading-Libraries#linux-packages we
should use a proper ffi_lib parameter because the *.so files are not
part of the regular packages on many distributions. With that patch we
are able to just install libarchive13 instead of libarchive-devel as a
runtime dependency on openSUSE/SLES.
This change is required to be able to use this gem on a SLES server.
You can view, comment on, or merge this pull request online at:
https://github.com/erikh/archive/pull/6
-- Commit Summary --

Propoer ffi_lib include
Updated changelog and bumped version to 0.0.7

-- File Changes --
M CHANGELOG.md (2)
M lib/archive/libarchive.rb (2)
M lib/archive/version.rb (2)
-- Patch Links --
https://github.com/erikh/archive/pull/6.patch
https://github.com/erikh/archive/pull/6.diff

Reply to this email directly or view it on GitHub:
https://github.com/erikh/archive/pull/6

Cool, should be awesome if we can fix this over the weekend :)

Hopefully you can fix that tomorrow? :)

I'm manning a booth at dockercon EU; kind of hard to do right now. Will
this weekend work? I'll put it in my calendar so I don't forget this
time. :)
On 17 Nov 2015, at 12:59, Thomas Boerger wrote:

Hopefully you can fix that tomorrow? :)

Reply to this email directly or view it on GitHub:
https://github.com/erikh/archive/pull/6#issuecomment-157349888

LGTM, I'll try to push the gem from here but the wifi is pretty bad.

Awesome, thanks!

Still no new version released?

Nope, still having trouble getting it working on mac.


[crossguid] fix mac build

Fixes #15594.
Using -Werror without an option to disable it is simply not the smartest move :)

Thanks!


TOC eat digit

My Markdown title start with digit. The TOC eat those digit.
Plus, recently, I suddenly have a problem that, when I choose "Auto Markdown TOC: Insert/Update", it automatically insert section numbers to the TOC.
Before, I also have the problem that the leading digits are eaten. But after I save again, it was corrected. Now, the leading digit are just replaced by the section number.

Can you share a simplified version of your document?
In the meantime, please uncheck the setting Detect and Auto set section

Change the setting works. Thank you very much!
My document start with a date. For example:
2019-11-18 ...
After indexing, the first entry in TOC becomes:
-11-18 ...
If I save again, it was corrected as
2019-11-18
However, if the section number was added, it will always be:

-11-18 ...

I will turn off that setting by default in the next beta version. Thank you for using the extension 😄

Hi, just to report that the problem still occurs to me even when the option is disabled, and even when updating the TOC after saving.
In my case I have a document where the second and third level of headers start with a date
Here is the result
# title

<!-- TOC -->

* [-02](#-02)
    * [-02-24](#-02-24)
    * [-02-25](#-02-25)
    * [-02-26](#-02-26)

<!-- /TOC -->

## 2020-02

### 2020-02-24

lorem ispum

### 2020-02-25

lorem ispum

### 2020-02-26

lorem ispum


[Usage]: vllm can host offline? with internet connection?

Your current environment
python3 python -m vllm.entrypoints.api_server --model TheBloke/CodeLlama-7B-Python-AWQ --quantization awq
How would you like to use vllm
I want to host offline envirment.
python3 python -m vllm.entrypoints.api_server --model TheBloke/CodeLlama-7B-Python-AWQ --quantization awq
but there is an error

huggingface_hub.utils._http.OfflineModeIsEnabled: Cannot reach https://huggingface.co/api/models/bigcode/starcoder: offline mode is enabled. To disable it, please unset the HF_HUB_OFFLINE environment variable.
I already set HF_HUB_OFFLINE=1

@juud79 we're working on https://github.com/vllm-project/vllm/pull/3125 to address this. You can work around this by passing the explicit path to the model in your local HF cache as the model name.

Any updated on this? I am running into the same issue and see the mentioned PR being closed and not merged.


Generated code is broken due to mismatch with hand-written server.h

At eventuals/grpc/server.h:54 we find the following:
class Service {
 public:
  // [...]
  virtual Task::Of<void>::Raises<std::runtime_error> Serve() = 0;

While since #282 the code generated by protoc-gen-eventuals looks as follows:
class TypeErasedService : public ::eventuals::grpc::Service {
 public:
  ::eventuals::Task::Of<void>::Raises<std::exception> Serve() override;

The mismatch between std::runtime_error and std::exception causes compilation failures, such as in https://github.com/reboot-dev/respect/issues/230#issuecomment-1082196695:
In file included from ./object-store/object-store.h:8,
                 from object-store/main.cc:13:
bazel-out/k8-fastbuild/bin/external/com_github_reboot_dev_respect_api/respect/v1/object_store.eventuals.h:20:57: error: invalid covariant return type for 'virtual eventuals::_Task<void, void, std::tuple<> >::Raises<std::exception> respect::v1::eventuals::ObjectStore::TypeErasedService::Serve()'
   20 |     ::eventuals::Task::Of<void>::Raises<std::exception> Serve() override;
      |                                                         ^~~~~
In file included from object-store/main.cc:8:
external/com_github_3rdparty_eventuals/eventuals/grpc/server.h:54:54: note: overridden function is 'virtual eventuals::_Task<void, void, std::tuple<> >::Raises<std::runtime_error> eventuals::grpc::Service::Serve()'
   54 |   virtual Task::Of<void>::Raises<std::runtime_error> Serve() = 0;
      |                                                      ^~~~~
Target //object-store:image.tar failed to build

Is it correct that this build error was found by another repo which included eventuals ( https://github.com/reboot-dev/respect/issues/230#issuecomment-1082196695 ) ?
Why wasn't this break caught by tests in the eventuals repo? I suspect this points to some missing test coverage: can you please file an issue for the tests we should have to catch breaks like this going forward?

Is it correct that this build error was found by another repo which included eventuals ( reboot-dev/respect#230 (comment) ) ?
Why wasn't this break caught by tests in the eventuals repo? I suspect this points to some missing test coverage: can you please file an issue for the tests we should have to catch breaks like this going forward?

Correct, see also @benh's comment in #282:

This is missing tests because all of the generated code is missing tests at this point in time.

I've filed https://github.com/3rdparty/eventuals/issues/291 to track.


feat(payment): PI-2403 Pay by Bank integration

What?
Pay By Bank is a supported payment method - Pay by Bank (Open Banking)
Allow shoppers to input IBAN in the Pay By Bank payment step
Why?
To implement Pay by Bank method
Testing / Proof

...

please add e2e test

@vitalii-koshovyi test added


Ensure data is always returned even with errors

I considered raising a bug/feature request but saw how it could be modified easily in code and went ahead and did it. I'm open to discuss this PR as I understand this is a not insignificant change.
I came across this problem while making queries to an externally managed system that occasionally throws errors when data cannot be matched behind the scenes. Using an Apollo Server instance to make queries I can see that in the data there are null values where this occurs which is what I want to see, but ZeroQL doesn't include data when any errors are raised. This change ensures that even when errors are included in a response, the data can still be examined, just like what Apollo Server does.
I'm not sure how likely this is to break other peoples' implementations, I wonder if it might be worthwhile considering a config toggle in that case?

This is also the default behaviour in GraphQL. When a nested object errors, it still returns the parent object with the erroring object nulled still, and then dumps an error into errors.

@Eraph, I have tested your branch. Looks like other places require changes, too. I have tried to update them, and it started to work as expected, but some tests began to fail. I am going to have a deeper look later today.

I am going to close this PR. The fix has been done here.
You can check out v6.1.1-preview.3 to verify that it works as expected.

Works perfectly, thanks for taking my scrappy PR and running with it for such a quick turnaround!


Winui3: Unable to get PointerPressed and PointerReleased event in TextBox UIElement

Describe the bug
Hi,
I have a grid where each cell is of type TextBox[In read-only mode]. I'm not able to capture the pointer pressed and the pointer released event in TextBox. I'm able to capture other pointer events as the pointer entered etc. Below is my sample grid.

I Have discussed this in Microsoft Forum, turns out this is a bug issue.
Steps to reproduce the bug

Create a TextBox in XAML from winrt::Microsoft::UI::XAML namespace
Try to capture PointerPressed or PointerReleased Event

Expected behavior
No response
Screenshots
No response
NuGet package version
No response
Windows version
No response
Additional context
No response

In general, most control will internally handle pointer events for their own implementation and then mark them as handled so they don't end up being raised externally.
It is still possible to get access to these handled events using UIElement.AddHandler and setting the 'handledEventsToo' parameter to true.


Add comand-chain to bring in env vars at runtime

Internal Jira issue: PEK-1461
This adds a command-chain script that is designed to be built into consumer snaps to reduce the integration effort for snap developers/maintainers. It primarily sources an OpenVINO script that sets a number of important environment variables and is recommended in the upstream OpenVINO documentation.
In addition, the script checks for user access to device nodes required for using the GPU and NPU plugins and emits a warning if a node is inaccessible. No warning is emitted if a device is not present on a user's system.
I've tested this script on a system containing a NPU and iGPU using a reference snap using the OpenVINO Python API with iPython and Jupyter. I'll open a separate PR for that shortly.

Related work: https://github.com/canonical/intel-neural-processing-unit/pull/6


add screen name to direct message

add screen name to direct message  and change userID to optional depend
on
https://dev.twitter.com/rest/reference/post/direct_messages/new

To retain the consistency of Swifter, I have manually added support for screen_name using UserTag 	in 35c779a. This PR will now be closed.

you remove functionality of use user_ID

Check the README to see how to use UserTag
To send a direct message now, you call:
// send to id
swifter.sendDirectMessage(to: .id(USER_ID_HERE), ...)
// or to screenName
swifter.sendDirectMessage(to: .screenName(SCREEN_NAME_HERE), ...)


Close-Excel Package  - Input file is Deleted

V7.1.1
When I attempt to save the Excel file, I get an error and the file is Deleted instead:

This was working for me yesterday with the same process, different data adds.  Am I writing invalid data to the Excel worksheet or something?  Not sure how to troubleshoot.
Load the Excel file:
$ExcelFile = Open-ExcelPackage -Path 'C:\Users...\OneDrive ...xlsx'
$worksheet = $ExcelFile.Workbook.Worksheets['Migrate']
Write to cells.  I am calculating the cell values dynamically:
$worksheet.Cells["$($DeptCell)"].Value = "$($MappedGroup)"
$worksheet.Cells["$($GroupMatchCell)"].Value = "TRUE"
Save the Excel file:
Close-ExcelPackage $ExcelFile

Calling the .save() method instead of Close-ExcelPackage on the Excel file creates the same issue.

I found my issue.  I was trying to input data into a cell with a bad Cell number variable name.  Sorry for the trouble.
Note to others, if you see this save error, it is likely the data you are writing to the Excel file is was not done properly.  Hopefully you have a backup copy of the file you were editing.  I was using OneDrive, so I was able to restore the deleted file.


Remove API for getting generic metadata pattern from nominal type descriptors.

The NTD now references the metadata accessor function for the type, which is a better interface for most things one would want to do with type metadata from a nominal type. The only remaining use in the runtime self really has no requirement to do so. For now, don't disturb the binary layout to prevent breaking downstream clients.

@swift-ci Please clean test

Are there any downstream clients? I think just IRGen.

LLDB has historically needed to walk the list of instantiations in generic metadata pattern caches. I'm not sure how they get to the pattern these days, whether they do it by symbol lookup or going through the NTD.

@swift-ci Please test

@swift-ci Please test

Build failed
Swift Test OS X Platform
Git Sha - bd496a046fd07b9828b5ac298f305bfa95b3e77d

@swift-ci Please clean test

@swift-ci Please clean test

Build failed
Swift Test Linux Platform
Git Sha - bd496a046fd07b9828b5ac298f305bfa95b3e77d

I thought they stopped digging through runtime metadata caches directly a whileago, and use RemoteAST now instead, but maybe I'm wrong. However having the nominal type kind be a separate field is fine for now, but eventually we might want to pack it into the flags word of GenericParameterDescriptor (and probably GenericParameterDescriptor is a bad name for what it is, considering it also encodes details about the vtable for classes...) Do you want to file a JIRA or radar for cleaning up the nominal type descriptor layout?

I think we already have "clean up nominal type descriptors" as a todo item for ABI stability.


Echo Dot Do not disturb (DND) switches not showing proper state -- similar to closed issue #950

IMPORTANT: Please search the issues, including closed issues, and the FAQ before opening a new issue. The template is mandatory; failure to use it will result in issue closure.
Describe the bug
see this: https://github.com/custom-components/alexa_media_player/issues/950#issue-709696152
To Reproduce

Hi. I think we may need to re-open this issue. I'm running 2023.2.0 on an RPi/HAOS.  The Do Not Disturb button on our Echo Dot is not registering on the entity in HA.  Similarly, changing the entity's setting in HA doesn't affect the Dot. I am able to toggle the switch directly in HA, but that also does not affect the Dot.  This is a new use-case for me, so I can't say if it worked in a prior version of HA. I do have a backup from before updating and could check that if desired via a restore.  Thanks, please let me know.
Expected behavior

Screenshots

System details

Home-assistant (version): 2023.2.0
alexa_media :  4.6.0
alexapy (version from pip show alexapy or HA startup): -- sorry, not sure where to look for this?  Please advise if needed. Thanks.
Amazon 2FA is enabled

Logs
Please provide logs.
Which Logs are needed? I enabled logging on the Alexa integration.
Additional context
As noted above. Thank you.

Logs of when you issue a DND switch.

Thanks, here is the log exerpt. The entity_id=switch.neil_s_2nd_echo_dot_do_not_disturb_switch   and  "friendly_name":"Master Bath Echo Dot"
I noticed that some of the logs mention the DnD switch being disabled, but the following image shows that it is indeed Enabled:

Time stamps 2023-02-05 08:43:27.569 and 2023-02-05 08:43:27.851 mention the entity.
Attached is the log.  Thank you!
Neil Log Cleaned v2.txt

You did enable debug logging right? You can enable it in the Integrations UI by using the hamburger button (in my case it's enabled already so the option says disable).

I'm not seeing any calls from alexapy. It should look like this when triggering the switch:
2023-02-08 23:19:13.307 DEBUG (MainThread) [alexapy.alexaapi] a******e@g*******m: Setting DND state: True data: {"deviceSerialNumber": "SNIP", "deviceType": "A3S5BH2HU6VAYF", "enabled": true}
2023-02-08 23:19:13.625 DEBUG (MainThread) [alexapy.alexaapi] a******e@g*******m: PUT: https://alexa.amazon.com/api/dnd/status returned 200:OK:application/json
2023-02-08 23:19:13.626 DEBUG (MainThread) [alexapy.alexaapi] a******e@g*******m: Success: True Response: {'deviceSerialNumber': 'SNIP', 'deviceType': 'A3S5BH2HU6VAYF', 'enabled': True}

I thought I had, but perhaps not. So, I just enabled it.
The log page shows this:
Logger: homeassistant.helpers.service
Source: helpers/service.py:309
First occurred: 12:47:26 PM (6 occurrences)
Last logged: 6:38:50 PM
Unable to find referenced entities script.null or it is/they are currently not available

Sorry, did you actually try to toggle the DND switches with this log? Please identify the timestamps. I'm not seeing any attempts in the log to toggle like I showed you earlier.
Is the issue you're toggling outside of HA? In that case, until the next poll (default 10 minutes) the component won't know because it's not aware any DND state has been changed. We have to balance the polling interval so we don't get banned by Amazon.  While some polls are constant, other polls will increase with the total number of echo devices available so we try to be very conservative.

Ahhh!  I did not know that the physical DND button on the DOT only gets polled every 10 minutes.  I thought it would be "caught" by HA promptly upon being pressed, in the same manner as asking Alexa to do something is also caught.  My use case was to use the DND button like any other Zigbee or Zwave button -- to use it to trigger an automation.  Unless there is a way for pressing the physical DND button to trigger an intent that could be immediately caught by HA, I'll look for another solution for the current use case.
However, I have another use case where ~every 10 minutes would work well. Therefore, let's still confirm if it is working or not, please. To your questions -- I indeed pressed the physical DND button 4 times during the period of the log that I provided.  I searched through the logs overall for the example calls you listed:

2023-02-08 23:19:13.307 DEBUG (MainThread) [alexapy.alexaapi] ae@gm: Setting DND state: True data: {"deviceSerialNumber": "SNIP", "deviceType": "A3S5BH2HU6VAYF", "enabled": true}
2023-02-08 23:19:13.625 DEBUG (MainThread) [alexapy.alexaapi] ae@gm: PUT: https://alexa.amazon.com/api/dnd/status returned 200:OK:application/json
2023-02-08 23:19:13.626 DEBUG (MainThread) [alexapy.alexaapi] ae@g***m: Success: True Response: {'deviceSerialNumber': 'SNIP', 'deviceType': 'A3S5BH2HU6VAYF', 'enabled': True}

However, I found no instance of "Setting DND" in the logs. The only lines with "DND" in them look like this:
190 DEBUG (MainThread) [alexapy.alexaapi] n****@g*******m: static GET: https://alexa.amazon.com/api/dnd/device-status-list returned 200:OK:application/json
Therefore, I wonder if it the alexaypy is properly working.  What do you advise, please? Thanks again.

If you saw nothing in the logs when you hit the physical button, then we can't detect it. Also, I do not know if the physical DND switches are even linked to the software DND switch. What does the Amazon Alexa app say about the state?


Allow syntax to allow reserved keywords as operation names

From the Language AnalyzeText Authoring Cadl:
  // NOTE: `import` is a reserved keyword
  @doc("Triggers a job to export a project's data.")
  importx is ResourceAction<
    Project,
    ExportedProject,
    Cadl.Http.AcceptedResponse & Foundations.LongRunningStatusLocation
  >;

In Swift, you can create symbol names using reserved keywords by quoting them with backtick. Consider allowing this:
`import` is ResourceAction<Project, ExportedProject, AcceptedResponse & LongRunningStatusLocation

Alternatively, if one could apply the @friendlyName decorator to an operation, that may be a simpler solution to the problem (though currently the decorator cannot be used on operations).

I think we talked at some point of just allowing
op "namespace"(): void;

Yep, using string literals as names to avoid reserved keywords is a good solution.

though that now also introduce the high chance that the name is not valid in other languages.

Good point.

pri: 1

Also, it seems simply changing import to Import is accepted.

ready to discuss

@nguerrera would distinct syntax for escaping identifiers mean that we would only allow escaping keywords
// Example escape with `
op `namespace();

// That doesn't work
op `foo-bar();

We already have that for model properties too so have to be careful for consistency
model Foo {
  "foo-bar": string;
}

No, it doesn't have to be just keywords.
It could be:
op `this is actually identifier`(): void;

I would want to remove the "" option from model properties in that case, but we could keep it for backcompat. I personally find the handling annoying of model properties and don't want that annoyance to spread all over the place.

make sense

Summary of options:
Option 1: Allow string literals everywhere identifier are allowed
op "foo-bar"(): void;
interface "Foo-Bar" {}

Pros:

Feels quite intuitive
Similar to TS

Cons:

Handling of identifier means always having to handle Identifier | StringLiteral in the syntax tree.

Option 2: New escape syntax for identifier `
op `foo-bar`(): void;
interface `Foo-Bar` {}

Pros:

Identifier stays their own syntax node. No need to handle string literal + identifier

Cons:

Feels maybe a bit confusing on when to use vs "
Differ from typescript

Option 3: Use double quote syntax but the parser automatically convert to identifier
op "foo-bar"(): void;
interface "Foo-Bar" {}

Pros:

Identifier stays their own syntax node. No need to handle string literal + identifier
TS like

Cons:

Could maybe give a worse error recovery?

I don't think Option 2 makes sense. I suggested the backtick because that's what is familiar to me from Swift. It should really be Option 1 or 3 and of the two, Option 1 makes the most sense to me.

I wouldn't say option 2 doesn't make sense. It's a perfectly reasonable option to have a unique syntax for escaped identifier and string literal. IMHO, it is the cleanest option and I think Swift got this right. We borrowed """...""" from Swift so maybe we can borrow  ...  too?
There are other examples of this pattern. Common Lisp uses |...|:
[1]> (defun |add two numbers| (a b) (+ a b))
|add two numbers|

[2]> (|add two numbers| 4 5)
9

[3]> (defun "add two numbers" (a b) (+ a b))
*** - DEFUN: the name of a function must be a symbol, not "add two numbers"

But if we insist on using string literal syntax, then I prefer option 3 to option 1. But option 3 isn't as clean as option 1 in my opinion.

If I could make a breaking change here, I'd go with backticks for escaped identifier and not allow string literals as model property names.

It's cleaner because you can handle it entirely during scanning.

I have a selfish reason to dislike Option 3. Right now it's very easy for me to know how to render an identifier for APIView. If everything just showed up as Identifier due to some internal magic, I would need to check if the identifier was a reserved keyword to know whether to quote it. It would also result in issues where, say someone used a string identifier for giggled (i.e. not a reserved keyword) then APIView would not quote it.
If you do the magic of Option 3, perhaps just a flag on Identifier to indicate it is a literal? I dunno. I would also be fine with the Swift backticks if you are fine with the non-TS-ness of it :D

We could give you a helper to print the identifier. I think it would be fine if printing removed `` if they are unnecessary. This is what I would expect the formatter to do too.

We already have that logic in the formatter for the model properties to remove quotes if not needed. We can definitely expose it

surround by pipes |identifier|
start with ':'  :identifier

for option 3, will need an indicator for quoted identifier in syntax representation
references?

"foo bar".baz

foo bar.baz
:foo bar.baz

other solution

@friendlyName("import")
op importx(): Foo;

totally punt

import
model
interface
enum Versions {
2022-01-01,
2022-01-01,
}
Versions.2022-01-01

Conclusion: use backticks

^ Use backtick conditional on string interpolation solution not conflicting #932

Implementation issue here: https://github.com/microsoft/cadl/issues/1221


Upgrade Spring Boot to 3.2.0

Thanks for working on adding support to spring 3.2.0. I have noticed that after upgrading to 3.2.0 using the current version released caused few issues.
Hope this gets merged ASAP :)


Writing GRIB2 Messages Examples

Greetings,
I have utilized the init(), addgrid(), and addfield() methods to create a new GRIB2 message with all of the constituent arguments required for each but it seems like my created message is not complete when trying to do some testing with decoding and was curious if there is a location which shows examples of generating GRIB2 products/data from scratch?
Thanks,
Chris

Hi Chris,
The methods you listed are a part of the grib2io v1.x API where init() creates the message (sections 0 and 1), addgrid() adds section 3, and addfield() adds sections 4, 5, 6, 7.  There is 1 more method to formally end the grid message, end(), which adds section 8 (a string of '7777').  Note that the workflow for creating new GRIB2 message in v2.x will have changed significantly.

Hi Eric,
I did just add in the end() method but it seems like that all parts of the message are not filled out and so I have problems accessing the data array I just created.   Also, I get no errors when setting up all of the methods for the new GRIB2 message.   Has this issue been seen before?
Thanks,
Chris

Feel free to share your code here.  It is possible there was an issue in addgrid or addfield that didnt make it back to you.

Eric, here is my code.   I was just trying to build up from scratch an existing GRIB2 message from the GFS model.   Thanks for your assistance!
#!/usr/bin/env python3
import grib2io
import sys
import numpy as np
import re
// gfsfile --> 24-hour forecast GFS 0.5deg gridded data file in GRIB2 format
obj=grib2io.open(gfsfile)
msg = obj[1][0]
dat = msg.data()
//fullName = Pressure Reduced to MSL for msg #1
newmsg = grib2io.Grib2Message
newmsg.init(newmsg,discipline=msg.discipline.value,idsect=msg.identificationSection)
newmsg.addgrid(newmsg,msg.gridDefinitionSection,msg.gridDefinitionTemplate)
newmsg.addfield(newmsg,dat,msg.productDefinitionTemplateNumber,msg.productDefinitionTemplate,packing='simple', binScaleFactor = msg.binScaleFactor, decScaleFactor = msg.decScaleFactor)
newmsg.end(newmsg)
print(newmsg)
print(newmsg.data(newmsg))

Hi Eric,
I had success with what you provided as a solution!  This issue can be closed.
Thanks again!
Chris


Fix wrong link to interceptors.png image

@jahson
This image displays correctly in our docs
What usecase motivates you to propose this change?

@jahson This image displays correctly in the docs on this page
What usecase motivates you to propose this change?

Hm. I was reading on Github, and noticed missing image, forgot to check on site. Feel free to close.


Investigate using attrs auto_attrib

Forget-me-not issue for looking into replacing validators with attrs auto_attribs.
e.g. https://github.com/awslabs/pipeformer/pull/11/files#diff-9b1daedea4a9b2720c65737a517620f0R25

Closing down project: #52


fix(grammatical): Spelling mistakes

This pull request addresses and corrects several grammatical errors found throughout the codebase.
The changes include fixing typos, punctuation, and ensuring proper sentence structure for improved readability and clarity.
No functional changes have been made; this is purely a maintenance update.

/check-cla

nope sir @doug-walker

@remia @cedrik-fuoco-adsk please review my pr sir

Can u merge this.. @carolalynn22


dune-project: don't list dune as dependency

It is added automatically

Thanks @mseri I've regenerated the opam files and will merge as https://github.com/tmcgilchrist/ocaml-gitlab/pull/37


Service name has a duplicated Prefix

My runner is unable to find webhook service because of weird prefixing of the service.
The output of kubectl get services -n actions: (actions is just the namespace in which I have installed the helm chart)

Environment:

Kubectl [v1.22.4]
Deployment Method [Helm]
Helm Chart Version [0.16.1]
GKE Cluster

Here is the error:

Here are all the installed objects:

Cannot delete and reinstall everything because its a prod cluster, and I have already tried different namespaces.
Thanks a lot for any sort help!

I did not override anything and used the default values in the values.yaml. But the problem is solved because there were some dangling resources in the cluster. There were a bunch of cluster roles and cluster role bindings:

They were not deleted after a helm delete. After I deleted them manually, the prefix was gone and it started to work perfectly.

@murty549 Hey. Your second screen capture says that there's at least one mutatingwebhookconfiguration that points to a K8s service named actions-runner-controller-webhook in actions-runner-system. But you said you're using actions as the namespace to install ARC.
That makes me think that you have two conflicting ARC instances in actions-runner-system(maybe this is the older one?) and actions. If that's intentional, it isn't supported today.
Just make sure you only have one instance of ARC per cluster. Or just specify the same namespace to run helm upgrade.

Yes that was the exact problem. Thanks a bunch :D


add a popup alert window

When I'm at work, I keep my laptop muted, so I always don't see it when the timer goes off.
Could you add an optional popup window to alert that the time is up?  Maybe also add an option to restart the timer in the popup window.

Available in the just released version 1.2.


Freshen attrs and sphinx objects.invs and correct for colons actually being allowed in {role}

Closes #255 and closes #256.

Codecov Report

Merging #258 (157a60f) into main (ba80eeb) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main      #258   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           20        20
  Lines          735       735
=========================================
  Hits           735       735

Impacted Files
Coverage Δ

src/sphobjinv/re.py
100.00% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


indexer: affected objects include created+wrapped/unwrapped+deleted

Description
Broaden the definition of "affected object" to include objects that a transaction creates and then immediately wraps, or objects that it unwraps and then immediately deletes. This ensures that a transaction will show up in the response to an affectedObject query if and only if the Object's ID shows up in its objectChanges response.
Test plan
Updated GraphQL E2E test:
sui$ cargo nextest run -p sui-graphql-e2e-tests \
  --features staging -- affected_object

Stack

#19474
#19614
#19615
#19616
#19617

Release notes
Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.
For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

[ ] Protocol:
[ ] Nodes (Validators and Full nodes):
[x] Indexer: A transaction's "affected objects" include objects that it created and wrapped, or unwrapped.
[x] JSON-RPC: A transaction's "affected objects" include objects that it created and wrapped, or unwrapped.
[x] GraphQL: A transaction's "affected objects" include objects that it created and wrapped, or unwrapped.
[ ] CLI:
[ ] Rust SDK:
[ ] REST API:

This PR ideally needs to be landed today so that it makes it into the next devnet cut and can be picked into 1.34 so that we don't need to wait another release to start backfilling mainnet, cc @ebmifa

https://github.com/MystenLabs/sui/pull/19620 <- pick to 1.34


[Audit] hardfork unfriendly gas cost

https://github.com/thehubbleproject/hubble-contracts/blob/32234da0ce3015b4bece04a264a136a6778191dd/contracts/libs/BLS.sol#L103
Specifying explicitly precompile cost could be unfriendly to future hardforks.

Instead, we should use sub(gas(), 2000) which is a standard way people are doing.
https://github.com/iden3/snarkjs/blob/master/templates/verifier_groth16.sol#L83

Instead, we should use sub(gas(), 2000) which is a standard way people are doing.
https://github.com/iden3/snarkjs/blob/master/templates/verifier_groth16.sol#L83

In signature verification, we interpret precompile revert signal for:

signature is not a valid point
any of pubkeys which are G2 points are not valid point or in incorrect subgroup

While first issue would be checked before precompile call, latter is infeasible in EVM.
So we have be sure that caller supplied enough gas to run precompile. If fraud caller is supplied insufficient gas then precompile reverts and we couldn't check if coordinator used bad pubkey which is valid fraud detection or precompile just reverted because of insufficient gas.
Our approach enforces that fraud detector must supply enough gas for precompile calls or transaction would revert because of out of gas.
For hardfork compatibility:

We assume that pairing precompile cost will never increase in future HF. This is the current approach and sounds a bit fishy
We can deploy another contract that can be called by anyone and calculates approx pairing precompile cost with predefined valid inputs. And then we can fetch current const of the precompile costs.

In signature verification, we interpret precompile revert signal for:

signature is not a valid point
any of pubkeys which are G2 points are not valid point or in incorrect subgroup

While first issue would be checked before precompile call, latter is infeasible in EVM.
So we have be sure that caller supplied enough gas to run precompile. If fraud caller is supplied insufficient gas then precompile reverts and we couldn't check if coordinator used bad pubkey which is valid fraud detection or precompile just reverted because of insufficient gas.
Our approach enforces that fraud detector must supply enough gas for precompile calls or transaction would revert because of out of gas.
For hardfork compatibility:

We assume that pairing precompile cost will never increase in future HF. This is the current approach and sounds a bit fishy
We can deploy another contract that can be called by anyone and calculates approx pairing precompile cost with predefined valid inputs. And then we can fetch current const of the precompile costs.

@kilic, 2nd way seems safer.

@kilic, 2nd way seems safer.

Fixed in #409

Fixed in #409


WIP: added Rolette County, ND, USA

added Rolette County, ND, USA

Street contains embedded units, needs regex work.


Workbox PWA broken due to integrity hash mismatch

@thexeos commented on Fri Oct 29 2021
Issue Details

AdGuard version:

v3.6.4 (32)

Filtering mode:

Local VPN

Device:

Galaxy A5 (2017)

Operating system and version:

Android 8.0.0

Root access:

No

Description
When Workbox-based PWAs update (assuming their install was not blocked by any of the filters), the list of files to update may contain integrity attributes, corresponding to SRI hashes. If the hash of the received (server) response does not match the stored hash - the file download, and by extension the update process, fails.
I am seeing these two lines added to the response body for index.html from the PWA's domain (after <meta charset=utf-8> tag):
<script type="text/javascript" nonce="4faaa0101c3b4442b4e06e195dd" src="//local.adguard.org?ts=1635450354873&type=content-script&dmn=domain.com&app=com.android.chrome&css=3&js=1&rel=1&rji=1&sbe=0&stealth=1&uag=&trref=aHR0cHM6Ly9kb21haW4uY29tLw=="></script>
<script type="text/javascript" nonce="4faaa0101c3b4442b4e06e195dd" src="//local.adguard.org?ts=1635450354873&name=AdGuard%20Extra&type=user-script"></script>

Generally, you can tell that the request was made by the Service Worker by inspecting the Referrer header in the request, which would typically look like 'https://domain.com/service-worker.js'.
Either way, this seems to be a recent breaking change, as this specific PWA was able to update through the same mechanism for over a year. From user perspective, this is an issue with the PWA and AdGuard would be the last place they'll look when trying to troubleshoot failed "app" updates.
I can provide the domain name of the PWA, if that would make any difference.

@thexeos it'd help a lot if you could provide an example of such a PWA.

@sfionov I suppose we could have issues with SRI in general since AG may also modify other responses content (i.e. $redirect rules and so on). The fast solution would be to simply remove this attribute.
A little bit better solution would be to read that attribute and do the check on our own (it can probably be planned on a later release of CL).

@thexeos it'd help a lot if you could provide an example of such a PWA.

https://beaconx.com (requires login before PWA can be installed)

A quick solution for beaconx would be to add a filtering rule that disables cosmetic rules injection completely for it, something like this: @@||beaconx.com^$elemhide,jsinject,content (we'd probably need to limit it to some specific PWA rules, though).
We may resort to it after all, but we'd better look for a generic solution first.

In the end, I can't see any viable generic solution. Moved my thoughts about it to a different issue: https://github.com/AdguardTeam/CoreLibs/issues/1562
Regarding beaconx, I've added the exception rule for it to AG Base filter, the issue shouldn't be happening anymore.


Explicitly set empty config in tests

This ensures that the config tests aren't affected by other tests that may have pre-loaded the config.

Thanks for the middle of the night review, :).


feat: query report trends per project

Rationale
Currently we have trends implementation that uses 20 latest reports and just filters them by project. We need to query latest reports per selected project.
Added

/api/report/trend now supports query param project
Trends tab now fetches latest reports per selected project

Fixed

/api/report/generate now returns proper report Url
example report urls in readme

Everything is fine, but check eslint

Thanks for review!
Actually we have just warnings about using console.logs and one unused variable related to pagination not being fully implemented yet. We can just update the rules.


Throw an error for invalid BitmapText key

If you create a BitmapText object with a bad key you see something like this in the console:

[Warning] Invalid BitmapText key: font
[Error] TypeError: undefined is not an object (evaluating 'entry.data')

Since the error is inevitable, I've replaced the console warning so there's now a single error message and trace:

[Error] Invalid BitmapText key: font

👍


How to use GetEntityLink()?

Hi,
I have a have question.
I have a collider and I'm trying to find the attached entity. How can I do this.
I tried
var entity = collider.gameObject.GetEntityLink().entity;

But this gives null reference exceptions.
Am I doing something wrong?
Cheers

you have to setup a link for this gameObject first:
gameObject.Link(entity, context);
take a look this sample project:
https://github.com/sschmid/Match-One/blob/master/Assets/Scripts/Views/View.cs

Thank you! It works perfectly now.

From: Simon Schmid<EMAIL_ADDRESS>Sent: Friday, August 3, 2018 12:21:36 AM
To: sschmid/Entitas-CSharp
Cc: LonelyEntity; Author
Subject: Re: [sschmid/Entitas-CSharp] How to use GetEntityLink()? (#752)
EntityLink is not added automatically by Entitas, you're in full control.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/sschmid/Entitas-CSharp/issues/752#issuecomment-410086210, or mute the threadhttps://github.com/notifications/unsubscribe-auth/An3JJh9wMWXUKR-RuAare_aWNQIqN_twks5uM3twgaJpZM4VjtjN.


NSRangeException crash on iOS

When entering the string "Android" on a TextInput component and pressing enter (OnSubmitEditing event), app crashes every time.
Crash Log:
2016-01-27 11:27:52.406 Application[552:542758] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSCFString substringFromIndex:]: Index 92 out of bounds; string length 91'
*** First throw call stack:
(0x22bbe2eb 0x2238adff 0x22bbe231 0x23326b71 0xf6843 0xf6891 0x14ca97 0x145a15 0x1467f9 0x3f4cbf 0x3ff5c3 0x3f7efb 0x401017 0x400909 0x228f4e0d 0x228f49fc)
libc++abi.dylib: terminating with uncaught exception of type NSException

Happens On RCTUtils.m:
NSString *RCTBundlePathForURL(NSURL *URL)
{
  if (!URL.fileURL) {
    // Not a file path
    return nil;
  }
  NSString *path = URL.path;
  NSString *bundlePath = [[NSBundle mainBundle] resourcePath];
  if (![path hasPrefix:bundlePath]) {
    // Not a bundle-relative file
    return nil;
  }
  **HERE** return [path substringFromIndex:bundlePath.length + 1];
}

I have just met this crash and I fixed it like this
NSString *RCTBundlePathForURL(NSURL *URL)
{
  if (!URL.fileURL) {
    // Not a file path
    return nil;
  }
  NSString *path = URL.path;
  NSString *bundlePath = [[NSBundle mainBundle] resourcePath];
  if (![path hasPrefix:bundlePath]) {
    // Not a bundle-relative file
    return nil;
  }
 //add
  if (bundlePath.length >= path.length) {
    return [path substringFromIndex:path.length];
  }
//add end
  return [path substringFromIndex:bundlePath.length + 1];
}

Seems to solve my issue as well, why not setting up a PR for this?
Thanks!

The bug had been fixed in the newest version.


Add Python 3 to testing to align with README.md

README.md says that Python 3 is supported so Python 3 must be tested.

Our Travis tests fail on Python 3:

https://github.com/fossasia/query-server/pull/168/files
https://travis-ci.org/fossasia/query-server/builds/278811497

This issue should be reopend and should remain open until our Travis tests pass on Python 3.


Sorry, something went wrong with connecting bot runtime

Hello,
I have  created a simple bot with a greeting message and QnA Integration including in it.
when i try to publish, the bot is giving the below error even though i have upgraded to the .Net Core SDK 3.1.
Error : Could not execute because the specified command or file was not found. Possible reasons for this include: * You misspelled a built-in dotnet command. * You intended to execute a .NET Core program, but dotnet-bin/Debug/netcoreapp3.1/BotProject.dll does not exist. * You intended to run a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
Please find below the logs.

These are the reference packages i have used in the code. I have checked it by using dotnet build command under my bot folder and the build has happened successfully.

Still i am facing this issue and could not run the bot and test it. Please assist me on this if i have missed out anything.

The issue got resolved when i restarted the composer and cretaed a new bot from scratch.
Hence closing the issue. Thanks.

I still think this is an issue, I experienced it today using Composer Desktop.
Remaking my bot would waste a day.

I think I'm experiecing a similar problem. Remaking my bot would waste a day, so it isn't a great solution.
I was trying to create a new LUIS intent and upon next compile I got this.

I was constructing a new intent inside of the main dialog.


[BUG] AzureAiSearchEmbeddingStore stopped retreiving Embedding (vector)

Describe the bug
AzureAiSearchEmbeddingStoreIT started failing, the error happens because EmbeddingMatch.embedding() returns null.
Log and Stack trace
Expected :Embedding { vector = [-0.075626835, 0.047543436, 0.03647792, 0.09108457, -0.070778824, -0.08546269, 0.065225616, 0.014397461, -0.06560297, -0.04260569, 0.008854983, -0.007350972, -5.375818E-4, -0.05324175, 0.03131526, -0.007941296, 0.027483733, -0.02 ...

Actual   :null

To Reproduce
Run AzureAiSearchEmbeddingStoreIT
Expected behavior
Tests should pass
Please complete the following information:

LangChain4j version: 0.34.0-SNAPSHOT

Additional context
I have discovered that content_vector field is not retreivable when created automatically:

The issue can be fixed by making content_vector field retreivable in createOrUpdateIndex(int dimensions). I did not find .setRetreivable(boolean) method, but .setHidden(false) seems to work

@jdubois @agoncal do you know if something has changed in this regard lately?
We should probably change createOrUpdateIndex and explicitly make vector field retreivable.
But in general it probably makes sense to not retreive it by default (it is usually of no use, users are mostly interested in the content). We can probably add retrieveEmbeddingsOnSearch propery (false by default) which can be set during the creation of AzureAiSearchEmbeddingStore, WDYT? MilvusEmbeddingStore, for example, works like this.

Nothing that I know of has changed, then I need to work on that class anyway to make it more configurable.


thread for collecting interesting patterns

I've been saying that Kargo is flexible enough that we will continuously discover new usage patterns that we didn't anticipate. I'm starting this thread as a place for collecting patterns that we'll eventually formalize in a patterns catalog in the documentation.
Very high level descriptions are fine. I'll start us off with some interesting ones.
Please add any interesting patterns you discover!
Not GitOps; Quick and Dirty; But Still Useful
This is a whole class of patterns that involve promotion mechanisms that do not write back to a git repo. Without a repo being the sole source of truth, it's not real GitOps, but that doesn't mean these patterns don't have their place.
Non-exhaustive examples:

Warehouse subscribes to an image repo. Stages update Kustomize-specific or Helm-specific params in Argo CD App(s) with new image version info. This is a quick and dirty way of keeping one or more deployments of third-party software up to date.

Warehouse subscribes to a Helm chart repo. Stages update targetRevision in Argo CD App(s) with new chart version info. This is another quick and dirty way of keeping one or more deployments of third-party software up to date.

Warehouse subscribes to a git repo. Stages update targetRevision in Argo CD App(s) with latest commit ID. This is a quick and dirty way to manage config-only changes (which could technically include image changes also if someone or something else writes updated image information to the git repo). Note: In this case, most everything is in git, but the repo doesn't have a record or what Stage is running what commit.

"Image Updater on Steroids"
Works similarly to Argo CD Image Updater.
Warehouse subscribes to image repo(s) only. Stages write new image version info to:

Stage-specific path in git repo trunk (e.g. a Kustomize overlay)
OR

Stage-specific branch in git repo

Underlying Argo CD App(s) do all the heavy lifting.
Such a pipeline accommodates progressive delivery of new images, but doesn't coordinate other config changes (e.g. flipping a feature flag).
The Common Case
Warehouse subscribes to the trunk of one or more git repos (for config changes) and also to one or more image repos (for software builds). Each stage "mashes" these artifacts together and writes the result to a stage-specific branch. Underlying Argo CD App(s) do all the heavy lifting.
Common Case Variant w/ Pre-Pipeline
In the common case (above), the trunk of a git repo never has image version information. That information resides only in each Stage's branch. The repo still has a complete record of everything, but not having that in the trunk seems to offend some users' sensibilities.
Other users may wish for the simplicity of a Warehouse with a subscription to a git repo only -- which produces simple freight with references to a single commit only.
Both of these can be accommodated by using two pipelines:

A short "pre-pipeline" with a warehouse that subscribes to image repo(s) only and a single stage that writes new image version info to a git repo's trunk.

A pipeline that subscribes to the git repo's trunk only. Stages either:

Copy commits from the trunk to a Stage-specific branch.

Render commits from the trunk to a Stage-specific branch.

Composite Patterns
Various patterns above can be combined in numerous ways.
For example, using the "pre-pipeline" pattern with Stages that only update the targetRevision field of each Argo CD App.

Hotfix Pattern
Although we plan to build features that will make "hotfixes" easier (see #1073 #1074 #1075), there's a pattern that already works today:
Stages can currently subscribe to upstream Stages or to a Warehouse, but not both. (Maybe this will change at some point.)
If you position a Stage (let's call it "hotfix") just upstream from prod, prod can subscribe to the hotfix Stage and whatever other Stage(s) it would normally. The "hotfix" Stage can subscribe directly to a Warehouse -- the same Warehouse that the "far left" Stage ("dev" for instance, subscribes to). This provides a second entry point into the pipeline that's closer to prod.
Even better, the hotfix stage doesn't even have to do anything -- e.g. No promotion mechanisms.

GitOps Your Pipelines
There's no reason you can't define your projects/pipelines in a GitOps repo and use an Argo CD App (or "App of Apps" even) to deploy the projects/pipelines and keep them up to date.
🐢
🐢
🐢
🐢
🐢
🐢

Hi @krancour,
I'm trying Kargo out and what you describe here as "The Common Case" is pretty much what we are interested in. However, it doesn't seem as straightforward to me as I expected. The quick start seems to be more of the "Image Updater on Steroids" case and I can't find any other documentation that covers the common case.
The main thing I haven't figured out is how to get Kargo to only create freights for the combination of image version and the git commits from which the image was built and not just combine anything new it finds. I'd like to be able to tell Kargo something like "create a new freight when you see a new commit on the main branch of git repo X and a image with the SHA of that commit as tag in image repo Y". Is there a clean way of doing this or am I misunderstanding what the "standard" use case Kargo wants to solve is?

@yhrn please start a separate issue or discussion for this.

@yhrn please start a separate issue or discussion for this.

Sure, but I should probably rephrase a bit too. What I'm wondering is if my case (git repo with source code and manifests, build/push one or more images during CI, have Kargo inject new image versions into manifests from the corresponding commit and promote to stage) is really what you mean with "the common case"  or of it's slightly different and could be added as another pattern here?
I feel like it matches the description, but because it doesn't seem to be straightforward to implement I was wondering if it might be a different pattern after all.

@yhrn no... the common case doesn't pay any regard to the repo that the image was built from. The common case mashes together the "latest" (according to rules you define) image that it has found with manifests from a "gitops repo." Source code never enters into the equation.

Ok, then I think my pattern could be described something like this (and from my experience this is a common pattern at numerous large software companies):
The DevOps Pattern
A team owns a k8s deployed application end-to-end and the application source code along with the k8s manifests reside in a single Git repo. During the CI process for merging a commit to the main branch, one or more images are built and pushed. The manifests at the main commit now needs to propagate through multiple stages alongside the image versions built from that specific commit.
The DevOps Monorepo Pattern
Same as the "The DevOps Pattern" but the application resides in a monorepo, together with a, potentially large, number of other applications, making it undesirable for each main commit to result in a full rollout/replacement of all pods. The CI process needs to ensure image builds are fully reproducible (not a Kargo concern). The desired behavior from Kargo is that manifest rendering is reproducible (e.g. by using image digests instead of tags) and that expensive/slow (verification) steps kan be omitted during promotion of a new commit that results in no relevant changes (noop promotion).

So what you basically want is to subscribe only to manifests (no need to watch the images in this case, really) and at each stage, update the manifests so the image tag matches the sha of the commit containing the manifests.

Yeah, the Git repo with the manifests is the primary thing to watch in this scenario. However, images would be built after a new commit appears there so some kind of secondary watch on the images could be useful to avoid attempting to promote a change before the images are ready.
Also, optimally I think I would want to inject the image digest instead of the commit sha tag to avoid unnecessary pod churn in cases where a commit leads to an image being built that is identical to the previous commit image. I would still tag the image with the commit sha though so Kargo can find it.

Kargo can't really do that yet, but it's sensible, and in a future state, this should be possible.

I can create a separate issue for this if you'd like. Not 100% sure how I should phrase the request though?

However, you can get almost all the way to what you're looking to do with a non-Kargo workaround. You can add automation to the merges to your main branch that grabs the commit ID at the head of main, builds the image and tags it using the commit ID, then updates the manifests to reference that new tag.

Sure, this is what we do now, but it's a bit messy and part of why we are looking at Kargo.

I can create a separate issue for this if you'd like. Not 100% sure how I should phrase the request though?

I wouldn't bother.
The main feature we are working on now is https://github.com/akuity/kargo/issues/2219
Looking beyond the initial implementation of that feature, we will most likely be adding some kind of context that is user-accessible via a simple expression language and I expect that is how something like what you have described would be achievable in the future as it may allow you to access the ID of the relevant commit from your Git repo and use it in performing some image replacement in those manifests.


Update material design icon fonts/css to release 2.2.0.

Just downloaded the 2.2.0 zip from https://github.com/zavoloklom/material-design-iconic-font/releases/download/2.2.0/material-design-iconic-font.zip, extracted, copied into the tree.
I ran both 'lein ci' (and verified that all the tests passed and the compile succeeded), and 'lein watch' (and verified that the demo looked right, and got no test failure messages.) Not sure if there is anything else I should do before sending the PR?

Thanks @esnyder 👍 😃  Merged.


Slurm account names with spaces in result in "The given account {account} appears to be invalid"

Snakemake version
7.29.0
Describe the bug
When the user's slurm account has spaces in, the error 'The given account {account} appears to be invalid' is raised.
This is due to line https://github.com/snakemake/snakemake/blob/f1b8342757fc5554eb7a9ed5d393c376e9089c3c/snakemake/executors/slurm/slurm_submit.py#L51 where the string list of accounts is split.
If this is bypassed an additional problem comes on line https://github.com/snakemake/snakemake/blob/f1b8342757fc5554eb7a9ed5d393c376e9089c3c/snakemake/executors/slurm/slurm_submit.py#L159 when there are no quotes around the account name when it is used on the command line.

Hi,
Sorry, I overlooked this issue - since snakemake v8 the executor code code for slurm lives in its own repository.
Now, the bug probably persists: We did not anticipate a SLURM account to contain whitespace of any kind, though any byte seems to be valid for SLURM.
I think I can code a fix. Would you be so kind to paste the output of
import os
import subprocess

cmd = f'sacctmgr -n -s list user "{os.environ["USER"]}" format=account%256'
accounts = subprocess.check_output(
                cmd, shell=True, text=True, stderr=subprocess.PIPE
            )

here in the thread?

You can also try and see whether the proposed fix (see the link about in this thread) fixes the issue, already.

Many thanks for looking into this.
@savitakartik Could you run the above code on the cluster?

Hi,
Sorry, I overlooked this issue - since snakemake v8 the executor code for SLURM lives in its own repository.
Now, the bug probably persists: We did not anticipate a SLURM account to contain whitespace of any kind, though any byte seems to be valid for SLURM.
I think I can code a fix. Would you be so kind to paste the output of
import os
import subprocess

cmd = f'sacctmgr -n -s list user "{os.environ["USER"]}" format=account%256'
accounts = subprocess.check_output(
                cmd, shell=True, text=True, stderr=subprocess.PIPE
            )

here in the thread?
PS The idea is, of course, that people forget to specify an account on a cluster, where this is mandatory, but may have several. And, alas, sacctmgr spits out every account with a new line and has little wiggle room for formatting.

Thanks for looking into this, @cmeesters. The output I get looks like this:
109 genetics coe \n                                                                                109 genetics coe \n                                                                                109 genetics coe \n

Huh? Ok, my fix ought to work for accounts containing whitespace. But here it would assume, that your account is literally 115 genetics coe. That is a bit ... peculiar. Or is it really your SLURM account?
The thing is: We try to cover all cluster quirks, but some admins are really creative when it comes to implementing exceptions. You could always write
default-resources:
   slurm_account: "genetics coe"
   slurm_partition: "<your default partition, if necessary>"

set -resources:
    non_local_rule_deviating_from_default:
         runtime: "1h"
         slurm_partition: "<some other partition>"
         cpus_per_task: 64
         mem_mb_per_cpu: 3600

or whatever else you need and deviates from the guess - or specify the same stuff on the command line, yet right now the assumption is 115 genetics coe is your account.

I get the same error message when the accounts consist only of numbers, should I raise a different issue for this?

@benjeffery @areleu Please note: The mentioned version is outdated. If any issue persists, please update to the recent version combination of Snakemake and the executor plugin. If it still persists, please open an issue report at the plugin repo: https://github.com/snakemake/snakemake-executor-plugin-slurm/issues


[typescript/vtsls] No text to be displayed

Describe the bug
I get the "There is no text to be displayed" message when using vtsls
To Reproduce
Steps to reproduce the behavior:

Use vtsls for typescript (lazyvim lang.typescript extra)
Hover on any symbol.

Expected behavior
Expected type information
Screenshots

Additional context
https://github.com/Jomik/dotfiles/blob/c7c7b8df498a27702f0ed1a899e27d445710978c/.config/nvim/lua/plugins/editor.lua#L6
https://github.com/Jomik/dotfiles/blob/c7c7b8df498a27702f0ed1a899e27d445710978c/.config/nvim/lua/plugins/lang/typescript.lua#L2

Hi can you share a code sample? And the output you get from the vim.lsp.buf.hover() method?

Hi can you share a code sample? And the output you get from the vim.lsp.buf.hover() method?

As expected it shows the type. Any javascript or typescript file has this issue.

So a minimal reproduction would be something like
const foo = "foo";

It will not show the hover on foo.

I have just pushed a fix for this issue. Can you confirm that it works also for you?

This seems to work, yes. Thank you 😄


gRPC client connection

Codecov Report

Merging #19 into master will increase coverage by 0.48%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
+ Coverage   55.28%   55.77%   +0.48%
==========================================
  Files          22       22
  Lines         615      615
==========================================
+ Hits          340      343       +3
+ Misses        229      225       -4
- Partials       46       47       +1

Impacted Files
Coverage Δ

net/connUDP.go
59.16% <0%> (-0.84%)
:arrow_down:

net/udp.go
51.51% <0%> (+6.06%)
:arrow_up:

net/isTemporary.go
33.33% <0%> (+33.33%)
:arrow_up:

Continue to review full report at Codecov.

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


Default index.html navbar and button being overlapped

Forgive me i'm still a novice but can't seem to find the answer anywhere. After a fresh install of WSK (no errors) both chrome and IE11 are displaying part of the navbar and the pink button being overlapped by something.
I've fiddled with some z-index values but can't seem to find a fix for any of the different media queries.

I downloaded the material.indigo-pink.min.css, placed it under app/styles/ and change the index.html from
<link rel="stylesheet" href="https://storage.googleapis.com/code.getmdl.io/1.0.6/material.indigo-pink.min.css">

to
<link rel="stylesheet" href="styles/material.indigo-pink.min.css">

The layout are in correct places.
Before:

After:

:confused:

the fix worked perfectly for me, but i can't figure out why either

Same issue here (total noob here, by the way), but I hesitate to try the fix mentioned above, as it does not seem to have the correct layout, though it seems a lot better than what we've all seen out of the box.  I'm getting exactly what matthardwick is showing in his original post.  Funny thing is when I open the file without it being served via gulp, it appears like this (which I assume to be proper layout, but could be wrong):

I'm really dying to get this to behave as intended, and want to avoid hacking it into submission (to avoid odd behavior down the road) if I can.  Anyone have any other ideas?  Thanks in advance.

Hey folks. If the issue here is strictly layout related, can you file a bug against http://github.com/google/material-design-lite (Material Design Lite, our sister project, houses the original layout). If it's build process related, the bug would be for WSK.

Hey, I think it is not strictly a layout problem. Serving the files of the
web starter kit from the app folder with python -m SimpleHTTPServer 3000
will give the correct layout (as is shown for example on the mdl website
under templates, see https://getmdl.io/templates/index.html). Serving the
files with gulp serve from the root folder of the project (web-starter-kit
in my case) will give a clipped layout. It seems therefore that the build
proces is involved in this issue, but I don't know how. I think a small
screen scrolling tab-bar is incorrectly added in the build proces. I would
like to find out what is going on too, but I am not familiar with gulp. Any
insights appreciated.
Regards, Louis
Op za 18 jun. 2016 om 20:11 schreef Addy Osmani<EMAIL_ADDRESS>
Hey folks. If the issue here is strictly layout related, can you file a
bug against http://github.com/google/material-design-lite
https://github.com/google/material-design-lite (Material Design Lite,
our sister project, houses the original layout). If it's build process
related, the bug would be for WSK.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/web-starter-kit/issues/871#issuecomment-226956679,
or mute the thread
https://github.com/notifications/unsubscribe/AMG3ymYuUOtEvNs8nadeiHIWx0f2q-cYks5qNDTXgaJpZM4I1rv0
.

--
Met vriendelijke groeten, Louis Chaillet

Thanks, addyosamani, for your input, but I am not sure it's a bug necessarily.  I used to work QA for a game company, and know how unwelcome bugs that are not actually bugs are.  :)  I don't know if it's a hint or not, but when I view the CSS output between the gulp served page and the un-served one that I simply open from the directory there are definitely differences:

for instance, if I toggle .mdl-layout__tab-bar-button's display property to "none" (from "inline block), which is apparently what is happening via an override coming from main.css (33) on the unserved file, the menu container appears to reach both sides.  The served document does not appear to be picking up the rule that produces this override on main.css, though the font-family is being grabbed from the same file.  I hope this helps narrow it down, and if it is a bug, I'll try to post it to the relevant forum.  Many thanks again!

I think this problem is resolved with #876.

I think Kennith and I are still having the problem.  He pulled the changed branch from #876 and I made the changes by manually deleting the lines in question locally.  I think there may be a good chance that we are both missing something like clearing the cache or something.  I am a super noob, and don't even know how to pull branches yet.  For now, I'm undoing my local hackery.

I'm not sure what else I had been missing, but downloading the latest version of Web Starter Kit and overwriting everything fixed this issue for me.  https://github.com/google/web-starter-kit/releases/tag/v0.6.4


unable to scan deposit qr code from muun wallet

Maybe this is a muun issue? (I only tried muun and strike, and strike works)
When scanning the qr code I see this error

This might be a duplicate of #145  which is fixed by #146.
I wonder about the escaped colon (%A3), though - that is displayed differently in the referenced issue, which was reportedly also done with Muun.
If it is able to scan the following codes successfully (payment to genesis block coinbase address), then it should be fixed in the next release.
bitcoin:1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa

bitcoin:1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa?amount=50.00000000

Can someone don't trust and verify?

Yeah I wasn't sure about the %A3
Both of those qr codes are able to be scanned by muun for me


Customizable product.

Some users and leads require the feature of a customizable pruduct. A product where buyers could enter with texts, and files to customize what they're buying. This is a example of how it should work with texts, and here we can see one with files.

Duplicado, ainda dependente da implementação no admin primeiro:
https://github.com/ecomplus/storefront/issues/225


Feature/landcover classification

This will merge all the XGBoost and UNet classification code into master. If there is any final tidying up to do with this, best to do it in this PR.

ah ok, so I think I just need to go in and change my files, will do that now.


'flow' vs 'grant'

Just out of curiosity. Within security definitions, for schemes of "oauth2" type ... why the spec uses the term "flow" (as opposed to "grant")?
"petstore_auth": {
    "type": "oauth2",
    "authorizationUrl": "http://swagger.io/api/oauth/dialog",
    "flow": "implicit",
    "scopes": {
      "write:pets": "modify pets in your account",
      "read:pets": "read your pets"
    }
  }

Just a different term for the same thing. From http://oauth.net/2 (highlighting not in origin):

OAuth 2.0 focuses on client developer simplicity while providing specific authorization flows for web applications, desktop applications, mobile phones, and living room devices.

Thanks Ron.

Are we good to close this or do you have followup questions?

We are good thanks.


Login funciton

Hello, I try to use your login funtion ddp.call("login" ....
final HashMap auth = new HashMap();
auth.put("email", "myMailAdress");
auth.put("password", "myMailPassword");
Object[] methodArgs = new Object[1];
methodArgs[0] = auth;
But I have an error :
Server log :8ball:
Exception while invoking method 'login' Error: Match error: Unknown key in field email
I20150317-18:10:55.115(1)? at packages/check/match.js:299:1
I20150317-18:10:55.115(1)? at Function..each..forEach (packages/underscore/underscore.js:113:1)
I20150317-18:10:55.115(1)? at checkSubtree (packages/check/match.js:290:1)
I20150317-18:10:55.115(1)? at check (packages/check/match.js:32:1)
I20150317-18:10:55.115(1)? at [object Object].Accounts.registerLoginHandler.check.user (packages/accounts-password/password_server.js:144:1)
I20150317-18:10:55.115(1)? at packages/accounts-base/accounts_server.js:383:1
I20150317-18:10:55.115(1)? at tryLoginMethod (packages/accounts-base/accounts_server.js:186:1)
I20150317-18:10:55.115(1)? at runLoginHandlers (packages/accounts-base/accounts_server.js:380:1)
I20150317-18:10:55.115(1)? at [object Object].Meteor.methods.login (packages/accounts-base/accounts_server.js:434:1)
I20150317-18:10:55.115(1)? at maybeAuditArgumentChecks (packages/ddp/livedata_server.js:1599:1)
I20150317-18:10:55.116(1)? Sanitized and reported to the client as: Match failed [400]
Can you help me ?

Hi,
I am going to assume you are using the in built Meteor's login function.
If that is so, then the below structure should work for you (as it did for me):
    Object[] params = new Object[1];
	Map<String, Object> userInformation = new LinkedHashMap<String, Object>();
	userInformation.put("password", password);
	Map<String, Object> userUsername = new HashMap<String, Object>();
	userUsername.put("username", username);
	userInformation.put("user", userUsername);

	params[0] = userInformation;

	ddpClient.call("login", params, yourListenerHere);

//Mine is "ddpClient.call("login", params, new LoginListener());"

Oh. Do note kenyee's code does not handle the subscription received message. I am working on building up his this code base to handle that (Including reconnection as well). Its here
https://github.com/tlkiong/java-ddp-client

tlkiong: please do a pull request when you've added that and I'll merge it in...not sure what you mean by the subscription received msg because the android ddp example handles subscriptions w/o problems.
duxmaxime: the unit tests have examples of all the functionality...you should be looking them if you get stuck and if you do get stuck, put it in a unit test for me to look at.

Well, I am not sure what went wrong.
But when I subscribed to a meteor server using this current code, I do not receive any reply on the "onResult" in the listener.
On further checking, the messaged type that was passed in is "changed" instead of "ready". So, I am adding that in. plus reconnection is not being handled

When you call subscribe, that method returns a subscription ID.  You can use this to unsubscribe.  I've updated the code to show this.

For login, look at the android-ddp-client library for an example.


Remove deprecated warning message in lightgbm

Motivation

Resolve https://github.com/optuna/optuna-examples/issues/62
Description of the changes

Use callback instead of deprecated arguments verbose_eval and early_stopping_rounds
Specify lightgbm version because the callbacks have been introduced since v3.3.0.

Note that a few example codes still show warning messages because the default value of verbose_eval and early_stopping_rounds of optuna's lightgbm.train and lightgbm.cv are inconsistent with the lightgbm's ones. But https://github.com/optuna/optuna/pull/3014 will resolve this inconsistency. So a reviewer of this PR might need to wait until https://github.com/optuna/optuna/pull/3014 is merged into the master branch of optuna.

Thank you for your PR. I'll review this after https://github.com/optuna/optuna/pull/3014.


Connect AWS IoT MQTT broker using JWT that have certificate chain

Hi, I have a requirement such that an application needs to connect AWS IoT MQTT broker using bearer token (JWT) that have certificate chain in it(downloaded from AWS IoT Console).
Any help to this area is highly appreciated. I am a java candidate so if possible please provide input/example using java sdk.
Thanks
snshukla

Have you read the documentation on the custom authorizer workflow?
https://docs.aws.amazon.com/iot/latest/developerguide/custom-auth.html

Hi @JonathanHenson ,
Thanks for your input.
Yes, I have read this document but as I am new to custom authorizer so facing bit difficult to implement this in my application.
I know about lamda function but need help about java code example that tries to connect AWS IoT which uses custom auth and execute my lamda function to authorize the connect request.
Only way to connect AWS IoT broker that I know are as below:

Using certificates.
Using accessKeys.

But dont know how custom auth will pe applied to connect AWS IoT broker


uri column not populated when using split mode+non-sync queue connection

When using file for collection config and eloquent for tree+entries (I've seen it referenced as "split mode" in other issues), we've come across a bit of a weird bug. In combination with using something else than sync for queue connection (I've tested with both redis and database), the uri column does not get populated on the inital save when creating an entry. We first noticed it recently after upgrading from 1.x, and kept getting 404s for new entries.
To reproduce I did this:

Configure Redis locally
Fresh install of Statamic 4.20.0
In .env-file, set QUEUE_CONNECTION=redis
Install eloquent-driver 2.6.1, following the instructions for incremental IDs
in config/statamic/eloquent-driver.php, set collections.driver to file
Configure a collection as orderable (full yaml below)
Create a new entry, mark as published and Save & Publish
Try to access the entry on the site, it returns a 404.

Collection config pagez.yaml:
title: Pagez
template: default
layout: layout
revisions: false
route: '{parent_uri}/{slug}'
sort_dir: asc
date_behavior:
  past: public
  future: private
preview_targets:
  -
    label: Entry
    url: '{permalink}'
    refresh: true
structure:
  root: true

Sidenote: I did have to create the tree manually in the database in order to avoid the bug described in #198, but that seems unrelated to this bug.
Also, it does not seem to occur when using revisions.
We're having trouble pinpointing where this issue might be occuring, so any help on this is greatly appreciated. Thanks in advance, and thanks for all the great work being done with this package.

Interesting.
So uri is blank on initial save, but filled on subsequent saves? The uri is filled by https://github.com/statamic/cms/blob/4.x/src/Entries/UpdateStructuredEntryUris.php
I think we need to implement updateEntryUris() on the eloquent Collection repository, similar to how we have updateEntryOrder.
Given that direction, is that something you could work on as a pull request?

@ryanmitchell Thanks for replying. Correct, uri does indeed fill on any subsequent save.
Well, it's already there, right? That's kind of what's confusing me, since I don't really see how that method could stop working just because another queue connection is used.
As this is a problem our client's licensed Pro site, naturally they'd very much appreciate any support we can get resolving this as it seems to be an issue more or less related to core Statamic functionality. Once I have some spare time though, I'll try to help out and do a little more digging.

So it is, my mistake.
That makes me wonder if the event is firing before the entry->save() happens, so the entry isnt found for its uri to be updated.

Interesting! I tested your core PR branch, and there was no difference, however the bindings seem to work properly at least. However, the more I think about it, I kind of wonder how it ever worked in the first place? I mean, updateEntryUris is a member of Collection. And if I'm in split mode, I'm using Statamic\Entries\Collection, i.e the Stache original. That will, in turn, call Statamic\Stache\Stores::updateEntryUris, correct? I'm nowhere near the Eloquent entries in that case.
Wouldn't I need my own CollectionRepository class that essentially only overrides updateEntryUris, but does everything else as-is when I'm in split mode? Kind of how the original version of this package worked back in the day? Still, I realize I may not understand all of the ins and outs of this - clearly, it works somehow when using sync queues.

The core PR is only half of what is required. I need to also make a PR here when it merges to bind the eloquent tree classes. I think it will work then.

I've opened the eloquent PR here - https://github.com/statamic/eloquent-driver/pull/203 - let me know if this helps with your issue.

Alright, so I've done some more testing with core 4.21.0 and the (now merged) PR #203 . Using the same test case, the same issue persists; I have to save the entry an extra time in order for the uri column to populate.
Continuing on my "theory" from my earlier comment above, I created my own CollectionRepository, which extends the original stache one and only overrides the updateEntryUris method (stolen from earlier versions of eloquent-driver):
public function updateEntryUris($collection, $ids = null)
    {
        $query = $collection->queryEntries();

        if ($ids) {
            $query->whereIn('id', $ids);
        }

        $query->get()->each(function ($entry) {
            app('statamic.eloquent.entries.model')::find($entry->id())->update(['uri' => $entry->uri()]);
        });
    }

Now, the issue is gone! Again, as far as I can tell, something along those lines is needed in split mode, since the CollectionRepository included in eloquent-driver is entirely bypassed in that case. Ultimately, I suppose it's an issue of separation of concerns - eloquent entries are currently dependent on a member of CollectionRepository to work properly.
Question is how to solve it in an unobtrusive way? I mean, you could override the CollectionRepository silently within eloquent-driver if split mode is detected, but that seems a bit aggressive. Maybe introduce a third driver option?

Thanks for the time on this @andreasbohman.
The strange thing is that $collection->queryEntries() queries through the Entry facade:
https://github.com/statamic/cms/blob/1c287bc5dd89169b19cc550bf2fd94f8aab25969/src/Entries/Collection.php#L263-L266
So it should be getting Eloquent entries in your case, not Stache entries.
Are you able to set up a quick sample repo showing the issue so I can try and dig into what I've missed when allowing splitting repositories?

Right, $collection->queryEntries() is working correctly, no problem there. But look here:
https://github.com/statamic/cms/blob/1c287bc5dd89169b19cc550bf2fd94f8aab25969/src/Entries/UpdateStructuredEntryUris.php#L33
The collection instance will still be the stache one, since we're using file driver for collections in my case. Since updateEntryUris is a member of CollectionRepository, the following method is the one that will be called in the end, no?
https://github.com/statamic/cms/blob/1c287bc5dd89169b19cc550bf2fd94f8aab25969/src/Stache/Stores/CollectionsStore.php#L82
I've set this up so that you can try for yourself: https://github.com/andreasbohman/eloquent-uri-issue-demo
Note that you have to have to use Redis or Mysql for the queue connection. You can toggle my fix on and off by setting config collection.driver to hybrid.

Yep you've followed the rabbit trail all the way to the bottom. Good work. Sorry for adding confusion.
@jasonvarga any thoughts on this? updateEntryUris() may belong better on the CollectionTree more than the Collection now?

Ah great, glad you got it solved!


Custom rule validation with params working incorrect

Hi guys,
https://codesandbox.io/s/o7x41x8x76?module=%2FFieldLevelValidationForm.js
This is hard to understand.
I do not know how to explain.
const minValue = min => value =>
  value && value < min ? `Must be at least ${min}` : undefined
const minValue18 = minValue(18)

// It works
<Field name="age" type="number"
        component={renderField} label="Age(it works)"
        validate={[required, minValue18]}
/>

// Working incorrect
<Field name="age2" type="number"
        component={renderField} label="Age(working incorrect)"
        validate={[required, minValue(18)]}
/>

@nghiepit I had the same issue, I think it because minValue(18) !== minValue(18), I mean, each time you call minValue(18) it returns an instance of a function, but it is not the same instance, meanwhile minValue18 is always the same instance.
So something is happening with redux-form that it detects that the validation is changing and it is unmounting the field each time the validation function changes...
I fix it by adding destroyOnUnmount: false to my reduxForm configuration.

I think this https://github.com/erikras/redux-form/issues/3566 is related to this issue.

Thanks, @gabrielperales destroyOnUnmount: false it works.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1143 ms

Resolved: Bofrost.at performance has improved in a941fbb after 19 minutes.


CISA TLP definition updates

CISA has new guidance on TLP markings and modifications... the stix2(.1) common.py configs do not reflect this more recent guidance...
https://www.cisa.gov/news-events/news/traffic-light-protocol-tlp-definitions-and-usage
TLP: WHITE --> TLP: CLEAR
+TLP: AMBER+STRICT
These markings should be included in common config as they're officially part of the guidance now and already in use and will be in use going forward.

@chadillac,
An extension has been implemented to support TLP2 - see:
https://github.com/oasis-open/cti-stix-common-objects/tree/main/extension-definition-specifications/tlp-2.0
If this is satisfactory for you needs, please close this issue.

What's the decision making process around adding a dependency to that repo rather than simply adding it to the already-embedded list of acceptable TLPs here?
https://github.com/oasis-open/cti-python-stix2/blob/master/stix2/v21/common.py#L292


Browser compatibility

Fixes #20
Introduced a make end point which will automatically make a browser compatible JS dist under the browser folder by the name, bundle.js.

@PVince81 ,
Is this okay?

I suggest to not check in any generated files. Add them to .gitignore.
Let me people generate the bundles with make if they use the git version.
Later on you'll provide these precompiled bundles as release tarballs.

otherwise this looks fine, I didn't test it 👍


Add support for Datasource Custom query parameters (customQueryParame…

Description
Grafana has an option to define Custom query parameters on an Prometheus data source.
Basically, it means that this query parameter add to the Promtheus or Thanos queries.
The query parameter example is required if OpenShift's user-defined monitoring is used as Prometheus datasource.
The OpenShift thanos-querier (https://thanos-querier.openshift-monitoring.svc.cluster.local:9092) needed the URL parameter "namespace=yournamespace" in the query as parameter.
The option on the Prometheus datasource is called "Custom query parameters" (customQueryParameters) in the section "Misc":

The proposed change adds support for set the Custom query parameters via the GrafanaDatasource CRD.
Relevant issues/tickets
PR https://github.com/integr8ly/grafana-operator/issues/309
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist

[ ] This change requires a documentation update
I've added an example below, you might want to include it in the documentation. But not all option are documented

[x] I have added a test case that will be used to verify my changes

[x] Verified independently on a cluster by reviewer

Verification steps

Deploy a data source (GrafanaDatasource) with the following specification:

apiVersion: integreatly.org/v1alpha1
kind: GrafanaDataSource
metadata:
  name: test-grafanadatasource
spec:
  name: prometheus.yaml
  datasources:
    - name: Prometheus
      type: prometheus
      access: proxy
      url: https://thanos-querier.openshift-monitoring.svc.cluster.local:9092
      isDefault: true
      version: 1
      editable: true
      jsonData:
        tlsSkipVerify: true
        customQueryParameters: "namespace=ns1"

In Grafana go to the data source settings (Configuration -> Datasources -> Prometheus)
The Custom query parameters option should be set to "namespace=ns1".

/assign @pb82

/lgtm


updated to pandas_datareader

warning msg was annoying

Thanks! Merged with https://github.com/quantopian/pyfolio/commit/7589050d7dc8df44a89c6e72e96d24b2ca237d82.


brew packaging for Linux, please

It'd be a very nice to have alternative as more and more projects offer this option, especially in the Dev and Ops fields.
Flatpack may be nice for a more Desktopy use case, and fighting with deb/rpm packaging for IT pro workstations when you have options like Homebrew start to seem like a waste of resources, even for an old beard like me.

Hi @silopolis , thanks for the interest in contour we are planning to release 0.4 soon,  at the moment @christianparpart  fixing packaging for macos and once this is done we can look into packaging for brew for both platforms

Actually, brew is not maintained by us. Somebody is kind enough to keep it updated on brew. But I am positive that we can get it there for Linux as well (as soon as 0.4.0 is out of the house)


Extraneous Commas

Using the code included http://pastebin.com/rfbsNL4B
with the password "House" yields
"Add another word or two. Uncommon words are better.,Capitalization doesn't help very much"
The comma after "better." probably shouldn't be there. The same result occurs when I use the latest zxcvbn.js.

 New code:
`          if (result.feedback.warning){
store += "" + result.feedback.warning + "";}
      for (sug in result.feedback.suggestions){
        store += "<div>" + result.feedback.suggestions[sug] + "</div>";}`


List basic metadata categories in left sidebar on datasets view

Approach

Update buildCategoryViews function to handle conversion between filter model and display model.
Add display config to handle special cases such as is_primary_data.

Notes

Basic categories are listed - assay, cell_type, disease, is_primary_data, organism, sex, tissue.
Basic filter containing category values is displayed on click of category.
is_primary_data is displayed as "Data Source", with values true display as "primary" and false as "composed".
Categories that are N/A (that is, all values have a count of 0) are visible but not selectable (see mock).

Functionality included in #1614, will be integrated in #1604.