Memory leak in video stream.

Hi,  Below is the code that can reproduce memory leak. I am running it in a scheduler. Please guide me how i can release the memory, or any guidance why the memory is increasing.
import cv2
import os
from imutils.video import VideoStream
from time import time, sleep
from flask import Flask
from flask_cors import CORS, cross_origin
from apscheduler.schedulers.background import BackgroundScheduler
import psutil
import gc

camera_url = "rtsp://admin:admin@<IP_ADDRESS>:554/cam/realmonitor?channel=1&subtype=0"

t_start = time()
vs = VideoStream(camera_url).start()
print("time taken to access camera : " + str(time() - t_start))

def read_and_check_memory ():
	global vs
	process = psutil.Process(os.getpid())

	print("memory used before grabbing  : " + str(process.memory_info().rss))
	frame = vs.read()
	print("memory used after grabbing  : " + str(process.memory_info().rss))
	gc.collect()
app = Flask(__name__)
CORS(app)

if __name__ == "__main__":
	scheduler = BackgroundScheduler()  # Starting a scheduler to schedule the algorithm
	scheduler_job1 = scheduler.add_job(func=read_and_check_memory, trigger="interval",
									   seconds=10)
	if scheduler.state != "STATE_RUNNING":
		scheduler.start()
	app.run(port=33333)

Output :
memory used before grabbing  : 57921536
memory used after grabbing  : 57921536
memory used before grabbing  : 57942016
memory used after grabbing  : 57942016
memory used before grabbing  : 57933824
memory used after grabbing  : 57933824
memory used before grabbing  : 57958400
memory used after grabbing  : 57958400
memory used before grabbing  : 57982976
memory used after grabbing  : 57982976
memory used before grabbing  : 58003456
memory used after grabbing  : 58003456
memory used before grabbing  : 58028032
memory used after grabbing  : 58032128
memory used before grabbing  : 58048512
memory used after grabbing  : 58048512
memory used before grabbing  : 58073088
memory used after grabbing  : 58073088
memory used before grabbing  : 58093568
memory used after grabbing  : 58093568
memory used before grabbing  : 58101760
memory used after grabbing  : 58101760
memory used before grabbing  : 58105856
memory used after grabbing  : 58105856
memory used before grabbing  : 58109952
memory used after grabbing  : 58109952
memory used before grabbing  : 58109952
memory used after grabbing  : 58109952
memory used before grabbing  : 58109952
memory used after grabbing  : 58109952
memory used before grabbing  : 58114048
memory used after grabbing  : 58114048
memory used before grabbing  : 58118144
memory used after grabbing  : 58118144
memory used before grabbing  : 58118144
memory used after grabbing  : 58118144
memory used before grabbing  : 58122240
memory used after grabbing  : 58122240
memory used before grabbing  : 58126336
memory used after grabbing  : 58126336
memory used before grabbing  : 58134528
memory used after grabbing  : 58134528
memory used before grabbing  : 58134528
memory used after grabbing  : 58134528
memory used before grabbing  : 58118144
memory used after grabbing  : 58118144
memory used before grabbing  : 58134528
memory used after grabbing  : 58134528
memory used before grabbing  : 58134528
memory used after grabbing  : 58134528
memory used before grabbing  : 58134528
memory used after grabbing  : 58134528
memory used before grabbing  : 58134528
memory used after grabbing  : 58134528
memory used before grabbing  : 58150912
memory used after grabbing  : 58150912
memory used before grabbing  : 58150912
memory used after grabbing  : 58150912
memory used before grabbing  : 58150912
memory used after grabbing  : 58150912
memory used before grabbing  : 58150912
memory used after grabbing  : 58150912
memory used before grabbing  : 58150912
memory used after grabbing  : 58150912
memory used before grabbing  : 58150912
memory used after grabbing  : 58150912
memory used before grabbing  : 58191872
memory used after grabbing  : 58191872
memory used before grabbing  : 58191872
memory used after grabbing  : 58191872
memory used before grabbing  : 58191872
memory used after grabbing  : 58191872
memory used before grabbing  : 58191872
memory used after grabbing  : 58191872
memory used before grabbing  : 58191872
memory used after grabbing  : 58191872
memory used before grabbing  : 58191872
memory used after grabbing  : 58191872
memory used before grabbing  : 58191872
memory used after grabbing  : 58191872
memory used before grabbing  : 58191872
memory used after grabbing  : 58191872
memory used before grabbing  : 58191872
memory used after grabbing  : 58191872
memory used before grabbing  : 58191872
memory used after grabbing  : 58191872
memory used before grabbing  : 58195968
memory used after grabbing  : 58195968
memory used before grabbing  : 58195968
memory used after grabbing  : 58195968
memory used before grabbing  : 58195968
memory used after grabbing  : 58195968
memory used before grabbing  : 58195968
memory used after grabbing  : 58195968
memory used before grabbing  : 58195968
memory used after grabbing  : 58195968
memory used before grabbing  : 58195968
memory used after grabbing  : 58195968
memory used before grabbing  : 58195968
memory used after grabbing  : 58195968
memory used before grabbing  : 58195968
memory used after grabbing  : 58195968
memory used before grabbing  : 58195968
memory used after grabbing  : 58195968
memory used before grabbing  : 58195968
memory used after grabbing  : 58195968
memory used before grabbing  : 58200064
memory used after grabbing  : 58200064
Please take a look, I am trying to access multiple cameras the above output is of one camera.
So in a multi camera flow, this is creating a huge memory leak.

I would suggest using Python's debugger, pdb, to debug that further. Additionally, this doesn't sound like an issue with the VideoStream class itself -- it could be a problem with OpenCV's cv2.VideoCapture function. If you search OpenCV's open Issues you'll find a number of references to memory leaks. That could be what is happening there. I suggest you post on the OpenCV GitHub after utilizing pdb. I'm going to close this for now but feel free to reopen if you find anything else you would like to share/anything else pops up showing that is indeed an issue related to VideoStream.


Make patrol update also update the patrol package in pubspec

Description
When the developer runs patrol update and a pubspec.yaml file exists in the current working directory or above, we should also run flutter pub upgrade patrol. This will bring many more users to the latest version, and in turn, lower the number of issues resulting from using outdated versions of patrol.
Also, add a flag --[no-]pub-upgrade, to let users opt out of this behavior.
Related issue:

#743

Done in #1173 and #1175


Reva data model usage

In the proxy, we're minting the account uuid into the x-access-token:
https://github.com/owncloud/ocis-proxy/blob/ea254d6036592cf9469d757d1295e0c4309d1e63/pkg/middleware/account_uuid.go#L107
https://github.com/owncloud/ocis-proxy/blob/ea254d6036592cf9469d757d1295e0c4309d1e63/pkg/middleware/account_uuid.go#L120
We now have a middleware in ocis-pkg that dismantles the x-access-token from the request header, extracts the account uuid and puts it into the context. With that we're somewhat tying our data model to Reva internally.
https://github.com/owncloud/ocis-pkg/blob/3242d532fda09ec6336e35b7fa09698752f34077/middleware/account.go#L49
This issue serves as a reminder, if we want to change this in the future.

@kulmann this is an old issue that was transferred from the archived ocis-pkg repo a few weeks ago.
Please close if no longer relevant.


add teensy demo example

@RobTillaart
Refer to #53
I would like to create a pull request to add demo example teensy.
Thanks

@SquadQuiz
Can you tell me what is specific teensy in the example?
It looks just like a copy of AS5600_demo.ino and if so it adds no value for the users.

@RobTillaart
Please accept my apologies that I',m overlooking on AS5600_demo.ino sketch.
So no need to add this sketch to your repo.

No need to apologize, such things can happen.
Anyway thanks for the intention and your effort!


feat: 🎸 add input instruction prop to the component

👋 Thanks for creating a pull request! 🚀 Checkout the storybooks we've created for it: chlorophyllangular


[SMALLFIX] Deflake Concurrent Ttl Test

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15276/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/15287/
Test PASSed.


RTX 3090 out of memory

