Purge command 🎉

Pull request

[x] I have read and agreed to the code of conduct.
[x] I have read and complied with the contributing guidelines.
[x] What I'm implementing was assigned to me or was not being worked on and is a somewhat requested feature. For reference see our GitHub projects.
[x] I have tested all of my changes.

Added/Changed
What did you add and/or change for this.

Added a purge command. Looking at you (ISSUE)
It has filters that can be set in the forms of:

User, which will only clean messages from a specific user
Links, clearing messages containing http:// or https://
Attachments, messages containing any type of attachments are purged here
Bot, messages that are from bot users only
Contains, purges messages that contain something, tokenwise*, not wordwise*
All, purges every message/embed it comes across
All of this comes from PurgeUtils which also has the ability to remove one message with an ID.

Feature
If this is a new feature, why should we add it to the bot.

Because it is, needed? And I've been assigned todo it.

*: Tokenwise as in if you're clearing messages with "hello" then hellothis will get cleared
Closes #155

Aware of JDA 3/JDA 4 mismatch.
Working on a fix

:tada:

I've included the fix for the ;random where it errors when a negative number is passed

@DeadlyFirex Can you fix the compilation before we review it please?

Fixing some renamed file-stuff

Done! Safe for reviewing @binaryoverload

Let's hope we can finally merge this #181


Have a badge for projects that come out of OpenCon

We think this would be good during OpenCon, but can imagine how it would fine to implement after. So, making a low priority.

@nshockey would like this framed as a badge for projects that are part of the community, not just ones part of this do-a-thon.

Does this work @JosephMcArthur ? @nshockey ?

Oops just saw the thing about being a community project! Will edit.

this? @JosephMcArthur

Will leave design files here if you want to edit: https://drive.google.com/drive/u/0/folders/1cK5pwgiQfXUwFRYG11vFEwGkWs2kDMY4

So, I'd suggest removing the:

Date
Border

I also wonder if the "community project" thing ascribes us too much ownership? Would:
"Supported by O", on one line, where "O" is just the logo be a bit more minimal perhaps? This would also allow people who're super sensitive about branding to mock this up in their own style easily.

I think the issue with our current logo is that we don't have a version that includes no date and just the text (it looks incomplete) - I can mock something up but not sure how legitimate it will look.

I was thinking in this set up we might not even have the "OpenCon" text,
just the circle. I can't see a way that having the date in this makes
sense, so would be good to try other ways.
On Thu, 28 Dec 2017 at 16:24 Lorraine Chuen<EMAIL_ADDRESS>wrote:

I think the issue with our current logo is that we don't have a version
that includes no date and just the text (it looks incomplete) - I can mock
something up but not sure how legitimate it will look.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sparcopen/doathon-dev/issues/50#issuecomment-354314743,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEuWZ09yUlXmw0vf4EQUVNGeWtiGZWyZks5tE8C4gaJpZM4P-Hpi
.

--
Joseph McArthur
Assistant Director: Right to Research Coalition
http://righttoresearch.org/
Co-Lead/Founder: Open Access Button http://openaccessbutton.org/
Twitter: @Mcarthur_Joe https://twitter.com/Mcarthur_Joe
Skype: joseph_mcarthur


upload block when i try debuging it

i install cvat as the way of CONTRIBUTING.md
system: both of macOS 10.14 and Windows10
python version：3.6.7
cvat version：0.5/0.4.1
but when i upload picture,it blocked.

url: http://<IP_ADDRESS>:8000/api/v1/tasks
POST
request:
{"name":"ddd","labels":[{"name":"ddd","attributes":[]}],"image_quality":50}

response:
{"url":"http://<IP_ADDRESS>:8000/api/v1/tasks/5","id":5,"name":"ddd","size":0,"mode":"","owner":1,"assignee":null,"bug_tracker":"","created_date":"2019-11-19T11:51:46.566911+03:00","updated_date":"2019-11-19T11:51:46.566946+03:00","overlap":null,"segment_size":0,"z_order":false,"flipped":false,"status":"annotation","labels":[{"id":5,"name":"ddd","attributes":[]}],"segments":[],"image_quality":50}

url:http://<IP_ADDRESS>:8000/api/v1/tasks/5/data
POST
request:
picture data

reponse:
{"client_files":["物理图.jpg"],"server_files":[],"remote_files":[]}

url:
http://<IP_ADDRESS>:8000/api/v1/tasks/5/status

repsonse:
{"state":"Queued","message":""}

when i refresh the page, it will be empty.

