Simplify SharedPRNG implementation.

Scope & Purpose
Simplify SharedPRNG implementation in arangod, making it use less memory and safer.
Don't allocate ahead-of-time memory for striped PRNG array in arangod, but instead use thread-local PRNG instances. Not only does this save a few megabytes or memory, but it also avoids potential (but unlikely) sharing of the same PRNG instance by multiple threads.

[x] :hankey: Bugfix (requires CHANGELOG entry)
[ ] :pizza: New feature (requires CHANGELOG entry, feature documentation and release notes)
[ ] :fire: Performance improvement
[x] :hammer: Refactoring/simplification
[x] :book: CHANGELOG entry made

Backports:

[x] No backports required

Testing & Verification

[x] This change is a trivial rework / code cleanup without any test coverage.
[x] The behavior in this PR was manually tested

Link to Jenkins PR run:
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/13815/

Unfortunately there seems to be an issue with this PR.
The tests uncovered the following error:
* Test "catch"
    [FAILED]  basics

      "basics_ALL" failed: exit code was 1

      "exitCode" failed: undefined

    [FAILED]  CacheFrequencyBufferTest

      "test" failed: /work/ArangoDB/tests/Cache/FrequencyBuffer.cpp:65
Value of: static_cast<std::uint64_t>(300) <= frequencies[1].second
  Actual: false
Expected: true

http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/13822/


sync charts with v1.24.6

This PR:

sync with v1.24.6 charts from upstream
fix README and update-charts.sh

Testing
Description on how cloud-provider-openstack-app can be tested.

[x] fresh install works
[x] upgrade from previous version works

Checklist

[x] Update changelog in CHANGELOG.md.
[x] Make sure values.yaml and values.schema.json are valid.

@kopiczko tagging you here as you've also looked at my previous PR in cluster-openstack; this is similar in that we're trying to provide K8s 1.24 support.

Hey @eugene-eeo we are not maintaining the OpenStack Repos anymore. We highly recommend you to fork the repo, so we do not stand in your way.

thanks, will do.


Allowed user to cancel existing sl on closed vault

Allowed user to cancel existing sl on closed vault
Changes 👷♀

Allowed user to cancel existing sl on closed vault
fixed missing translation

How to test 🧪

- Set sl on vault
- close vault
- disable sl read and write flags
- be able to cancel existing protection on closed vault
- if sl trigger doesn't exist and vault has no existing sl, one shouldn't be able to create sl trigger
-

IMO these NaNs are blockers right now. I guess we should clarify it with designers.

IMO these NaNs are blockers right now. I guess we should clarify it with designers.

I'll ping designers then

This is simplier implementation that works now

Last commit, implemented for new components:


Very sparse images matched incorrectly

I have been trying to locate the camera positions for this very challenging dataset. It is a 360 from a sofa with very little texture and views are very sparse. I can only get 10 cameras poses, whether with COLMAP or pixsfm. The successful ones are frontal, while the laterals and rear ones fail.
In other software(COLMAP), I've been trying to constraint the matching only to the images described by a manually made image_pairs.txt in order to enforce that the images match to the ones I want. I would like to try the same with pixsfm, but even though I see refiner.reconstruction accepts a list_of_image_pairs, the matching seems to happen before.
I assume I need to create image pairs with pairs_from_* but I can't seem to find one that accepts an input text.
I could also find a way to manually create guesstimated priors to correctly initialize optimization, but I don't know of an easy way to do this.
I have other datasets of very shiny objects with which I get into similar problems. What would you recommend doing?
Thank you very much in advance!

Sorry for the late reply. This is indeed a fairly challenging set of images for COLMAP. Does providing the manual list of pairs improve the reconstruction of COLMAP? In this scenario I do not think that pixsfm will do better than COLMAP. If you nevertheless want to give it a try, you can see in the demo.ipynb that we pass a path to a list of pairs to PixSfM.reconstruction - you can simply swap it with your own list.

Thank you very much! You're indeed right, that there is little to do with that dataset.


fix docs

examples are dumb, needs fixing. Passing in values is confusing, needs removing.

Meh, don't even remember what was going on. Closing.


Allow utilities to accept objects as arguments

Allows utilities to accept objects as arguments using the method @jonathantneal suggested in #466.
NB: this change REQUIRES you to use & for nested selectors. ie if you were doing this before:
styled('div', {
  '> *': { ... }    // this syntax works in all stitches canary versions
}

you now must write it as
styled('div', {
  '& > *': { ... }  // this & syntax is required by this change
}

Fixes: #466

I like this. I need a little more time to review it.
You may be interested in checking out this CodePen. It’s the pure "CSS-in-JS" part of Stitches, which comes in around 0.5kB. It also works as a good starting point for supporting root selectors while still supporting objects as values.

Closing as superseded by the work of @stitches/stringify. Thank you for hashing this out with me and for your review of that PR.


Update RVI SOTA Client

Update RVI SOTA Client to the version used in Automotive Grade Linux (AGL). The patches include recies for libgit2, libssh2, lshw, new version of rvi-sota-client and new version of meta-rust.
Best regards,
Leon

"libgit2: Required by RVI SOTA Client"
The shortlog should summarize the change rather than rationale (which is for description part). Same goes for libssh2 patch.

@zeenix, thanks. I have updated the commit messages.
Best regards, Leon

It builds fine here and I trust you when you say that you have tested the changes. Before I can merge, I think the commit logs can still be better:
"libssh2: C library with SSH2 implementation" doesn't summarize the change at all but rather the component being changed. Moroever the description is also vauge since it says who needs the change but no information on change itself or why SOTA needs it exactly.
"libgit2: The Git linkable library" this has the same issue. "Add libgit2" would be fine here and you can describe the library in the description. Same goes for "lshw: Hardware lister" shortlog.
"rvi-sota-client: Update version" is on the very right track. :) However, let's also specify what it's been updated to. Preferrably in the shortlog itself but if not, then in description (since shortlog is supposed to be ideally no more than 50 chars long).

Hi @zeenix,
I have updated the git commit message following your recommendations. Now I hope that they meet your requirements and my patches will be merged. Please kindly describe the requirements for the git commit messages and provide examples in GENIVI wiki. This will make life easier for both new and existing contributors.
Best regards,
Leon

Thanks. As I said on IRC, these are not my personal requirements but rules that are followed in all git projects that stress on quality when it comes to code history. I can create a wikipage but it'll have to be just a link to https://wiki.gnome.org/Git/CommitMessages.

I think you missed the last comment:
"rvi-sota-client: Update version" is on the very right track. :) However, let's also specify what it's been updated to. Preferrably in the shortlog itself but if not, then in description (since shortlog is supposed to be ideally no more than 50 chars long).

Any format of the commit messages is fine for me if there are exact rules and examples.
@chbae and @tom--pollard are adding the id and the title of the JIRA issue at the bottom of the commit message. If you want we can keep this way or switch to the format as in GNOME with URL to the issues. It is up to you. For me it is just important to have the exact requirements well described and available in the wiki or another public URL.
Thanks, Leon

The JIRA ticket tag & title is required for the JIRA - Github integration, allowing the status of the PR to be visible from within the JIRA ticket.

Ah sorry I didn't think of Jira references. Yeah, we should keep the existing practice. So I guess we need our own wikipage after all. :)

""Update the version of RVI SOTA Client to the one
used in Automotive Grade Linux (AGL)"
Is that latest git master or is there a tag for that version? If so, we need to specify that here. Otherwise, this is fine.

Yocto/OE recipe rvi-sota-client_git.bb contains the exact version in SRCREV. I don't have permissions to create tags in repository advancedtelematic/rvi_sota_client. I can kidly ask ATS Advanced Telematic Systems to tag this version.
Best regards, Leon

No need really. I just wanted to be more specific than "same as XYZ project uses" but commit hash doesn't really add any meta-info to commit log and if anyone wants the specifics, they can look at the code changes themselves.

The git log of advancedtelematic/rvi_sota_client contains quite a lot of specific therefore in my opion the commit hash is a useful milestone. Of course you are right that if anyone wants more details than just gi logs, they can have look at the code changes themselves.
Anyway, thank you for merging my changes. Best regards, Leon


Text Overflow Issue in Settings: Last Checkbox text overflow in table

Description
Encountered an error when
Related Issues
Related issues # , # , and # .
Questions
No.
Demo
No response
Reproduction
- a
- b
- c

Expected Results

Actual Results

Environments
Microsoft Edge
Browser Version
No response
Node.js / npm Version
No response
Platform
No response
Checklist

[x] Read and understood the Code of Conduct.
[x] Searched for existing issues and pull requests.

i am working on it

@kgryte, could you please provide links for setting up this code on a local machine?

@nilaygit-10721 You may have luck from the discussion on a separate issue: https://github.com/stdlib-js/www/issues/64

@nilaygit-10721 do you have anything in progress?


Alternative triggers for timelapse start and end

Since the priting is often done, before service operations take place (i.e. moving the table on bedslinger printers forward), it might be a good idea to be able to define alternative endpoints for the timelapse feature of the bot.
Also, since before the print some service operations, like a prime line, may take place, a alternative starting point for the timelapse might be interesting.
In addition, a timelapse pause function, for filament or toolchanges might be of value.
I suggest using klipper macros, specifically the RESPOND MSG G-Code.
RESPOND PREFIX=timelapse MSG=start. RESPOND PREFIX=timelapse MSG=stop, RESPOND PREFIX=timelapse MSG=pause, RESPOND PREFIX=timelapse MSG=continue respectively.

implemented this in 78648c031d8c73408291d7402eafa7a83491e7a7
@aka13-404 pls check it)

Working as intended since 1.1.0


Adding more controllers

Hello Scheik, thank you for sharing your code.
Do you think it is possible to add one more controller with two more motors, for creating a 4 wheels robot?
Thank you very much!

Hi, thanks for your interest in the code.
in this case i would use the code from this repo and adapt it for the use for two controllers, without thinking to deep into it the steps i would consider are:

open two serial ports instead of one for the second controller
process the cmd_vel topic in its subscriber function in a different way, so that its processed into the commands you need for 4 instead of 2 drives
send the serial data to two controllers connected to two different serial ports

Fabian


Age Restriction

Fix to age restriction by adding cookies argument

Great! Thanks a lot for filing this pull request!


[DOC] hourglass icon change

Reference issue
spring 2022 - closes #10698
What does this implement/fix?
changes hourglass on installers page to be consistent with other icons
Additional information

thx @ashdrew


remove toplevel "root" link in TOC.

People know what navigation is, we don't have to label it. Plus there's
a link to root at the top left. This just removes a bit of clutter.
Desktop Before vs. After

Mobile Before vs. After

Yep, you are right, sorry for taking me so long to look at this :-(


Move React development dependencies to devDependecies

We have a backend app. Which is small. But for some reason we have a couple of hundred React modules installed in production, in a little pure web server (soon to be a little AWS lambda).
Looks like @bull-board/ui have the UI inside the NPM gzip bundle: /dist/static/. This bundle already contains React dependencies, compiled, minified, bundled.
We identified the problem. The @radix-ui/ things are not production dependencies. They are build-time dependencies (aka devDependencies in NPM).
This PR decreased the node_modules by

<EMAIL_ADDRESS>(40 deps, 945.31kb, 799 files)
<EMAIL_ADDRESS>(51 deps, 2.22mb, 721 files)

See for yourself:
npx howfat -r tree @bull-board/ui

Please, publish the @bull-board/ui with this little fix. The little servers across the world will be thankful. :)