Hi, i am running out of memory:
Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 732.00 MiB (GPU 0; 24.00 GiB total capacity; 20.62 GiB already allocated; 0 bytes free; 22.68 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.

yes, i missed this. Thank you


Render

Codecov Report

Merging #237 into release/0.1 will increase coverage by 3.75%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           release/0.1     #237      +/-   ##
===============================================
+ Coverage        64.08%   67.84%   +3.75%
===============================================
  Files              200      200
  Lines            10666    10666
===============================================
+ Hits              6835     7236     +401
+ Misses            3831     3430     -401

Impacted Files
Coverage Δ

...er/tests/switch_stream/mediaPlayerSwitchStream.cpp
0.00% <0.00%> (-100.00%)
:arrow_down:

framework/demuxer/play_list/HLSManager.cpp
50.99% <0.00%> (-21.92%)
:arrow_down:

mediaPlayer/media_packet_queue.cpp
44.00% <0.00%> (-13.61%)
:arrow_down:

...xer/play_list/segment_decrypt/AES_128Decrypter.cpp
82.22% <0.00%> (-13.34%)
:arrow_down:

mediaPlayer/tests/player_command.cpp
85.71% <0.00%> (-10.72%)
:arrow_down:

framework/demuxer/play_list/playList_demuxer.cpp
75.32% <0.00%> (-5.20%)
:arrow_down:

mediaPlayer/player_msg_control.cpp
81.14% <0.00%> (-4.92%)
:arrow_down:

framework/demuxer/play_list/HLSStream.cpp
65.78% <0.00%> (-4.77%)
:arrow_down:

mediaPlayer/abr/AbrManager.cpp
90.47% <0.00%> (-4.77%)
:arrow_down:

mediaPlayer/SuperMediaPlayer.cpp
68.74% <0.00%> (-4.30%)
:arrow_down:

... and 39 more

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 2b9016d...958e9a0. Read the comment docs.


Epic: Support Program Requirements

We already have some initial support for programs in the form of a Program and ProgramEnrollment and want to expand on that to support ecommerce specifically for MicroMasters programs more thoroughly.

[x] A Program should be able to specify required Courses
[x] A Program should be able to specify elective Courses
[x] Program progress / completion tracking
[x] Program Certificates

Far Future

[ ] A Course should be able to specify prerequisite Courses

I checked all the boxes except for the "far future" one.


Visual Studio Code Error

Visual Studio Code is giving us the following error message,
“Error: An error occurred while sending the request.
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
The remote certificate is invalid according to the validation procedure.”
This coincided with our encryption expiring. Since then we have successfully re-encrypted but are still getting the error.
The launch.json (part of it) it's using is this:
"name": "Your own server",
"server": "https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fbc15exttester.eastus2.cloudapp.azure.com&data=02%7C01%7Crweigel%40microsoft.com%7C22ec9f7c4780422aad9508d7abe3dacb%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637166867878551616&sdata=lEpCn7T%2BpwHzccuckOApuQNfgWWwu4Xti3iuuvvsQfY%3D&reserved=0",
"serverInstance": "BC",
"authentication": "UserPassword",

That is definitely not the right server url.
It looks like you have rightclicked a link in outlook and selected copy link.
looking at the url - it probably should be https://bc15exttester.eastus2.cloudapp.azure.com

Yes that must be what I did, https://bc15exttester.eastus2.cloudapp.azure.com is the url being used. Error is still occurring.

and where did you get the url from?
How did you create it?
Are you sure that it is correct?
there doesn´t seem to be a server on that url?

We got that url from the landing page that pops up when logging into the vm.

So created through aka.ms/getbc - with letsencrypt, right?
I cannot connect to the URL?
Do you get the same error now?
what is the full launch.json?

Pls guys, could you help me fix this issue?

aka.ms/getbcext - image tag used: mcr.microsoft.com/businesscentral/sandbox:us
We are still getting the same error, full launch.json is attached

When you are saying you are still getting the same error - are you really getting this???
“Error: An error occurred while sending the request.
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
The remote certificate is invalid according to the validation procedure.”

Yes, attached is a screenshot.

Was this machine created today - or is this the same machine you had earlier, where you renewed the certificate?
If this is the old machine, something apparently went wrong during cert. renewal.
You can connect to the VM, start ISE and run Replace-NavServerContainer - or (if that doesn't work) you can remove the VM and recreate it.

This is an old machine that we needed to do a cert renewal for. I will try those options. thanks.

Thanks @freddydk running the replace-navservercontainer fixed this issue!


Error [ERR_REQUIRE_ESM]: Must use import to load ES Module

Initial checklist

[x] I read the support docs
[x] I read the contributing guide
[x] I agree to follow the code of conduct
[x] I searched issues and couldn’t find anything (or linked relevant results below)

Affected packages and versions: latest
Steps to reproduce
Install in Node 10 environment (I haven't tested on other node versions). Receive the following error:

Link to code example: https://github.com/googleapis/release-please/pull/870/checks?check_run_id=2390814891
Expected behavior
Library compiles.

I believe the goal is perhaps a dual-mode module (that would work for ESM and CJS?). This might just take some fiddling with extensions and export maps.
Here's what we landed on for yargs:
https://github.com/yargs/yargs/blob/master/package.json#L5
It's ugly but works on most Node versions.
Actual behavior
Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: /home/runner/work/release-please/release-please/node_modules/unist-util-visit/index.js
require() of ES modules is not supported.
require() of /home/runner/work/release-please/release-please/node_modules/unist-util-visit/index.js from /home/runner/work/release-please/release-please/build/src/util/to-conventional-changelog-format.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename index.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from /home/runner/work/release-please/release-please/node_modules/unist-util-visit/package.json.

The goal is to go full ESM https://github.com/unifiedjs/unified/issues/121
The reasons are similar to https://blog.sindresorhus.com/get-ready-for-esm-aa53530b3f77, and there are some related discussions and workarounds for build tools at https://github.com/sindresorhus/meta/discussions/15

Oooh, the first issue where Beep Boop our bot is kicking in!

Yeah. The plan is to go with full ESM. In 8 days ESM is supported properly in all maintained Node release lines. And ESM works really well! ✨

I don’t see this happening. For now, it’s possible to stay a release behind for a bit ’till you’re ready. But I expect (and hope) more folks will switch, making ESM more normal, and making supporting Node 10 less normal.

I'm using unist-util-visit from my next.config.js, which must be a .js file (.mjs isn't picked up), and I can't mark then package with type:module (because next.js uses require() to load the config file).
It's unfortunate to drop support for cjs, especially because it's relatively easy to support for pure modules (that contain just functions / consts and no global state), using the package.json import maps…

see the linked posts for more on this discussion and Next
my experience maintaining dual esm/cjs is that there are tons of problems
feel free to use the previous version while you or your tools are not ready

you can use version 2.0.1 instead

FYI I came across this issue and wherever the workaround it posted, I wasn't able to find it right away. This is how I'm handling it.
I'm building a library using rollup. The solution I came up with was to transpile these libraries into the CJS version for backwards compatibility, but not the ESM version. This will obviously only work for modules which don't have state. React and the DOM will be your enemy, so hopefully they don't ditch CJS anytime soon. I have a feeling this workaround is somewhere in the various further reading here. You would do the same thing if you were targeting CJS in your browser or whatever -- just transpile the ESM to CJS via rollup or webpack.
const esmExternal = (source: string) =>
  !source.startsWith('.') && !path.isAbsolute(source);

// we pack ESM-only packages for CJS users, just to be nice.
const esmOnlyPackages = [/unist/];

const cjsExternal = (source: string) =>
  esmExternal(source) &&
  !esmOnlyPackages.find((esmOnlyPackage) => esmOnlyPackage.test(source));

const sharedConfig = {
  input: 'whatever.ts',
  plugins: [ allThePlugins() ],
}

export default [
  {
    ...sharedConfig,
    external: esmExternal,
    output: [
      {
        file: pkg.module,
        format: 'es',
      },
    ],
  },
  {
    ...sharedConfig,
    external: cjsExternal,
    output: [
      {
        file: pkg.main,
        format: 'cjs',
      },
    ],
  },
];

Rollup is a bundler made for ESM. I don’t see why workarounds are needed to support ESM?

Rollup is a bundler made for ESM. I don’t see why workarounds are needed to support ESM?

Workaround isn't needed to support ESM, it's used to support CJS consumers of a library built with rollup (assuming they still exist out there in the world). I ran into this issue with an older Gatsby version that is otherwise working for now, for example.
Without this workaround, the cjs bundle will attempt to require the esm module upstream and receive this error.

unfortunately my organization requires CJS because of Jest so this is causing an issue even on version 5

I recommend switching to Vitest. We stand by our choice to drop CJS support. Slowly but steadily more of the JavaScript ecosystem is adapting ESM.

Sorry to hear that @ApplyBoardDak
The top recommendation: Migrate to vitest instead of jest, it is faster and fully supports ESM.
Otherwise try the workarounds described earlier in the thread.
I'm locking this thread, as it has been resolved, and isn't an issue in unist-util-visit but in an external tool.
Folks with questions on how to leverage ESM feel free to open a discussion forum post. https://github.com/orgs/syntax-tree/discussions/new?category=q-a


Make downloads concurrent

Is there a way I could download the files concurrently to speed up the process ?

Done via goroutines


feat: epoch cache, do not attest if not in committee or from current proposer

Please read contributing guidelines and remove this line.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#10327  👈 (View in Graphite)
#10326
master

This stack of pull requests is managed by Graphite. Learn more about stacking.


Not Compatible with Laravel-admin 1.8.*

I got error while trying to install api-tester on Laravel-admin 1.8.*
Problem 1     - Installation request for laravel/framework (locked at v6.18.26, required as ^6.2) -> satisfiable by laravel/framework[v6.18.26].     - Installation request for laravel-admin-ext/api-tester ^1.0 -> satisfiable by laravel-admin-ext/api-tester[v1.0, v1.0.1, v1.0.2].     - Can only install one of: encore/laravel-admin[1.5.x-dev, v1.8.1].     - Can only install one of: encore/laravel-admin[v1.8.1, 1.5.x-dev].     - Can only install one of: encore/laravel-admin[1.5.x-dev, v1.8.1].     - Conclusion: install encore/laravel-admin 1.5.x-dev     - Installation request for encore/laravel-admin 1.8.1 -> satisfiable by encore/laravel-admin[v1.8.1].

Install version v1.0.4


expose md5 for file(s) to gdscript

Looks a little bit dirty.
When the file is open you still have to pass the path. I can't find any variable that is saving the path of the currently open file.
Current version.
var f = File.new()
var md5 = f.get_md5("/path/to/file")

Alternatives:
1.Bad because you always have to open the file first.
var f = File.new()
f.open("/path/to/file")
var md5 = f.get_md5()

2.Maybe the static way is the best?
var md5 = File.get_md5("/path/to/file")

#3820

IMO the static way would be the best solution. Someone also mentioned File.file_exists( String path ) that can't be used statically apparently, it needs to be applied from an instanced File object.

The next question would be how do I make it static?


MultiSelect with allow-empty=false losses its focus when pressing Backspace

Step to reproduce the issue:

Create a MultiSelect with  allow-empty=false
User searching something on MultiSelect
User delete all query string
User press backspace after the query string is empty
The focus will be lost!

You  can reproduce same problem on the following demo
https://monterail.github.io/vue-multiselect/#sub-custom-configuration

facing same issue
any solution for this?

Same problem

I have the same issue. Hope someone fixes it!


Problem to use the extension in qlik sense

Hello,
i'm trying to use the extension in QlikSense, i import it in Qlik Sense, i can see it in my panel of extensions. but when i drag and drop the extension into the sheet, i have a message that ask me that i have to select node. like this

i don't understand where i have to défine the nodes etc...
thanks for your attention

Hello,
This extension needs to have the parameters specified directly in the extension's properties on the right side of your screen. Drag'n'drop is not available at this time. Sorry for the inconvenience. Who knows in a future one, the tutorial can coexist with the drag'n'drop :)


[Bug]: Mail sent from Business Central have a high likelihood of getting marked as spam.

Describe the issue
When sending email from business Central with shared mailbox or current users the mail frequently gets marked as spam. When the same user that just sent an email from Business Central (as current user) tries to send the exact same mail with body content and attachmed pdf from their outlook client it works.
In summary:

Mail from BC as current user is SPAM
Mail from Outlook client as the same user is NOT SPAM

I am willing to work with Microsoft or someone in the community to figure this out. Its hard to tell how many of our customers are experiencing issues with this because its intermittent nature. I know a minimum of 4 BC SaaS installations that reported to us about mails never reaching the reciver.
Expected behavior
We expect that both emails should arrive at the receiver without getting marked as spam. Sending an email from business central as current user should be equal to sending an email from the outlook client regarding “spammyness”.
Steps to reproduce
This is complex and intermittent between mail receivers thereby half impossible to reproduce. However I have access to one of our customers Microsoft environments as global admin and also my own Microsoft environment as global admin. When we send mails from their environment to ours, we can reproduce it. Each time the mail is sent from BC it’s marked as spam but when they send it from outlook everything works fine. In both cases its my personal work account that is the receiver. I am willing to put in the hours here to figure out the source issue together with someone who can analyze the mails more then I can.
Additional context
We have configured both our environments with SPF, DKIM & DMARC and get a perfect score of “spammyness” when testing the mail from business central with services like https://www.mail-tester.com/.
We have tried the following things without any success.

Mail without body
Mail with text body
Mail with html body
Mail without attachment
Mail with PDF attachment
Mail with different subjects

No matter what we do mails from business central are always marked as spam but when sent from outlook everything works fine.
There are others experiencing the same issue and there is a thread on the business central forum about it. Apparently a workaround is to setup mails with SMTP, I have not tried this myself.
Forum thread: Email Sent from Shared Mailbox in Business Central Marked as Spam - https://community.dynamics.com/forums/thread/details/?threadid=8abbbd5f-80d7-49b6-906c-2d88a10b3e27

That's an interesting catch! Unfortunately, this repo isn't the right place to report your issue. This very much sounds like something our support team should look into, as it isn't a direct code defect per se.
This repo only is for extensibility related issues in the upcoming release. I'd hence suggest that you open a support case or file a bug in Collaborate. To open a support case, you can:

Open a support request to CSS through the PartnerSource portal
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using. Here's a link to Collaborate: https://developer.microsoft.com/en-us/dashboard/collaborate/engagements/1173/feedback/wits/Bugs/create.
Thanks for reporting the issue.


[WIP] HAC-791: Move useK8sWatchResources hook into the Core SDK

This PR migrates the useK8sWatchResources hook over to the core SDK.
It can be tested locally using the steps described in this document.
Please see the PR https://github.com/openshift/hac-core/pull/58 for how this can be tested using HAC Core's testK8s page.  We're currently investigating why the "data" field is returned empty.

/retest

Note: This PR includes a change that reverts an update from this commit - https://github.com/openshift/console/commit/8b673199efe928a95a9fd21bfa47c0243c424972#diff-1347c512bf8e06590508b192459dfc8e04ce7a930fa955e986a3e266895d0ad7R41 that was part of the changes for fixing a bug https://bugzilla.redhat.com/show_bug.cgi?id=2027311 for watching core resources in the console.
The issue is that based on the commit linked above, when getK8sModel is called it looks for a model in the key path RESOURCES -> models , and the input param that we're giving it in the form of k8s is not SDKStoreState.k8s, we're instead passing the models already extracted from k8s -> RESOURCES -> models  (allK8sModels and prevK8sModels)  to this function as the value of input param k8s. Since models are already extracted from k8s , the getK8sModel function is unable to find the model using that original keypath. As a result the hook is unable to fetch data for the resource.
As discussed with @florkbr, we will need a follow-up work item to make sure this change doesn't cause any discrepancy in the console when the console is updated to use the core SDK.

There are a few issues I'd like us to follow up on, however I don't feel they are blocking this PR.

/lgtm

/approve


Allow image as input

Description
Add possibility to have image as input
Fixes #113
Type of change

New feature (non-breaking change which adds functionality)

Checklist:

[x] I have read the contributing guidelines
[x] I have updated the HISTORY.rst and AUTHORS.rst files
[x] Linting passes successfully : make lint
[x] Typing passes successfully : make type-check
[x] Unit tests pass successfully : make tests
[x] Coverage is 100% : make coverage
[x] Documentation builds successfully : make doc

Codecov Report

Merging #114 (43cf05b) into master (74ce283) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            master      #114    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files           16        16
  Lines         1110      1434   +324
  Branches        86       126    +40
==========================================
+ Hits          1110      1434   +324

Impacted Files
Coverage Δ

mapie/classification.py
100.00% <100.00%> (ø)

mapie/tests/test_classification.py
100.00% <100.00%> (ø)

mapie/utils.py
100.00% <100.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 74ce283...43cf05b. Read the comment docs.


Goreleaser

Coverage remained the same at 80.798% when pulling b9bccc4256fb4551a6ded6870a6b054188e83eaa on goreleaser into eaa24305839b032203b88deae0eadf35a09f9063 on master.


building fails

if i build this, it says it cannot use the key as its password protected
if i replace the key and build, it says it cannot use newtonsoft.json

Hello there,
I will take a look tonight. So far could you try doing this Issue 9.

Does it worked?

I have having the same issue.   Issue 9 is not working for me.

So, @brad7100  is your issue related to NewtonSoft.Json or the key meanwhile build the project?.
Could you please upload a print screen?

I was able to get it to work by setting the signassembly to false.  Thank you for responding though.

On Oct 9, 2019, at 9:00 AM, Geraldo Diaz<EMAIL_ADDRESS>wrote:

So, @brad7100 is your issue related to NewtonSoft.Json or the key meanwhile build the project?.
Could you please upload a print screen?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

This works great and I am using it for several api's.  I am having an issue getting it to work with one api thats using the following syntax<EMAIL_ADDRESS>   This api works and will get me a response every time outside of sql but when I use it with apicaller, I get '401 Please Authentiate error.'   I can even hit ctrl+click on the url in SSMS and get the results to pop up on another tab so I know have the url correct..   What am I doing wrong?

@brad7100 what procedure are you using for this request?. Does this URL require authentication?

I’m using Apicaller_Get and the username and password are passed in the url so no authentication.

On Oct 15, 2019, at 8:46 AM, Geraldo Diaz<EMAIL_ADDRESS>wrote:

@brad7100 what procedure are you using for this request?. Does this URL require authentication?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Are you concatenating the username and password to the URL or just sending those values directly in the<EMAIL_ADDRESS>

I’m sending the values directly.

On Oct 15, 2019, at 9:21 AM, Geraldo Diaz<EMAIL_ADDRESS>wrote:

Are you concatenating the username and password to the URL or just sending those values directly in the<EMAIL_ADDRESS>—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Could you please try using the one below?
DECLARE @Credentials AS VARCHAR(MAX)

  SET @Credentials = CONCAT('Basic ','user:pass')

  EXEC [dbo].[APICaller_GETAuth]
        'http://localhost:5000/api/values'
     ,   @Credentials

Same error 401 Please Authenticate
If it would help the api is https://rest.click2mail.com/molpro/projects
Again I don’t have any issues calling this api using the web directly.

On Oct 15, 2019, at 10:27 AM, Geraldo Diaz<EMAIL_ADDRESS>wrote:

Could you please try using the one below?
DECLARE @Credentials AS VARCHAR(MAX)
SET @Credentials = CONCAT('Basic ','user:pass')
EXEC [dbo].[APICaller_GETAuth]
'http://localhost:5000/api/values'
,   @Credentials
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I figured out why it was failing. Just uploaded a new version that included an utility function that would help to make this API call. It was failing due the credectial was being expected as an array of bytes by this API.
You would need to redeploy the CLR and create that new function.
Try the code below and tell me how it goes. It worked for me.
DECLARE @byteArray AS NVARCHAR(MAX)

SELECT @byteArray = [dbo].fn_GetBytes('user:password')

DECLARE @Credentials AS VARCHAR(MAX)

SET @Credentials = CONCAT('Basic ',@byteArray)

  EXEC [dbo].[APICaller_GETAuth]
        'https://rest.click2mail.com/molpro/projects'
     ,   @Credentials

Thank you so much. I’ll give this a try later this morning.

On Oct 15, 2019, at 11:53 PM, Geraldo Diaz<EMAIL_ADDRESS>wrote:

I figured out why it was failing. Just uploaded a new version that included an utility function that would help to make this API call. It was failing due the credectial was being expected as an array of bytes by this API.
You would need to redeploy the CLR and create that new function.
Try the code below and tell me how it goes. It worked for me.
DECLARE @byteArray AS NVARCHAR(MAX)
SELECT @byteArray = [dbo].fn_GetBytes('user:password')
DECLARE @Credentials AS VARCHAR(MAX)
SET @Credentials = CONCAT('Basic ',@byteArray)
EXEC [dbo].[APICaller_GETAuth]
'https://rest.click2mail.com/molpro/projects'
,   @Credentials
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Worked great.    Thank you again.


added gnuplot 5.2.2

:tada:

closing in favor of https://github.com/conda-forge/gnuplot-feedstock/pull/12


Bug: MP gets checked back in when Evaluation is in Progress

Issue:
When a user Evaluates a record, evaluation is in progress, the system checks back a checked out MP automatically
Steps to Recreate:

Login to ECMPS
Access any of the Module (MP, QA), select and checkout a Configuration (Gadsden, 1,2, CS0AAN)
Now navigate to the Evaluate functionality and access the same Facility and Configuration you checked out earlier  (Gadsden, 1,2, CS0AAN)
Select data records to be evaluated and click Evaluate
Now navigate back to the module and Configuration tab that you checked out earlier
Notice that the record has been checked back in with out the user involvement

Bug fixed


Roll out synchronisation for mitmproxy tests

This extends some of the work I did for pathod and netlib to the mitmproxy test
suite. It also fixes what may be a leak in replays.
Failing on connection leak is disabled on Windows for the moment.
Fixes #1535

Current coverage is 80.68% (diff: 60.00%)

Merging #1545 into master will increase coverage by 0.02%

@@             master      #1545   diff @@
==========================================
  Files           141        141
  Lines         12291      12294     +3
  Methods           0          0
  Messages          0          0
  Branches       2019       2020     +1
==========================================
+ Hits           9915       9920     +5
+ Misses         2089       2088     -1
+ Partials        287        286     -1

Powered by Codecov. Last update 9c54432...4ff8a72


[feat] Add grid drag-and-drop support

Describe the feature
Currently, we're handing drag positioning for flex or block only. We need to handle grid.
Here is where we're handling the drag logic. The stub is the gray box that represents the future drop position. We need to calculate the correct position for the stub element in order to implement drag.
I think this is a well-scoped problem (though difficult) so would be good for first-time contributor
https://github.com/onlook-dev/onlook/blob/d00ac57a865e853dfa8dabc7f13f3ab05675bd24/app/electron/preload/webview/elements/move/stub.ts#L20

hey @Kitenite assign me this issue under the label

Go for it @Ashutoshdas-dev

Hey @Ashutoshdas-dev how's it going so far? Need any help?

Hey @drfarrell , sorry for the delay. I literally forgot about it due to some university work. I'm currently working on it now and will let you know if I get stuck.

Closing because this was solved with #649


Missing model prop in schemas validations

Please add model: Joi.string() in the both contracts:
https://github.com/appcelerator/appc-connector-utils/blob/master/lib/schema/contract.js#L29
https://github.com/appcelerator/appc-connector-utils/blob/master/lib/model/contract.js#L3

Fixed with https://github.com/appcelerator/appc-connector-utils/commit/41567a9d90a571965d81ddad161566d8d107a91f


No lasers

/test this

:star: PR built and available in a preview environment carlossg-croc-hunter-jenkinsx-serverless-pr-15 here

/approve


Extend aliases and add .mdoc as a supported Roff extension

This PR adds .mdoc to GitHub's list of Roff extensions, and adds several aliases to make tagging fenced code-blocks easier.
Description
The .mdoc extension was brought to my attention by github/markup#1196, and I was surprised it was missing. In-the-world usage is in the neighbourhood of 9,374 results. The sample being added here is taken from libzip, released under MIT.
In addition, I've added several commonly-used synonyms for Roff to facilitate the tagging of fenced code-blocks on GitHub. There's a good chance users might use ~~~man or ~~~groff without knowing the correct name/spelling.
I've also replaced .man with .roff as the language's primary extension. Roff doesn't have a canonical file extension, but if it did, .roff would make more sense than .man. =)
Checklist:

[X] I am associating a language with a new file extension.

[X] The new extension is used in hundreds of repositories on GitHub.com

Search results for each extension

[X] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s)
Sample license(s)

/cc @jordemort

I wonder why GitHub allows self-assignment to merged/closed pull-requests...

@RalphCorderoy Yes, but unfortunately, the .tr extension has very little usage in-the-wild; and that's a binding factor when determining which extensions we can and can't register on GitHub. =)
My point was that there isn't a canonical extension, but .man probably isn't the best compromise... 😕

