Command Line runner needed to automate unit testing

The Unit Testing Framework in the Unit Test example is basic but workable for writing tests.
However, there seems little point when I can't run the tests automatically on checkin, or include the test results in my favourite build & test suite, such as Visual Studio Team Services.
As far as I can tell, there appears to be no way to run PowerQuery scripts from PowerShell, let alone cmd, and even if there were, there doesn't seem to be a way to output the unit test results to any sort of file, let alone something that would be parseable by the test result publisher in VSTS
Would it be possible to create a generic command-line interface?
something great would be, in powershell:
PS> Invoke-PowerQuery UnitTesting.query.pq | ft

Result    Notes                                          Details
------    -----                                          -------
Success   All 4 Passed !!! ✓                             100% success rate
Success ✓ Check that this function returns 'ABC'         ("ABC" = "ABC")
Success ✓ Check that this function returns '123'         ("123" = "123")
Success ✓ Result should contain 5 rows                   (5 = 5)
Success ✓ Values should be equal (using a let statement) ("Hello World" = "Hello World")

It would also be ideal if there were a cmdlet that would take that result and parse it into NUnit or TRX format.

We would love to have this feature but we don't have anything set for it currently.


[BUG] Ver 1.9.4 dont work with HA 2023.3.6

Ver 1.9.4 dont work with HA 2023.3.6

Hi @limitless00net and @tbrasser, anything about this from your side?

@Vasa211 next time please try to fill out the issue template it helps us to help you.

That was my mistake I should have had released a new major version. I have re-released 1.9.4 as 2.0.0 with an additional warning at the top of the description.


refactor: inline os_zalloc for internal linkage

Change os_zalloc to use static inline so that it uses internal linkage.
The libeap library also has it's own os_zalloc, which is causing linking errors. We can easily avoid this by inlining the edgesec version of os_zalloc. The function is literally just one-line of code, so inlining it should basically change nothing.

I made this commit to replace https://github.com/nqminds/edgesec/pull/380/commits/93d8c8a827c243cde9ffd4df20e5d6f1a77a02aa, since there's no need to rename os_zalloc to sys_zalloc if we can just inline the function.

Eventually we will have to replace again sys_"name" to os_"name"

I've tried to always add #define os_"name"(...args) edge_os_"name"(...args), so that we only need to change the os.h and os.c file, and we don't need to change where the functions are called. It makes the git diff a lot smaller, and means that there are much much less merge conflicts.


Add totals calculation to get_objects_frequencies2

Add totals calculation to get_objects_frequencies2
I have tested this on artificial data

This branch was merged to https://github.com/th2-net/th2-data-services/pull/269 that will be merged to dev2.0.0
So close the PR, thanks.


Model loading Issues

Hi @ypwhs,
I tired to load the 'model.h5' weights to the CTC model, by using Keras 2.1 and Python 3.6
The network architecture is as the same as yours.
After evaluation, the accuracy is 0.005.
Any ideas on it?
Thanks.

I have this a question.when I have trained the model  ,but the accuracy is 0.00.I ask other student,they talk me about the missing data


Add VNC-Viewer.vm

Package Name
vnc-viewer
Tool Name
VNC-Viewer
Package type
Other
Is the tool a console application?
false
Tool's version number
7.5.1
Category
Android
Tool's authors
RealVNC
Tool's description
Tool for connecting to and interacting with VNC servers.
Download URL
https://downloads.realvnc.com/download/file/viewer.files/VNC-Viewer-7.5.1-Windows.exe
Download SHA256 Hash
dc66f6a2c7341ffbf2711cd19873343da6ece529c82a492a0d97909523121cfb
Why is this tool a good addition?
VNC servers make a common appearance on internal networks. After recovering credentials or when dealing with unauthenticated applications, the VNC viewer can be used to interact with the computer with a VNC server running.

Found there was an existing package; remaking as metapackage


HTTP1 content-length

If envoy receive a HTTP1 request whose content-length is  10000, but actually there is no any data in the http body. Should envoy validate the HTTP request or just forward it to upstream server without any validation ?

Refer to rfc7230

If a message is received without Transfer-Encoding and with either multiple Content-Length header fields having differing field-values or a single Content-Length header field having an invalid value, then the message framing is invalid and the recipient must treat it as an unrecoverable error. If this is a request message, the server must respond with a 400 (Bad Request) status code and then close the connection. If this is a response message received by a proxy, the proxy must close the connection to the server, discard the received response, and send a 502 (Bad Gateway) response to the client. If this is a response message received by a user agent, the user agent must close the connection to the server and discard the received response.

From the rfc, it seems that it does not define the behavior for a proxy when it receives the request.  From my test in envoy, envoy does validate the content-length with the real data.


Let 1346 fe improve map layers options visibility

This PR updates the map layer selector
Testing instructions
OBS: the search box changes will be addressed in other PR (other task)
Design

Start the map with HeCo Priority landscapes turned on

Map layers button: Change the label to “Map data“ and add the number of layers

Add info button to the layer in the legend with the following behaviours:

Hover: show layer description
Click : Show modal with layer details

Layers list: change the behaviour of the info button to the same as above

Tracking
LET-1346

@barbara-chaves I noticed a regression on the map (that is not caused by your PR): the order of the layers on the map doesn't correspond to the order of the layers in the legend. I will create a task in the backlog.


Errors when initializing flow object for vue project

Hello there seems to be an issue when using this library in a vue project creatd with vue CLI, I have tried to import and  configure the flow object using the following code:
import Flow from<EMAIL_ADDRESS>
var flow = Flow ({
target: 'my url target...',
})

However this fails with the following error:
vue.runtime.esm.js?2b0e:1888 TypeError: Cannot set property 'support' of undefined
    at Flow (flow.js?ebc7:46)
    at VueComponent.created (MyComponent.vue?e04b:192)
    at invokeWithErrorHandling (vue.runtime.esm.js?2b0e:1854)
    at callHook (vue.runtime.esm.js?2b0e:4219)
    at VueComponent.Vue._init (vue.runtime.esm.js?2b0e:5008)

It fails when I use it in the main.js to set the flow object as a vue prototype and  if I use it directly inside a vue component as well...
Can anyone help?

I just created a new project with vue create flowtest, added and installed @flowjs/flow.js, and quickly initialized Flow inside App.vue without issue 🤔Here's a working example that brings up the open/save dialog and accepts drag-and-drop:
https://github.com/command-tab/flowtest

You are correct it does initialize the object correctly, my mistake was missing the New operator. Thank you.


AMYDeleteView and RedirectSupportMixin achieve different redirection

The next param to the AMYDeleteView is a POST param while to any view subclassing the RedirectSupportMixin mixin, the next param is a GET param. The two achieve the same thing, but differently.
I propose that we strip the AMYDeleteView of any redirect support and use RedirectSupportMixin along with AMYDeleteView.

Sounds good to me (y)


 I'm glad my work got contribution but I need time to understand the workflow. If you explain what is to do from my side, it would be helpful.
Thank you so much! Have a good day 🕊

No issue, never feel dumb please! It takes is something I learned later it takes a stronger developer to ask for help/questions!
No one will hire me and I'm bored so no issues about the contributing, I like @tauri so a learning curve for me too.
Let me know if these releases work for you? https://github.com/jswhisperer/fylepad/releases/tag/app-v0.3.0
You have Windows?

If so

click https://github.com/imrofayel/fylepad/settings/secrets/actions
and click create new secret
NPM_TOKEN with you're tiptap token "long string" from here https://cloud.tiptap.dev/pro-extensions ("image below")

I cannot unless I'm an admin on the repo

closing in favour of https://github.com/imrofayel/fylepad/pull/17


Compatibility issues with "Multi Mine"

"Multi Mine" has the function of maintaining the progress of excavation. When used together, the effect of 'HT's TreeChop' will disappear when cutting trees. The wood will not become thinner but will fall directly. The trees will float in the air just like the original version.

Thanks for reporting, and sorry for the delay. Which versions of Minecraft, TreeChop, and Multi Mine are you using?

See https://github.com/hammertater/treechop/issues/283#issuecomment-2253767531

As of TreeChop 0.19.1, I got around this issue by disabling MultiMine while chopping. Only for Minecraft 1.19.2 at the moment, will port to 1.20.1 and 1.21 shortly.

Closing this issue as a duplicate of https://github.com/hammertater/treechop/issues/283

Thank you for your work and look forward to the new version of 1.20.1.❤


Add new options to hipblaslt-bench

Add options algo_method and requested_solution.
The option algo_method is to choose which searching API.
0-	getHeuristic
1-	getAllAlgos
2-	getSolutionByIndex
Currently 2 does not allow the user to choose their own index but only use the API to call the first runnable kernel for any input problem.
The option api_method is to choose which APIs to call,
0-	The cublaslt style API
1-	The cublaslt style matrix declaration + C++ style API
2-	Pure C++ style API
requested_solution is only valid when algo_method is set to 0.
Example command to run getAllAlgos with C++ style API with default size,
./clients/staging/hipblaslt-bench --api_method 2 --algo_method 1

hit errors on gfx90a:
./clients/staging/hipblaslt-bench --requested_solution 2
corrupted size vs. prev_size
Aborted (core dumped)


switch copy/paste lcsc part numbers to a right click menu

Oh god, I love it 😁

Thank you so much for your efforts!


官网样式链接404

Describe the bug
Edge，官网 Edge 中 style 中 The complete configurations is listed in: Shape Properties 中的链接 404
Your Example Website or App
https://g6.antv.vision/en/docs/api/Items/edgeProperties
Steps to Reproduce the Bug or Issue
check describe
Expected behavior
can open the style link
Screenshots or Videos
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

感谢报告，我们会尽快修复

已修正，再次感谢


[Question] - Orangepi5b arm64 - failed to create virtual keyboard device: could not open device file

Hi, I am trying to run this on organipi5b arm64, followed the steps from readme.
My go version is - go version go1.20.5 linux/arm64
Build from source
git clone https://github.com/mafredri/magic4linux.git
cd magic4linux/cmd/magic4linux
GOOS=linux GOARCH=arm64 go build

Output:

Running the app
╭─orangepi@orangepi5b in ~/Downloads/magic4linux/cmd/magic4linux on main ✔ (origin/main)
╰$ ./magic4linux
panic: failed to create virtual keyboard device: could not open device file

goroutine 1 [running]:
main.main()
	/home/orangepi/Downloads/magic4linux/cmd/magic4linux/main.go:28 +0xd8

Any idea what I could be missing? Also I wonder if I should pass in the ip address of my TV or anything? Any advice is massively appreciated.!