Thank tou 🙏🏼
I always forget the the ui is published compiled ,😅

Released in v3.5.1

Wow Wow Wow! Why so fast? Unprecedented publishing speed. :) thank you

Here is the difference.
Before
$ howfat @bull-board/ui
Dependencies: 78
Size: 4.6mb
Files: 2347

After
$ howfat @bull-board/ui
Dependencies: 3
Size: 1.77mb
Files: 1152

78->3 dependencies 👍

Thank you for caring about the lib :]


Add support for other image formats than highest resolution

Add smaller image formats produced by gen1 and gen2 cameras.

@ultramango do you need sample images? I am about to go out to take a few, I can change the sizes and post them here, my camera is the samsung gear 360 2017.


Not respecting  timeout

Prior to my last npm update, timeout was working fine. Now it's completely ignoring whatever value I provide. Any ideas?
/proc/sys/net/ipv4/tcp_syn_retries is set to 3
Thanks for this awesome software!!

Any update on the above issue, we are also facing similar issue?

Yes, I'm also experiencing same issue. Seems like timeout functionality broke in 2.76.0 release.
test_timeout.js
var nock = require('nock')
var request = require('request')

nock('http://google.com').get('/').delay(1000).reply(200, 'ok')

request.get({
	url: 'http://google.com',
	timeout: 100
}, function (err, res, body) {
	if (err) {
		console.error(err)
	}
	else {
		console.log(res.statusCode, body)
	}
})

Successful test in v2.75.0:
npm install<EMAIL_ADDRESS>node test_timeout.js
{ Error: ETIMEDOUT
    at Timeout._onTimeout (C:\Users\kristian\tests\node_modules\request\request.js:759:15)
    at ontimeout (timers.js:365:14)
    at tryOnTimeout (timers.js:237:5)
    at Timer.listOnTimeout (timers.js:207:5) code: 'ETIMEDOUT', connect: false }

Failing in v2.76.0 and above:
npm install<EMAIL_ADDRESS>node test_timeout.js
200 'ok'

@talasila66 the fix for me was npm install<EMAIL_ADDRESS>I tested<EMAIL_ADDRESS>and<EMAIL_ADDRESS>and could not trigger the errors:
Error: ETIMEDOUT
Error: ESOCKETTIMEDOUT

Thanks for the reply @jaggedsoft will test with npm install<EMAIL_ADDRESS>will let you know the update on the same.

@talasila66 We are also having the same issue for<EMAIL_ADDRESS>Can you confirm which version you were seeing this problem on?

@addityasingh Started Using<EMAIL_ADDRESS>no issues has been observed related to the timeout. Our issue is Exress JS Server has a default configuration of 2 mins response timeout, after that it started sending in complete response.
Hence it looked like<EMAIL_ADDRESS>module not respecting the timeout. Solved by increasing Exress JS Server timeout parameter.

Thanks. But doesn't work for me on 2.81.0 or 2.74.0. I will try to check again with 2.81.0

"request": "^2.81.0" has the same error
nginx proxy pass, node restarts many times due to this error, try<EMAIL_ADDRESS>

Unfoturnately, these timeout errors are still alive.
# cat /root/.pm2/logs/app-error-0.log
Error: ETIMEDOUT
    at Timeout._onTimeout (app/node/node_modules/request/request.js:808:15)
    at ontimeout (timers.js:386:14)
    at tryOnTimeout (timers.js:250:5)
    at Timer.listOnTimeout (timers.js:214:5)
Error: ESOCKETTIMEDOUT
    at ClientRequest.<anonymous> (app/node/node_modules/request/request.js:825:19)
    at Object.onceWrapper (events.js:293:19)
    at emitNone (events.js:86:13)
    at ClientRequest.emit (events.js:188:7)
    at TLSSocket.emitRequestTimeout (_http_client.js:614:42)
    at Object.onceWrapper (events.js:293:19)
    at emitNone (events.js:91:20)
    at TLSSocket.emit (events.js:188:7)
    at TLSSocket.Socket._onTimeout (net.js:351:8)
    at ontimeout (timers.js:386:14)
Error: read ECONNRESET
    at exports._errnoException (util.js:1050:11)
    at TLSWrap.onread (net.js:581:26)

Is there a way to slove this? Or a solution to catch this? HELP!

As far as I read the implementation, the timeout option is only applied to inactive socket by request.setTimeout() and the initial socket connection. It was introduced in https://github.com/request/request/commit/001eae3d479a13350b06b8d3f8182b2060a2c60d and v2.77.0, and was not fixed properly in https://github.com/request/request/commit/82da8b857050a7078a40b7e0f2781077c13abea7 v2.78.0.
If we make it compatible with the documentation, the timeout should be for request's response event. To do that, timeoutTimer has to be set regardless of isConnecting.

Also, https://github.com/request/request/commit/1ef4075f5b649987b52cc71a1c33fdd8111d305c made the timeout cleared at socket connect event, which changed the behavior in the initial socket connection.

We also have problems with very slow long running requests, where the configured seems to be ignored after the first byte was sent.
Is there a way to set a fixed timeout for the whole request cycle?

Is this problem still persist?

no

I am still seeing this but only with node 10.7+

Although request is not maintained any more, I'd say that this problem is still persist, in v2.88


Fix: Don't track duplicate in-flight reminders for non-scheduler reminders

Don't track in-flight internal (workflow) reminders when not using scheduler reminders. This is because they only get un-tracked when they are deleted in the scheduler code-path. This caused workflow activities to not fire when triggering a workflow multiple times with the same instance ID - since the had the same reminder key.
Adds int tests for both scheduler and non-scheduler reminders which trigger a workflow with the same instance ID multiple times.

I have a fix for the unrelated failing int test in this PR


ProxySchemeUnknown error blocks service connection

Hi,
installed the plugin from QGIS 2.14 on Win7 (v 0.2.9). I cannot connect to any CKAN server neither on the internet nor in our intranet. I get this error in the log:
URL: http://ckan.data.ktn.gv.at/api/3/
api request: http://ckan.data.ktn.gv.at/api/3/action/group_list?all_fields=true
Unerwarteter Fehler beim Request:  < class 'CKANBrowser.request.packages.urllib3.exceptions.ProxySchemeUnknown' >
I'm behind a proxy, but other internal and external services such as WxS or CSW work without problems.
In QGIS I have configured a HttpProxy in network settings.
Thanks, Michael

Hi Michael,
parsing of proxy settings seems to be faulty.
Please help verify and change back to your original settings afterwards.

Run this in the Python console:
from PyQt4.QtCore import QSettings
s = QSettings()
s.setValue("proxy/proxyUser", None)
s.setValue("proxy/proxyPassword", None )

Then change proxy settings:

Host: enter fully qualified proxy URL, e.g. http://<PROXY_USER>:<PROXY_PWD>@<PROXY_IP>
If your proxy doesn't need authentication, just http://<PROXY_IP>
Port: leave as is
User, Password: don't click or enter anything

Does CKAN Browser work now?

Hi,
thanks for your answer, unfortunately it didn't work, but changed sth.:

change proxy settings through python console
adapt ProxyHost settings through GUI/options/Network, putting username and pw in the host string:

2016-03-09T14:32:48	1	URL: http://ckan.data.ktn.gv.at/api/3/
2016-03-09T14:32:48	1	api request: http://ckan.data.ktn.gv.at/api/3/action/group_list?all_fields=true
2016-03-09T14:32:50	1	Unerwarteter Fehler beim Request: <class 'CKANBrowser.request.exceptions.ConnectionError'>
Any ideas?

sorry, missing the error code:
Unerwarteter Fehler beim Request: <class 'CKANBrowser.request.exceptions.ConnectionError'>


Update reference-connect-version-history.md

@RobdeJong : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


plumbing: postgres docker image for test data

Need a docker image that can be run locally to serve up postgres test data.

Instructions are in the readme in ortelius/test-database.
@Javailabe can we add this to the Testing Environment?

@sbtaylor15 update of Developer Resources pushed


Continue to notify address on metadata failure

Codecov Report

Merging #7796 (a0d9f24) into 3.0 (7c8b658) will decrease coverage by 0.06%.
The diff coverage is 0.00%.

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


[$1000] Profile - Esc click after profile visit changes chat in LHN

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the app
Open any report (except the first report)
Open settings
Open profile
Press ESC and observe the app changes selected report in LHN

Expected Result:
App should not switch chat in LHN when we use ESC to close any menu or popup
Actual Result:
App switches chat in LHN when we use ESC to close profile page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: yes
Reproducible in production?: yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/68dbce5b-20dd-4e49-aba1-97cd1276767e
https://github.com/Expensify/App/assets/93399543/94aa4701-c747-49dd-9795-e83178f3deb4
Expensify/Expensify Issue URL:
Issue reported by: @dhanashree-sawant
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686475786727959
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01bf59e71d261cd6e0
Upwork Job ID:<PHONE_NUMBER>223763456
Last Price Increase: 2023-06-20

@laurenreidexpensify Is this occurring for you, unable to reproduce at my end
https://github.com/Expensify/App/assets/85645967/4e329362-b64f-4548-8f99-760841ff83a9
cc: @dhanashree-sawant

Hi @Santhosh-Sellavel, yes it is not reproducible now.

good catch @Santhosh-Sellavel, can confirm not reproducible my end. Closing

@laurenreidexpensify We can close this as it should be handled somewhere while/before the issue was reported.


Return HTTP 400 if Iceberg REST API gets invalid input

Table operations in Unity require a two-part namespace since tables are contained within schemas. Return a HTTP 400 if the input namespace isn't a two-part namespace. Currently, an IllegalArgumentException is thrown instead, which becomes a HTTP 500.
Fixes #10
Tested with pyiceberg and with curl.

Think there's overlap with https://github.com/unitycatalog/unitycatalog/pull/17 but either way works!

Thanks @amogh-jahagirdar for your PR to fix this -- I missed it. Closing this as a duplicate.


Tool: Content of GUI cannot be shown due to lack of scroll-bar.

When the content of the right-hand side of the GUI gets to large, it cannot be displayed on smaller screens because there is no scroll-bar and the window size cannot be increased further.
This content of the right panel must be included in a scroll-pane to solve this issue.

Issue resolved by adding ScrollPane.


Migrated PG long-running queries article, updated content, and added to toc file

#300 issue - migrated over and updated content from comments on original pull request #1346.  Updated _toc.yml to point to the newly added PG article.

Hey, I just edited the PR title so we can remember what it's about without needing to look up the source issue when we're working with the full list of all PRs.


k8s-extension authorization error

Related command
az k8s-extension create
Extension name (the extension in question)
k8s-extension
Description of issue (in as much detail as possible)
I was trying to install AzureML extensions to AKS using this URL.
https://docs.microsoft.com/en-us/azure/machine-learning/how-to-attach-kubernetes-anywhere?tabs=deploy-extension-with-cli%2Ccli
I tried to run the following command and the create command fails due to a permissions issue with an enterprise application I don't recognize.
az k8s-extension create --name test-extension --extension-type Microsoft.AzureML.Kubernetes --scope cluster --cluster-name test-cluster --resource-group <RESOURCE GROUP> --cluster-type managedClusters --configuration-settings enableInference=True allowInsecureConnections=True inferenceRouterServiceType=ClusterIP