See CONTRIBUTING.md. =) It pretty much explains the prerequisites; and yes, to some extent, I'm afraid it is largely down to a popularity contest, so to speak...
Think of it this way: GitHub certainly don't want to be indexing literally every single file-extension that has less than a hundred uses, and that's where they'd find themselves eventually. If every user felt their hobbyist side-project-programming-languages were eligible for registration on GitHub, think of the mess we'd find ourselves in. 😉  It'd be an endless deluge of conflicting extensions and misclassifications as the Bayesian classifier struggles to cope with 430 .gs extensions that were used about 10-30 times on GitHub.
I'm not site staff, so I don't claim to know the exact reasoning behind their prerequisites... but if I were in their shoes, I'd be doing the same thing. A line has to be drawn somewhere.

So it's a land-grab of file extension, first takes all?

To complete @Alhadis's answer, several languages can be associated to the same extension of course. Even if we associated extension .stuff only to language X in the past, language Y can be associated to .stuff at a later time. Both languages will have to meet the prerequisite @Alhadis mentioned of course.


CHANGED: Resolve Ruby Versions

It appears in PR#80 the applications RubyVersion was set for 3.2.2 in the .ruby-version  (RVM) and Dockerfile. But the ruby version was never updated in the .tool-versions (ASDF) file or the applications gemfiles. This PR tries to ensure all places where the ruby version are listed should now be in sync.