I seems you're trying to run it as non-root, so my guess is that /dev/uinput permissions are lacking. There's a link in the readme for how to fix this.

Also I wonder if I should pass in the ip address of my TV or anything?

As long as your orangepi and TV are on the same network, they should be able to find each other just fine, so no IPs are necessary (or supported for that matter 😅).
Hope this helps.

@mafredri  -  Thank you so much mate! That solved the problem!!!!  I no longer see that error.
Here are the steps that I had to run: (I did this step earlier but looks like I had a typo in my command when I copy pasted it)
echo KERNEL==\"uinput\", GROUP=\"$USER\", MODE:=\"0660\" | sudo tee /etc/udev/rules.d/99-$USER.rules
sudo udevadm trigger
reboot

I have the magic4pc server installed on my TV

and have ./magic4linux running in vscode

However, the magic remote does not seem to be working. Also not seeing anything in the logs. Do you have any suggestions there?


HAWQ-660. Change segment resource manager log level when failing in updating memory quota

+1

+1


AnalysisException: java.lang.NullPointerException after 7.1.2 Update

Describe the bug
We use Dependency Check as an Azure Task and after the update from 7.1.1 to 7.1.2 it fails with a java.lang.NullPointerException in MSBuildProjectAnalyzer. We DID NOT update/change our code, especially not the csproj file.
Version of dependency-check used
owasp-dependency-check 7.1.2 x64
- task: OWASPDependencyCheck@0
  inputs:
    outputDirectory: '$(Agent.TempDirectory)/dependency-scan-results'
    scanDirectory: '$(Build.SourcesDirectory)'
    outputFormat: 'ALL'
    useSonarQubeIntegration: true
    additionalArguments: |
      --log $(Build.ArtifactStagingDirectory)/owasp.log

Log
WARN  - An error occurred while analyzing 'D:\a\1\s\XXX\XXX.csproj' (MSBuild Project Analyzer).
2022-08-23 14:01:45,990 org.owasp.dependencycheck.AnalysisTask:91
DEBUG -
org.owasp.dependencycheck.analyzer.exception.AnalysisException: java.lang.NullPointerException
	at org.owasp.dependencycheck.analyzer.MSBuildProjectAnalyzer.analyzeDependency(MSBuildProjectAnalyzer.java:174)
	at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:131)
	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88)
	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.NullPointerException: null
	at org.owasp.dependencycheck.data.nuget.XPathMSBuildProjectParser.parse(XPathMSBuildProjectParser.java:74)
	at org.owasp.dependencycheck.analyzer.MSBuildProjectAnalyzer.analyzeDependency(MSBuildProjectAnalyzer.java:120)
	... 7 common frames omitted

DEBUG - unexpected error
org.owasp.dependencycheck.analyzer.exception.AnalysisException: java.lang.NullPointerException
	at org.owasp.dependencycheck.analyzer.MSBuildProjectAnalyzer.analyzeDependency(MSBuildProjectAnalyzer.java:174)
	at org.owasp.dependencycheck.analyzer.AbstractAnalyzer.analyze(AbstractAnalyzer.java:131)
	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:88)
	at org.owasp.dependencycheck.AnalysisTask.call(AnalysisTask.java:37)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:750)
Caused by: java.lang.NullPointerException: null
	at org.owasp.dependencycheck.data.nuget.XPathMSBuildProjectParser.parse(XPathMSBuildProjectParser.java:74)
	at org.owasp.dependencycheck.analyzer.MSBuildProjectAnalyzer.analyzeDependency(MSBuildProjectAnalyzer.java:120)
	... 7 common frames omitted
2022-08-23 14:02:13,241 org.owasp.dependencycheck.utils.Settings:825
DEBUG - Deleting ALL temporary files from `C:\Users\VSSADM~1\AppData\Local\Temp\dctempf9284a0c-d4b9-473c-8c57-b7d142ba9efe`
2022-08-23 14:02:13,241 org.owasp.dependencycheck.App:88
DEBUG - Exit code: -14

To Reproduce
Rerun the task. I know this doesn't help much, but since we didn't change anything I don't know how to reproduce it properly.
Expected behavior
That it runs again like the 7.1.1 version

Seems a regression from #4678 that doesn't consider a missing version element

  <ItemGroup>
    <PackageReference Include="WPI_UXT_ShelfVariantNumber" version="1.0.3" />
    <PackageReference Include="System.Resources.Extensions" Version="6.0.0" />
  </ItemGroup>

We use our references like this.

I notice that 1st line does not have "Version", but "version"

You are right. I updated every "version" to "Version" and now it is working without an exception.
The compiler doesn't mind if it is upper- or lowercase, so probably the parser should be fixed anyway.
Thank you for your help :)