This results in the following error
Error Message
Request failed to https://management.azure.com/subscriptions/<SUBSCRIPTION>/resourceGroups/<RESOURCE GROUP>/providers/Microsoft.ContainerService/managedclusters/<CLUSTER NAME>/extensionaddons/test-extention?api-version=2021-03-01. Error code: Forbidden. Reason: Forbidden.{"error":{"code":"AuthorizationFailed","message":"The client '<ENTERPRISE APP ID>' with object id '<ENTERPRISE APP ID>' does not have authorization to perform action 'Microsoft.ContainerService/managedclusters/extensionaddons/read' over scope '/subscriptions/<SUBSCRIPTION>/resourceGroups/<RESOURCE GROUP>/providers/Microsoft.ContainerService/managedclusters/test-cluster/extensionaddons/test-extention' or the scope is invalid. If access was recently granted, please refresh your credentials."}}

The following command succeeded
az k8s-extension list -g <RESOURCE GROUP> -c test-cluster --cluster-type managedClusters

-enable-aad --enable-azure-rbac
The above options were specified when the cluster was created, and the following authorization was tried with no change in results
az role assignment create --role "Azure Kubernetes Service RBAC Admin" --assignee <ENTERPRISE APP ID> --scope /subscriptions/<SUBSCRIPTION>/resourceGroups/<RESOURCE GROUP>/providers/Microsoft.ContainerService/managedclusters/test-cluster

az version
{
  "azure-cli": "2.38.0",
  "azure-cli-core": "2.38.0",
  "azure-cli-telemetry": "1.0.6",
  "extensions": {
    "aks-preview": "0.5.91",
    "k8s-extension": "1.2.4",
    "ml": "2.6.1"
  }
}

route to CXP team

I checked the error, this problem seems to be caused by the following request.
cli.azure.cli.core.sdk.policies: Request URL: 'https://management.azure.com/xxxxxxxxxx?api-Version=2022-03-01'
cli.azure.cli.core.sdk.policies: Request method: 'GET'
cli.azure.cli.core.sdk.policies: Request headers:
cli.azure.cli.core.sdk.policies:     'x-ms-client-request-id': 'xxxxxxxxxx'
cli.azure.cli.core.sdk.policies:     'CommandName': 'k8s-extension create'
cli.azure.cli.core.sdk.policies:     'ParameterSetName': '--name --extension-type --config --cluster-type --cluster-name --resource-group --scope --debug'
cli.azure.cli.core.sdk.policies:     'User-Agent': 'AZURECLI/2.38.0 (DEB) azsdk-python-azure-mgmt-kubernetesconfiguration/1.0.0 Python/3.10.5 (Linux-xxxxx)'
cli.azure.cli.core.sdk.policies:     'Authorization': '*****'
cli.azure.cli.core.sdk.policies: Request body:
cli.azure.cli.core.sdk.policies: This request has no body
urllib3.connectionpool: https://management.azure.com:443 "GET /subscriptions/xxxxxxx?api-Version=2022-03-01 HTTP/1.1" 200 None
cli.azure.cli.core.sdk.policies: Response status: 200
cli.azure.cli.core.sdk.policies: Response headers:
cli.azure.cli.core.sdk.policies:     'Cache-Control': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Pragma': 'no-cache'
cli.azure.cli.core.sdk.policies:     'Transfer-Encoding': 'chunked'
cli.azure.cli.core.sdk.policies:     'Content-Type': 'application/json; charset=utf-8'
cli.azure.cli.core.sdk.policies:     'Content-Encoding': 'gzip'
cli.azure.cli.core.sdk.policies:     'Expires': '-1'
cli.azure.cli.core.sdk.policies:     'Vary': 'Accept-Encoding'
cli.azure.cli.core.sdk.policies:     'x-ms-ratelimit-remaining-subscription-reads': '11995'
cli.azure.cli.core.sdk.policies:     'Strict-Transport-Security': 'max-age=31536000; includeSubDomains'
cli.azure.cli.core.sdk.policies:     'api-supported-versions': '2019-11-01-Preview, 2021-05-01-preview, 2021-06-01-preview, 2021-09-01, 2021-11-01-preview, 2022-01-01-preview, 2022-03-01, 2022-04-02-preview'
cli.azure.cli.core.sdk.policies:     'X-Content-Type-Options': 'nosniff'
cli.azure.cli.core.sdk.policies:     'x-ms-request-id': 'xxxxxxxxxxxx'
cli.azure.cli.core.sdk.policies:     'x-ms-correlation-request-id': 'xxxxxxxxxxxx'
cli.azure.cli.core.sdk.policies:     'x-ms-routing-request-id': 'xxxxxxxxxxxx'
cli.azure.cli.core.sdk.policies:     'Date': 'Fri, 22 Jul 2022 12:48:23 GMT'
cli.azure.cli.core.sdk.policies: Response content:

@cmdbean Apologies for the late reply. Thanks for reaching out to us and reporting this issue. I was able to run the command just fine. Could you please update your k8s-extension extension and then run the below command to see if that helps ?

az extension update -n k8s-extension

az k8s-extension create --name test-extension --extension-type Microsoft.AzureML.Kubernetes --scope cluster --cluster-name MytestAKS --resource-group "My-Resources" --cluster-type managedClusters --configuration-settings enableInference=True allowInsecureConnections=True inferenceRouterServiceType=ClusterIP

@cmdbean I wanted to do quick follow-up to check if you had a chance to look at my above comment. Please let us know if you  are still seeing the same issue. Awaiting your reply.

@cmdbean The action plan is pending on you to update your k8s-extension extension as mentioned above and test the command again. Please feel free to reopen this thread, if that doesn't resolve this issue. We would be happy to help.

I am facing the same behaviour, I opened a new issue as I am facing this with cli v2:
https://github.com/Azure/azure-cli/issues/25654

It looks like after some time the command which previously was producing an error is able to run. As if some token is refreshed. It is implied with the message: "If access was recently granted, please refresh your credentials.". How to trigger this refresh?


[MLIR] mhlo.scatter codegen path

Investigation of #65
[sc-36320]

Closed for now due to being on the backlog


⚠ Bofrost.de has degraded performance

In 743821e, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1847 ms

Resolved: Bofrost.de performance has improved in d34a19d after 32 minutes.


install_lua_modules.sh is failing, not recognizing torch

i have torch installed:
`
$ th
______             __   |  Torch7
/_  /  ________/ /   |  Scientific computing for Lua.
/ / / _ / __/ / _ \  |  Type ? for help
/_/  _//  _////  |  https://github.com/torch
|  http://torch.ch
th>
`
but when I try to install_lua_modules.sh, torch is not recognized, can somebody help me out pls?
`
bash install_lua_modules.sh
=>
bash install_lua_modules.sh
Error: No results matching query were found.
Installing https://luarocks.org/lua-csnappy-0.1.5-2.src.rock
gcc -O2 -fPIC -I/usr/include/lua5.1 -c lsnappy.c -o lsnappy.o
gcc -shared -o snappy.so -L/usr/local/lib lsnappy.o
lua-csnappy 0.1.5-2 is now installed in /usr/local (license: BSD)
Installing https://luarocks.org/md5-1.3-1.rockspec
gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/compat-5.2.c -o src/compat-5.2.o -Isrc/
gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/md5.c -o src/md5.o -Isrc/
gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/md5lib.c -o src/md5lib.o -Isrc/
gcc -shared -o md5/core.so -L/usr/local/lib src/compat-5.2.o src/md5.o src/md5lib.o
gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/compat-5.2.c -o src/compat-5.2.o -Isrc/
gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/des56.c -o src/des56.o -Isrc/
gcc -O2 -fPIC -I/usr/include/lua5.1 -c src/ldes56.c -o src/ldes56.o -Isrc/
gcc -shared -o des56.so -L/usr/local/lib src/compat-5.2.o src/des56.o src/ldes56.o
md5 1.3-1 is now installed in /usr/local (license: MIT/X11)
Installing https://luarocks.org/uuid-0.2-1.src.rock
uuid 0.2-1 is now installed in /usr/local (license: Apache 2.0)
Error: No results matching query were found.
Cloning into '.cudnn'...
remote: Enumerating objects: 2074, done.
remote: Total 2074 (delta 0), reused 0 (delta 0), pack-reused 2074
Receiving objects: 100% (2074/2074), 801.49 KiB | 1.90 MiB/s, done.
Resolving deltas: 100% (1351/1351), done.
Missing dependencies for cudnn scm-1:
torch >= 7.0 (not installed)
cutorch (not installed)
nn (not installed)
cudnn scm-1 depends on torch >= 7.0 (not installed)
Error: Could not satisfy dependency torch >= 7.0: No results matching query were found.
Installing https://luarocks.org/turbo-2.1-2.rockspec
Cloning into 'turbo'...
remote: Enumerating objects: 176, done.
remote: Counting objects: 100% (176/176), done.
remote: Compressing objects: 100% (154/154), done.
remote: Total 176 (delta 34), reused 67 (delta 19), pack-reused 0
Receiving objects: 100% (176/176), 654.55 KiB | 1.37 MiB/s, done.
Resolving deltas: 100% (34/34), done.
Note: checking out '3b773d61a584a614ea1f854a2326e94c1212899a'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b
Warning: variable CFLAGS was not passed in build_variables
make -C deps/http-parser library
make[1]: Entering directory '/tmp/luarocks_turbo-2.1-2-hicoxP/turbo/deps/http-parser'
gcc  -I. -fPIC -DHTTP_PARSER_STRICT=0  -O3  -Wall -Wextra -c http_parser.c -o libhttp_parser.o
gcc  -shared -Wl,-soname=libhttp_parser.so.2.1 -o libhttp_parser.so.2.1 libhttp_parser.o
make[1]: Leaving directory '/tmp/luarocks_turbo-2.1-2-hicoxP/turbo/deps/http-parser'
gcc -Ideps/http-parser/ -shared -O3 -Wall -g  -fPIC deps/http-parser/libhttp_parser.o deps/turbo_ffi_wrap.c -o libtffi_wrap.so  -lcrypto -lssl
==== Installing Turbo.lua v2.1.0 to: ====
==== /home/fedor/torch/install/lib/lua/5.1 and ====
==== /home/fedor/torch/install/share/luajit-2.0.4 ====
mkdir -p /home/fedor/torch/install/lib
mkdir -p /home/fedor/torch/install/bin
mkdir -p /home/fedor/torch/install/share/lua/5.1/turbo
mkdir -p /home/fedor/torch/install/share/luajit-2.0.4/turbo
cp -r turbo/* /home/fedor/torch/install/share/lua/5.1/turbo
cp -r turbo.lua /home/fedor/torch/install/share/lua/5.1
cp -r turbovisor.lua /home/fedor/torch/install/share/lua/5.1
cp -r turbo/* /home/fedor/torch/install/share/luajit-2.0.4/turbo
cp -r turbo.lua /home/fedor/torch/install/share/luajit-2.0.4
cp -r turbovisor.lua /home/fedor/torch/install/share/luajit-2.0.4
install -m 0755 bin/turbovisor /home/fedor/torch/install/bin
==== Building 3rdparty modules ====
make -C deps/http-parser library
make[1]: Entering directory '/tmp/luarocks_turbo-2.1-2-hicoxP/turbo/deps/http-parser'
gcc  -shared -Wl,-soname=libhttp_parser.so.2.1 -o libhttp_parser.so.2.1 libhttp_parser.o
make[1]: Leaving directory '/tmp/luarocks_turbo-2.1-2-hicoxP/turbo/deps/http-parser'
gcc -Ideps/http-parser/ -shared -O3 -Wall -g  -fPIC deps/http-parser/libhttp_parser.o deps/turbo_ffi_wrap.c -o libtffi_wrap.so  -lcrypto -lssl
==== Installing libtffi_wrap ====
test -f libtffi_wrap.so &&
install -m 0755 libtffi_wrap.so /home/fedor/torch/install/lib/libtffi_wrap.so.2.1.0 &&
ldconfig -n /home/fedor/torch/install/lib &&
ln -sf libtffi_wrap.so.2.1.0 /home/fedor/torch/install/lib/libtffi_wrap.so
==== Successfully installed Turbo.lua 2.1.0 to /home/fedor/torch/install ====
turbo 2.1-2 is now installed in /usr/local (license: Apache 2.0)
`
I am using jetson nano B01 with original ubuntu 18.04 image. Thank you for help!