Thank you @tarellel for this PR. Indeed I forgot to update the Ruby version everywhere


How to compute recall on LFW while training process of the frontal face detector

IF YOU ARE REPORTING A BUG OR PROBLEM WITH DLIB THEN FILL OUT THE ENTIRE TEMPLATE BELOW.  ISSUES ASKING QUESTIONS ABOUT WHY SOMETHING DOESN'T WORK THAT FAIL TO FILL OUT THE ENTIRE TEMPLATE WILL BE CLOSED.
It is OK to suggest interesting improvements to dlib, even if you are not volunteering to implement them.  However, the issue tracker is not a code writing service, do not ask for someone to write code for you.  E.g. Do not ask for feature improvements to the example programs. If there is some feature improvement you want in an example program then it's up to you to write it.
Before you ask a question, check Google for a solution, the dlib FAQ, or consult the dlib documentation.  Every single function in dlib is documented in detail.  If you obviously haven't read the documentation your issue will be closed.
If you aren't reporting a bug or problem with dlib then delete this template and write whatever you want here.

Expected Behavior

Current Behavior

Steps to Reproduce

Version:
Where did you get dlib:
Platform:
Compiler:

Acoording to this documentation: https://github.com/davisking/dlib/blob/master/dlib/image_processing/frontal_face_detector.h you compute the precision while training the Sub Detectors. LFW only contains images with labeled faces. Non-face regions are not labeled. How do you get the value for true negativ (regions which are detected correctly as non-face regions) for the equation to compute the precision? Did you use an additional dataset for testing that contains images with no faces?