Hi @naah69 ,
Please use our gitter channel (https://gitter.im/opencv-cvat/dev) for such kind of questions. Most probably you forget to run other processes. Look at https://github.com/opencv/cvat/blob/develop/supervisord.conf. The  /usr/bin/python3 %(ENV_HOME)s/manage.py rqworker -v 3 default process is important to create a new task.
I will close the issue.


在 template 加上語言資訊

好像還是應該加一下。另外現在沒用到，不過之後可以能會需要，所以也順便加了一些中文專有的 styling。

Current coverage is 94.20%

Merging #117 into master will not affect coverage as of 98a2b16

@@            master   #117   diff @@
=====================================
  Files           31     31
  Stmts         1000   1000
  Branches         0      0
  Methods          0      0
=====================================
  Hit            942    942
  Partial          0      0
  Missed          58     58

Review entire Coverage Diff as of 98a2b16

Powered by Codecov. Updated on successful CI builds.


Bad scrolling performance in git log buffer

Description
Hey,
It's the first time I'm using this plugin and looks pretty promising, although noticed that scrolling in a new file containing 1K lines of change is so slow
https://github.com/NeogitOrg/neogit/assets/27911493/bc4ebe53-e138-469b-aa1c-52dfcc053faa
Neovim version
NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1697887905
Operating system and version
Gentoo Linux
Steps to reproduce

create a file like https://0x0.st/HvUQ.txt
init git repo and commit
open nvim with minmal config and :Neogit
open git log in neogit
scroll in buffer and watch neovim struggles to scroll smoothly

Expected behavior
scroll smoothly
Actual behavior
scrolling in git log buffer is choppy and slow
Minimal config
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
	vim.fn.system({
		"git",
		"clone",
		"--filter=blob:none",
		"https://github.com/folke/lazy.nvim.git",
		"--branch=stable",
		lazypath,
	})
end
vim.opt.rtp:prepend(lazypath)

require("lazy").setup({
	{ "NeogitOrg/neogit", config = true },
	"nvim-lua/plenary.nvim",
})

Yeah. There's some gnarly o(n) logic here. I've been meaning to do something about it, but haven't found the time yet.

Well, it just so happens that nvim 0.10 added an API that will let us do native folding instead of the custom stuff we do now! https://github.com/NeogitOrg/neogit/pull/959
So, this won't look nice for the current stable release, but it's a HUGE performance win.

Thanks for fixing it can't wait for it to be merged!

Same, this has been bugging me for ages.

@CKolkey the slowness is not fixed I believe it has gone even worse you can reproduce it with the file that i have attached in issue

Ahh, yeah, no, it uses the new native folds, which requires api's that are only on nightly. Eta... march? Not my call :)


Namespace perf improvements

@TimBeyer @eytan
Spent a lot of time today trying to get this to be fast AND compatible with other implementations of PlanOut. After a lot of hackery, I still was not able to get it to work unfortunately - I'm gonna hopefully try again soon to do this.
However, if we make compatibility an optional value then we can speed things up dramatically since the primary lag was from BigNumber. Consumers can enable this by doing
ExperimentSetup.toggleCompatibleHash(false);

This is the result I got with compatibility turned off: 19.26401599845849 ms over 500 runs
This is the result I got with compatibility turned on:<PHONE_NUMBER>003899 ms over 500 runs
Ideally we can extend this even further to allow for user-supplied hash functions but this is a good step forward. There are some other things to increase perf but they'll mainly be micro-opts compared to this change.

This seems like a reasonable solution... Just out of curiosity, how does
the performance compare if you completely took out the compatibility mode?
I wonder whether you should just have separate classes / implementations.
On Friday, October 30, 2015, Guy Aridor<EMAIL_ADDRESS>wrote:

@TimBeyer https://github.com/TimBeyer @eytan https://github.com/eytan
Spent a lot of time today trying to get this to be fast AND compatible
with other implementations of PlanOut. After a lot of hackery, I still was
not able to get it to work unfortunately - I'm gonna hopefully try again
soon to do this.
However, if we make compatibility an optional value then we can speed
things up dramatically since the primary lag was from BigNumber. Consumers
can enable this by doing
ExperimentSetup.toggleCompatibleHash(false);
This is the result I got with compatibility turned off: 19.26401599845849
ms over 500 runs
This is the result I got with compatibility turned on:<PHONE_NUMBER>003899
ms over 500 runs
Ideally we can extend this even further to allow for user-supplied hash
functions but this is a good step forward. There are some other things to
increase perf but they'll mainly be micro-opts compared to this change.
You can view, comment on, or merge this pull request online at:
https://github.com/HubSpot/PlanOut.js/pull/21
Commit Summary

commit version without using bignumber
not the best solution..
specify compat flag
add tests

File Changes

M tests/testRandomOps.js
https://github.com/HubSpot/PlanOut.js/pull/21/files#diff-0 (73)
M dist/planout.js
https://github.com/HubSpot/PlanOut.js/pull/21/files#diff-1 (136)
M dist/planout.map.js
https://github.com/HubSpot/PlanOut.js/pull/21/files#diff-2 (2)
M dist/planout.min.js
https://github.com/HubSpot/PlanOut.js/pull/21/files#diff-3 (6)
M es6/experimentSetup.js
https://github.com/HubSpot/PlanOut.js/pull/21/files#diff-4 (13)
M es6/ops/random.js
https://github.com/HubSpot/PlanOut.js/pull/21/files#diff-5 (45)
R examples/perf.html
https://github.com/HubSpot/PlanOut.js/pull/21/files#diff-6 (3)

Patch Links:

https://github.com/HubSpot/PlanOut.js/pull/21.patch
https://github.com/HubSpot/PlanOut.js/pull/21.diff

—
Reply to this email directly or view it on GitHub
https://github.com/HubSpot/PlanOut.js/pull/21.

@eytan I was originally thinking the same thing...but there's almost no perf overhead to having both. The only overhead is in terms of how many bytes we would have to carry over the wire having to carry around BigNumber, but BigNumber is a fairly small package so removing it wouldn't affect overall package size too much.

There are a fewer other optimizations I want to get to before releasing this as a new version @TimBeyer but they should hopefully be done by Monday...

Also I'll add details around the compatibility stuff to the README, but I want to revisit this at some point to see if I can actually come up with a non-hacky yet performant solution to maintaining compatibility

Ok then! Yeah, my thought was to separate and create two bundles, which
could improve size and performance. But this works! I really appreciate the
extra time you spent making it so that PlanOut.js could still be compatible
with other implementations of PlanOut.
On Sunday, November 1, 2015, Guy Aridor<EMAIL_ADDRESS>wrote:

@eytan https://github.com/eytan I was originally thinking the same
thing...but there's almost no perf overhead to having both. The only
overhead is in terms of how many bytes we would have to carry over the wire
having to carry around BigNumber, but BigNumber is a fairly small package
so removing it wouldn't affect overall package size too much.
—
Reply to this email directly or view it on GitHub
https://github.com/HubSpot/PlanOut.js/pull/21#issuecomment-152841537.

@rawls238 has this been working correctly for you? I just wanted to migrate to using toggleCompatibleHash(false) and suddenly all assignments seemed to fail for us. When I don't switch it everything works fine. Will investigate a bit further and see where the problem is.

@TimBeyer it has been working for us - are you on 3.0.1? The default behavior is for the compatiblehash to be false so it doesn't make much sense that toggleCompatibleHash(false) would break anything. Let me know what you find

@rawls238 I'm on current master. In the end, I did a fresh build and things started working again. I guess the current build is broken and the fix happened after https://github.com/HubSpot/PlanOut.js/pull/22 which was the last time the build was created.

Taking a quick look I assume it must have been https://github.com/HubSpot/PlanOut.js/commit/6648fdaa2e113d788c40fdce17d1a27a89667d49#diff-ede1f2c67e8fc69fcf959df467e94f5aR77

@TimBeyer yup, must have not built before releasing. New release will be up soon, sorry about that

@TimBeyer correct transpiled version should be published via npm now. Good argument for having the tests point to the latest transpiled version instead of directly at the source perhaps..

@rawls238 awesome, thanks. Yeah, was thinking the same about the tests. Was very confused when the tests actually passed and I needed to write a new test pointing to the build to actually reproduce this.


pangram: clarify language in README

Made README clearer in regards to allowed inputs for pangram / allowed
inputs for interface.
Added the term 'rune' into the problem context.
Resolves #801

I'm not fully up on generating the READMEs, is this in danger of being overwritten?

I don't think so, I believe that was a one time thing? I do have to look into it more, it's part of the reason why #786 has been sitting around. If that ends up happening we can redo in the local metafile or wherever.

Yes, it would be overwritten but by us via configlet, automation in README's is a thing of the past. See the comment in 4a9e2a05b1a5e4ee9b9c31bea2fe3128b8935bcb.

Okay, yeah, unless we change the description.md in the problem-specifications repo, then anything we add to hints.md will be additional. To change this we need to re-write it here. I suppose we just need to be considerate of this if we ever want to regenerate READMEs in the future and not just do them all.

This may be a good example of why we moved to locally generated READMEs in the first place.

I wonder if we're addressing the wrong problem here. Looking at https://github.com/exercism/problem-specifications/commit/ff2abe7ed8ba8021f6b1b22f57703dd4225ff6a4 & https://github.com/exercism/problem-specifications/issues/842 it may be that we should update the test suite to reflect the canonical-data.json instead of rewriting the README. And then add a generator when we can.

Yeah, I think that is better since we are the divergent track here.

Okay, do you want to update the config.json manually now until we implement the generator?

I was gonna yank those two entries out of the test suite?

Sounds good :+1:


chore(*) prevent lua_pack from leaking to globals

lua_pack is especially bad as it monkey patches the string in Lua. This means that whenever you require the lua_pack the string is modified. We don't want this to happen, thus we have this special construct there.
This also contains another commit chore(*) release 0.2.1.

on Lua 5.3 these functions do go in the string package.  instead of avoiding that, I'd rather switch to another implementation more compatible with the standard (the order or parameters and return values in unpack() are wrong)

on Lua 5.3 these functions do go in the string package. instead of avoiding that, I'd rather switch to another implementation more compatible with the standard (the order or parameters and return values in unpack() are wrong)

I know. One of the reason to avoid the confusion. Yes, I also agree we should move away from lua_pack. This was just a quick fix. Perhaps we can do the long term fix at the same time.

Closing this as we agreed to fix this better.


Main.js file not found

Have you checked that your issue isn't already filed?

[X] I read through FAQ and searched through the past issues, none of which addressed my issue.
[X] Yes, I have checked that this issue isn't already filed.

Bug description
While deploying, getting the following error
How to reproduce the bug
Following the video
Error messages and logs

What operating system are you using?
Windows
Where are you seeing the problem on?
Deployed site
More info
No response

How to reproduce the bug
Following the video

Which video?
What is your repo? What changes have you made to your repo?
Without more information there is not much we can do.

Which video?
The author is referring to the video mentioned in here:  https://github.com/alshedivat/al-folio/blob/master/INSTALL.md

Which has the link to this video: https://github.com/alshedivat/al-folio/blob/master/assets/video/tutorial_al_folio.mp4
I am following the same instructions and wasn't able to reproduce the results in the video because I get the same error as the author of the post. This is the very first step you take when using this template.

The same issue has been reported here: https://github.com/JamesIves/github-pages-deploy-action/issues/1697
Current fix is to modify Line 93 in .github/workflows/deploy.yml
from
JamesIves/github-pages-deploy-action@v4
to
<EMAIL_ADDRESS>

@shuyijia Thanks! It works out!

Since the v4 major tag have been updated, I believe no changes on our side are needed. Closing this issue.
https://github.com/JamesIves/github-pages-deploy-action/issues/1697#issuecomment-2380614391


Optimise transaction check performance

Fix problem that processed opOffset not add to doneOpOffset.
The problem:
the code in TransactionalMessageServiceImpl does not add opOffset to doneOpOffset list, so the op offset can't update until next run.
                    if (removeMap.containsKey(i)) {
                        log.info("Half offset {} has been committed/rolled back", i);
                        removeMap.remove(i);
                    } else {

Coverage decreased (-0.1%) to 50.46% when pulling d9dc8b00db390e60df8f1c1d499bdfc5cd4b65da on areyouok:tx_fix_doneList into ce4478aa29e46db4e4b58e90142a63f5fd9168d8 on apache:master.


Backport "HBASE-26545 Implement tracing of scan" to branch-2.5

on AsyncTable, both scan and scanAll methods should result in SCAN table operations.
the span of the SCAN table operation should have children representing all the RPC calls
involved in servicing the scan.
when a user provides custom implementation of AdvancedScanResultConsumer, any spans emitted
from the callback methods should also be tied to the span that represents the SCAN table
operation. This is easily done because these callbacks are executed on the RPC thread.
when a user provides a custom implementation of ScanResultConsumer, any spans emitted from the
callback methods should be also be tied to the span that represents the SCAN table
operation. This accomplished by carefully passing the span instance around after it is created.

Signed-off-by: Andrew Purtell<EMAIL_ADDRESS>Signed-off-by: Duo Zhang<EMAIL_ADDRESS>

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 31s
Docker mode activated.

-0 :warning:
yetus
0m  5s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2.5 Compile Tests _

+0 :ok:
mvndep
0m 19s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 37s
branch-2.5 passed

+1 :green_heart:
compile
1m 47s
branch-2.5 passed

+1 :green_heart:
shadedjars
3m 50s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
2m 38s
branch-2.5 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 16s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 29s
the patch passed

+1 :green_heart:
compile
1m 48s
the patch passed

+1 :green_heart:
javac
1m 48s
the patch passed

+1 :green_heart:
shadedjars
3m 46s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
2m 36s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
221m 55s
root in the patch passed.

248m  0s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4303/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4303

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 5159eb44344b 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.5 / 75c81c7338

Default Java
AdoptOpenJDK-11.0.10+9

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4303/1/testReport/

Max. process+thread count
5860 (vs. ulimit of 12500)

modules
C: hbase-client hbase-server . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4303/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 28s
Docker mode activated.

-0 :warning:
yetus
0m  6s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ branch-2.5 Compile Tests _

+0 :ok:
mvndep
0m 19s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 17s
branch-2.5 passed

+1 :green_heart:
compile
1m 35s
branch-2.5 passed

+1 :green_heart:
shadedjars
3m 40s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
2m  2s
branch-2.5 passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 15s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m  7s
the patch passed

+1 :green_heart:
compile
1m 32s
the patch passed

+1 :green_heart:
javac
1m 32s
the patch passed

+1 :green_heart:
shadedjars
3m 36s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
2m  5s
the patch passed

_ Other Tests _

-1 :x:
unit
255m 30s
root in the patch failed.

277m 37s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4303/1/artifact/yetus-jdk8-hadoop2-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4303

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 3f655023b00b 5.4.0-96-generic #109-Ubuntu SMP Wed Jan 12 16:49:16 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
branch-2.5 / 75c81c7338

Default Java
AdoptOpenJDK-1.8.0_282-b08

unit
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4303/1/artifact/yetus-jdk8-hadoop2-check/output/patch-unit-root.txt

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4303/1/testReport/

Max. process+thread count
2399 (vs. ulimit of 12500)

modules
C: hbase-client hbase-server . U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4303/1/console

versions
git=2.17.1 maven=3.6.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Current work for Weeklytracker

IMPORTANT: Please do not create a Pull Request without creating an issue first.
Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.
Do not change the following line aside from replacing YOUR-ISSUE-HERE with the issue this PR fixes
fixes #29 and #30
Please provide enough information so that others can review your pull request:
I utilized the react-toastify library to create a swipeable component for the health log, but without connection to the calendar component and actual data, I was only able to build out a rough draft of the functionality.
Explain the details for making this change. What existing problem does the pull request solve?
Creation of the weeklytracker.js and weeklytrackerday.js components, which are to be reviewed and revised based on the layout of the calendar.
Test plan (required)
Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI.
cd client
yarn install
yarn run start

Final Checklist

[x] Have you bumped the version in package.json?

Second decimal for major change, third decimal for minor change. This can go past 10 i.e. 1.0.9 !=> 1.1.0, 1.0.9 => 1.0.10
Read here for more info

[x] Have you added any new tests necessary?
[x] Is your PR rebased off the most current master?
[] Have you squashed all commits, or if you will merge will you squash all commits?
[x] Did you use yarn, not npm?
[x] Did you use Material-UI wherever possible?
[ ] Did you format according to Prettier?

LGTM, great changes! Just keep in mind to not use npm at all so that package-lock.json doesn't get added back in, as for some reason it's messing up our builds.

AMAZING @awu556 !!!!!!


"Origin checking failed" not fixable by CSRF_TRUSTED_ORIGINS?

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce

Install CVAT 2.10.1 docker based, cloned from git, following  "Quick installation guide" (https://opencv.github.io/cvat/docs/administration/basics/installation/#quick-installation-guide) minutely
Specify CVAT_HOST to the external IP on the LAN
Log in to application succeeds
Access to admin page and entering user properties succeeds
Submitting via "SAVE" throws
a) "Forbidden (403) CSRF verification failed. Request aborted. More information is available with DEBUG=True." in UI, and
b) "DEBG 'uvicorn-1' stderr output: WARNING django.security.csrf: Forbidden (Origin checking failed - https://<IP_ADDRESS> does not match any trusted origins.): /admin/auth/user/add/" in log file

Expected Behavior

Since access to the application and admin interface already succeed and work perfectly fine throughout the entire UI, POST interactions on the /admin page should not make a difference?
If crosssite access is rightfully blocked by django's origin checking, because the accessing IP/FQDN is not yet in the list of "trusted origins", adding it via CSRF_TRUSTED_ORIGINS/SMOKESCREEN_OPTS should be possible and allow POST from /admin?

Possible Solution
According to:
https://github.com/opencv/cvat/issues/6516
https://github.com/opencv/cvat/issues/6760
https://github.com/opencv/cvat/pull/6362
https://github.com/opencv/cvat/issues/6760
https://github.com/doccano/doccano/issues/1820
CSRF_TRUSTED_ORIGINS = [ 'https://<IP_ADDRESS>' ].
and/or
SMOKESCREEN_OPTS: "trusted_origins=https://<IP_ADDRESS>"
Shouldn't setting "CSRF_TRUSTED_ORIGINS" allow to add trusted domains/IPs to the origin checking whitelist?
Context

The application has to run behind a reverse proxy:
[ <IP_ADDRESS>:8080 => <IP_ADDRESS>:443 (Host)] => <IP_ADDRESS>:443 (LAN)
The reverse proxy is terminating SSL, using an institutional certificate
I tried to set "CSRF_TRUSTED_ORIGINS" and/or "SMOKESCREEN_OPTS" in docker-compose.yml and/or base.py, in several syntax variants, for just cvat_server and/or cvat_ui and/or globally
but it looks like this configuration gets never effective?

Environment
CVAT 2.10.1 cloned from Git and implemented exxactly following "Quick installation guide" (https://opencv.github.io/cvat/docs/administration/basics/installation/#quick-installation-guide), except for specifying CHAT_HOST=<IP_ADDRESS>.
Unfortunately we need to host the application on our inhouse infrastructure due to inhouse policies.

@nmanovic can i work on this issue

https://github.com/miroai/cvat/commit/1c97a44f849687f2551db6e1912b05cfe125bcfc
Adding the base URL helped me. I ran into this issue trying to run it behind a reverse proxy some time ago, give it a try :)

Error message I see after following all the steps and adding my doamin url in the relevant fields
CSRF Failed: Origin checking failed - https://domainurl does not match any trusted origins.

Error message I see after following all the steps and adding my doamin url in the relevant fields
Also set ALLOWED_HOSTS: '*'
added even CVAT_HOST: to docker-compose.yml
cvat_server  | [2024-12-29 15:41:35,080] WARNING django.security.csrf: Forbidden (Origin checking failed - https://my does not match any trusted origins.): /admin/auth/user/add/
Also have this errors in grafana:
{"basename":"events","action":"create","request":{"url":"/api/events?org=","query_params":{"org":""},"content_type":"application/json","method":"POST","id":"ec14b6b4-3595-4846-8403-13e85755babf"},"message":"rest_framework.exceptions.PermissionDenied: CSRF Failed: Origin checking failed - https://my does not match any trusted origins.","stack":"Traceback (most recent call last):\n  File \"/opt/venv/lib/python3.10/site-packages/rest_framework/views.py\", line 497, in dispatch\n    self.initial(request, *args, **kwargs)\n  File \"/opt/venv/lib/python3.10/site-packages/rest_framework/views.py\", line 414, in initial\n    self.perform_authentication(request)\n  File \"/opt/venv/lib/python3.10/site-packages/rest_framework/views.py\", line 324, in perform_authentication\n    request.user\n  File \"/opt/venv/lib/python3.10/site-packages/rest_framework/request.py\", line 231, in user\n    self._authenticate()\n  File \"/opt/venv/lib/python3.10/site-packages/rest_framework/request.py\", line 384, in _authenticate\n    user_auth_tuple = authenticator.authenticate(self)\n  File \"/opt/venv/lib/python3.10/site-packages/rest_framework/authentication.py\", line 130, in authenticate\n    self.enforce_csrf(request)\n  File \"/opt/venv/lib/python3.10/site-packages/rest_framework/authentication.py\", line 148, in enforce_csrf\n    raise exceptions.PermissionDenied('CSRF Failed: %s' % reason)\nrest_framework.exceptions.PermissionDenied: CSRF Failed: Origin checking failed - https://my does not match any trusted origins.\n","status_code":403}


Duplicates/Multiple Devices listed and monitor state.

Thank you for developing this.
I have managed to get authenticated with Amazon and am retrieving information from my Alexa's.
I wish to use the Smarthome node to query a Ring alarm system for alarm events. I'm able so see these events with this flow:

A given Ring sensor will return in it's payload detectionState either "DETECTED" or "NOT_DETECTED".
This is working great however I can't see how to monitor for this change in state. I can only query when I press the injection node. Is there a way to monitor?
I've also noticed that the Smarthome Node Query Appliance/Group drop down list contains many duplicates and multiples of devices. I've checked the Alexa app and these duplicates don't exist there.

Thanks for any help or nudges in the right direction.
Doug

Unfortunately there is no way to monitor smarthome devices.
I suppose you can receive a smarthome event in node-red if you can create a routine that triggers on a sensor event and then turns a virtual device on / off.
You can create virtual devices with https://flows.nodered.org/node/node-red-contrib-amazon-echo for example.
Thanks for bringing duplicates to my attention. They should be gone in the next patch.

Thank you for your advise on my monitoring question. I will look into your suggestion. In the meantime I'm going to use the inject node on "n" second intervals and see what happens.
Also thank you for your hard work on these nodes. It's greatly appreciated.

Apparently there is a known issue where use of Alexa and the Hue skill will produce duplicate lights.
I'm almost positive this is my problem and wasn't the fault of your node.
Thanks for your help.


scheduler: Ignore tasks that we do not desire to be running anymore.

/cc @dongluochen @tonistiigi
This is a little tricky to review.
Signed-off-by: Andrea Luzzardi<EMAIL_ADDRESS>

[Current coverage][cc-pull] is 52.66%

Merging [#874][cc-pull] into [master][cc-base-branch] will decrease coverage by 0.22%

File .../test/deepcopy.pb.go (not in diff) was modified. more

Misses +7
Partials +4
Hits -11

File ca/config.go (not in diff) was modified. more

Misses +1
Partials +2
Hits -3

File ...chestrator/global.go (not in diff) was modified. more

Misses +8
Partials +3
Hits -11

@@             master       #874   diff @@
==========================================
  Files            70         70
  Lines         11143      11143
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits           5893       5868    -25
- Misses         4429       4445    +16
- Partials        821        830     +9

[][cc-pull]

Powered by Codecov. Last updated by [1dea726...4ce9bbe][cc-compare]
[cc-base-branch]: https://codecov.io/gh/docker/swarmkit/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/docker/swarmkit/compare/1dea726c747d61c4d4e643bd4d1a928207d38d62...4ce9bbefc59f5697db73d8662e44651289199c8b
[cc-pull]: https://codecov.io/gh/docker/swarmkit/pull/874?src=pr

I'm not sure I agree with the change. The existing code was written to intentionally avoid counting resources used by tasks as available until those tasks actually stop running. If we desire a task to stop running, it may have not actually stopped yet, and we could overtax the machine while waiting for it to stop.
Curious what problem you're trying to solve. Is it about scheduling fairness?

I have the same question with @aaronlehmann. Are some tasks lost that taking resources? I think we need to define resource occupation status in task states.

Sorry, I should have detailed this before.
So here's what happens:
We start with:

node-1 has 8 tasks
node-2 has 0 tasks.

They're both from the same service. Both nodes are active.
Now I perform an update on the service.
What I end up with is:

node-2 has now 8 tasks
node-1 has 0.

They shifted.
If I do another update, they will shift again.
What happens is the orchestrator is changing the desired state of the old tasks to SHUTDOWN and creating new tasks with desired state ACCEPTED.
The scheduler then considers the node with 8 shutdown tasks to be quite full, and decides the other node deserves to get all the load.

I think we should add HA (high availability) support to resolve this problem. Tasks from same service should be scheduled on different nodes as much as possible. HA, resource utilization, and node health history can combined into a preference number for a <task, node> pair.

No tests?

@dongluochen Even HA will make this fail.
The scheduler is simply considering containers that it just removed from the machine. Every strategy will be wrong.
HA in this case will believe that node-1 has 8 tasks from the same service running (even though it just removed them), so will still place everything on node-2.

HA should solve it. After 4 tasks are moved from node-1 to node-2, the scheduler would prefer node-2 for the rest of the tasks. There should be 8 tasks in the store, not 16.

Is this race possible because the controller logic that keeps things running is mixed in with the scheduler logic that places things? Would it be possible to have the controller managing the updates coordinate the shutdown of a task with the creation of a new task? It's my understanding this is how rolling updates work.

@aluzzardi are we interested in merging this at some point still? Is this still relevant?

Thanks for pinging @dperny
@aaronlehmann, WDYT about https://github.com/docker/swarmkit/pull/874#issuecomment-224821309?
I'm really wondering if we should only act on desired state rather than current state at the orchestration level (as far as making it "current state blind").
It's just a snapshot anyway - might be wrong by the time the task go there.

The existing code was written to intentionally avoid counting resources used by tasks as available until those tasks actually stop running.

Maybe a workaround for that would be to shift responsibility down to the agent: Do not start new stuff until all your DESIRED > RUNNING are actually properly shut down.

I'm really wondering if we should only act on desired state rather than current state at the orchestration level (as far as making it "current state blind").

It's just a snapshot anyway - might be wrong by the time the task lands there.

For this particular issue of checking resource use, looking at observed state is the conservative approach. A task that's running but has DesiredState = SHUTDOWN may be shut down in a few milliseconds, but there is no way that a state with an observed state > RUNNING will start running again.

Maybe a workaround for that would be to shift responsibility down to the agent: Do not start new stuff until all your DESIRED > RUNNING are actually properly shut down.

I'm not sure about that. I like the idea of the agent being pretty dumb, and introducing the concept of dependencies between tasks moves away from that. I'm afraid there would be the potential for things to get completely stuck if a task gets wedged for some reason.
Maybe this could be solved through rollout strategy? Right now the orchestrator creates tasks in READY while the old ones are still running, to purposefully have some overlap between the old and new tasks before the new one is actually started up. We could introduce an optional rollout strategy that shuts down the first task completely before allowing the new task to be scheduled.
Of course, that would mean a longer gap between shutting tasks down and starting up the replacement, and you would have to opt-in to that tradeoff to get intelligent scheduling behavior...
I'm trying to think of other ideas but I'm not coming up with anything very good. I think your idea and my idea are the basic approaches to choose between. Either we wait for tasks to shut down before starting replacements (not appropriate in all use cases), or we have something on the agent side that makes sure we don't start tasks before we stop other tasks. Otherwise I don't really see a safe way for the scheduler to grant resources to a new task when they are being used by one that's in the process of shutting down.

Thought about this a little more. I may be able to improve this through the work I'm going to do on HA scheduling. It could be addressed by decoupling the scheduler's node preference from its view of how many tasks are running on that node.

I'm not sure about that. I like the idea of the agent being pretty dumb, and introducing the concept of dependencies between tasks moves away from that.

It wouldn't be dependency - it's just the order of things.
The agent already destroys assignments before creating new ones - this would be the same, stop before starting which seems pretty logical and follows the same principle (free resources before allocating new ones).
At the end of the day, the agent is the best place to handle actions that require observed state knowledge.

Closing this - I'll deal with the non-resource-constrained case in the HA PR.
If we want to change the agent to always stop tasks before starting new ones, let's open a separate issue for that.


Possible successor for QRXfer

TxQR looks and feels more streamlined than QRXfer, maybe take a look at that?

https://github.com/divan/txqr
https://github.com/divan/txqr-reader
https://github.com/ThePlasmaRailgun/TXQR-Android

Awesome! 👍
Happy to include a link that project in the README. PR's welcome!

@leonjza Ideas:

Use fountain/tornado/raptor codes for the QR code
Use of ANSI code to make sure the QR code always stay in one place

http://tldp.org/HOWTO/Bash-Prompt-HOWTO/x361.html
http://www.lihaoyi.com/post/BuildyourownCommandLinewithANSIescapecodes.html


[BUG] Spectating an enemy while its killed crashes the game

See title, was spectating a spider while another player killed it with a shovel and then crashed, wasnt able to recover logs because i closed the game too quickly before thinking about making a bug report

Try the latest version on thunderstore if you haven't already

Try the latest version on thunderstore if you haven't already

I was using the latest version of the mod, it isnt the only mod im using, i can send you the list of everything if you want

Sure, that'd be useful. Were there any other enemies alive when the spider died?

Sure, that'd be useful. Were there any other enemies alive when the spider died?

Not certain, it was very early in the day so it wouldnt be strange if it was the only thing.
BepInExPack
MoreCompany
More_Suits
More_Emotes
LateCompany
ShipLoot
AdditionalSuits
AlwaysHearActiveWalkies
HookGenPatcher
LethalLib
LethalThings
SpectateEnemies
BetterStamina
QuickRestart
LethalCompany_InputUtils
BetterEmotes
TerminalApi
Terminal_Clock
Skinwalkers
Mimics
Boombox_Controller
Solos_Bodycams
LC_API
CostlyShotgun
YippeeMod

If the spider was the only enemy alive, the mod may have been stuck trying to find another enemy to spectate when there were none, resulting in the crash. I'll try and recreate that scenario and see if I can fix it

Actually, looking at the code, I can see why this happens. There should be a value being incremented when it sees a dead enemy which isn't, resulting in an infinite loop. I'll release a hotfix for this later today.

If the spider was the only enemy alive, the mod may have been stuck trying to find another enemy to spectate when there were none, resulting in the crash. I'll try and recreate that scenario and see if I can fix it

What I think happened was, taking a brief look at the code, LateUpdate() went into the if check at line 119 and called GetNextValidSpectatable(), and then line 325 tries to find more enemies and assuming there were no more, this would cause errors because FindObjectsByType returns a null if its find nothing and then you try to call a .Where accessing x and x.enemy name when its not even an empty enumerable its null

If you run Where on an empty list, it'll just return an empty collection. The problem is inside that check above the continue. enemiesChecked should be incremented here, but it isn't, resulting in the same spider being checked over and over again resulting in the infinite loop.

If you run Where on an empty list, it'll just return an empty collection. The problem is inside that check above the continue. enemiesChecked should be incremented here, but it isn't, resulting in the same spider being checked over and over again resulting in the infinite loop.

i believe its not an empty list, its null. I could be wrong. obviously youll know your code better than me tho haha
Dont know how the game works or how to mod it myself but if its possible a suggestion i have is using a static list of enemies, and adding newly spawned enemies to it, and removing those that die/leave, this would let you not even need to do a Find, you could just have the list thats accessible always, and be able to do a .Count() on it to be sure theres more enemies.

This should be fixed as of the latest release, closing for now


Firebase Config File

Can you add the Google-Info.plist File to the project without the Client_ID, API_KEY etc...
It would be interesting to see how the Stopp Corona App  has configured Firebase.
for Example:  IS_ANALYTICS_ENABLED  YES or NO ?

IS_ANALYTICS_ENABLED is set to NO and we don't include the pod for google analytics in the project ('Firebase/Analytics').


[Release 1.24] Update kube-router and add extra logging

Backport: https://github.com/k3s-io/k3s/issues/6344

Verified on release-1.24 with commit c113444d
k3s version v1.24.7+k3s-c113444d (c113444d)
go version go1.18.7

Observed the version is updated to github.com/k3s-io/kube-router v1.5.2-0.20221026101626-e01045262706 as expected

$ sudo journalctl -xeu k3s | grep netpol
Nov 07 23:00:14 ip-172-31-46-86 k3s[18788]: time="2022-11-07T23:00:14Z" level=info msg="Starting the netpol controller version v1.5.2-0.20221026101626-e01045262706, built on 2022-11-04T20:39:30Z, go1.18.7"

Also ran through the steps in here: https://github.com/k3s-io/k3s/pull/6345#issue-1423811938 and observed the traffic getting blocked as expected.


Fully automate dev setup with Gitpod

learning to use gitpod.io as a development online environment

learning to do a merge pull request, and closing it.


Parsing .wiff2 to stdout contains non-xml characters

Hi,
i noticed that converting a SCIEX .wiff2 file to stdout with the option "-o -" will cause the output stream to contain the string Could not find configuration for IPerformanceMeasurementEvent. before the xml header starts.
I used the following command: msconvert "path.wiff2" -o - --filter "peakPicking vendor msLevel=1-" --filter "scanNumber 1-1"
(the scan number filter was only added so i could look at the output when i run msconvert from my cmd.)
Since there is also other output i'm guessing that everything else is sent to a logger/error stream and only the line  Could not find configuration for IPerformanceMeasurementEvent. is printed to the standard output stream (maybe using a printf or so).
.wiff2:
format: mzML
    m/z: Compression-Zlib, 64-bit
    intensity: Compression-Zlib, 32-bit
    rt: Compression-Zlib, 64-bit
ByteOrder_LittleEndian
 indexed="true"
outputPath: -
extension: .mzML
contactFilename:
runIndexSet:

spectrum list filters:
  peakPicking vendor msLevel=1-
  scanNumber 1-1

chromatogram list filters:

filenames:
  D:\Messdaten\mzio\sciex\2024_07_02_VW_018_LpMx_0-0100ug-mLEqui_POS_CID_30CE_top8_01.wiff2

processing file: D:\Messdaten\mzio\sciex\2024_07_02_VW_018_LpMx_0-0100ug-mLEqui_POS_CID_30CE_top8_01.wiff2
Could not find configuration for IPerformanceMeasurementEvent.
calculating source file checksums

writing output file: -\2024_07_02_VW_018_LpMx_0-0100ug-mLEqui_POS_CID_30CE_top8_01.mzML
<?xml version="1.0" encoding="utf-8"?>

.wiff:
format: mzML
    m/z: Compression-Zlib, 64-bit
    intensity: Compression-Zlib, 32-bit
    rt: Compression-Zlib, 64-bit
ByteOrder_LittleEndian
 indexed="true"
outputPath: -
extension: .mzML
contactFilename:
runIndexSet:

spectrum list filters:
  peakPicking vendor msLevel=1-
  scanNumber 1-10

chromatogram list filters:

filenames:
  D:\Messdaten\mzio\sciex\2024_07_02_VW_018_LpMx_0-0100ug-mLEqui_POS_CID_30CE_top8_01.wiff

processing file: D:\Messdaten\mzio\sciex\2024_07_02_VW_018_LpMx_0-0100ug-mLEqui_POS_CID_30CE_top8_01.wiff
calculating source file checksums

writing output file: -\2024_07_02_VW_018_LpMx_0-0100ug-mLEqui_POS_CID_30CE_top8_01.mzML
<?xml version="1.0" encoding="utf-8"?>

We are using the MSConvert -o - option internally in mzmine to parse some vendor formats and this currently breaks the import for .wiff2 files. I'll try to create a workaround internally in mzmine, but i think it would still be great if the issue was fixed.
Best
Steffen

That output comes directly from the vendor DLL so we can't control what stream it goes to. I think there may be a way to suppress it with some extra configuration file that the API can read, but I'm not sure what incantation is necessary for that.

Ok that's good to know, i thought it my be coming from msconvert. I have a workaround implemented, so you can close the issue unless you want to keep it as a backlog.


feat: Add Semantic Version support

Summary
This adds support for Semantic Versioning in Audience Evaluation.
todo: Add doc strings
Test plan
Added unit tests.
Verified with FSC semantic version tests locally.
Issues

Coverage increased (+0.01%) to 99.579% when pulling 3c2b5e9f9c427117282b24d4a1c2cbbd20b6fc72 on oakbani/semantic-version into 5e02748216a005d0fd0d80dc4c9d7c3bb58038b3 on master.


fix: prevent crash when leaving tournament match channel

Describe your changes
This PR fixes crashes caused by the tournament client when removing attempting to remove players who are not in the match.
Related Issues / Projects
Checklist

[x] I've manually tested my code
[x] The changes pass pre-commit checks (make lint)
[x] The changes follow coding style

Im having issue running make lint in my system from setuptools complaining and python wasn't my main language soo it would be nice to know how to run make lint properly

As a note to the other maintainers, I do not think that this is the right direction to go about this and should at most be considered a hotfix. Instead it should be looked into as to why the situation happens in the first place.

hmm let me look into the root cause of the error

Ok I did some more thinking about this -- this happens because osu! servers do not have any mechanism to inform tourney clients when a match that they're spectating has been disbanded. The tourney client continues to spec as if nothing happened.
This gets ultra weird with bancho.py's match id incrementing behaviour -- which allocates a static 64 match slots, and attempts to re-use those ids.
The sequence of events leading to this error is:

Tourney match is created; tourney client starts spectating the match.
Tourney match is disbanded; client continues spectating the players.
A new match is created, with the same id as the original tourney match.
The tourney client switches to spectating any other match, causing it to attempt leaving the old match's channel (by id), using the TOURNAMENT_LEAVE_MATCH_CHANNEL packet (#109).

In this case, the server will resolve the wrong match id, allow past the if not match: check, and attempt to remove them from the match.tourney_clients, which will fail.
I think the BEST fix here is to migrate towards monotonically incrementing (universally-unique) match ids; but that's a decently sized refactor. I think this PR is a good enough interim solution, so we can merge it.

I'm going to make one small adjustment, to move the player.id in match.tourney_clients: check to happen before the player.leave_channel(match.chan) -- to have it alongside the if not match.

Ty for the PR @KhooHaoYit!! 🎉 And sorry for the large delay 🤣


Why use glfw / OpenGL to implement imguilayer?

Why use glfw / OpenGL to implement imguilayer operation instead of using your own event distribution system?
What's the difference between the two methods?
Which is better?

Cherno mentioned that ImGui will only be used for debugging purposes, so not integrated in the engine to be used in a released state. For this reason, ImGui is as stand-alone as possible as far as I know.

Thank you very much for your answer!


How to handle bridge addresses

@ravenac95 I came across a project that offers a bridge. The address is not a contract nor is it an eoa that serves as a wallet or deployer address. My first reaction is to ignore this type of artifact. What do you think?

Interesting... I somehow imagined something like that would be a contract. Interesting that it isn't, I think that's potentially too much of an edge case so probably best to ignore.

Actually, I think we just want to extend the EOA tags to include a bridge tag. In the future, we can do a recurrent scan to see how much is stored in the bridge address.

Merged in OSS Directory: https://github.com/opensource-observer/oss-directory/commit/c1d0bd3b0cf6a0a4da5202281946657df060c0d9


Add security policy

Security policy includes instructions for reporting security issues privately and project security practices.

The manifest update seems to be confused since the previous commit has two associated authors. That said, this change doesn't require a new manifest, so I'm force merging.


✨ Add _getArgBool(offeset) to Clone

The code _getArgUint8(offset) > 0 works, but I think using _getArgBool(offset) would make things cleaner. Also, when you use abi.encodePacked(bool), it packs booleans into a single byte (same as uint8). Also, I can't remember off the top of my head, but I'm pretty sure there's a cheaper way to evaluate whether or not a given byte is non-zero.

We could also consider including a toBool(uint) function in SafeCastLib.

Wait, just do x != 0. And it will convert to bool. Clearer and less characters. The compiler will do it efficiently most of the time.

Don’t overthink it.
Also, using x != 0 will give auditors and reviewers less headaches.

Good point on readability for auditors, also thanks for the tip, will just use x != 0. 🫡


chore(v1): Update package name + readme

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 77.193%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
176

Relevant Lines:
228

💛  - Coveralls


ASP.NET Core + EF6 performance

There's some performance impact when using ASP.NET Core with EF6? Limitations?

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

ID: f376ed07-b726-292f-eb33-7a918337367b
Version Independent ID: 817b265f-0769-80e1-b42c-e1b0d05ff13b
Content: Get Started with ASP.NET Core and Entity Framework 6
Content Source: aspnetcore/data/entity-framework-6.md
Service: unspecified
Product: asp.net-core
GitHub Login: @Rick-Anderson
Microsoft Alias: tdykstra

@balivo  good question. Would you mind asking that on Stack Overflow?

@balivo If you get a good response to your question can you post the link here?

Sure @Rick-Anderson of course... I made same question at Stack Overflow... First some users request more "elaborate" question... When I "elaborated more" putting some infra and patterns details... My question as marked with "[on hold]" tag and banned, because I'm not specifc... LoL... Sometimes I don't understand Stack Overflow community... I decided use ASP.NET Core with CosmosDB... I think about make some tests to check performance in ASP.NET Core + EF6 and ASP.NET Core + EF Core...

@balivo  sorry to hear that. I've read alot of similar complaints on twitter. I think that's a reasonable question to ask, are there know problems with that combo that you wouldn't see if you used EF Core.

I also consider a reasonable question @Rick-Anderson , but unfortunately I received negative points in my Stack Overflow profile for doing it... Anyway, all performance tests I've seen use exclusively combo of ASP.NET Core + EF Core, which I think is fair... However, EF Core still has certain limitations (Spatial Data, for example) that "block" my migration to EF Core, but I would very much like to use ASP.NET Core project "style", but there isn't enough information about (and exclusively about) the performance of the combo ASP.NET Core + EF6... To use EF6, complete .NET Framework is needed, and there isn't possibility of our application being hosted in non-Windows environments , this is not a problem for me, but the performance of "stack" will be "degraded" (?), there is no information about it...


Err connection reset

Hi! I am trying to run the docker image but even after exposing the port 8443, I can't access the config page.
I keep getting Err-connection-reset when accessing it. Any idea why?

Same here

Can you attach a screenshot or log? Are you hitting https://<IP_ADDRESS>:8443 ?

Yes I am attempting to access from there, also from localhost and <IP_ADDRESS> with no success.
09:01:55.929 [main] INFO org.springframework.core.KotlinDetector - Kotlin reflection implementation not found at runtime, related features won't be available., ,   .   ____          _            __ _ _,  /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \, ( ( )\___ | '_ | '_| | '_ \/ _ | \ \ \ ,
\/  )| |)| | | | | || (| |  ) ) ) ),
'  || .__|| ||| |_, | / / / /,
=========||==============|/=///_/,
:: Spring Boot ::        (v2.1.8.RELEASE),
,
2019-10-22 09:01:56.777  INFO 1 --- [           main] com.jasonhhouse.Gaps.GapsApplication     : Starting GapsApplication v0.0.4 on 2792c4bceaf7 with PID 1 (/usr/src/app/Gaps-0.0.4.jar started by root in /usr/src/app),
2019-10-22 09:01:56.778  INFO 1 --- [           main] com.jasonhhouse.Gaps.GapsApplication     : No active profile set, falling back to default profiles: default,
2019-10-22 09:01:57.069  WARN 1 --- [kground-preinit] o.s.h.c.j.Jackson2ObjectMapperBuilder    : For Jackson Kotlin classes support please add "com.fasterxml.jackson.module:jackson-module-kotlin" to the classpath,
2019-10-22 09:01:58.535  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8484 (https),
2019-10-22 09:01:58.603  INFO 1 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat],
2019-10-22 09:01:58.603  INFO 1 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet engine: [Apache Tomcat/9.0.24],
2019-10-22 09:01:58.735  INFO 1 --- [           main] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext,
2019-10-22 09:01:58.735  INFO 1 --- [           main] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 1880 ms,
2019-10-22 09:01:59.219  INFO 1 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'clientInboundChannelExecutor',
2019-10-22 09:01:59.227  INFO 1 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'clientOutboundChannelExecutor',
2019-10-22 09:01:59.258  INFO 1 --- [           main] o.s.s.c.ThreadPoolTaskScheduler          : Initializing ExecutorService 'messageBrokerTaskScheduler',
2019-10-22 09:01:59.318  INFO 1 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'brokerChannelExecutor',
2019-10-22 09:01:59.468  INFO 1 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService,
2019-10-22 09:01:59.468  INFO 1 --- [           main] o.s.s.concurrent.ThreadPoolTaskExecutor  : Initializing ExecutorService 'taskExecutor',
2019-10-22 09:01:59.732  INFO 1 --- [           main] o.s.b.a.w.s.WelcomePageHandlerMapping    : Adding welcome page: class path resource [static/index.html],
2019-10-22 09:01:59.850  WARN 1 --- [           main] ion$DefaultTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration),
2019-10-22 09:02:00.152  INFO 1 --- [           main] o.s.m.s.b.SimpleBrokerMessageHandler     : Starting...,
2019-10-22 09:02:00.152  INFO 1 --- [           main] o.s.m.s.b.SimpleBrokerMessageHandler     : BrokerAvailabilityEvent[available=true, SimpleBrokerMessageHandler [DefaultSubscriptionRegistry[cache[0 destination(s)], registry[0 sessions]]]],
2019-10-22 09:02:00.153  INFO 1 --- [           main] o.s.m.s.b.SimpleBrokerMessageHandler     : Started.,
2019-10-22 09:02:01.052  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8484 (https) with context path '',
2019-10-22 09:02:01.061  INFO 1 --- [           main] com.jasonhhouse.Gaps.GapsApplication     : Started GapsApplication in 5.052 seconds (JVM running for 5.959),
2019-10-22 09:02:59.317  INFO 1 --- [MessageBroker-6] o.s.w.s.c.WebSocketMessageBrokerStats    : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 8, active threads = 1, queued tasks = 1, completed tasks = 237],
2019-10-22 09:32:59.317  INFO 1 --- [MessageBroker-1] o.s.w.s.c.WebSocketMessageBrokerStats    : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 8, active threads = 1, queued tasks = 1, completed tasks = 7432],
2019-10-22 10:02:59.316  INFO 1 --- [MessageBroker-2] o.s.w.s.c.WebSocketMessageBrokerStats    : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 8, active threads = 1, queued tasks = 1, completed tasks = 14629],
2019-10-22 10:32:59.317  INFO 1 --- [MessageBroker-5] o.s.w.s.c.WebSocketMessageBrokerStats    : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 8, active threads = 1, queued tasks = 1, completed tasks = 21825],
2019-10-22 11:02:59.316  INFO 1 --- [MessageBroker-8] o.s.w.s.c.WebSocketMessageBrokerStats    : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 8, active threads = 1, queued tasks = 1, completed tasks = 29021],
2019-10-22 11:32:59.316  INFO 1 --- [MessageBroker-5] o.s.w.s.c.WebSocketMessageBrokerStats    : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 8, active threads = 1, queued tasks = 1, completed tasks = 36217],
2019-10-22 12:02:59.316  INFO 1 --- [MessageBroker-6] o.s.w.s.c.WebSocketMessageBrokerStats    : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 8, active threads = 1, queued tasks = 1, completed tasks = 43413],`

<IP_ADDRESS> is not localhost.
Get your machine's IP address and try hitting that. If you're running docker with specific network connections, that can cause the requirement. ipconfig or ifconfig on Windows or Linux/Mac. Make sure to include https

i think i have the same problem, running the housewrecker docker through unraid
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.2.0.RELEASE)

2019-11-08 05:11:08.286 INFO 1 --- [ main] com.jasonhhouse.gaps.GapsApplication : Starting GapsApplication v0.0.5 on b6e1b8acbbcf with PID 1 (/usr/src/app/GapsWeb-0.0.5.jar started by root in /usr/src/app)
2019-11-08 05:11:08.287 INFO 1 --- [ main] com.jasonhhouse.gaps.GapsApplication : No active profile set, falling back to default profiles: default
2019-11-08 05:11:08.426 WARN 1 --- [kground-preinit] o.s.h.c.j.Jackson2ObjectMapperBuilder : For Jackson Kotlin classes support please add "com.fasterxml.jackson.module:jackson-module-kotlin" to the classpath
:: Spring Boot :: (v2.2.0.RELEASE)

2019-11-08 05:11:08.286 INFO 1 --- [ main] com.jasonhhouse.gaps.GapsApplication : Starting GapsApplication v0.0.5 on b6e1b8acbbcf with PID 1 (/usr/src/app/GapsWeb-0.0.5.jar started by root in /usr/src/app)
2019-11-08 05:11:08.287 INFO 1 --- [ main] com.jasonhhouse.gaps.GapsApplication : No active profile set, falling back to default profiles: default
2019-11-08 05:11:08.426 WARN 1 --- [kground-preinit] o.s.h.c.j.Jackson2ObjectMapperBuilder : For Jackson Kotlin classes support please add "com.fasterxml.jackson.module:jackson-module-kotlin" to the classpath
2019-11-08 05:11:09.661 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8484 (https)
2019-11-08 05:11:09.684 INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2019-11-08 05:11:09.685 INFO 1 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.27]
2019-11-08 05:11:09.760 INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2019-11-08 05:11:09.761 INFO 1 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 1402 ms
2019-11-08 05:11:10.043 INFO 1 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'clientInboundChannelExecutor'
2019-11-08 05:11:10.047 INFO 1 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'clientOutboundChannelExecutor'
2019-11-08 05:11:10.068 INFO 1 --- [ main] o.s.s.c.ThreadPoolTaskScheduler : Initializing ExecutorService 'messageBrokerTaskScheduler'
2019-11-08 05:11:10.104 INFO 1 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'brokerChannelExecutor'
2019-11-08 05:11:10.188 INFO 1 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService
2019-11-08 05:11:10.189 INFO 1 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'taskExecutor'
2019-11-08 05:11:10.310 INFO 1 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html]
2019-11-08 05:11:10.918 WARN 1 --- [ main] ion$DefaultTemplateResolverConfiguration : Cannot find template location: classpath:/templates/ (please add some templates or check your Thymeleaf configuration)
2019-11-08 05:11:11.027 INFO 1 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator'
2019-11-08 05:11:11.053 INFO 1 --- [ main] o.s.m.s.b.SimpleBrokerMessageHandler : Starting...
2019-11-08 05:11:11.054 INFO 1 --- [ main] o.s.m.s.b.SimpleBrokerMessageHandler : BrokerAvailabilityEvent[available=true, SimpleBrokerMessageHandler [DefaultSubscriptionRegistry[cache[0 destination(s)], registry[0 sessions]]]]
2019-11-08 05:11:11.054 INFO 1 --- [ main] o.s.m.s.b.SimpleBrokerMessageHandler : Started.
2019-11-08 05:11:11.027 INFO 1 --- [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator'
2019-11-08 05:11:11.053 INFO 1 --- [ main] o.s.m.s.b.SimpleBrokerMessageHandler : Starting...
2019-11-08 05:11:11.054 INFO 1 --- [ main] o.s.m.s.b.SimpleBrokerMessageHandler : BrokerAvailabilityEvent[available=true, SimpleBrokerMessageHandler [DefaultSubscriptionRegistry[cache[0 destination(s)], registry[0 sessions]]]]
2019-11-08 05:11:11.054 INFO 1 --- [ main] o.s.m.s.b.SimpleBrokerMessageHandler : Started.
2019-11-08 05:11:11.950 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 8484 (https) with context path ''
2019-11-08 05:11:11.954 INFO 1 --- [ main] com.jasonhhouse.gaps.GapsApplication : Started GapsApplication in 6.664 seconds (JVM running for 7.532)
2019-11-08 05:12:10.103 INFO 1 --- [MessageBroker-1] o.s.w.s.c.WebSocketMessageBrokerStats : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0]
2019-11-08 05:12:10.103 INFO 1 --- [MessageBroker-1] o.s.w.s.c.WebSocketMessageBrokerStats : WebSocketSession[0 current WS(0)-HttpStream(0)-HttpPoll(0), 0 total, 0 closed abnormally (0 connect failure, 0 send limit, 0 transport error)], stompSubProtocol[processed CONNECT(0)-CONNECTED(0)-DISCONNECT(0)], stompBrokerRelay[null], inboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], outboundChannel[pool size = 0, active threads = 0, queued tasks = 0, completed tasks = 0], sockJsScheduler[pool size = 1, active threads = 1, queued tasks = 0, completed tasks = 0]

connecting to the docker through the ip:port gives me this message in my browser
Bad Request
This combination of host and port requires TLS.

That error usually comes from going to the http site, not https. Try https://{ip_address}:8484, if you haven't already

Something of note, the port is 8484 not 8443

Something of note, the port is 8484 not 8443

Weird, my settings show that it should be using https but for some reason it doesn't work, typing it in manually did work however.

Sweet, glad to hear it.


Vulnerability 1012

Hey,
There is currently a security vulnerability in your released package 4.1.0
https://www.npmjs.com/advisories/1012
It is due to the version of braces being used, however it looks like that's been fixed in master. Will there be a release any time soon?

High: Prototype Pollution
Package: mixin-deep
Patched in: >=2.0.1
Dependency of: karma
Path: karma > braces > snapdragon > base > mixin-deep
More info: https://npmjs.com/advisories/1013
I'm also getting this vulnerability as well as the one listed above

Hi,
I'm getting 110 high severity vulnerabilities in an Angular project, all related to set-value package. Message below:
High: Prototype Pollution
Package: set-value
Patched in      >=3.0.1
Dependency of   karma [dev]
Path: karma > chokidar > readdirp > micromatch > snapdragon > base  > cache-base > union-value > set-value
More info: https://npmjs.com/advisories/1012

Please don’t open issues about these vulnerabilities.   We already get tons of notifications and annoying panels in the UI.
If this is important to you, send a PR to fix it.

Dude! Did you even read what the question was before you closed it? I wasn't raising because there needs to be work done, i was raising because it HAS been done and i'd like to know when there would be a release? I appreciate the work of the open source community and of this package itself, but it's a pretty uncool thing to reply with a curt remark and close and issue when you're not addressing the original question.

Please use a descriptive title like “Please release a new version”.  Which I did, 4.2 is out, try it.

Ahh yes i see that ... released 26 min ago, i shall go check that out.


Added missing parameters in language-selected event.

Missing attributes('event_timestamp,app_info.version, manifest_version_number,  auto_selected') in 'language_selected' ) in level selected event.

Can we put multiple attributes in description in different bullet points? Its hard to read!

Can we put multiple attributes in description in different bullet points? Its hard to read!

@Rajesh1041 added those attributes in points.


Make the resource names user provided

Hi.
I noticed that resource names are hardcoded and will not match naming conventions for a lot of people, I was wondering, are there plans to make this more flexible?
https://github.com/opentofu/registry/blob/main/iam.tf#L29
or is this expected to be an example on how to run the registry? if that is the case, the lambda code maybe should have its own repo so that people can use their own way to deploy the API gateway and lambda but they can still pull the lambda code from a repo that has it's own SDLC.
Thanks.

Hi @jamengual! thanks for raising this.
Right now this code is intended to be temporary and to get us off the ground and we did not take into consideration other people running this so soon!
Once things are a little more settled in the near future we can look at making this a bit easier to consume by other people. I love the idea of people being able to run just the lambda+dynamodb setup along with their own api gateway so they can bring along their own caching if they wish. We have also discussed internally about making the route53 part seperate so we can consume the apigateway with it's caching directly without the need to have a domain configured to get going.
We've recently done a large refactor of the golang code, and I'm sure that we will be doing one for the terraform too to make sure it's clean and easy for people to contribute to and we should 100% take your point into consideration!


Plugin action bar tests

Test coverage for plugin-action-bar

:tada: This PR is included in version 1.5.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fix logging analytics workspace naming length

Addresses https://github.com/rancher/rancher/issues/21061
Dependency on: https://github.com/rancher/kontainer-engine/pull/165

lgtm


file upload restrictions

For details please see parent ticket in ZenHub. https://app.zenhub.com/workspaces/platform-development-5ea838cd2aec471eb6d14139/issues/jac-uk/digital-platform/327

PREVIEW:DEVELOP
can be OFF, DEVELOP or STAGING

@HalcyonJAC as discussed have converted this to a draft PR, for now. I think we should address upgrading Apply to use JAC Kit in one go as we need to check for improvements made in the Apply components and back-port them to the JAC Kit.

@warrensearle Ok I have move this to the Blocked lane then.

This needs more information around the JAC kit


Use consistent variable name case.

Hi @nftw, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

@nftw please update task patch version in task.json

 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.:x: nftw sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@bishal-pdMSFT done

@sachinma done


File association with query

@ayushpahwa there is a dependency on you WRT to documentation around UQI as discussed with @KelvinOm


constrained-generators: Introduce fromList_ :: (HasSpec fn a, Ord a) => Term fn [a] -> Term fn (Set a)

Description

Checklist

[x] Commit sequence broadly makes sense and commits have useful messages
[x] New tests are added if needed and existing tests are updated
[x] When applicable, versions are updated in .cabal and CHANGELOG.md files according to the
versioning process.
[x] The version bounds in .cabal files for all affected packages are updated. If you change the bounds in a cabal file, that package itself must have a version increase. (See RELEASING.md)
[x] All visible changes are prepended to the latest section of a CHANGELOG.md for the affected packages. New section is never added with the code changes. (See RELEASING.md)
[x] Code is formatted with fourmolu (use scripts/fourmolize.sh)
[x] Cabal files are formatted (use scripts/cabal-format.sh)
[x] hie.yaml has been updated (use scripts/gen-hie.sh)
[x] Self-reviewed the diff

@TimSheard perhaps you want to rebase on this in your PR. That way we should be able to get rid of the specific fromList for rng and generalize it to this one.


feat(pfi-305): implement new scheme selection option when creating a payment

This PR implements the new scheme selection options from the CreatePAyment request that are replacing the old structure based on scheme_id.

LGTM for a pre-release.


Risk of memory leaks

Currently, not all observables are unsubscribed when routing between components, which can lead to memory leaks.

[x] Unsubscribe from combineLatest(), this.router.events.subscribe() in visitor-page-component

Rest of the components seem to manage unsubscriptions just fine.

Consequent searches no longer work without page refresh due these changes.


Fix Bluesky syndication

It might just be my config
But Quill didn’t trigger a bluesky syndication, by the looks of things

It was config
Had to reboot my server to get things working!!! 🤯


Error4032 thown when loading a HLS master manifest on Firefox72.0.2

Have you read the FAQ and checked for duplicate open issues?
yes
What version of Shaka Player are you using?
v4.1.0-debug
v3.2.1-debug
Can you reproduce the issue with our latest release version?
yes
Can you reproduce the issue with the latest code from main?
yes
Are you using the demo app or your own custom app?
yes
If custom app, can you reproduce the issue using our demo app?
What browser and OS are you using?
Firefox72.0.2
Firefox68.0.2
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
What are the manifest and license server URIs?

What configuration are you using?  What is the output of player.getConfiguration()?

What did you do?

load a HLS master manifest
What did you expect to happen?
load without error thrown
What actually happened?

Error4032 thrown

Actually I have located the problem:

The native navigator.mediaCapabilities.decodingInfo does not keep consistent with shaka.polyfill.MediaCapabilities.decodingInfo_.
After hardcoding the browser check condition in "shaka.polyfill.MediaCapabilities.install()",error4032 is gone and everything is ok.
If neccessary,I can send a PR for this.

In file "lib/polyfill/media_capabilities.js",add a firefox browser check can solve this problem:

@avelad In Firefox101 it works perfectly, my OS is windows10.

@avelad I made a web app demo using shaka-player4.1.0.it works in almost all the latest browser until I did some compatibility testing for old browser

Thanks reply.
Why I hack this for very old versions of Firefox? Because some users did use ancient browsers to visit my website and complain about that failure :), howerver they didn't admit the fact.
As for your suggestion it sounds  reasonable.I will accept that and drop this issue.My original intention is to help some people with similar problem and leave some clues.
Thanks again.


nothing is tested and that's kind of terrible

what would it mean to test any of this? e.g. what should happen when the provider gives us an error?

The template provided here makes testing look a lot easier than I was expecting. It's still not easy to embed colors in the tests while keeping them human-readable but that's a tooling issue.
With a little bit of factoring the UI can be turned into a pure function from UIState -> terminal buffer, or for more thorough testing it's probably preferable to factor into a pure function from a sequence of UIMessage -> terminal buffer. It should then be easy to write nice readable tests which turn some state (e.g. a block w no txns is selected) into expected terminal buffers.
Currently the entire screen is rendered every frame, though a casual reading of this makes it seem that moving to partial redraws won't require changing this test framework.


introduce the --tags-require-all flag

when using hardhat-deploy from command line I always lack the ability to execute the deployment scripts on the intersection of different tags, for exampleI would expect
npx hardhat deploy --tags v2_8,upgrade,l1
to only upgrade the v2.8 contracts on layer1
This PR introduces the --tags-require-all command line flag which changes the logic of how the --tags option is processed: comma is treated as logical AND instead of logical OR

Yes, make sense
thanks for the PR!

available in v0.11.37


Can we have a failUnrecognisedSamplesheetField or something similar

cf https://github.com/nf-core/sarek/issues/1504

Good suggestion!

Related to #7

Added in #66


Fix Bug in Handling Empty Filters in Time Series + Minor Fixes

We were getting NPE for empty filters since transform operator can return a null value block. This handles that case, and additionally

Improve the explain name for Leaf Time Series Plan node.
Improves some QueryContextUtils methods which are used in places like segment pruner service.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (59551e4) to head (6edb226).
Report is 1162 commits behind head on master.

:exclamation:  There is a different number of reports uploaded between BASE (59551e4) and HEAD (6edb226). Click for more details.
HEAD has 53 uploads less than BASE

Flag
BASE (59551e4)
HEAD (6edb226)

integration
7
1

integration2
3
1

temurin
12
1

java-21
7
1

skip-bytebuffers-true
3
0

skip-bytebuffers-false
7
1

unittests
5
0

unittests1
2
0

java-11
5
0

unittests2
3
0

integration1
2
0

custom-integration1
2
0

Additional details and impacted files
@@              Coverage Diff              @@
##             master   #14192       +/-   ##
=============================================
- Coverage     61.75%    0.00%   -61.76%
=============================================
  Files          2436        3     -2433
  Lines        133233        6   -133227
  Branches      20636        0    -20636
=============================================
- Hits          82274        0    -82274
+ Misses        44911        6    -44905
+ Partials       6048        0     -6048

Flag
Coverage Δ

custom-integration1
?

integration
0.00% <ø> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <ø> (ø)

java-11
?

java-21
0.00% <ø> (-61.63%)
:arrow_down:

skip-bytebuffers-false
0.00% <ø> (-61.75%)
:arrow_down:

skip-bytebuffers-true
?

temurin
0.00% <ø> (-61.76%)
:arrow_down:

unittests
?

unittests1
?

unittests2
?

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

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


Add upstream habitat survey site at crossing 2200799 to trib to McLeod Lake site memo

Currently there is only culvert and habitat info for the highway crossing. Info on the culvert downstream near the lake should also be added.

closing in favour of https://github.com/NewGraphEnvironment/fish_passage_peace_2023_reporting/issues/54


Can you please add an example how to package a library?

Hello,
I like this plugin ! :+1:
can you please provide an example to package a library ?
Thank you!

Hi there @charbull,
Did you take a look at the example projects (https://github.com/kaspersorensen/dotnet-maven-plugin/tree/master/example-projects)?

Hi @kaspersorensen thank you for your reply,
I am trying to do the following, I have some cs classes generated automatically from Java.
And I am trying to package those files in a library.
This means I have to generate a project.json and pass it to the maven plugin?

yes, either project.json or a .csproj file.

Hey @kaspersorensen , a quick question:
Say that my cs code depends on nuget A, B, and C.
What is the best way to proceed ?

Should I download the dependencies A, B, and C and add them?
can the plugin download these dependencies?
I should not add these dependencies to the generated nuget?

thank you

Add them to the project.json or .csproj file to have it resolve those dependencies. But again, that has nothing to do with this plugin, just the ´dotnet´ build command that it fires.


The Vuejs.org/guide causing Safari Service Worker using 100% CPU

The Vuejs.org/guide webpages, for instance 'router.vuejs.org', has caused Safari Service Worker using 100% CPU. It's happened a few time since last few days. When this happens, the webpage is always out-focused.
macOS Mojave 10.14.5
Safari 12.1.1

Sorry, I don't really get what you mean. vuejs.org(/guide) and router.vuejs.org are two very different web sites.

I've left my Safari open on router.vuejs.org for several hours now to no such problem at all. Most likely it's some problem with your machine.


Uncaught Invariant Violation

Getting strange error on 0.1.2
Uncaught Invariant Violation: TypeWriter.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.

Strange, still happening with version 0.2.1
Uncaught Invariant Violation: t.render(): A valid ReactComponent must be returned. You may have returned undefined, an array or some other invalid object.

This should be fixed in version 0.2.2. Please update.
@mikedizon You were actually correct in assuming that the library needed to enforce its React 0.14 dependency. React 0.14 has a check on Component.prototype.isReactComponent which only works if there's a hard dependency on React 0.14. It's kinda weird that this didn't work as expected in my initial tests though.

Nice!


Add C# hot reload support for generics to the "What's new in .NET 8" doc

Summary
Add a section to "What's new in .NET 8" that mentions support for hot reload of generic types and methods.

/cc @tommcdon @AaronRobinsonMSFT @mikelle-rogers

It looks like I have permission to click the merge button myself.  Is that allowed?  Or do I need to wait for @gewarren to signoff?


Remove collapse from sequences.extras

collapse has the same functionality as filter-as with a reversed conditional,
so there's no reason to keep it.

Bah, I'm wrong, this is subtly different.  Beefing up docs for compact and collapse instead and abandoning this PR.

@erg wrote it so he's a good one to bug if you're curious about it.


Device annotator tweak font size

Currently the font size is size/30 which breaks if white space is added around figure

Size/30 is an attempt at making a sane default. Since it is not possible to cover all cases algorithmically, let us indeed make the font size tweakable.

is this the right place?


Cursor support

No cursor adapter support, is it planned?

Sorry, no.
To tell the truth, I've never even used CursorAdapter, other than POCs and demos.

Well, it seems I have written the support. Do you mind review a pull request if I submit one?

It seems? :)
You can show it to me if you wish. I will probably learn a few things about it while reading it.
It would also be great if you added a sample, especially if it contains examples of the other classes I've written (yet didn't use in the sample).


Name CI jobs

Just naming them :)
Looks good!

Coverage decreased (-2.4%) to 91.562% when pulling e8a4e46a5128e53c1606e5a7925cd80ab8887353 on szepeviktor:patch-2 into 18766d1af8650ca919534cc497e7f0e8d82423a3 on timber:master.

Coverage decreased (-2.4%) to 91.562% when pulling e8a4e46a5128e53c1606e5a7925cd80ab8887353 on szepeviktor:patch-2 into 18766d1af8650ca919534cc497e7f0e8d82423a3 on timber:master.


Alexa Latency is more than 3 seconds when i say 'Alexa, Shuffle my songs' .Alexa should ideally respond within 1 second

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:

Alexa Latency is more than 3 seconds when i say 'Alexa, Shuffle my songs' but in Amazon echo it is responding  very fast  .Alexa should ideally respond within 1 second . Please let me know how i can decrease the time in which alexa starts speaking again in 1 second . It is very important for alexa certfication.
What is the expected behavior?

Alexa should responds within 1 second when i say "Alexa, Shuffle my songs"
What behavior are you observing?

Alexa is responding after 3 second when i say "Alexa, Shuffle my songs"
Provide the steps to reproduce the issue, if applicable:

Tell us about your environment:

What version of the AVS Device SDK are you using?
  <1.12.1>

Tell us what hardware you're using:

[ ] Desktop / Laptop
[ ] Raspberry Pi
[ *] Other - tell us more:
we are using synaptics dsp and MIPS architecture soc

Tell us about your OS (Type & version):

[ *] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[x] Other - tell us more:

Hi @WilliamVJacob, I just tested it and didn't notice the long delay you mention.  Could you elaborate on what you meant by latency?  Is it the latency after you ask "Alexa, Shuffle my songs" and before Alexa says something (e.g. "Shuffling your songs"), or is it the latency after you speak and before you hear a new song?  Also, please attach the DEBUG9 logs if possible.  Thanks!

Hi @kclchan - This issue is not in Amazon Echo , so i dont think you can test it at your end. Actually we have integrated avs-device-sdk on our speaker.We are facing  the latency problem which was mentioned above
So Regarding your latency doubt,
Latency time in this scenario is noted  after i start saying "Alexa, Shuffle my song"  till the time Alexa speaks something (e.g. "Shuffling your songs").
I have attached the debug9 log . please check .
latency_is_more_than_1sec.txt

Hi @kclchan . The issue is not in Amazon echo.
Actually we have integrated avs-device-sdk  on our speaker .The problem is the latency , when we say "

Hi @WilliamVJacob,
From your log, I see that it takes your device around 3 seconds after you stopped speaking to when the MediaPlayer started playing "Shuffling your songs".
2019-08-21 06:35:15.102[  7]I DirectiveSequencer:onDirective:directive={"namespace\:"SpeechRecognizer"\,name\:"StopCapture"\,messageId\:"fe0f2bfd-c762-4549-a731-afc65011600f"\,dialogRequestId\:"350d9be1-b183-4d17-bbfb-84b452dbd7f0"}
2019-08-21 06:35:16.724[  7]I DirectiveSequencer:onDirective:directive={"namespace\:"SpeechSynthesizer"\,name\:"Speak"\,messageId\:"320478fc-41a9-4d59-90e1-0de8cf5c16d1"\,dialogRequestId\:"350d9be1-b183-4d17-bbfb-84b452dbd7f0"}
2019-08-21 06:35:16.865[  e]9 SpeechSynthesizer:startPlaying
2019-08-21 06:35:17.162[  e]9 MediaPlayer:playCalled
2019-08-21 06:35:17.776[  f]9 MediaPlayer:handleBusMessage:message=GST_MESSAGE_BUFFERING,percent=1
2019-08-21 06:35:18.362[  f]9 MediaPlayer:handleBusMessage:message=GST_MESSAGE_BUFFERING,percent=100
2019-08-21 06:35:18.468[  6]0 DialogUXStateAggregator:setState:from=THINKING,to=SPEAKING

Out of the 3 seconds, around 1.5 seconds was from AVS to process your utterance and until a new Speak directive is sent to the device.
The rest of the latency was time was spent in the device, which majority of the time spent on buffering.  Have you tried reducing the buffer size in the decodedQueue element of the audio pipeline and see if it improves the latency?
For reference, this is what I got from my testing on my device.  Note the buffering took 12ms.
2019-08-21 22:12:43.121 [  7] I DirectiveSequencer:onDirective:directive={"namespace\:"SpeechRecognizer"\,name\:"StopCapture"\,messageId\:"78e86be7-b3e8-4460-b208-456e1fa09153"\,dialogRequestId\:"ac0f30bf-4f0c-44c3-a4a7-5e0fab07a733"}
2019-08-21 22:12:45.037 [  7] I DirectiveSequencer:onDirective:directive={"namespace\:"SpeechSynthesizer"\,name\:"Speak"\,messageId\:"7d05c870-1267-4f4b-9b75-da301bc374af"\,dialogRequestId\:"ac0f30bf-4f0c-44c3-a4a7-5e0fab07a733"}
2019-08-21 22:12:45.047 [ 15] 9 SpeechSynthesizer:startPlaying
2019-08-21 22:12:45.054 [ 15] 9 MediaPlayer:playCalled:name=SpeakMediaPlayer
2019-08-21 22:12:45.142 [ 16] 9 MediaPlayer:handleBusMessage:name=SpeakMediaPlayer,message=GST_MESSAGE_BUFFERING,percent=0
2019-08-21 22:12:45.154 [ 16] 9 MediaPlayer:handleBusMessage:name=SpeakMediaPlayer,message=GST_MESSAGE_BUFFERING,percent=100
2019-08-21 22:12:45.162 [  6] 0 DialogUXStateAggregator:setState:from=THINKING,to=SPEAKING

Hi @kclchan - I am also working with William on the same issue ,unfortunately I couldn't find the buffer size element in the decodedQueue. Can you share, where I need to change the buffer size ?

Hi @kclchan - We have reduced the DEFAULT_MAX_SIZE_BUFFERS from 100 to 20. If I try to reduce it more, it is affecting the playback. Now the buffering time is reduced from 350-450 ms to 50-150 ms but still the latency is more than 2 sec. Is any other way to reduce the latency because ultimately we want the latency time to be less than 1 sec .

Hi @kclchan - Can you share the complete debug prints taken from your device for our reference.

Hi there, sorry for our late response on this. Are you still having problems?

I am closing this issue due to inactivity. Please feel free to re-open it if it has been closed in error.


set example_player to use "locked aspect ratio" instead of "fill"

currently the example player will fill the whole screen in fullscreen (ctrl +f) playing a 16:9 file on a 16:10 display

I can't get the example player to play either an ogg or an ogv file. I get the following:
Could not decode header. Corrupt stream? player example error: playback error
I am using https://github.com/xiph/daala/commit/eda5c4fad13cbd4d080459962a4dddc4eb0a8429 on OS X 10.10.5.


getAccountByid() returns the wrong user account

Hi,
first I want to thank you for offering this great package! It is really helpful!
I just have one little issue while using $instagram->getAccountById(). The method returns always the same user, no matter which ID I hand over.

it's because this url doesn't work anymore :
const FOLLOW_URL = 'https://www.instagram.com/web/friendships/{{accountId}}/follow/';
and always return user page by username : follow
file : src/InstagramScraper/Endpoints.php

i found the solution, you must get user info by Credentials otherwise the above FOLLOW_URL will redirect you to this url > https://www.instagram.com/accounts/login/?next=/web/friendships/{user-id}/follow/
example code :
$instagram = \InstagramScraper\Instagram::withCredentials('username', 'password', '/path/to/cache/folder');
$instagram->login();
$account = $instagram->getAccountById('3');

Thanks @Parviz-Turk, I'll try it out!


Upgrade to react-hot-loader@next

https://github.com/gaearon/react-hot-loader/tree/next

running into this: https://github.com/gaearon/react-hot-loader/issues/662. Suggested fix is to upgrade to @next

Possibly cleaner integration: https://github.com/NoamELB/react-hot-loader-loader


⭐ add translations in shortcut

Pull Request Checklist

[x] Target branch: Pull requests should target the dev branch.
[x] Description: Briefly describe the changes in this pull request.
[x] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[ ] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[ ] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[x] Testing: Have you written and run sufficient tests for the changes?
[ ] Code Review: Have you self-reviewed your code and addressed any coding standard issues?

Description
⭐ add translations in shortcut
Additional Information
Has passed the self-test

Closing due to conflicts, feel free to reopen!

thanks！


Log enrichment: Explosion damage to players

About the PR

Adds logging for damage dealt to players by explosions.
Why / Balance

Was added here https://github.com/space-wizards/space-station-14/pull/13351 but got deleted (probably unintentionally) here https://github.com/space-wizards/space-station-14/pull/21718 .
Technical details

I made the choice to only log damage dealt to entities that currently have an ActorComponent, to reduce the amount of log spam this creates as every single entity that does get damaged adds a separate log entry. I believe seperate logs are the best way to go as most explosions are small and don't catch many players, and combining all damaged players into one log entry would make this log enrichment unreasonably difficult to work with.
By putting it this close to where explosion damage actually happens, this should(TM) catch every single explosion type. There's four cases that directly call the QueueExplosion method:

explosion command, cause set to null, as no entity would make sense as the cause here.
Explode smite, cause set to the player that's exploding.
Lightning targeting an entity that has its LightningTargetComponent.LightningExplode flag set, cause set to the entity that's exploding.
Bluespace lockers with their destroy behavior set to explode, cause set to the locker that exploded.

All other calls to the explosion system seem to be indirect.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Explosive grenade with two players in range:

Shooting a substation till it explodes, with the player in range:

Syndicate bomb:

Bluespace locker crate exploding:

Breaking changes

n/a
Changelog

:cl:
ADMIN:

add: Explosion damage dealt to players is now logged again.

Gonna be working on this some more either today or tomorrow.

That took longer than expected. I can't for the life of me get the log serializer to work, so not adding to the PR just yet.
In any case, this is it's own log type now. The optics of this:

Explosion damage is its own kind of damage. It doesn't really fit in with any of the existing Hit categories.
These new logs are however still damage-oriented. As such it would make sense for it to show up under the Hit categories, for admins trying to get an accurate overview of who got damaged how much and by what over a time span.
It is also still related to explosions, so having it show up with the search term Explosion is also a must.

This PR is now fully ready for review and may be merged if it is deemed sufficient. The log serializer will have to come later down the line, as I will not have access to proper development tools for at least a while.