-I/usr/include/lua5.1
now installed in /usr/local

Try which luarocks command.
% which luarocks
/home/nagadomi/torch/install/bin/luarocks

If the luarocks command is in /usr/bin or /usr/local/bin, you have run a different command than the one installed by the torch installer.
Torch has its own lua environment(~/torch/install) and does not use the system lua and luarocks commands.
The torch installer will add the following command to your .bashrc to set the environment variables.
. /home/fedor/torch/install/bin/torch-activate

If this line is missing, you need to add it and then run source ~/.bashrc. https://github.com/nagadomi/waifu2x/issues/253#issuecomment-497631624
As an additional note, there are reports that turbo (web interface) does not work on Linux with Jetson nano. #307

Thank you,
which luarocks returns home/fedor/Desktop/torch/install/bin/luarocks
I have /home/fedor/torch/install/bin/torch-activate in my bashrc file and i have restarted pc after it was added by torch.
as per web interface, working script is enough for me.
Maybe I am missing some linkage, but I have never used torch nor lua.

home/fedor/Desktop/torch/install/bin/luarocks
/home/fedor/torch/install/bin/torch-activate

It seems that the path Desktop is missing. Unless this is a copy-and-paste mistake, there may be a problem if you install torch in a location other than ~/torch/.
(I've never tried this before)

Thank you, I will try to mv torch into ~ and repeat instalation process.

So I have reinstall torch and waifu repository and now:
`$ luarocks
LuaRocks 2.3.0, a module deployment system for Lua
...
`
which luarocks /home/fedor/torch/install/bin/luarocks
`
luarocks install graphicsmagick --local
mkdir: cannot create directory ‘/home/fedor/.cache/luarocks/https___raw.githubusercontent.com_torch_rocks_master’: Permission denied
mkdir: cannot create directory ‘/home/fedor/.cache/luarocks/https___raw.githubusercontent.com_torch_rocks_master’: Permission denied
mkdir: cannot create directory ‘/home/fedor/.cache/luarocks/https___raw.githubusercontent.com_torch_rocks_master’: Permission denied
Warning: Failed searching manifest: Failed creating temporary cache directory /home/fedor/.cache/luarocks/https___raw.githubusercontent.com_torch_rocks_master
mkdir: cannot create directory ‘/home/fedor/.cache/luarocks/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master’: Permission denied
mkdir: cannot create directory ‘/home/fedor/.cache/luarocks/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master’: Permission denied
mkdir: cannot create directory ‘/home/fedor/.cache/luarocks/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master’: Permission denied
Warning: Failed searching manifest: Failed creating temporary cache directory /home/fedor/.cache/luarocks/https___raw.githubusercontent.com_rocks-moonscript-org_moonrocks-mirror_master
Error: No results matching query were found.
`
and with sudo:
 sudo luarocks install graphicsmagick --local sudo: luarocks: command not found
I am lost >__>

oh, finally:
this helps: sudo chown -R fedor ~
and then:
`
th waifu2x.lua
gm (GraphicsMagick) binary not found, please install (see www.graphicsmagick.org)
THCudaCheck FAIL file=/home/fedor/torch/extra/cunn/lib/THCUNN/im2col.h line=123 error=701 : too many resources requested for launch
/home/fedor/torch/install/bin/luajit: /home/fedor/torch/install/share/lua/5.1/nn/Container.lua:67:
In 1 module of nn.Sequential:
In 2 module of nn.Sequential:
In 1 module of nn.Sequential:
In 1 module of nn.ConcatTable:
In 4 module of nn.Sequential:
/home/fedor/torch/install/share/lua/5.1/nn/THNN.lua:110: cuda runtime error (701) : too many resources requested for launch at /home/fedor/torch/extra/cunn/lib/THCUNN/im2col.h:123
stack traceback:
[C]: in function 'v'
/home/fedor/torch/install/share/lua/5.1/nn/THNN.lua:110: in function 'SpatialFullConvolution_updateOutput'
...orch/install/share/lua/5.1/nn/SpatialFullConvolution.lua:90: in function <...orch/install/share/lua/5.1/nn/SpatialFullConvolution.lua:67>
[C]: in function 'xpcall'
/home/fedor/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/fedor/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function </home/fedor/torch/install/share/lua/5.1/nn/Sequential.lua:41>
[C]: in function 'xpcall'
/home/fedor/torch/install/share/lua/5.1/nn/Container.lua:63: in function 'rethrowErrors'
/home/fedor/torch/install/share/lua/5.1/nn/ConcatTable.lua:11: in function </home/fedor/torch/install/share/lua/5.1/nn/ConcatTable.lua:9>
[C]: in function 'xpcall'
...
/home/fedor/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
lib/reconstruct.lua:52: in function 'reconstruct_nn'
lib/reconstruct.lua:200: in function 'scale_rgb'
lib/reconstruct.lua:240: in function 'scale_f'
waifu2x.lua:99: in function 'convert_image'
waifu2x.lua:294: in function 'waifu2x'
waifu2x.lua:299: in main chunk
[C]: in function 'dofile'
...edor/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x558c198a68
WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above.
stack traceback:
[C]: in function 'error'
/home/fedor/torch/install/share/lua/5.1/nn/Container.lua:67: in function 'rethrowErrors'
/home/fedor/torch/install/share/lua/5.1/nn/Sequential.lua:44: in function 'forward'
lib/reconstruct.lua:52: in function 'reconstruct_nn'
lib/reconstruct.lua:200: in function 'scale_rgb'
lib/reconstruct.lua:240: in function 'scale_f'
waifu2x.lua:99: in function 'convert_image'
waifu2x.lua:294: in function 'waifu2x'
waifu2x.lua:299: in main chunk
[C]: in function 'dofile'
...edor/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x558c198a68
`

libgraphicsmagick is reuiqred.
sudo apt-get install libgraphicsmagick1-dev

cuda runtime error (701) : too many resources requeste

Maybe -force_cudnn 1 option is required for  Jetson Nano.

waifu2x runs out of memory on this device without using cuDNN. I'm not too concern about this as long as it works using cuDNN.
From #307

or use small crop_size -crop_size 128.

thank you very much for help, in the end I end up following this tutorial: https://qiita.com/dona0712/items/b1b55686f580fc6f4173

Note that waifu2x-converter-cpp only supports the early, older model (2015 ver).


Added Height Control for Viewer Mode

This PR introduces height control for the getViewerMode in the editor component. A dynamic height is applied using the $getEditorHeight() function, allowing for more flexible and responsive design.

I've looked at your commit, thanks for your contribution. Do you think you could setup a method to set the viewerHeight and then assign it to the viewer? I think it's better to proceed like this than having the height set for both modules at the same time.

Merged your commits, added some modifications: 7001ebf4c19e5bd27be75c20c72b12477388165f
Thanks again!


Compile any QuantumWorld to qubits

For enabling hardware-based runs, added an option to QuantumWorld that replaces qudits by ancilla qubits and transforms any qudit-based QuantumEffect and measurements to be qubit-based. Uses the utils added in #69 for the actual unitary transformations.
Updated all the applicable tests under unitary/alpha and unitary/examples/tictactoe to run in both regular mode and qubit-compiled mode.
This is still not all-powerful because the underlying qudit-to-qubit transforms assumed that all qudits in the system have the same dimension. Will work on generalizing that further next.

Sorry for the large PR. The interesting part is just in quantum_world.py, rest is testing.


flutter_localizations  version conflict

Error msg:
Because no versions of flutter_soloud match >1.1.1 <2.0.0 and flutter_soloud 1.1.1 depends on intl ^0.18.1, flutter_soloud ^1.1.1 requires intl ^0.18.1.
And because every version of flutter_localizations from sdk depends on intl 0.18.0, flutter_soloud ^1.1.1 is incompatible with flutter_localizations from sdk.
So, because audio depends on both flutter_localizations from sdk and flutter_soloud ^1.1.1, version solving failed.

I have removed intl dependency. You should not see that compile error now


Light card sets brightness to 100% to turn on light.

Hello!
My setup is a Tuya Dimmer using the MQTT protocol, configured as is:
  - platform: mqtt
    name: "F4 Kitchen lights"
    unique_id: "f4_kitchen_lights"
    state_topic: "f4/sw/var/tele/kitchen-lights/STATE"
    state_value_template: "{{value_json.POWER}}"
    command_topic: "f4/sw/var/cmnd/kitchen-lights/POWER"
    availability_topic: "f4/sw/var/tele/kitchen-lights/LWT"
    brightness_state_topic: "f4/sw/var/tele/kitchen-lights/STATE"
    brightness_command_topic: "f4/sw/var/cmnd/kitchen-lights/Dimmer"
    brightness_scale: 100
    on_command_type: "brightness"
    brightness_value_template: "{{value_json.Dimmer}}"
    payload_available: "Online"
    payload_not_available: "Offline"
    payload_on: "ON"
    payload_off: "OFF"
    qos: 1
    retain: false

When pushing the button on the Light card, an MQTT command is issued:
Transmitting message on f4/sw/var/cmnd/kitchen-lights/Dimmer: 100
The expected MQTT command should be:
f4/sw/var/cmnd/kitchen-lights/Power: ON
Why? because it should be possible to set the dimming level while a lamp remains off. This is a feature in the Tasmota firmware when SetOption20 is set to 1.

You are asking it to do just that with your "on_command_type: brightness" configuration.

As pointed out by @elupus this is the expected behavior.
More details here: https://www.home-assistant.io/components/light.mqtt/#on_command_type


No images in dataset

The folder FB15K-images and wn-18 images in the path [MKGformer]/dataset/   contain no images. Can you please provide the image data

Sorry, you can download from this link https://pan.baidu.com/share/init?surl=TVArQSLmPjr2FsC8NkSiOA  with the code ilbd.  We will provide a google drive link soon.

You can also download images from https://drive.google.com/file/d/197c4fCLVC6F7sCBqZIDwm5tjWeGJnZ5-/view?usp=share_link.


Servers override in configuration does not update the API Client URL

What happens?
When setting a server in the configuration, the URL used by the API Client is not updated and is the base URL of where Scalar is hosted.
<script>
  var configuration = {
    theme: "default",
    servers: [
      {
        url: "https://test-server.com",
        description: "Server for testing override"
      },
    ],
  };
  document.getElementById("api-reference").dataset.configuration =
    JSON.stringify(configuration);
</script>

Here's what is shown in Base URL :

Here's what is shown under an endpoint :

Here's what the API Client uses :

Additionally, hovering over the URL displays "Variable not found"
What did you expect to happen?
The URL used for testing requests should change to the one defined in the servers parameter, or the one in the OpenAPI Spec provided if no override is done.
How can we reproduce the issue?
Here's what I used :
<!DOCTYPE html>
<html>
  <head>
    <title>Test file</title>
    <meta charset="utf-8" />
    <meta content="width=device-width, initial-scale=1" name="viewport" />
  </head>

  <body>
    <script
      id="api-reference"
      data-url="https://petstore.swagger.io/v2/swagger.json"></script>

    <script>
      var configuration = {
        theme: "default",
        servers: [
          {
            url: "https://test-server.com",
            description: "Server for testing override"
          },
        ],
      };
      document.getElementById("api-reference").dataset.configuration =
        JSON.stringify(configuration);
    </script>

    <script src="https://cdn.jsdelivr.net/npm/@scalar/api-reference"></script>
  </body>
</html>

OpenAPI Document
No response

https://sandbox.scalar.com/e/2fpJw
Trying it in the sandbox with the Swagger Pet Shop spec, it seems it always uses the base URL of the page :

Damn! Yes, that used to work but this part requires some work anyway. Definitely need to go over this again.

After trying some older versions, it seems the issue started with Scalar version 1.24.50.
v1.24.49 works as expected

Any updates on this issue ? The API Client seems to be unusable on versions past 1.24.49 because of this.

hey @cpbr-dev! sorry about that, we are actively working on this, won't miss to keep you updated here!

should be fixed by #2766

is the fix already released?

yes @jillxuu :)