Use a different dataset, one that's meant for face detection.

Sorry, I meant Precison and not Recall in the headline. As a rule, the typical face detection databases only supply the labels of the faces. Non-face regions are not marked, so I do not understand how to calculate True Negatives which is necessary for the equation of precision


feat: Tall info card

Tall info card implementation:

Implementation notes:

Allow px only for image_height since % wouldn't work for flex layout and are problematic in Safari.

cc @shanaka-rajitha for design review

Reworked according to latest design in https://xd.adobe.com/view/119e73c2-d952-4760-8202-d36d3fc16016-44cd/specs/:

I'm assuming this card needs to cover both "centered_tall_info_card / Tall_img_text" and "TallInfoCard" from XD.

The  "TallInfoCard" needs icon:text ratio adjustments as mentioned in the design review Keynote. The icon foreground/background colors need adjustment as well

in dark mode, the contrast between icon background and card background is too low.
in light mode, the icon background vs card background could be improved (seems dull).

Needs to be clickable. See https://github.com/h2oai/wave/pull/1013#issuecomment-933654656
The font size and color of the category needs work (it's especially poor in light mode - seems more like a subtitle than a tag/category).

Needs to be clickable

Was already clickable, made name attr required. Also updated example.
https://user-images.githubusercontent.com/64769322/136000589-eca69b25-f359-4fdb-96c2-5510dfb6627b.mov
Waiting for design team to address the rest of the issues.

We don't know in advance what colors will a user choose so we cannot special case light theme only. The colors have to work with any reasonable theme specified. Introducing a new variable could work if based on active theme of course.

@mturoci since we don't know what color the user will choose it's not practical to have colors that will work across any theme specified. This has been the concern from the UX team from the very start, how accessibility/visibility issues will be looked into when full control is given to the user to select colors.
Can we limit the UI elements the colors apply to from the user selections, as a solution @mturoci @lo5

No. We need to make sure the colors are always in sync. If you allow changing colors for a few components only, the whole UI will be inconsistent. The only exception for now are components using success | error | warning colors, e.g. message bar or toast in future.

im sure this is going to be a mess in the future. cause we know our users, as a design team i really don't think we should let them to use their own/preferred  colors in to detail levels, GIving them a theme to choose is fine, if you know what i meant. this will lead to lot of accessibility issues, cause i dont think user have that much wisdom and experience to choose colors which will pass the accessibility / contrast levels. so again agree with @shanaka-rajitha  on this. @shihan007


NUMBA - Building wheel for numba (setup.py) ... error

When install numba package i got below error . Any help appreciated !!
Collecting numba
Using cached numba-0.51.2.tar.gz (2.1 MB)
Requirement already satisfied: llvmlite<0.35,>=0.34.0.dev0 in /usr/local/lib/python3.6/dist-packages (from numba) (0.34.0)
Requirement already satisfied: numpy>=1.15 in /usr/local/lib/python3.6/dist-packages (from numba) (1.19.1)
Requirement already satisfied: setuptools in /usr/local/lib/python3.6/dist-packages (from numba) (50.3.0)
Building wheels for collected packages: numba
Building wheel for numba (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-sthq7y87/numba/setup.py'"'"'; file='"'"'/tmp/pip-install-sthq7y87/numba/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-143d6zug
cwd: /tmp/pip-install-sthq7y87/numba/
Complete output (868 lines):
Using Intel TBB from: /usr
Using OpenMP from: True
running bdist_wheel
running build
got version from file /tmp/pip-install-sthq7y87/numba/numba/_version.py {'version': '0.51.2', 'full': '9d570961590c09a1eba748c9c37e91d1224fc9ad'}
running build_py

Thanks for the report. Please could you provide the following to help diagnose this:

Which Os you are using.
Which hardware you are using.
The full log for the reported problem (is a reason provided for the build failure?).

Many thanks.

@dhgokul is this the same issue as reported here: https://github.com/numba/llvmlite/issues/628

Closing as duplicate of numba/llvmlite#628, let's resolve this over there as it seems to involve a from-source build.


Fix visual glitch on new tab where previous tab is rendered in background

Task/Issue URL: https://app.asana.com/0/414709148257752/1201019331404849/f
Tech Design URL: -
CC:
Description:
In rare cases visual glitch may be observed while opening a new tab. In those situation last tab's content is rendered in the background of the home view's favourites collection view.
To ensure proper rendering we want to replace current clearColor and apply a proper (according to theme) backgroundColor on the Home view's HomeCollectionView.
Steps to test this PR:
Since the visual glitch is related to some race condition and hard to reproduce it can be simulated by commenting the line:
https://github.com/duckduckgo/iOS/blob/cd8e64b80f99d52e671dff7dd2762dece9608dd7/DuckDuckGo/MainViewController.swift#L888

Load a website
Open a new tab
Home screen should be visible without the previous website in the background
Verify for empty home screen and when favourites are present

Orientation Testing:

[x] Portrait
[x] Landscape

Device Testing:

[x] iPhone
[x] iPad

OS Testing:

[x] iOS 15

Theme Testing:

[x] Light theme
[x] Dark theme

Internal references:
Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM

Looks good to me :)


use PORT= in .env

It appears that hivemind 1.0.4 always sets its own value for PORT, even if PORT=1234 is present in .env.
Would it be possible for hivemind to set PORT only if PORT is not already set? Changing this would also make this compatible with foreman's behavior on this particular matter (that is, it allows PORT to be configured via .env).

Added to v1.0.5.

This issue still exists in v1.0.6. A value for PORT in .env is totally ignored.


feat: uri hash fragment

Following https://github.com/xmrit/xmrit/pull/1, this PR adds hash default with backwards compatibility for search params.
Currently, this line in the privacy policy is incorrect

This means that all data exists only in the user’s browser, and will never hit our servers.

Data passed in the query is sent to your servers. Using hash would prevent data from hitting your servers.

Query parts depend on the URI scheme and are evaluated by the server
[…]
Clients are not supposed to send URI fragments to servers when they retrieve a document.[^1]

[^1]: Wikipedia: URI Fragment

thank you @LukasMurdock, this looks great. It should close #1 as well

Thanks @LukasMurdock !

Thanks @tristanls and @LukasMurdock! <3


XML encoding for special character does not work properly

XML encoding for special character like é does not work properly. It always gets escaped as é which is valid HTML escape but not XML. This happens even after setting the mode as XML.

The code
doctype xml
summary
    éáú

produces
<?xml version="1.0" encoding="utf-8" ?>
<summary>éáú</summary>

in jade4j 1.2.0.
Thats the same as in jade 1.11. So I see no issue and I am closing this. If this is an issue of jade itself open an issue in the jadejs issue tracker.


Improvement of Dino Website UI

Improve UI of the Website
Improvement of the UI and adding prototype. I have updated the UI of the website. You had asked me to improve "Know more" section and make a new Issue.
Tools used

Figma
Canva

Cool. Just make a PR.


Add command to set the transfer proxy

hey, thanks for the PR. Sorry for the delay in getting back to you. Let me think about the transfer proxy thing for a moment, but I think it looks good.


[Site Set Up] Add a feedback survey

We need the content team to create a feedback survey for the site, so that we can link to it.
Blocked on getting the survey link / embed.

Confirmed that an embedded survey is preferred by HRD. May need to move issue to M13+

@jnowell do we have a link to the google form or do we need to create it?

Form is available here: https://docs.google.com/forms/d/e/1FAIpQLSe8Npioi4fChtWbTZUsfE23lEoeFXVn9vlCAHA9lMGWsQUAGA/viewform
Safiya would like this link to go in the footer. A 'feedback' link to the left of 'Privacy Policy' should be sufficient.


Generation quality of the nuimages-model

hello,
when I follow your codes train nuimages dataset, the clarity of image generation is very low

@zhangxiao696 Actually, I would say these demo images demonstrate quite good quality :), considering the default setting we provide is based on 256x256 resolution, which is significantly lower than the original 1600x900 real images.
I do recommend you increase the image resolution to 512x512 or even larger. What you need to do is simply modify the image resolution in the data config file and scale your learning rate linearly with you batch size. Consider adopting the gradient accumulation via the --gradient_accumulation_steps argument if necessary for your GPU resources.


