Can't build the SDK

Hi all,
I have seen that the issue was opened twice #16 and #48. But still I can't get the SDK working. I have cloned the repo successfully but there's something with the shell command. All I am having is 10 errors and managed to get them 9.
Here's are the issues:
PhaseScriptExecution Run\ Script /Users/ashraftawfeeq/Library/Developer/Xcode/DerivedData/SDKLauncher-iOS-fddhuibvzrciskeriqrbggnvbcbl/Build/Intermediates/ePub3.build/Debug-iphoneos/ePub3-iOS.build/Script-AB5D1071172AD540001D3C95.sh
cd "/Users/ashraftawfeeq/Desktop/Reader Samples/Readium/readium-sdk/Platform/Apple"
/bin/sh -c /Users/ashraftawfeeq/Library/Developer/Xcode/DerivedData/SDKLauncher-iOS-fddhuibvzrciskeriqrbggnvbcbl/Build/Intermediates/ePub3.build/Debug-iphoneos/ePub3-iOS.build/Script-AB5D1071172AD540001D3C95.sh
MakeHeaders.sh: line 23: local: can only be used in a function
mkdir: : No such file or directory
MakeHeaders.sh: line 26: typeset: -A: invalid option
typeset: usage: typeset [-afFirtx] [-p] name[=value] ...
ls: ePub3/ThirdParty/utf8-cpp/include/: No such file or directory
ls: ePub3/ThirdParty/google-url/base/.h: No such file or directory
ls: ePub3/ThirdParty/google-url/src/.h: No such file or directory
ls: ePub3/ThirdParty/libzip/.h: No such file or directory
ls: ePub3/xml/**/.h: No such file or directory
MakeHeaders.sh: line 30: ePub3/xml: division by 0 (error token is "l")
ls: ePub3/utilities/.h: No such file or directory
ls: ePub3/utilities/.inl: No such file or directory
MakeHeaders.sh: line 31: ePub3/utilities: division by 0 (error token is "s")
ls: ePub3/.h: No such file or directory
MakeHeaders.sh: line 46: ${(k)groups}: bad substitution

zsh missing? See https://github.com/readium/readium-sdk/issues/47


Feature: gitlab support

Pre-submission checks

[X] I am not reporting a bug (crash, false positive/negative, etc). These must be filed via the bug report template.
[X] I have looked through the open issues for a duplicate request.

What's the problem this feature will solve?
Is there any interest in supporting gitlab as well?
If so, besides the yaml layout, what would it take?
Describe the solution you'd like
zizmor features for gitlab CI files
Additional context
No response

Thanks for filing an issue @dgutson!

Is there any interest in supporting gitlab as well?

Yes, although it's very preliminary/abstract interest 🙂. I've thought a bit about this, but it's non-trivial:

We'd need an equivalent of github-action-models for GitLab's CI models. Someone would probably need to hand-write this to ensure that the models are of reasonable quality.
We'd need to figure out a way to shoehorn GitLab into the existing audit structure, or create a parallel structure just for GitLab.
We'd need to figure out what the appropriate "discovery" flow is (retain GitHub only by default and require --gitlab or similar for GitLab? Discover files for both?)

In addition to these technical elements, this would also require someone to step up and volunteer to be the technical expert on GitLab's CI/CD -- I'm generally familiar with it, but someone who knows it much better than I do would ideally contribute review and audit development time.
All in all, I would be happy to plan for this feature, but I think it's too big for the current 1.0 roadmap. If people would like to continue discussing it, it's something we could think about for a 2.0 roadmap.

Per above, I'm going to move this to a discussion. Thanks again @dgutson!


📃: Adding Breakout game

🔴 Title : Breakout Game
🔴 Tech stack : html , css , js
🔴 Objective : The objective is to break all the bricks by bouncing a ball off a paddle while preventing the ball from falling off the screen.
🔴 Summary : Breakout is a classic arcade game where the player controls a paddle to bounce a ball, aiming to destroy all the bricks at the top of the screen. The game becomes more challenging as the ball increases in speed and bricks become harder to hit. This project implements the game using JavaScript for game physics, event listeners for paddle control, and dynamic rendering of bricks, offering an enjoyable experience of one of the most iconic arcade games.
📸 Screenshots

✅ Details to Include When Taking the Issue:
Name : Abhijit Motekar
Participant Role (Specify the Open Source Program name, e.g., GSSOC, Hacktoberfest, etc.) : gssoc-ext Hacktoberfest

Happy Contributing! 🚀
Wishing you all the best on your open source journey. Enjoy! 😎

already present in project


Update snarkVM and other deps

This time the update is very simple and limited to TOML files and the LOCK.
This PR closes all the pending dependabot items.

All the stable jobs pass, and the nightly clippy is transient.

Updated Cargo.lock again.


winX and winY additions are wrongly exchanged

Hi, I think this https://github.com/tranbathanhtung/usePosition/blob/master/index.js#L25 should be
return {
  top: rect.top + winY,
  left: rect.left + winX,
};

+1


Support for pattern matching across fields

What is your idea?
This has come up in several user discussions, especially around change data capture (CDC) that is often used with EventBridge Pipes and EventBridge Kafka Sink Connector, so posting here as a feature request.
Currently it is not possible to pattern match across fields in a JSON object e.g., a DynamoDB stream event (snippet) where I want to filter events that have a common (or different) value across fields, such as the value of "S" in "NewImage" and "OldImage" below.
{
  "NewImage" : {
    "Status" : {
      "S" : "OK"
    }
  },
  "OldImage": {
    "Status": {
      "S": "ERROR"
    }
  }
}

Another (non-CDC) example:
{
  "detail": {
    "brand": "Ford",
    "model": "Focus",
    "colour": "Blue",
    "interior-colour": "Black"
  }
}

Suggested pattern:
{
  "detail": {
    "interior-colour": [ { "anything-but": "$.detail.colour" } ]
  }
}

Would you be willing to make the change?
No
Additional context
Add any other context (such as images, docs, posts) about the idea here.

One follow up thought on this issue; if we were to support more payload formats (like avro or protobuf), then using $. as a indicator that we're using jsonpath would be confusing. We can work around  this by following matcher like pattern. For example,  [ {  'jsonpath' : '$.detail.colour' } ].

I agree with Rishi on syntax. I worry about implementation.  Right?

I agree with Rishi on syntax.  Right?

That is definitely a concern, so there might be limits we have to impose around e.g., the number of such comparisons and path depth in a rule

Wildcard is a good reference. Depending on how many you use, the performance degrades but there's a way to understand the worst-case complexity upfront via the evaluator. We could offer a similar solution or update the existing evaluator.
There's also some improvements we can make by trading off other dimensions. Take this rule
{
    "first": {
        "second": [{
            "jsonpath": "$.detail.colour"
        }]
    }
}

This can be recompiled to two sub-rules
{
    "$equal": [{
            "jsonpath": "$.detail.colour"
        },
        {
            "jsonpath": "$.first.second"
        }
    ]
}

and the perform computation similar to $or https://github.com/aws/event-ruler/blob/ac0b0d726f3579737e52ab524509c011989727fc/src/main/software/amazon/event/ruler/JsonRuleCompiler.java#L240 or by making both of these as terminal rules for a match https://github.com/aws/event-ruler/blob/1928acc8631f9e7561632d30a5f2d209d90c571e/src/main/software/amazon/event/ruler/ACTask.java#L61C1-L61C93.
There will always be some cost but if many folks have to build their own poor wrappers around ruler to support this, then its best to just include it in.

Something new on this?
This feature would be very helpful to decrease target concurrent calls, f.E. on the Lambda target behind an event rule


[Core] Optimize COW _copy_on_write and size methods

From this comment https://github.com/godotengine/godot/pull/89634#issuecomment-2003673508. This shows that at line 3177 of the asm code, the _copy_on_write method is called. Although this method usually causes several checks that are unlikely to occur and it will be a quick return. In order for the compiler to make optimizations, I added _FORCE_INLINE_, and if an unlikely condition occurs (rc > 1), then complex _copy method will be called. I made this method in order not to increase the size of the binary too much.
That is, methods such as ptrw, set, get_m, insert, resize call this method every time. Also, in combination with the size method, the condition _ptr == nullptr will most likely be called only once and will not be called in the body of the some loop.
As for optimizing size method, I only added unlikely, since it is unlikely that _ptr will be nullptr. Also, if I have already touched it, I have removed an unnecessary check by removing _get_size method. This has performance advantages only on the dev build, so why not?
Looking at the size of binaries on Windows, they have become smaller. I think MSVC does not optimize size method.

Closing this as the bottleneck is SafeNumeric, not a function call.


Stream gets closed with "DTS is not monotonically increasing"