I tested last good version is still 49Sent from my iPhoneOn Aug 27, 2024, at 10:55 AM, Marc Laventure @.***> wrote:
yes @jillxuu :)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

It might be fixed with one of the PRs labelled as on-hold.

This should work now, please wait for next release then re-open if it isn't fixed! :)
https://github.com/scalar/scalar/pull/3138


Eliminate dependencies from pnpm-sync-lib.

This PR removes all of the dependencies from the pnpm-sync-lib package and updates the function signature to take utility functions that can be provided by external tooling like pnpm or by utility libraries like @rushstack/node-core-library.
Tested by running the example in pnpm-sync-cli-demo.

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


Add a fuse or circuit breaker to the Power system

In the event of a short circuit, we want the power to be disabled. The diodes defend against reversing ground and +20V, but not against a short circuit. The solution is to put a fuse or circuit breaker in the circuit close to the battery.

fuse location is identified ib phase 1 power design under issue 156


Sort gitignore

Proposed changes:
Sort gitignore to make it more easy to navigate.
Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

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


Android App rejected "Remediation for Implicit PendingIntent Vulnerability"

Description
Android app update rejected as Google states that the app contains an Implicit PendingIntent issue which can cause security threats in the form of denial-of-service, private data theft, and privilege escalation
Expected behavior
Google Play should accept the app
Google suggest https://support.google.com/faqs/answer/10437428
Current behavior
App update rejected by Google saying "Your app update has been rejected for not adhering to Google Play Developer Program policies".
Screenshots

Logs
The following code uses PendingIntent.
PendingIntent pendingIntent = PendingIntent.getBroadcast(getActivity().getApplicationContext(),
requestCode, intent, PendingIntent.FLAG_UPDATE_CURRENT);
Environment

Platform: React-Native
Lib: @hmscore/react-native-hms-location
Lib Version 5.0.0-301
OS Version  Android API 23 and above

We are also affected

It said to add FLAG_IMMUTABLE flag. I tried applying this patch as well but
again the same result.

int pendingIntentFlags = PendingIntent.FLAG_CANCEL_CURRENT;
if(android.os.Build.VERSION.SDK_INT >= 23) {
pendingIntentFlags |= PendingIntent.FLAG_IMMUTABLE;
}
return new NotificationCompat.Builder(this, CHANNEL_ID)
.setContentTitle(prefs.getString(Constants.KEY_CONTENT_TITLE,
Constants.DEFAULT_CONTENT_TITLE))
.setContentText(prefs.getString(Constants.KEY_CONTENT_TEXT,
Constants.DEFAULT_CONTENT_TEXT))
.setContentIntent(PendingIntent.getActivity(this, 0, new Intent(this,
getMainActivityClass()),

PendingIntent.FLAG_CANCEL_CURRENT))

pendingIntentFlags))

int pendingIntentFlags = PendingIntent.FLAG_UPDATE_CURRENT;

if(android.os.Build.VERSION.SDK_INT >= 23) {

pendingIntentFlags |= PendingIntent.FLAG_IMMUTABLE;

}
PendingIntent pendingIntent =
PendingIntent.getBroadcast(getActivity().getApplicationContext(),

requestCode, intent, PendingIntent.FLAG_UPDATE_CURRENT);

requestCode, intent, pendingIntentFlags);

On Wed, Jun 23, 2021 at 4:57 PM Łukasz Gurdek @.***>
wrote:

We are also affected
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HMS-Core/hms-react-native-plugin/issues/128#issuecomment-866811971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGR47S34SEVAGVG44XJBTJTTUHK4PANCNFSM47FMDKPQ
.

Hi all, thank you for interest in our Huawei Location React Native Plugin.
Please go to<EMAIL_ADDRESS>file and change pending intent declaration from buildPendingIntent method for a quick fix.
If result is successful we will fix the problem in the next release.

public PendingIntent buildPendingIntent(int requestCode, String action) {
    Intent intent = new Intent();
    intent.setPackage(ctx.getPackageName());
    intent.setAction(action);
    PendingIntent pendingIntent;
    if (android.os.Build.VERSION.SDK_INT >= 23) {
        pendingIntent = PendingIntent.getBroadcast(ctx, requestCode, intent, PendingIntent.FLAG_UPDATE_CURRENT);
    } else {
        pendingIntent = PendingIntent.getBroadcast(ctx, requestCode, intent, 0);
    }
    this.requests.put(requestCode, pendingIntent);
    return pendingIntent;
}

Thank you!

Hi ozcanozgur,
If we see the error reported. It says we should use
if (android.os.Build.VERSION.SDK_INT >= 23) {
// Create a PendingIntent using FLAG_IMMUTABLE
} else {
// Existing code that creates a PendingIntent
}
So an appropriate fix would have been
int pendingIntentFlags = PendingIntent.FLAG_UPDATE_CURRENT;
if(android.os.Build.VERSION.SDK_INT >= 23) {
pendingIntentFlags |= PendingIntent.FLAG_IMMUTABLE;
}
PendingIntent pendingIntent;
pendingIntent = PendingIntent.getBroadcast(ctx, requestCode, intent, pendingIntentFlags);

Hi @sapramit,
Thank you for suggestion, we will fix it with FLAG_IMMUTABLE.

@ozcanozgur Hi, I'am facing same issue but is from @hmscore/react-native-hms-push. Where should i change?


wordcloud.png

what is it for?

