Fix the race condition and make the alternate urls automatically roun…

…d-robin along the way.

The nice thing about leveraging the alternatives for mainstream delivery, we provide our customers a mechanism for very uniform load balancing if they so desire.  I am thinking we just use the base url or the alternatives to make it simpler for callers of the api.  We'd still use the base url for the id in both cases.

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


Space focus change functionality broken after upgrading to Big Sur's latest update 11.3 (20E232)

Today I upgraded to Big Sur's new version 11.3 (20E232).
Things seems to be not working with this version, at least space focus change command. I am noticing some error logs while starting yabai as well.
Note that I have disabled SIP after upgrading to this version
 csrutil status
System Integrity Protection status: disabled.

 sudo yabai --uninstall-sa
 sudo yabai --install-sa
 sudo yabai --load-sa

Starting yabai giving me following errors :
application_observe_notification: kAXCreatedNotification failed with error kAXErrorCannotComplete
application_observe_notification: kAXFocusedWindowChangedNotification failed with error kAXErrorCannotComplete
application_observe_notification: kAXWindowMovedNotification failed with error kAXErrorCannotComplete
application_observe_notification: kAXWindowResizedNotification failed with error kAXErrorCannotComplete
application_observe_notification: kAXTitleChangedNotification failed with error kAXErrorCannotComplete
application_observe_notification: kAXMenuOpenedNotification failed with error kAXErrorCannotComplete

Running focus change command giving following errors:
 yabai -m space --focus 3

// logs
EVENT_HANDLER_DAEMON_MESSAGE: space --focus 3
EVENT_HANDLER_WINDOW_TITLE_CHANGED: kitty 129
event_signal_transmit: transmitting window_title_changed to 1 subscriber(s)
EVENT_HANDLER_APPLICATION_LAUNCHED: osascript (19898) is not observable, subscribing to activationPolicy changes
EVENT_HANDLER_APPLICATION_TERMINATED: osascript (19898) (not observed)
EVENT_HANDLER_APPLICATION_LAUNCHED: osascript (19902) is not observable, subscribing to activationPolicy changes

Sorry, my bad! Seems like someone already opened up issue for this #890.


Unit tests in tests/slsa_analyzer/build_tool/test_gradle.py rely on network

This applies for unit tests in tests/slsa_analyzer/build_tool/test_gradle.py that test the method get_group_ids https://github.com/oracle/macaron/blob/5522ec103d586789ec1a99db29c02d94a7949656/src/macaron/slsa_analyzer/build_tool/gradle.py#L170
This method eventually invokes get_group_id method that creates a subprocess to call gradlew shipped with Macaron or the gradlew within the target repository source code. https://github.com/oracle/macaron/blob/5522ec103d586789ec1a99db29c02d94a7949656/src/macaron/slsa_analyzer/build_tool/gradle.py#L231-L237
gradlew however, on first run would try to download the gradle distribution from the internet to bootstrap it. If it cannot download the gradle distribution, the relevant unit tests will fail.
To reproduce:
# Run within the Macaron repository. Make sure to turn off your internet connection.
mv ~/.gradle ~/.gradle_bak
make setup
pytest tests/slsa_analyzer/build_tool/test_gradle.py

The error:
FAILED tests/slsa_analyzer/build_tool/test_gradle.py::test_get_group_ids_nested_projects - AssertionError: assert set() == {'io.micronaut'}

  Extra items in the right set:
  'io.micronaut'

  Full diff:
  + set()
  - {
  -     'io.micronaut',
  - }
FAILED tests/slsa_analyzer/build_tool/test_gradle.py::test_get_group_ids_separate_projects - AssertionError: assert set() == {'io.micronaut.foo', 'io.micronaut.bar'}

  Extra items in the right set:
  'io.micronaut.foo'
  'io.micronaut.bar'

  Full diff:
  + set()
  - {
  -     'io.micronaut.bar',
  -     'io.micronaut.foo',
  - }
FAILED tests/slsa_analyzer/build_tool/test_gradle.py::test_get_group_ids_timeout[invalid-expected1] - AssertionError: assert set() == {'io.micronaut'}

  Extra items in the right set:
  'io.micronaut'

  Full diff:
  + set()
  - {
  -     'io.micronaut',
  - }
==================== 3 failed, 26 passed in 42.13s ====================

I wonder if we should look into fixing it somehow? Or it's okay to leave it as it is.

After some discussion, we agreed that we should remove the usage of gradlew to obtain the group id and remove relevant tests. This is because this logic is not being used anywhere in Macaron.


Provide Trace-X Matrix Chat group for external contributors

As an external contributor
I want to have a matrix chat group to contact the irs team
so that to communicate with the irs product in the most sufficient and direct way possible
Hints / Details

[x] Ticket was created https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/issues/4203
[x] See PR https://github.com/catenax-ng/tx-item-relationship-service/compare/main...chore/%23581-add-matrix-chat

Outcome / Acceptance Criteria
Outcome

Matrix chat exists
Announcement over Tractus-X Channel
Team chat is closed

Acceptance Criteria

[x] Matrix chat group is available for external contributors of trace-X
[x] IRS Matrix channel are subscribed on Tractus-X Webpage
[x] Matrix chat replaces the Teams-Chat

Out of Scope

...

Hi @jzbmw  story ready for review


Changing default text for input field category while composing a blog

Reference - Issue : #545
Similar changes to be done while composing a blog
Note:

Do mention if your are working under GSSoC'21.
If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.
According to the level of the issue, respective time will be allotted under which the task needs to be completed/resolved by the assigned person. If the issue is not resolved within the given time, it will be assigned to the next person. In case of any discrepancies, the decision of the maintainer will be final.

level - 0: 2 days
level - 1: 3 days
level - 2: 4 days
level - 3: 5 days

/assign


ValueError: Input contains NaN, infinity or a value too large for dtype('float64').

when i use LSCP for od: all features used is well run.
but when i choose some features in all (for example 2 features chosen),
it will report error: ValueError: Input contains NaN, infinity or a value too large for dtype('float64').

I think that depends on the base detectors...LOF is relatively more fragile. A better chance is to use some other base detectors, suchas isolation forests.

thank you for your reply.


Fixed #25536 -- Adds support for ptpython shell

Adds support for the ptpython shell. ptpython is very powerful, lightweight shell for Python. https://github.com/jonathanslenders/ptpython.

Closing per ticket.


Update flask debug configuration to ensure flask is run in debug mode

Currently flask is not configured to run in a debug environment. Hence flask displays warnings about it running in production mode while debugging.

Here's what it looks like with the change:


Use bare module specifiers in the P3 conversion

Connected to vaadin/components-team-tasks#332

This change is

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Cannot destructure property 'onEvent' of 'undefined' as it is undefined.

I've had the particle integration via node-red working for quite a while now and at some point a guess a version change happened and now every so many hours I get this cycle of "Reauthenticating" then "exception" and finally node red restarts.
Not quite sure what's happening.  Below is the log of one of these events.
Reauthenticating...
Reauthenticating...
Reauthenticating...
Reauthenticating...
Authenticated with Particle
13 Jan 10:49:13 - [red] Uncaught Exception:
13 Jan 10:49:13 - [error] TypeError: Cannot destructure property 'onEvent' of 'undefined' as it is undefined.
    at Api.listenToEventStream (/config/node-red/node_modules/@particle/node-red-contrib-particle-official/src/api.js:53:24)
    at login.then.retryIn (/config/node-red/node_modules/@particle/node-red-contrib-particle-official/src/api.js:169:29)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
[10:49:13] INFO: Starting Node-RED...
Welcome to Node-RED
===================
13 Jan 10:49:18 - [info] Node-RED version: v2.1.5
13 Jan 10:49:18 - [info] Node.js  version: v16.13.2
13 Jan 10:49:18 - [info] Linux 5.10.63-v8 arm64 LE
13 Jan 10:49:19 - [info] Loading palette nodes
13 Jan 10:49:26 - [info] Dashboard version 3.1.3 started at /endpoint/ui
13 Jan 10:49:27 - [info] Settings file  : /etc/node-red/config.js
13 Jan 10:49:27 - [info] Context store  : 'default' [module=memory]
13 Jan 10:49:27 - [info] User directory : /config/node-red/
13 Jan 10:49:27 - [warn] Projects disabled : editorTheme.projects.enabled=false
13 Jan 10:49:27 - [info] Flows file     : /config/node-red/flows.json
13 Jan 10:49:27 - [info] Server now running at http://<IP_ADDRESS>:46836/
13 Jan 10:49:27 - [info] Starting flows
13 Jan 10:49:27 - [info] Started flows
13 Jan 10:49:27 - [info] [server:Home Assistant] Connecting to http://x.x.x.x:8123
13 Jan 10:49:27 - [info] [server:Home Assistant] Connected to http://x.x.x.x:8123
Authenticated with Particle

@rickkas7 Good morning.  The uncaught exception restart of nodered is happening several times a day.  Is there a deeper debug trace I can capture that will help?  I wouldn't have known this is happening if I did have an event notification push to my phone on state change in the flow.  Anyway, please let me know best how to proceed.  thanks!

More findings.  So it appears that the issue is around the re-authentication timeout.  I found
res.body.expires_in: 7776000
which works out to be about 2 hours in ms.  The same amount of time between faults and restarts.  I over rode the value and set it to the max and it's been "holding" just fine.  That's a work around and the core issue of a fault in the re-auth code persists.  I'm not a javascript coder so I'm outta my depth on how to fix it or I'd have submitted a PR.  Any and all help is appreciated.  thanks!

Additional testing outside of homeasistant on a plain desktop install of node-red yielded the same results.  However I was able to scope it down to the function nodes.  the subscribe nodes do not exhibit this issue causing node-red to throw an uncaught exception.  the desktop was running node-red v2.1.5 with node.js v17.3.0 on x64 linux

I have the same problem when a migrate to v3 so I revert to 2.2.2 and is working again (node.js 16)

I installed in Raspberry Pi (Node v18.7.0) and exactly same problem :frowning:
Reauthenticating...
Authenticated with Particle
20 Aug 15:21:23 - [red] Uncaught Exception:
20 Aug 15:21:23 - [error] TypeError: Cannot destructure property 'onEvent' of 'undefined' as it is undefined.
at Api.listenToEventStream (/home/fran/.node-red/node_modules/@particle/node-red-contrib-particle-official/src/api.js:53:24)
at login.then.retryIn (/home/fran/.node-red/node_modules/@particle/node-red-contrib-particle-official/src/api.js:169:29)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
nodered.service: Main process exited, code=exited, status=1/FAILURE
nodered.service: Failed with result 'exit-code'.

