Pull GN in to the ninja-build project

Not sure if this is the right place, but would it be possible to pull GN into the ninja-build project? It would be a lot more convenient than having to pull and build from the chromium repo. It would also make it easier for distros to include GN along with ninja.

What is GN and why would it make ninja build better at what it does?
Ninja is used by way more projects than Chromium.

@jonesmz GN is short for Generate Ninja, and as I understand it it's the original ninja file generator, but I'm not 100% sure on that. It's a very powerful and lightweight build system that fits in well with the lightweightness of ninja. It's the build tool for chromium, fuchsia, flutter, and other google projects, but I also use it in all of my work.
Just thought it would be a nice companion to ninja. The repo is here: GN
Anyway, just a thought.

@jhasse No problem. Thanks!


[2.8 manual cherry-pick] Handle values omitted from the API server in arrays of objects

In the example of a Pod definition in a Deployment, you could set stdin: false and tty: false for the container in a ConfigurationPolicy, but the API server would omit them from the return value. This would lead to the merged map and existing map to have a different length, and causing the comparison to end early. This was wrong in this case since a missing boolean should be treated the same as false set in the ConfigurationPolicy.
Relates:
https://issues.redhat.com/browse/ACM-8391
Signed-off-by: mprahl<EMAIL_ADDRESS>(cherry picked from commit e88b230f5519875401d0712b5cd0ce7373aee4a0)

/cherry-pick release-2.7

@yiraeChristineKim could you please review this PR since your reviewed the original upstream PR?


Fixed various bugs and add support for character truncation

Added support for truncating the collapsed text by character truncation
Fixed collapsed and expanded link hit target to only include the link, before it was including text outside of the bounds of the link
Fixed numberOfLines=1 bug where collapsed link is not showing
Fixed expanded link not showing
Updated demo app

This PR should address issue #30 and #31.

Great. Thank you very much! :+1:


Conan fixes

@torfinnberset do these look like sane changes to the conanfile.py file?
I've already updated my example project and that seems to work. Now I'm thinking of using Conan in place of ExternalProject for CNL also.

Well the problem was that I

cloned using my ssh key using<EMAIL_ADDRESS>and then
created a package.
Then when it was pulled down during CI, my personal GitHub SSH key wasn't on the remote server so the build failed.

However, using HTTP requires no SSH key. Perhaps there's a better solution but I'm a total Conan n00b!

Indeed, if you'd clone the repo with HTTPS for creating the package then it would've passed. I use HTTPS for all public Conan packages I make, and SSH for the private ones.


I  have some serious problems , when creating django super user.

The follow  message pops out when i try to create a Django super user;
Executing manage.py createsuperuser
Traceback (most recent call last):
File "C:\Users\IZOOHWIZARD\source\repos\DjangoWebProject1\DjangoWebProject1\manage.py", line 15, in
from django.core.management import execute_from_command_line
ModuleNotFoundError: No module named 'django'
The interactive Python process has exited.
The interactive Python process has exited.

This may seem obvious, but have you installed Django? You should have seen a pop-up when creating the project that offered to install it for you.
If you have, please open your project and then save the information from Tools, Python, Diagnostic Info and post it here or email it to<EMAIL_ADDRESS>We might be able to see from that what has happened.


Plan 0.1.3

[x] Use PreparedStatement to improve the performance. #23
[x] Deduplicate redundant logging to fix #24. #25
[x] Add settings.gradle. #26

Preparing 0.1.3 on https://github.com/muga/embulk-filter-calcite/pull/28


[Documentation Request/Suggestion] Highlight the token drag ruler/pathfinding aspect

The short description of the module is currently:
"Modify Foundry VTT ruler to adjust for relative elevation of the destination."
But I think this module is more than that! Drag Ruler is the 6th most installed module https://foundryvtt.com/article/year-in-review-2024/#modules-usage but this module does that and more!
I think a fair amount of users might be more interested in the drag ruler aspect. But regardless, I think it is worth highlight some of the other capabilities more prominently (e.g., in the description of the module or even in the module name).

Oh also, the readme still mentions pathfinding as broken, so maybe worth removing that

Thanks for that feedback. I improved the description on the git page, added some webm videos, and improved the description on the Foundry page. Hopefully that helps!


Conventional commits

Bring conventional commits into the QuickStart and other selected projects.  @paulushcgcj has a working implementation and ideas.

Long since done!


Better reporting on progress and errors

Hi!
I have experienced this issue when trying to compile a less file in Tiki Wiki CMS Groupware. I expect others could benefit from a similar enhancement. All the CPU is eaten up, and eventually, the process gets killed off. I didn't use --silent  so I am hoping for some helpful message to debug the issue.
To duplicate:
1- Get Tiki trunk:
https://dev.tiki.org/Get+Code#Using_trunk_from_SVN_future_14.x_
2- Run setup script (This will run Composer in non dev mode)
sh setup.sh
3- To turn your Tiki in dev mode:  php temp/composer.phar update --dev
This works:
php vendor/oyejorge/less.php/bin/lessc styles/layout/tiki.less styles/layout/tiki.css
But this doesn't:
php vendor/oyejorge/less.php/bin/lessc styles/thenews.less styles/thenews.css
Thanks!
M ;-)

For the record, this is now solved with latest Tiki 14.x code which now has <IP_ADDRESS>  Not sure what solved it but hey, it work :-)
We still have another issue, but progress is being made: https://github.com/oyejorge/less.php/issues/184
Thanks!


Better way for selecting address bar

Original PR: appium/appium#5836
Commit by @moizjv https://github.com/appium/appium/commit/c7610aecf58f47de3d19e620e73340edfe1f2bdd
Not sure about the other changes in that PR

We'll need to experiment to see if the other part is still necessary.


Updates based on changes to AWS UI

The AWS UI has been updated so that some things were not in the places described in this lab. Updating the steps to reflect the current interface.
This update changes the total number of steps, which impacts the milestone step for the first exercise.

After approving the previous PR, there are merge conflicts for yours. I believe everything is covered in the previous PR. Please pull the latest and if there are still changes needed, submit a new PR.


SocketTimeoutException using enableRetryOnNetworkGain

I enabled the RetryOnNetworkGain feature, but when my phone goes to flight mode for a very short time I get an exception and UNKNOW error.
FileDownloader                                                                               java.net.SocketTimeoutException: Read timed out                                                                                at com.android.org.conscrypt.NativeCrypto.SSL_read(Native Method)                                                                                at com.android.org.conscrypt.OpenSSLSocketImpl$SSLInputStream.read(OpenSSLSocketImpl.java:674)                                                                                at com.android.okio.Okio$2.read(Okio.java:113)                                                                                at com.android.okio.RealBufferedSource.read(RealBufferedSource.java:48)                                                                                at com.android.okhttp.internal.http.HttpConnection$FixedLengthSource.read(HttpConnection.java:442)                                                                                at com.android.okio.RealBufferedSource$1.read(RealBufferedSource.java:168)                                                                                at java.io.BufferedInputStream.read(BufferedInputStream.java:290)                                                                                at com.tonyodev.fetch2.downloader.FileDownloaderImpl.writeToOutput(FileDownloaderImpl.kt:194)                                                                                at com.tonyodev.fetch2.downloader.FileDownloaderImpl.run(FileDownloaderImpl.kt:80)                                                                                at com.tonyodev.fetch2.downloader.DownloadManagerImpl$start$$inlined$synchronized$lambda$1.run(DownloadManagerImpl.kt:55)                                                                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)                                                                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)                                                                                at java.lang.Thread.run(Thread.java:818)
Do I need to handle something special to make that feature work?

@claudio-jeremias-clansoft Thanks for using Fetch. I have updated Fetch to now catch this exception. So the error now will be Error. CONNECTION_TIMEOUT. Also, if you call download.getError().getThrowable() when the error occurs, you will get the throwable that caused the exception to be thrown and act on that. Fetch tries hard to return specific errors, but across many devices and manufacturers the exceptions that are thrown when connection is lost or accessing IO may very. Fetch will label unknown errors as Error.UNKNOWN. Now that the throwable is being returned in this new version (2.0.0-RC12) Fetch gives the library user a chance to handle errors better.
In regards to RetryOnNetworkGain, the way Fetch works is that when the connection disconnects or times-out, Fetch then waits about 5 seconds and checks if network is available. If the network is available, Fetch will proceed with the error and mark the download status as Status.Error. If  the network is not available after the check, Fetch queues the download until the network becomes available. With that said; there may be instances where connection is lost and after the 5 second wait and network check, the network becomes available and Fetch will still mark the download status with Status.Error. Example: Turning on and turning off airplane mode quickly. In cases like these, the library user can also do a network check and if possible call fetch.retry(download.getId()) to retry the download. A good place to do this in the FetchListener.onError(@NonNull Download download) method.
Please check the new version (2.0.0-RC12) and let me know if you encounter any issues.

Good to hear from you @tonyofrancis !!! I am updating the library to RC-12 and also handle that error callback to retry de download!!!
I let you know if I get some new issue.
Regards


Trying to fix sceneID problem

I wasn't entirely sure what line 369 was trying to prevent, foremost the question when. So I added a check in that avoids the call the moment you enter play mode and exit play mode when coming from Prefab edit mode.
Tries to Fix #941

thanks for PR, will test

Closing this per comments on #941

.unity needs to be opened and resaved before building, because the scene object ta has no valid sceneId yet.2021 ll2cpp


RunAsSubcommand has been broken

My urfave/cli version is
v2.25.0
Checklist

[x] Are you running the latest v2 release? The list of releases is here.
[x] Did you check the manual for your release? The v2 manual is here
[x] Did you perform a search about this problem? Here's the GitHub guide about searching.

Dependency Management

My project is using go modules.