remove all references to google tag manager in header

This will remove GTM code scripts
Will be using gatsby plugin google tag manager for tracking.

@gganch LGTM for MRK-13975


Add aliases to powershell for unix commands

like grep, touch and so on.
It would be best that route to CLI that work on every OS, like rust or go apps for example.

Since 86aa12c I've been using nushell, so this issue lost importance


Create dataset loader for Dengue Filipino

Dataloader name: dengue_filipino/dengue_filipino.py
DataCatalogue: http://seacrowd.github.io/seacrowd-catalogue/card.html?dengue_filipino

Dataset
dengue_filipino

Description
Benchmark dataset for low-resource multiclass classification, with 4,015 training, 500 testing, and 500 validation examples, each labeled as part of five classes. Each sample can be a part of multiple classes. Collected as tweets.

Subsets
-

Languages
fil, tgl

Tasks
Text Classification

License
Unknown (unknown)

Homepage
https://huggingface.co/datasets/dengue_filipino

HF URL
https://huggingface.co/datasets/dengue_filipino

Paper URL
https://ieeexplore.ieee.org/document/8459963

#self-assign

#self-assign


ESP8266 loses MQTT connection when setting effect or animation speed VER. 10 Apr 2017

I am using the example HA config and unmodified code (save for topics and network info)
When I set any effect besides Solid, subsequent commands do not work properly. Selecting a different color does nothing and turning the lights off causes the ESP to to set RGB to 0 several times and then lose connection to the MQTT server.
The only thing that seems to work properly is the animation speed set command.
Ironically, changing the animation speed before setting an effect causes the ESP to  loop setting RGB to the same value some 1000 times (i/e)
Setting LEDs:
r: 255, g: 255, b: 255
Loop count: 82
Setting LEDs:
r: 255, g: 255, b: 255
Loop count: 83
Setting LEDs:
r: 255, g: 255, b: 255
Loop count: 84
Setting LEDs:
r: 255, g: 255, b: 255
Loop count: 85

I got it too. The loop is in the code. But why, and for what?

Did some poking and the issue is definitely the code and not MQTT. Question now is would this happen if you had nothing connected to the MCU? I don't actually have my LEDs yet, but figured I'd prep everything else.

@LunaLens I have exactly the same situation. I will test it with LEDs in few days. But I don't think this is the problem. As far I know, LEDs don't provide any feedback? In code is loop:
 if (loopCount <= 1020)
Why 1020? I have no idea. Also,  can you check issue "Infinite "Setting LED"? Thank you.

Sorry about the issue! I am unable to replicate this on my end. Can you post the MQTT messages that are being sent on your broker from HA to your ESP and vice-versa?
If you run Mosquitto MQTT, you can use the command mosquitto_sub -d -u yourMQTTusername -P yourMQTTpassword -t "#" in the terminal window to see the messages.

@bruhautomation
Message arrived [bruh/porch/set] {"state": "ON"}
őţ?ŕ˙?i�ţ?'L @state
Message arrived [bruh/porch/set] {"state": "ON", "effect": "solid"}
solid
Setting LEDs:
r: 140, g: 147, b: 47
Message arrived [bruh/porch/set] {"transition":61}
transition
Setting LEDs:
r: 140, g: 147, b: 47
Setting LEDs:
r: 140, g: 147, b: 47
Setting LEDs:
r: 140, g: 147, b: 47
Setting LEDs:
r: 140, g: 147, b: 47
Setting LEDs:
r: 140, g: 147, b: 47
Setting LEDs:
r: 140, g: 147, b: 47
Setting LEDs:
r: 140, g: 147, b: 47
Setting LEDs:

turn on LEDS
set effect to solid
change the speed of animation