Which version are you using?
v1.0.3-5-gc1cc320 (from #2289)
Which operating system are you using?

[x] Linux amd64 standard
[x] Linux amd64 Docker
[ ] Linux arm64 standard
[ ] Linux arm64 Docker
[ ] Linux arm7 standard
[ ] Linux arm7 Docker
[ ] Linux arm6 standard
[ ] Linux arm6 Docker
[ ] Windows amd64 standard
[ ] Windows amd64 Docker (WSL backend)
[x] macOS amd64 standard
[x] macOS amd64 Docker
[ ] Other (please describe)

Describe the issue
Stream is dropped after several seconds with "DTS is not monotonically increasing" error.
Describe how to replicate the issue

Start the server
Publish stream with RTMP push strategy
Read the stream using the same RTMP link, e.g. with FFMPEG
Wait for 20-30 seconds (sometimes less or more)
Stream is dropped with "Input/output error" from FFMPEG and "DTS is not monotonically increasing" on MediaMTX side

Did you attach the server logs?
Yes
2023/09/11 19:30:43 INF [RTMP] [conn <IP_ADDRESS>:44336] is reading from path 'stream/x09rc2-4', 2 tracks (H264, MPEG-4 Audio)
2023/09/11 19:30:52 INF [RTMP] [conn <IP_ADDRESS>:44336] closed (DTS is not monotonically increasing, was 1h22m41.79s, now is 1h22m41.79s)
2023/09/11 19:30:56 INF [RTMP] [conn <IP_ADDRESS>:55464] opened
2023/09/11 19:30:57 INF [RTMP] [conn <IP_ADDRESS>:55464] is reading from path 'stream/x09rc2-4', 2 tracks (H264, MPEG-4 Audio)
2023/09/11 19:30:57 INF [RTMP] [conn <IP_ADDRESS>:55464] closed (DTS is not monotonically increasing, was 1h22m46.56s, now is 1h22m46.56s)
2023/09/11 19:31:01 INF [RTMP] [conn <IP_ADDRESS>:39664] opened
2023/09/11 19:31:01 INF [RTMP] [conn <IP_ADDRESS>:39664] is reading from path 'stream/x09rc2-4', 2 tracks (H264, MPEG-4 Audio)
2023/09/11 19:31:16 INF [RTMP] [conn <IP_ADDRESS>:39664] closed (DTS is not monotonically increasing, was 1h23m5.46s, now is 1h23m5.46s)

Did you attach a network dump?
No

Update: this actually happened on specific camera and specific firmware version, so most likely not a bug. But as far as I know not monotonically increasing DTS is a common thing on streams and FFMPEG displays warnings but does not interrupt, so I thought there might be possible to send warnings here as well.

I'm also seeing this same issue, but only when I push a stream to the server using Apple's 'Hardware (H.264)' encoder in OBS on my Macbook. If I use 'Software (x264)', the stream works fine. If I change to 'Hardware (HEVC)', the stream remains connected, but viewing it results in no video. Could using a video encoder other than x264 be cause this issue for you also?

I've not been able to figure this out. I've tried to use a separate ffmpeg process to accept all incoming rtmp streams and convert to x264 so that MediaMTX can then deal with the stream, but I've not been able to set it up in a way that works for me. I run a project that accepts connections from a wide variety of streamers, and I need them to be able to use whichever video encoder works for them, instead of telling them to use one that this software supports. Therefore, I'll need to switch to a different streaming solution.

This is a duplicate of #1002. Anyway, it's useless to open this kind of threads without providing any network dump, making impossible to replicate the issue.


Invoked index module name

Signed-off-by: Owais Kazi<EMAIL_ADDRESS>Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@owaiskazi19 could you take a look why precommit is failing?


Use TEXT as type of license instead of VARCHAR(255)

Noticed this while looking at the repositories schema. In Postgres, the internal representation of VARCHAR(n) and TEXT are identical. Text has the nice advantage of not being limited to a fixed size.
Summary
Provide a brief overview of the changes and the issue being addressed.
Explain the rationale and any background necessary for understanding the changes.
List dependencies required by this change, if any.
Fixes #(related issue)
Change Type
Mark the type of change your PR introduces:

[ ] Bug fix (resolves an issue without affecting existing features)
[x] Feature (adds new functionality without breaking changes)
[ ] Breaking change (may impact existing functionalities or require documentation updates)
[ ] Documentation (updates or additions to documentation)
[ ] Refactoring or test improvements (no bug fixes or new functionality)

Testing
Outline how the changes were tested, including steps to reproduce and any relevant configurations.
Attach screenshots if helpful.
Review Checklist:

[x] Reviewed my own code for quality and clarity.
[ ] Added comments to complex or tricky code sections.
[ ] Updated any affected documentation.
[ ] Included tests that validate the fix or feature.
[ ] Checked that related changes are merged.

coverage: 48.335% (-0.01%) from 48.347%
when pulling 5b9976cc2c7fb52a701c317359265cda5096330e on remove-varchar-license-field
into 855db3d1e35107e1eecfea9711346880ab2435ed on main.


chore: build with keda-tools:1.22.5

Provide a description of what has been changed
This PR is to build keda container images with an updated version of keda-tools with latest version of Go to resolve CVE-2024-24790, CVE-2024-24789, and CVE-2024-24791. Related PR: https://github.com/kedacore/test-tools/pull/169
Also bumping github.com/Azure/azure-sdk-for-go/sdk/azidentity to resolve CVE-2024-35255.
Checklist

[x] Changelog has been updated and is aligned with our changelog requirements
[x] Commits are signed with Developer Certificate of Origin (DCO - learn more)

Fixes #

CVE-2024-24790
CVE-2024-24789
CVE-2024-24791
CVE-2024-35255

Relates to #
https://github.com/kedacore/test-tools/pull/169

I guess that we need to bump the user version too:

I'd say that it's a good moment to bump go version, don't you think @zroubalik ?

I guess that we need to bump the user version too:
I'd say that it's a good moment to bump go version, don't you think @zroubalik ?

I tested locally for both go 1.21 and go 1.22 set and it seemed to work fine either way.

You can check all the places to change here: https://github.com/kedacore/keda/pull/5734/files

Also, I think we should bump go version in the Devcontainer too, right?

Yeah, you can check all the places to change here: https://github.com/kedacore/keda/pull/5734/files

In the Devcontainer's Dockerfile, I had to change the way go modules were installed. Bumping to 1.22.5 gave me errors about running go get outside of a module. So I had to use go install instead.
Also, after looking through the Devcontainer files, there seems to be a bit of code that could use some cleanup. For instance, in the Dockerfile I see that it configures a non-root user vscode but runs as root (probably for Docker CLI). Also, might be able to leverage devcontainer features in the devcontainer.json file to load some of the tooling instead of baking them all into the container. I can create an issue for this and work on cleaning this up if that's okay.

I can create an issue for this and work on cleaning this up if that's okay

Yeah, let's do it

I can create an issue for this and work on cleaning this up if that's okay

Yeah, let's do it

Sounds good! Anything else I need to do for this particular pull request?

Revert the changes related with the devconainter to not break the CI and solve merge conflicts please.
@zroubalik , do you see any problem updating golang version for the release?

Merge conflict has been resolved 😁

Hi @JorTurFer,
Once this PR is merged, is it possible to cut a release for KEDA 2.14.1?

We plan to ship v2.15 next week and I'd like to include the golang bump. Is it enough? We don't plan any other release for v2.14

/run-e2e internal

/run-e2e azure


What effect do you want to convey the example about Simple-Non-Cache?

https://muzammilkm.github.io/jq-router/docs/simple-non-cache/index.html#/
Whether it's like VUE's keep-alive ?

I tested the input, but it was clear after the page switch.

Oh, I know . just not send get(),


dropout enabled during sampling!

Going through the code, I found that dropout layers aren't disabled during sampling. This certainly isn't expected behaviour.
After training, I manually set all the dropout layers p variable to 0, and the probability distributions for a given initiation sequence stopped changing. Without doing this, I'd get different results across runs.
This presumably also means that dropout isn't being disabled during validation.
Can anyone confirm that this is a bug? If it is, I can do a fix in LanguageModel.lua.

Setting the model to evaluate mode disables dropout, which is done both during validation and sampling:
https://github.com/jcjohnson/torch-rnn/blob/master/train.lua#L189
https://github.com/jcjohnson/torch-rnn/blob/master/sample.lua#L39
Getting different outputs across different runs when sampling is expected, since by default we are sampling from the probability distribution at each time step rather than just taking the argmax; there is randomness involved.

Also note that simply setting the dropout p variable to zero will give incorrect results, since nn.Dropout uses inverted dropout that requires scaling at test-time:
https://github.com/torch/nn/blob/master/Dropout.lua#L49

Thanks for the quick reply.
I added printing of the probability distribution into the LM:sample() function of LanguageModel.lua:
probs:div(torch.sum(probs))
print(probs)
next_char = torch.multinomial(probs, 1):view(1, 1)

When I sample a single character using sample.lua, like this:
th sample.lua -length 9 -start_text "How are " -checkpoint cv/Sentinel140_dropout_0.1_3_layers_256_rnn_33060.t7, I get a slightly different distribution for each run of the code. This is not influenced by sampling. (I also get a different character each time, as expected.)
When I do the same thing with a net trained without dropout, the distribution is the same across runs.
When I set the dropout p value to 0 manually, the results might not be correct, but they look good, and they're consistent.
And yes, the model:evaluate() is being called. Could this be a more fundamental flaw? Or am I doing something wrong?

Hmm, that's weird. I'll take another look.

The parent class of LanguageModel is nn.Module, which only sets self.train when calling evaluate()/train(). Since LanguageModel is essentially a container, you need to forward the call to self.net in order for it to propagate to the actual modules of the net.
Note that you don't need to do this for model:cuda/cl() since Module:type() does a recursive walk through all members in the "self" table for you.

Yep, that's the bug. Good catch!

I can confirm that!
By replacing model:evaluate() by model.net:evaluate() in sample.lua, the problem is resolved.
This should also be done in train.lua and eval.lua, to fix the issue during validation.

I implemented the fix suggested by @FBMachine in https://github.com/jcjohnson/torch-rnn/commit/b77a8b70435a901a1e85f86027a7c971ba76a518. Thanks for catching this!


Intellisense not working

Issue Type: Bug
In the October 2020 release, intellisense stops working when the file system changes (e.g. a new file is created, files are moved in the project, etc.).  I have to close Code and reopen it for intellisense to kick back in.
Additionally, when I add a new file, intellisense doesn't "run" on the new file. If I want intellisense running on the new file, I, again, have to close Code and reopen it.
VS Code version: Code 1.51.0 (fcac248b077b55bae4ba5bab613fd6e9156c2f0c, 2020-11-05T18:14:40.758Z)
OS version: Darwin x64 18.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
32.00GB (0.12GB free)

Process Argv
. --crash-reporter-id 503ddb96-1884-479b-8fd7-373a318dcb50

Screen Reader
no

VM
22%

Extensions (33)

Extension
Author (truncated)
Version

ascii-tree-generator
apr
1.2.4

github-markdown-preview
bie
0.0.2

markdown-checkbox
bie
0.1.3

markdown-emoji
bie
0.0.9

markdown-preview-github-styles
bie
0.1.6

markdown-yaml-preamble
bie
0.0.4

gitlens
eam
10.2.3

prettier-vscode
esb
5.7.1

vscode-todo-plus
fab
4.18.0

dotnet-test-explorer
for
0.7.4

github-actions
for
0.0.1

terraform
has
2.2.3

vscode-guid
hea
1.4.20

wordcounter
kir
2.3.0

git-graph
mhu
1.27.0

azure-pipelines
ms-
1.177.0

vscode-azureappservice
ms-
0.19.0

vscode-azurefunctions
ms-
1.0.0

vscode-cosmosdb
ms-
0.15.0

vscode-docker
ms-
1.7.0

csharp
ms-
1.23.5

vscode-dotnet-runtime
ms-
0.2.0

mssql
ms-
1.9.0

python
ms-
2020.10.332292344

azure-account
ms-
0.9.3

powershell
ms-
2020.6.0

vscode-typescript-tslint-plugin
ms-
1.2.3

azurerm-vscode-tools
msa
0.13.0

vscode-coverage-gutters
rya
2.6.0

code-settings-sync
Sha
3.4.3

vscode-scss-formatter
sib
2.0.2

code-spell-checker
str
1.9.2

vscode-icons
vsc
11.0.0

For additional info on environment, I'm writing a .NET Core app (Azure Fn) in C#.

Faced this issue as well. I'm working on an Angular app, which uses Typescript language features.
When I copied a file on the same directory, it could not resolve the aliased paths on the new file, while the old file was fine. Restarting did not seem to fix it, so I just rolled back to the previous version.

For additional info on environment, I'm writing a .NET Core app (Azure Fn) in C#.

Issue Type: Bug
In the October 2020 release, intellisense stops working when the file system changes (e.g. a new file is created, files are moved in the project, etc.). I have to close Code and reopen it for intellisense to kick back in.
Additionally, when I add a new file, intellisense doesn't "run" on the new file. If I want intellisense running on the new file, I, again, have to close Code and reopen it.
VS Code version: Code 1.51.0 (fcac248, 2020-11-05T18:14:40.758Z)
OS version: Darwin x64 18.7.0
System Info
Extensions (33)

Hey Joshua!,
Did you get this issue resolved? I am having the same problem and I can't find anything to resolve it

I have had a same issue.
Updating extension c# to 1.23.6-beta (from github) resolves it.


KM100 / RC300 installation fails with 'cannot find supported device'

Describe the bug
since 0.18.0dev5..7++ devices can't be found anymore
I tried to reinstall the integration multiple times with the allways the same result of 1 unknown device:
IVT
von Unknown
Firmware: 04.08.02
To Reproduce
Steps to reproduce the behavior:
hardware: Buderus GB192i with build-in KM100 with firmware: 4.08.02
try to install via IVT/HTTTP
Version

HA version: 2022.6.7
HA Bosch component version: 0.18.0a
Python Bosch HTTP client version: 0.18.0

** Debug SCAN **
bosch_scan_0.17.3.zip
Additional context
2022-07-05 11:45:46 DEBUG (MainThread) [custom_components.bosch] Checking connection to Bosch gateway as buderus-gb192i.local.
2022-07-05 11:45:46 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Sending GET request to /gateway/uuid
2022-07-05 11:45:46 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Response to GET request /gateway/uuid: {"id": "/gateway/uuid", "type": "stringValue", "writeable": 0, "recordable": 0, "value": "XX44304XX", "allowedValues": ["XX44304XX"]}
2022-07-05 11:45:46 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Sending GET request to /system/bus
2022-07-05 11:45:46 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Response to GET request /system/bus: {"id": "/system/bus", "type": "stringValue", "writeable": 0, "recordable": 0, "value": "EMS2_0", "allowedValues": ["No_Bus", "EMS1_0", "EMS2_0", "CAN"]}
2022-07-05 11:45:46 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Sending GET request to /gateway/versionFirmware
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Response to GET request /gateway/versionFirmware: {"id": "/gateway/versionFirmware", "type": "stringValue", "writeable": 0, "recordable": 0, "value": "04.08.02"}
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Sending GET request to /system/brand
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Response to GET request /system/brand: {"id": "/system/brand", "type": "stringValue", "writeable": 0, "recordable": 0, "value": "Buderus", "allowedValues": ["unknown", "Bosch", "Junkers", "Buderus", "Nefit", "Sieger", "Tata", "Dakon", "Elm", "Boulter", "Vulcano", "Worcester", "British Gas", "IVT", "Geminox", "Neckar", "Zeus", "Milton"]}
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Sending GET request to /system/info
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Response to GET request /system/info: {"id": "/system/info", "type": "systeminfo", "recordable": 0, "writeable": 0, "values": [{"Tok": "8", "Id": "195", "Ver": "03.07", "No": "303537303137343030303130303837333739303834393000000000"}, {"Tok": "16", "Id": "0", "Ver": "NF00.00", "No": ""}, {"Tok": "32", "Id": "160", "Ver": "NF24.05", "No": "323533303137343030313236383737333831313031313400FFFFFF"}, {"Tok": "48", "Id": "164", "Ver": "NF25.06", "No": "323533303137343030303437313737333831313031313500FFFFFF"}, {"Tok": "9", "Id": "224", "Ver": "NF35.06", "No": "333135343336383332323130363037303030303030323838373337"}]}
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Sending GET request to /system/systemType
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Response to GET request /system/systemType: {"id": "/system/systemType", "type": "stringValue", "writeable": 0, "recordable": 0, "value": "NSC_ICOM_GATEWAY", "allowedValues": ["NSC_ICOM_GATEWAY"]}
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Sending GET request to /gateway/DateTime
2022-07-05 11:45:47 DEBUG (MainThread) [bosch_thermostat_client.connectors.http] Response to GET request /gateway/DateTime: {"id": "/gateway/DateTime", "type": "stringValue", "writeable": 1, "recordable": 0, "value": "2022-07-05T11:44:19"}
2022-07-05 11:45:47 ERROR (MainThread) [bosch_thermostat_client.gateway.ivt] I cannot find supported device. Your devices: [{"Tok": "8", "Id": "195", "Ver": "03.07", "No": "303537303137343030303130303837333739303834393000000000"}, {"Tok": "16", "Id": "0", "Ver": "NF00.00", "No": ""}, {"Tok": "32", "Id": "160", "Ver": "NF24.05", "No": "323533303137343030313236383737333831313031313400FFFFFF"}, {"Tok": "48", "Id": "164", "Ver": "NF25.06", "No": "323533303137343030303437313737333831313031313500FFFFFF"}, {"Tok": "9", "Id": "224", "Ver": "NF35.06", "No": "333135343336383332323130363037303030303030323838373337"}]
2022-07-05 11:45:47 ERROR (MainThread) [custom_components.bosch] Your device is unknown null
2022-07-05 11:45:47 DEBUG (MainThread) [custom_components.bosch] Bosch BUS detected: EMS
2022-07-05 11:45:47 INFO (MainThread) [custom_components.bosch] Bosch initialized.
2022-07-05 11:45:47 DEBUG (MainThread) [custom_components.bosch] Registering debug services.
2022-07-05 11:45:47 DEBUG (MainThread) [custom_components.bosch] Bosch component registered with platforms [].

maybe it works with older version because of a fallback to RC200_RC300 with an unknown system/info id?
Maybe I can fix it here?
https://github.com/bosch-thermostat/bosch-thermostat-client-python/blob/dev/bosch_thermostat_client/db/db_IVT.json
    "195": {
      "value": "RC300",
      "name": "RC300/RC310/Buderus Logaplus",
      "type": "RC300_RC200"
    },

hi, there was no fallback function ever.
Is it still working with 0.17.3?
Because for me it seems something got disconnected in your installation.
195 is a boiler only, 164 is solar module, 224 is wall controller, 160 is a mixer.
There is no km module.
Anyway you don't have dhwCircuits and heatingCircuits, so how do you control your installation?

your right, 0.17.3 doesn't work anymore too. The local controller panel works perfect and all EMS systems are registered but the official Buderus app can't change anything related to dhwCircuits, heatingCircuits. All visualization are still there (Buderus app, iobroker).
I'm afraid the KM100 needs a factory reset or it's killed by to many clients/requests.

ok, there is not reset function for KM100 but reset and change the private password via Buderus APP worked for me. Now the raw scan also contains ID=158
It was just confusing to still see all data but controlling was out-of-order. thanks for your time


Allow to specify target folder when installing assets

Closes https://github.com/godotengine/godot-proposals/issues/554 with a user-facing solution. We can allow to pre-populate this new property from some asset configuration file in the future, but it should be good enough for now (you can just tell users where to extract your files in the instruction, if that matters).
I've rearranged some things and split the tree in two. On the left we show the contents of the asset archive, intact. On the right we show the end result of the installation/extraction.

The code is a bit messy, so feel free to tell me I've made some bad mistakes 🙃 For some reason I'm having a bit of trouble with it today, and juggling two trees, remappings, and the installation itself in an efficient manner proved to me a confusing challenge. But I think I got it in order and after a few tests I don't see any immediate issues. I also fixed a couple of existing mistakes with caches not being cleaned up properly or methods being called in a wrong place. So it should overall be a bit better now.
Here's a bit of a walkthrough:
https://github.com/godotengine/godot/assets/11782833/c1ec595f-1b78-4639-a024-6aadfc7a1fac

I'm not a fan of the default folder being at the root with the name being the asset name with a long UUID at the end. I would prefer if the asset path was something like addons/something. Maybe this could be specified on the asset library, or maybe it can be detected (if the asset has addons/ in it, extract at the root to keep the folder structure as-is, if not, extract into addons/something).

I'm not a fan of the default folder being at the root with the name being the asset name with a long UUID at the end.

That's the contents of the archive generated by GitHub. That's not what is going to be extracted to the project.

I think I want to hide the left tree by default let the user open it if they want to customize the files installed (via a dedicated button, but also via the "N conflicts" status). I don't think selecting individual files is the behavior needed by default most of the time, and having two trees like that adds to the confusion.
I'll try to implement the change today or tomorrow.

Okay, done. It should be less confusing now:
https://github.com/godotengine/godot/assets/11782833/d9d31451-28d8-41d3-b5d4-7a131dfdd93b

The "Ignore asset root" toggle is very, very welcome. No more accidental READMEs or LICENSE files being dropped where I don't want them to be.

The "Ignore asset root" toggle is very, very welcome. No more accidental READMEs or LICENSE files being dropped where I don't want them to be.

That's already merged in 4.2 :) https://github.com/godotengine/godot/pull/81358

It's much better than outright not having this feature. Although, I do feel like when both Trees are displayed, the "Installation Preview" is a bit useless. It shows a lot of of the same information that can be gathered from looking at the Tree on the left. The only "new" thing that cannot be discerned without it is the installation root path.

Thanks!


React won't build with VS or MinGW

I've tried to build React using CMake without success. I used both Visual Studio (2015 & 2019) and MinGW (GCC) compilers to build the source code.
Here are the logs(MinGW has no errors in it's log, errors display in cmd although I specified it to write to the log):
ErrorLogs.zip
The VS log is too big (29MB) so I put both logs in the ZIP file.

Hello,
In you MinGW log, you can see that the ReactPhysics3D library is correctly builded. Then it tries to compile the testbed application (with demos) and then no more logs.
First, do you really need to compile the testbed application ? If you only need to compile the ReactPhysics3D library then you can uncheck the "RP3D_COMPILE_TESTBED" option in CMAKE and you should be fine.
However, if you need to compile the testbed application, it will need to compile the nanogui library that requires GLFW (for OpenGL) to be installed. If GLFW is not installed and you have asked to compile the testbed application, you should have errors when using ccmake command when you configure the cmake build.
About Visual Studio 2014, I am not sure it fully support C++ 11. Remember that ReactPhysics3D has to be compiled with C++ 11.
In you Visual Studio log, there are also errors about OpenGL functions not found. Is GLFW missing ?

GLFW is installed in my MinGW directory, but I didn't install it in VS since I only used VS to try and build Bullet to no avail(the documentation of Bullet is very vague).
Does the GLFW dll need to be installed in the MinGW directory as well? I installed it in System32 so I have no problems using my compiled app without recompiling.

You can install it anywhere as long as CMAKE is able to find it. If CMAKE cannot find it, you can specify in the CMAKE configurator where to find it.

I've gotten React to work, thanks for your help! :D

Perfect. Good news !!


⚠ SceneTime has degraded performance

In e788a85, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1361 ms

Resolved: SceneTime performance has improved in 36b155d after 7 minutes.


Estimate covariance

Adding a function that computes the estimated covariance matrix for images.
This implementation uses one of the most basic and popular formulations for estimated covariance for images. However, our implementation unlike the straightforward implementation is significantly more efficient as it reduces the amount of work by several orders of magnitude  (both theoretically and empirically).
The submitted implementation also supports OpenMP and is highly scalable.
A full tech report with all the details of the algorithm can be found: http://dl.acm.org/citation.cfm?doid=2503210.2503218

As this is new functionality you will have to make a pull request against the opencv_contrib library inside the ximgproc module. Could you do that?

Sure, should I close this pull request and create a new one?

Right. Thanks!
BTW, OpenCV library provides parallel_for wrapper for several parallel backends (without synchronization primitives, but you can take a look on cv::Mutex), so code which uses it will not depends on OpenMP.


Not able to find a sync_url in database - ERROR: 255

While doing the setup of BETYdb-YABA app, I came across an issue when I entered the command docker-compose run --rm bety sync after following the documentation of this app.
" Did not find a sync_url in database, please update database, or provide script with DUMPURL.
ERROR: 255 "

Can you check if adding this line to the environment section of docker-compose.yml helps? https://github.com/terraref/brapi/blob/ac17464e003056394ddec7ba97f5a21e0d9dd968/docker-compose.yml#L38

Great - can you submit a PR for that? You can copy-paste the line here: https://github.com/terraref/brapi/edit/master/docker-compose.yml

fixed by https://github.com/PecanProject/BETYdb-YABA/issues/85


Option to not remove extra white spaces

It breaks pre blocks, by putting everything on a single line.
Would be nice to have this optional, at least. Solved by removing the replace call on line 84:
text = $(this).text().replace(/\s+/g, ' ');

Should I open a PR with it?

Thanks for your feedback.
The source code is in coffeescript, it's OK if you can fix with it, or I will fix it later.

While it was rather easy to find where the replacing occurs, I don't really think I understand the logic enough to be sure I'm not breaking anything. I only tested a handful of use cases, for my particular project, so I'd rather not mess and break things.
Thanks for the fast reply!

A new option keepWhitespaces has been added, you may set it to true to keep whitespaces. truncate-html version has been updated to v0.1.0.  You can update now. Enjoy!

@rolandleth My English name is Saiya, please fix it on your branch repo 🙏

I'm sorry 😵 I will take it down, anyway, I just needed something to deploy that night 🙂
Thanks for adding the feature, and for being so responsive! 🎉


HOW?!

Where is the download for this?
Is this a launcher?
Is it a "modloader"?
Is it a fabric mod/forge mod?
How does it connect loaders? Are forge and fabric mods comptaiable?
Or is this just a troll?

there's none
no
no
yes
it uses abraction,  ex. different frontend, same backend
no, its not a troll


App only available in German App Store

Hi, there are many people living in Germany with phones tied to non German App Store and the app is only available in the German App Store.
I have send emails to the German department handling this, I have called to the Corona-Warn-App hotline and I reached no solution.
I know that this is not a code problem I don't know what else to do.
Please make the app available on other iOS App stores.!

Please use the issue template. First info there is to have a look at the FAQ

Avoid duplicates

[ ] Question is not already answered in the FAQ

This question has already been answered there and it's a pinned issue


Add support for project sail

Changes

There's an Istio CR that provides the meshConfig instead of an IstioOperator CR for the sail operator

Added new SailWrapper for updating the meshConfig stored in the Istio CR
We check for IstioOperator presence first, then Istio, then fall back to OSSM 2.x

TODO:

[x] To use the Istio type I've included the maistra operator as a go dep but I think I'm leaning toward duplicating the types as done prior in our https://github.com/Kuadrant/kuadrant-operator/tree/main/api/external/maistra folder rather than including all of these dep changes in the go.mod - Edit: changed my mind here and I think we should just include the types and deal with it for now, in case the API or interaction with it changes we can keep pulling this and potentially do this down the line.
[x] I might investigate the option of using sail to install istio for local development rather than using istioctl
[x] Some more experimental testing + document the entire process (will be here in verification steps)
[x] Test updates

Install Steps:
① Setup OpenShift cluster
Create an OpenShift cluster and follow the first two steps to install Project Sail and Istio using the guide here https://github.com/maistra/istio-operator/blob/maistra-3.0/bundle/README.md - note you should name your Istio CR istiocontrolplane.
② Install Gateway API CRDs
kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || \
  { kubectl kustomize "github.com/kubernetes-sigs/gateway-api/config/crd?ref=v1.0.0" | kubectl apply -f -; }

③ Install Kuadrant Operator from this branch
Create a new namespace called kuadrant-system:
kubectl create namespace kuadrant-system

Create a CatalogSource:
kubectl apply -f - <<EOF
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
  name: kuadrant-operator-catalog
  namespace: openshift-marketplace
spec:
  sourceType: grpc
  image: quay.io/acatterm/kuadrant-operator-catalog:sail
EOF

Navigate to OperatorHub on the openshift-marketplace project and select Kuadrant Operator from this catalog source (kuadrant-operator-catalog). Install with selected namespace set to kuadrant-system and other settings left as default.
Request an instance of Kuadrant in the kuadrant-system namespace:
kubectl -n kuadrant-system apply -f - <<EOF
apiVersion: kuadrant.io/v1beta1
kind: Kuadrant
metadata:
  name: kuadrant
spec: {}
EOF

④ Check loadbalancer quota
You need space for a loadbalancer for istio to create. Within the administration settings in the Openshift Developer Portal for All Projects, navigate to Administration -> ResourceQuotas -> loadbalancer-quota.
Update spec.quota.hard.services.loadbalancers if you have insufficient space.
⑤ Deploy the toystore application
This creates the toystore Deployment, Service as well as a Gateway API Gateway and HTTPRoute:
kubectl apply -f examples/toystore/toystore.yaml

kubectl apply -f - <<EOF
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
  name: toystore-gateway
  labels:
    app: toystore
spec:
  gatewayClassName: istio
  listeners:
  - name: http
    port: 80
    protocol: HTTP
    allowedRoutes:
      namespaces:
        from: All
---
apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
  name: toystore
spec:
  parentRefs:
  - name: toystore-gateway
  hostnames:
  - api.toystore.com
  rules:
  - matches:
    - method: GET
      path:
        type: PathPrefix
        value: "/cars"
    - method: GET
      path:
        type: PathPrefix
        value: "/dolls"
    backendRefs:
    - name: toystore
      port: 80
  - matches:
    - path:
        type: PathPrefix
        value: "/admin"
    backendRefs:
    - name: toystore
      port: 80
EOF

Ensure that the toystore-gateway is Accepted and Programmed. You can then test access to the service.
Set the environment variables:
export INGRESS_HOST=$(kubectl get gtw toystore-gateway -o jsonpath='{.status.addresses[0].value}')
export INGRESS_PORT=$(kubectl get gtw toystore-gateway -o jsonpath='{.spec.listeners[?(@.name=="http")].port}')
export GATEWAY_URL=$INGRESS_HOST:$INGRESS_PORT

Curl the toystore endpoints:
curl -H 'Host: api.toystore.com' "http://$GATEWAY_URL/cars" -i
# HTTP/1.1 200 OK

curl -H 'Host: api.toystore.com' "http://$GATEWAY_URL/dolls" -i
# HTTP/1.1 200 OK

curl -H 'Host: api.toystore.com' "http://$GATEWAY_URL/admin" -i
# HTTP/1.1 200 OK

⑥ Create a simple AuthPolicy
kubectl apply -f - <<EOF
apiVersion: kuadrant.io/v1beta2
kind: AuthPolicy
metadata:
  name: toystore
spec:
  targetRef:
    group: gateway.networking.k8s.io
    kind: HTTPRoute
    name: toystore
  rules:
    authentication:
      "api-key-authn":
        apiKey:
          selector: {}
        credentials:
          authorizationHeader:
            prefix: APIKEY
    authorization:
      "only-admins":
        opa:
          rego: |
            groups := split(object.get(input.auth.identity.metadata.annotations, "kuadrant.io/groups", ""), ",")
            allow { groups[_] == "admins" }
        routeSelectors:
        - matches:
          - path:
              type: PathPrefix
              value: "/admin"
EOF

Create secrets to use for this authentication:
kubectl apply -f -<<EOF
apiVersion: v1
kind: Secret
metadata:
  name: api-key-regular-user
  labels:
    authorino.kuadrant.io/managed-by: authorino
stringData:
  api_key: iamaregularuser
type: Opaque
---
apiVersion: v1
kind: Secret
metadata:
  name: api-key-admin-user
  labels:
    authorino.kuadrant.io/managed-by: authorino
  annotations:
    kuadrant.io/groups: admins
stringData:
  api_key: iamanadmin
type: Opaque
EOF

Send requests to the protected gateway:
curl -H 'Host: api.toystore.com' "http://$GATEWAY_URL/cars" -i
# HTTP/1.1 401 Unauthorized

curl -H 'Host: api.toystore.com' -H 'Authorization: APIKEY iamaregularuser' "http://$GATEWAY_URL/cars" -i
# HTTP/1.1 200 OK

curl -H 'Host: api.toystore.com' -H 'Authorization: APIKEY iamaregularuser' "http://$GATEWAY_URL/admin" -i
# HTTP/1.1 403 Forbidden

curl -H 'Host: api.toystore.com' -H 'Authorization: APIKEY iamanadmin' "http://$GATEWAY_URL/admin" -i
# HTTP/1.1 200 OK

⑦ Create a simple RateLimitPolicy
Lets apply a rate limit to our /cars endpoint:
kubectl apply -f - <<EOF
apiVersion: kuadrant.io/v1beta2
kind: RateLimitPolicy
metadata:
  name: toystore
spec:
  targetRef:
    group: gateway.networking.k8s.io
    kind: HTTPRoute
    name: toystore
  limits:
    "get-cars":
      rates:
      - limit: 5
        duration: 10
        unit: second
      routeSelectors:
      - matches:
        - path:
            type: PathPrefix
            value: "/cars"
EOF

Test the endpoint:
while :; do curl --write-out '%{http_code}\n' --silent --output /dev/null -H 'Host: api.toystore.com' -H 'Authorization: APIKEY iamaregularuser' "http://$GATEWAY_URL/cars" | grep -E --color "\b(429)\b|$"; sleep 1; done

@adam-cattermole is that an attempt to fix #299 ?

@adam-cattermole is that an attempt to fix #299 ?

Yes it is, still a WIP though

I'm still looking at the other points in the to do section but given they could be follow ups I've marked ready for review

@adam-cattermole I am a fan of using project sail in regular development but I think we need to be careful to ensure we are still staying compatible with "regular" istio installs

I've left the original install options in the Makefile but added a commit moving to installing project sail locally. Will need an additional change to the docs as there is a minor difference in how we access the deployed application.
I'll make a change to have the integration tests run on each istio install type - that might be enough to make sure we aren't breaking anything on each PR.

I was able to work with this in kubernetes. https://gist.github.com/maleck13/eb5860181404f055ac5ec64d81945a4f @alexsnaps @adam-cattermole this ready to merge?

@maleck13 I'm happy with the changes but I think we could use an approving review from service protection


Add sparse direct interface

This adds an interface to the existing numerical LU and symbolic Cholesky factorization kernel, producing a common Factorization type that can represent all factorizations based on triangular matrices, and a new interface that wraps two triangular solvers initialized from such a Factorization.
Depends on #1171

@MarcelKoch the only macros I could actually use would be GKO_FACTORY_PARAM_*, the others make assumptions that are not valid here. Would that be sufficient until we resolve #1162 ?

@upsj sorry for being vague there, yes that is exactly what I meant.

This seems to be hitting the 0:45 job timeout on HoreKa now. Maybe we should increase to 1h. https://gitlab.com/ginkgo-project/ginkgo-public-ci/-/jobs/3269009595.


Setup lein-zinc

Looks like lein-scalac doesn't really work, should try to use: https://github.com/k2n/lein-zinc

For some reason this tries to compile two source files, not sure whats up.


Blog link tr (EXPOSUREAPP-9807)

Ticket

@schauersbergern please inform translation team about it ? if it is not the German file , it will be reverted back in the next translation delivery 😕


Update eslint-plugin-functional to ^3.2.x

Blocked by: https://github.com/jonaskello/eslint-plugin-functional/issues/194

https://github.com/samhh/fp-ts-std/commit/bfca937068e1b3968b543cec9f47b577a13959a6


feat(ffe-icons): Added import script

Automatically import svg icons using svgo and svg-crop to optimize the svg. The newly imported files is imported with a draft- prefix. See #667 for handling of draft icons.

Coverage remained the same at 81.995% when pulling fa27318c9dec42b48db09f26e985c37fe76e77fc on jarlef:feature/icon-import-script into 6e689c039e741ed5459294e1be3d58c877434568 on SpareBank1:develop.


Expose Public Registry

As mentioned in #5, adding a CLI or utility such as sly would help users.
Exposing the public registry will aid in utilizing a tool such as sly. This can be found at https://draft-ui.com/registry/index.json if deployed
This is in line with how other tools such as shadcn/ui work (https://ui.shadcn.com/registry)

Needs more discussion as there does not appear to be a registry for the actual components only the stories. Sorry!


Multiple authors

Was thinking it might be cool to allow multiple authors to be listed on a blog post, just as a book can have multiple authors. Haven't really seen this on other blogs before, but something I could see doing on the Differential blog or my personal site (I plan to move it to meteor-blog soon).
Thoughts?

+1

+1

+1

+1

+1


IKEA 2-button switch (square) - shows only as a battery

I have three IKEA 2-button square switches (2 bought separately, one with a bulb). They all discover without problems, but all show only as battery sensors.
Two of them register events in zha_event correctly, third one does not.
Sample events:
{
    "event_type": "zha_event",
    "data": {
        "unique_id": "ec:1b:bd:ff:fe:a3:9c:13:1:0x0008",
        "device_ieee": "ec:1b:bd:ff:fe:a3:9c:13",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "stop",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2020-02-05T11:24:19.201131+00:00",
    "context": {
        "id": "49f098a00ea54cb9a0e4d46c2b5550e1",
        "parent_id": null,
        "user_id": null
    }
}
{
    "event_type": "zha_event",
    "data": {
        "unique_id": "ec:1b:bd:ff:fe:a3:9c:13:1:0x0008",
        "device_ieee": "ec:1b:bd:ff:fe:a3:9c:13",
        "endpoint_id": 1,
        "cluster_id": 8,
        "command": "move_with_on_off",
        "args": [
            0,
            83
        ]
    },
    "origin": "LOCAL",
    "time_fired": "2020-02-05T11:24:16.955182+00:00",
    "context": {
        "id": "7b68c363664242c798687c06f64c0eaa",
        "parent_id": null,
        "user_id": null
    }
}
{
    "event_type": "zha_event",
    "data": {
        "unique_id": "ec:1b:bd:ff:fe:a3:9c:13:1:0x0006",
        "device_ieee": "ec:1b:bd:ff:fe:a3:9c:13",
        "endpoint_id": 1,
        "cluster_id": 6,
        "command": "on",
        "args": []
    },
    "origin": "LOCAL",
    "time_fired": "2020-02-05T11:24:13.671841+00:00",
    "context": {
        "id": "3aa38a204a444835861b26ea77291115",
        "parent_id": null,
        "user_id": null
    }
}

Discovery log
tradfri13.log
From what I understand, this should work as of 0.0.31, that's exactly what I'm using.

I fixed the one that did not fire events by pairing it again. Now all of them emit events, but none show as sensor apart from battery level.

They are remotes you will not get sensors for them just the events. Use the events or device triggers for your automations.


vscode window management rule is crazy, please fix it! very very very important!!!

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version:  Latest
OS Version:  All versions

Steps to Reproduce:

use split to left and split to right to create multi column text windows in vscode
now when you want to open a file from left tree panel, you have a delima, say you are viewing the left window text, your intention is obviously to open a new file on the right to compare and view two file at the same time, but vscode will open to you current active window. totoally defeating purpose of multi window.
3 anyway, could you just learn how visual studio handle it's windows, just learn from others when others are doing it right. I don't like to write bug report, but this one is really logically crazy to use.

basically you changes coder's focus all the time, jumping from here to there. The code and files are already long which require focus, and your window management keep interrupting it.

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.
Happy Coding!

you are wrong in closing this ticket.  I would definitely consider it a bug if it's causing such inconvenience for using the software. I don't really care if you close the ticket or not, just fix it.  Using it to open multiple windows with a relatively large project and you will see how inconvenient the way it is. Further more, why should the file currently opened on the right side exists on multiple windows.  when you click the same file on the left panel, should you just make the existing file window active, instead of opening it again, the current behavior is just wrong, plainly wrong.


Cannot use custom Differentiable structure in a Layer input

I'm trying to implement a UNet-like segmentation network, here is the complete definition:
struct TensorPair<Scalar: TensorFlowFloatingPoint>: AdditiveArithmetic, Differentiable {
    var lhs: Tensor<Scalar>
    var rhs: Tensor<Scalar>

    init(_ lhs: Tensor<Scalar>, _ rhs: Tensor<Scalar>) {
        self.lhs = lhs
        self.rhs = rhs
    }
}

struct ReLU<Scalar: TensorFlowFloatingPoint>: ParameterlessLayer {
    typealias TangentVector = EmptyTangentVector

    @differentiable
    func callAsFunction(_ input: Tensor<Scalar>) -> Tensor<Scalar> {
        relu(input)
    }
}

struct DoubleConv<Scalar: TensorFlowFloatingPoint>: Layer {
    var conv1, conv2: Conv2D<Scalar>
    var bn1, bn2: BatchNorm<Scalar>
    let relu = ReLU<Scalar>()

    init(_ inChannels: Int, _ outChannels: Int) {
        conv1 = Conv2D(filterShape: (3, 3, inChannels, outChannels), padding: .same, useBias: false)
        bn1 = BatchNorm(featureCount: outChannels)
        conv2 = Conv2D(filterShape: (3, 3, outChannels, outChannels), padding: .same, useBias: false)
        bn2 = BatchNorm(featureCount: outChannels)
    }

    @differentiable
    func callAsFunction(_ input: Tensor<Scalar>) -> Tensor<Scalar> {
        input.sequenced(through: conv1, bn1, relu, conv2, bn2, relu)
    }
}

struct ResidualBlock<Scalar: TensorFlowFloatingPoint>: Layer {
    var conv1, conv2: Conv2D<Scalar>
    var bn1, bn2: BatchNorm<Scalar>
    var relu = ReLU<Scalar>()

    init(channels: Int) {
        conv1 = Conv2D(filterShape: (3, 3, channels, channels), padding: .same, useBias: false)
        conv2 = Conv2D(filterShape: (3, 3, channels, channels), padding: .same, useBias: false)
        bn1 = BatchNorm(featureCount: channels)
        bn2 = BatchNorm(featureCount: channels)
    }

    @differentiable
    func callAsFunction(_ input: Tensor<Scalar>) -> Tensor<Scalar> {
        input.sequenced(through: conv1, bn1, relu, conv2, bn2, relu) + input
    }
}

struct Down<Scalar: TensorFlowFloatingPoint>: Layer {
    var downsample: Conv2D<Scalar>
    var conv: ResidualBlock<Scalar>

    init(_ inChannels: Int, _ outChannels: Int) {
        downsample = Conv2D(filterShape: (3, 3, inChannels, outChannels), strides: (2, 2), padding: .same)
        conv = ResidualBlock(channels: outChannels)
    }

    @differentiable
    func callAsFunction(_ input: Tensor<Scalar>) -> Tensor<Scalar> {
        input.sequenced(through: downsample, conv)
    }
}

struct Up<Scalar: TensorFlowFloatingPoint>: Layer {
    var upsample: TransposedConv2D<Scalar>
    var conv: ResidualBlock<Scalar>

    init(_ inChannels: Int, _ outChannels: Int) {
        upsample = TransposedConv2D(filterShape: (2, 2, outChannels, inChannels), strides: (2, 2))
        conv = ResidualBlock(channels: outChannels)
    }

    @differentiable
    func callAsFunction(_ input: TensorPair<Scalar>) -> Tensor<Scalar> {
        conv(upsample(input.lhs) + input.rhs)
    }
}

struct Head<Scalar: TensorFlowFloatingPoint>: Layer {
    var conv: Conv2D<Scalar>

    init(_ inChannels: Int, _ outChannels: Int) {
        self.conv = Conv2D(filterShape: (1, 1, inChannels, outChannels), padding: .same)
    }

    @differentiable
    func callAsFunction(_ input: Tensor<Scalar>) -> Tensor<Scalar> {
        conv(input)
    }
}

struct UNet<Scalar: TensorFlowFloatingPoint>: Layer {
    var adapter: DoubleConv<Scalar>
    var down1, down2, down3, down4: Down<Scalar>
    var up1, up2, up3, up4: Up<Scalar>
    var head: Head<Scalar>

    init(_ inChannels: Int = 3, _ outChannels: Int = 1) {
        adapter = DoubleConv(inChannels, 64)
        down1 = Down(64, 128)
        down2 = Down(128, 256)
        down3 = Down(256, 512)
        down4 = Down(512, 1024)
        up1 = Up(1024, 512)
        up2 = Up(512, 256)
        up3 = Up(256, 128)
        up4 = Up(128, 64)
        head = Head(64, outChannels)
    }

    @differentiable
    func callAsFunction(_ input: Tensor<Scalar>) -> Tensor<Scalar> {
        let d0 = adapter(input)

        let d1 = down1(d0)
        let d2 = down2(d1)
        let d3 = down3(d2)
        let d4 = down4(d3)

        let u1 = up1(TensorPair(d4, d3))
        let u2 = up1(TensorPair(u1, d2))
        let u3 = up1(TensorPair(u2, d1))
        let u4 = up1(TensorPair(u3, d0))

        let output = head(u4)

        return output
    }
}

The problem is that the Up layer must accept two inputs (the input and shortcut connection), so I created a Differentiable struct to handle this case as the callAsFunction() method only accept one input. However, this leads to an error:
error: <Cell 11>:32:22: error: expression is not differentiable
        let u4 = up1(TensorPair(u3, d0))
                     ^

<Cell 11>:32:22: note: cannot differentiate functions that have not been marked '@differentiable' and that are defined in other files
        let u4 = up1(TensorPair(u3, d0))

Same error for the three other Up layers.

Any idea on how to solve this?
Is there a better alternative to write layers that accept more than one input?
Will the Layer protocol support a callAsFunction() requirement with multiple inputs in the future (when generics allow that of course), i.e a callAsFunction(_ input1: Input1, _ input2: Input2, ...) or callAsFunction(_ inputs: Input...)? A also think that the TensorPair struct should be part of the TensorFlow Swift API, or that tuples should automatically conform to Differentiable when possible.

Thanks for reporting!

Any idea on how to solve this?

Could you please share the compiler version you're using (swift --version)?
Your code snippet compiles fine for me, with Swift for TensorFlow 0.12:
$ swift --version
Swift version 5.3-dev (LLVM 69d8678431d3eee, Swift e1aef96b7fea59b)
Target: x86_64-apple-darwin19.6.0

import TensorFlow

struct TensorPair<Scalar: TensorFlowFloatingPoint>: AdditiveArithmetic, Differentiable {
    var lhs: Tensor<Scalar>
    var rhs: Tensor<Scalar>

    init(_ lhs: Tensor<Scalar>, _ rhs: Tensor<Scalar>) {
        self.lhs = lhs
        self.rhs = rhs
    }
}

struct ReLU<Scalar: TensorFlowFloatingPoint>: ParameterlessLayer {
    typealias TangentVector = EmptyTangentVector

    @differentiable
    func callAsFunction(_ input: Tensor<Scalar>) -> Tensor<Scalar> {
        relu(input)
    }
}

struct DoubleConv<Scalar: TensorFlowFloatingPoint>: Layer {
    var conv1, conv2: Conv2D<Scalar>
    var bn1, bn2: BatchNorm<Scalar>
    var relu = ReLU<Scalar>()

    init(_ inChannels: Int, _ outChannels: Int) {
        conv1 = Conv2D(filterShape: (3, 3, inChannels, outChannels), padding: .same, useBias: false)
        bn1 = BatchNorm(featureCount: outChannels)
        conv2 = Conv2D(filterShape: (3, 3, outChannels, outChannels), padding: .same, useBias: false)
        bn2 = BatchNorm(featureCount: outChannels)
    }

    @differentiable
    func callAsFunction(_ input: Tensor<Scalar>) -> Tensor<Scalar> {
        input.sequenced(through: conv1, bn1, relu, conv2, bn2, relu)
    }
}

struct ResidualBlock<Scalar: TensorFlowFloatingPoint>: Layer {
    var conv1, conv2: Conv2D<Scalar>
    var bn1, bn2: BatchNorm<Scalar>
    var relu = ReLU<Scalar>()

    init(channels: Int) {
        conv1 = Conv2D(filterShape: (3, 3, channels, channels), padding: .same, useBias: false)
        conv2 = Conv2D(filterShape: (3, 3, channels, channels), padding: .same, useBias: false)
        bn1 = BatchNorm(featureCount: channels)
        bn2 = BatchNorm(featureCount: channels)
    }

    @differentiable
    func callAsFunction(_ input: Tensor<Scalar>) -> Tensor<Scalar> {
        input.sequenced(through: conv1, bn1, relu, conv2, bn2, relu) + input
    }
}

struct Down<Scalar: TensorFlowFloatingPoint>: Layer {
    var downsample: Conv2D<Scalar>
    var conv: ResidualBlock<Scalar>

    init(_ inChannels: Int, _ outChannels: Int) {
        downsample = Conv2D(filterShape: (3, 3, inChannels, outChannels), strides: (2, 2), padding: .same)
        conv = ResidualBlock(channels: outChannels)
    }

    @differentiable
    func callAsFunction(_ input: Tensor<Scalar>) -> Tensor<Scalar> {
        input.sequenced(through: downsample, conv)
    }
}

struct Up<Scalar: TensorFlowFloatingPoint>: Layer {
    var upsample: TransposedConv2D<Scalar>
    var conv: ResidualBlock<Scalar>

    init(_ inChannels: Int, _ outChannels: Int) {
        upsample = TransposedConv2D(filterShape: (2, 2, outChannels, inChannels), strides: (2, 2))
        conv = ResidualBlock(channels: outChannels)
    }

    @differentiable
    func callAsFunction(_ input: TensorPair<Scalar>) -> Tensor<Scalar> {
        conv(upsample(input.lhs) + input.rhs)
    }
}

struct Head<Scalar: TensorFlowFloatingPoint>: Layer {
    var conv: Conv2D<Scalar>

    init(_ inChannels: Int, _ outChannels: Int) {
        self.conv = Conv2D(filterShape: (1, 1, inChannels, outChannels), padding: .same)
    }

    @differentiable
    func callAsFunction(_ input: Tensor<Scalar>) -> Tensor<Scalar> {
        conv(input)
    }
}

struct UNet<Scalar: TensorFlowFloatingPoint>: Layer {
    var adapter: DoubleConv<Scalar>
    var down1, down2, down3, down4: Down<Scalar>
    var up1, up2, up3, up4: Up<Scalar>
    var head: Head<Scalar>

    init(_ inChannels: Int = 3, _ outChannels: Int = 1) {
        adapter = DoubleConv(inChannels, 64)
        down1 = Down(64, 128)
        down2 = Down(128, 256)
        down3 = Down(256, 512)
        down4 = Down(512, 1024)
        up1 = Up(1024, 512)
        up2 = Up(512, 256)
        up3 = Up(256, 128)
        up4 = Up(128, 64)
        head = Head(64, outChannels)
    }

    @differentiable
    func callAsFunction(_ input: Tensor<Scalar>) -> Tensor<Scalar> {
        let d0 = adapter(input)

        let d1 = down1(d0)
        let d2 = down2(d1)
        let d3 = down3(d2)
        let d4 = down4(d3)

        let u1 = up1(TensorPair(d4, d3))
        let u2 = up1(TensorPair(u1, d2))
        let u3 = up1(TensorPair(u2, d1))
        let u4 = up1(TensorPair(u3, d0))

        let output = head(u4)

        return output
    }
}

Is there a better alternative to write layers that accept more than one input?
Will the Layer protocol support a callAsFunction() requirement with multiple inputs in the future (when generics allow that of course), i.e a callAsFunction(_ input1: Input1, _ input2: Input2, ...) or callAsFunction(_ inputs: Input...)? A also think that the TensorPair struct should be part of the TensorFlow Swift API, or that tuples should automatically conform to Differentiable when possible.

There isn't a better way to write layers taking/return more than one value currently, unfortunately.
Layer.callAsFunction takes a single Differentiable-conforming argument and returns a single Differentiable-conforming result. To encode multiple arguments or results, a tuple-representing struct like TensorPair is the best solution.
Tuple types cannot yet conform to protocols like Differentiable. Some hardcoded support is ~being added to let tuples conform to Equatable, Comparable, and Hashable (https://github.com/apple/swift/pull/28833), but that is quite involved and not extensible. There's also the nuance that different tuple types with the same arity may have different TangentVector types based on elements' conformances to Differentiable (like (Float, Float) vs (Float, Int)).

By the way, here's an alternative (simpler) UNet definition. It directly calls functions like relu in callAsFunction methods instead of creating a dedicated ReLU layer.

Thank you for the quick and detailed answer! I'm using S4TF in a Google Colab but I was not enable to find the swift version.

Please open a new issue if you have any more questions :)


Add support for multiple contracts

Description
Figure out how solc-js and sabre handle different cases like below:

Multiple separate contracts in a single file
Base contract and inherited contract in the same file
Base contract in an imported file

@b-mueller -- Here are my findings for the current setup of solc and sabre for different scenarios:

Multiple separate contracts in a single file
solc returns all the contracts as object with keys sorted in alphabetical order of the contract name. sabre picks up the first contract from the object and generates MythX report for that

Base contract and inherited contract in the same file
This works same as the above

Base contract in an imported file
This might be quite not possible yet as solc itself doesn't support importing files within contract -- https://github.com/ethereum/solc-js/issues/114

Let me know how you'd like me to proceed further :)

solc itself doesn't support importing files within contract

Ok, that sucks. Then there's also no easy way to fix #9.
I think in most cases it makes sense to return the analysis result for the contract with the longest byte code, which (if I'm not mistaken) should be the lowest in the inheritance hierarchy. Should we try that first?


digikam: 6.1.0 -> 6.2.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/digikam/versions.
meta.description for digikam is: '"Photo Management Program"'.
meta.homepage for digikam is: '"https://www.digikam.org"
Compare changes on GitHub

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
/bin/sh passed the binary check.
1 of 1 passed binary check by having a zero exit code.
0 of 1 passed binary check by having the new version present in output.
found 6.2.0 with grep in /nix/store/68kbdg6cz1vpwyyhxclxms8y5adxjjdx-digikam-6.2.0
directory tree listing: https://gist.github.com/2862a2a4aa661f265d122d5ccda3291b
du listing: https://gist.github.com/12a912f2099b6cd4fa3c02eee2110efe

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

3 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
digikam

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/68kbdg6cz1vpwyyhxclxms8y5adxjjdx-digikam-6.2.0 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/68kbdg6cz1vpwyyhxclxms8y5adxjjdx-digikam-6.2.0
ls -la /nix/store/68kbdg6cz1vpwyyhxclxms8y5adxjjdx-digikam-6.2.0/bin

cc @the-kenny for testing.

Currently building locally to see if that works, but this may take a while :sweat_smile:

So this is taking pretty long.... However I guess that this build should(tm) build parallel, let's see :)
@GrahamcOfBorg build digikam


chore: make safecast grafana link visible even when dashboard errors

Problem Context
The link to the Safecast Grafana charts should be accessible on the Airnote dashboard even if the dashboard itself doesn't show any data for debugging purposes.
Changes
Move the Grafana links outside of the {#if} that keeps the link from rendering if an error state is displayed on the page. Now, all that's needed is for a deviceUID to be present (which should always exist since it's in the URL)
Screenshot (if applicable)

Testing
Unit / integration / e2e tests?
All tests continue to pass.
Steps to test manually?

Go to the following URL: http://localhost:5173/dev:865284040097903/dashboard?product=product%3Acom.blues.airnote&pin=
See that even though a "no data" error message is shown the Grafana link is still visible

Any other sorts of testing notes to include?
 To a new user I could see that link being confusing.
Would it be overkill to conditionally change the wording in the link?
noData ? "Check for historical data at Safecast.org" : "View additional data at Safecast.org"

Your call. Approving the PR because this isn’t a huge deal and this is just a suggestion.

That's a very good point. I'll add a conditional statement to update the message accordingly.


Add new RSpec/Capybara/MatchStyle cop

This PR is add new cop.
This cop considers the use of methods associated with deprecated styles to be an offense.
Check the use of the following methods:

Capybara::Node::Matchers#has_style?

https://rubydoc.info/github/jnicklas/capybara/master/Capybara%2FNode%2FMatchers:has_style%3F

Capybara::Node::Matchers#assert_style

https://rubydoc.info/github/jnicklas/capybara/master/Capybara%2FNode%2FMatchers:assert_style

Capybara::RSpecMatchers#have_style

https://rubydoc.info/github/jnicklas/capybara/master/Capybara%2FRSpecMatchers:have_style

Before submitting the PR make sure the following are checked:

[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Updated documentation.
[x] Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
[x] The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

If you have created a new cop:

[x] Added the new cop to config/default.yml.
[x] The cop is configured as Enabled: pending in config/default.yml.
[x] The cop is configured as Enabled: true in .rubocop.yml.
[x] The cop documents examples of good and bad code.
[x] The tests assert both that bad code is reported and that good code is not reported.
[x] Set VersionAdded in default/config.yml to the next minor version.

Do we also need a cop (or could it be part of this cop) that discourages to test with assert_ (and having expectation to raise or not raise an exception) and use the matches style instead?

I update this PR.Thank you for review.

The cop just found two offenses in real-world-rspe:
Offenses:

/Users/pirj/source/real-world-rspec/capybara/lib/capybara/spec/session/matches_style_spec.rb:27:14: C: [Correctable] RSpec/Capybara/MatchStyle: Use match_style instead of have_style.
    expect { have_style(display: /^bl/) }.to \
             ^^^^^^^^^^
/Users/pirj/source/real-world-rspec/capybara/lib/capybara/spec/session/matches_style_spec.rb:32:8: C: [Correctable] RSpec/Capybara/MatchStyle: Use matches_style? instead of has_style?.
    el.has_style?('display' => /^bl/)
       ^^^^^^^^^^

57497 files inspected, 2 offenses detected, 2 offenses autocorrectable

No errors, no false positives, though.

It was conflicted, so I rebased it to the latest master branch.

I rebased this PR.

Thank you!


change source configuration

how to change source "http://archive.apache.org/" to some fast mirror source? Where to config that? Thx .

You could change the value of ARCHIVE at line 24 of ccmlib/repository.py.

Thanks a lot for your help:)


⚠ Bofrost.be has degraded performance

In bb00aed, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1208 ms

Resolved: Bofrost.be performance has improved in e07f19f.


Support for new line between a Step text and a table parameter

Currently there should be no new line between step and param table. But we should also check for a newline between them.
This should be acceptable:
* Step that takes a table

     | Product | Description                  |
     | Gauge   | BDD style testing with ease  |

This makes preview better.
Needs changes on these:

[x] Gauge Core parser changes.
[x] https://github.com/getgauge/Intellij-Plugin/issues/145
[x] https://github.com/getgauge/Intellij-Plugin/issues/147
[x] https://github.com/getgauge/gauge-visualstudio/issues/136

The following issues are present in IntelliJ.
List of issues

[ ] #Intellij-Plugin/issues/145
[ ] #Intellij-Plugin/issues/147

@sguptatw All the issues mentioned in the checklist are fixed. Please close this issue if it's fixed

I have raised a separate issue to track VS highlight -  https://github.com/getgauge/gauge-visualstudio/issues/169


Phantom mix.js file referenced but doesn't exist.

Laravel Mix Version<EMAIL_ADDRESS>Node Version v7.7.2:
NPM Version 4.1.2:
OS: macOS Sierra 10.12.3

Description:
I'm adding laravel-mix to a non laravel legacy project. I'm using mix.styles and mix.scripts to concate and minimize my scripts and styles. Everything works as expected but in my mix-manifest.json file and in the terminal when webpack finishes I see a file called mix.js. The file doesn't exist though. If I add something to the mix.js() function the issue goes away. I don't need that function for this project though. I'm not having any errors because of it, I just wanted to let you know.
Steps To Reproduce:
In a fresh install of laravel 5.4 edit the webpack.mix.js file and comment out the mix.js function and just run mix.sass.
//mix.js('resources/assets/js/app.js', 'public/js')
   mix.sass('resources/assets/sass/app.scss', 'public/css');

Here is the contents of the mix-manifest.json file.
{
  "/mix.js": "/mix.js",
  "/css/app.css": "/css/app.css"
}

Webpack requires a JS entry point. If you don't provide one, we create a temporary entry and then delete the file after it compiles. So that's the mix.js file you're seeing.


vue单文件组件在中使用await报错

Version
3.2.26
Reproduction link
sfc.vuejs.org/
Steps to reproduce
vite+vue3项目单文件组件中使用await
What is expected?
await调用异步函数
What is actually happening?
报错

You need to use Suspense in the parent component. In other words, move the code you have in App.vue to a another vue file, import that component in App.vue and use it like
<Suspens><MyComp/></Suspense>

Please, next time consider using the forum, the Discord server or StackOverflow for questions first. But feel free to come back and open an issue if it turns out to be a bug 🙂


Problems when requesting changes inside OLs

This happens if a line inside a numbered list is changed:

This is a styling problem for once, and a problem in the diff when encountering the start="2" attribute inside of .

The styling part of it should be fixed by #3288

@CatoTH Can you check again, if this issue can be closed?

Yes, looks good now:


npm-watch does not work from inside Docker

npm-watch runs npm script commands differently compared to running them with only npm run some_script when running from inside a Docker container.
This results in error messages that seems like npm-watch is accessing the host system.
See the following excerp from one of the error messages:
`[dev:scss] npm[dev:scss]  [dev:scss] ERR![dev:scss]  Darwin 15.3.0
[dev:scss] npm[dev:scss]  ERR! argv "/usr/local/Cellar/node/5.5.0/bin/node" "/usr/local/bin/npm" "run" "dev:scss"
[dev:scss] npm ERR![dev:scss]  node v5.5.0
[dev:scss] npm [dev:scss] ERR! npm  v3.6.0
npm ERR! file[dev:scss]  sh
npm ERR! code[dev:scss]  ELIFECYCLE
npm ERR![dev:scss]  errno ENOENT
[dev:scss] npm ERR! [dev:scss] syscall spawn`

Unfortunately, I have no experience with Docker and do not know where to even start.
Can you point me to some resources so that I can try and diagnose this?

@lalarsson can you please give exact steps to reproduce -- the exact commands you ran, and the exact contents of the relevant file(s)?

Are you editing your source file from within the Docker container? If you're using a local mounted volume from your laptop, and editing from there, then change file notifications will be broken.

As I can not diagnose this without more information, it will be closed for now.
I will be more than happy to re-open when you have time to pass over some more data.


#679: Add on fail message builder for response specification

This is useful when you need to associate a mismatch description with additional user information. For example, in parallel execution.

Is it important that the failure message is a part of the AssertionError?
I've made some changes where I'm using a ResponseValidationFailureListener to print the error message instead. I like the idea that we're building on existing building blocks (ResponseValidationFailureListener in this case) instead of implementing completely new concepts. On my machine it now looks like this:

However since describedAs is a part of the AssertionError it probably makes more sense the way you did it. Just want to hear your thoughts.

@johanhaleby Thank you so much for your quick feedback!

Is it important that the failure message is a part of the AssertionError?

I think, yes. I will try to explain why.
I looked at your proposed solution. Unfortunately, it cannot solve our problem. The fact is that in the ResponseValidationFailureListener we can write to the stream, but this will also be independent of the assertion written to the stream, as if we had written something like this:
log.info("test1");
response.then().statusCode(200)
--
[TestNG-tests-3] INFO test1
[TestNG-tests-2] INFO test3
// Here ResponseValidationFailureListener wrote something, but we cannot know it for this assert or another.
[TestNG-tests-4] INFO test2
...
java.lang.AssertionError: 1 expectation failed.
Expected status code <200> but was <404>.
[TestNG-tests-7] INFO test12

@johanhaleby any chance to have this PR merged?

Important feature. What's status ? Do you need testers here ?

I guess many would be happy to have this feature! Any chances to see it merged?

@johanhaleby maybe it is a good time to merge it? :) Do you need some testers or help?

@Frechet There is a conflict, please resolve it, maybe after that @johanhaleby merge it

Hello everybody! Thanks for your feedback! I will try to resolve the conflict as soon as possible and ask for a merge.

@cheparsky , @johanhaleby resolved conflicts https://github.com/rest-assured/rest-assured/pull/1502


Unable to create group (no write intent on file)

I got this error everytime I load my model back from an HDF5 file. Below is my error trace.
Traceback (most recent call last):
File "D:\Anaconda3New\Datasets\train.py", line 63, in
model = load_model(args["model"])
File "D:\Anaconda3New\lib\site-packages\keras\engine\saving.py", line 419, in
load_model
model = _deserialize_model(f, custom_objects, compile)
File "D:\Anaconda3New\lib\site-packages\keras\engine\saving.py", line 249, in
_deserialize_model
layer_weights = model_weights_group[name]
File "D:\Anaconda3New\lib\site-packages\keras\utils\io_utils.py", line 303, in
getitem
val = H5Dict(self.data.create_group(attr))
File "C:\Users\dell\AppData\Roaming\Python\Python37\site-packages\h5py_hl\gro
up.py", line 68, in create_group
gid = h5g.create(self.id, name, lcpl=lcpl, gcpl=gcpl)
File "h5py_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py\h5g.pyx", line 161, in h5py.h5g.create
ValueError: Unable to create group (no write intent on file)
conda info:
active environment : base
active env location : D:\Anaconda3New
shell level : 1
user config file : C:\Users\dell.condarc
populated config files : C:\Users\dell.condarc
conda version : 4.7.9
conda-build version : 3.17.8
python version : 3.7.3.final.0
virtual packages : __cuda=6.0
base environment : D:\Anaconda3New (writable)
channel URLs : https://conda.anaconda.org/anaconda-fusion/win-64
https://conda.anaconda.org/anaconda-fusion/noarch
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
package cache : D:\Anaconda3New\pkgs
C:\Users\dell.conda\pkgs
C:\Users\dell\AppData\Local\conda\conda\pkgs
envs directories : D:\Anaconda3New\envs
C:\Users\dell.conda\envs
C:\Users\dell\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.7.9 requests/2.21.0 CPython/3.7.3 Windows/7 Windows/6.1.7601
administrator : False
netrc file : None
offline mode : False
I have read the below question but seems this is a different problem from what I have been through right now.
https://stackoverflow.com/questions/15192874/i-cant-read-data-back-in-using-h5py-unable-to-create-group
I have also first downgraded the h5py package and then run my script but it didn't work either.
Because I am just loading my architecture and weights from my saved HDF5 file (created after pressing ctrl+c in cmd while running my training script), so there is no significance of assigning a mode to this HDF5 file.
To the best of my knowledge, I didn't come across on any solution for this problem on either Github or Stack Overflow. Can anybody help me to resolve this issue?

@anshiket14  Can you please fill the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Along with the template, please provide as many details as possible to find the root cause of the issue. It would be great if you can provide a small code to reproduce the error. Thanks!


Fix tests errors related to docs reorganization

Codecov Report

:exclamation: No coverage uploaded for pull request base (org-docs@110e5a6). Click here to learn what that means.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             org-docs    #2695   +/-   ##
===========================================
  Coverage            ?   93.32%
===========================================
  Files               ?       46
  Lines               ?     2712
  Branches            ?        0
===========================================
  Hits                ?     2531
  Misses              ?      181
  Partials            ?        0


ci: migrate from karma.js to jest

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows Conventional Commits
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Refactoring
[ ] Code style update
[x] Build or CI related changes
[ ] Documentation content changes

What is the current behavior?
Closes #2117
What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

@vladimirpotekhin hello, please review me

just came here to appreciate the change, much needed 🔥

I believe this will break harnesses as TestBedHarnessEnvironment is only available for karma environment. more details here

I believe this will break harnesses as TestBedHarnessEnvironment is only available for karma environment. more details here

@splincode have a look. It's probably just a matter of proper mocking in setup-jest, but we can give it a shot since we already have a couple of harnesses.


Feedback for "Parameters and Properties"

https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/490c8f71e2b74bc0a59302cada66117c.html

Each tool publishes a list of system parameters

What is a 'tool'? Where do we find all system parameters per tool?
Please complete the list of system/generic/read-only parameters.
As you can see, I'm not sure what to call them... 😉
I must say that I'm not a fan of the term 'parameter' in this context...
IMO, the term deployer variable would be more meaningful.
Some "system parameters" that are missing from the documentation here:

platform
default-uri
default-url
default-host
default-domain
default-url
default-port
default-xsappname
protocol
app-name
timestamp

There are probably others, so it would be useful to get the full list in the documentation.
Related: https://github.com/SAP/cloud-mta-build-tool/issues/1005

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

Hi,
Thank you for your feedback! I'll forward it to my colleague who is responsible for this documentation.
Best regards,
Lilyana

@piejanssens  Thanks for the feedback!
The page Parameters and Properties can be improved by making it more focused on MTA deployment in BTP Cloud Foundry environment. We need to remove all abstract statements like referred one:

Each tool publishes a list of system parameters..

Other points for improvements:

Explain that system and read-only parameters are the same
Explain that this page and Global Parameters table inside are for generic parameters on all levels, which inlcudes top-level parameters; module level parameters and resource level parameters; if a parameter is relevant for apps the parameter is documented on MTA modules page

I agree that Parameter and Properties are not clear thems, but they came from MTA specificiation:
https://www.sap.com/documents/2021/09/66d96898-fa7d-0010-bca6-c68f7e60039b.html
The MTA specification have various implementation on MTA deployment side for different environments, like BTP Cloud Foundry, BTP Neo and HANA XSA. It has implementations on MTA design time like MTA build tool, WebIDE Full Stack.
MTA specification is used also from other tools that are not included in MTA parsing and processing.
I am saying all of this because we will keep the term as it is in order to comply with MTA specification and all other related tools/scenarios.
For sure, we will think about of making it more clear for what Parameters are used.
As a reference for the mentioned parameters:

platform -> does not exist in MTA deployment at BTP Cloud Foundry environment
default-uri -> https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/177d34d45e3d4fd99f4eeeffc5814cf1.html#module-specific-parameters
default-url -> https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/177d34d45e3d4fd99f4eeeffc5814cf1.html#module-specific-parameters
default-host -> https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/177d34d45e3d4fd99f4eeeffc5814cf1.html#module-specific-parameters
default-domain -> https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/177d34d45e3d4fd99f4eeeffc5814cf1.html#module-specific-parameters
default-url -> duplicated
default-port -> does not exist in MTA deployment at BTP Cloud Foundry environment
default-xsappname -> https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/9e34487b1a8643fb9a93ae6c4894f015.html#resource-specific-parameters
protocol -> https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/177d34d45e3d4fd99f4eeeffc5814cf1.html#module-specific-parameters
app-name -> https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/177d34d45e3d4fd99f4eeeffc5814cf1.html#module-specific-parameters
timestamp -> https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/177d34d45e3d4fd99f4eeeffc5814cf1.html#module-specific-parameters

The documentation has been updated


Hi, does this updater support AOT with avalonia 11?

I couldn't find the relevant information.

Hi @IronEaterBeast, great question and don't worry, you didn't miss the info somewhere :smile:. Answer: Don't know for sure myself as I've never tried, but probably not...? I think we'd need to use Avalonia's compiled bindings and make the System.Text.Json stuff use the appropriate source generator. And check if the other external libraries were AOT compatible.
PR's and enhancements from anyone in this regard would be great!

Hi @IronEaterBeast, great question and don't worry, you didn't miss the info somewhere 😄. Answer: Don't know for sure myself as I've never tried, but probably not...? I think we'd need to use Avalonia's compiled bindings and make the stuff use the appropriate source generator. And check if the other external libraries were AOT compatible.System.Text.Json
PR's and enhancements from anyone in this regard would be great!

Hi @IronEaterBeast, great question and don't worry, you didn't miss the info somewhere 😄. Answer: Don't know for sure myself as I've never tried, but probably not...? I think we'd need to use Avalonia's compiled bindings and make the stuff use the appropriate source generator. And check if the other external libraries were AOT compatible.System.Text.Json
PR's and enhancements from anyone in this regard would be great!

OK, got it , thank you.

@IronEaterBeast  Hey by the way, the latest preview version of NetSparkle supports trimming! Enjoy. :-)

So, does the latest preview version support AOT? Because AOT is dependent on trimming.

I did a test with NetSparkle.Tests.Trimming, and I was able to create an AOT app.
The new AsmResolverAccessor has an AOT single file warning where you may get unexpected behavior with its call to Assembly.GetEntryAssembly().Location, but to avoid that, just create your own AsmResolverAccessor and make sure to pass it the path of your assembly, and/or create your own AssemblyAccessor that does what you need.


feat: add flag to skip git initialization

By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.
Problem/Feature
Sometimes you want to manage git config by repo not global, so this PR includes a flag to skip all the git initialization commands, except for the .gitignore injection.
Description of Changes:

Add a boolean flag called --skip-git or -s
Add parameter to the project.CreateMainFile function to check whether this flag is set or not
Add condition to all the git checks in the CreateMainFile function using this new value

Checklist

[x] I have self-reviewed the changes being requested
[x] I have updated the documentation (check issue ticket #218)

Thank you for your contribution, but issue #249, which addresses the Git implementation, was assigned to the person who initially suggested it (PR #270).
We hope you will find another issue that can be addressed, and we look forward to your future contributions.


Refresh token

Hey,
I've been working with this API a bit and I really like it. I have one question. As far as I know, normally you get an authorization code and a refresh code (at least it is like that in my Java application, where it generates the new codes automatically). Here I have to generate a new access code often by myself because else the "access token is invalid" (401).
Am I doing something wrong or is refreshing the codes not possible with JavaScript?
Thank you,
Adam

This wrapper is intended to be used client-side. You set the access token obtained through the implicit grant flow or the authorization code one. The latter needs to happen server-side, so you can provide your client secret in a secure way.
If you need to refresh your token you need to make a request server-side, then pass the access token to the browser. A way you can implement this is that the browser makes a request to your backend to refresh the token when it gets a 401 response from the Web API.
Let me know if that helps.

Thank you! Resolved my issue. :)


support for query of non-english documents

Describe the feature you'd like
requesting support for inquiry of non-english documents indexed in Kendra, with configuration options during the GenAI application setup.
Additional context
I have many non-English documents already indexed in Kendra. I can search those inside Kendra when specifying the default language of the source documents (as in captured screenshot). I wish to achieve the same result using the GenAI application builder, taking advantage of the LLM models in Bedrock.

Hi @michlin0825 that for opening this issue and for using Generative AI Application Builder on AWS.
We are actively looking into the best way to expose knowledge base specific configuration parameters, such as language to the wizard ui. With the release of v1.3.0 with PR https://github.com/aws-solutions/generative-ai-application-builder-on-aws/pull/53 we have added backend support to specify the language for the kendra index. After deploying a chat use case, you can update the AWS Systems Manager (SSM) Parameter Store parameter for the deployment to specify an AttributeFilter JSON object that will be picked up by Kendra.
To locate the SSM parameter, note down the use case ID for your deployment, which is the last 8 digits of the name of the CloudFormation stack for the chat deployment. Navigate to the AWS Console > Systems Manger > Parameter Store, and locate the /gaab-ai/use-case-config/<use-case-id>. Then follow the instructions on our Implementation Guide to specify the language parameter.

As of release v2.0.0, the attribute filter is available in the knowledge base step of the wizard, and can be used to configure the language code. Closing this issue. Please reach out if you have any other questions.


[Login/SignUp popup]

Description
when clicking on login signup button nothing happens i want to add a login signup popup where users can add email and their name if thet want to login and email, name password if thet want to signup.
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I'm a GSSoC'24-Extd contributor
[X] I'm a Hacktoberfest'24 contributor
[X] I am willing to work on this issue (optional)

@mdazfar2  please assign this issue to me.

@Abhishek2634 As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you.

Don't forget to join our official Discord server.
And also follow us on Linkedin
And please ⭐ our repo


Add Work Item Association by Id

Reference: 1608E102/1608E063
Description
As a user, I want to associate other work items in the system with a work item on the work item detail view.
Functional Acceptance Criteria

The user can add other work items by entering the Id or the URL of the other work item.
The associated work item entry list is instantly updated with the new association.
Entering an unknown or illegal value displays an error message.
It is not possible to associate work items to themselves.
The created association is shown on both sides (source and target) of the association.

Non-functional Acceptance Criteria
None.
Dependencies

Userstory #306
Userstory #298

Just to confirm, is the user able to enter link multiple internal work items to a work item? Will any problems result if a user cross links two work items to each other? Or if they inadvertently link a work item to itself?

@ldimaggi updated the story :-)

Note: the crosslinking could require a big effort or a breaking up of this story.

To clarify: the item links are not classified by their meaning ("blocks", "related to", "duplicate", etc.)?

Do we need UX readily available to commence this work? Especially I am in interested in the REST API part.

@baijum I would say yes. We all can kinda imagine how this might look on a technical level, but until UX has done their magic and we've done an iteration with them to verify it's technically possible, then let's retain from going deep into any given technical solution. We don't want to limit what the UX can do because we implemented 'something' already. Or redo what we've done because it doesn't match UX.

Ok, I will watch this: https://github.com/almighty/almighty-ui/issues/69

@michaelkleinhenz I am not following how 307 + 308 are different and almighty/almighty-ui#69...

UX is here: https://github.com/almighty/almighty-ux/issues/3

@Mgranfie almighty/almighty-ui#69 is the old system, #308 is currently in unknown draft state, see https://github.com/almighty/almighty-core/issues/308#issuecomment-250444065

@michaelkleinhenz I am creating a story for this in the UX teams JIRA. Would you say that this accurately captures the request?
As a user of the ALM tool, I should be able to establish a relationship to another work item, via a URL.

I want to clarify that we are not including any qualifiers for the links. For example: "is dependent on", "is related to", "is blocked by", or are these included? Please let me know if these are part of the requirements.

@michaelkleinhenz @Mgranfie Given @aslakknutsen 's comment I think, that types are included in the links.

@kwk @Mgranfie @aslakknutsen on the qualifiers for links: I would suggest not changing the story that's in progress on the sprint with a new feature that might have a big impact. So for now, the story only requires links with a default qualifier. If the team can achieve more, that's fine but I would not "inject" a change with unknown impact into a running sprint. Everything else is the decision of the implementing team.

@michaelkleinhenz #306 States they should be viewed as a list of ID, Title and Type. And the UX for this also show a Type both on view and Add.

Hi Michael,
I agree that scaling back is a good thing. How the design adjusts back to
this, want to make sure I am following.
Can you tell me what is meant by "links with a default qualifier"? This way
I can comment on the story to recommend where to pull back to achieve the
sprint goal.
Thanks,
Monica
On Thu, Oct 6, 2016 at 6:15 AM, Aslak Knutsen<EMAIL_ADDRESS>wrote:

@michaelkleinhenz https://github.com/michaelkleinhenz #306
https://github.com/almighty/almighty-core/issues/306 States they should
be viewed as a list of ID, Title and Type. And the UX for this also show a
Type both on view and Add.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/almighty/almighty-core/issues/307#issuecomment-251921685,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARTwq_sT6qcLqY-kzFIzy_60SYLqmPR8ks5qxMovgaJpZM4KIxeq
.