Describe the bug
On https://github.com/urfave/cli/commit/d5947d781442f834bf417ecd020ec9568206844b the RunAsSubcommand method was removed. It was re-added on https://github.com/urfave/cli/commit/00afca42c863a8ab6b551bc41817a1558f626fa7 as a deprecated stub.
However, a.RunContext(ctx.Context, ctx.Args().Slice()) behaves differently than what RunAsSubcommand did. For example, all the global flags in the original cli.Context are lost, where RunAsSubcommand correctly transferred them.
I have not found a way to run dynamic subcommands (i.e. an app which generates different subcommands at runtime by creating a subApp and calling subApp.RunAsSubcommand(origCtx). The subApp no longer has access to global flags defined in the parent app as before.
For me this is a breaking and silent behavior change, moreover since it arrived with absolutely no heads up: https://github.com/urfave/cli/releases/tag/v2.20.0. It seems unintended, therefore a bug.
To reproduce
See above.
Observed behavior
Sub-apps cannot get global flags anymore.
Expected behavior
There should be a way to pass global flags to sub-apps.
Additional context
Want to fix this yourself?
I think removals were done for a reason that is in conflict with keeping this functionality.
Run go version and paste its output here
go version go1.19.3 linux/amd64

@hsanjuan Can you provide a small example to illustrate this ? Doesnt the App/Command.Before function work for your purposes ?

Yes, of course @dearchap . Take the following:
package main

import (
	"errors"
	"fmt"
	"os"

	"github.com/urfave/cli/v2"
)

func main() {
	app := cli.NewApp()
	app.Flags = []cli.Flag{
		&cli.StringFlag{
			Name:  "global-flag",
			Value: "global-flag-value",
		},
	}
	app.Action = func(c *cli.Context) error {
		if !c.Args().Present() {
			fmt.Println("no subcommand")
			return errors.New("no subcommand")
		}

		subCmdName := c.Args().Get(0)
		dynamicApp := cli.NewApp()
		dynamicApp.Name = subCmdName
		dynamicApp.Flags = []cli.Flag{
			&cli.StringFlag{
				Name:  "subcommand-flag",
				Value: "subcommand-flag-value",
			},
		}
		dynamicApp.Action = func(c *cli.Context) error {
			fmt.Println("you ran a dynamic subcommand:", subCmdName)
			fmt.Println("global-flag:", c.String("global-flag"))
			fmt.Println("subcommand-flag", c.String("subcommand-flag"))
			return nil
		}

		return dynamicApp.RunAsSubcommand(c)
	}
	app.Run(os.Args)
}

With urfave/cli v2.16.3, running go run main.go example prints:
~/u/cli $ go run main.go example
you ran a dynamic subcommand: example
global-flag: global-flag-value
subcommand-flag subcommand-flag-value

With urfave/cli v2.25.0:
~/u/cli $ go run main.go example
you ran a dynamic subcommand: example
global-flag:
subcommand-flag subcommand-flag-value

(The value of the global flag is gone).

Thanks @hsanjuan I'll take a look.

@hsanjuan Can you test this fix and see if it works for you ?

@dearchap thanks, commented on the PR.


State changes from up to down when idling

These are the logs. Nothing interesting before that.
2022-04-19T03:01:09.264513+00:00 heroku[web.1]: Idling
2022-04-19T03:01:09.286277+00:00 heroku[web.1]: State changed from up to down
2022-04-19T03:01:10.020196+00:00 heroku[web.1]: Stopping all processes with SIGTERM
2022-04-19T03:01:11.178489+00:00 heroku[web.1]: Process exited with status 143

I am hosting on heroku and i did not find any button to stop that from happening. Maybe you know what to do

Hey 👋,
sorry for the late reply. Unfortunately heroku dynos changing their state to sleep after some idle minutes. You can pay for a better dyno to prevent this. A free method is to use a ping service as a workaround like described here:
Prevent Heroku Server from Sleeping for FREE


How to use v2.37 with single end reads?

Hi
I'm trying to use ARGs_OAP with my single end reads, but it still reminds me that R1 R2 file was necessary for performing. But I saw the newest version was able to treat single end reads.

The current version of args_oap does not support single-end reads, we hope to remove this constraint in future updates.
As a workaround, you could generate some fake R2 files (empty *_2.fa) to make args_oap running.
Hope this helps,
Xi


Deliverables for Feb 27

Committed
Note: Deliverable for Thursday for everyone is to help create a document describing the process of converting our nifti images into tensor images fit for processing with Ailey's pipeline. Note everyone's contribution to said document must be clear. @gkiar
Deliverables for Monday will be created after discussing with Greg about our findings about tensor image creation.

status
deliverable
notes

@alee156

@lukezhu1

@jonl1096

@toekneesunshine

@alee156 @lukezhu1 @jonl1096 @toekneesunshine:

Ideally, creating the tensor image should be straightforward given the paper. What I would like to see on Monday from this group is:

a methods.md explaining and implementing and visualizing the process of turning your image into a tensor image. Tensors can be visualized as FA maps, which are color-coded by direction and strengthened by intensity. Very google-able. I have code for this in the gh:neurodata/ndmg repo.
a markdown explaining the exact tractography (and parameters if possible) used in the paper sent by Ailey, and a list of other methods such as Dipy which are similar (i.e. if they did deterministic tracing, don't yet list or worry about probabilistic tracing)

A link to our Thursday deliverable!  It includes a discussion of generating the structure tensors, what we've attempted so far, and stuff we'd like to go over for office hours on Thursday.


Clarifications for adding key vault with bicep needed

In the section about Add secrets to a key vault template is using resource type Microsoft.KeyVault/vaults@2019-09-01. REST API spec has following description for that type: Create or update a secret in a key vault in the specified subscription.
Does that API snippet create secret only once if random value for property value is being used.  For comparison Microsoft.KeyVault/vaults/{vaultName}/keys/{keyName} will be created only once when using ARM API.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: f7ff14b8-a051-b796-2693-b295d08f1996
Version Independent ID: c9fd6a1e-1091-43f9-6480-af7658714f0f
Content: Manage secrets by using Bicep - Azure Resource Manager
Content Source: articles/azure-resource-manager/bicep/scenarios-secrets.md
Service: azure-resource-manager
Sub-service: bicep
GitHub Login: @johndowns
Microsoft Alias: jodowns

@jikuja
Thanks for your feedback! We will investigate and update as appropriate.

@jikuja - Yes, that is correct.
At this moment, Since there is no doc update required, We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Add support to Redirect with http code.

Summary of the changes (Less than 80 chars)

Add new constructor to accept HTTP redirection code

Added code to handle custom code in Redirection context Executor

Addresses #13359

Please review and provide your comments.

Thanks for your PR, @SARAVANA1501.
@pranavkm can you please review this and merge if it looks good? Thanks!

Thanks for your effort, @SARAVANA1501.
After another review of the issue we've decided not to make any changes to the framework and instead encourage customers to use the StatusCodeResult(303) instead.


Refactor Inviting Users to Workspaces

Previously, users where invited to workspaces by user ids. This was refactored and changed on the server so that users are invited by email addresses to workspaces. We need to refactor the user invitation in the UI to bring it up to speed so that users are invited by emails instead of user ids to workspaces.

Implemented by @MarcDAFrame through the package integration in #66


Convert inquiry form to use toggle button

Requires a Dep Upgrade after https://github.com/parameter1/base-cms/pull/392 has been merged and released

 Leaders: Hide Lead Gen form behind button


[ReactNative] Fixes Coinbase Wallet Connect for iOS

Adds use...Wallet hooks for the 4 supported wallets

Because Coinbase wallet uses UniversalLinks we need to setup a listener for url callbacks

./release-pr


Fixes error when running webpack

Steps to reproduce:

Clone the repo
Do npm install

You'll get:
> webpack --progress --colors

 10% 0/1 build modulesTypeError: Cannot read property 'visitClass' of undefined
    at monkeypatch (/Users/javi/Sites/temp/react-google-places-suggest/node_modules/babel-eslint/index.js:199:40)
    at Object.exports.parse (/Users/javi/Sites/temp/react-google-places-suggest/node_modules/babel-eslint/index.js:410:5)
    at parse (/Users/javi/Sites/temp/react-google-places-suggest/node_modules/eslint/lib/eslint.js:452:27)
    at EventEmitter.module.exports.api.verify (/Users/javi/Sites/temp/react-google-places-suggest/node_modules/eslint/lib/eslint.js:604:15)
    at processText (/Users/javi/Sites/temp/react-google-places-suggest/node_modules/eslint/lib/cli-engine.js:231:23)
    at CLIEngine.executeOnText (/Users/javi/Sites/temp/react-google-places-suggest/node_modules/eslint/lib/cli-engine.js:371:26)
    at lint (/Users/javi/Sites/temp/react-google-places-suggest/node_modules/eslint-loader/index.js:26:20)
    at Object.module.exports (/Users/javi/Sites/temp/react-google-places-suggest/node_modules/eslint-loader/index.js:120:7)
    at WEBPACK_CORE_LOADER_EXECUTION (/Users/javi/Sites/temp/react-google-places-suggest/node_modules/webpack-core/lib/NormalModuleMixin.js:155:71)
    at runSyncOrAsync (/Users/javi/Sites/temp/react-google-places-suggest/node_modules/webpack-core/lib/NormalModuleMixin.js:155:93)
    at nextLoader (/Users/javi/Sites/temp/react-google-places-suggest/node_modules/webpack-core/lib/NormalModuleMixin.js:290:3)
    at /Users/javi/Sites/temp/react-google-places-suggest/node_modules/webpack-core/lib/NormalModuleMixin.js:259:5
    at Storage.finished (/Users/javi/Sites/temp/react-google-places-suggest/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:38:16)
    at /Users/javi/Sites/temp/react-google-places-suggest/node_modules/graceful-fs/graceful-fs.js:78:16
    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:404:3)

This is caused by a problem with babel-eslint. This PR implements the solution suggested here.

I close this PR because I don't use webpack anymore


Fix builder priority

I accidently put these in the wrong order

I accidently put these in the wrong order

I noticed and I think that this caused a regression in one of the apicurio builds

It did, this was how I noticed it as well


goodwe.set_parameter service disappear

Hello,
Today after upgrade the HA to 2023.6.3 service goodwe.set_parameter disappear.
Inverter is GW10k-ET, all entities seem to be OK.
Could you check what happened?
Home Assistant 2023.6.3
Supervisor 2023.06.2
HACS 1.32.1
It looks like HA uses STANDARD Goodwe integration instead of HACS Custom version. But in Devices HACS is still used.

All other HACS related Goodwe features looks ok:

It was described previously here.
https://github.com/mletenay/home-assistant-goodwe-inverter/issues/167

The only change in Home Assistant 2023.6.3 related to Goodwe is:
https://github.com/home-assistant/core/pull/95041
Does anyone else see missing service goodwe.set_parameter ?
The log shows error related to "homeassistant.components.automation.":
2023-06-27 14:45:47.110 DEBUG (MainThread) [custom_components.goodwe.coordinator] Finished fetching GoodWe data in 0.689 seconds (success: True)
2023-06-27 14:45:47.457 DEBUG (MainThread) [custom_components.goodwe.select] Settin operation mode to general, power 2, max SoC 100
2023-06-27 14:45:47.461 DEBUG (MainThread) [goodwe.protocol] Sending: f706b79800003b07
2023-06-27 14:45:47.506 DEBUG (MainThread) [goodwe.protocol] Received: aa55f706b79800003b07
2023-06-27 14:45:47.509 DEBUG (MainThread) [goodwe.protocol] Sending: f710b99700020400010000a8f9
2023-06-27 14:45:47.754 DEBUG (MainThread) [goodwe.protocol] Received: aa55f710b9970002c1ee
2023-06-27 14:45:47.762 DEBUG (MainThread) [goodwe.protocol] Sending: f706b9ad0001e821
2023-06-27 14:45:48.005 DEBUG (MainThread) [goodwe.protocol] Received: aa55f706b9ad0001e821
2023-06-27 14:45:48.009 DEBUG (MainThread) [goodwe.protocol] Sending: f706b99627104210
2023-06-27 14:45:48.254 DEBUG (MainThread) [goodwe.protocol] Received: aa55f706b99627104210

2023-06-27 14:45:48.257 ERROR (MainThread) [homeassistant.components.automation.gwe_pc_exp_pwr_10kw_gen] GWE.PC 10kW, General: Error executing script. Service not found for call_service at pos 3: Unable to find service goodwe.set_parameter

2023-06-27 14:45:50.217 DEBUG (MainThread) [goodwe.protocol] Sending: f703891c007d7ae7
2023-06-27 14:45:50.519 DEBUG (MainThread) [goodwe.protocol] Received: aa55f703fa17061b0e2d3115a300220000075c029b0000000000000000000000000000000000000000000000000002099300081386ffffffd3099a00081384ffffffd209a200081386ffffffd50001ffffff7bffffff3e0000000000000000098d0002138600010000000c09a10002138400010000000f099e0002138600010000000a0000000a0000000600000006000000230000001a000101dd000001bd40201f1b0f890be7ffbffffff82900030000000d000100000000000000000522000000860000053b000000a400760000003500000000003700040000028900290000021700030006000000010000000000000000000003000800000207570000463e
2023-06-27 14:45:50.523 DEBUG (MainThread) [goodwe.protocol] Sending: f70390880018fc7c
2023-06-27 14:45:50.613 DEBUG (MainThread) [goodwe.protocol] Received: aa55f7033000ff01020001015e000e0025000000590064000600000101000000000000000000000000000000000000000000000000d365
2023-06-27 14:45:50.617 DEBUG (MainThread) [goodwe.protocol] Sending: f7038ca0002dbbf3
2023-06-27 14:45:50.905 DEBUG (MainThread) [goodwe.protocol] Received: aa55f7035a00010042000a01110001ffbeffbdffc6ff4100b8fda0fd95fdcdfdab138647f2bc0045a8c000ffffffbeffffffbdffffffc6ffffff410000003a0000003d00000040000000b8ffffff8fffffff91ffffff94fffffeb3000100507d7e

Thanks.

Hello  @mletenay,
Today I noticed that fast_charging doesn't work, because it uses the same call service goodwe.set_parameter.
This is more painfull, because it prevents automatic battery charging from the grid.
  - service: goodwe.set_parameter
    data:
      device_id: eeb524227071a5bd99578cb7ccc678ac
      parameter: fast_charging
      value: 1
    alias: Fast Charge = 1

Hello all,
I reverted to HA Core  2023.6.2, but  this problems still exists. I Enabled debugging of Goodwe - reinitialized device.
Then only this error is visible, but it is not related to service issue.
2023-07-02 02:12:31.693 DEBUG (MainThread) [goodwe.protocol] Received: aa55f703fa170702020c1d0000000000000000026700000000000000000000000000000000000000000000000000000948000a13860000002e091e000a13860000001a0934000a13870000003f00010000008a00000062000000000000000009430002138600010000000a09270002138600010000000d0932000213870001000000040000000600000001000000040000001a0000000e000101970000014f40201e1b0f090bab00040000008c00020000000d0001000000000000000007de00000000000007e90000010f00030000003700000000005900010000037000000000027000000006000000000000000000000000000003080850000300c800007e64
2023-07-02 02:12:31.699 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/goodwe/select.py", line 139, in update_eco_mode_power
    self._eco_mode_power = int(float(event.data.get("new_state").state))
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: 'unavailable'
2023-07-02 02:12:31.702 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/goodwe/select.py", line 153, in update_eco_mode_soc
    self._eco_mode_soc = int(float(event.data.get("new_state").state))
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: could not convert string to float: 'unavailable'

Any hints?

I have the same problem :/

The Goodwe Inverter (experimental) service disappeared and with it the goodwe.set_parameter service after adding another DT inverter to the existing ET type.

If I have two inverters in SEMportal (in my case ET and DT) and it doesn't matter if they are together (they have the same PowerStatusSnMin or separately ... they have different PowerStatusSnMin), then after adding them everything works. After restarting HA, however, the parameter "GoodWe Inverter: Set inverter configuration parameter - EXPERIMENTAL is no longer available" and the supply to the grid cannot be controlled (ET version).
Availability with is only possible by removing and re-adding the second inverter. I expect the second inverter to only read the values (if it is powered by the panels) and that is functional, but its presence after the restart blocks the ET for controlling the supply to the grid.
Please repair.

I did not find clear explanation for set_parameter disappearance, but I did some potential fix.
Could you try to install master version and test it ?

I downloaded the master version and did a reboot and then another and
everything seems to be working.
The experimental version with two inverters did not disappear after a
restart.
The bug is fixed.
Home Assistant monitors my export size, and unauthorized exports above
the contractual limit are subject to heavy fines (the fine is 300 times
the price per kWh).
With a permanently activated limit, Goodwe has a high idle consumption.
Your function takes care of that. I have an ET and a DT inverter that
work indefinitely and I monitor the export size (allowed 9.9kW and
installed 15kW). If the export is >9900W, I activate the limit with a
setting of 9900W and deactivate it again after sunset. I have to rely on
this feature.
Many thanks, I am very pleased with it.
Question: should I keep the master version forever or what about the
v<IP_ADDRESS> version that is now being offered to me as an upgrade?
Martin Dvorak
(Czech Republic)
Dne 2023-10-15 23:01, mletenay napsal:

I did not find clear explanation for set_parameter disappearance, but I did some potential fix.
Could you try to install master version and test it ?
--
Reply to this email directly, view it on GitHub [1], or unsubscribe [2].
You are receiving this because you commented.Message ID: @.***>

Links:
[1]
https://github.com/mletenay/home-assistant-goodwe-inverter/issues/199#issuecomment-1763502803
[2]
https://github.com/notifications/unsubscribe-auth/A6EIC56FMV6QDNLDAWR6JETX7RFJNANCNFSM6AAAAAAZVB4UP4

Closing as fixed in v<IP_ADDRESS>


feat: add carousel and all media files to landing page

Remaining issues

The images in the carousel needs to shorter in height so as to not take up as much screen, and higher in resolution. Right now they are make-shift ones we screenshot'ed from Figma.

Implemented email automation for team applications using Emailjs

Used Emailjs so that the only thing people need to do to sign up via webpage is to fill out the pop-up form and press "submit"

Polished up landing page

Added updated text
Added updated usability gif
Made buttons their own element rather than being part of the banner
Log in, get started, and clicking the header now takes you to "/login" path
Polished footer styling
Clicking on "Why uCredit?" now auto scrolls page to the why sections


LoginActivity login function

Build a login function that starts the ViewProfileActivity after successfully calling the various checking functions or returns to the login page with an error message or redirects to signup page with an error message

in progress


Webhook TASKS_CREATED does not work when syncing from local storage

Describe the bug
When creating tasks with local storage, webhook request for task creation is not sent.
To Reproduce

Add Local Storage to Label Studio
Check option Treat every bucket object as a source file
Sync Tasks
This creates new tasks in the project, but TASKS_CREATED webhook is not executed.

Expected behavior
Should get a TASKS_CREATED webhook.
Screenshots

Doing this does not send TASKS_CREATED Webhook.
Environment (please complete the following information):

OS: Linux c6e799c0ddd1 <IP_ADDRESS>-microsoft-standard-WSL2
Label Studio Version 1.7.0

Thank you for you report. It sound like a bug.


Add autofmt on save

Using zig fmt. See https://github.com/ziglang/zig.vim for an approximate example of what settings are required. Will differ as I'm not sure of the usual vscode plugin apis.

Implemented in https://github.com/ziglang/vscode-zig/commit/c2e922259cd1fe65fdf26ec2bca8049e5f6c890e.


Author failed to send messages to group member with error message "Unable to create 1on1 conversation between user and bot"

Hi @tomatosis ,
Thanks for raising the query. Could you please share the application insight logs. Here is the reference.


About Page

Created the About Page. Navigatable from the home, via a button in the nav bar.

send the video showing its working


pull request for e2e test at 01/25/2017 21:15:07

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Compressing min file and saving 3.97 kb

How about using http://jscompress.com for min file of mustache.js and saving 3.97 kb like this https://gist.github.com/MouadDB/85ee9695fc6565fcdc253504cb631323

Sure, feel free to PR and improve the build system that generates the minified file!
https://github.com/janl/mustache.js/blob/master/hooks/pre-commit#L25-L54
https://github.com/janl/mustache.js/blob/master/Rakefile#L27-L30

Closed


Compile errors

Hi,
I've tried to compile 3.1.0 following the build instructions and I have the following compile errors:
./google/protobuf/stubs/once.h:135:30: error: cannot initialize a parameter of       type 'const volatile google::protobuf::internal::Atomic32 *' (aka       'const volatile int *') with an lvalue of type       'google::protobuf::ProtobufOnceType *' (aka 'long *')   if (internal::Acquire_Load(once) != ONCE_STATE_DONE) {                              ^~~~

same

same...

same

To solve this issue follow these steps:
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install emscripten-1.36.14
./emsdk activate emscripten-1.36.14
source ./emsdk_env.sh

I also installed llvm here: https://apt.llvm.org/
And ran the configure files as such:
emconfigure --em-config LLVM_ROOT=/usr/bin; ./configure
emmake --em-config LLVM_ROOT=/usr/bin; make

Don't know if that's required though
cheers

@ktb92677 I can't compile it for Windows. If it's not too much trouble, could you update the instructions or just send me these static libraries? I'd be very grateful. Thank you


Add ODES emails

[x] Added email support for ODES API.
[x] Create templates for email content.
[x] Finish templates so they look nice.
[x] Add real URLs and things to templates.

Closes #81.

Guh, that took forever. I think this is ready.


Add model of PR2 robot

This is missing loader and unittests, but more importantly we need to squash those commits to avoid adding a ton of unused meshes to the git history

Also, with a bit of optipng, we can reduce this from 8.6M to 7.8M

Arg, wrong git command, sorry @florent-lamiraux


The Login Link is broken

If you try to click login from the web app, the link does not take you anywhere.  Likely due to the react-router update

All links were broken when a default page couldn't be determined.  This is fixed with d56b7b6cb68957cba389e78d5cb7349b2919d304


[ENHANCEMENT] Model Cache Key Format

Is your feature request related to a problem? Please describe.
Our current model_cache_key stored in available_models is a string that is hard to split, eg:
"ViT-L/14ViT-L/14768clipcpu"
see code here
Describe the solution you'd like
add a splittable symbol between different parts:
"ViT-L/14,ViT-L/14,768,clip,cpu"

Easy Accessible Solution for Model Cache Key
model_cache_key is used as a key in s2_inference.py, available_models dictionary ([link](https://github.com/marqo-ai/marqo/blob/f1d15e9167c15791330d9cf15d9319da22b49abd/src/marqo/s2_inference/s2_inference.py#L66))to provide access to the loaded models. Any operations on the model (e.g., getting information, ejecting a model) are relied on model_cache_key.
Currently, the model cache key is a string with all the properties (e.g., model name, device, dimensions) merged together. A model cache looks like:
"ViT-L/14ViT-L/14768clipcpu”
This is not readable to users and hard to reference as a key value. A proper design should consider readability, accessibility, distinguishability. Providing too much information will make the key hard to reference. Making the key too simple will loss the necessary information that should be exposed. Each model_cache_key should be distinguishable from each other to provide easy access to the mapped models.
The available_models have the dictionary structure:
available_models = {
	model_cache_key_1 : model_1,
	model_cache_key_2 : model_2,
	...
	model_cache_key_3 : model_3
}

Solution 1
We change model_cache_key to a tuple with model_name, device as the first two elements followed by other properties. It will look like
("ViT-L/14", "cpu", "ViT-L/14", "768", "clip")
Pros: This method provides the best readable information to the users.
Cons: However, the problem is accessibility. The users need to provide the whole tuple to access this key and the mapped model. One possible solution is that we can use the first two elements to distinguish the model_cache_key . However, after discussing with Pandu, there is still a small chance that two models have the same model_name and device but with different properties mapping to two different models.
Solution 2
Adding a unique_id to Solution 1 so we can identify and reference them by using the unique_id . For example, a model cache key should look like:
("_id: 587", "ViT-L/14", "cpu", "ViT-L/14", "768", "clip")
Pros: it has the readability and makes user easy to access by using “_id:586”
Cons: I think this looks good to me.

@pandu-k @jn2clark @aryanagarwal9 can I have your opinions on this one?

Thanks @wanliAlex . A couple of points:

how is the id generated?
how are the models accessed by _id?

For _id generation, there are two ways,
option1: have this _id as a pre-assigned property for each model.
option2: generate this _id every time a model_cache_key is generated.

We can identify the model_cache_key by this unique id.

But I agree we just use the tuple (model_name', device) as model_cache_key`.
Each model should be uniquely identified by its model_name.


Declaring changeset based on new Ecto format

Code was failing for Ecto 2.2

I think this would solve the problem I had where I had to define changeset/1 on my Ecto models 👍

Thanks!!


Updates to ui-hero, ui-brand, ui-avatar

:tada: This PR is included in version 1.15.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Implement API endpoint as a config parameter for the frontend instance

For the moment, the API endpoint is hard coded (even though DRY, through #26). It has to be changed to be a configuration option for it to be consumed as an enterprise product.

Config.json file is being created to make the API end point configurable.


fix avoid NPE for restore job

Proposed changes
Issue Number: close #xxx
The indexes of OlapTable may not be assigned in method readFields:
@Override
public void readFields(DataInput in) throws IOException {
    ...
    // read indexes
    if (in.readBoolean()) {
        this.indexes = TableIndexes.read(in);
    }
    ...
}

So indexes may be null.

Please describe when the case happens.


Directory setup

#Feature

Directory for raspberry pi
Directory for arduino
Directory for catbot-cli
ReadMe file for each directories mentioned above
Master readMe file with

[x] short descriptions
[x] setup instructions
[x] command instructions

@cvr8924 I got rid of the system description so that we aren't predefining something that is not yet implemented.


cannot infer type of empty numpy array in local scope of jitclass, although explicitly given.

Reporting a bug

[X] I have tried using the latest released version of Numba (most recent is
visible in the change log (https://github.com/numba/numba/blob/main/CHANGE_LOG).
[X] I have included a self contained code sample to reproduce the problem.
i.e. it's possible to run as 'python bug.py'.

I have code that I want to wrap as Jitclasses. When I try to run the following code:
import numba as nb
import numpy as np
from numba.experimental import jitclass

spec = [("x", nb.float64[:])]

@jitclass(spec=spec)
class Works:
    def __init__(self, x=np.array([], dtype='float')):
        self.x = x

@jitclass(spec=spec)
class Workstoo:
    def __init__(self):
        self.x = np.array([1.0], dtype='float')

@jitclass(spec=spec)
class DoesntWork:
    def __init__(self):
        self.x = np.array([], dtype='float')

w = Works()
wt = Workstoo()
dw = DoesntWork()

creating DoesntWork() will cause python to crash with the following error:

Failed in nopython mode pipeline (step: nopython frontend)
Type of variable '$12call_function_kw.5' cannot be determined, operation: call $4load_attr.1($6build_list.2, func=$4load_attr.1, args=[Var($6build_list.2, jitclass_example.py:20)], kws=[('dtype', Var($const8.3, jitclass_example.py:20))], vararg=None, varkwarg=None, target=None), location: C:\Users\johnhelt\Documents\OneDrive - Teracloud AB\numerous-solver\jitclass_example.py (20)

File "jitclass_example.py", line 20:
    def __init__(self):
        self.x = np.array([], dtype='float')
        ^

During: resolving callee type: jitclass.DoesntWork#17d40107010<x:array(float64, 1d, A)>
During: typing of call at <string> (3)

During: resolving callee type: jitclass.DoesntWork#17d40107010<x:array(float64, 1d, A)>
During: typing of call at <string> (3)

File "<string>", line 3:
<source missing, REPL/exec in use?>

Although the code is the same really. It seems that numba cannot infer the type of the variable when it's an empty list AND inside the __init__ scope of the class, but if it's externally defined, or non-empty, then there's no problem. This is inspite of me specifying the data type explicitly.

@mrdobalina2k thank you for reporting this, I can confirm this is a bug. As a workaround you can use a tuple instead of list:
@jitclass(spec=spec)
class DoesntWork:
    def __init__(self):
        self.x = np.array((), dtype='float')

Whilst this probably is a bug in that it's not clear what the issue is from the error message, I think underlying problem is that there's an empty list used in the array constructor. Consider:
from numba import njit
import numpy as np

@njit
def foo():
    tmp = [] # What type is this?!
    np.array(tmp, dtype=np.float64)

foo()

I'm not sure it's always possible to say "if the list used in an array constructor is an unrefined list, it should be considered empty, so use the specified dtype as the type", because of cases like this:
from numba import njit
import numpy as np

@njit
def bar(x):
    x.append(1j)

@njit
def foo():
    tmp = []
    bar(tmp) # tmp will now contain a complex number, but its type is unrefined
    np.array(tmp, dtype=np.float64)

foo()


Set bash options for scripts

We had a silent failure in the run_daily script after the clock rollover (which affects the daily downloading of open data)
Set the bash options to ensure that scripts fail properly (e.g. set -euo pipefail or similar)

Using set -e -o pipefail is the way to go


RISC-V: updated weekly build for new intrinsics implementation

Should be tested after merging https://github.com/opencv/opencv/pull/24841 (merging to 5.x too?)
Skipped test set has been reduced for an experiment, further tuning might be necessary.

https://github.com/opencv/ci-gha-workflow/pull/1364.x state has been stabilized: several test cases in core has been fixed, several cases in dnn now fail - ignored them for now.
Need to propagate https://github.com/opencv/opencv/pull/24841 to the 5.x branch in order to test it too. I will try to do it manually after regular merge (https://github.com/opencv/opencv/pull/24862) is finished.

Decided to wait for regular 4.x->5.x merge by OpenCV team.


Timeline: change text links to font-awesome icons for actions for timeline post

https://www.boonex.com/forums/topic/Photo-album-Repost-only-post-1st-picture.htm


Adding support for API-Management Version 7.7-20210830

User story
The APIM-CLI does not work with the August-2021 release and must be adapted.
Additional context

new configuration field: loginResponseTime has been added to the API-Manager Config-Object.

Support added with version 1.3.11


One click button to swap dust to OSMO

Commonly requested feature: https://twitter.com/fwoods_xf/status/1448912286542753793

brilliant

Token dust is caused from slippage's in LP'ing tokens I believe

I can see some issues in the post-zero-fee Osmosis where if the amount of dust tokens < fees paid this won't be efficient.
Not sure if this should be a priority right now.
Thoughts?

IMO this is too much of an edge case to necessitate dedicated functionality. It would complicate/clutter things more than it's worth.


Not Mining

Hello,
The code is working fine for upgrades, harvest collection, resource collections.
However it is only attacking "Treasure Goblin" not going to any crystal Mine.
Am I missing any setting.

Also config.json to be stored at which location..

After removing Treasure Globin from Config file, now it is mining crystal.


Add containerd.service to containerd tarball

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm


Feature request: allow overriding AppImage updInfo

For appimageupdatetool, a -u, --update-info flag would be useful, allowing users to switch AppImage channels if multiple are available (especially in scripts).
For example, someone updating an AppImage who would like to switch from stable to beta may do so with ./appimageupdatetool... -u "new|update|info|updateme-beta.AppImage" "updateme-stable.AppImage"

Each AppImage shold always update within the same channel.
E.g. an AppImage in the beta channel should always update to the next beta, and release versions should always update to release versions, and so on.

@probonopd this would also allow for AppImage implementations that don't use SquashFS (or store desktop integration in the exact same way) to be updated manually, giving some more flexibility. I'd be willing to learn some C++ and send a PR if the problem is just not wanting to implement an extra feature.

I highly disagree with @probonopd, and therefore reopen the issue. The API supports this already because it's a useful feature for many, many applications. The two frontends (CLI and GUI) just need to add a parameter for this. PRs welcome.

Why make things more complicated, do you have a use case @TheAssassin?

@probonopd how would it make things more complicated?

@probonopd there are so many. For instance, one can easily test an update with new infrastructure or a different syntax. Also, you're able to allow users to update to a beta release manually. The already-existing API is designed exactly for allowing more than one update channel (e.g., daily, beta, stable).
Also, since the API already provides that feature, the change proposed in #214 is very small. It's just 4 lines.


Use a build cache

compiling the stdlib over and over again is no fun
I propose a build cache where a library's entire source, hashed, is the key, and the serialized AST is the value. We can dump that in a configurable directory or disable it via forc.

I don't think this is needed anymore since compile times of the stdlib are no longer an issue.


Warning array_key_exists when viewing History due to Decimal field

Affected Version
4.3+
Description
If you have a $db that contains a decimal, when you view that objects change history it will fail to load.
[Warning] array_key_exists(): The first argument should be either a string or an integer
GET /
Line 32 in vendor/silverstripe/framework/src/Forms/SingleLookupField.php
Steps to Reproduce
You can re-produce this easily by doing
$field = DropdownField::create(
    'SomeDecimals',
    'SomeDecimals',
    ['0.1' => 'Foo', '0.2' => 'Bar']
);

Then we set the value to 0.1. Note we don't wrap this in quotes, as the $db field with a type of Decimal will pass the value without quotes.
$field->setValue(0.1);

Then, we set it to read only, and try and get the value.
$field->performReadonlyTransformation();
$field->Value();

This will fail, where as we would expect Foo.
We should also expect
$field = DropdownField::create(
    'SomeDecimals',
    'SomeDecimals',
    [0.1 => 'Foo', 0.2 => 'Bar']
);
$field->setValue(0.1);
$field->performReadonlyTransformation();
$field->Value();

to work as well.
Fix
Update valueToLabel in the SingleLookupField class.
Needs two tweaks. Change
if (array_key_exists($value, $source)) {
    return $source[$value];
}

to become
if (isset($source[$value])) {
    return $source[$value];
}

$strValue = (string)$value;
if (array_key_exists($strValue, $source)) {
    return $source[$strValue];
}

The isset is done first because it's faster.

We are also seeing this issue, which was breaking a site. So we had to ignore Warnings.
The Fix above also not working on my end.

Hey there.
On this line the value gets converted to a string. $strValue = (string)$value; which would fix the warning since the warning is saying that it isn't a string.
Are you sure you copied what I did fully, or maybe you have a different error @107p

thanks @nfauchelle , and yes I am getting a different error. An array is getting passed to $value, which is why the string conversion didn't work.
I can only get this working by checking if $value is empty.


vm build via linux-builder vm sometimes fails on macOS when copying files to nix-store-image

Steps To Reproduce
Steps to reproduce the behavior:

On an M1 mac, have a linux-builder vm running. I have one configured in my system configuration vianix.linux-builder = with pkgs; {
  enable = true;
  ephemeral = true;
  maxJobs = 4;
};

Build the following flake via nix build .#linux-builder.config.system.build.macos-builder-installer{
  inputs = {
    home-manager.url     = "github:nix-community/home-manager/release-23.11";
    nixpkgs.url          = "github:NixOS/nixpkgs/nixos-23.11"               ;
    nixpkgs-darwin.url   = "github:NixOS/nixpkgs/nixpkgs-23.11-darwin"      ;
    nixpkgs-unstable.url = "github:NixOS/nixpkgs/nixpkgs-unstable"          ;
  };

  outputs = inputs@{ self, nixpkgs, ... }: {
    linux-builder = let
      system = "aarch64";
    in nixpkgs.lib.nixosSystem {
      modules = [
        ({ lib, ... }: {
          imports = [ "${nixpkgs}/nixos/modules/profiles/macos-builder.nix" ];
          nix.registry = lib.mapAttrs (key: value: { flake = value; }) inputs;
          nixpkgs.hostPlatform = "${system}-linux";
          system.stateVersion = "23.11";
          virtualisation.host.pkgs = nixpkgs.legacyPackages."${system}-darwin";
        })
      ];
    };
  };
}

The build fails during a call to cptofs when buiding nix-store-image.drv, with the error ERROR: cptofs failed. diskSize might be too small for closure..

Build log
See this gist for the log.
Additional context
I put together the above flake as a minimal failing example. Note that most of the flake inputs are not even used, but when commenting one of them out, the flake builds again. In intermediate steps I had even more strange behavior. For example, the actual flake where I first had this issue is in a git repository. If I delete the .git directory, it builds.
Currently I would already be happy to know whether this is reproducible by other people or whether it is a problem on my side?
Notify maintainers
@roberth, @Gabriella439
Since this seemingly happens inside the macosx-builder. But not sure whether this is the actual culprit…
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
this path will be fetched (0.01 MiB download, 0.05 MiB unpacked):
  /nix/store/1g904ji4xfqzh475f4jpp4b2v6wrhg5y-stdenv-darwin
copying path '/nix/store/1g904ji4xfqzh475f4jpp4b2v6wrhg5y-stdenv-darwin' from 'https://cache.nixos.org'...
 - system: `"aarch64-darwin"`
 - host os: `Darwin 23.3.0, macOS 14.3.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/nix/store/1w3f098kdy51qnyqfmmvvcqlq5d90jbc-source`

Add a :+1: reaction to issues you find important.

I'm guessing what is happening is that your Linux builder ran out of disk space.  If you run nix-collect-garbage on the builder that should free up space.  You can also deploy a Linux builder that has more disk space, although I'm not sure if nix-darwin makes that configurable or not, but the macos-builder.nix module has an option for configuring that:
https://github.com/NixOS/nixpkgs/blob/df41961bd4b7e838cb997543ea1297f4cbd7da15/nixos/modules/profiles/macos-builder.nix#L31-L36

I'm guessing what is happening is that your Linux builder ran out of disk space. [..]

Ah, should have mentioned: That's what I thought first, but I checked during the build by logging into the linux-builder and running df -h several times during the build. This is the output with the highest disk usage, immediately before the error:
[builder@nixos:~]$ df -h
Filesystem                    Size  Used Avail Use% Mounted on
devtmpfs                      149M     0  149M   0% /dev
tmpfs                         1.5G     0  1.5G   0% /dev/shm
tmpfs                         742M  6.4M  736M   1% /run
tmpfs                         1.5G  2.5M  1.5G   1% /run/wrappers
/dev/disk/by-label/nixos       20G  5.7G   13G  31% /
certs                         461G  438G   24G  95% /etc/ssl/certs
/dev/disk/by-label/nix-store  1.3G  917M  247M  79% /nix/.ro-store
shared                        461G  438G   24G  95% /tmp/shared
xchg                          461G  438G   24G  95% /tmp/xchg
keys                          461G  438G   24G  95% /var/keys
overlay                        20G  5.7G   13G  31% /nix/store
tmpfs                         297M  4.0K  297M   1% /run/user/1000

So it seems there should be plenty of space left.

Looks like  nixos/lib/make-disk-image.nix makes an estimate that's too small when producing the image for the nix store (useNixStoreImage, nixos/modules/virtualisation/qemu-vm.nix).

Thanks @roberth for the hint to nixes/lib/make-disk-image.nix. Unfortunately, after some investigating it seems that's not the case (if I'm not overlooking something…).
To check whether it's a too small estimate of the disk image, I tried to keep the build product in order to inspect it. However, --keep-failed seems not to work with remote builders. Instead, I adapted the flake slightly by exchanging the line virtualisation.host.pkgs = nixpkgs.legacyPackages."${system}-darwin"; for virtualisation.host.pkgs = nixpkgs.legacyPackages."${system}-linux"; and copied the flake via ssh onto my remote builder. I then build a vm image directly on the builder via nix build ./#linux-builder.config.system.build.vm --keep-failed.
This fails with the same error message (ERROR: cptofs failed. diskSize might be too small for closure.). The temporary build directory contains the following:
[builder@nixos:/tmp/nix-build-nix-store-image.drv-0]$ ls -lh
total 2.1G
-rw-r--r-- 1 nixbld1 nixbld 4.1K Mar  3 10:53 env-vars
-rw-r--r-- 1 nixbld1 nixbld 3.7G Mar  3 10:57 nixos.raw
drwxr-xr-x 4 nixbld1 nixbld 4.0K Mar  3 10:53 root
drwxr-xr-x 6 nixbld1 nixbld 4.0K Mar  3 10:53 state

If I understand the code in nixos/lib/make-disk-image.nix correctly, the failing call to cptofs tries to copy the content of root/nix/store onto the disk image nixos.raw, which at that moment should be empty and have size roughly 3.5 GB. Checking the size of root/nix/store via du -hs gives
[builder@nixos:/tmp/nix-build-nix-store-image.drv-0]$ du -hs root/nix/store
2.0G	root/nix/store

So it should easily fit. Just to be sure I mounted the raw image nixos.raw and checked its free capacity via df -h:
[builder@nixos:/tmp/nix-build-nix-store-image.drv-0]$ df -h
Filesystem                    Size  Used Avail Use% Mounted on
devtmpfs                      149M     0  149M   0% /dev
tmpfs                         1.5G     0  1.5G   0% /dev/shm
tmpfs                         742M  6.4M  736M   1% /run
tmpfs                         1.5G  2.5M  1.5G   1% /run/wrappers
/dev/disk/by-label/nixos       20G  7.8G   11G  42% /
certs                         461G  436G   25G  95% /etc/ssl/certs
/dev/disk/by-label/nix-store  1.3G  917M  247M  79% /nix/.ro-store
shared                        461G  436G   25G  95% /tmp/shared
xchg                          461G  436G   25G  95% /tmp/xchg
keys                          461G  436G   25G  95% /var/keys
overlay                        20G  7.8G   11G  42% /nix/store
tmpfs                         297M  4.0K  297M   1% /run/user/1000
/dev/loop0                    3.5G  2.0G  1.4G  59% /home/builder/mnt-tmp

The last entry is for the nixos.raw image. So at the moment the build fails, the image has still more than 40% free space. Also, again this shows that the builder's disk image (5th entry, for /dev/disk/by-label/nixos) itself also still has plenty of capacity left.
Am I overlooking something? What else could cause the failure? Not sure whether it helps, but here's also the output of tune2fs -l for the nixos.raw image:
[builder@nixos:/tmp/nix-build-nix-store-image.drv-0]$ tune2fs -l nixos.raw
tune2fs 1.47.0 (5-Feb-2023)
Filesystem volume name:   nix-store
Last mounted on:          /mnt/0000fe00
Filesystem UUID:          287cfdab-a4fe-48fb-9e77-d9dd303c6c37
Filesystem magic number:  0xEF53
Filesystem revision #:    1 (dynamic)
Filesystem features:      has_journal ext_attr resize_inode dir_index filetype needs_recovery extent 64bit flex_bg sparse_super large_file huge_file dir_nlink extra_isize metadata_csum
Filesystem flags:         unsigned_directory_hash
Default mount options:    user_xattr acl
Filesystem state:         clean
Errors behavior:          Continue
Filesystem OS type:       Linux
Inode count:              238560
Block count:              952576
Reserved block count:     47628
Overhead clusters:        35090
Free blocks:              412136
Free inodes:              0
First block:              0
Block size:               4096
Fragment size:            4096
Group descriptor size:    64
Reserved GDT blocks:      465
Blocks per group:         32768
Fragments per group:      32768
Inodes per group:         7952
Inode blocks per group:   497
Flex block group size:    16
Filesystem created:       Sun Mar  3 10:53:31 2024
Last mount time:          Sun Mar  3 10:57:11 2024
Last write time:          Sun Mar  3 10:57:11 2024
Mount count:              2
Maximum mount count:      -1
Last checked:             Sun Mar  3 10:53:31 2024
Check interval:           0 (<none>)
Lifetime writes:          2465 MB
Reserved blocks uid:      0 (user root)
Reserved blocks gid:      0 (group root)
First inode:              11
Inode size:	        256
Required extra isize:     32
Desired extra isize:      32
Journal inode:            8
Default directory hash:   half_md4
Directory Hash Seed:      4b5b9340-0387-45d4-a359-1ee21fc7afb1
Journal backup:           inode blocks
Checksum type:            crc32c
Checksum:                 0x716951f8

After another look at the the logs above, the problem is not that nixos/lib/make-disk-image.nix underestimates the capacity but does not make sure that enough inodes are available (the output of tune2fs -l in my last comment shows that the raw image has no free inodes left).
I tested this in a local branch by adding -N $numInodes to the mkfs call ($numInodes is already computed by make-disk-image.nix). With this, the flake succeeds.
I couldn't find whose maintaining make-disk-image.nix, but @samueldr added the inodes computation a few years back, so maybe he knows whether it is a good idea to explicitly add the inodes number to the mkfs call or whether there is a better way to handle this?

Looks like the inode computation was only added for the purpose of reserving space in the block device. Not reserving them in the file system seems like an oversight, not something intentional.
I'm inclined to just go ahead with -N.

Maybe add some margin? The image may be written to later in some usages of that function, e.g. block level copy on write for a VM.

Sorry for the late reply, was busy with work. Anyway, thanks for your quick assessment, @roberth. I will prepare a corresponding pull request, incorporating some margin. The space computation also has some margin that corresponds to roughly 5% of the calculated disk usage (which includes the storage reserved for the inodes). So for consistency I'll probably just take the same margin for the number of inodes.

I have a solution that might not work well for all, but it has been working well for me. Hopefully this PR will get merged soon enough to fix it properly.
I have been using the following:
  system = {
    stateVersion = "23.11";
    build.qcow2 = import "${toString modulesPath}/../lib/make-disk-image.nix" {
      inherit lib config pkgs;
      diskSize = "auto";
      additionalSpace = "20G";
      fsType = "ext4";
      format = "qcow2";
      partitionTableType = "hybrid";
    };
  };

Setting the additionalSpace to 20G seems to make it happy, and now the only time I'm getting failures is when my ssd is full. The "downside" to this approach is that the disk will be allowed to grow up to 20GB bigger than it needs to be. On the other hand, I end up using nix shell a lot, so having the extra breathing room for /nix isn't a bad thing, IMO.

@bamhm182 It's a good workaround, especially since the disk image grows only if necessary. 🙂
I'm using PR #295874 for quite some time now and it works fine for me. Still, as I mentioned in the comments of the PR, I'm not sure whether I should add checks for other filesystems than ext4 (not sure which other filesystems support setting inodes) and whether the inode number should take the default of ext4 into account (seems sensible if images are not read-only).
I'm happy to improve the PR if someone more experienced with how make-disk-image.nix is used finds the time to answer my questions in the PR's comments.


Incorrect word analysis of arabalar

Nuve <IP_ADDRESS> from Nuget

Since the word arap exists as a noun in the dictionary the first analysis is correct. If you look up the TDK dictionary for the word you will see that both proper noun and noun types are possible for this word.
However, the noun form seems obsolete to me. I'll consider removing it from the dictionary.


Enable s390x for CI

s390x works again for irmin-git, but it doesn't with libirmin

I just updated this PR: https://github.com/mirage/irmin/pull/2030 to make libirmin unavailable on s390x

Thanks @zshipko. Closing this one.

Actually, on second thought, lets keep this but rename. It should have green CI once rebased with #2030.

Codecov Report

Merging #2033 (f0dfa8e) into main (eb7dd69) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2033   +/-   ##
=======================================
  Coverage   64.53%   64.53%
=======================================
  Files         129      129
  Lines       15572    15572
=======================================
  Hits        10049    10049
  Misses       5523     5523

Impacted Files
Coverage Δ

src/irmin-fs/unix/irmin_fs_unix.ml
67.74% <0.00%> (-0.65%)
:arrow_down:

src/irmin-test/store.ml
94.88% <0.00%> (+0.05%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


Add login redirect for 404s

If a user isn't logged in and follows a Drone link it will 404 ala GitHub. This can cause some confusion for users as they don't see anything and don't know they aren't logged in. It would be great to have a login prompt if they're not logged in to avert any questions about access.

I want to add some support for this. My org generally discovers what drone is via a PR hook, so they click and get a 404 and are confused. :)

This is also an issue in our organization. @bradrydzewski would you be opposed having this as a configurable option (through an environment variable)?

@adamstep I think replacing the 404 with a prompt to login will probably solve the issue, as long as the login can re-direct back to that page. If you login and that repository doesn't exists or you don't have access, you'll get a 404 (hopefully with a more intuitive message)

Sounds good, I will look into this.

+1

@gdubicki Please don't add +1 comments to issues, as it notifies all subscribers. Use the reaction button on the issue.

Closing now that we have the upcoming 0.5 UI merged which makes it much more clean when you need to authenticate.
I also have a separate issue for improving the error messaging in the main content pane. I'll be tracking this at https://github.com/drone/drone-ui/issues/20


[BUG] Values not shown in renderMode: "html"

Environment
Please provide as many details as you can:

Hosting type

[] Form.io
[x] Local deployment

Version: ^4.0.7

Formio.js version: ^4.11.3
Frontend framework<EMAIL_ADDRESS>Browser: Chrome
Browser version:  85.0.4183.121

Steps to Reproduce

Render a vue form with renderMode: "html" option

<template>
    <Form
        :form="formDefinition"
        :submission="formSubmission"
        :options="options"
    />
</template>

<script lang="ts">
import { Form, Templates } from "vue-formio";
import { Component, Prop, Vue } from "vue-property-decorator";

Templates.framework = "bootstrap";

@Component({
    components: {
        Form
    }
})
export default class Formio extends Vue {

    public get options(): any {
        return {
            readOnly: true,
            renderMode: "html"
        };
    }

    public get formSubmission(): any {
        return {
            data: {
                myFavouriteThing: "My answer"
            }
        };
    }

    public get formDefinition(): any {

        return {
            components: [
                {
                    label: "My favourite thing:",
                    persistent: true,
                    inputFormat: "plain",
                    key: "myFavouriteThing",
                    type: "textfield",
                    input: true,
                    inputType: "text",
                    id: "e3xydm5"
                },
                {
                    type: "button",
                    label: "Submit",
                    key: "submit",
                    size: "md",
                    action: "submit",
                    id: "estwkz"
                }
            ]
        };
    }
}
</script>

Expected behavior
Expecting it to render submission values in form
Observed behavior
Just renders a dash:

We're currently addressing a backlog of GitHub issues. Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!


MF-655 Proper usage of docker volumes

What does this do?

adds names for the persistent volumes that we already use them
adds filters for the cleanghost to filter out only the containers which we have created
adds a switch which when is present the persistent volumes will not be deleted. The default behavior or volume deletion is not changed.

Which issue(s) does this PR fix/relate to?
Resolves #655
List any changes that modify/break current functionality
none
Have you included tests for your changes?
no
Did you document any new/modified functionality?
added description about the changes in the dev guide
Notes
See the issue for more details

I'm still working on this. I've opened the pull request to get feedback.
The current state is:
$ docker volume ls
DRIVER              VOLUME NAME
local               cassandra-writer_mainflux-cassandra-volume
local               docker_mainflux-redis-volume
local               docker_mainflux-things-db-volume
local               docker_mainflux-things-redis-volume
local               docker_mainflux-users-db-volume
local               influxdb-writer_mainflux-grafana-volume
local               influxdb-writer_mainflux-influxdb-volume
local               mongodb-writer_mainflux-mongodb-configdb-volume
local               mongodb-writer_mainflux-mongodb-db-volume

the make cleanghost make task works only with "mainflux artifacts" and the delete switch works.
I still need to do more testing and eventually adjust the commands in cleandocker and cleanghost make tasks

Codecov Report

Merging #657 into master will decrease coverage by 0.25%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #657      +/-   ##
=========================================
- Coverage   86.66%   86.4%   -0.26%
=========================================
  Files          62      62
  Lines        3779    3707      -72
=========================================
- Hits         3275    3203      -72
  Misses        346     346
  Partials      158     158

Impacted Files
Coverage Δ

users/api/http/transport.go
83.6% <0%> (-3.58%)
:arrow_down:

things/api/http/transport.go
98.03% <0%> (-0.42%)
:arrow_down:

Continue to review full report at Codecov.

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

The fixes which this PR brings are:

no more "ghost volumes"
better filtering for the docker containers, images and volumes, so that we are sure that we are only working with the artifacts that we created
optional data preservation (the persistent volumes are not deleted) when executing make cleandocker. The default behavior stays the same; no parameter, everything is deleted

The summary of the changes:

added persistent volumes in the docker-compose.yml files for all of the components (we were already using persistent volumes anyways)
removed the make cleanghost target as there are no more ghost volumes
added switch to the make cleandocker so that the persistent volumes are not deleted. The command is make spv=true cleandocker.
added documentation of the switch in the dev guide
added filtering for all of the docker commands, so that we work only with our containers, images and volumes

@chombium Can you pls checkout conflicts and update branch. Thanks!

@nmarcetic done ;)

@anovakovic01 really good catch. LOLed to myself. The same type in two consecutive sentences :)

@anovakovic01 done


📖 update pre-reqs for KubeFlex to v0.4.1

Summary
update pre-reqs for KubeFlex to v0.4.1
Related issue(s)
Fixes #1638

/lgtm

/approve


Add Tests function to calculate.js and operate.js

Hi! we kindly ask you for a review of this project. We have completed this milestone where we were required to:

Set up React Testing Library.
Follow the instructions in the official documentation.
Write unit tests for the files operate.js and calculate.js using Jest.
Create unit tests for all React components:
Use Jest snapshots to test the components.
Use React Testing Library to simulate user interaction.
Run your full tests suite using Jest. All tests should pass.

Best Regards,
Pedro and Lusindiso

Thank you! 🚀😊


Debugger

This is a tracking issue for adding debugger support for Q#.
For a debugger to function across Monaco, VSCode, and potentially in a REPL, the core debugging functionality needs to reside in a new interpreter. As a first cut we can model this on the stateless interpreter. If we wish to look into supporting the REPL or (VS Code debugger REPL) we need to look at what it will take to do side effect free evaluation. This would also potentially power conditional breakpoints.
Components involved

Compiler (QSC): Create a new debugger interpreter alongside the current stateful and stateless evaluator. We should be able to deprecate one or both eventually with the debugger running in execution mode and not using any breakpoint functionality.
WASM: create a decorator around the debugger which translates the rust data structures into JS compatible values. The API should have the same shape and just be a data marshaling shim.
npm package: This is the same package used by the playground that incorporates the Q# compiler. A new interface will be added to provide access to the debugger which handles the loading of the wasm shim and provides a strongly typed interface for consumption by Monaco and VS Code.
VS Code extension: Implementation of the VS Code debug adapter APIs mapping the calls to the shim and setting up debugging capabilities.
Playground: Similar to VS Code, the debugger needs to be wired up to the Monaco editor extension points in the playground. This will require more changes to the way we hook into Monaco as it doesn't natively support debugging extensions. The extent of the work to be done here is TBD.

%%{init: { "flowchart": { "nodeSpacing": 3 } } }%%
flowchart TD

subgraph JS
  vscode[VS Code extension]
  npm[npm package]
end

subgraph Rust
  wasm["JS bindings (WASM)"]
  debugger[Debugger]
  compiler[Compiler]
end

vscode

vscode-->npm

npm-->wasm
wasm-->debugger
debugger-->compiler

Implementation plan
The initial plan is to support the base scaffolding and core features. Several of the triage and out of scope features require side effect free expression evaluation (log points, hit/conditional breakpoints, etc.). After the core features are functional for VS Code, the base functionality can be exposed for Monaco.

Scaffolding:

[x] #470

Core Features (compiler and VS Code)

[x] Get available breakpoint locations from target #514
[x] Set breakpoints #514
[x] Validate pre-set breakpoints on launch #514
[x] Run program with debugging stopping at breakpoints #514
[x] Call stack information #514
[x] Locals #540
[x] Stepping #540

[x] In #540
[x] Over #540
[x] Out #540

[x] Core/STD library source stepping  #540

Debugging Cleanup Task

[ ] Stepping fixes

[ ] Some stepping has too many steps. Need to isolate test cases.

[ ] Span Fixes

[ ] Loops
[ ] Conjugate blocks

[ ] Breakpoint fixes

[ ] Allow breakpoints on some expression if/within/etc

Other features for triage

Web view for results and output instead of just to the console
Disassembly
Custom launch configurations (launch.json)
Step/breakpoint granularity
Restarting debugging
Setting expression/variable values (modifying runtime state)
Viewing quantum state

Out of scope

Debug REPL

Completion requests
side effect free evaluation

Step back
Restart frame
Go to targets
Step in targets
Module to package mapping and request support
Logpoint messages
Conditional Breakpoints
Hit Conditional Breakpoints
Side effect free evaluation of hovers
Function Breakpoints

Notes
Tracking breakpoints with HIR node ids is blocked on #453
Resources

Debugger Extension guide
Debug Adapter Protocol

@sezna It is a tracking issue for work. Smaller issues are created for those work items. We can discuss if we want to maintain the tracking issue.


DOC: Update README and add input descriptions

Addresses https://github.com/InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/issues/28

The updated README with markdown can be viewed here: https://github.com/InsightSoftwareConsortium/ITKRemoteModuleBuildTestPackageAction/blob/4f466d59cd207ee472d3563c3f19e9821935b667/README.md

I find it more useful to look at the [rich diff](4f466d5 (#30)?short_path=b335630#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5).

Ah, I now see that almost the whole file is new 😄

I find it more useful to look at the rich diff: 4f466d5?short_path=b335630#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5

Great tip. I will do this in the future.

@jhlegarreta Thanks for the feedback. I think I've addressed all of the points you noted, please let me know if anything is missing.

@jhlegarreta Thanks for the feedback. I think I've addressed all of the points you noted, please let me know if anything is missing.

Looks good. Thanks Tom. Squash and merge the WIP commits into the README DOC commit and it'd be ready to go for me.

Squashed changes

@tbirdso thanks!


[BUG]-(flaky tests) ITs involving models have race conditions

What is the bug?
There are failures on ITs that depend on a creating a model. This usually involves creating a model (Failed to find model) and when the model tries to be deleted but it can't because the model is in deploying or deployed state (Model cannot be deleted in deploying or deployed state. Try undeploy model first then delete).
How can one reproduce the bug?
Steps to reproduce the behavior:
./gradlew ':opensearch-ml-plugin:integTest' --tests "org.opensearch.ml.tools.VisualizationsToolIT.testVisualizationFound" -Dtests.seed=4E5188680CFAD2E9 -Dtests.security.manager=false -Dtests.locale=fr-ML -Dtests.timezone=Africa/Mbabane -Druntime.java=21

VisualizationsToolIT > testVisualizationFound FAILED
    org.opensearch.client.ResponseException: method [DELETE], host [http://[::1]:35467], URI [/_plugins/_ml/models/p7RlYZMB7jpbSjye2g3j], status line [HTTP/1.1 400 Bad Request]
    {"error":{"root_cause":[{"type":"status_exception","reason":"Model cannot be deleted in deploying or deployed state. Try undeploy model first then delete"}],"type":"status_exception","reason":"Model cannot be deleted in deploying or deployed state. Try undeploy model first then delete"},"status":400}
        at __randomizedtesting.SeedInfo.seed([4E5188680CFAD2E9:84740AFD7158DDDD]:0)
        at app//org.opensearch.client.RestClient.convertResponse(RestClient.java:501)
        at app//org.opensearch.client.RestClient.performRequest(RestClient.java:384)
        at app//org.opensearch.client.RestClient.performRequest(RestClient.java:359)
        at app//org.opensearch.ml.utils.TestHelper.makeRequest(TestHelper.java:182)
        at app//org.opensearch.ml.utils.TestHelper.makeRequest(TestHelper.java:155)
        at app//org.opensearch.ml.utils.TestHelper.makeRequest(TestHelper.java:144)
        at app//org.opensearch.ml.rest.MLCommonsRestTestCase.deleteModel(MLCommonsRestTestCase.java:654)
        at app//org.opensearch.ml.tools.ToolIntegrationWithLLMTest.deleteModel(ToolIntegrationWithLLMTest.java:75)
        at java.base@21.0.5/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)

This is likely found here
https://github.com/opensearch-project/ml-commons/blob/c84c9471917e28cc8c5571a5911bfd9a5fd0b904/plugin/src/test/java/org/opensearch/ml/tools/ToolIntegrationWithLLMTest.java#L63-L65
./gradlew ':opensearch-ml-plugin:integTest' --tests "org.opensearch.ml.rest.RestMLGuardrailsIT.testPredictRemoteModelFailedWithModelGuardrail" -Dtests.seed=4E5188680CFAD2E9 -Dtests.security.manager=false -Dtests.locale=mdf-RU -Dtests.timezone=America/Goose_Bay -Druntime.java=21

RestMLGuardrailsIT > testPredictRemoteModelFailedWithModelGuardrail FAILED
    java.lang.AssertionError:
    Expected: (an instance of org.opensearch.client.ResponseException and exception with message a string containing "guardrails triggered for user input")
         but: exception with message a string containing "guardrails triggered for user input" message was "method [POST], host [http://[::1]:45733], URI [/_plugins/_ml/models/null/_deploy], status line [HTTP/1.1 404 Not Found]
    {"error":{"root_cause":[{"type":"status_exception","reason":"Failed to find model"}],"type":"status_exception","reason":"Failed to find model"},"status":404}"
    Stacktrace was: org.opensearch.client.ResponseException: method [POST], host [http://[::1]:45733], URI [/_plugins/_ml/models/null/_deploy], status line [HTTP/1.1 404 Not Found]
    {"error":{"root_cause":[{"type":"status_exception","reason":"Failed to find model"}],"type":"status_exception","reason":"Failed to find model"},"status":404}
    	at org.opensearch.client.RestClient.convertResponse(RestClient.java:501)
    	at org.opensearch.client.RestClient.performRequest(RestClient.java:384)
    	at org.opensearch.client.RestClient.performRequest(RestClient.java:359)
    	at org.opensearch.ml.utils.TestHelper.makeRequest(TestHelper.java:182)
    	at org.opensearch.ml.utils.TestHelper.makeRequest(TestHelper.java:155)
    	at org.opensearch.ml.utils.TestHelper.makeRequest(TestHelper.java:144)
    	at org.opensearch.ml.rest.RestMLGuardrailsIT.deployRemoteModel(RestMLGuardrailsIT.java:582)
    	at org.opensearch.ml.rest.RestMLGuardrailsIT.testPredictRemoteModelFailedWithModelGuardrail(RestMLGuardrailsIT.java:318)
    	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)

Which is found here
https://github.com/opensearch-project/ml-commons/blob/ab2fae3a2ed31f280055836621627587d39834ab/plugin/src/test/java/org/opensearch/ml/rest/RestMLGuardrailsIT.java#L581-L583
Version
OS:2.18
I suspect there is some sort of race condition. I am noticing there is no retry involved nor is there a waitFor involved for creating this resource.
This is also similar to https://github.com/opensearch-project/ml-commons/issues/3228

Can I get assigned this? I noticed that this PR https://github.com/opensearch-project/ml-commons/pull/3244 which has a dependency with this issue. I was trying to understand it this morning.

There is a backport (2.x) PR for this specific issue https://github.com/opensearch-project/ml-commons/pull/3263


Disable merging of read/modify exclusivity access markers.

When two access scopes have different access types, it is not safe to
merge them into one access. Doing so will introduce false conflicts
which manifest as crashes in user code.
To do this optimization, we would need additional data flow information
about potential read conflicts before converting a read to a modify
access.
Fixes rdar://48239213: Fatal access conflict detected.
(cherry picked from commit 30994389f20926f1e26e096a05d750b30a17781c)

@swift-ci test.

@shajrawi can you review this for CCC?

--- CCC ---
Explanation: Disable merging of read/modify exclusivity access markers.
When two access scopes have different access types, it is not safe to
merge them into one access. Doing so will introduce false conflicts
which manifest as crashes in user code. This change unconditionally
disables merging two accesses when one is a read and one is a
modify. This way, the optimization will never "promote" a read to a
modify, which is the source of the false conflicts.
Scope: Avoids a runtime crash in Release builds for any code that reads the same variable twice in the same scope, and later modifies the same variables, along with some additional conditions required for the optimization. It's not necessarilly an uncommon case.
Radar: rdar://48239213: Fatal access conflict detected.
Risk: This change has zero correctness risk. It risks degrading performance, and results in
34% performance regression in an internal benchmark.
Testing: Usual CI testing, a unit test was added, and the fix was
verified with the originally failing project.
Reviewer: Joe Shajrawi


Rename Pallas containers to Triton, fix build, run tests

JAX now supports Pallas without JAX-Triton and Triton Python binding, and after #609 we run Pallas tests in JAX containers
Keep the login for building JAX-Triton and Triton Python bindings, but rename the container that includes that logic "Triton" instead of "Pallas"
Avoid a build error with the latest XLA's Triton version by disabling building unit tests
Run JAX-Triton tests with the "Triton" containers
Fix a labelling error in the Pallas test badges
Put the openxla-triton entries of the manifest back in sync with XLA after https://github.com/NVIDIA/JAX-Toolbox/pull/581 broke them

I'm not sure what problem you're referring to?
The tests passed, I see the logs in the GitHub UI.
The only niggle seems to be that the Slurm runner timed out, but it looks like coincidentally the A100 test finished just before the Slurm runner got killed.
It would be great to get this in before the next nightly.


Little help

hello, I want to ask, here in picture 1

the settings start upgrading at 10,000,000, and stop upgrading at 5000,000, but in picture 2

it explains that my account is still upgrading even though the money doesn't reach 10,000,000, as a result there isn't enough money to upgrade, is there anything wrong? wrong with the settings? or am I the one who doesn't understand? Thank You

Read from this https://github.com/masterking32/MasterHamsterKombatBot/blob/main/config.py.example#L76
to wait_for_best_card. this description about wait_for_best_card option

so if I set wait_for_best_card: "true", the auto stop and upgrade will be disabled? ?

if wait_for_best_card: True, then auto_upgrade_start and auto_upgrade_min options will be ignored and cards will be bought as long as you have a balance.

thankss


has many bugs

i fixed some bugs,but there is a bug that i cannot fixed.the days of month is wrong when you change
the month

as you see ,only 30 days when change 2017.1

@bigdragon-D Well，I‘m really sorry for the bugs. I have to admit that this project is not well coded because of my poor programming skills. A new branch will be used to publish the new date-picker component. This branch will be deprecated a few days later. I hope the new component will help you though there may be some changes in API or props.

@bigdragon-D I've checked the version-1.0.0 branch and found nothing wrong with 2017.1. Maybe the online demo was out-dated. If you stick on using v1.0.0, you can check again whether it works well or not.

you are too modest,  i had fixed the bug ,thank you for your replay,yeah , i still use your old code ,cause i had modified your code a lot .


Update Hacktoberfest image with 2019 logo

Thank you for contributing! Please confirm this pull request meets the following requirements:

[x] I followed the contributing guidelines: https://github.com/github/explore/blob/master/CONTRIBUTING.md
[x] I have no affiliation with the project I am suggesting (as a maintainer, creator, contractor, or employee).

Which change are you proposing?

[x] Suggesting edits to an existing topic or collection
[ ] Curating a new topic or collection

Editing an existing topic or collection
I'm suggesting these edits to an existing topic or collection:

[x] Image (and my file is *.svg)
[x] Content (and my changes are in index.md)

The current Hacktoberfest logo is the one of 2018, which looks out of place.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

For quick reference:
Finished in 638.657944s, 13.0038 runs/s, 343.9932 assertions/s.

  1) Failure:
topics::hacktoberfest topic#test_0020_has no unexpected files or directories [/home/runner/work/explore/explore/test/topics_test.rb:245]:
expected only index.md and a single image.
Expected ["/home/runner/work/explore/explore/topics/hacktoberfest/hacktoberfest.svg"] to be empty.

  2) Failure:
topics::hacktoberfest topic#test_0017_has matching logo, when logo key exists [/home/runner/work/explore/explore/test/topics_test.rb:192]:
should not specify logo hacktoberfest.svg when file does not exist

8305 runs, 219694 assertions, 2 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1)
/opt/hostedtoolcache/Ruby/2.6.3/x64/bin/bundle:23:in `load'
/opt/hostedtoolcache/Ruby/2.6.3/x64/bin/bundle:23:in `<main>'
Tasks: TOP => default => test
(See full trace by running task with --trace)
##[error]Process completed with exit code 1.


Complex number operation on DataFrame

Hello,
Would it be possible to add complex function operation on  DataFrame ?
Function like np.sin, np.abs works properly on Pandas DataFrame containing complex numbers and
returns a DataFrame (as expected).
However, np.real, np.imag, np.angle operation return an numpy.ndarray array instead of DataFrame...
import pandas as pd
import numpy as np
arr = pd.DataFrame(np.random.randn(2, 3) + 1j*np.random.randn(2, 3))
print(type(np.abs(arr)))  # <class 'pandas.core.frame.DataFrame'>
print(type(np.angle(arr)))  # <class 'numpy.ndarray'>

Same issue is inherited by xray. Where I first hit the issue.
https://github.com/xray/xray/issues/553

real/image are defined on a Series
not sure these make sense for a DataFrame

In [40]: df  = pd.DataFrame(np.random.randn(2, 3) + 1j*np.random.randn(2, 3))

In [41]: df
Out[41]:
                                   0                                 1                                 2
0  (-0.605037211028-0.777421542176j)  (0.456047518198-0.236148034977j)  (0.0203707536042-1.75589595197j)
1     (1.37752497265-2.01959737672j)   (0.504932940188+1.97880585951j)   (0.33416891278+0.847363479932j)

In [42]: df.dtypes
Out[42]:
0    complex128
1    complex128
2    complex128
dtype: object

In [43]: df.apply(np.imag)
Out[43]:
          0         1         2
0 -0.777422 -0.236148 -1.755896
1 -2.019597  1.978806  0.847363

In [44]: df.apply(np.angle)
Out[44]:
          0         1         2
0 -2.232141 -0.477797 -1.559196
1 -0.972199  1.320957  1.195159

you can also use .applymap. or simply
DataFrame(np.angle(df),index=df.index,columns=df.columns)
.imag,.real,.angle don't call __array_wrap__ after their execution (I suppose because its a bug and they should, but you'd have to ask on the numpy list), so this is not really possible to do with special casing these functions (and I am not sure we can even intercept them w/o a lot of work).
Further you have to make sure that you have the appropriate dtypes (e.g. complex) or these don't make sense, so generally applying to an entire frame is not what you want, and you should use .select_dtypes first.

@jreback

real/image are defined on a Series
not sure these make sense for a DataFrame
Good point.
But for consistency  abs, real, ìmag, angle` should work the same way when applied to a DataFrame which is not the case right now.

Thanks for pointing the .apply and .applymap  workaround by the way. :smile:

@jreback  I see your point now about why applying real/imag does not make sense for DataFrame.
Indeed, it does not really make sense to apply this on possibly non homogeneous data !
Actually xray.DataArray corresponds to pandas.Series. But as xray.DataArray can
be multidimensional (but homogeneous) I was incorrectly making a parallel with  pandas.DataFrame.
Sorry for this misunderstanding and thanks again.


Proposal: SA1118 (ParameterMustNotSpanMultipleLines) exception for method invocations

Currently SA1118 documents two exceptions: the first parameter, and any parameter which is an anonymous method.

To prevent method calls from becoming excessively complicated and unreadable, only the first parameter to a method or indexer call is allowed to span across multiple lines. The exception is an anonymous method passed as a parameter, which is always allowed to span multiple lines.

To improve support for constructing types like XElement, I propose adding an additional exception to this rule for method invocations, indexer expressions, and object initializer expressions. Note that the arguments passed to the method, indexer, or constructor must still adhere to this rule.
:memo: This exception would provide us with an easily-documented resolution to #1596.

:+1:

:+1: PLEASE!!!

It appears this exception was implemented but not documented in StyleCop Classic.

In addition to XElement, another use case is Moq's It.Is<T>(Expression<Func<T, bool>> match) method used for setting up instances of Mock<T>.
For example:
var mock = new Mock<MyClass>();

mock.Setup(
     (p) => p.MyMethod(
         "MyValue",
         It.Is<Foo>(
             (r) => r.Bar == "Buzz" &&
                    r.Frob == 2)))
    .Returns(() => new FooBar());

I've got a few occurrences in code where the expression tree is quite complex, so is split over multiple lines. In StyleCop classic this didn't raise a warning, but does using the new analysers.
Splitting it into a single line creates a ridiculously long line, and pulling the It.Is<T>() call out into a variable causes the test to no longer work, presumably because of something to do with the way Moq handles expression trees.


Can't get the controller to pair

As soon as I click connect the controller light just turns off. Blue light flashes 3 times but I can't get it to connect by windows settings so I used Microsoft bluetooth LE explorer but no luck still. All help would be appreciated.
P.S I am on windows 11 if that helps

on one of my windows 10 machines it doesn't work either and won't even show 3 blue light flashing it just turns off

I have same issue but mine flashes red,green,blue and when I try to connect the lights turn off.  I even tried to connect to my S22 ultra and its the same thing.  Maybe defective remote??


New extractor - Stuffyoushouldknow

Please follow the guide below

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

Before submitting a pull request make sure you have:

[X] At least skimmed through adding new extractor tutorial and youtube-dl coding conventions sections
[X] Searched the bugtracker for similar pull requests

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

[X] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[ ] Bug fix
[ ] Improvement
[X] New extractor
[ ] New feature

Description of your pull request and other information
This pull request is to add a new extractor stuffyoushouldknow.com  for site support request #11336 (https://github.com/rg3/youtube-dl/issues/11336).
This is my first contribution, any suggestions to improve are welcomed and appreciated

fixind the test case

Does not work:
PS C:\dev\youtube-dl\master> py -2.7 .\youtube_dl\__main__.py http://www.stuffyoushouldknow.com/podcasts/banned-kids-advertising.htm -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.stuffyoushouldknow.com/podcasts/banned-kids-advertising.htm', u'-v']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2016.12.22
[debug] Git HEAD: 2da29d0
[debug] Python version 2.7.12 - Windows-10-10.0.10240
[debug] exe versions: ffmpeg N-81192-g04da20e, ffprobe N-81192-g04da20e, rtmpdump 2.4
[debug] Proxy map: {}
[Stuffyoushouldknow] banned-kids-advertising: Downloading webpage
Traceback (most recent call last):
  File ".\youtube_dl\__main__.py", line 19, in <module>
    youtube_dl.main()
  File "C:\dev\youtube-dl\master\youtube_dl\__init__.py", line 444, in main
    _real_main(argv)
  File "C:\dev\youtube-dl\master\youtube_dl\__init__.py", line 434, in _real_main
    retcode = ydl.download(all_urls)
  File "C:\dev\youtube-dl\master\youtube_dl\YoutubeDL.py", line 1791, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "C:\dev\youtube-dl\master\youtube_dl\YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "C:\dev\youtube-dl\master\youtube_dl\extractor\common.py", line 359, in extract
    return self._real_extract(url)
  File "C:\dev\youtube-dl\master\youtube_dl\extractor\stuffyoushouldknow.py", line 36, in _real_extract
    'url': video_url.group(0),
AttributeError: 'NoneType' object has no attribute 'group'

Read tutorial and fix all the issues.


empty collection serialization

how to reproduce:
create an empty sequence of strings
 val arr = Seq.empty[String]
 val json = Obj("arr" -> Arr(arr.map(v => Str(v))))
println(ujson.write(json))
Actual Output:
{"arr":[[]]}
Expected Output:
{"arr":[]}

questions go in the gitter channel

but as for me it looks like deffect, not a question