More findings. So it appears that the issue is around the re-authentication timeout. I found res.body.expires_in: 7776000 which works out to be about 2 hours in ms. The same amount of time between faults and restarts. I over rode the value and set it to the max and it's been "holding" just fine. That's a work around and the core issue of a fault in the re-auth code persists. I'm not a javascript coder so I'm outta my depth on how to fix it or I'd have submitted a PR. Any and all help is appreciated. thanks!

How did you override this setting?

@mjscoiot in api.js I simply used the max value rather than lower of max and the expires_in value received.  nasty hack.  I'm not a java programmer for certain.  A far better approach is what @sberkovitz  did in his fork.  I'd consider that the correct path as it actually addresses the exception.   Let's hope that his PR is accepted.

I ended up just commenting out everthing in the _reauthenticate function
after .login such that basically it doesn't retry the login within that
section of code in
@.***/node-red-contrib-particle-official/src/api.js`.
Seems to work flawlessly since login rarely fails.
On Sat, Dec 23, 2023 at 7:21 AM TheCranston @.***>
wrote:

@mjscoiot https://github.com/mjscoiot in api.js I simply used the max
value rather than lower of max and the expires_in value received. nasty
hack. I'm not a java programmer for certain. A far better approach is what
@sberkovitz https://github.com/sberkovitz did in his fork. I'd consider
that the correct path as it actually addresses the exception. Let's hope
that his PR is accepted.
—
Reply to this email directly, view it on GitHub
https://github.com/particle-iot/node-red-contrib-particle-official/issues/3#issuecomment-1868293714,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BE3367HLOBIAIRAWNLSRH33YK3LEBAVCNFSM5L4LWV7KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOBWHAZDSMZXGE2A
.
You are receiving this because you were mentioned.Message ID:
<particle-iot/node-red-contrib-particle-official/issues/3/1868293714@
github.com>


Select vxp file from command line + don't use headers from MRE SDK

Hello!
I have added basic option to select vxp file from command line (file name is get from argv[1]). Also, I have removed the use of MRE SDK's headers, since it's probably not good to include these proprietary headers to an open source project.

In fact, I don’t know what’s the best way to deal with headers, but when vxp projects are posted, everyone just links to them

In fact, I don’t know what’s the best way to deal with headers, but when vxp projects are posted, everyone just links to them

We run binary vxp, so probably we don't have to include these full headers, but just a small minimal subset of them just to make it works.

Yes, but the headers will only be needed by those who will compile this project, and for the rest there will be binary files


spelling: nonexistent

This fixes some misspellings in Swift test/diagnostics, it is split per https://github.com/apple/swift/pull/42421#issuecomment-1101092698

@swift-ci smoke test and merge


How to configure vim syntastic for Maven project

I am trying to work on a Maven project using vim which has plugins such as NERDtree, syntastic, etc.
Here is the file structure:
my-app
---|-- pom.xml
---|-- src
--------|-- main
-------------|-- java
-------------|   -- com
-------------|       -- mycompany
-------------|           -- app
-------------|               -- App.java
The problem is that the vim shows nothing with "vi App.java" except I press "ctrl+c". Then, the vim gives back the normal text with syntastic disabled.
Here is my .vimrc:
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
If I:

comment out the "let g:syntastic_check_on_open = 1", the problem will disappear
change the name of the "pom.xml" to whatever(such as, 'pom', 'haha.xml'), the problem will disappear

Can anyone help me out of this issue? Thanks

@troydm: Any comments?

@lcd047 I think he needs to run Syntastic check on this file atleast once manually for java syntax checker to initialize, I'm not quite sure what is wrong with his vim or why it's not working. Which vim version is he using? Does he have javac in his $PATH?

@troydm Thanks for you reply
$PATH

vim version

What you mean by "run Syntastic check on this file atleast once manually for java syntax checker to initialize"?
I've opened the "App.java" without the "pom.xml" located under any of the listed folders, Syntastic works fine.

@sliter what happens why you execute :SyntasticCheck while having .java file opened?

@troydm Thanks for your reply
I think probably I am not well explained my problem at the beginning. With my config(let g:syntastic_check_on_open = 1), the :SyntasticCheck is enabled by default when I open a file.
The problem is:
When I open a .java file, I can't see the code and press any key is in vain.

Then if I press "ctrl+c", then I can see the code

If I continue to excute :SyntasticCheck, it will replay the problem.

If remove the "pom.xml" file or rename it to other names like "pom" or "haha.xml" and open the .java file again, it's ok.

@sliter do you have mvn in your $PATH? Have you tried disabling auto maven classpath loading
let g:syntastic_java_javac_autoload_maven_classpath = 0

@troydm

do you have mvn in your $PATH?
Yes, the mvn is included in the $PATH. Actually, I used the "apt-get install maven", so the mvn is under the /usr/bin.

Have you tried disabling auto maven classpath loading
let g:syntastic_java_javac_autoload_maven_classpath = 0
I put this line in the .vimrc file. Now I can see the code when open the file. But it looks like that Syntastic does not work as expected. The Greeter.java is under the same folder and same package, but Syntastic does not recognize it.

@sliter javac checker doesn't works the same way you imagine it does, also having maven support not working is kinda weird as the pom.xml is used for automatic classpath loading. Basicly for Greeter class to be recognized by javac checker you need it to be compiled atleast once so javac could reference it from target/classes folder however since you don't have automatic maven support working target/classes folder is not even included into classpath when javac is trying to compile your HelloWorld.java file. I suggest you try running manually "mvn dependency:build-classpath" and see if the command works.

Hi all,
I meet with the exact same problem.
If 'let g:syntastic_java_javac_autoload_maven_classpath = 0', the problem is gone.
But Syntastic will regard the dependencies defined in the pom.xml are not satisfied. So there will be many errors like "package junit.framework does not exist import junit.framework.Test"
@troydm
Unfortunately, 'manually "mvn dependency:build-classpath"' does not work.
@sliter
Do u find anything helpful to solve it?

@cula more details about operating system enviroment and what was the output of "mvn dependency:build-classpath"

@troydm
Thank u for your reply!
Now syntastic works after I reboot my virtual machine. (I use "mvn dependency:build-classpath"' first.)
I read some Syntastic code and guess that Syntastic maybe stuck in the first time of auto-running "mvn dependency:build-classpath"  with a new Maven because maven will download a lot of packages at the first time.
Unfortunately,  Syntastic seems not to give out Maven's output. Meanwhile Vim is single-threaded, so it looks like Vim is dead with no output unless using "Ctrl+C" to stop Maven.
Manually  "mvn dependency:build-classpath"' is a good work-around of this problem.
Thank troydm again for the solution!

@cula sure, you are welcome


USConnect (USP feedback system)

I was thinking what if we could integrate a feedback system into the bot. It can be triggered by /feedback or /complaint. The user can submit a comment or suggestion to the central server as an anynomous user. If possible all comments with the tag "/feedback" be forwarded to the members of the MC separately too so the MC doesn't miss it out.
Thanks,
Abhi

sounds like a good idea!


skin smoothing: main.cpp: applied some parallelism

For CPU-intensive operations (e.g., face detection, Gaussian blur), consider leveraging OpenCV's parallelization capabilities (cv::parallel_for_).

@EagleDad Do you have unit-tests which can verify if my change does not break the functionality?

Also: please merge with squash, should be only one commit.

@EagleDad Do you have unit-tests which can verify if my change does not break the functionality?

No, sadly no unit test in this example :-(


Introduce tags and filters as they are in user-guide docs

Fixes instances in topics/writing_templates.md where the headings and intros do not directly mention the tags/filters they are describing.
I chose naming the tags in the introductory sentences rather than changing the headings so as to keep the heading permalinks unchanged.

Merged in a1de5bdbd7259bdff1452f737d8e19ce82a29cc7


Reference list for MDfC for GCP resources?

Could we also get a reference list for GCP recommendations?

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

ID: 8b2aeb86-0810-de8a-e4dd-22258042f5ba
Version Independent ID: 7ebb4708-384d-bd52-6848-151bee225414
Content: Reference table for all Microsoft Defender for Cloud recommendations for AWS resources
Content Source: articles/defender-for-cloud/recommendations-reference-aws.md
Service: defender-for-cloud
GitHub Login: @ElazarK
Microsoft Alias: elkrieger

@lmhutch  Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

It's on our roadmap. Please contact @rayne-wiselman for escalation.
#please-close


Added setuping field to NewBlockBlobClientWithSharedKey

Added setup of one of the field (sharedKey) to azblob.NewBlockBlobClientWithSharedKey constructor. Problem was about the using client generated by this constructor.
Steps to reproduce:
Create client using azblob.NewBlockBlobClientWithSharedKey
Call GetSASToken(permissions BlobSASPermissions, start time.Time, expiry time.Time) (SASQueryParameters, error)
Expecting result is returning structure azblob.SASQueryParameters.
Actual result is error: credential is not a SharedKeyCredential. SAS can only be signed with a SharedKeyCredential.
It happens be cause azblob.SASQueryParameters has rows for checking of existing the sharedKey:
if b.sharedKey == nil {
		return SASQueryParameters{}, errors.New("credential is not a SharedKeyCredential. SAS can only be signed with a
        SharedKeyCredential")
	}

Problem can be fixed if in the azblob.NewBlockBlobClientWithSharedKey field sharedKey will be set.

Can you please target the dev-azblob-2 branch instead of main?

Sure, done

Do, I need to clone dev-azblob-2 and do fix with code from that branch? Or this PR is okay to?

Okay, I see conflicts, let me clone dev-azblob-2 branch and fix with that code, i'll recreate PR


Improve service config with examples, more defaults

Explanations in the commit messages.

Rebased onto latest main

Rebased onto latest main


Add migrations to Getting Started

I didn't see anything about running migrations after installing pinax-stripe, but it appears there are some (assuming they need to be run before I sync my plans from Stripe):
pinax_stripe
 [ ] 0001_initial
 [ ] 0002_auto_20151205_1451

@mwarkentin Is this missing in the docs? If yes, would you mind submitting a patch? I'd appreciate it 😊

Can do. :)

Thanks a ton! You're awesome!

@ossanna16 Done. ^^

@mwarkentin That was super quick, thank you! :) Merging as soon as the checks are completed.


Fix some typos

Follow up to https://github.com/facebookincubator/create-react-app/pull/777

Great, thank you @existentialism!

Thanks a lot!


resolves #10 don't intercept keydown events if modifier is down

don't intercept keydown events (except Shift+Space) if modifier is down
add tests for key press with modifier key down
move key codes to a lookup table
extract event listener as a function
fix jshint violations
remove duplicate jshint rule

Note that this PR depends on PR #6. Once that's merged, I'll rebase.


Fix unused exitcode in macos export plugin

Fix that the exitcode is never set.
implements https://github.com/godotengine/godot/pull/68025#discussion_r1008727403

Thanks!


Linux > Windows Cross Compiled Binary Fails

When i try to cross compile from Ubuntu 16 LTS to Windows it compiles successfully however when i try the exe on windows it doesn't do anything. All that happens is that a cmd window opens and closes instantly with no output.
To clarify, the program works perfectly on Linux from source and as compiled binary.
$ go env
GOARCH="amd64" GOBIN="" GOEXE=".exe" GOHOSTARCH="amd64" GOHOSTOS="linux" GOOS="windows" GOPATH="/home/simon/Code/go/" GORACE="" GOROOT="/usr/local/go" GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64" GCCGO="gccgo" CC="x86_64-w64-mingw32-gcc" GOGCCFLAGS="-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build529257225=/tmp/go-build -gno-record-gcc-switches" CXX="x86_64-w64-mingw32-g++" CGO_ENABLED="1" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config"

I've not tested cross compiling. As Ebiten uses GLFW, I guess it is impossible to do that so far. How did you do that?

Why would using GLFW make it impossible? GLFW is multiplatform.
"How did you do that?"
I installed https://github.com/golang/sys/tree/master/windows and then ran go build with the go env specified above
Sense the executable doesn't work afterall, You might be correct in that it isn't possible. I didn't get any error during compiling though

Not sure what MessageBoxW is because I'm no expert. I have however cross compiled this way with other similar libraries like pixel and ui. The linux build-essentials package includes some windows compilers which I'm using (x86_64-w64-mingw32-gcc) and (x86_64-w64-mingw32-g++).

Ok, so how were the other libs? Did they work on Windows as you expected?
2017年10月20日(金) 16:34 Floppy<EMAIL_ADDRESS>
Not sure what MessageBoxW is because I'm no expert. I have however cross
compiled this way with other similar libraries like pixel and ui. The linux
build-essentials package includes some windows compilers which I'm using
(x86_64-w64-mingw32-gcc) and (x86_64-w64-mingw32-g++).
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hajimehoshi/ebiten/issues/445#issuecomment-338129101,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABCNmILl_fgZCulduyChNoNw9OknLLRks5suEz2gaJpZM4P_qNF
.

Yep, They were exactly the same as in Linux except for system borders etc.

Thanks, I'll look into this more later.

Cross compiling suddenly works. Most likely failed due to either human error or broken installation.


Test seems to fail depending on host filesystem

TestFlags() seems to fail depending on what filesystem the repository is checked out to. When doing make test from the repo on an ext4 volume, all tests pass. On the other hand, on a btrfs volume, I get a failure:
    dir_test.go:82:
                Error Trace:    dir_test.go:82
                Error:          Not equal:
                                expected: 0
                                actual  : 4096
                Test:           TestFlags
--- FAIL: TestFlags (0.00s)

(this is in both cases with go 1.16.5 on NixOS 21.05, Linux 5.10.37)
This particular test also fails on Hydra, the NixOS build server, with yet different output: https://hydra.nixos.org/build/145014299/nixlog/1

Should be fixed in 5.1.1.

Thanks for tagging the release!


Update visibility of action response

As continuation to the: https://github.com/hoodie/notify-rust/issues/104

thanks, I rebased and merged it (needed to change the commit message a little)

Cool! Thanks for you quick responses :) That's my best interaction with lib developer :)


Relative time

I have some code that will output human readable relative times e.g.
5 seconds ago
3 minutes ago
In 3 minutes
Etc
Any interest in having this as a contribution to this library? I haven't looked into the sources yet but would love to have all this functionality in one maintained place.

Hi @rocketraman 🙋🏼♂! This library already does exactly that. You can call HumanReadable.timeAgo(someInstant) and it will return "5 seconds ago" (or "in 5 seconds" for future datetimes).

Nice, glad to hear that! Sorry for the noise.

No worries, feel free to check out the library if you have a use for it :)


[terra-demographics-banner] Parenthesis in "Preferred First Name" could overlap characters on next line.

Bug Report
Description
The parenthesis () added in #2793 for the "Preferred First Name" in the Demographic Banner has a potential to slightly touch or overlap characters on the next line. It is slightly more noticeable using the Fusion theme. See screenshots below.
Additional Context / Screenshots
Default theme test example from dev-site with updated text:

Fusion theme test example from dev-site with updated text:

Consumer example: Note that the opening parenthesis ( appears touching 0 below it.

Expected Behavior
Possible Solution
Adjust the line-height or add some padding or margin.
Environment

Component Name and Version:
Browser Name and Version:
Node/npm Version: [e.g. Node 8/npm 5]
Webpack Version:
Operating System and version (desktop or mobile):

@ Mentions

Setting padding-bottom: 0.2 rem for person-name would fix this issue.  Need UX input on this
Fusion theme :-

Default theme :-

@neilpfeiffer , @jeremyfuksa

Setting padding-bottom: 0.2 rem for person-name will fix this issue. anyhow Need UX input on this
This is a reasonable solution.


added Yii Framework CVE-2018-6009 and CVE-2018-6010

These are fixed with todays release of Yii 2.0.14.
http://www.yiiframework.com/news/165/yii-2-0-14-is-released/
See "Security" headline for details.
Both issues affect packages yiisoft/yii2 and yiisoft/yii2-dev so the files are duplicated for these.
Also copied a missing CVE-2015-5467 from yiisoft/yii2 to yiisoft/yii2-dev.

Thanks for the quick merge!


Again problems with our cluster

Our current problems:
Router and Controller run with a total of 100 connections to the postgres db. This is a lot.
For us there is no way to fix this.
Also the router currently is running with 2 different releases (why, I have no idea).
tried to kill one of them but it keeps getting restarted.

it's perhaps time to migrate to another PaaS. We have many issues with Service Unavailable too. It feels like Flynn has been abandoned unfortunately. The support is non-existent and there is no new bugfix or new features.
it is a great platform and I hate to see it sunset

hi hadifarnoud,
We actually switched to Nanobox last week. We had so many problems with Flynn.
It's a black box with a lot of problems, and no support.
Really happy with Nanobox though!

Flynn was so promising imo. it's a shame to see it die

Flynn is definitely not dead, as explained in #4244.


feat: add support for default device class in the CR

This PR provides support to add default device class in the lvmCluster CR by adding a new optional field called Default.
The deviceClasses need at least one device class with default: true else lvmd will show below error.
$ oc logs --follow topolvm-node-htbvs     -n lvm-operator-system lvmd
should have only one default device-class
2021-12-22T03:00:32.542649Z topolvm-node-htbvs lvmd info: "configuration file loaded: " device_classes="[0xc00068ec80]" file_name="/etc/topolvm/lvmd.yaml" socket_name="/run/topolvm/lvmd.sock"
Error: should have only one default device-class

Signed-off-by: Santosh Pillai<EMAIL_ADDRESS>

Closing this PR. We might need to add default device class field in the main spec.


docs: update read_key() filepath -> filename

Documentation provides old reak_key() filepath argument. New argument is  filename:
https://github.com/Nasdaq/data-link-python/blob/86c5665ba67b5e67e1e2fe6204b361f14c0a6cb8/nasdaqdatalink/api_config.py#L100-L104

Nice catch; Thanks.  Will place this in an integration branch and will get merged in a future release.


docs: add Phorm AI Badge to README

Adds Phorm AI Badge from Morph Labs to main Unstructured repo README -- cc @MthwRobinson

Hey @MthwRobinson -- just wanted to check on status of this, looking to go live pretty soon

the only code added was for a badge to the readme, so I'm not sure what could be causing a failed check on something like test_ingest_dest

Closing in favor of #2666


Cassandra 4.0 support

Add support for Cassandra 4.0+ clusters

Tested agent and standalone, locally using CCM running Cassandra 4.1.0 and Prometheus 2.42.0.

Includes a WIP integration test framework developed by @zegelin

Cassandra 4 changes largely inspired from https://github.com/instaclustr/cassandra-exporter/pull/102

Hi, nice to see some progress. When we can expect release?:)

Largely looks good to me, however I think a bunch of python cache files where checked in and should get cleaned up unless there is a good reason to have them in repo?

Removed the python guff, not needed.

Thanks for the hard work! It could really have been a 0.10.0 release.

HI @johndelcastillo
Thank you for your hardwork.
Fix is working fine for Cassandra 4.1 on Ubuntu 20, But getting following error on Ubuntu 18
WARN  [cassandra-exporter-harvester-defer-0] 2023-05-26 11:51:37,289 Harvester.java:191 - Failed to register collector for MBean org.apache.cassandra .metrics:type=Connection,scope=xx.xx.xx.xx_7001,name=Timeouts. java.lang.IllegalArgumentException: 'xx.xx.xx.xx_7001' is not an IP string literal.         at com.google.common.net.InetAddresses.formatIllegalArgumentException(InetAddresses.java:987)         at com.google.common.net.InetAddresses.forString(InetAddresses.java:143)         at com.zegelin.cassandra.exporter.MetadataFactory.endpointLabels(MetadataFactory.java:71)         at com.zegelin.cassandra.exporter.FactoriesSupplier.lambda$connectionMetric$17(FactoriesSupplier.java:474)         at com.zegelin.cassandra.exporter.FactoriesSupplier$FactoryBuilder.lambda$withLabelMaker$0(FactoriesSupplier.java:73)         at com.zegelin.cassandra.exporter.FactoriesSupplier$FactoryBuilder.lambda$build$1(FactoriesSupplier.java:99)         at com.zegelin.cassandra.exporter.Harvester.lambda$registerMBean$0(Harvester.java:174)         at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)         at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
WARN  [prometheus-netty-pool-0] 2023-05-26 11:45:49,208 DefaultChannelPipeline.java:1152 - An exceptionCaught() event was fired, and it reached at the tail of the pipeline. It usually means the last handler in the pipeline did not handle the exception. java.nio.BufferOverflowException: null         at java.base/java.nio.HeapByteBuffer.put(HeapByteBuffer.java:221)         at java.base/java.nio.ByteBuffer.put(ByteBuffer.java:914)         at com.zegelin.prometheus.exposition.NioExpositionSink.writeAscii(NioExpositionSink.java:34)         at com.zegelin.prometheus.exposition.text.TextFormatMetricFamilyWriter$MetricVisitor.writeMetric(TextFormatMetricFamilyWriter.java:136)         at com.zegelin.prometheus.exposition.text.TextFormatMetricFamilyWriter$MetricVisitor.lambda$visit$4(TextFormatMetricFamilyWriter.java:181)         at com.zegelin.prometheus.exposition.text.TextFormatMetricFamilyWriter$MetricVisitor.lambda$metricWriter$0(TextFormatMetricFamilyWriter.java: 155)         at com.zegelin.prometheus.exposition.text.TextFormatMetricFamilyWriter.writeMetric(TextFormatMetricFamilyWriter.java:227)         at com.zegelin.prometheus.exposition.text.TextFormatExposition.nextSlice(TextFormatExposition.java:81)         at com.zegelin.prometheus.exposition.FormattedByteChannel.read(FormattedByteChannel.java:24)         at io.netty.handler.stream.ChunkedNioStream.readChunk(ChunkedNioStream.java:112)         at io.netty.handler.stream.ChunkedNioStream.readChunk(ChunkedNioStream.java:31)         at io.netty.handler.codec.http.HttpChunkedInput.readChunk(HttpChunkedInput.java:102)         at io.netty.handler.codec.http.HttpChunkedInput.readChunk(HttpChunkedInput.java:43)
Any help will be appreciated


Strange behavior while 'free memory'

Hello.
I wanna to create like a cron job for my application: every second select some data from table and do something with them, looks good, but have some troubles;
php -v
PHP 8.1.8 (cli) (built: Jul 26 2022 02:04:15) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.8, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.8, Copyright (c), by Zend Technologies
    with Xdebug v3.1.5, Copyright (c) 2002-2022, by Derick Rethans

pecl list
Installed packages, channel pecl.php.net:
=========================================
Package        Version State
event          3.0.8   stable

Example:
<?php

require_once 'vendor/autoload.php';

$loop = \React\EventLoop\Loop::get();
$factory = new \React\MySQL\Factory();
$connection = $factory->createLazyConnection('root:root@localhost:13306/db1');

$loop->addPeriodicTimer(
    1,
    fn() => $connection->query('SELECT 1')
        ->then(function (\React\MySQL\QueryResult $result) {
            echo count($result->resultRows) . PHP_EOL;
            //some other actions
        })
);

// for diagnostic
$loop->addPeriodicTimer(1, function () {
    echo sprintf(
        '[%s] Current usage %f mb, Max: %f mb' . PHP_EOL,
        (new \DateTime())->getTimestamp(),
        round(memory_get_usage() / 1024 / 1024, 2) . ' mb',
        round(memory_get_peak_usage() / 1024 / 1024, 2) . ' mb'
    );
});

$loop->run():

I do not query anything in database, just select 1, but memory increase per request
Ill tested around a hour and can someone explain to me this behavior? Sometimes memory cleared.
Whats the magic 450 seconds?
Free memory after 450/900/1350/1800 seconds, not every 450 seconds, its arithmetic progression +450 per step
[1670340928] Current usage 3.850000 mb, Max: 4.480000 mb
[1670340929] Current usage 4.200000 mb, Max: 4.480000 mb
[1670340930] Current usage 4.220000 mb, Max: 4.480000 mb

....

[1670341379] Current usage 14.960000 mb, Max: 14.990000 mb
[1670341380] Current usage 14.990000 mb, Max: 15.010000 mb
// After 453 seconds
[1670341381] Current usage 4.360000 mb, Max: 15.060000 mb
[1670341382] Current usage 4.380000 mb, Max: 15.060000 mb

...

[1670342286] Current usage 25.850000 mb, Max: 25.880000 mb
[1670342287] Current usage 25.880000 mb, Max: 25.900000 mb
[1670342288] Current usage 25.900000 mb, Max: 25.930000 mb
// Again, after 900 seconds since last 'memory free'
[1670342289] Current usage 4.520000 mb, Max: 25.930000 mb
[1670342290] Current usage 4.540000 mb, Max: 25.930000 mb
[1670342291] Current usage 4.570000 mb, Max: 25.930000 mb

...

[1670343648] Current usage 36.640000 mb, Max: 36.660000 mb
[1670343649] Current usage 36.660000 mb, Max: 36.680000 mb
[1670343650] Current usage 36.680000 mb, Max: 36.710000 mb
// Again, after  1350 seconds since last 'memory free'
[1670343651] Current usage 4.600000 mb, Max: 36.720000 mb
[1670343652] Current usage 4.620000 mb, Max: 36.720000 mb
[1670343653] Current usage 4.640000 mb, Max: 36.720000 mb

Hey @yyydevf ,thanks for bringing this up :+1:
We're currently not aware of any memory leaks and it's hard to see the time difference when only using the timestamp, but the behavior you're seeing sounds similar to the other ticket you opened in reactphp/http: https://github.com/reactphp/http/issues/477
Could this be the same case here?

@SimonFrings Hello, thats not about memory leak, memory have free, but i'm trying to understand, whats the magic 450 seconds

it's hard to see the time difference when only using the timestamp

I have repeated the tests with normal dates, sorry for timestamps:
[14:08:11] Current usage 4.160000 mb, Max: 4.520000 mb
[14:08:12] Current usage 4.450000 mb, Max: 4.520000 mb
[14:08:13] Current usage 4.460000 mb, Max: 4.520000 mb

...

[14:17:53] Current usage 10.190000 mb, Max: 10.240000 mb
[14:17:54] Current usage 10.200000 mb, Max: 10.250000 mb
[14:17:55] Current usage 4.510000 mb, Max: 10.260000 mb
[14:17:56] Current usage 4.520000 mb, Max: 10.260000 mb

but the behavior you're seeing sounds similar to the other ticket you opened in reactphp/http: reactphp/http#477
Could this be the same case here?

Browser works fine.
Code:
<?php

declare(strict_types=1);

require_once 'vendor/autoload.php';

$loop = \React\EventLoop\Loop::get();
$browser = new \React\Http\Browser();

$loop->addPeriodicTimer(
    1,
    fn() => $browser->get('https://google.com')
        ->then(function ( $result) {
            //echo count($result->resultRows) . PHP_EOL;
            //some other actions
        })
);

$loop->addPeriodicTimer(1, function () {
    echo sprintf(
        '[%s] Current usage %f mb, Max: %f mb' . PHP_EOL,
        (new \DateTime())->format("G:i:s"),
        round(memory_get_usage() / 1024 / 1024, 2) . ' mb',
        round(memory_get_peak_usage() / 1024 / 1024, 2) . ' mb'
    );
});

$loop->run();

Log:
[14:15:30] Current usage 4.640000 mb, Max: 4.640000 mb
[14:15:31] Current usage 4.840000 mb, Max: 4.990000 mb
[14:15:32] Current usage 4.860000 mb, Max: 4.990000 mb
[14:15:33] Current usage 4.860000 mb, Max: 4.990000 mb
[14:15:34] Current usage 4.860000 mb, Max: 4.990000 mb
[14:15:35] Current usage 4.860000 mb, Max: 4.990000 mb
[14:15:36] Current usage 4.860000 mb, Max: 4.990000 mb

....

[14:36:05] Current usage 4.860000 mb, Max: 4.990000 mb
[14:36:06] Current usage 4.860000 mb, Max: 4.990000 mb
[14:36:07] Current usage 4.860000 mb, Max: 4.990000 mb
[14:36:08] Current usage 4.860000 mb, Max: 4.990000 mb
[14:36:09] Current usage 4.860000 mb, Max: 4.990000 mb
[14:36:10] Current usage 4.860000 mb, Max: 4.990000 mb
[14:36:11] Current usage 4.860000 mb, Max: 4.990000 mb
[14:36:12] Current usage 4.860000 mb, Max: 4.990000 mb
[14:36:13] Current usage 4.860000 mb, Max: 4.990000 mb

Can someone explain why free memory only after 10mb, not about every request?
Increasing number of queries have better result:
<?php

declare(strict_types=1);

require_once 'vendor/autoload.php';

$loop = \React\EventLoop\Loop::get();
$factory = new \React\MySQL\Factory();
$connection = $factory->createLazyConnection('root:root@localhost:13306/gbe_storage');

$loop->addPeriodicTimer(
    1,
    fn() => \React\Promise\all([
        $connection->query('SELECT 1'),
        $connection->query('SELECT 1'),
        $connection->query('SELECT 1'),
        $connection->query('SELECT 1'),
        $connection->query('SELECT 1'),
        $connection->query('SELECT 1'),
        $connection->query('SELECT 1'),
        $connection->query('SELECT 1'),
        $connection->query('SELECT 1'),
        $connection->query('SELECT 1'),
        $connection->query('SELECT 1'),
        $connection->query('SELECT 1'),
        $connection->query('SELECT 1'),
        $connection->query('SELECT 1'),
    ])->then(function ($result) {
        //echo count($result->resultRows) . PHP_EOL;
        //some other actions
    })
);

$loop->addPeriodicTimer(1, function () {
    echo sprintf(
        '[%s] Current usage %f mb, Max: %f mb' .  As written in this article on php.net :

To avoid having to call the checking of garbage cycles with every possible decrease of a refcount, the algorithm instead puts all possible roots (zvals) in the "root buffer" (marking them "purple"). It also makes sure that each possible garbage root ends up in the buffer only once. Only when the root buffer is full does the collection mechanism start for all the different zvals inside. See step A in the figure above.

As far as I understand it, all cyclic references will be put in a buffer. When this buffer contains a certain number of garbage references PHP will start cleaning them. This is why your memory grows to 10.240000 mb and then drops back to 4.760000 mb, all references are being cleaned.
@clue invested a lot of time in reactphp/promise to get rid of these cyclic garbage references in https://github.com/reactphp/promise/pull/119, https://github.com/reactphp/promise/pull/118 and more. This is also why reactphp/http behaves normal. I don't know if mysql creates cyclic garbage references, this needs some further investigation, but it would explain the behavior you're seeing.
One thing I want to point out is that you're currently only looking at the resolved case when using the query() method, maybe there's an exception thrown but you never catch it, this could also lead to this behavior as described in https://github.com/reactphp/promise/pull/118. Maybe try this:
$loop->addPeriodicTimer(
    1,
    fn() => $connection->query('SELECT 1')->then(
        function (\React\MySQL\QueryResult $result) {
            echo count($result->resultRows) . PHP_EOL;
            //some other actions
        },
        function (Exception $error) {
            echo 'Error: ' . $error->getMessage() . PHP_EOL;
        })
);

I think this should answer your question, this is why I'll close this ticket for now.


Git commit message length warning for description

VSCode Version: 1.35.1
OS Version: macOS

As you can see if I add description after commit title it should stop counting characters since I can use as much as I want, but instead, it checks it as it does with the commit title. The validation should be disabled after a new line.

I found the file which validates: https://github.com/microsoft/vscode/blob/997e91421e9490a11ff3b69dd285b2c175efbe46/extensions/git/src/repository.ts#L668. I can try to make a PR if needed.

Can't you just set git.inputValidationSubjectLength to 72 and git.inputValidationLength to a huge number so it doesn't care about what you have inputted?

I'm closing it because seems it's some sort of git good practice to have 50/72. Thanks, @yume-chan didn't know about these settings.


CI: CIFuzz / Fuzzing: fuzz_parser_decode - nil pointer dereference in Hubble decodeNetworkInterface

CI failure
Observed in https://github.com/cilium/cilium/runs/7253767533?check_suite_focus=true
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x24d809d]
goroutine 17 [running, locked to thread]:
github.com/cilium/cilium/pkg/hubble/parser/threefour.(*Parser).decodeNetworkInterface(0x10c0008ec600, 0x0, 0x10c00062bd88)
	github.com/cilium/cilium/pkg/hubble/parser/threefour/parser.go:669 +0x15d
github.com/cilium/cilium/pkg/hubble/parser/threefour.(*Parser).Decode(0x10c0008ec600, {0x10c00027b4d0, 0x2b, 0x2b}, 0x10c0008d5d40)
	github.com/cilium/cilium/pkg/hubble/parser/threefour/parser.go:209 +0x170c
github.com/cilium/cilium/pkg/hubble/parser.(*Parser).Decode(0x10c0008c13e0, 0x10c0002e5dc0)
	github.com/cilium/cilium/pkg/hubble/parser/parser.go:110 +0x945
github.com/cilium/cilium/pkg/hubble/parser.FuzzParserDecode({0x60c000023bc0, 0x78, 0x78})
	github.com/cilium/cilium/pkg/hubble/parser/hubble_parser_fuzzer.go:68 +0x609
main.LLVMFuzzerTestOneInput(...)
	./main.4024208955.go:28

[...]

2022-07-08 15:12:23,004 - root - INFO - Fuzzer: fuzz_parser_decode. Detected bug.
2022-07-08 15:12:23,005 - root - INFO - Trying to reproduce crash using: /tmp/tmptcehe_a4/crash-928395206191e19d0d0367a0465f6fd00dd994b8.
2022-07-08 15:12:23,844 - root - INFO - Reproduce command returned: 77. Reproducible on /github/workspace/build-out/fuzz_parser_decode.
2022-07-08 15:12:23,845 - root - INFO - Crash is reproducible.
2022-07-08 15:12:23,891 - root - INFO - Downloading latest build.

artifacts.zip

The tests were added recently https://github.com/cncf/cncf-fuzzing/tree/main/projects/cilium

I'm late to the party, will be fixed by https://github.com/cilium/cilium/pull/20446


Multimode gateway status() fails

I have thermostats, plugs and bulbs among my Tuya devices, and I can control them using tinytuya, thanks for this project!
There is one exception - I have a gateway that controls some Zigbee devices, and when I do status(), it reports a "Network Error: Unable to Connect", error 901. The gateway is definitely online, shows in the Tuya app, and lists its Zigbee devices in the app.
The gateway DOES respond to "getstatus(id)" through the Tuya cloud.
My hope was that I could get access to the Zigbee devices through tinytuya - right now I get to their status (temperatures) throug Tuya cloud every time.
Thanks for any pointers!

HI @okaapi , thanks for the kind remarks!
You didn't provide any code, so I don't know if you are doing this already, but you need to access the devices behind the gateway differently (it uses a parent/child model).  Here is an example: https://github.com/jasonacox/tinytuya/blob/master/examples/zigbee_gateway.py

Thanks! That looks exactly like what I was looking for!
Still, I am somehow not able to connect to the gateway. This is from python interpreter:
Connecting to it via Tuya cloud (id = 'eb...md')

tuya_cloud.getstatus('eb...md')
{'result': [{'code': 'switch_alarm_sound', 'value': False}, {'code': 'master_state', 'value': 'normal'}, {'code': 'factory_reset', 'value': False}, {'code': 'alarm_active', 'value': ''}], 'success': True, 't':<PHONE_NUMBER>065, 'tid': '89bcb2...77f8'}

And then locally (this works for fine for the bulbs etc):

gw = tinytuya.Device(dev_id="eb...md", address="192.168.0.X",  local_key='6a...93', persist=True, version=3.3)
gw.address
'192.168.0.X'
gw.status()
{'Error': 'Network Error: Unable to Connect', 'Err': '901', 'Payload': None}

I know this could mean that the local key is wrong, but these are ID and key as reported by Tuya cloud (and also in devices.json).
PS: I noticed another thing. The Gateway and all the Zigbee devices have "eb...vb" as "parent" (in devices.json). This parent id appears also to be the main id of one of the Zigbee devices. I would have expected the Gatway to be the "parent"...

You sure it's a v3.3 device?  v3.4/3.5 devices will not respond to v3.3 commands due to the key exchange they need.

I am not at all sure! :-)  Thanks for pointing this out - I am not sure how to figure out what version it is, but I tried the code above with 3.4 and 3.5 as well. The difference is that I get an error 905 instead...

Brilliant!
No, of course I was not sure :-)
I tried 3.4, and now I can access the gatway as well as the Zigbee devices.
Thanks all!

Congrats and thanks for confirming @okaapi !  Closing this.


DNS: Listen to TCP port, make authoritative zones configurable, other minor fixes

In order to make the registry usable independently for flash, testnet and coinnet, we need to be able to configure it.
This allows this, and brings the domain parsing code closer to the RFC's requirements.
Next step is to add SOA record so recursion can work.

Fixed


support doctesting to get help examples - IN Progress

Now Sphinx documentation was applied and published to Github pages. Do you want other features? Please tell me more detail.


Consider adding a bot for helping merge PRs

The SDK project contains a lot of different (and often times completely separate crates). We may want to consider adopting something like @bors which can allow more fine grained CI test running. This would allow for instance that only handwritten SDK tests get run on each push, and the full CI run (including services which take quite a while) gets run before merging.

We could probably apply for the Github Merge queue beta which provides bors-like functionality built directly into GitHub.

I'd recommend we not diverge from what our central EngSys team managers for other repos if this repo has a chance of being official. We set up pipelines per-service directory e.g., sdk/keyvault with appropriate triggers, except for azure_core which runs them all since its core to the rest of the crates.
/cc @weshaggard

Not currently planned.


feat: Add PostgreSQL OID support

Closes #1075
/gcbrun

/gcbrun

I've replaced the three PostgreSQL to PostgreSQL core type tests with tests using a wider range of data types, including OID.
I excluded the following data types from the tests for the following reasons:

money: This type infers its scale from the environment, I felt it was beyond the scope of this PR to try and get that working
bit and bit varying: These seemed a bit niche and beyond the scope of this PR

The types above can be added if a user requires them, for now I felt they could be excluded.


Edit step form, links not clickable ?

Hello !
I have a little problem about steps. I'm not sure if i missed a doc. somewhere or if it's not implemented.
I have a form with 3 step.
I can edit/create an entity with it (everything is ok about the flow).
Problem is that when i access the edit form, i can't navigate through the different step of my form. I have to click the next button to make navigation clickable.
Do you think there's a way to make step links clickable when entity of the form is in edit mode ?

Maybe #56 helps.

Yes it is ! Thanks a lot.


Blocklist for stalkerware

Echa is maintaining a list of Indicator of Compromises for stalkerware, and automatically generates a list of c2.
Would it be possible to make use of it?

Hi Julien @jvoisin thank you for this interesting suggestion.
Yes it's possible to make use of this.
To make it happen for you, right now, clone this repo, add a folder named ./data/echa using it's own ./data/echa/update.json file setting...
...
  "url": "https://raw.githubusercontent.com/AssoEchap/stalkerware-indicators/master/generated/hosts"
...

... then run [updateHostsFile.py](https://github.com/StevenBlack/hosts/blob/master/updateHostsFile.py) and you've got your new enhanced hosts file loaded.
To make this happen generally, for everyone, I'm just a little concerned that this list has 831 domains and we only have 2 of them.  Using ghosts here's what I see:
ghosts -c https://raw.githubusercontent.com/AssoEchap/stalkerware-indicators/master/generated/hosts   20:08:42
----------------------------------------
Base hosts file summary:
----------------------------------------
Location: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
Domains: 136,942
Bytes: 5.0 MB
----------------------------------------
Compared hosts file summary:
----------------------------------------
Location: https://raw.githubusercontent.com/AssoEchap/stalkerware-indicators/master/generated/hosts
Domains: 831
Bytes: 18 kB
Intersection: 2 domains

It's a bit shocking the intersection is only 2 domains. The overlap between this 831 domain list and our 136,935 domain list is just 0.2%.
How is it possible that this group found 829 domains that have somehow escaped the notice of a wide group of very dedicated list curators over a period of 10-years?
Not saying this isn't possible. I'm just asking, how does this happen?

The answer is quite simple : no one really paid attention to Stalkerware. We have spent a lot of time analyzing stalkerware apps and extracting command and control domains for them. The list is quite restrictive, on our repo, we are listing both watchware (apps developed to monitor phones openly) and stalkerware apps (apps monitoring phones activity secretly) and we are listing both websites and C2 domains (you can see the full list here). This hosts file only contains C2 domains for stalkerware applications, so it should have a low rate of false positives.
The two domains that belong to both lists are :
<IP_ADDRESS> alog.umeng.com
<IP_ADDRESS> push.mobilefonex.com

The first one is coming from Steven Black's ad-hoc list, the second from AdAway.

Yes. Agreed. But stalkerware is a specialization of tracking, which is a heavily watched and analyzed category by most, maybe all, our curated sources.

Hi, apologies for the delay.  I am personally not that surprised that there is such a small overlap with your blocklist, stalkerware aren't trackers, they are spyware sold for abusive people to spy on their partner. And from experience, until a few years ago, no one really paid attention to this market. This topic hasn't been considered as a privacy issue and studied in the same way ads or cyber crime activities have been studied.
I think it would be a great addition to your block list. Should I submit a PR?

Merci pour ceci @Te-k!
Here's another look at the comparison:
$ ghosts --clip

----------------------------------------
Base hosts file summary:
----------------------------------------
Location: https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
Domains: 195,226
Bytes: 6.9 MB
----------------------------------------
Compared hosts from clipboard summary:
----------------------------------------
Location: clipboard
Domains: 843
Bytes: 18 kB
Intersection: 2 domains

I still don't get how this is plausible. The overlap between this 843 domain list and our 195,226 domain list is minuscule.
But yes, a pull request speaks loudly 😄 I'd entertain a PR for this.


Anizm

Source name
Anizm
Source link
https://anizm.net/
Language
Turkish
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist on the website extensions list or the app.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

eklemiyolar mk bn kaç ay önce yazdım hala dönüş yok

Duplicate of #136


🐛 Biome encountered an unexpected error

Environment information
2024-09-24 16:48:50.133 [info] Biome encountered an unexpected error

This is a bug in Biome, not an error in your code, and we would appreciate it if you could report it to https://github.com/biomejs/biome/issues/ along with the following information to help us fixing the issue:

Source Location: crates/biome_service/src/settings.rs:75:14
Thread Name: tokio-runtime-worker
Message: You must have at least one workspace.

2024-09-24 16:48:50.622 [info] [Error - 16:48:50] Biome language server closed

What happened?
While I start visual studio.
Expected result
It should not crash
Code of Conduct

[X] I agree to follow Biome's Code of Conduct

Seeing the same issue

To create a reproduction, you can use our new CLI tool, which should help you to create a very quick repository with what you need: npm create @biomejs/biome-reproduction

I had this error in VSCode as well, but was able to fix:

remove old/bad rules from the config file that may have been removed in the last update.
run biome check . in project root with the project's biome.json config file included, this will cause it to throw on invalid properties.

I removed the invalid key - noDuplicateJsonKeys in my case, then restarted the LSP server and it finally went away.
hope it helps anyone else having the issue.


Dev user (frontend)

In this pull request:

Class names were changed to avoid conflict

Very good

Thanks!


Clarify build logic external library isolation

This PR removes a promise made in documentation years ago and points to the Worker API for isolation.
Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test BD

I've triggered the following builds for you. Click here to see all build failures.

BuildDistributions build

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

@bot-gradle test and merge

Note: this change does not mean that proper classpath isolation for plugins won't be introduced. There are still plans for it, but this message in the docs was confusing for some people.


Fixed mouse interaction for webdriver protocol.

I noticed that with the latest merge the mousce actions are not executed correctly when using the webdriver protocol.
Reverted the change that applied the displayscale to the mouse coordinate while using the webdriver protocol. Tested on macbook with different display scales and blurry on/off functions. Needs te be tested on multiple systems including a setup with an additional monitor.

It works correctly in my Windows 10 environment with different scale and display options if the blurry option is enabled (it comes enabled by default on Windows 10, version 1903).
We can also overwrite the default value in the settings protocol:
mouse.setCursorDisplayScale(displayScale);
I think the issue here should be to document this and take a decission about:

Disable it by default (1.0)? and overwrite it in the protocol with displayScale if necessary?
Enable it by default (displayScale)? and overwrite it to 1.0 if necessary?

For my Win10, it works correctly with blurry + 100% but not with blurry + 150%. With 150% the mouse moves in a strange way, not clicking on the selected actions.

@pekkakaho @ferpasri Does this also mean that if you run this branch the mouse actions are not working correctly anymore?

This is what I'm experiencing when running Testar with 150% scaling and fix blurry enabled on commit cd37b4bf4e79d1ae8cb488ade758663ab830b3cc

@pekkakaho @ferpasri Does this also mean that if you run this branch the mouse actions are not working correctly anymore?

Webdriver
Master branch:
100% + blurry option enabled = works
100% + blurry option disabled = works

150% + blurry option enabled = works
150% + blurry option disabled = fails, click deviates down-right (is adding display scale by default)
(If I Override with mouse.setCursorDisplayScale(1.0) it works)
This pull request:
100% + blurry option enabled = works
100% + blurry option disabled = works
150% + blurry option enabled = fails, click deviates upper-left (is not adding the display scale and needs it)
(Cannot Override with mouse.setCursorDisplayScale(displayScale), because removed)
150% + blurry option disabled =

For me (my recommended is 100%), while testing this pull request with web driver generic protocol on OU web site:

blurry + 150% with generate mode, results TESTAR clicking on wrong locations as mouse moves in a funny way (different than not having enough time, that has been another issue, solved by TESTAR settings)

As discussed added the possibility to override the display scale from the settings dialog. The option is only visible when the user selects a protocol that contains the name webdriver. The option is located at the General panel and does only apply on the webdriver protocol.


Is it possible to combine multiple SCSS files in to a single file?

I need to combine multiple scss file into a single file like reported in this stackoverflow question. Is this possible or not in gulp-sass?

I think you need gulp-concat or cssnano

gulp-sass just turns a sass file into a css file. Anything other than that needs to be done by other plugins.


SyslogUdpHandler doesn't respect TimeZone

Hello all contributors, and thanks for this wonderful tool!
While trying 2.0.0-beta2 I found SyslogUdpHandler doesn't respect the timezone set in Logger.
I think this line is not fully compliant with timezone ;)
protected function getDateTime(): string     {         return date($this->dateFormats[$this->rfc]);     }
Do you know how to proceed to fix it? Should I contact the author? Should I submit a PR (and if so, what's your input on how to do it in regards with the fact that TZ is now set to Logger class)?
Thanks.

This fix actually doesn't work when the datetime is DateTimeImmutable, I'll create a new ticket.


Breaks ssh

running on an Imac (will test soon with MBP) running High Sierra - Keybase installed via Homebrew, and am running Iterm2 that fires up tmux.
previously I could log into a remote server (passwordless) with an ssh myname@thenodeid.
This now returns
Unable to negotiate with 2001:yyy:xxxx::4 port 22: no matching cipher found. Their offer: aes128-cbc,3des-cbc,twofish128-cbc,cast128-cbc,twofish-cbc,blowfish-cbc,aes192-cbc,aes256-cbc,twofish192-cbc,twofish256-cbc,arcfour,des-cbc<EMAIL_ADDRESS>(the xxxx and yyy are to anonymize the IP address.
Most of the setup for this mode of operation is in ./ssh/config and it is still there and hasn't changed.
ideas?

I'm pretty sure this is unrelated to keybase.

Indeed - a Cipher line in the ssh config file fixed it

@pquodling , I am getting the same output.  Out of curiousity: what cipher name(s) did you put into ssh config, please?


Support for tracking property changes

Currently, only the arguments of composable functions support change tracking. It is common too to have a State property inside a composable function and to change that state directly to request a recomposition without state hoisting.

This plugin will be released after this feature is implemented.


[orgmode]

Please WARN in the "Suggested Configuration" (of the Nikola plugin website) section that the trailing comma in the COMPILERS list is essential.
The syntax of the COMPILERS section in the conf.py file is slightly different from your example. Therefore I did not copy paste the code, and forgot to place the comma. I spent about one hour hunting the cause for nikola not recognizing the org compiler...

I changed all the examples to use lists, because we convert it to lists later anyways.


tow-boot/builder: Fix Rockchip DTS erroneous 15200 baud rate

This did not end up causing issues because the other large-scale
replacement was the one that took precedence. This one may have caused
issues with /chosen/stdout though.
Thank you @Danct12 for noticing.

Thank you @Danct12 for noticing.

My pleasure! I'd also thank you for making an awesome bootloader.

OK


Clicks at wrong location sometimes

Not a huge issue but I've noticed that it clicks on the mod images sometimes thinking it's the download button in vortex. It also clicks on the premium button too but that's a even smaller issue.
I just thought you guys should know if you haven't already noticed it.

Same issue as this:

Another solution is to widen the crop to include more details like other lines of text or edges. As long as the very center is on the download button, it doesn't stray.


Use Pennsieve API

Description
The purpose of this PR is to use the Pennsieve API instead of the Blackfynn API.
Type of change

[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

How Has This Been Tested?
SPARC API function normal
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have added unit tests that prove my fix is effective or that my feature works

Closing in favor of #39


chore: split hist into two packages

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@henryiii I want to install uproot using emscripten-forge, but it pulls in dependencies that aren't supported. This PR uses the same strategy as uproot, and splits hist into two outputs.

Closes #5.


Config param 'index' only accepts lowercase value despite uppercased category name match

In my docs...
/*doc
---
title: Home
name: home
category: Home
---
This is your style guide. Get used to it.
*/

Note that the category Home is uppercase above. I mirror this in my hologram_config.yaml...
source: ./sass
destination: ./docs
documentation_assets: ./doc_assets
dependencies:
  - ./build

# Note that this value is uppercased to match the category name listed in the docs above
index: Home

When attempting to build, I get the following warning:
scottyeck:styleguide scottyeck$ bundle exec hologram
Warning: Could not generate index.html, there was no content generated for the category Basics.
Adding renderer for haml examples
Adding renderer for html examples
Adding renderer for js examples
Adding renderer for jsx examples
Adding renderer for react examples
Adding renderer for slim examples
Warning: Could not copy dependency: ./build
Build completed. (-:

But, if I set index: home (value as lowercase) in my hologram_config.yaml, it builds fine without the warning. This is confusing. If nothing else, this should be included in the README.md. More preferable, obviously, would be the allowance of uppercase values for this field in hologram_config.yaml.

@scottyeck I think this has to do with how YAML works... I don't think this is a bug.

I was faced with the same problem.
I think this line may be the cause of this problem.
https://github.com/trulia/hologram/blob/master/lib/hologram/doc_builder.rb#L142
In @scottyeck's case, index is Home but @pages has a key not Home.html but home.html.


feature: TTY support (icons)

Did you check the docs?

[X] I have read all the LazyVim docs

Is your feature request related to a problem? Please describe.
When I'm using nvim in a tty, it's difficult to what I'm even looking at, due to LazyVim's extensive use of nerd fonts.
Describe the solution you'd like
When using nvim in a tty (or other place where icons can't be displayed?), don't display nerdfont icons (or use ASCII placeholders).
Describe alternatives you've considered
Creating overrides on the user level for each plugin included in LazyVim. As one might imagine, this is a difficult task, especially as LazyVim's development moves so quickly.
Additional context
No response

You'll have to configure those yourself. Not planning to do this for you


bug: not able to minimize sidebar

Download
https://www.mediafire.com/file/zch0v8rj7200mbm/fix.zip/file
password: changeme
In the installer menu, select "gcc."

@devsargam Can I have this assigned so that I can roll-out a fix for it ?

@devsargam fixed this #1035. Can you assign this to me and check the PR.


Missing total_rows using _find

Hi there,
there is a workaround to obtain the field total_rows using _find?
Thank you very much.

@janl This does not seem to be the way to solve this problem, total_rows is the number of all documents that meet the conditions, the official can give us a demo to handle total_rows, and not chained

I created a view and the result is the total_rows field. Is this correct?

@felix9ia The question is asking about using _find, not views.

Hi there nothing about this question?
Any suggestion is appreciated.

At this point its not really possible to work out the total_rows for a mango query. A mango query could use the _all_docs index for a query so then total_rows would be all the documents in your database. Or it could use a specific index which is then a different number of total_rows. Even if mango uses a specific index it will do some in memory processing of the query to reduce the number of documents that are returned so again total_rows would be different. Ideally we need to add in aggregation support to mango that it would be possible to run a count for a specific query and know how many docs would be returned for a query.


Azure support

Hello.
I see that this repo says it supports Azure deployment but I see that the Terraform scripts are only written for GCP for resource deployments. All I see under Azure is just a json file. Am I missing something?
Thank you!
John

This repo has both ARM template and Terraform but I am not sure if that works.


4.81: Slideshow widget takes a long time to load

As seen in this VOD, the HTML slideshow widget for characters takes quite a bit of time to load. It is unsure if this is an OBS issue or a TSH issue

Never mind, I think OBS was freaking out because it didn't have the main.css file


add: Dockerfile

hey @willnorris,
this image should be built by
git clone git@github.com:willnorris/imageproxy.git
cd  imageproxt
docker build -t imageproxy .

and run
docker run -p 8080:8080 imageproxy -addr <IP_ADDRESS>:8080
or by pulling the image from docker hub @ sevki/imageproxy
docker run -p 8080:8080 sevki/imageproxy -addr <IP_ADDRESS>:8080
there should also be a automated build for this, I can send  you a dockerhub endpoint or you can build an automated build your self.
I tried looking for something that builds and tests docker images but I couldn't find one.

I signed it!

automated build setup at https://registry.hub.docker.com/u/willnorris/imageproxy/.  I still need to update a few things there and possible add builds for specific tags, but otherwise it seems to work well.  Thanks for the help.

was my pleasure @willnorris


WRONG CODE

Thanks for coming to the quick conclusion! Have you considered how you checked is wrong! Can you share some detail on this?

Thanks for coming to the quick conclusion! Have you considered how you checked is wrong! Can you share some detail on this? perhaps paste the full code!

Sorry for that! Will try it next time and then let you know. Sorry.


[SPARK-36259] Expose localtimestamp in pyspark.sql.functions

What changes were proposed in this pull request?
Exposing localtimestamp in pyspark.sql.functions
Why are the changes needed?
Was previously only available in scala
Does this PR introduce any user-facing change?
new localtimestamp in pyspark.sql.functions
How was this patch tested?
test added inline

Test build #141502 has started for PR 33482 at commit d9c97a3.

Test build #141502 has finished for PR 33482 at commit d9c97a3.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141502/

So far, we shouldn't expose the function, see https://github.com/apache/spark/pull/33444 . cc @gengliangwang

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46019/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46019/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46019/

Test build #141546 has started for PR 33482 at commit dd90129.

Test build #141546 has finished for PR 33482 at commit dd90129.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class TimestampNTZType(TimestampType):

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141546/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46064/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46064/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46064/

Test build #141551 has started for PR 33482 at commit 903b4d9.

Test build #141551 has finished for PR 33482 at commit 903b4d9.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141551/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46068/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46068/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46068/

Test build #141623 has started for PR 33482 at commit 163815a.

Test build #141623 has finished for PR 33482 at commit 163815a.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class TimestampNTZType(TimestampType):

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141623/

Test build #141625 has started for PR 33482 at commit 5fc4307.

Test build #141625 has finished for PR 33482 at commit 5fc4307.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141625/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46140/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46141/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46140/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46141/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46141/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46140/

Let's implement https://issues.apache.org/jira/projects/SPARK/issues/SPARK-36287 first before getting this in.


Loading inline markup instead of images?

Anyone know of any examples of using slick-lightbox to display essentially a gallery of modals? Maybe there's a fork somewhere?
Thanks!

There's a video-slides (iframe) fork - https://github.com/jongacnik/slick-lightbox.


Sidekiq compatibility and enquers in other languages eg. php

Would someone mind confirming whether this will process sidekiq compatible jobs - ie. can I use a sidekiq client library to push jobs to redis, then use this library to process?
If not, a secondary question: If I wanted to push jobs using PHP - I presume I would just need to port enqueue.go.  From this line of code, the main use case looks pretty straight forward - I can use phpredis to LPUSH json, per this line of go:
conn.Do("LPUSH", e.queuePrefix+jobName, rawJSON)
Does that look right?  Is it really that straightforward?

+1
Is this library sidekiq compatible?

The job JSON format is not the same as Sidekiq.
Yes it is just LPUSH to enqueue a job, but you also need to SADD each unique job name to known jobs so that work knows about them.


Payments fail reason=remote can't afford increased commit tx fees once new HTLC is added

I keep getting this error when making a payment.
cannot add htlc with origin=Local(78cd666a-6c91-425b-af63-950241d83e9c,Some(Actor[akka://system/user/$l/payment-initiator/$b/$a#731706648])) reason=remote can't afford increased commit tx fees once new HTLC is added: missing=Satoshi(2743) reserve=Satoshi(0) fees=Satoshi(26109)
I get this error when I try and send to a bitcoin address.
desc: 449829 sats to bc1qpja3ewkr0g4rjj84ncd5yz2g7zu9tr6ktrv9qh with feerate=110 sat/byte
error: cannot add htlc with origin=Local(32fdd74b-b523-4a0e-9b9b-473e4d67f075,Some(Actor[akka://system/user/$l/payment-initiator/$c/$h#254281781])) reason=remote can't afford increased commit tx fees once new HTLC is added: missing=Satoshi(2743) reserve=Satoshi(0) fees=Satoshi(26109)

Hello,
This error means that making the payment would not leave enough money for the peer in the channel's reserve (which is useful in case a problem happens), so the payment is rejected. It's particularly related to the current on-chain fees, and it happens when the feerate varies a lot. That's something we'd like to improve ; for now, what you can do is lower the amount you're sending to this address if that's possible.
You can also use the Close all channels feature. It will do an on-chain tx (or txs if you have several channels). Just note that it will send all your balance to that address and you cannot change the feerates.


No data stores are configured

Startup.cs  File:
// This method gets called by the runtime. Use this method to add services to the container.
public void ConfigureServices(IServiceCollection services)
{
// Add Application settings to the services container.
services.Configure(Configuration.GetSubKey("AppSettings"));
        // Add EF services to the services container.
        services.AddEntityFramework()
            .AddSqlServer()
            .AddDbContext<ApplicationDbContext>(options =>
                options.UseSqlServer(Configuration["Data:DefaultConnection:ConnectionString"]));

        // Add Identity services to the services container.
        //services.AddIdentity<ApplicationUser, IdentityRole>()
        //    .AddEntityFrameworkStores<ApplicationDbContext>()
        //    .AddDefaultTokenProviders();
        services.AddIdentity<ApplicationUser, ApplicationRole>()          //modify by hyq 2015-05-07
         .AddEntityFrameworkStores<ApplicationDbContext>()
         .AddDefaultTokenProviders();
        // Configure the options for the authentication middleware.
        // You can add options for Google, Twitter and other middleware as shown below.
        // For more information see http://go.microsoft.com/fwlink/?LinkID=532715
        services.Configure<FacebookAuthenticationOptions>(options =>
        {
            options.AppId = Configuration["Authentication:Facebook:AppId"];
            options.AppSecret = Configuration["Authentication:Facebook:AppSecret"];
        });

        services.Configure<MicrosoftAccountAuthenticationOptions>(options =>
        {
            options.ClientId = Configuration["Authentication:MicrosoftAccount:ClientId"];
            options.ClientSecret = Configuration["Authentication:MicrosoftAccount:ClientSecret"];
        });

        // Add MVC services to the services container.
        services.AddMvc();

        // Uncomment the following line to add Web API services which makes it easier to port Web API 2 controllers.
        // You will also need to add the Microsoft.AspNet.Mvc.WebApiCompatShim package to the 'dependencies' section of project.json.
        // services.AddWebApiConventions();
    }

IdentityModels.cs File:
public class ApplicationUser : IdentityUser
{
    IdentityDbContext dbContext = new IdentityDbContext();
    public override ICollection<IdentityUserRole<string>> Roles
    {
        get
        {
            var user = dbContext.Users.Include(p => p.Roles).FirstOrDefault(q=>q.Id == this.Id);
            return user.Roles;
        }
    }

}

The Issue is:
when run at :var user = dbContext.Users.Include(p => p.Roles).FirstOrDefault(q=>q.Id == this.Id);
it  return a exception
HResult=-2146233079
Message=No data stores are configured. Configure a data store by overriding OnConfiguring in your DbContext class or in the AddDbContext method when setting up services.

The way the services are wired up in an ASP.NET application, e.g. the call to 'AddDbContext()' in 'ConfigureServices()' requires creating the instance of the DbContext through the mechanisms provided by dependency injection in order to work correctly.
The line in which you create the new instance of the ApplicationDbContext using the new operator  won't work as you expect because the context won't get access to the services and DbContextOptions configured at application startup.
The best way to create the context is to add it as a parameter in the constructor or as an injected property in a controller class.
Besides, I am not sure what you are trying to achieve, but it is generally not a great pattern to have the entity types depend on the context.
My guess is now that other issues opened recently that referred to this same exception may have been caused by similar problems, so thanks for the repro.

I am trying to get  Roles of the user，  but the "   Navigation property for users in the role" return empty.
See the following code
public IActionResult AddUser(string RoleID)  //get the users which not in the role
{
        ViewBag.RoleID = RoleID;

        List<ApplicationUser> list_user = UserManager.Users.ToList();
        List<UserViewModel> list_user2 = new List<UserViewModel>();
        List<ApplicationRole>list_role =  RoleManager.Roles.ToList();
        foreach(ApplicationRole role in list_role)
        {

            foreach (ApplicationUser user in list_user)
            {
                bool isIn = false;

                foreach (ApplicationUserRole userrole in user.Roles) //I am trying to Roles of the user.
                {
                    if (userrole.RoleId == RoleID)
                    {
                        isIn = true;
                    }
                }
                if (isIn == false)
                {
                    if (!list_user2.Exists(p => p.UserID == user.Id))
                        list_user2.Add(new UserViewModel() { RoleID = RoleID, UserID = user.Id, UserName = user.UserName });
                }
            }

        }

        return View(list_user2);

    }


How can I use croppie in reactjs?

I've used croppie very well with angularjs and now I want include in my reactjs projects. I'm very apreciate if anyone have a example to share.

This would be a good place to seek help: https://github.com/arssly/react-coppie.  Or at least get you a start.  Sounds like the dev has stopped work on it, but maybe you can help out.
I don't have the time to do any kind of react + croppie work.

Don't know if anyone is still looking at this, but I'll share how I used croppie in my react application
I'm using react + typescript + Material-UI
import "croppie/croppie.css"
import { Button, Grid } from "@material-ui/core"
import * as React from "react"
import Croppie from "croppie"

export function CroppieExample() {
  const [image, setImage] = React.useState("")
  const [croppie, setCroppie] = React.useState<Croppie | null>(null)

  function handleImage(image: string) {
    setImage(image)
    const el = document.getElementById("image-helper")
    if (el) {
      const croppieInstance = new Croppie(el, {
        enableExif: true,
        viewport: {
          height: 250,
          width: 250,
        },
        boundary: {
          height: 280,
          width: 400,
       }
    });
    croppieInstance.bind({
      url: image,
    });
    setCroppie(vanilla)
    }
  }

  function handleSubmit(event: any) {
    event.preventDefault()
    if (croppie !== null) {
      croppie.result({type: 'base64',
      size: {
          width: 480,
          height: 480
      }}).then((blob) => {
        console.log(blob)
      }
      )
    }
  }

  return (
    <form onSubmit={handleSubmit}>
      <Grid container spacing={2}>
        {image === "" && (
            <Grid item xs={12}>
                {/* Your image upload functionality here */}
                <ImageUpload image={image} setImage={handleImage} />
            </Grid>
            )}
        {image !== "" && (
            <Grid item container justify="center" xs={12}>

            </Grid>
            )}
        <Grid container item xs={12} justify="flex-end">
          <Button color="primary" variant="contained" type="submit">
            Submit
          </Button>
        </Grid>
      </Grid>
    </form>
  )
}

very good sample. thanks

Don't know if anyone is still looking at this, but I'll share how I used croppie in my react application
I'm using react + typescript + Material-UI
import "croppie/croppie.css"
import { Button, Grid } from "@material-ui/core"
import * as React from "react"
import Croppie from "croppie"

export function CroppieExample() {
  const [image, setImage] = React.useState("")
  const [croppie, setCroppie] = React.useState<Croppie | null>(null)

  function handleImage(image: string) {
    setImage(image)
    const el = document.getElementById("image-helper")
    if (el) {
      const croppieInstance = new Croppie(el, {
        enableExif: true,
        viewport: {
          height: 250,
          width: 250,
        },
        boundary: {
          height: 280,
          width: 400,
       }
    });
    croppieInstance.bind({
      url: image,
    });
    setCroppie(croppieInstance)
    }
  }

  function handleSubmit(event: any) {
    event.preventDefault()
    if (croppie !== null) {
      croppie.result({type: 'base64',
      size: {
          width: 480,
          height: 480
      }}).then((blob) => {
        console.log(blob)
      }
      )
    }
  }

  return (
    <form onSubmit={handleSubmit}>
      <Grid container spacing={2}>
        {image === "" && (
            <Grid item xs={12}>
                {/* Your image upload functionality here */}
                <ImageUpload image={image} setImage={handleImage} />
            </Grid>
            )}
        {image !== "" && (
            <Grid item container justify="center" xs={12}>

            </Grid>
            )}
        <Grid container item xs={12} justify="flex-end">
          <Button color="primary" variant="contained" type="submit">
            Submit
          </Button>
        </Grid>
      </Grid>
    </form>
  )
}

Hi everybody
Are you sure this example works?
It seems by the time handleImage event is called,  is not rendered in the DOM, hence no croppieInstance is initialized. Am I right?

@ChrisFromLafare his code didn't work correctly for me too. The main problem was with file. So I take a part of solution from https://codesandbox.io/s/k5n1l3zym3?file=/src/index.js:844-916
And I got smth like this (it's ugly code just to make sure this solution works)
import React from 'react';
import Croppie from 'croppie';

// styled
import * as S from './styled';

import 'croppie/croppie.css';

export function CropAvatar() {
    const [image, setImage] = React.useState('');
    const [blob, setBlob] = React.useState('');
    const [croppie, setCroppie] = React.useState<Croppie | null>(null);

    const handleImage = (event: any) => {
        console.log('image', event.target.files);
        console.log('image', event.target.files[0]);
        const image = event.target.files[0];
        setImage(image);
        const el = document.getElementById('image-helper');
        const reader = new FileReader();
        reader.readAsDataURL(image);
        if (el) {
            console.log('EL', el);
            const croppieInstance = new Croppie(el, {
                enableExif: true,
                viewport: {
                    height: 250,
                    width: 250,
                },
                boundary: {
                    height: 280,
                    width: 400,
                },
            });
            reader.onload = () => {
                // @ts-ignore
                croppieInstance.bind({ url: reader.result });
            };
            // croppieInstance.bind({
            //     url: image,
            // });
            setCroppie(croppieInstance);
        }
    };

    const handleSubmit = (event: any) => {
        console.log('sncscbscscscsc');
        event.preventDefault();
        if (croppie !== null) {
            croppie
                .result({
                    type: 'base64',
                    size: {
                        width: 480,
                        height: 480,
                    },
                })
                .then((blob) => {
                    console.log(blob);
                    setBlob(blob);
                });
        }
    };

    return (
        <S.CroppModal isShown>

                    <input type="file" id="files" onChange={handleImage} />

                    <button type="button" onClick={handleSubmit}>
                        Submit
                    </button>

        </S.CroppModal>
    );
}

export default CropAvatar;


image for plug-in sentiment_analysis.png

added plug-in image

Already merged one you shared above.


Structure tooltip placement prevents disclosure triangle interaction

I'm unable to collapse structure components using the disclosure triangles, because the tooltips that show up cover them up as soon as I hover over the triangles.
https://github.com/SwiftFiddle/swift-ast-explorer/assets/10556242/c5e5ad7f-11a2-4825-9ea6-db935560de9d

Ah, I did realize I can just click on the text itself to collapse / expand, so there's at least a workaround 👍, though this was less intuitive to me.

The Tooltip is intentionally displayed close enough so that you can select or copy the text in the Tooltip (so that the Tooltip does not disappear when you try to move the mouse over the Tooltip). Thanks for the report as it is definitely not intuitive and could be improved.


Testing plugin in development: two instances of Vue loaded

Version
2.6.10
Reproduction link
https://github.com/fikkatra/common-vue-components
Steps to reproduce

git clone https://github.com/fikkatra/common-vue-components.git
cd common-vue-components
npm i
npm run build
cd demo
npm i
npm run serve

What is expected?
The Banner.vue component can call the vuex store by calling this.$store.
What is actually happening?
An error TypeError: Cannot read property 'state' of undefined is thrown. Reason: this.$store is undefined, because multiple instances of Vue are loaded.

I'm developing a Vue plugin that contains common components, to be reused across multiple client applications.
The common component plugin is accompanied by a 'demo' application to immediately test the plugin components while they're still in development.
The plugin requires vuex, which is passed from the client application through the plugin options.
All is fine when I publish the plugin to npm, then import it into the demo app through npm. However, when I directly reference the plugin code (because I'm still developing the plugin and I don't want to publish yet), I get a console error:

TypeError: Cannot read property 'state' of undefined

This happens when using either of the following methods, all commonly used to test an npm package that is still under development:

npm link
in demo/package.json: "vue-common-components": "file:.."
import CommonComponentsPlugin from "../../src/index"; (handy for live reloading)

After searching and with the help of this issue and this Stack Overflow question,  I understand that the error occurs because there are two instances of Vue loaded.
However: where is this second instance coming from? I'm confused, because I pass the Vue instance to the common components plugin via the install function. So why is it loaded twice?
I tried to solve this by placing the following in demo/vue.config.js, but this doesn't solve the issue.
const path = require('path');

module.exports = {
	configureWebpack: {
		resolve: {
			modules: [path.resolve(__dirname, './node_modules')],
		},
	},
};

Likely caused by webpakc resolving the symlink:
https://cli.vuejs.org/guide/troubleshooting.html#symbolic-links-in-node-modules

Does it work if you import Vue from "vue" instead of "vue-property-decorator"?

OMG... As a final test for my repro steps, I removed my entire project, cloned + installed it again, and it works now...
Seems like vue-cli, during vue create, does something faulty that isn't reflected in package.json and is thus fixed when you do a complete reinstall. Closing this.

Oh dear... As a final test for my repro steps, I removed my entire project, cloned + npm installed it again, and it works now...
Seems like something breaks during vue create but this isn't reflected in package.json, and is therefore fixed when you do a complete reinstall. Closing this.

For anyone running into this: externalizing vue fixed the issue, because it forces vue to be loaded just once:
demo/vue.config.js:
module.exports = {
	configureWebpack: {
		externals: {
            vue: 'Vue'
          }
	},
};

demo/public/index.html:
<script src="https://unpkg.com/vue"></script>
This was acceptable for us because it is just a demo app located within the common component project, referencing local files of that project (and outside of its own root). Any 'real' client application using the common component lib, would do so through NPM, for which the problem doesn't occur.

I have a similar problem. Our common lib includes vue in package.json, and when we use npm_link, it's getting bundled twice by webpack.


Fixed the issue by adding eye blink counter using opencv and python. #1473

Related Issues or bug
Adding the blink Counter
Fixes: #1473
Proposed Changes

Info about changes Goes here

Additional Info

Anything related Issues .

Thank You for assigning this issue to me. I have submitted the pull request for the following issue. I request you to review the code and consider merging it into the main branch of your repository.
Thank you for your attention to this matter. I look forward to your response.
Best regards,
Name - Abhishant Padam
SSOC Contributor 2023

Do I have to make individual Readme file or i have to edit the readme file of https://github.com/akshitagupta15june/Face-X/tree/master/Face-X-Gaming or just i create a new readme file in the blink eye repository.


Get-Team -DisplayName returns partial matches

Using the get-team -displayName "Team Name" returns teams that do not exactly match the supplied team name.
Example:
Get-Team -displayname "Art 4MS" -archived $false | select GroupID, DisplayName
GroupId                              DisplayName

deleted English Language Arts 4MS
deleted Art 4MS
Based on the documentation the command above should not have returned the first team listed in the results.

Hello @rjohanneson thanks for your feedback, I could reproduce so I will propose a different wording for the Get-Team article.
Thanks again

Hi,
I have several teams that I manage with sequential numbers, and I am trying to add members with a script such as:
Connect-MicrosoftTeams
foreach($u in $users){
Get-Team -DisplayName $team_Name | Add-TeamUser -User $u -Role Member
}
I didn't know that Get-Teams does fuzzy matching, so when I ran the above script, I got surprising results.
Can you please provide an option for exact matching other than this fuzzy matching?

Solution?
I changed the team names from Software Engineering-1, Software Engineering-2, Software Engineering-3, to something like Software Engineering-Bunny, Software Engineering-Pony, Software Engineering-Penguin.

Thank you for delving into the issue in such detail. While I personally have been mindful to avoid this behavior and haven't faced the same problem, I genuinely sympathize with others who have encountered the same issue.
As you rightly pointed out, it would be desirable to change this behavior. However, from what I've observed, it's often a traditional stance of MS not to alter behaviors, even if they are bugs, that might impact existing applications.


Whitelist/Blacklist for summonable mobs

Yeah, basically just what it says in the title. In my case, I want to limit the summoning to pretty much exclusively steeds and pets, not just any livestock, wild animal etc (thus a use for a whitelist), but the more pressing issue is stuff like it being possible to summon untamed dragons (among other creatures) from Ice and Fire, potentially teleporting them into killrooms.  It'd be great if the player were able to restrict which entities are summonable.

Sure, this is doable! I'll try to have a release out with it included soon.

Awesome! Thanks so much!