@bruhautomation
Okay, took me a bit to get back (accidentally fried my NodeMCU >.<)
This is what HA sends.
{"state": "ON"}
Client mosqsub/4345-hassbian received PUBLISH (d0, q0, r0, m0, 'lens/garage/rgb/set', ... (16 bytes))
{"transition":1}```

and this is what the NodeMCU sends back (starting with initial state)
```Client mosqsub/4344-hassbian received PUBLISH (d0, q0, r0, m0, 'lens/garage/rgb', ... (83 bytes))
{"state":"OFF","color":{"r":255,"g":255,"b":255},"brightness":255,"effect":"solid"}
Client mosqsub/4344-hassbian received PUBLISH (d0, q0, r0, m0, 'lens/garage/rgb', ... (82 bytes))
{"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":255,"effect":"solid"}
Client mosqsub/4344-hassbian received PUBLISH (d0, q0, r0, m0, 'lens/garage/rgb', ... (82 bytes))
{"state":"ON","color":{"r":255,"g":255,"b":255},"brightness":255,"effect":"solid"}```

After that the ESP loses MQTT connection and stops responding.

Oi, sorry about the fried board. You'll get a collection of those after a while.. 🥇
Sorry for my delay, I've attempted to recreate this in my setup, but I can't seem to be able to. Can you guys tell me again what is working and what isn't? It'd be great to see that what the Mosquitto output (or whatever broker you are using), too, as you describe the step that isn't working.
I know @LunaLens, you just sent that. I'm struggling to understand what you mean with the "loop is running". The MQTT dropping is odd and is likely linked to whatever garbage text is fouling the JSON commands.
I wish I could be more help, but that's pretty limited without being able to recreate the problem. 😢
Can you guys confirm the FastLED demo reel sketch is working okay? I've seen issue where hardware issues will foul the sketch and cause it to crash randomly.

@bruhautomation
Okay, to be more specific when I change the effect it appears to work fine and reports its state to HA properly, but after a while it drops the connection, reconnects and seems to set the LEDs to 0 without reporting this to HA. If I try to do anything after that it will continously print
Setting LEDs:
r: 0, g: 0, b: 0
to serial.
If I try to change the animation speed while the 'solid' effect is selected it'll go into that for loop mentioned. No matter what I do it eventually loses connection and stops trying.
There are two things that I'm going to try. First I'll use the updated .ino and second I want to try actually connecting the LEDs. Unfortunately ChinaPost doesn't seem to be enjoying my shipment and is taking its sweet time.
I can try thew new ino tomorrow, but unfortunately I can't actually connect RGB LEDs.
It'd probably best if I left this issue alone until then, hopefully not more than a week.
As for posting more info and printouts, well I've posted pretty much anything relevant to the issue, unless there's some other output I'm missing.
The loop I'm talking about was this. I think this is what's running before it starts printing garbage and losing connection
        lastLoop = now;

        redVal = calculateVal(stepR, redVal, loopCount);
        grnVal = calculateVal(stepG, grnVal, loopCount);
        bluVal = calculateVal(stepB, bluVal, loopCount);

        if (effectString == "solid") {
          setColor(redVal, grnVal, bluVal); // Write current values to LED pins
        }
        loopCount++;
      }

Okay, so I've been doing some testing on this. Can you guys remove these lines 23 and 24 from your code and tell me if that helps your stability at all?
#define FASTLED_INTERRUPT_RETRY_COUNT 0 //makes animations smoother... supposedly...
#define FASTLED_ALLOW_INTERRUPTS 0

I'm at 24 hours and no crashes yet. Sorry about taking forever to come up with something for this!

Seems like people are reporting that removing those two lines did the trick. Feel free to open another issue if you have more problems. Cheers!


LDAP Auth not working although DC says Login successful

Hi!
I have a problem with the newest docker image.
Previously we all logged in with LDAP.
Updated to the docker image from today (May 18 2022) -> cannot login with LDAP (Active Directory)
I can see the event id 4624 on my DC - successful login.
But powerdns says "User authentication failed".
I'll be happy to provide more info when needed.
Thank you!

Hello,
Can you check at docker logs if something is logged ?
Regards

[2022-05-23 09:35:01,042] [user.py:164] ERROR - {'result': -7, 'desc': 'Bad search filter', 'ctrls': []}
[2022-05-23 09:35:01,042] [user.py:339] ERROR - LDAP group lookup for user "fas" has failed. Authentication request from <IP_ADDRESS>
[2022-05-23 09:35:01,043] [index.py:546] WARNING - User fas failed to authenticate via LDAP from <IP_ADDRESS>

DC says login successful:

Before the update the search filter worked, now it does not...

Can you tell use which version of AD do you run ?

It is a Windows Server 2012R2

Sure, but I'm not exactly sure how.
BTW: When i untick the "Group Security" checkbox, the login works fine. Since we only have 3 users, it is ok for us to not use this feature.

Wrong answer, the change was merged because it is supposed to work with all platforms. The solution is to check wether it is your setup or the functionality and propose a fix.
You can check by running ldapsearch commands from a linux box:
ldapsearch -H ldaps://your.ad -D "cn=admin,dc=yourcompany,dc=local" -W "(memberOf:1.2.840.1135<IP_ADDRESS>1:=ADMIN_GROUP_DN)"
You have to change the server Address, login DN (-D) and group DN (last part of filter to CN=RES-...) with the information you filled in PDA.
Let us know if it returns results or not

Checking at the code it may not work if you are in the User group.
Are you able to log in with an account in RES-DNS-Admins ?

ldapsearch -H ldap://<IP_ADDRESS>:389 -D "CN=Adminuser,OU=users,OU=XXXXX.local,DC=XXXXX,DC=local" -W "(memberOf:1.2.840.1135<IP_ADDRESS>1:=CN=RES-DNS-Admins,OU=groups,OU=XXXXX.local,DC=XXXXX,DC=local)"
returns:
# extended LDIF
#
# LDAPv3
# base <> (default) with scope subtree
# filter: (memberOf:1.2.840.1135<IP_ADDRESS>1:=CN=RES-DNS-Admins,OU=groups,OU=XXXXX.local,DC=XXXXX,DC=local)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object
text: 0000208D: NameErr: DSID-03100217, problem 2001 (NO_OBJECT), data 0, best
 match of:
        ''

# numResponses: 1

When I enter a wrong password, I get "Invalid credentials", so it seems to accept my "-D" CN.
This is the group RES-DNS-Admins with 2 users:

Login does not work with user from any group.

When I add the base dn as you suggested, it seems to work!
# extended LDIF
#
# LDAPv3
# base <DC=XXXXX,DC=local> with scope subtree
# filter: (memberOf:1.2.840.1135<IP_ADDRESS>1:=CN=RES-DNS-Admins,OU=groups,OU=XXXXX.local,DC=XXXXX,DC=local)
# requesting: ALL
#

# Fabian Schuetze, users, XXXXX.local, XXXXX.local
dn: CN=Fabian Schuetze,OU=users,OU=XXXXX.local,DC=XXXXX,DC=local
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: Fabian Schuetze
sn: Schuetze
givenName: Fabian
distinguishedName: CN=Fabian Schuetze,OU=users,OU=XXXXX.local,DC=XXXXX,DC=loca
 l
instanceType: 4
whenCreated:<PHONE_NUMBER>4258.0Z
whenChanged:<PHONE_NUMBER>4137.0Z
displayName: Fabian Schuetze
uSNCreated: 16642
memberOf: CN=RES-DNS-Admins,OU=groups,OU=XXXXX.local,DC=XXXXX,DC=local
...a lot more groups...
uSNChanged: 15940400
name: Fabian Schuetze
objectGUID:: 9GYwapqQZkGg5tzGm3DIKA==
...a lot more attributes...

# search reference
ref: ldap://DomainDnsZones.XXXXX.local/DC=DomainDnsZones,DC=XXXXX,DC=local

# search reference
ref: ldap://ForestDnsZones.XXXXX.local/DC=ForestDnsZones,DC=XXXXX,DC=local

# search reference
ref: ldap://XXXXX.local/CN=Configuration,DC=XXXXX,DC=local

# search result
search: 2
result: 0 Success

# numResponses: 5
# numEntries: 1
# numReferences: 3

Ok this indicates that indeed your AD answers the query if it is formatted correctly.
I'll look at the code again this week, the filter is probably faulty.
Regards

That sounds great, thank you! 👍 🥇

I can confirm it is broken. The filter is not ok.

Please pull the newer version once it is published later this afternoon and confirm it is fixed.
Regards

Just pulled the new docker container, LDAP auth with group security works like a charm now!
Thank you!! 👍 🥇


Update mask.ts, NaN value correction with currency type

Overview

Test Plan

can you add some overview? e.g: how to reproduce this behavior


searches on twitter accounts

Searches on accounts using from: don't give the results i would expect. For example, in tweetinvi, the query is:
https://api.twitter.com/1.1/search/tweets.json?q=from%253Abannisterlake&result_type=recent&count=25&tweet_mode=extended
giving me 2 tweets whereas my handcoded query (not using tweetinvi) gives me 6:
https://api.twitter.com/1.1/search/tweets.json?q=-RT from%3Abannisterlake&result_type=recent&tweet_mode=extended&count=25
Could it be related to the extra escape in the tweetinvi query? %253A

Hi,
This is a bug that was reported after 4.0.
The bug has already been fixed by https://github.com/linvi/tweetinvi/pull/805.
The bug fix will be available in 5.0.
ETA: 1/2 weeks.

As a temporary fix you can do the following:
TweetinviEvents.QueryBeforeExecute += (sender, eventArgs) =>
{
    var unescapedUrl = Uri.UnescapeDataString(eventArgs.TwitterQuery.QueryURL);
    eventArgs.TwitterQuery.QueryURL = unescapedUrl;
};


docs(specs): Review OpenAPI Recommend

This PR reviews the Recommend API.
🧭 What and Why
Questions and notes
getRecommendTaskStatus

We have the models: trending-items, bought-together, related-products, trending-facets. What about Looking similar
and  Related content?
Adding enums to the recommend model string generates the error: “enum must be out of line automation-custom/out-of-line-enum”

getRecommendRule
In the response, it looks like _metadata just contains a last update date. Is this correct? What does this date refer to? Date of this getRecommendRule operation or something else?
saveRecommendRules
This note is taken from the docs and raises a few questions:
Recommend rules are similar to search rules, except that the conditions and consequences apply to a source item instead of a query. The main differences are the following:
In conditions:
- `pattern` and `anchoring` are unavailable.
- Filters accepts numeric filters.

In consequences:
- params only covers filtering parameters.
- automaticFacetFilters (in `params`) doesn't require a facet value placeholder. Instead, it tries to match the source item's attributes.

pattern and anchoring are unavailable. Instead of re-using the Search Rules request object, should it just be copied and pattern and anchoring removed?
Filters accepts numeric filters. Since this is conditions, there aren’t any obvious filters (let alone numeric ones). At least they’re not defined in the OAS for Search rules or Recommend rules.
params only covers filtering parameters. It’s not clear from this what is and isn’t covered. Instead of re-using the Search Rules request object, should it just be copied and any inapplicable parameters removed? For example, If applying the request body from the docs site example, I get the message:  { "message": "promote is forbidden in Recommend rule consequence params", "status":400}.
automaticFacetFilters (in params) doesn't require a facet value placeholder… Probably better to write exactly what’s expected in a local version of the parameter than apply a caveat.

🎟 JIRA Ticket: DOC-1108
Changes included:
Update summary, description and examples
🧪 Test

checking the error

We have the models: trending-items, bought-together, related-products, trending-facets. What about Looking similar
and Related content?

I guess cc @francoischalifour @anghelalexandra in case they have more context

Those are the only models Recommend supports for now (see documentation).


Please "git tag" your RAKU modules with it's versions

Can you please "GIT TAG" your RAKU modules with it's version, similar and at the same time you maintain it's "version": "x.y.z" in your META6.json file?
I was told, this will happen "for free" going forward with mi6 anyhow, but for now it would be great if you spend those 2 seconds already now :)
"Tagging" is generally highly appreciated in regards to "reproducible builds" and here especially for the "Rakudo Star" modules
THANK YOU!

Hi
No problem. I'll add it in about 8h when I'm back from $dayjob.
BTW: This module is one of the earliest ones in Rakudo Star distribution, however I would not mind if it gets retired. JSON::RPC today has marginal popularity. And because of that now module is in maintenance-only mode for years. This is mediocre quality old code, written back in Parrot VM times.

1.0.5 tagged


Update eventcore with temporary bugfix

This uses our own branch which includes a bugfix for #1367
Please merge this soon. We also need to notify RNS solutions to make sure to update their submodules when they fetch the latest version of Agora.
Thanks goes to @Geod24.

Ok it looks like the commit brought in too many changes. I'll fix this up soon.

Seems to be green, merging!


[bug] 1NGBTL

Bug Report
Current behavior:

Expected behavior

Steps to reproduce:

Screenshots

Dogecoin Core version

Machine specs

OS:
CPU:
RAM:
Disk size:
Disk Type (HD/SDD):

Extra information

10:00 AM


Initialize swappiness in libcontainer cgroups template

By default, the cgroup setting in libcontainer's configs.Cgroup for
memory swappiness will default to 0, which is a valid choice for memory
swappiness, but that means by default every container's memory
swappiness will be set to zero instead of the default 60, which is
probably not what users are expecting.
When the swappiness UI PR comes into Docker, there will be docker run
controls to set this per container, but for now we want to make sure
not to change the default, as well as work around an older kernel
issue that refuses to allow it to be set when cgroup hiearchies are in
use.
See docker/libcontainer#639 for more information.  Also see closed PR #13882 which can probably be reconsidered now that the libcontainer update PR has been merged.
Docker-DCO-1.1-Signed-off-by: Phil Estes<EMAIL_ADDRESS>(github: estesp)

Makes sense. It's always hard to do something good with default values :/

PR for swapiness UI is already up: #14004

@cpuguy83 ah, cool, didn't realize another one was opened now.  This change is still required with our without a UI for setting it from the user.

janky is being janky.
LGTM

LGTM


refactor: improve pag details

maybe you need lint to manage your code style.😐
npm run dev => node build/dev-server.js => dev-server.js#line 5: var express = require('express')

Oh I see. I will add it soon.


fetchEvents returns events in different order than local blockchain

Reported by @mitschabaude
@MartinMinkov I assume this is just because we don't do fetchedEvents.reverse() inside fetchEvents(), as we do for actions?

Yup, a .reverse() inside fetchEvents() would fix this! Although, I would question whether fetching events in the order they happened is the most common use case. Is there a case for changing LocalBlockchain to return the latest events instead? I can image use cases like a UI listening for events; you would probably be most interested in the latest events dispatched rather than fetching events and looking at the end for the ones you want. WDYT?

Good point @MartinMinkov!


Ability to preview a component from palette

To use preview for components from palette, net to do:

install @react-buddy/ide-toolbox with version 1.1.0-dev.0

import palette component with palette tree from "palette.tsx" and add it in jsx element form to property palette to Preview component.

run dev-server with env variable REACT_APP_IDE_DEVMODE=true

Routing for palette component:
All routes for palette component start with /REACT_BUDDY_PALETTE. Next comes "/" + category name (located in name property in "Category" component). Next - "/" + component name (located in name property in "Component" component). Finaly - "/" + variant name (located in name property in "Variant" component). If variant component hasn't name property, need to use value DEFAULT_VARIANT. Note: result route path must be processed by encode url function.


::after content style not being applied

export const addButton = style({
	margin: "25px 0",
	position: "relative",
	height: 0,
	display: "block",
	width: 16,
	borderBottom: `2px solid ${hsTheme.colors.white}`,
	"::after": {
		content: "",
		display: "block",
		transform: "rotate(90deg)",
		height: 0,
		width: 16,
		borderBottom: `2px solid ${hsTheme.colors.white}`,
	},
})

Hi the first part is being applied, but the ::after is not. Any idea what is going wrong here?
It works in my SCSS file that I'm moving it from:
.addButton {
  margin: 25px 0;
  position: relative;
  height: 0;
  display: block;
  width: 16px;
  border-bottom: 2px solid $white;
  transform: rotate(0deg);
}

.addButton::after {
  content: '';
  display: block;
  transform: rotate(90deg);
  height: 0;
  width: 16px;
  border-bottom: 2px solid $white;
}

It's a bit of a gotcha, but content: "" should be content: '""' (as in, empty quotes inside the string) because you're embedding the CSS value "" in a JS string.

It's a bit of a gotcha, but content: "" should be content: '""' (as in, empty quotes inside the string) because you're embedding the CSS value "" in a JS string.

Ahh 🤦🏻♂ thank you!


Cannot login using OIDC (Authentik) from 6.X to 7.x rc: 401 unauthorized

I have a working instance of OCIS 5.0.x with OICS based on authentik. If I upgrade to 6.x.x user login does not work anymore. I just get an empty page and error logs with 401 error.
Since I did not change the OIDC configuration and there is no good user manual,  don't know what to do to make it work.
`2024-11-22T04:56:44.489953237Z 2024-11-22T04:56:44Z ERR failed to authenticate the request | service=proxy error=failed to get userinfo: 401 Unauthorized:  authenticator=oidc path=/api/v0/settings/roles-list user_agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Safari/605.1.15 client.address=<IP_ADDRESS> network.peer.address= network.peer.port= line=github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/oidc_auth.go:198
`
Steps to reproduce

switch from 5.0.x to 6.x.x or 7.x
try to login

Expected behavior
OIDC log should work as with 5.0.x
Actual behavior
blank page with rotating icon on top
Setup
docker compose running with portainer
current authentik instance

I would think, without knowing your setup, that you are suffering from a missing CSP config.
Please see how to do that in our keycloak example in https://github.com/owncloud/ocis/blob/master/deployments/examples/ocis_keycloak/config/ocis/csp.yaml#L9
You need to add the csp.yaml file to your volume in /etc/ocis and set the correct env variable.

Thanks, got it working. Never mind that I need to use this file for other IDPs as well, because it is used in the KEYCLOAK example.
But I had to add PROXY_ROLE_ASSIGNMENT_OIDC_CLAIM: "groups" to my compose file and I added the ocisAdmin group to authentik.

@mmattel we need a short note in the upgrade guide about CSP and external Identity Providers.

I have added CSP to the upcoming migration documentation.
It is also added in the upcoming release notes.


Place an "OK" button on the distance and direction widget

Distance and Direction
2.1
Tools from the Distance and Direction widget are written such that you must press Enter, after you have populated all other inputs on the dialog before the tool will run. We should enhance this, to have an "OK" button.
This is the reason.

I've got a starting point filled out as well as a length entered and an angle, I press Enter, and i get a line. After seeing the line, I want the line to be twice as long, so I change my length to 200, that should have been the only box I had to touch. However, even though I do not want to change the angle value, I need to put my cursor in that box, and press Enter to run the tool again.
Nothing is wrong with it working this way, however we should enhance the widget, to include an  an "OK" button that runs the tool anytime it is pressed assuming all values provided in the dialog are valid.
I would like to see this on all four tabs.

Work completed in PR #904
@dfoll please can you verify

Further enhancements made in PR #905
@dfoll Please can you verify

All changes have been made to documentation. @topowright could you please verify all topics for WAB DD widget. After you have completed your review of all topics, please use the xmetal workflow to set them to "to be reviewed". I think you are already set as the tech reviewer on most of them, but if not, please just go ahead and move them to "to be reviewed" after you have completed your review.

Sounds good

closing issue as release has now gone out


About the use of objectpaste, when training the lidar branch

Hello,
Thanks for your inspiring work, and I am trying to run the code you provided.
Did you use ObjectPaste when training lidar branch？I don't know why when I use it the score drops instead.
Objectpaste is set as follows:
gt_paste_stop_epoch: 15
type: ObjectPaste
stop_epoch: ${gt_paste_stop_epoch}
db_sampler:
  dataset_root: ${dataset_root}
  info_path: ${dataset_root + "nuscenes_dbinfos_train.pkl"}
  rate: 1.0
  prepare:
    filter_by_difficulty: [-1]
    filter_by_min_points:
      car: 5
      truck: 5
      bus: 5
      trailer: 5
      construction_vehicle: 5
      traffic_cone: 5
      barrier: 5
      motorcycle: 5
      bicycle: 5
      pedestrian: 5
  classes: ${object_classes}
  sample_groups:
    car: 2
    truck: 3
    construction_vehicle: 7
    bus: 4
    trailer: 6
    barrier: 2
    motorcycle: 6
    bicycle: 6
    pedestrian: 2
    traffic_cone: 2
  points_loader:
    type: LoadPointsFromFile
    coord_type: LIDAR
    load_dim: ${load_dim}
    use_dim: ${use_dim}
    reduce_beams: ${reduce_beams}

Hello, we used that. And this is the fading strategy used by multiple papers such as PointAugmenting, FUTR3D and TransFusion. I will start answering training-related questions after we release the training code due to limited bandwidth.


Vezgo connect not firing onConnection or onEvent

I am trying to call .connect on a vezgo user. The modal pops up and behaves as expected, however there are never any console logs or state changes. I have pretty much just copy-pasted what I found in the docs for set up:
    const { name: providerName } = providers!.find(({ id }) => id === providerId)!;
    const vezgoUser = vezgo.login(user!.id);

    vezgoUser
      .connect({ provider: providerName })
      .onConnection(async (accountId: any) => {
        console.log('account connection success:', accountId);
        setIsLoading(false);
      })
      .onError((error: any) => {
        console.error('account connection error:', error);
      })
      .onEvent((name: any, data: any) => {
        console.log('account connection event:', name, data);
      });

@donald-stolz did you use http on the page that calls .connect()? Currently the Vezgo Connect widget is only able to pass the data to the parent page if the parent page is also https.

@codynguyen Yes, I was testing locally. I'll try to see if I can reproduce the problem over https

@codynguyen That was the issue, thank you for your help