It's a visualisation of the most frequently words from a given amount of text.
This actually made me check it, and since it was last updated 13 months ago, I made a pull request with a newer one. (#276)


Add minor fixes to TextCursor

Small fix to TextCursor in Tree DDS.

I'm going to clone this branch and see if I can find the issue in a more targeted unit test, and improve the code readability and error checking so this is less confusing.

I have made an alternative PR based on this one with a different fix and more targeted tests: https://github.com/microsoft/FluidFramework/pull/11295
Thanks for finding and reporting the bug!


Allow a relative path for the shell configuration option

It would be nice to allow the shell configuration option to take a binary name instead of an absolute path.
I have alacritty use tmux as the default shell, but tmux is located in different places on different systems, so it would be nice to be able to do:
shell:
    program: tmux

and have it just work.
I'm willing to write a PR for this feature if it sounds good. Let me know!

That actually works (at least on ubuntu).. Did you try it?

Yup, I tried it on macOS and it didn't work.

@casey definitely something that should work. Would love to know why it doesn't on macOS. If you want to look into it and put a patch together, it would almost certainly get merged.

I think this was some kind of shell configuration problem, and not something related to alacritty. I just tried to reproduce the bug, and a relative path worked fine. I'm not sure what changed, but I'm messing with my shell/path a bunch, so I suspect that.
Sorry for the spurious issue!

Thanks for following up and closing the issue.


Logic layer #1

closes #59
closes #60
closes #83

One general comment: the boxed error helper is probably helpful across tesseract; it might be good to put in either the [server] or [core] crates.

Thanks for all your hard work on this! I know there was a lot of back-and-forth, but I'm feeling very comfortable with the direction this is going. Looking forward to more code :)


The generated .cs file doesn't work (Unhandled exception. System.EntryPointNotFoundException)

I have the intention to generate bindings for a certain library, so in order to get used to it I did my own addition and subtraction C++ library.
Windows 11 23H2 (Build 22631.3235)
ClangSharpPInvokeGenerator 17.0.1
JetBrains Rider 2023.3.3
sumarrestar.h
#pragma once

#ifndef SUMARRESTAR_H
#define SUMARRESTAR_H

class SumarRestar
{
public:
    static int sumar(int a, int b);
    static int restar(int a, int b);
};
#endif

sumarrestar.cpp

#include "sumarrestar.h"

int SumarRestar::sumar(int a, int b)
{
    return a + b;
}

int SumarRestar::restar(int a, int b)
{
    return a - b;
}

I would ideally like to avoid any changes to the original C++ code or at least they should be as minimal as possible.
Compilation settings:

The command line I used to generate it:
ClangSharpPInvokeGenerator --file "C:\Users\myusername\RiderProjects\SumarRestar\SumarRestar\sumarrestar.h" --libraryPath SumarRestar.dll -n SumarRestarSharp -o "C:\testing\SumarRestarSharp.cs"

The generated .cs file:
using System.Runtime.InteropServices;

namespace SumarRestarSharp
{
    public partial struct SumarRestar
    {
        [DllImport("SumarRestar.dll", CallingConvention = CallingConvention.Cdecl, EntryPoint = "?sumar@SumarRestar@@SAHHH@Z", ExactSpelling = true)]
        public static extern int sumar(int a, int b);

        [DllImport("SumarRestar.dll", CallingConvention = CallingConvention.Cdecl, EntryPoint = "?restar@SumarRestar@@SAHHH@Z", ExactSpelling = true)]
        public static extern int restar(int a, int b);
    }
}

The error I'm getting from the IDE:
Unhandled exception. System.EntryPointNotFoundException: Unable to find an entry point named '?sumar@SumarRestar@@SAHHH@Z' in DLL 'SumarRestar.dll'.

When using PInvoke to call a class implemented in C++, it's important to note that the same C++ class method may have different decorated names in x86 and x64 environments. This means you'll need two separate PInvoke declarations for the same method, each targeting x86 and x64 platforms respectively, and then you'll need to manually determine which version to call in your code.
https://github.com/myd7349/Ongoing-Study/tree/master/c%23/Console/PInvoke/MarshalCppClassV1

ClangSharpPInvokeGenerator also provides the following options:

-m32
-m64

I just need x64 modules, nothing else, I tried using the -m64 flag and I still get the same error.

You can use this tool to inspect the exposed functions/methods in the C++ DLL. Make sure to check the option to leave the decorations alone.
What is the target architecture of your C# project? Is it AnyCPU or x64?

In general binding against C++ is error prone and undesirable due to having an unstable ABI and no standard for exports across platforms/architectures.
Its typically recommended to have a C wrapper over your C++ and then bind against the C wrapper instead.
ClangSharp does get the mangled name directly from Clang but what that name is depends on several factors such as the CPU architecture (x86, x64, Arm64, etc) and the OS (Windows, Linux, MacOS, etc). So you may need to specify -m64 to ensure you have the right bitness and -c unix-types or -c windows-types if you want to explicitly use Unix vs Windows mangling.
Clang however does not work "perfectly" for cross compilation and so simplify specifying -c unix-types on Windows or -c windows-types on Unix may still result in other quirks in the codegen. That is a limitation of Clang


Add statistics included in the new year's update

Codecov Report

Merging #660 (40505db) into master (5e68295) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             master    #660      +/-   ##
===========================================
- Coverage      5.06%   5.01%   -0.06%
  Complexity     2349    2349
===========================================
  Files           172     172
  Lines         11641   11768     +127
===========================================
  Hits            590     590
- Misses        11051   11178     +127

Impacted Files
Coverage Δ
Complexity Δ

includes/Pages/Statistics/StatsMonthlyStats.php
0.00% <0.00%> (ø)
1.00 <0.00> (ø)

includes/Security/RoleConfiguration.php
84.84% <ø> (ø)
14.00 <0.00> (ø)

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 5e68295...40505db. Read the comment docs.

Codecov Report

Merging #660 (40505db) into master (5e68295) will decrease coverage by 0.05%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             master    #660      +/-   ##
===========================================
- Coverage      5.06%   5.01%   -0.06%
  Complexity     2349    2349
===========================================
  Files           172     172
  Lines         11641   11768     +127
===========================================
  Hits            590     590
- Misses        11051   11178     +127

Impacted Files
Coverage Δ
Complexity Δ

includes/Pages/Statistics/StatsMonthlyStats.php
0.00% <0.00%> (ø)
1.00 <0.00> (ø)

includes/Security/RoleConfiguration.php
84.84% <ø> (ø)
14.00 <0.00> (ø)

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 5e68295...40505db. Read the comment docs.


NavigationBarButton not triggering animation

My setup is NavigationController -> TableView -> CollectionView. And I am using ListToGrid example as reference.

HeroViewControllerDelegate is not called unless I set navigationController?.isHeroEnabled = true in viewDidLoad of TableView.
HeroViewControllerDelegate is called but there is no animation.

I tried to add a segue from the storyboard from barButtonItem to collectionView. There is no transition animation to collectionView, but this time because of the segue there is a back button on CollectionView Navbar. When I hit the backButton, transition to the tableView is animated.
I can't get all the animations work as intended.

What kind of segue did you use.

@ssaylanc Did you find a solution?

@ssaylanc Did you find a solution?

after a while, I figured out that you need to apply hero.isEnabled = true to UINavigationVC in storyboards


PHOENIX-7014 Query compiler/optimizer changes for SELECT queries against CDC

This change tries to short-circuit the existing optimizer logic to produce a plan that is suitable for CDC queries. It also reimplements the query hints so that it is simpler and easier to maintain using regex. It includes a PoC query test and some debug test cases for short term reference (can be removed before merging to master).
https://issues.apache.org/jira/browse/PHOENIX-7014

Just trying to think loud (I haven't looked at all the CDC related PRs also). While looking at the PR at a high level, I was thinking would it better to refactor the code to follow a design pattern which could possibly avoid having if conditions to check if(feature == CDC) to using inheritance? May be while INDEXing changes were added it could have been much over head to do such refactoring. Does my comment make sense?

Superseded by #1766


SVG Geometry Statistics

It would be helpful to somehow figure out how many vertices are present in an SVG. This is an open-ended problem. Some conversational exploration of the problem space is desired.

Seems infeasible for now.


Added options to make logging / output more machine readable

I incorporated Mist into MDS and it has been working great! I wanted to have a more structured output for easy parsing from MDS so I added in some changes:

When Mist exited with an error, it exited as termination status 0. Changed to -1.
Add a new option ("-j") for mist download that outputs as messages that are structured JSON data, one per line for easy parsing. There are 3 message types: Header, Info and Progress. Header and info are just KVP with Header/Info as they key and the message as the value. The Progress message has "Progress" as the key and a json hash with the download progress (steps, data completed, etc).
Added a new option for PrettyPrint for tell it if it should be structured data or not to output.  There may have a less intrusive way but this way works. Let me know if you have any ideas on how to make this better.
renamed current -> currentBytes, total->totalBytes to make them more clear. Current was being used both as a local variable for index and for the bytes which hurt my brain.
Fixed an issue where output was showing bytes remaining and completed as the end of the prior step.
Message output that didn't contain data now goes to stderr. For example, all the header and info messages are stderr, but when the plist / json output for mist list is run, it goes to stdout. this makes knowing what data to use when more deterministic.
The "Firmware" and "Product" objects shared many similar traits so i created a DownloadInfo struct to pass to Downloader. It probably would have been better to make this a superclass or firmware and product, but that that would have required more structural changes. Let me know if you'd rather go this route.

Hi @tperfitt, thanks for the PR. There's a lot to unpack, so here goes!

https://github.com/ninxsoft/Mist/blob/e5545a07489bffdf24beb55c578925d4223f67ac/Mist/Commands/Download/Download.swift#L26-L31
I don't believe this is an error - the command is running successfully and not finding a result from Apple. If there is an error retrieving results from Apple, a separate MistError is thrown.

Looks good, I would just update the variable name + description from:
https://github.com/ninxsoft/Mist/blob/e5545a07489bffdf24beb55c578925d4223f67ac/Mist/Commands/Download/DownloadOptions.swift#L47-L51
To:
@Flag(name: .shortAndLong, help: """
Print output in JSON format for structured parsing.
""")
var jsonOutput: Bool = false

To help reduce duplication of code, we can add a helper function to Dictionary+Extension.swift:
func jsonString() -> String? {

    do {
        let data: Data = try JSONSerialization.data(withJSONObject: self, options: .prettyPrinted)
        return String(data: data, encoding: .utf8)
    } catch {
        Swift.print(error.localizedDescription)
        return nil
    }
}

This will allow us to convert any valid dictionary to a JSON string. We can then cleanup the method that prints headers from:
https://github.com/ninxsoft/Mist/blob/e5545a07489bffdf24beb55c578925d4223f67ac/Mist/Helpers/PrettyPrint.swift#L22-L48
To:
static func printHeader(_ header: String, jsonOutput: Bool) {
    var string: String = ""

    if jsonOutput {
        let dictionary: [String: String] = ["Header": header]

        if let jsonString: String = dictionary.jsonString() {
            string = jsonString
        }
    } else {
        let horizontal: String = String(repeating: "─", count: header.count + 2)
        string = "┌\(horizontal)┐\n│ \(header) │\n└\(horizontal)┘"
    }

    Swift.print(string)
}

For the non-header printing method, the method signature is getting a little out of control:
https://github.com/ninxsoft/Mist/blob/e5545a07489bffdf24beb55c578925d4223f67ac/Mist/Helpers/PrettyPrint.swift#L57

The first four parameters are mutually exclusive to the last 2 parameters, so I believe there is an opportunity here to split the method into two (possibly leveraging method overloading with different parameters). I don't have an answer for this just yet, just spitballing.
You have hardcoded structuredOutput: false in both HTTP.swift and List.swift. To promote feature parity, I would look at adding jsonOutput to ListOptions, and passing on this value to HTTP methods from either ListOptions or DownloadOptions.
I would also look at converting messagetype: String to a MessageType enum

Looks good to me!

Looks good to me, and thanks!

I am not sold on the idea of repurposing stderr to filter out header + info messages. In my head, stderr should be used for errors, and errors alone. By adding structured JSON output, do we not have a way to filter out / parse stdout messages we do not care about?

mist originally only supported macOS Installers, and Firmware support was added as an afterthought. Since there is a lot of overlap, it probably makes sense to create a DownloadInfo (can't think of a better name 🤔) protocol, of which both the Firmware and Product structs conform to.
Alternatively, if it feels like too much work (and macOS Installers will eventually be phased out in favour of Firmwares...), we can leave it just the way it is 🙃.

Additionally, there are a couple of housekeeping tasks that have crept into your PR:

https://github.com/ninxsoft/Mist/blob/e5545a07489bffdf24beb55c578925d4223f67ac/Mist.xcodeproj/project.pbxproj#L466
https://github.com/ninxsoft/Mist/blob/e5545a07489bffdf24beb55c578925d4223f67ac/Mist.xcodeproj/project.pbxproj#L481
Are you able to roll these back to 7K3HVCLV7Z?

Your PR in it's current form will fail to merge as it does not pass all linting checks. SwiftLint can be installed and run manually with swiftlint --strict from the root of the project. There is also a Run SwiftLint script phase as part of the Xcode project build process:
if which swiftlint > /dev/null ; then
  swiftlint --strict
else
  echo "warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint"
fi

exit 0

Note: The linting rules I enforce are quite strict 😅.

The same goes for docstrings - I use DrString to ensure docstrings are consistent. You can run manually with drstring check --config-file .drstring.toml from the root of the project, or via the Run DrString script phase as part of the Xcode project build process:
if which drstring > /dev/null ; then
  drstring check --config-file "$SRCROOT/.drstring.toml" || true
else
  echo "warning: DrString not installed, download from https://github.com/dduan/DrString"
fi

exit 0

Closing due to inactivity, will re-open if required by @tperfitt 👍


Simplify even more: record user clicks and inputs

To do:

Figure out how to start/stop recording clicks and inputs.

(on-screen button?)
(keypress codes and current :focus element?) which may help with issue #9

Default to recording mode. Include a red button to turn it off.

Goal = "Recording mode":
Left click = click
Type = enter
Right click = check
FYI: this is less important than #6 because the basic recording functionality is already there, this just makes it even easier.

for #9: getting the closest form and jQuery submit seems good enough: https://github.com/hchiam/in-browser-test-automator/commit/5f4d48f837b2ac85ae337f94c9d60720b840ea3f#diff-1dd241c4cd3fd1dd89c570cee98b79ddR449

Updated to-do list:

Figure out how to start/stop recording clicks and inputs.

(keypress codes and current :focus element?) which may help with issue #9

Left click = click + create new step to hold that info
Type = enter
Right click = check + create new step to hold that info + add popup 3 instructions for user


problem with stop()

I have a problem with stop() .
When stepper.stop(); is executed, the motor stops abruptly and starts decelerating when the next stepper.loop(); is processed.
...
...
void loop() {
  if (Serial.available() > 0) {
    int rlen = Serial.readBytesUntil('\n', buffer, BUFFER_SIZE);
    String buf = buffer;
    if (rlen > 0) {
      if (buf.substring(0,rlen) == "stop") {
        stepper.stop();
        Serial.println("stop");
      } else if (buf.substring(0,rlen) == "start") {
        stepper.spin(500);
        Serial.println("start");
      }
    }
  }
  stepper.loop();
}

Hi @ltspicer,
stop() does nothing more than set the target speed to 0.
An abrupt stop is likely caused by loop() not being called.
For example, this could happen if Serial.readBytesUntil() timeouts.
Best regards,
Benoit

That was exactly the problem.
Thank you very much.
This is a fantastic library. Exactly what I need.

You're welcome, @ltspicer.
Thanks for the kind words :heart:
Don't forget to star the project on GitHub ;-)

Of course.
There will be a special "CNC" machine that heads beer cans live behind the counter.
These can then be used like a drinking cup.
There will be 1-2 stepper motors and a 30N cylinder.
But right now it's the prototype early stage.


Allow use of title for schema tabs

So in the ServiceSchema if you made the title in General into WTF??? it would look like this:

@Poltergeist @aldipower

Reviewer: @philipnrmn

This is super awesome and very helpful thanks for taking the time to implement it! A 💯  👍  for this PR!

Looks good to me. Feel free to merge this once the test pass.

Nice one!! :)

retest this please

retest this please

Retest this please!


NU8000 not working anymore

Hi!
After last update (v1.3.3) I can successfully setup my NU8000 TV, ping works as well. The problem is that the only thing I can control is device volume via slider/knob. Even 'vol +/-' or 'on/off' buttons does not work. No errors in log.
Heres my config:
media_player:
  - platform: samsungtv_custom
    host: <IP_ADDRESS>
    port: 8002
    mac: !secret mac_samsung
    update_method: "ping"
    source_list: '{"TV": "KEY_TV", "HDMI": "KEY_HDMI"}'
    app_list: '{"Netflix": "11101200001","YouTube": "111299001912","Internet": "org.tizen.browser"}'

Just to be clear. Everything was working as intended before this update. Even though I did not have 'app_list' set up at that time.
Any ideas?
EDIT: Surprisingly play_media service works really well. Too bad I cannot turn on/off my TV, even manually via proper service. It would be so perfect if I could.

Same for me. I have observed 2 things.

It can no longer auto create app_list. If there is no app_list in config, it will timeout and no device entity is created.
If I specify app_list manually, the pop-up window to allow remote control on TV shows but the token is never saved. The token file is empty. So entity is created but TV can not be controlled

I'm on 0.105.2 as well. And also have empty token file.

This seems to be an issue that many have been having with websocket-client python package.
I've downgraded websocket-client to 0.56.0, everyone please test the new 1.3.4 version of this component to see if it works for you now.

After update to 1.3.4 I get following error when trying to restart HA:
Platform error media_player.samsungtv_custom - No module named 'custom_components.samsungtv_custom.samsungtvws'

After update to 1.3.4 I get following error when trying to restart HA:
Platform error media_player.samsungtv_custom - No module named 'custom_components.samsungtv_custom.samsungtvws'

second that

wtf? ... 🤣

I reinstalled the component, running HA 0.102.3.. No errors, everything just works.. I guess I need to update HA to see what's going on.. If this breaks my home in many unforeseeable ways, you're all to blame..

After update to 1.3.4 I get following error when trying to restart HA:
Platform error media_player.samsungtv_custom - No module named 'custom_components.samsungtv_custom.samsungtvws'

seems to be a hacs issue on this front, for some reason its putting the remote + shortcuts file in the main directory.
still receiving timeout issues tho after correcting.

Updated HA to latest, still don't see any error..

Reinstalled everything here, still the same error
Configuration invalid
Platform error media_player.samsungtv_custom - No module named 'custom_components.samsungtv_custom.samsungtvws'
HACS 0.21.1
SamsungTV Custom  v1.3.4

Thanks for replying. I'll try the new release out when I get back home (in about 4 hours).

seems to be a hacs issue on this front, for some reason its putting the remote + shortcuts file in the main directory.
still receiving timeout issues tho after correcting.

Yes, that was it. After manualy moving those files into samsungtvws folder and some fiddling with token everything is working now on 1.3.4

Ok, I checked. After manual update it is working now :)
However there is still small issue for me. Services media_player.turn_on and media_player.turn_off still do no work when triggered via dev tools. Although I'm not sure if they ever worked in previous releases.

I have no idea how to react to all of this. This is clearly an issue. I still have so many questions:

Why the hell is HACS breaking folder hierarchy?
Why are there websocket protocol errors?
How can you just fix all of that by jumbling around folders and files?

Until I understand all of this nothing is fixed.

Why did me updating to latest HA and reinstalling the component from HACS not cause any errors?

Maybe it can be somehow connected with OS? I'm running my instance on Raspberry Pi 4 with Debian Buster + docker + Hass.io.

Today I upgrade homeassistant to 0.105.3 and now I get the same error.
I uninstalled the integration with hacs but I still get this error.

@Krocko read up, others have said that HACS is jumbling the folders around, install this component manually if you want to use it until things start making sense again.

It was working without problem.
Only change was the ha update.
Also the `samsungtv_custom' folder is on the right place. Nothing changed there.

Maybe @ludeeus can help here?

I've made a new release where I moved samsungtvws to the root directory.. that should hopefully fix the issues.

Unless someone still has issues with this, I'm closing the ticket.

Did not test new release yet, but I'm fine with that. Thank you!


Fix #525: Spuriously duplicate options

This PR fixes the issue and adds a unit test based on the original issue snippet. It is worth noting that I decided to fix only the spuriously duplicate options - users still can duplicate them on will f.e. by providing multiple of the same using directives in different files or by adding an already defined option via cli. On that occasion they will most likely still receive the same warning.
I did not want to limit users in defining duplicate options as that would require a more strict control of a scalac api, f.e. perhaps one day scalac will have an option that will be able to be defined multiple times (like our verbose) and then our hypothetical assumption would become incorrect.

Just tried something slightly different in the commits I just pushed… Feel free to revert them, if ever my approach doesn't pan out well.

The idea of my approach is that CrossSources basically splits its buildOptions: Seq[HasBuildRequirements[BuildOptions]] field in two: some options go in def sharedOptions, the others go into the ScopedSources returned by def scopedSources. My changes make sure options go only in one of those, not both (as was the case before it seems).

Thank you for the fixes, I must have messed something up with the scopes before. I'll be more careful next time

Thank you for the fixes, I must have messed something up with the scopes before. I'll be more careful next time

No problem, that's a super hairy area of the code base. As the commit history shows, I definitely didn't address that in the first try 😅


#445 - Fix api.helper.get.is_delegated_inbox check

I'm running a normal Google Apps account with no delegation and when I test, I get the following:
api.tracker.globals[17][5][0]
// "acfg"

The existing code may not work, but using your proposed code there is no way (at least in my case) to differ between disabled delegation and active delegation.
And if that's the best this function can do... That's not very useful really.
Could anyone else than me test and chime in?
@psobiech: As far as I can tell, you originally commited this code. Would you care to help out?

Update: I see you've submitted 2 PRs which contains invidual parts of the fix. That makes things a little bit confusing on my end :)
In the future please consider sending everything as one PR, so that it's easier to review.

Indeed I submitted 2 PRs as the 2 problems look distinct to me, even if they deal with the same subject (inbox delegation).
I will regroup the changes after I will have performed more tests with other G Suite accounts as you seem to have a different result than mine for api.tracker.globals[17][5][0] value.

 (I have only tested on 3 G Suite Business edition accounts)

Do you mean a G Suite account or a Gmail one?

Sorry. GSuite. It used to be called "Google Apps" before Google renamed it for the gazillionth time. :)

Here are my findings and tests:
Gmail Inbox delegation tests

GLOBALS[17][5][0] can be equals to one of the 3 values: md:tes, acfg or dlg.
GLOBALS[17] array content varies depending on the context and more specifically on the accounts listed in the top right drop down menu
if you have at least on delegated account listed in the accounts list (marked as "(delegated)"), GLOBALS[17][5][0] is equals to dlg
if "Mail delegation" domain setting is disabled OR if you are logged in on behalf of someone else (delegated inbox), GLOBALS[17][5][0] is equals to acfg
if you have no "(delegated)", and "Mail delegation" setting is not disabled on the domain, GLOBALS[17][5][0] is equals to md:tes

A bit complicated :-) and no sure we can still use GLOBALS[17][5][0] to achieve delegate detection.
I have notice a way to detect that the user in currently logged in as a delegate by parsing the DOM, but not sure it is reliable enough, especially knowing that css classes looks generated/obfuscated which is not the case for this one:

Here are my findings and tests:

That's good testing and great work. Really appreciated.
So if this data is correct and representative for other GSuite accounts (will try to test myself) that means that:

Regular Gmail and GSuite domain with delegation enabled looks the same (md:tes)
GSuite domain with delegation enabled and disabled looks different. (acfg vs ms:tes)
Active delegation can be detected. (dlg)

So if we can test for this being a gsuite account or regular gmail... We can accurately identify all three cases. Right?

not sure we can still use GLOBALS[17][5][0] to achieve delegate detection.

This comment makes me wonder if there was a critical part I missed.

That's good testing and great work. Really appreciated.

You're welcome, I really appreciate your help and commitment to try to find a solution to this too!

Active delegation can be detected. (dlg)

dlg just indicates that you have at least one delegated account in your accounts list but not that you are currently logged in a delegated inbox:

column E, user-2 has access to a delegated inbox (user-3) but he is currently in his own inbox (user-2): dlg
column F, user-2 is effectively logged in the delegated inbox (user-3): acfg
So we get the same value (acfg) either we are effectively in a delegated inbox or when delegation is disabled on the domain (column B).

So checking only the value of GLOBALS[17][5][0] to fix api.helper.get.is_delegated_inbox is not enough.
The only working solution I have so far is:
api.helper.get.is_delegated_inbox = function() {
    return $('.identityUserDelegatedAccount').length === 1;
};

But I don't know if the DOM is stable enough to rely on this css class.

I don't know if the DOM is stable enough to rely on this css class.

I don't see how relying on DOM is any worse than magic constants in the GLOBAL variable. Besides, we're using DOM stuff lots of other places in the codebase.
If what we already have is 1. convoluted and 2. doesn't even work, and 3. we can find a reliable and obvious DOM-selector to work with instead... I'd rather have that as long as it works for now and does what is expected.
Do you have any objections, @KartikTalwar?

If that works, I have to admit I'm much happier with this approach. I'll be glad to merge that once we're done with review :)


Processing externally derived epoch data does not use parallisation

I did not implement this because the processing is fast. However, when people have hundreds of files it can still be time consuming. So, it may be good to use parallelisation if there are a lot of files.

Closing as to my knowledge there are no user urgently in need for this.


Added NOTICE file

Task/Issue URL: https://app.asana.com/0/557005053610373/656964099893868
Tech Design URL:
CC:
Description:
This seems to be a requirement for Apache Software Foundation projects:
https://www.apache.org/dev/apply-license.html#new
and good for us too IMO, as somewhere for copyright/attribution.
Steps to test this PR:
1.
1.

Internal references:
Software Engineering Expectations
Technical Design Template

As discussed in Asana, this isn't a requirement as the ASF rules don't apply to 3rd parties just using the Apache license.
However, it seems like a positive contribution. approving.

merged. Thanks @tagawa

Nice, thank you @CDRussell


Can't open file in directory with + as first character of directory name

Matlab file saved in folders  +dir1/@ dir2/file.m
When I tried to open it with LeaderF, it doesn't work. I saw message as below, and the + is missing.
Vim:E492: Not an editor command: dir1/@ dir2/file.m

My system is Windows 7 64 bit.
Please note there's no space between @ and dir2.

Fixed.


Adding test case - ShareLargeNumberOfBackupsWithLargeNumberOfUsers

What this PR does / why we need it:
This PR has the following:

Automated test - ShareLargeNumberOfBackupsWithLargeNumberOfUsers
Added optional environment variables to run tests like these which are basically scale tests
Created helper functions getEnvString and getEnvInt to check if the variable is set, if not then it will return the default value
Minor log related fixes

Which issue(s) this PR fixes (optional)
Closes #PA-514
Special notes for your reviewer:

Aetos Dashboard


⚠ Bofrost.es has degraded performance

In f0df0a1, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1617 ms

Resolved: Bofrost.es performance has improved in e254852 after 8 minutes.


DRILL-8090: LIMIT clause is pushed down to an invalid OFFSET-FETCH clause for MS SQL Server

DRILL-8090: LIMIT clause is pushed down to an invalid OFFSET-FETCH clause for MS SQL Server
Description

Updated Calcite fork version to include https://github.com/apache/calcite/commit/cc40a48cb8ca16f91bfdc66eaed6151805355d4b, so now regular limit can be pushed down to MS SQL as TOP N instead of FETCH.
Updated JdbcLimitRule and JdbcSortRule to prevent pushing down FETCH with OFFSET and without ORDER BY.
For such a case, some rules at the physical stage will generate a limit on top of the scan that includes FETCH only and another limit with FETCH and OFFSET above, so the limit will be pushed down.
Allowed matching JDBC rules for physical rel nodes.
Fixed issue with ClassCastException for Phoenix plugin (issue similar to DRILL-7972).

Documentation
NA
Testing
Checked manually.

One other thing, I'd like to add UTs for MS-SQL to the JDBC plugin for both reading and writing.  But not in this task ;-)

@cgivre, yes, it is a good idea. I've noticed that we have a lot of common test cases for different databases. It would be good to refactor those tests to avoid copying them.

@cgivre, yes, it is a good idea. I've noticed that we have a lot of common test cases for different databases. It would be good to refactor those tests to avoid copying them.

How did you have in mind?  When I wrote the JDBC reader, I added tests for Postgres and one other.  I duplicated all the writer tests for a bunch of databases.  Is there a more efficient way?

@cgivre, I think something like Parameterized tests could help to do that.


Fix:change direct link to relative and not the redirect link

RT

/assign @bradtopol

/lgtm
/approve


[proposal] Re-organizing the modules and functions of routines and objects

Currently, the modules and functions of routines and objects are not organized an uniformed way. Sometimes the routines are in the core folder, sometimes in the math folder. There are also sub-folders (or not). This seem somehow unstructured, making us difficult to locate functions and check whether some functions have already been programmed.
Luckily, numpy official website provides a nice grouping of routines and objects by their functionality: https://numpy.org/doc/stable/reference/routines.html
This gives us a nice example of how to organizing our modules.
Proposal for organizing the functions and modules of routines and objects:

A routines folder is created under /numojo. Functions that are covered by this page will be considered to be implemented in this folder.
Sub-folders will be created under /routines for each topic on this page. Example:

/creation (Array creation routines)
/logic (Logic functions)
/mathematics (Mathematical functions)
...

In each sub-folder, the functions are grouped by topics into single mojo files. For example, in /mathematics folder, the following files will be created (as classified by numpy on this page):

trig.mojo (Trigonometric functions)
hyperbolic.mojo (Hyperbolic functions)
rounding.mojo (Rounding)
sum_prod_diff.mojo (Sums, products, differences)
exp_log.mojo (Exponents and logarithms)
other.mojo (other special functions)
arithmetic.mojo (Arithmetic operations)
...

In each file, the functions are sorted alphabetically.
The __init__.mojo files of parent folders import functions from its child modules explicitly, but not import *, avoiding polluting the naming space.

How do you think of this proposal?

I think this should help organise the library, I agree that it is a bit confusing right now. The only minor suggestion is to make it \math instead of \mathematics, just naming conventions.

I think this should help organise the library, I agree that it is a bit confusing right now.
I will complete this task in 3 days.

The only minor suggestion is to make it \math instead of \mathematics, just naming conventions.
There are two reasons I prefer mathematics over math: (1) this mathematics folder is only for organizing code and is not exposed to users, e.g., we will from .mathematics import *. (2) To avoid conflicting with the builtin math module.

Anyhow, for the moment I will call it math until there are indeed some conflicts.

I would consider logarithms and exponents to be arithmetic, just not elementary arithmetic, as exponents are definitely arithmetic and logarithms are their inverse operations.
Structurally the arithmetic submodule of the math module should contain all functions that are arithmetic math, however if there are going to be too many functions (there are so many types of logarithmic and exponential functions) then we can spit it into two submodules instead.
Overall the balance we have to make is between manageably sized modules and a reasonable number of submodules.

I would consider logarithms and exponents to be arithmetic, just not elementary arithmetic, as exponents are definitely arithmetic and logarithms are their inverse operations.

numpy put all these functions on "mathematical functions" page.

logarithms, exponents go to section "Exponents and logarithms" and there are 9 functions in total.
add, sub, etc, go to the section "arithmetic operations" and there are 17 functions in total.

Structurally the arithmetic submodule of the math module should contain all functions that are arithmetic math, however if there are going to be too many functions (there are so many types of logarithmic and exponential functions) then we can spit it into two submodules instead.

There are currently 26 explicit functions in numpy for arithmetic operations, logarithmic, and exponential functions.
If we count in to private and auxiliary functions, this number might be higher.
So maybe a split is better.

Overall the balance we have to make is between manageably sized modules and a reasonable number of submodules.

Yes. We can always split in future if a module is too big.


[Bug]: The SMTP request fails  with time out error when user is connected to port no 25 and 465

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The SMTP request fails  with time out error when the user is connected to ports no 25 and 465

Steps To Reproduce

go to SMTP Datasource
Configure the Port no with 25 or 465
Now create a new query
Add all the required details in query
Run the query
The timeout error message is displayed

Environment
Release
Version
Cloud

smtp usage: 30
of these, most commonly used port is 25.

Stats

Stat
Values

Reach
24

Effort (months)
0.25


[1.4.7] [Mod Support] OptiFine/OptiFabric

Minecraft version: 1.4.7
Fabricated-Forge version: 2.7.2
Fabric Loader version: 0.16.7
Java version: 1.8.0_422
Mod name: OptiFine / Legacy OptiFabric
Mod download link (needed for testing): https://modrinth.com/mod/legacy-optifabric, https://optifine.net/adloadx?f=OptiFine_1.4.6_HD_U_D5.zip
Description of the bug: OptiFine + OptiFabric by itself works fine, same as FLF + Mod Remapping API. But those 4 together cause the game to hang on the Mojang screen and eventually crash.
If crash, link to pastbin of the crash report: https://mclo.gs/VRUv668

Fixed in 2.7.5. Use with OptiFabric 2.3.4+ when it is released.


Log Group Has Not Been Created

Not sure what to make of this one.
$ kappa MyEvent.yaml tail
tailing logs...
    log group /aws/lambda/MyEvent has not been created yet
...done

Shouldn't this have been done during the create step?
I have other Lambda functions for this bucket that work fine. I can also execute this event in the console just fine and I see the log there.
What's going on here?

It is Lambda itself that creates the logging group.  You should check your execute role to make sure that it has the necessary CloudWatch Logs permissions to actually create the log group.


[FEATURE]: Adding footer

Description
I'm in GSSoC'23

I would like to create a footer component and remove the bottom section from the sidebar and add it to the footer.

Additional information
No response

Description
I'm in GSSoC'23

I would like to create a footer component and remove the bottom section from the sidebar and add it to the footer.

Additional information
No response

Hi @anamika7153 there already exists a footer component located in sidebar folder. It's used as a component only in sidebar. Can you please check again?

Description
I'm in GSSoC'23

I would like to create a footer component and remove the bottom section from the sidebar and add it to the footer.

Additional information
No response

Hi @anamika7153 there already exists a footer component located in sidebar folder. It's used as a component only in sidebar. Can you please check again?

Yes, it does, I didn't see. I thought of separating it from the sidebar and add it to bottom.

Description
I'm in GSSoC'23

I would like to create a footer component and remove the bottom section from the sidebar and add it to the footer.

Additional information
No response

Hi @anamika7153 there already exists a footer component located in sidebar folder. It's used as a component only in sidebar. Can you please check again?

Yes, it does, I didn't see. I thought of separating it from the sidebar and add it to bottom.

ohh, it's alright! I'm closing this as not required. :)


Assessing the Potential of the Flutter Casual Games Toolkit

try the following tutorials

[ ] Klondyke
[ ] flutter-flame-brick-breaker

I think integrating flame and using flame is a good idea.


Help with setting up docker-crashplan-pro on a synology NAS

Let me start off by saying, thank you so much for developing this project!  I've been trying to figure out how to use it for some time now and I'm stuck.  Here's my process.
Launch Docker via the Synology DSM
Download your image
Setup the image - Enable auto restart, add the volume I eventually want to upload to crashplan, give said volume the path of /data, leave port settings as is (5800 and 5900), create the container and start it
Container seems to launch fine, no errors or restarts
I type in my synology NAS's local IP with the port 5800 (http://<IP_ADDRESS>:5800), page cannot be found.
I know I'm missing some steps here, I just don't know what.  I've read another guide and the person in that edited a YML config file, but I can't even find where this is being created.
Any thoughts as to where I'm going wrong here?  Thank you so much for your help! -
Mikey

I put together a step-by-step guide for the Synology a couple of years ago:
https://github.com/jlesage/docker-crashplan-pro/issues/34#issuecomment-354888938
The steps are pretty much still applicable.
You can ignore the references to "Patter's CrashPlan" stuff if you're starting fresh and not migrating from that.

@excalibr18 omg, this is great!  I'll follow the guide and report back.  Thank you soooooo much!

Also, I think that if you don't explicitly map a port to 5800, a random one is used.  So you need to use the selected port when connecting to the UI.

On your Synology, open up your container's settings. Then go to Port Settings, and map 5800 under Local Port to 5800 for Container Port.  It's Auto by default if you didn't set it originally and that is just any random port when it runs.

Thank you all for your help, that guide was really great!  I finally am able to get to the crashplan splash page for the first time.  I've been coming back to this every few months and banging my head against a wall, should of asked for help a long time ago.  Ya'll are awesome, thanks again!

excalibr18 - THANK YOU! I have literally been down for months and was just about to give up and cancel the CP sub for my NAS. The process started and I can see CP "backing up" my files again. I'm assuming it's not really transferring the files because I chose to skip downloading them during the adoption? I guess it's comparing them to the cloud to look for changes, is that right? In any case, I have about four days to go because of the large amount of data (4tb.)

This needs to be a Sticky if possible or included in the documentation. It's way too important and successful to leave buried in the forum!