I can confirm that this is due to a missing version Element or Attribute for a package reference.
We still need this fixed (even if the original poster has his problem fixed) because we are not using the "Version" element or attribute for one of our packages for which the version is centraly managed. The scanner doesn't seem to recognize options to centraly manage package versions, for example in a Directory.Build.targets file somewhere in a parent directory (as we do) or any other method described here: https://www.mytechramblings.com/posts/centrally-manage-nuget-versions/
So at least as long as that is not the case, the scanner should not crash because of a missing package version (though it shouldn't crash because of that anyways). Because of that no dependency check report is uploaded to our builds at the moment. So we are still having problems with this and cannot "fix" our code cause there's nothing to fix for us, we're using a documented and approved versioning method for packages.

We ran into the same issue, changed the version to Version for now.

I've created a pull request https://github.com/jeremylong/DependencyCheck/pull/4796 that will fix the bug introduced with PR https://github.com/jeremylong/DependencyCheck/pull/4678 (thanks @mprins for pointing to this PR, helped a lot).
Note: Lower case version elements/attributes weren't interpreted before either, it just didn't throw a NullPointerException. This behaviour as well as that there's no more exception thrown on missing version elements/attributes will be restored with this PR. In the future it may be wise to extend the functionality to check for the MSBuild xml elements case insensitive, but that would go beyond this bugfix.

Fix was merged and released with 7.2.0


Support DequantizeLinear

https://github.com/onnx/onnx/blob/master/docs/Operators.md#DequantizeLinear

ChainerCI test this please!

ChainerCI test this please!


Inspect message and consumer counts for a queue.

Minor change to fetch message and consumer counts for a queue by name.

@phensley Thank you!
Looks good to me but before merge I'd like to see in what context this will be used. Could you please provide more background on this?

The use case we have is for a daemon to be aware of a queue's current size, and whether there are > 0 consumers, and be able to take action.

@phensley would it make if for you cony will expose current *amqp.Connection through some getter?

@kron4eg You could export Connection() (*amqp.Connection, error) and I could move the QueueInspect method into my own code.

@phensley yeah, that's what I meant.

@kron4eg Works for me.

re #34301
comment

re breakout/#14

re weban-a/#300


rubysrc2cpg: Use XConfigFileCreationPass

Do you think it would be a good idea for XConfigFileCreationPass to expose rootDir? In this particular example, it would allow us to remove the inputPath parameter from rubysrc2cpg's ConfigFileCreationPass?


Auto approve leaves added by managers

When manager/approver adds leave on behalf of employee autoapprove it regardless user settings.
As per customer feedback:

A suggestion for future releases would be that if the Manager is
inputting the absence then it should probably be automatically
approved but still require approval if the employee inputs the
absence.

Any update on this feature


EmrEtlRunner: prepend region name to raw event files

In this function:
https://github.com/snowplow/snowplow/blob/master/3-enrich/emr-etl-runner/lib/snowplow-emr-etl-runner/s3_tasks.rb#L71
This will make it easier for people who are running multiple Clojure Collector clusters, one each per region.
/cc @yalisassoon

Bringing this forward as there are other filename-related tickets in this release...

Note: we should append, not prepend, to make sorting by timestamp easier. /cc @yalisassoon


Triggering Ember CLI rebuild not working reliably

For the first request to _analyze the middleware lazily enables the stats output in broccoli-concat and triggers a rebuild (to generate the stats output for the first time) by touching app.js (here.
This kinda works, but not always:

it does  work when running ember s inside the addon, thus serving tests/dummy/app (it touches tests/dummy/app/app.js)

it does  work when running inside an app, and using watchman

it does not work when running inside an app without  watchman, i.e. sane is using fs.watch. Instead of touching the file, I also tried appending new lines, or adding a completely new file. All that works, but it does not trigger a rebuild. If however I touch it outside of the node process, e.g. on the shell or my IDE, it rebuilds as expected. As if it is ignoring file events caused by its own process? Although it does work for the dummy app!? 🤔

This is on OSX btw.
@stefanpenner sorry for pinging you, but I am pulling my hairs out on this, and already lost a few hours trying things out wildly without really having a clue... with all your insider knowledge of Ember CLI, sane and stuff, any idea about this?

@simonihmig I'm oncall this week, so my time is pretty limited. If you ping me next tuesday, I can carve out some time :).

@stefanpenner ping! :)
Don't want to steal your time, I just thought maybe this rings a bell? Like any known issues with file watching that you might know of?


Start 1.20-broken branch

This branch will just be a clean 1.20 forge build with ChessMod pieces grafted on so we can piece by piece force it to work.

Messy, but done.

CHES-1 The Jira connection


Heatpump Steering with Integration into Thermia API

Heatpump integration
Thermia Heatpump Strategy
The Thermia heat pump integration in this software is designed to optimize the operation of your heat pump based on electricity prices, energy consumption, and energy production forecasts. The strategy aims to minimize energy costs by adjusting the heat pump's operating modes according to predefined rules and configurations.
Thermia Online API Extension
The Thermia Online API (https://github.com/klejejs/python-thermia-online-api) has been forked and extended (https://github.com/hashtagKnorke/thermia-online-api/tree/add_calendars) to leverage the Calendar function schedule API of Thermia Online API for setting up the behavior of the Thermia heat pump. This extension allows to control the heat pump based on predefined schedules and energy price forecasts.
Integration of the fork
The changes in the fork have been raised as a PR (https://github.com/klejejs/python-thermia-online-api/pull/48) so that they might converge into the mainstream library. For the meantime, the fork has been integrated into the batcontrol repo as a a submodule, integrating the library as sourcecode during dockerfile build.
In case the directory is not in path a small hack in (https://github.com/hashtagKnorke/batcontrol/blob/be5f4eb2df73936234807a4ff355b7d1a9da882e/heatpump/thermia_heatpump.py#L36) tries to add the subdir to the python path so that the import succeeds.
Key Enhancements

Calendar Function Integration: The API now supports the Calendar function, enabling users to define and manage schedules for the heat pump's operation. This allows for automated adjustments to the heat pump's modes based on time and energy price forecasts.

Enhanced Scheduling: Users can create, update, and delete schedules for the heat pump. These schedules can specify different operating modes for different times of the day, optimizing energy usage and cost savings.

API Methods
The following methods have been added to the Thermia API to support the Calendar function:

get_schedules(installation_id: str): Retrieves the schedules for a given installation.
add_new_schedule(installation_id: str, data: dict): Adds a new schedule for a given installation.
delete_schedule(installation_id: str, schedule_id: int): Deletes a schedule for a given installation.

These methods allow for full control over the scheduling of the heat pump's operation, enabling users to optimize energy usage and minimize costs effectively.
Benefits

Cost Savings: By scheduling the heat pump to operate in energy-saving modes during high price periods, users can significantly reduce their energy costs.
Automation: The integration with the Calendar function allows for automated control of the heat pump, reducing the need for manual adjustments.
Flexibility: Users can define multiple schedules with different operating modes, providing flexibility to adapt to changing energy prices and consumption patterns.

To get started with the extended Thermia Online API, refer to the documentation and configure the necessary settings in the config/batcontrol_config.yaml file.
Key Components

ThermiaHighPriceHandling: Manages settings to handle high price periods.
ThermiaStrategySlot: Represents a strategy decision for a specific time slot.
ThermiaHeatpump: The main class that manages and controls the Thermia heat pump.

Strategy Overview
The strategy involves setting the heat pump to the most energy-saving mode during high price periods while considering the following modes:

E: EVU Block: Activated when electricity prices are high. Maximum energy saving, deactivating heating and Hot water production.
B: Hot Water Block: Activated to block hot water production during high price periods.
R: Reduced Heat: Lowers the heating effect to save energy.
N: Normal mode: No adjustments to heatpump behaviour.
H: Increased Heat: Increases heating when energy is cheap or there is a PV surplus.
W: Hot Water Boost: Boosts hot water production when there is an energy surplus.

Configuration Parameters

min_price_for_evu_block: Minimum price to trigger EVU block mode.
max_evu_block_hours: Maximum hours per day for EVU block mode.
max_evu_block_duration: Maximum continuous duration for EVU block mode.
min_price_for_hot_water_block: Minimum price to trigger hot water block mode.
max_hot_water_block_hours: Maximum hours per day for hot water block mode.
max_hot_water_block_duration: Maximum continuous duration for hot water block mode.
min_price_for_reduced_heat: Minimum price to trigger reduced heat mode.
max_reduced_heat_hours: Maximum hours per day for reduced heat mode.
max_reduced_heat_duration: Maximum continuous duration for reduced heat mode.
reduced_heat_temperature: Temperature setting for reduced heat mode.
max_price_for_increased_heat: Maximum price to trigger increased heat mode.
min_energy_surplus_for_increased_heat: Minimum energy surplus to trigger increased heat mode.
max_increased_heat_hours: Maximum hours per day for increased heat mode.
max_increased_heat_duration: Maximum continuous duration for increased heat mode.
increased_heat_temperature: Temperature setting for increased heat mode.
max_increased_heat_outdoor_temperature: Maximum outdoor temperature for increased heat mode.
min_energy_surplus_for_hot_water_boost: Minimum energy surplus to trigger hot water boost mode.
max_hot_water_boost_hours: Maximum hours per day for hot water boost mode.

Operation
The software continuously monitors electricity prices, energy consumption, and production forecasts. Based on these inputs and the current state of charge (SOC) of the battery, it dynamically adjusts the heat pump's operating mode to optimize energy usage and minimize costs.
The strategy is recalculated every three minutes to ensure that the heat pump operates in the most cost-effective manner, taking into account the latest forecasts and current conditions.
To configure the Thermia heat pump integration, you will need to adapt the settings in config/batcontrol_config.yaml.
Example Log Output illustrating the behaviour
2024-12-29 16:14:17 DEBUG [Rule] Evaluating next 6 hours until 22:59
2024-12-29 16:14:17 DEBUG [Rule] Reserved Energy will be used in the next hours: [1]
2024-12-29 16:14:17 DEBUG [Rule] Reserved Energy: 1794.0 Wh. Usable in Battery: 0.0 Wh
2024-12-29 16:14:17 DEBUG [Rule] Discharge forbidden. Stored usable energy 0.0 Wh <= Reserved energy 1794.0 Wh
2024-12-29 16:14:17 DEBUG [Rule] Discharging is NOT allowed
2024-12-29 16:14:17 DEBUG [BatCTRL] Charging allowed: True
2024-12-29 16:14:17 DEBUG [Rule] Charging is allowed, because SOC is below 98%
2024-12-29 16:14:17 DEBUG [Rule] No additional energy required or possible price found.
2024-12-29 16:14:17 INFO [BatCTRL] Mode: Avoid Discharging
2024-12-29 16:14:17 DEBUG [ThermiaHeatpump] Planning until 2024-12-30 17:00:00+01:00
2024-12-29 16:14:17 DEBUG [ThermiaHeatpump] Replan from scratch: Deleted expired schedule CalendarSchedule(_CalendarSchedule__isRunning=False, _CalendarSchedule__isFaulty=False, _CalendarSchedule__id=182810, _CalendarSchedule__installationId='4881321', _CalendarSchedule__functionId=15004, _CalendarSchedule__start=datetime.datetime(2024, 11, 17, 13, 8), _CalendarSchedule__end=datetime.datetime(2024, 11, 17, 13, 18), _CalendarSchedule__recurringType=0, _CalendarSchedule__recurringOccurrence=1, _CalendarSchedule__value=None, _CalendarSchedule__isPaused=False)
2024-12-29 16:14:17 DEBUG [ThermiaHeatpump] Replan from scratch: Keeping schedule CalendarSchedule(_CalendarSchedule__isRunning=False, _CalendarSchedule__isFaulty=False, _CalendarSchedule__id=187763, _CalendarSchedule__installationId=4881321, _CalendarSchedule__functionId=15001, _CalendarSchedule__start=datetime.datetime(2024, 12, 29, 14, 0), _CalendarSchedule__end=datetime.datetime(2024, 12, 29, 22, 0), _CalendarSchedule__recurringType=0, _CalendarSchedule__recurringOccurrence=1, _CalendarSchedule__value=20, _CalendarSchedule__isPaused=False)
2024-12-29 16:14:17 DEBUG [ThermiaHeatpump] Replan from scratch: Deleted conflicting schedule CalendarSchedule(_CalendarSchedule__isRunning=False, _CalendarSchedule__isFaulty=False, _CalendarSchedule__id=187664, _CalendarSchedule__installationId='4881321', _CalendarSchedule__functionId=15001, _CalendarSchedule__start=datetime.datetime(2024, 12, 29, 16, 0), _CalendarSchedule__end=datetime.datetime(2024, 12, 29, 18, 0), _CalendarSchedule__recurringType=0, _CalendarSchedule__recurringOccurrence=1, _CalendarSchedule__value=20, _CalendarSchedule__isPaused=False)
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Reduced Heat at +1h due to high price 0.345
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Reduced Heat at +0h due to high price 0.3401
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Reduced Heat at +2h due to high price 0.3393
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Reduced Heat at +3h due to high price 0.3257
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Reduced Heat at +23h due to high price 0.3103
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Reduced Heat at +22h due to high price 0.3049
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Reduced Heat at +4h due to high price 0.3023
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +16h due to price 0.2985
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +15h due to price 0.2976
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +5h due to price 0.2946
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +17h due to price 0.2945
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +21h due to price 0.2945
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +19h due to price 0.2935
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +20h due to price 0.2907
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +14h due to price 0.2904
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +18h due to price 0.2888
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +7h due to price 0.2803
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +6h due to price 0.2802
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +13h due to price 0.2796
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +12h due to price 0.2772
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +8h due to price 0.2766
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +9h due to price 0.2766
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +11h due to price 0.2745
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Normal Heat at +10h due to price 0.2719
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Adjusted Heatpump Modes: ['R', 'R', 'R', 'R', 'R', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'N', 'R', 'R']
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Apply Mode R from +0h to +4h
2024-12-29 16:14:18 INFO [ThermiaHeatpump] Planning Strategy [R] starting at 2024-12-29 17:00:00+01:00, duration: 5:00:00
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Heatpump to REDUCED Heating (20) from 17:00 to 22:00
2024-12-29 16:14:18 INFO [ThermiaHeatpump] Created high price handler: HighPriceHandlingStrategy(schedule=CalendarSchedule(_CalendarSchedule__isRunning=False, _CalendarSchedule__isFaulty=False, _CalendarSchedule__id=187784, _CalendarSchedule__installationId=4881321, _CalendarSchedule__functionId=15001, _CalendarSchedule__start=datetime.datetime(2024, 12, 29, 17, 0), _CalendarSchedule__end=datetime.datetime(2024, 12, 29, 22, 0), _CalendarSchedule__recurringType=0, _CalendarSchedule__recurringOccurrence=1, _CalendarSchedule__value=20, _CalendarSchedule__isPaused=False))
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Cleanup complete. Remaining handlers: 1
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Apply Mode N from +5h to +21h
2024-12-29 16:14:18 INFO [ThermiaHeatpump] Planning Strategy [N] starting at 2024-12-29 22:00:00+01:00, duration: 17:00:00
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] No change in Heatpump mode from 22:00 to 15:00
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Cleanup complete. Remaining handlers: 1
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Apply Mode R from +22h to +24h
2024-12-29 16:14:18 INFO [ThermiaHeatpump] Planning Strategy [R] starting at 2024-12-30 15:00:00+01:00, duration: 3:00:00
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Set Heatpump to REDUCED Heating (20) from 15:00 to 18:00
2024-12-29 16:14:18 INFO [ThermiaHeatpump] Created high price handler: HighPriceHandlingStrategy(schedule=CalendarSchedule(_CalendarSchedule__isRunning=False, _CalendarSchedule__isFaulty=False, _CalendarSchedule__id=187785, _CalendarSchedule__installationId=4881321, _CalendarSchedule__functionId=15001, _CalendarSchedule__start=datetime.datetime(2024, 12, 30, 15, 0), _CalendarSchedule__end=datetime.datetime(2024, 12, 30, 18, 0), _CalendarSchedule__recurringType=0, _CalendarSchedule__recurringOccurrence=1, _CalendarSchedule__value=20, _CalendarSchedule__isPaused=False))
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Cleanup complete. Remaining handlers: 2
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Cleaning up high price strategies, currently 24 strategies
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Cleanup complete. Remaining strategies: 24
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] publishing strategy values (2 handlers, 24 strategies) to MQTT
2024-12-29 16:14:18 DEBUG [ThermiaHeatpump] Cleaning up all previously published handlers at heatpumps/0/handlers/
2024-12-29 16:14:18 DEBUG [MQTT] Deleting all topics with prefix batcontrol/heatpumps/0/handlers
2024-12-29 16:14:18 DEBUG [MQTT] Waiting for messages matching topic (batcontrol/heatpumps/0/handlers/#)
2024-12-29 16:14:21 DEBUG [MQTT] All topics with prefix batcontrol/heatpumps/0/handlers/# deleted
2024-12-29 16:14:21 DEBUG [ThermiaHeatpump] Cleaning up all previously published strategies at heatpumps/0/strategies/
2024-12-29 16:14:21 DEBUG [MQTT] Deleting all topics with prefix batcontrol/heatpumps/0/strategies
2024-12-29 16:14:21 DEBUG [MQTT] Waiting for messages matching topic (batcontrol/heatpumps/0/strategies/#)
2024-12-29 16:14:24 DEBUG [MQTT] All topics with prefix batcontrol/heatpumps/0/strategies/# deleted
2024-12-29 16:14:24 DEBUG [ThermiaHeatpump] strategy values (2 handlers, 24 strategies) published to MQTT
2024-12-29 16:14:24 INFO [Main] Next evaluation at 17:15:00. Sleeping for 35 seconds
2024-12-29 16:15:00 DEBUG [ThermiaHeatpump] Refreshing API values
2024-12-29 16:15:01 ERROR [ThermiaHeatpump] Failed to refresh API values: attribute name must be string, not 'tuple'
2024-12-29 16:15:01 DEBUG [FC Cons] predicting consumption: [2491.  1794.  1554.1 1217.2  958.3  753.   822.2  659.7  578.9  543.3
  539.9  850.3  842.4  724.6  962.9 1372.1 1303.2 1230.9 1134.8 1065.3
 1019.6 1303.6  824.  1184.3]
2024-12-29 16:15:01 DEBUG [BatCTRL] Production FCST: [  0.   0.   0.   0.   0.   0.   0.   0.   0.   0.   0.   0.   0.   0.
   0.  35. 206. 338. 426. 449. 408. 306. 181.  15.]
2024-12-29 16:15:01 DEBUG [BatCTRL] Consumption FCST: [2491.  1794.  1554.1 1217.2  958.3  753.   822.2  659.7  578.9  543.3
  539.9  850.3  842.4  724.6  962.9 1372.1 1303.2 1230.9 1134.8 1065.3
 1019.6 1303.6  824.  1184.3]
2024-12-29 16:15:01 DEBUG [BatCTRL] Net Consumption FCST: [2491.  1794.  1554.1 1217.2  958.3  753.   822.2  659.7  578.9  543.3
  539.9  850.3  842.4  724.6  962.9 1337.1 1097.2  892.9  708.8  616.3
  611.6  997.6  643.  1169.3]
2024-12-29 16:15:01 DEBUG [BatCTRL] Prices: [0.34  0.345 0.339 0.326 0.302 0.295 0.28  0.28  0.277 0.277 0.272 0.274
 0.277 0.28  0.29  0.298 0.298 0.294 0.289 0.294 0.291 0.294 0.305 0.31 ]
2024-12-29 16:15:01 DEBUG [Rule] Recharge possible in 6 hours, limiting evaluation window.
2024-12-29 16:15:01 DEBUG [Rule] Future price: 0.280 < Current price: 0.340 - min_price_diff. 0.050
2024-12-29 16:15:01 DEBUG [Rule] Evaluating next 6 hours until 22:59
2024-12-29 16:15:01 DEBUG [Rule] Reserved Energy will be used in the next hours: [1]
2024-12-29 16:15:01 DEBUG [Rule] Reserved Energy: 1794.0 Wh. Usable in Battery: 0.0 Wh
2024-12-29 16:15:01 DEBUG [Rule] Discharge forbidden. Stored usable energy 0.0 Wh <= Reserved energy 1794.0 Wh
2024-12-29 16:15:01 DEBUG [Rule] Discharging is NOT allowed
2024-12-29 16:15:01 DEBUG [BatCTRL] Charging allowed: True
2024-12-29 16:15:01 DEBUG [Rule] Charging is allowed, because SOC is below 98%
2024-12-29 16:15:01 DEBUG [Rule] No additional energy required or possible price found.
2024-12-29 16:15:01 INFO [BatCTRL] Mode: Avoid Discharging
2024-12-29 16:15:01 DEBUG [ThermiaHeatpump] No replanning necessary, already planned until 2024-12-30 17:00:00+01:00
2024-12-29 16:15:01 INFO [Main] Next evaluation at 17:18:00. Sleeping for 178 seconds
2024-12-29 16:18:00 DEBUG [ThermiaHeatpump] Refreshing API values
2024-12-29 16:18:01 ERROR [ThermiaHeatpump] Failed to refresh API values: attribute name must be string, not 'tuple'
2024-12-29 16:18:01 DEBUG [FC Cons] predicting consumption: [2491.  1794.  1554.1 1217.2  958.3  753.   822.2  659.7  578.9  543.3
  539.9  850.3  842.4  724.6  962.9 1372.1 1303.2 1230.9 1134.8 1065.3
 1019.6 1303.6  824.  1184.3]
2024-12-29 16:18:01 DEBUG [BatCTRL] Production FCST: [  0.   0.   0.   0.   0.   0.   0.   0.   0.   0.   0.   0.   0.   0.
   0.  35. 206. 338. 426. 449. 408. 306. 181.  15.]
2024-12-29 16:18:01 DEBUG [BatCTRL] Consumption FCST: [2491.  1794.  1554.1 1217.2  958.3  753.   822.2  659.7  578.9  543.3
  539.9  850.3  842.4  724.6  962.9 1372.1 1303.2 1230.9 1134.8 1065.3
 1019.6 1303.6  824.  1184.3]
2024-12-29 16:18:01 DEBUG [BatCTRL] Net Consumption FCST: [2491.  1794.  1554.1 1217.2  958.3  753.   822.2  659.7  578.9  543.3
  539.9  850.3  842.4  724.6  962.9 1337.1 1097.2  892.9  708.8  616.3
  611.6  997.6  643.  1169.3]
2024-12-29 16:18:01 DEBUG [BatCTRL] Prices: [0.34  0.345 0.339 0.326 0.302 0.295 0.28  0.28  0.277 0.277 0.272 0.274
 0.277 0.28  0.29  0.298 0.298 0.294 0.289 0.294 0.291 0.294 0.305 0.31 ]
2024-12-29 16:18:01 DEBUG [Rule] Recharge possible in 6 hours, limiting evaluation window.
2024-12-29 16:18:01 DEBUG [Rule] Future price: 0.280 < Current price: 0.340 - min_price_diff. 0.050
2024-12-29 16:18:01 DEBUG [Rule] Evaluating next 6 hours until 22:59
2024-12-29 16:18:01 DEBUG [Rule] Reserved Energy will be used in the next hours: [1]
2024-12-29 16:18:01 DEBUG [Rule] Reserved Energy: 1794.0 Wh. Usable in Battery: 0.0 Wh
2024-12-29 16:18:01 DEBUG [Rule] Discharge forbidden. Stored usable energy 0.0 Wh <= Reserved energy 1794.0 Wh
2024-12-29 16:18:01 DEBUG [Rule] Discharging is NOT allowed
2024-12-29 16:18:01 DEBUG [BatCTRL] Charging allowed: True
2024-12-29 16:18:01 DEBUG [Rule] Charging is allowed, because SOC is below 98%
2024-12-29 16:18:01 DEBUG [Rule] No additional energy required or possible price found.
2024-12-29 16:18:01 INFO [BatCTRL] Mode: Avoid Discharging
2024-12-29 16:18:02 DEBUG [ThermiaHeatpump] No replanning necessary, already planned until 2024-12-30 17:00:00+01:00
2024-12-29 16:18:02 INFO [Main] Next evaluation at 17:21:00. Sleeping for 178 seconds

Wow.
it seems this error was already addressed, wasn’t it?
`ˋˋ
2024-12-29 16:15:01 ERROR [ThermiaHeatpump] Failed to refresh API values: attribute name must be string, not 'tuple'
ˋˋˋ
@muexxl  I think we need to discuss this integration.

Wow.
it seems this error was already addressed, wasn’t it?
`ˋˋ
2024-12-29 16:15:01 ERROR [ThermiaHeatpump] Failed to refresh API values: attribute name must be string, not 'tuple'
ˋˋˋ

https://github.com/muexxl/batcontrol/commit/bd4675741c9dffa670e24c3d686f4b4a57292f9f contains the fix

Wow.
it seems this error was already addressed, wasn’t it? `ˋˋ 2024-12-29 16:15:01 ERROR [ThermiaHeatpump] Failed to refresh API values: attribute name must be string, not 'tuple' ˋˋˋ
@muexxl I think we need to discuss this integration.

YES. Time for a dev call


DO NOT MERGE

This PR has been created to gather CodeCov for a feature branch.

Codecov Report
Attention: 188 lines in your changes are missing coverage. Please review.

Comparison is base (7b507f3) 68.03% compared to head (2088a3c) 68.29%.
Report is 6 commits behind head on feature/test-main-passwordless.

Files
Patch %
Lines

.../Operations/Helpers/PasswordlessSignInHelper.swift
72.45%
46 Missing :warning:

...pport/Passwordless/AWSAuthPasswordlessClient.swift
0.00%
43 Missing :warning:

...ions/Helpers/PasswordlessConfirmSignInHelper.swift
68.57%
22 Missing :warning:

.../Categories/Auth/AuthCategory+ClientBehavior.swift
0.00%
20 Missing :warning:

.../Operations/Helpers/PasswordlessSignUpHelper.swift
86.73%
13 Missing :warning:

...equest/AuthPasswordlessOTPRequest+Validation.swift
21.42%
11 Missing :warning:

.../Auth/Request/AuthSignInWithMagicLinkRequest.swift
0.00%
7 Missing :warning:

...gories/Auth/Request/AuthSignInWithOTPRequest.swift
0.00%
7 Missing :warning:

...equest/AuthConfirmSignInWithMagicLinkRequest.swift
0.00%
5 Missing :warning:

...Auth/Request/AuthConfirmSignInWithOTPRequest.swift
0.00%
5 Missing :warning:

... and 5 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@                        Coverage Diff                         @@
##           feature/test-main-passwordless    #3396      +/-   ##
==================================================================
+ Coverage                           68.03%   68.29%   +0.26%
==================================================================
  Files                                1077     1098      +21
  Lines                               35959    36624     +665
==================================================================
+ Hits                                24466    25014     +548
- Misses                              11493    11610     +117

Flag
Coverage Δ

API_plugin_unit_test
67.07% <ø> (ø)

AWSPluginsCore
64.59% <ø> (ø)

Amplify
47.46% <0.00%> (-0.35%)
:arrow_down:

Analytics_plugin_unit_test
81.16% <ø> (ø)

Auth_plugin_unit_test
79.47% <76.92%> (-0.13%)
:arrow_down:

CoreMLPredictions_plugin_unit_test
59.44% <ø> (ø)

DataStore_plugin_unit_test
81.08% <ø> (+1.02%)
:arrow_up:

Geo_plugin_unit_test
70.75% <ø> (ø)

Logging_plugin_unit_test
63.09% <ø> (ø)

Predictions_plugin_unit_test
37.29% <ø> (ø)

PushNotifications_plugin_unit_test
87.03% <ø> (ø)

Storage_plugin_unit_test
78.00% <ø> (ø)

unit_tests
68.29% <71.85%> (+0.26%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


add debug mode for rancher machine provisioning with rke2

in rke2 provisioning  mode there is no way to enable debug mode for machine driver.
This PR fix the the problem by checking if global rancher log level is trace and if this is the case set --debug when launching machine provisioning pod

please merge


Addressing crash on deleting asset outside of DKImagePickerController

Proposal for fixing issue #579

it is working fine. Could you merge it?

Merged! Thanks all!


force:source:push fails on label that uses CDATA

Summary
If you try and push a labels files which contains a label whose value contains a CDATA section, the push fails with 'Error parsing file: Unexpected element'
Steps To Reproduce:
Sample repo

Run sfdx force:source:push -f for error
Remove .sfdx directory
Run sfdx force:source:legacy:push -f for success

Expected result
The file should be deployed without error.
Actual result
=== Component Failures [1]
Type   Name          Problem
Error  CustomLabels  Error parsing file: Unexpected element {http://soap.sforce.com/2006/04/metadata}p during simple type deserialization (8:19)
ERROR running force:source:deploy:  Deploy failed.

System Information
{
"cliVersion": "sfdx-cli/7.144.2",
"architecture": "darwin-x64",
"nodeVersion": "node-v16.6.0",
"pluginVersions": [
"@oclif/plugin-autocomplete 0.3.0 (core)",
"@oclif/plugin-commands 1.3.0 (core)",
"@oclif/plugin-help 3.3.1 (core)",
"@oclif/plugin-not-found 1.2.6 (core)",
"@oclif/plugin-plugins 1.10.11 (core)",
"@oclif/plugin-update 1.5.0 (core)",
"@oclif/plugin-warn-if-update-available 1.7.3 (core)",
"@oclif/plugin-which 1.0.4 (core)",
"@salesforce/sfdx-plugin-lwc-test 0.1.7 (core)",
"alias 1.2.1 (core)",
"apex 0.11.0 (core)",
"apexlink 2.3.2 (link) /Users/kevin/Projects/apex-link-sfdx-cli",
"auth 1.8.1 (core)",
"community 1.1.4 (core)",
"config 1.3.23 (core)",
"custom-metadata 1.0.12 (core)",
"data 0.6.11 (core)",
"generator 1.2.2 (core)",
"info 1.3.1 (core)",
"limits 1.3.0 (core)",
"org 1.11.2 (core)",
"salesforce-alm 54.1.0 (core)",
"schema 1.1.0 (core)",
"sfdx-cli 7.144.2 (core)",
"sfpowerkit 3.3.3 (link) /Users/kevin/Projects/sfpowerkit",
"source 1.9.2 (core)",
"telemetry 1.4.0 (core)",
"templates 54.3.0 (core)",
"trust 1.1.0 (core)",
"user 1.7.1 (core)"
],
"osVersion": "Darwin 21.3.0"
}

Hi @nawforce 👋
thanks for reporting this. We'll jump on it

After some investigation this issue is in the SDR library so it affects push and deploy. As a workaround you can continue to use the source:legacy:* commands until its fixed

This is fixed in the current CLI release candidate.

This fix is now in the latest CLI release, 7.146.1


Fails to load under WSL

Does this issue occur when all extensions are disabled?:  Yes and extensions all fail to load as well and extensions bisect does not run either

VS Code Version: Version: 1.64.2 (user setup)
Commit: f80445acd5a3dadef24aa209168452a3d97cc326
Date: 2022-02-09T22:02:28.252Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000

OS Version: Windows 11 Home: Version	10.0.22000 Build 22000

Steps to Reproduce:

Run code either under WSL or from WIndows
Code comes up but is stuck in an infinite loop, failing to load "remote WSL", i.e. previously working WSL folder

If you disable all extension, does the Remote WSL window come up?

close all VS Code windows
from a WSL terminal: code --disable-extensions .

If not, can you paste the WSL log here (Command: Remote-WSL: Show Log

Thanks. It gets stuck in an infinite loop "opening remote connection" and that Remote-WSL command does not exist.

However, I did find some ordinary log that may be relevant:
[2022-03-01 11:20:50.812] [exthost] [info] Extension host with pid 10144 started
[2022-03-01 11:20:50.812] [exthost] [info] Skipping acquiring lock for c:\Users\libor\AppData\Roaming\Code\User\workspaceStorage\9bb9bd6cf2e378d9095b13851f18df4d.
[2022-03-01 11:20:50.836] [exthost] [info] $getCanonicalURI invoked for authority (wsl)
[2022-03-01 11:20:50.843] [exthost] [info] ExtensionService#_doActivateExtension ms-vscode-remote.remote-wsl, startup: false, activationEvent: 'onResolveRemoteAuthority:wsl'
[2022-03-01 11:20:50.914] [exthost] [info] $resolveAuthority invoked for authority (wsl)

When I then restart it from WSL bash in the local directory, it gets stuck again, presumably because that WSL extension, when active,  is totally failing to read any WSL directories.

The wsl remote extension is stuck, it only shows the uninstall option but will not uninstall or do anything. I have tried several times uninstalling and reinstalling Code and its remote server but none of it makes any difference. Is there any way of cleaning up this wsl remote extension directly?

Can you paste a screenshot of the 'useless state'?

[2022-03-02 15:23:10.532] [renderer1] [warning] Settings pattern "keyboard." doesn't match any settings
[2022-03-02 15:23:10.988] [renderer1] [info] IExtensionHostStarter.start() took 57 ms.
[2022-03-02 15:23:11.628] [renderer1] [error] [Extension Host] (node:13016) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use Code --trace-deprecation ... to show where the warning was created)
[2022-03-02 15:23:11.922] [renderer1] [info] Invoking resolveAuthority(wsl)
[2022-03-02 15:23:12.145] [renderer1] [warning] Settings pattern "keyboard." doesn't match any settings
[2022-03-02 15:23:24.132] [renderer1] [warning] Settings pattern "keyboard." doesn't match any settings
[2022-03-02 15:23:39.336] [renderer1] [error] Unable to write to Folder Settings because no resource is provided.: Error: Unable to write to Folder Settings because no resource is provided.
at w.toConfigurationEditingError (vscode-file://vscode-app/c:/Users/libor/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1896:12622)
at w.validate (vscode-file://vscode-app/c:/Users/libor/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1896:16299)
at w.doWriteConfiguration (vscode-file://vscode-app/c:/Users/libor/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1896:9369)
at Object.factory (vscode-file://vscode-app/c:/Users/libor/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1896:9203)
at D.consume (vscode-file://vscode-app/c:/Users/libor/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:75:16521)
at vscode-file://vscode-app/c:/Users/libor/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:75:16336
at new Promise ()
at D.queue (vscode-file://vscode-app/c:/Users/libor/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:75:16260)
at writeConfiguration (vscode-file://vscode-app/c:/Users/libor/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1896:9188)
at x.writeConfigurationValue (vscode-file://vscode-app/c:/Users/libor/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1896:41576)
at vscode-file://vscode-app/c:/Users/libor/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1896:27299
at Array.map ()
at x.updateValue (vscode-file://vscode-app/c:/Users/libor/AppData/Local/Programs/Microsoft%20VS%20Code/resources/app/out/vs/workbench/workbench.desktop.main.js:1896:27287)
[2022-03-02 15:24:07.459] [renderer1] [warning] Settings pattern "keyboard." doesn't match any settings
[2022-03-02 15:24:14.995] [renderer1] [warning] Settings pattern "keyboard." doesn't match any settings
[2022-03-02 15:24:20.984] [renderer1] [warning] Settings pattern "keyboard." doesn't match any settings

What I still would like to see is the WSL Log. It's a tab in the terminal.
You can set "remote.WSL.debug": true to make sure it is shown.

Sorry, it says nothing, just 'session contents restored', after I close the remote connection and try to open a folder. Until then, it is just trying to open the connection.

Thanks for trying (unsuccessfully) to help.
I have now uninstalled code, WSL and Windows.
I have only so much time for these deep mysteries.

ok, sorry for that but, thanks for your help.


Implemented !vote, button-based alternative!

Fancy voting buttons. There's a couple obvious issues such as people voting multiple times, having no way to undo a vote and potentially annoying highlighting when someone votes. Decided to implement this separate from !voteythumbs for these reasons.
In order to run this another environmental variable is needed: SLACK_VERIFICATION_TOKEN which is just the verification token in the app (assuming the bot becomes an app). Also an interactive messages URL needs to be set. My setup just has this as /vote right now but that's easy enough to change.
Another thing to note is if uqcsbot is in app form this could probably be implemented as /vote and be cleaner.
Demo (Abstain removes existing vote):

Can't say I'm keen to merge this unless people can only vote once, is there a good reason for that? Just seems half done

I've significantly improved this the exact implementation is a little dodgy and could probably be improved. I'm open to suggestions otherwise I think this is mostly functional and would be nice to test out with more than 1 person.


🏗 Make a trailer for Reliverse and Relivator

The trailer already in production and will be published soon 🎉


reuse compliance

Fixes #2552 #2551 , please add your Email id in the upstream contact section.

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


Web server monkey patch not working correctly.

Error message with the default file.
../monkey.patch:46: space before tab in indent.
GMainLoop *loop;
../monkey.patch:47: space before tab in indent.
int ret;
../monkey.patch:52: space before tab in indent.
loop = g_main_loop_new(NULL, FALSE);
../monkey.patch:53: space before tab in indent.
write_index();
../monkey.patch:82: space before tab in indent.
g_main_loop_run(loop);
error: corrupt patch at line 205
I attempted to fix the indent errors but still receiving the final error
error: corrupt patch at line 205
Can you help to advice the resolution for this?

Just to make sure I have all the details, what SDK version are you using for this?

I was able to build and run the web-server example as it is published (using the native-sdk v1.1) so I am closing this one.


⚠ Jenkins Plugins Artifactory has degraded performance

In 0cc1d88, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1322 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 088c4ac after 12 minutes.


Makes CASSANDRA_ENSURE_SCHEMA work when schema is absent

Our cassandra docker image comes with the schema installed, which hid a
bug where we failed to properly guard state 0 (keyspace didn't exist).
This fixes the bug and also backfills known upgrade scenarios. Tested
on Cassandra 2.1 and 2.2.
Thanks to @gena01 for reporting

ps the error would bubble as Cannot read keyspace metadata for give keyspace, and before this change, the only way out would be to set CASSANDRA_ENSURE_SCHEMA=false

fyi @michaelsembwever I'm going to merge this as it is not safe to assume folks have installed the keyspace


SIH Breaks Float Extension

might be a me thing but might not
SIH+csgofloat market extensions display the same stickers twice, hides names and float values, sort by float stops working, and next page button is intermittent.

Sorry, but extension compatibility is difficult to achieve on both ends here. For the time being, we aren't planning to mutate how CSGOFloat works in order to accommodate SIH.


[lmdb] don't use msvc parameters with non-msvc compiler

Describe the pull request

What does your PR fix?
Fixes failed build on non-windows-dynamic

Which triplets are supported/not supported? Have you updated the CI baseline?
<all / linux, windows, ...>, <Yes/No>

Does your PR follow the maintainer guide?

Yes

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

@bold84 ,Thanks for your pr, please consider @Thomas1664's review suggesstion

@bold84 ,Thanks for your pr, please consider @Thomas1664's review suggesstion

Sure, it's just a pita that for a one line code change, it is required to do these version things that I have not found documentation for. Where is this version stuff documented?


Allow battery to charge from "clipped power" for manual dispatch option

See https://github.com/NREL/SAM/issues/407

decided against duplicating SAM issues


Add static fields to telemetry

Provides an API to add static fields to our telemetry data anywhere in the flow without bubbling them up to the top level measurement

Codecov Report

Merging #5224 (5d00aaf) into dev (6456bd5) will decrease coverage by 0.48%.
The diff coverage is 88.00%.

Flag
Coverage Δ

*Carryforward flag

msal-angular
96.50% <ø> (ø)

msal-browser
87.00% <100.00%> (ø)

Carriedforward from 4c70f6c

msal-common
85.62% <84.21%> (+0.18%)
:arrow_up:

msal-core
82.84% <ø> (ø)

Carriedforward from 4c70f6c

msal-node
83.09% <ø> (?)

msal-node-extensions
76.03% <ø> (?)

Carriedforward from 4c70f6c

msal-react
94.50% <ø> (ø)

node-token-validation
88.88% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files
Coverage Δ

...mmon/src/telemetry/performance/PerformanceEvent.ts
100.00% <ø> (ø)

...mon/src/telemetry/performance/PerformanceClient.ts
92.24% <83.33%> (+3.45%)
:arrow_up:

lib/msal-browser/src/app/ClientApplication.ts
95.32% <100.00%> (ø)

...ib/msal-browser/src/app/PublicClientApplication.ts
100.00% <100.00%> (ø)

lib/msal-common/src/index.ts
100.00% <100.00%> (ø)

lib/msal-common/src/client/SilentFlowClient.ts
88.67% <0.00%> (-0.91%)
:arrow_down:

lib/msal-common/src/utils/Constants.ts
100.00% <0.00%> (ø)

lib/msal-common/src/account/AuthToken.ts
100.00% <0.00%> (ø)

... and 38 more

Please do a quick manual test to ensure this is still reporting correctly with your changes before you commit.

Confirmed.


CI for Node

What does this PR do?
Where should the reviewer start?
What testing has been done?
Any background context you want to provide?
What documentation has been created/updated?

Initializes with two players


remove unused extraTags arg from dogstatsd.NewServer

What does this PR do?
Removes an unused constructor argument.
Motivation
Simplify.
Additional Notes
This was once used in the serverless agent, but no more.  And, it overrode, instead of merging with, the DD_DOGSTATSD_TAGS config.
Possible Drawbacks / Trade-offs
None
Describe how to test/QA your changes
None - value was always nil.
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] The appropriate team/.. label has been applied, if known.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

Looks like the serverless integration tests are just intermittent and failures are unrelated to this PR (it's a different error every time)

It seems like this arrangement pulls in more functions from pkg/autodiscovery, but I don't see why.  I've updated the baseline sizes, which actually reduces the baseline for x86.


Add support for adding on_delete for ForeignKey and OneToOneFields

Adding a feature to handle adding the on_delete argument to ForeignKey and OneToOneField types: https://docs.djangoproject.com/en/dev/releases/1.9/#foreignkey-and-onetoonefield-on-delete-argument
TODO:

[ ] Test internally with a complicated codebase 💃
[ ] Add some more tests
[ ] Address adding the models import if it doesn't exist
[ ] Add an input so folks can add in subclasses

Thanks for the PR, this will be a very nice one to add.
The test failed because I didn't setup codecov correctly, apparently GitHub secrets aren't available to forks, which now that I think about it, makes sense. I've fixed it in #118, you might want to update your fork to get this change.
Let me know if you have any questions.
Thanks again!

@browniebroke thanks a bunch for taking a look at that test—I merged in those changes and things are working as expected again! 👍   This is looking pretty good! I've added some unit tests and put it thru its paces with some projects I have running locally.
I have an instance where I'd like to use this for a field that subclasses OneToOneField, do you think it's worth adding functionality via CLI to define a path to a subclass field so we can handle those too?

@browniebroke thanks for the feedback! I just submitted some changes based on your suggestions.

Thanks for this awesome contribution! This is a big one, wish I had it back when I upgraded 😄

@all-contributors please add @cvanderkolk for code


Integration fixes

@tomwilkie Alrighty, so this took me a while to get to the bottom of all the weird little bugs (check the commit descriptions). But now we have a setup that ingests, stores in AWS, and is able to read data back.
To give you an overview of what the setup looks like now:
                               +-----------------------------+
                               |                             |
                               |                           +-+--+
                               |                       +---> S3 | 4569
                               |                       |   +----+
                               |                       |
    9091                       |                       |    +----------+
+-----------+                  |                       | +--> DynamoDB |
| Retrieval +-------------+    |                       | |  +----------+
+-----------+             |    |                       | |     8000
                        +-v----v------+          +-----+-+--+
                        | Distributor +----------> Ingestor |
    3000                +-+----^------+          +-+--------+
+---------+               |    | 9094              |  9095
| Grafana <---------------+    |                   |
+---------+                    |                   |
                           +---+----+              |
                           | Consul <--------------+
                           +--------+
                              8500

Fire it up and go to http://localhost:3000/dashboard/db/test-dashboard. After a minute or so, sample data should have made it to S3/DynamoDB and can be read back. We can't query the new ingestors yet, so I've deactivated that for now.
Locally I also created a dummy noopIterator, but I didn't include that in the PR here because I assume you still have your version lying around that you want to check in?

Excellent!  Unfortunately I seemed to have also fixed some of the same issue - I should have checked github.
Anyway, going to merge this and then see if there is anything in mine that you didn't fix.


Decoding to arbitrary structs

How I would go about decoding JSON into arbitrary structs? e.g.:
Poison.decode!(~s([
  {"type": "giraffe", "args": {"height": 400, "age": 27}},
  {"type": "turtle", "args": {"height": 30, "age": 108}}
]), as: [%type{}???])

Where type is arbitrary but one of a finite number of defined structs, and args are the fields for that struct.

You mean as if the data define the type of struct to be used?

This is the way: https://github.com/devinus/poison/pull/207


Middle/Right click should not start drag

I'd expect that only left-clicks start a drag action.
Currently, right click starts a drag action AND opens the content menu (e.g. on the Demo page).
When I select Inspect there (Google Chrome), the dragaction continues, until I leave the browser window...

This seems to be related to window.ontouchstart to be present on my system (I do have a touch screen).


Bug: blue-noise in wrong gamma space

I found a bug in compute.toys (it seems);
The texture provided in compute.toys, blue-noise (the last one), is not stored in linear space but has been mapped to gamma space;
Because the distribution of blue-noise between 0.0 ~ 1.0 is unbiased, the number of pixels >0.5 should be roughly equal to the number of pixels <=0.5;
However, the blue-noise provided by compute.toys obviously does not conform, as shown in the picture:

The left side is <= 0.5, the right side is >=0.5;
Only by applying a gamma correction of pow(blue_noise, 1 / 2.2) can the correct image be obtained;
So I suspect that an incorrect gamma mapping, pow(color, 2.2), was added when generating the blue-noise.
__THE BUG SHOWCASE__: https://compute.toys/view/928

Submit pull request please 🙏

ok


Got ami_required error when ami was specified via region_config

Our Vagrant box (built with packer 0.3.x) has a Vagrantfile with:
config.vm.provider "aws" do |aws|
  aws.region_config "us-east-1", :ami => "ami-dc5f97b4"
end

When we attempt to vagrant up --provider=aws with vagrant-aws 0.5.0, we get the following error:

There are errors in the configuration of this machine. Please fix
the following errors and try again:
AWS Provider:

vagrant_aws.config.ami_required

Using vagrant-aws 0.4.1 we do not get this error and everything seems fine.
Changing the Vagrant box's Vagrantfile to:
config.vm.provider "aws" do |aws|
  aws.region = "us-east-1"
  aws.ami = "ami-dc5f97b4"
end

works with vagrant-aws 0.5.0.

I'm running into this as well with vagrant-aws (0.6.0), any workaround other than editing and re-packing the box file?

AFAIK, this happens with the latest available versions of packer, vagrant and vagrant-aws:

packer-0.7.5
vagrant-1.7.2
vagrant-aws-0.6.0

Related:
https://github.com/mitchellh/vagrant-aws/issues/370
https://github.com/mitchellh/vagrant-aws/issues/330

Workaround: Specify a dummy ami in your user Vagrantfile so that it passes validation (which runs before the box is downloaded). Then the box is downloaded and the baked-in AMI in region_config overrides. No need to edit/repackage the box.
config.vm.provider :aws do |aws|
  # Dummy config value needed to pass Vagrantfile validation
  aws.ami = ""
  ...
end

vagrant 1.7.2
vagrant-aws 0.6.0

I find this workaround no longer works, and that the AMI is getting set to ''


Bump deployment version in admin/multiple-schedulers folder

I will create a bunch of PRs for bumping up deployment version.  A pr contains all changes in a folder.

This change is

@nashasha1 This file is no longer used in the docs. Please use this PR to delete it:
docs/admin/multiple-schedulers/my-scheduler.yaml

/hold

@steveperry-53  Done! Thanks for your help.

/hold cancel

/approve
/lgtm


Visual Challenge - Pocket Casts

I attempted to replicate the details page of the app Pocket Casts:

What went well

Easy to set it all up using the Forms Previewer in VS 2019, and the previewer actually reflecting the final product.
Everything looks pretty good out of the box!

What didn't

Trying to set rounded corners on an image. I tried some tricks by using an ImageButton and setting the CornerRadius, but that didn't yield the desired result. Also tried using a Frame as a wrapper without any luck.

I would like to see

CornerRadius for Image? Or even for views in general.
A separator, like an <\hr> in HTML. A BoxView with a small height also does the trick, though.
Image tint on icons, like iOS has for tab bar / navigation bar icons.

Result:
Android:

iOS:

Glad to hear the new Previewer improvements helped you!
Rounded Corners - check out and add your thoughts/support here: https://github.com/xamarin/Xamarin.Forms/issues/1754
Same for Tint - https://github.com/xamarin/Xamarin.Forms/issues/4761
For the separator, I do the same thing over and over with BoxView. What if we included a composite view like Line that was simply wrapping a BoxView with a default height or width of 1 depending on vertical/horizontal?

For the separator, I do the same thing over and over with BoxView. What if we included a composite view like Line that was simply wrapping a BoxView with a default height or width of 1 depending on vertical/horizontal?

That sounds perfect! Keep it simple!


Avoid mutating ?? true  to && true

Summary

The above mutation always survives, we should not make it. I think.
Similar to #3339

@edi9999 maybe you want a go at this one again 😅

Never mind. It's getting late I think. This is clearly not a mutation that always survives.

?? can be converted to && in some occasions and change the behavior.
If for example I have this code :
function xxx(options) {
    const param = options.param ?? true;
    return param;
}

If I call xxx({param: 10}) it would return 10 before the mutation and true after the mutation


showMessage only returns one error per file selection attempt

Type of issue

[x] Bug report
[x] Feature request
[ ] Support request

Uploader type

[x] Traditional
[ ] S3
[ ] Azure

Bug Report
Fine Uploader version
5.13.0
Browsers where the bug is reproducible
Chrome
Operating systems where the bug is reproducible
Win 8
All relevant Fine Uploader-related code that you have written
showMessage: function (message)
{
console.log(message);
}
Detailed explanation of the problem
showMessage returns only one error even if multiple files producing different errors are selected at the same time.  For example, if you only allow jpeg extensions, but select three mp3 files to upload and a file that is larger than the file size limit, the error will only return one error.  The other files have no errors or confirmations.

This is due to the default value for the validation.stopOnFirstInvalidFile configuration option. Setting that to false will process all files instead of stopping when an invalid file is encountered.


Refactor add

Refactors add to improve readability - got a bit confused trying to quickly read it when reviewing https://github.com/DefinitelyTyped/DefinitelyTyped/pull/58520/files

@bergos


Update czech language

Just making sure, are you aware, that the normal workflow would be to add these via https://hosted.weblate.org/engage/flathub/ ?

Just making sure, are you aware, that the normal workflow would be to add these via https://hosted.weblate.org/engage/flathub/ ?

I used weblate to translate FlatHub to Czech:
https://hosted.weblate.org/projects/flathub/frontend/cs/#overview
The website is now 88% translated.

Thank you, let's continue in https://github.com/flathub/website/pull/173 then

Thank you, let's continue in https://github.com/flathub/website/pull/173 then

Why build is failed?

We're trying to build the pages, but the backend seems to not be responsive right now, so that failed.


Issue with own PRs for CODEOWNER

Scenario:
It doesn't allow editors to merge my pull request w/o CODEOWNER (in the case, it's me) approval, it also doesn't let me approve since I've raised the PR :confused:

@sandiprb Hi, it sounds like you have an a problem with GitHub itself, and this is an issue tracker for a command-line tool called "hub". For GitHub-related issues, please write to<EMAIL_ADDRESS>

@mislav  yes connected with them on the given email. My bad, posted it here, sorry to bother.
Thanks :smile:


Gradle not handling Maven parent POMs with version-range

Gradle seems to be ignoring version-ranges in Maven POM parents.
Expected Behavior
Gradle should handle version ranges in parent POMs in encounters transitively.
Current Behavior
When a version range is specified in a build.gradle file, e.g.
compile group: 'com.company.platform', name: 'abc-common', version: '[11.0,12.0['

Gradle first requests the versions of the component and selects the highest version. When it looks for transitive dependencies and finds one with a parent with a version-range, Gradle uses the version-range string as-is.
Loading http://nexus.company.com:8081/.../corporate-parent/[11.0.7,11.0.8)/corporate-parent-[11.0.7,11.0.8).pom

Context
I'm required to consume dependencies from a corporate Nexus repo.  I'm hoping for a quick fix, even if it's only on humanitarian grounds.
Steps to Reproduce (for bugs)
I have a Gradle build that needs to fetch dependencies from a Nexus repo that has been populated using Maven. Some of the POMs there use version-ranges when specifying a parent POM.
In my build.gradle I put a dependency:
compile group: 'com.company.platform', name: 'abc-common', version: '[11.0,12.0['

The Gradle logs show that a request is made for the versions of abc-common, and its POM and its parent's POM are fetched:
abc-common-11.0.7-17042111.pom:
<parent>
    <groupId>com.company.platform</groupId>
    <artifactId>abc-parent</artifactId>
    <version>11.0.7-17042111</version>
    <relativePath>..</relativePath>
</parent>

abc-parent-11.0.7-17042111.pom:
<parent>
    <groupId>com.company.corporate</groupId>
    <artifactId>corporate-parent</artifactId>
    <version>[11.0.7,11.0.8)</version>
    <relativePath/>
</parent>

But Gradle fails to fetch the corporate-parent POM. Instead of requesting what versions are present on the repo, it tries to fetch using the version-range literal:
Loading http://nexus.company.com:8081/.../corporate-parent/[11.0.7,11.0.8)/corporate-parent-[11.0.7,11.0.8).pom

Your Environment
Gradle version 3.5
I can't upload any details.

@MichaelWeir did this work in a previous version of Gradle to your knowledge?

It's a new project. It didn't work in Gradle 3.4.

It seems not like a bug. It's a feature of Maven 3.2.2 which Gradle doesn't implement. Could I try to provide a pull request? @eriwen

Hey guys, any update on this?
It would be really useful!
Thanks
Steve

I guess maybe I could have a try.

Closed by #2730 .


[REVIEW] fix inconsistent column order

Fix inconsistent column order:
closes #1714

@bilzard , we moved the goal posts on you.  The team has been itching to move some of those notebooks to the NVIDIA-Merlin/Merlin repo because they cover material outside the typical NVTabular area.
I made a new PR https://github.com/NVIDIA-Merlin/Merlin/pull/758 with your fixes.  Unless I hear differently from you, I'll close this PR in the next few days.
Thanks very, very much for the careful read and reporting the issue so we could make the fix.

FYI, it took some time to find out the cause because of the incomprehensible CUDA error (that says Tensor range error).
There may require some nice error message about wrongly specified column order, although I have no concrete idea.

Closing in favor of https://github.com/NVIDIA-Merlin/Merlin/pull/758 because the notebooks moved out of the repo.


peopleSegNetV2 output is black

Hello. I have tested peopleSegNetV2 and peopleSegNet on a jetson Nano and on a jetson TX2.
I used a .jpg and a .h264 files from deepstream samples and as output I got black images and black videos without any detection.
I have TensorRT OSS plugin installed, deepstream 5.1, TensorRT 7.1.3, jetpack 4.5.1.
Using updated github files.
Deepstream sample apps works properly on the devices.
mero@Jetson-HC02:~/deepstream_tlt_apps$ export SHOW_MASK=1
mero@Jetson-HC02:~/deepstream_tlt_apps$ ./apps/tlt_segmentation/ds-tlt-segmentation -c configs/peopleSegNet_tlt/pgie_peopleSegNetv2_tlt_config.txt -i /opt/nvidia/deepstream/deepstream-5.1/samples/streams/sample_720p.jpg
Now playing: configs/peopleSegNet_tlt/pgie_peopleSegNetv2_tlt_config.txt
Opening in BLOCKING MODE
Opening in BLOCKING MODE
0:00:24.214130103 10905   0x557a39d640 INFO                 nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::deserializeEngineAndBackend() <nvdsinfer_context_impl.cpp:1702> [UID = 1]: deserialized trt engine from :/home/mero/deepstream_tlt_apps/models/peopleSegNet/peopleSegNetV2_resnet50.etlt_b1_gpu0_fp16.engine
INFO: [Implicit Engine Info]: layers num: 3
0   INPUT  kFLOAT Input           3x576x960
1   OUTPUT kFLOAT generate_detections 100x6
2   OUTPUT kFLOAT mask_fcn_logits/BiasAdd 100x2x28x28

0:00:24.214316410 10905   0x557a39d640 INFO                 nvinfer gstnvinfer.cpp:619:gst_nvinfer_logger:<primary-nvinference-engine> NvDsInferContext[UID 1]: Info from NvDsInferContextImpl::generateBackendContext() <nvdsinfer_context_impl.cpp:1806> [UID = 1]: Use deserialized engine model: /home/mero/deepstream_tlt_apps/models/peopleSegNet/peopleSegNetV2_resnet50.etlt_b1_gpu0_fp16.engine
0:00:24.334049448 10905   0x557a39d640 INFO                 nvinfer gstnvinfer_impl.cpp:313:notifyLoadModelStatus:<primary-nvinference-engine> [UID 1]: Load new model:configs/peopleSegNet_tlt/pgie_peopleSegNetv2_tlt_config.txt sucessfully
Running...
NvMMLiteBlockCreate : Block : BlockType = 256
[JPEG Decode] BeginSequence Display WidthxHeight 1280x720
in videoconvert caps = video/x-raw(memory:NVMM), format=(string)RGBA, framerate=(fraction)1/1, width=(int)1280, height=(int)720
End of stream
Returned, stopping playback
[JPEG Decode] NvMMLiteJPEGDecBlockPrivateClose done
[JPEG Decode] NvMMLiteJPEGDecBlockClose done
Deleting pipeline

PeopleSegNet is a instance segmentation model, so you need to run the model via ./apps/tlt_detection/ds-tlt-detection, refer following command to see if issue persist?
[SHOW_MASK=1] ./apps/tlt_detection/ds-tlt-detection  -c configs/frcnn_tlt/pgie_frcnn_tlt_config.txt -i $DS_SRC_PATH/samples/streams/sample_720p.h264

PeopleSegNet is a instance segmentation model, so you need to run the model via ./apps/tlt_detection/ds-tlt-detection, refer following command to see if issue persist?
[SHOW_MASK=1] ./apps/tlt_detection/ds-tlt-detection -c configs/frcnn_tlt/pgie_frcnn_tlt_config.txt -i $DS_SRC_PATH/samples/streams/sample_720p.h264

Thank you.
Now it's working as expected.

Can you both kindly update the solution for the newly added TAO examples. I am trying to infer Mask-RCNN uff model & engine and infer using the tao-deepstream-segmentation sample. All I get it dark masks. I even tried the sample on the detection sample and got the input image as output but with a changed size, nothing else.


App based on this sample

Although I'm still debugging issues happening in runtime (which is currently pretty painful because I have to build it in production & replace django template base.html filenames, but I'll figure it out) - you probably might be interested because it's a pretty complex code, using all sorts of Fable features, new & old.
The app itself is a F# React frontend for a Django-based chat backend plugin, which was previously written in part js / part F#, but now is 100% F#.
https://github.com/Bearle/django_private_chat2/pull/41
@alfonsogarciacaro

This is nice @delneg! Thanks for letting me know! Do you mean you have already used JSX in a real Fable app? If so, can you please link to the file containing the Fable JSX code?

This is nice @delneg! Thanks for letting me know! Do you mean you have already used JSX in a real Fable app? If so, can you please link to the file containing the Fable JSX code?

Well, I'm working it out. Right now I'm having troubles debugging what seems like "react-chat-elements" library issues, because of the React v17 vs React v18 differences & changes, and the fact new Fable setup that it doesn't work  with React < 18.
But anyway, you can have a look at https://github.com/Bearle/django_private_chat2/blob/feat/full-fs/example/frontend/src/App.fs
That's the main file that contains all the JSX as well as the Elmish loop

@alfonsogarciacaro
I've fixed most of the issues, and the compiled app is included in the repo as "index.js"
You can try it out following the steps in the README for the example app: https://github.com/Bearle/django_private_chat2/blob/feat/full-fs/example/README.md
P.S. It can be python3.10 or newer,not necessarily python3.9 , and "localhost" won't work, only <IP_ADDRESS>

Nice that you made it work with React 18. We can try to adapt useElmish to React 17, but it's a bit difficult without the new hook.
Would it be ok to edit it the useElmish post to include a reference to your app?

Nice that you made it work with React 18. We can try to adapt useElmish to React 17, but it's a bit difficult without the new hook.
Would it be ok to edit it the useElmish post to include a reference to your app?

I don't know if it's necessary to backport useElmish to React 17, but just in case - can't the new hook be included in the useElmish itself, if it's a dependency ?
Also, regarding the reference to the app - it would be great!
Although this piece of code is surely not the best example, it's something

Also, regarding the reference to the app - it would be great!

Will do, thanks!

I don't know if it's necessary to backport useElmish to React 17, but just in case - can't the new hook be included in the useElmish itself, if it's a dependency ?

Ah, you're right! We can just polyfill the hook 😅 We can do that if there are other users that want to use Fable.React.UseElmish and cannot upgrade to React 18.


Possibility to pipe downloaded file to Django response

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2<IP_ADDRESS>. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2<IP_ADDRESS>

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[x] Feature request (request for a new functionality)
[x] Question
[ ] Other

Description of your issue, suggested solution and other information
I am using youtube_dl with Django. Currently I have youtube_dl download files to a temporary location, and send that file to a request. I wonder if I can somehow stream the file directly to the client without having to materialize a file on disk. This is possible with node_ytdl_core because NodeJS has good support for async operation and pipeline. I can also do this with Java.
I think this is doable if youtube_dl exposes a stream object programmatically, but I have not yet found out how to do so.

Use -o - with subprocess.Popen?

Could you elaborate? I thought -o is just to indicate a final filename template.

I guess -o - will pipe the file content to stdout?

I guess -o - will pipe the file content to stdout?

Yes you're right.

No feedback for a long time, so I assume things are working fine. Feel free to leave comments if there's still something wrong.

Thanks :)

On 8 Nov 2016, at 16.08, Yen Chi Hsuan<EMAIL_ADDRESS>wrote:
No feedback for a long time, so I assume things are working fine. Feel free to leave comments if there's still something wrong.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/rg3/youtube-dl/issues/11011#issuecomment-259145112, or mute the thread https://github.com/notifications/unsubscribe-auth/ADTJWGjRb92DIVTM-ofld4FGCiO-i1sAks5q8IJGgaJpZM4KeQST.


[Guide] Update files created by initGuide

The {includedir} attribute must now be specified when using the include:: macro.

Fixed with https://github.com/aalmiray/kordamp-gradle-plugins/commit/d403a048e8617b5432d3923e48e649f9707b8829


Cannot load required js.

I have installed the 'tdb' by
python notebook.nbextensions.install_nbextension('tdb_ext',user=True)
But when
%%javascript Jupyter.utils.load_extensions('tdb_ext/main')
However, on the right of Chrome, there was a panel show 'Waiting for TDB to connect...'
Besides, Chrome show errors

Failed http://localhost:8888/nbextensions/tdb_ext.js  to load resource: the server responded with a status of 404 (Not Found)

Could someone help  #me?

Having the exact same issue, ever figure this out 40Miles?


[13.0.x] ISPN-13260 Docs fix -remove redundant backslash from formulas

Minor fix, remove redundant backslash from formulas in the tuning doc. (The characters aren't converted into symbols, escaping isn't necessary)

Thanks @dvagnero


fix: handle AggregateExceptions from task continuations

In Middleware code, if you need to modify the response before it
makes it back out to the caller, you need to use Task.ContinueWith.
However, if an exception is thrown while such a Middleware is
in the stack, the exception will get wrapped in an AggregateException.
Prior to this commit our CacheExceptionMapper would treat this as
an unknown error and we would lose our desired status code mapping.
This commit unwraps AggregateExceptions before the mapping so that
the error codes will be correct.
It also adds debug logs to the exception mapper so that we can
see what's going wrong if other exception types fail to map
properly in the future.

had to rebase this one


Server Dynamic DNS Support

If the IP address of the server changes since the last time we connected, the new IP does not seem to get picked up.
This is especially so if I move between wireless networks where the same host may be available via different IP addresses.
What is the expected behavior of ET and can we handle the above? Thanks for looking into this

Oh interesting. I'm probably caching the IP address so I don't have to
resolve the DNS multiple times. I'll take a look at it this week.
On Mon, May 8, 2017, 8:53 PM Anshuman Aggarwal<EMAIL_ADDRESS>wrote:

If the IP address of the server changes since the last time we connected,
the new IP does not seem to get picked up.
This is especially so if I move between wireless networks where the same
host may be available via different IP addresses.
What is the expected behavior of ET and can we handle the above? Thanks
for looking into this
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/MisterTea/EternalTCP/issues/32, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASuv9GesrzUOTdecJbkWbJLGA5kc36Oks5r3-NGgaJpZM4NUyYR
.

I checked and I'm not doing any caching: every second I try to resolve the DNS from scratch.  There must be some caching at the OS level.

https://github.com/MisterTea/EternalTCP/commit/59960adacbc70211c0373ff8db8e567abae78959 should fix the issue.  Please build a new client from latest master and see if the issue is resolved, thanks.

Hi, it appears that I had an aggressive local dns caching going on. It works right now without using the master. I believe we can close the issue. Whether we keep your changes or not, I am not qualified to say.


bump up to the latest version of views and widgets

reorganize dashboards/widgets and views according to the 1.26 reporting changes

Verified on develop branch, possible to create all kinds of widgets,  Options are empty https://github.com/zebrunner/reporting/issues/2323 , existing widgets are present.
Need to reverify after fix issues.


Support 1. e4 1... e5 format. Closes issue #14

Includes a testcase . Had to refactor the parser a tiny bit, because it was hard to fit in otherwise.

Coverage increased (+0.5%) to 86.433% when pulling f1412f45fda39d10e5f11395ca60091df18d90de on bspaans:v1 into f343554d223923b044aa55c99bcc168716f95c57 on freeeve:v1.

Cool, thanks!


Change the behaviour of the config file

CLI should give an error if there is no config file in the root folder
VSCode extension linter feature shouldn't run if there is no config file in the root folder
We need to create an "aglint init" command that will create a config file that will extend the default config as follows:extends:
  - aglint:recommended

Completed in v1.0.11


Test that bound params generate single statement

Scratches an itch - I was curious about sql injection and a few days ago and noticed @mark-rushakoff answered a community question pointing to bound parameters. I wrote a test case to prove to myself that bound parameters don't parse to two statements.
Thoughts? Reasonable test case?

And I think if you rebase on master you won't get the More CircleCI nodes allocated than tests environments to run! error from Circle.

I think there's another test of this, but it isn't so explicit and I don't think it tests SQL injection specifically. Bound parameters are performed at the AST level so they barely interact with the parser. It's not substituting strings into the query and then parsing, but parsing and then doing substitutions.
I think this change though is good to make that explicit so nobody tries to implement it in the other way and makes it vulnerable to SQL injection. After @mark-rushakoff's comments are addressed, I think this can be merged.

@mark-rushakoff is this what you were thinking?
Parameterized result: SELECT * FROM m WHERE t = '1; select * from m where t = v'
Parameterized result: SELECT * FROM m WHERE t = '1 "; drop measurement m;"'
Parameterized result: SELECT * FROM m WHERE t = '1 \'; drop measurement m;\''

Yes, those cases cover some very common injection attempts.

Still needs rebased on master to get Circle tests passing, however.


Upgrading to Angular 9

I was trying to migrate our angular version from 8 to 9, However i'm having issues with the package that is incompatible with version 9

Would like to ask if this package has a dependency for angular 9?

@cgasis  yes you're right it's not compatible with Angular 9 yet
I will work on it but if you are in a hurry you download and copy slarn-autocomplete folder into your project and adapt it to version 9
I'm sure you won't find a lot of things that needs to be changed

I already got your project, Just need familiarity in publishing libraries/package in angular. If you have time to update your code, I would appreciate it.
Thanks for your prompt response